:root {
                --navy: #22385c;
                --navy-soft: #5a6b85;
                --gold: #b98a3e;
                --gold-soft: #d9b878;
                --cream: #faf8f3;
                --card: #ffffff;
                --line: #e8e2d5;
            }
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            html {
                scroll-behavior: smooth;
            }
            body {
                font-family: "Manrope", system-ui, sans-serif;
                color: var(--navy);
                background: var(--cream);
                overflow-x: hidden;
            }
            ::selection {
                background: rgba(185, 138, 62, 0.22);
            }
            img {
                max-width: 100%;
                display: block;
            }
            a {
                color: inherit;
                text-decoration: none;
            }
            .wrap {
                max-width: 1180px;
                margin: 0 auto;
                padding: 0 28px;
            }
            .label {
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.28em;
                text-transform: uppercase;
                color: var(--gold);
                margin-bottom: 18px;
            }
            h1,
            h2,
            h3 {
                font-family: "Cormorant Garamond", serif;
                font-weight: 600;
                color: var(--navy);
            }

            /* ---------- buttons ---------- */
            .btn {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                padding: 15px 30px;
                border-radius: 8px;
                font-size: 13px;
                font-weight: 600;
                letter-spacing: 0.18em;
                text-transform: uppercase;
                cursor: pointer;
                transition: 0.3s;
                border: 1px solid transparent;
            }
            .btn-gold {
                background: var(--gold);
                color: #fff;
            }
            .btn-gold:hover {
                background: #a67a32;
                box-shadow: 0 12px 28px rgba(185, 138, 62, 0.35);
                transform: translateY(-2px);
            }
            .btn-ghost {
                border-color: var(--gold);
                color: var(--gold);
                background: transparent;
            }
            .btn-ghost:hover {
                background: rgba(185, 138, 62, 0.08);
                transform: translateY(-2px);
            }

            /* ---------- header ---------- */
            .topbar {
                position: sticky;
                top: 0;
                z-index: 100;
                background: rgba(250, 248, 243, 0.85);
                backdrop-filter: blur(14px);
                border-bottom: 1px solid var(--line);
            }
            .topbar .wrap {
                display: flex;
                align-items: center;
                gap: 36px;
                height: 78px;
            }
            .logo {
                display: flex;
                align-items: center;
                gap: 13px;
            }
            .logo svg {
                flex: none;
            }
            .logo b {
                font-family: "Cormorant Garamond", serif;
                font-weight: 600;
                font-size: 17px;
                line-height: 1.2;
                color: var(--navy);
            }
            nav {
                display: flex;
                gap: 30px;
                margin-left: auto;
            }
            nav a {
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.16em;
                text-transform: uppercase;
                color: var(--navy-soft);
                transition: 0.25s;
                padding: 6px 0;
            }
            nav a:hover {
                color: var(--gold);
            }
            .topbar .btn {
                padding: 11px 22px;
                font-size: 11px;
            }

            /* ---------- hero ---------- */
            .hero {
                position: relative;
                overflow: hidden;
                isolation: isolate;
                background:
                    radial-gradient(
                        1100px 520px at 82% -10%,
                        rgba(255, 244, 214, 0.75),
                        transparent 60%
                    ),
                    linear-gradient(
                        180deg,
                        #dce9f6 0%,
                        #e9f1fa 34%,
                        #f6f1e7 78%,
                        var(--cream) 100%
                    );
            }
            .hero .wrap {
                display: grid;
                grid-template-columns: 1fr 1.15fr;
                gap: 40px;
                align-items: center;
                min-height: calc(100vh - 78px);
                padding-top: 40px;
                padding-bottom: 120px;
            }
            .hero-text {
                position: relative;
                z-index: 2;
                animation: rise 1s 0.1s both;
            }
            @keyframes rise {
                from {
                    opacity: 0;
                    transform: translateY(26px);
                }
                to {
                    opacity: 1;
                    transform: none;
                }
            }
            .hero h1 {
                font-size: clamp(2.8rem, 5.6vw, 4.7rem);
                line-height: 1.04;
                font-weight: 600;
            }
            .hero h1 .in {
                display: block;
                color: var(--gold);
                font-weight: 500;
                font-size: 0.62em;
                margin-top: 10px;
            }
            .hero .lead {
                margin: 26px 0 36px;
                max-width: 400px;
                font-size: 16px;
                line-height: 1.75;
                color: var(--navy-soft);
                font-weight: 400;
            }
            .hero-scene {
                position: relative;
                animation: rise 1.2s 0.35s both;
            }
            .hero-scene img.church {
                width: 100%;
                position: relative;
                z-index: 2;
                filter: drop-shadow(0 44px 44px rgba(34, 56, 92, 0.22));
                animation: levitate 7.5s ease-in-out infinite;
            }
            @keyframes levitate {
                0%,
                100% {
                    transform: translateY(0);
                }
                50% {
                    transform: translateY(-13px);
                }
            }
            .hero-cloud {
                position: absolute;
                z-index: 1;
                border-radius: 50%;
                pointer-events: none;
                background: radial-gradient(
                    circle at 40% 35%,
                    rgba(255, 255, 255, 0.98),
                    rgba(255, 255, 255, 0.75) 55%,
                    rgba(255, 255, 255, 0) 75%
                );
                filter: blur(6px);
            }
            .hc1 {
                width: 120%;
                height: 26%;
                bottom: -9%;
                left: -12%;
                animation: baseBreathe 7.5s ease-in-out infinite;
            }
            @keyframes baseBreathe {
                0%,
                100% {
                    transform: scaleX(1);
                    opacity: 0.95;
                }
                50% {
                    transform: scaleX(1.07);
                    opacity: 1;
                }
            }
            .hc2 {
                width: 60%;
                height: 16%;
                top: 6%;
                left: -24%;
                opacity: 0.9;
                animation: cloudFloat 11s ease-in-out infinite;
            }
            .hc3 {
                width: 55%;
                height: 15%;
                top: 30%;
                right: -22%;
                opacity: 0.85;
                animation: cloudFloat 13s ease-in-out infinite reverse;
            }
            @keyframes cloudFloat {
                0%,
                100% {
                    transform: translateX(0);
                }
                50% {
                    transform: translateX(26px);
                }
            }
            .hc4 {
                width: 40%;
                height: 12%;
                bottom: 18%;
                left: -14%;
                opacity: 0.7;
                animation: cloudFloat 9s ease-in-out infinite;
            }

            /* ---------- features ---------- */
            .features {
                position: relative;
                z-index: 5;
                margin-top: -84px;
            }
            .features .grid {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                background: var(--card);
                border-radius: 16px;
                box-shadow: 0 24px 70px rgba(34, 56, 92, 0.1);
            }
            .feature {
                display: flex;
                gap: 16px;
                align-items: flex-start;
                padding: 30px 28px;
                transition: 0.3s;
            }
            .feature:hover {
                background: #fdfcf9;
            }
            .feature + .feature {
                border-left: 1px solid var(--line);
            }
            .feature svg {
                flex: none;
                margin-top: 3px;
            }
            .feature b {
                display: block;
                font-size: 15px;
                font-weight: 600;
                margin-bottom: 5px;
            }
            .feature span {
                font-size: 13px;
                line-height: 1.55;
                color: var(--navy-soft);
            }

            /* ---------- sections ---------- */
            section {
                padding: 110px 0;
            }
            .sec-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 70px;
                align-items: center;
            }
            .about-visual {
                position: relative;
            }
            .about-visual img {
                border-radius: 14px;
                box-shadow: 0 30px 60px rgba(34, 56, 92, 0.16);
                transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
            }
            .about-visual:hover img {
                transform: translateY(-8px);
            }
            .about-visual .badge {
                position: absolute;
                right: -18px;
                bottom: -18px;
                z-index: 2;
                width: 120px;
                height: 120px;
                border-radius: 50%;
                background: var(--gold);
                color: #fff;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                font-family: "Cormorant Garamond", serif;
                text-align: center;
                box-shadow: 0 16px 36px rgba(185, 138, 62, 0.4);
            }
            .about-visual .badge b {
                font-size: 30px;
                font-weight: 700;
                line-height: 1;
            }
            .about-visual .badge span {
                font-size: 11px;
                letter-spacing: 0.12em;
                text-transform: uppercase;
                margin-top: 4px;
            }
            .about-text h2 {
                font-size: clamp(1.9rem, 3.2vw, 2.7rem);
                line-height: 1.15;
                margin-bottom: 22px;
            }
            .about-text p {
                font-size: 15.5px;
                line-height: 1.85;
                color: var(--navy-soft);
                margin-bottom: 16px;
            }
            .about-text p b {
                color: var(--navy);
                font-weight: 600;
            }

            .timeline {
                list-style: none;
                margin: 26px 0 34px;
            }
            .timeline li {
                position: relative;
                padding: 0 0 18px 26px;
                font-size: 14.5px;
                line-height: 1.6;
                color: var(--navy-soft);
            }
            .timeline li::before {
                content: "";
                position: absolute;
                left: 4px;
                top: 0.5em;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: var(--gold);
                box-shadow: 0 0 0 4px rgba(185, 138, 62, 0.14);
            }
            .timeline li::after {
                content: "";
                position: absolute;
                left: 7.5px;
                top: 1.5em;
                bottom: 2px;
                width: 1px;
                background: linear-gradient(
                    rgba(185, 138, 62, 0.35),
                    rgba(185, 138, 62, 0.05)
                );
            }
            .timeline li:last-child::after {
                display: none;
            }
            .timeline b {
                color: var(--navy);
                font-weight: 600;
            }

            /* ---------- rector ---------- */
            #nastoyatel {
                background: linear-gradient(
                    180deg,
                    var(--cream),
                    #f4efe4 50%,
                    var(--cream)
                );
            }
            .rector-photo {
                position: relative;
                max-width: 420px;
                margin: 0 auto;
            }
            .rector-photo img {
                border-radius: 14px;
                box-shadow: 0 30px 60px rgba(34, 56, 92, 0.18);
                transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
            }
            .rector-photo:hover img {
                transform: translateY(-8px);
            }
            .rector-photo .tag {
                position: absolute;
                left: -16px;
                bottom: 26px;
                z-index: 2;
                padding: 14px 22px;
                border-radius: 10px;
                background: rgba(255, 255, 255, 0.92);
                backdrop-filter: blur(8px);
                box-shadow: 0 14px 34px rgba(34, 56, 92, 0.14);
                font-family: "Cormorant Garamond", serif;
                font-size: 17px;
                font-weight: 600;
                color: var(--navy);
                line-height: 1.35;
            }
            .rector-photo .tag span {
                display: block;
                font-family: "Manrope", sans-serif;
                font-size: 11px;
                font-weight: 600;
                letter-spacing: 0.18em;
                text-transform: uppercase;
                color: var(--gold);
                margin-top: 2px;
            }
            .quote {
                margin: 26px 0 30px;
                padding: 22px 28px;
                border-left: 3px solid var(--gold);
                background: #fff;
                border-radius: 0 12px 12px 0;
                font-family: "Cormorant Garamond", serif;
                font-style: italic;
                font-size: 19px;
                line-height: 1.6;
                color: var(--navy);
                box-shadow: 0 14px 34px rgba(34, 56, 92, 0.07);
            }
            .contact-card {
                margin-top: 26px;
                padding: 20px 26px;
                border-radius: 12px;
                background: #fff;
                border: 1px solid var(--line);
                font-size: 14px;
                line-height: 1.9;
                color: var(--navy-soft);
                box-shadow: 0 14px 34px rgba(34, 56, 92, 0.06);
            }
            .contact-card b {
                color: var(--navy);
                font-weight: 600;
            }
            .contact-card a {
                color: var(--gold);
                font-weight: 600;
            }
            .contact-card a:hover {
                text-decoration: underline;
            }

            /* ---------- schedule ---------- */
            .sched-grid {
                display: grid;
                grid-template-columns: 1fr 1.1fr;
                gap: 70px;
                align-items: start;
            }
            .sched-card {
                background: var(--card);
                border-radius: 16px;
                padding: 38px 40px;
                box-shadow: 0 24px 60px rgba(34, 56, 92, 0.1);
            }
            .sched-card h3 {
                font-size: 24px;
                margin-bottom: 26px;
            }
            .sched-item {
                display: flex;
                gap: 18px;
                padding: 18px 0;
                border-top: 1px solid var(--line);
            }
            .sched-item svg {
                flex: none;
                margin-top: 3px;
            }
            .sched-item b {
                display: block;
                font-size: 15px;
                font-weight: 600;
                margin-bottom: 6px;
                color: var(--navy);
            }
            .sched-row {
                display: flex;
                gap: 14px;
                font-size: 14px;
                color: var(--navy-soft);
                line-height: 1.6;
            }
            .sched-row em {
                font-style: normal;
                font-weight: 600;
                color: var(--gold);
                flex: none;
                width: 52px;
            }
            .sched-note {
                margin-top: 22px;
                font-size: 13.5px;
                line-height: 1.7;
                color: var(--navy-soft);
            }
            .sched-note b {
                color: var(--navy);
            }

            /* ---------- footer ---------- */
            footer {
                background: #22385c;
                color: #c8d3e4;
                padding: 64px 0 0;
                margin-top: 40px;
            }
            footer .cols {
                display: grid;
                grid-template-columns: 1.3fr 1fr 1fr;
                gap: 50px;
                padding-bottom: 50px;
            }
            footer .logo b {
                color: #fff;
            }
            footer .logo span {
                color: #c8d3e4;
            }
            footer p {
                font-size: 13.5px;
                line-height: 1.9;
                margin-top: 16px;
            }
            footer h4 {
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 0.22em;
                text-transform: uppercase;
                color: var(--gold-soft);
                margin-bottom: 18px;
            }
            footer ul {
                list-style: none;
            }
            footer ul li {
                margin-bottom: 10px;
            }
            footer ul a {
                font-size: 14px;
                color: #c8d3e4;
                transition: 0.25s;
            }
            footer ul a:hover {
                color: #fff;
            }
            footer .bottom {
                border-top: 1px solid rgba(255, 255, 255, 0.12);
                padding: 22px 0;
                display: flex;
                justify-content: space-between;
                gap: 20px;
                flex-wrap: wrap;
                font-size: 12.5px;
                color: #8ea0bd;
            }

            /* reveal on scroll */
            .reveal {
                opacity: 0;
                transform: translateY(34px);
                transition:
                    opacity 0.9s ease,
                    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
            }
            .reveal.on {
                opacity: 1;
                transform: none;
            }

            @media (max-width: 960px) {
                nav {
                    display: none;
                }
                .hero .wrap {
                    grid-template-columns: 1fr;
                    padding-bottom: 90px;
                    min-height: 0;
                }
                .features .grid {
                    grid-template-columns: 1fr 1fr;
                }
                .feature:nth-child(3) {
                    border-left: 0;
                }
                .feature:nth-child(n + 3) {
                    border-top: 1px solid var(--line);
                }
                .sec-grid,
                .sched-grid {
                    grid-template-columns: 1fr;
                    gap: 44px;
                }
                section {
                    padding: 70px 0;
                }
                footer .cols {
                    grid-template-columns: 1fr;
                }
            }

            /* Main-page mission copy */
            .mission {
                padding: 86px 0 92px;
                background: var(--white);
            }
            .mission-inner {
                display: grid;
                grid-template-columns: 220px minmax(0, 720px);
                gap: 60px;
                align-items: start;
            }
            .mission-copy h2 {
                margin: 0 0 25px;
                font-family: "Cormorant Garamond", serif;
                font-size: clamp(42px, 5vw, 68px);
                line-height: 0.96;
                font-weight: 500;
            }
            .mission-copy p {
                max-width: 680px;
                margin: 0 0 15px;
                color: var(--muted);
                font-size: 15px;
                line-height: 1.8;
            }
            @media (max-width: 800px) {
                .mission {
                    padding: 64px 0 70px;
                }
                .mission-inner {
                    grid-template-columns: 1fr;
                    gap: 18px;
                }
                .mission-copy h2 {
                    font-size: clamp(38px, 10vw, 56px);
                }
            }
            @media (max-width: 480px) {
                .mission {
                    padding: 54px 0 60px;
                }
                .mission-copy p {
                    font-size: 14px;
                }
            }

            /* Map */
            .map-wrap {
                display: grid;
                grid-template-columns: 370px minmax(0, 1fr);
                min-height: 500px;
                margin-top: 38px;
                overflow: hidden;
                background: var(--white);
                border: 1px solid var(--line);
                box-shadow: var(--shadow);
            }
            .map-info {
                padding: 44px 38px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            .map-info h3 {
                font-family: "Cormorant Garamond", serif;
                font-size: 42px;
                line-height: 0.98;
                font-weight: 500;
                margin: 0 0 22px;
            }
            .map-info p {
                color: var(--muted);
                font-size: 14px;
                line-height: 1.75;
                margin: 0 0 28px;
            }
            .address {
                padding: 18px 0;
                border-top: 1px solid var(--line);
                border-bottom: 1px solid var(--line);
                margin-bottom: 26px;
            }
            .address span {
                display: block;
                color: var(--gold);
                font-size: 10px;
                text-transform: uppercase;
                letter-spacing: 0.18em;
                margin-bottom: 7px;
            }
            .address strong {
                font-size: 14px;
                font-weight: 600;
            }
            .route-buttons {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }
            .route-buttons .btn {
                justify-content: center;
            }
            .map-frame {
                min-height: 500px;
                background: #e7e3db;
            }
            .map-frame iframe {
                display: block;
                width: 100%;
                height: 100%;
                min-height: 500px;
                border: 0;
            }
            @media (max-width: 960px) {
                .map-wrap {
                    grid-template-columns: 1fr;
                }
                .map-info {
                    padding: 36px 28px;
                }
                .map-frame,
                .map-frame iframe {
                    min-height: 400px;
                }
            }
            @media (max-width: 640px) {
                .map-wrap {
                    margin-top: 28px;
                }
                .map-info {
                    padding: 30px 20px;
                }
                .map-info h3 {
                    font-size: 38px;
                }
                .map-frame,
                .map-frame iframe {
                    min-height: 320px;
                }
                .route-buttons .btn {
                    width: 100%;
                }
            }
            @media (max-width: 420px) {
                .map-info {
                    padding: 27px 18px;
                }
                .map-info h3 {
                    font-size: 34px;
                }
                .map-frame,
                .map-frame iframe {
                    min-height: 290px;
                }
            }

            /* ===== FIX: адаптив карты ===== */

            #contacts .map-wrap {
                display: grid;
                grid-template-columns: 370px minmax(0, 1fr);
                width: 100%;
                min-width: 0;
                min-height: 500px;
                box-sizing: border-box;
                overflow: hidden;
            }

            #contacts .map-info {
                min-width: 0;
                box-sizing: border-box;
                padding: 44px 38px;
            }

            #contacts .map-info h3 {
                margin: 0 0 22px;
                overflow-wrap: break-word;
            }

            #contacts .map-info p {
                max-width: 100%;
                box-sizing: border-box;
            }

            #contacts .map-frame {
                position: relative;
                min-width: 0;
                width: 100%;
                min-height: 500px;
                overflow: hidden;
                box-sizing: border-box;
            }

            #contacts .map-frame iframe {
                display: block;
                width: 100%;
                height: 100%;
                min-height: 500px;
                border: 0;
            }

            /* ===== Планшет ===== */

            @media (max-width: 960px) {
                #contacts .map-wrap {
                    grid-template-columns: 1fr;
                    min-height: auto;
                }

                #contacts .map-info {
                    width: 100%;
                    padding: 38px 28px;
                }

                #contacts .map-frame {
                    width: 100%;
                    min-height: 400px;
                    height: 400px;
                }

                #contacts .map-frame iframe {
                    width: 100%;
                    height: 400px;
                    min-height: 400px;
                }
            }

            /* ===== Телефон ===== */

            @media (max-width: 640px) {
                #contacts .map-wrap {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    margin-top: 28px;
                }

                #contacts .map-info {
                    width: 100%;
                    padding: 30px 20px;
                }

                #contacts .map-info h3 {
                    font-size: 38px;
                    line-height: 1;
                }

                #contacts .map-info p {
                    font-size: 13px;
                    line-height: 1.7;
                }

                #contacts .route-buttons {
                    width: 100%;
                }

                #contacts .route-buttons .btn {
                    width: 100%;
                    min-width: 0;
                    box-sizing: border-box;
                }

                #contacts .map-frame {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }

                #contacts .map-frame iframe {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }
            }

            /* ===== Маленький телефон ===== */

            @media (max-width: 420px) {
                #contacts .map-info {
                    padding: 27px 18px;
                }

                #contacts .map-info h3 {
                    font-size: 34px;
                }

                #contacts .map-frame {
                    height: 290px;
                    min-height: 290px;
                }

                #contacts .map-frame iframe {
                    height: 290px;
                    min-height: 290px;
                }
            }

            /* =========================================
FINAL RESPONSIVE FIX
Не даём новым стилям карты ломать старый адаптив
========================================= */

            /* FEATURES */

            @media (max-width: 900px) {
                .features .grid {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
            }

            @media (max-width: 600px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }
            }

            /* MAP */

            #contacts .map-wrap {
                display: grid;
                grid-template-columns: 370px minmax(0, 1fr);
                width: 100%;
                min-width: 0;
                box-sizing: border-box;
            }

            #contacts .map-info,
            #contacts .map-frame {
                min-width: 0;
                box-sizing: border-box;
            }

            #contacts .map-frame {
                min-height: 500px;
                overflow: hidden;
            }

            #contacts .map-frame iframe {
                display: block;
                width: 100%;
                height: 500px;
                border: 0;
            }

            /* TABLET */

            @media (max-width: 900px) {
                #contacts .map-wrap {
                    grid-template-columns: 1fr;
                }

                #contacts .map-frame {
                    height: 400px;
                    min-height: 400px;
                }

                #contacts .map-frame iframe {
                    height: 400px;
                }
            }

            /* PHONE */

            @media (max-width: 600px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }

                #contacts .map-wrap {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                }

                #contacts .map-info {
                    width: 100%;
                    padding: 30px 20px;
                }

                #contacts .map-info h3 {
                    font-size: 38px;
                }

                #contacts .map-frame {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }

                #contacts .map-frame iframe {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }

                #contacts .route-buttons {
                    width: 100%;
                }

                #contacts .route-buttons .btn {
                    width: 100%;
                    box-sizing: border-box;
                }
            }

            /* VERY SMALL PHONE */

            @media (max-width: 420px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }

                #contacts .map-info {
                    padding: 26px 18px;
                }

                #contacts .map-info h3 {
                    font-size: 34px;
                }

                #contacts .map-frame {
                    height: 290px;
                    min-height: 290px;
                }

                #contacts .map-frame iframe {
                    height: 290px;
                    min-height: 290px;
                }
            }

            /* =========================================
FINAL RESPONSIVE FIX
Не даём новым стилям карты ломать старый адаптив
========================================= */

            /* FEATURES */

            @media (max-width: 900px) {
                .features .grid {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
            }

            @media (max-width: 600px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }
            }

            /* MAP */

            #contacts .map-wrap {
                display: grid;
                grid-template-columns: 370px minmax(0, 1fr);
                width: 100%;
                min-width: 0;
                box-sizing: border-box;
            }

            #contacts .map-info,
            #contacts .map-frame {
                min-width: 0;
                box-sizing: border-box;
            }

            #contacts .map-frame {
                min-height: 500px;
                overflow: hidden;
            }

            #contacts .map-frame iframe {
                display: block;
                width: 100%;
                height: 500px;
                border: 0;
            }

            /* TABLET */

            @media (max-width: 900px) {
                #contacts .map-wrap {
                    grid-template-columns: 1fr;
                }

                #contacts .map-frame {
                    height: 400px;
                    min-height: 400px;
                }

                #contacts .map-frame iframe {
                    height: 400px;
                }
            }

            /* PHONE */

            @media (max-width: 600px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }

                #contacts .map-wrap {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                }

                #contacts .map-info {
                    width: 100%;
                    padding: 30px 20px;
                }

                #contacts .map-info h3 {
                    font-size: 38px;
                }

                #contacts .map-frame {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }

                #contacts .map-frame iframe {
                    width: 100%;
                    height: 320px;
                    min-height: 320px;
                }

                #contacts .route-buttons {
                    width: 100%;
                }

                #contacts .route-buttons .btn {
                    width: 100%;
                    box-sizing: border-box;
                }
            }

            /* VERY SMALL PHONE */

            @media (max-width: 420px) {
                .features .grid {
                    grid-template-columns: 1fr;
                }

                #contacts .map-info {
                    padding: 26px 18px;
                }

                #contacts .map-info h3 {
                    font-size: 34px;
                }

                #contacts .map-frame {
                    height: 290px;
                    min-height: 290px;
                }

                #contacts .map-frame iframe {
                    height: 290px;
                    min-height: 290px;
                }
            }
            /* =========================================================
               СЛОВО ДНЯ + ПРАЗДНИКИ — компакт (подход Б)
               ========================================================= */
            .word-feasts {
                position: relative;
                overflow: hidden;
                padding: 56px 0;
                background:
                    radial-gradient(700px 400px at 50% 45%, rgba(185, 138, 62, 0.09), transparent 70%),
                    linear-gradient(180deg, #f4efe4 0%, #faf8f3 100%);
            }
            .word-feasts::before {
                content: "✝";
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                font-family: "Cormorant Garamond", serif;
                font-size: 340px;
                line-height: 1;
                color: rgba(185, 138, 62, 0.025);
                pointer-events: none;
            }
            .wf-quote-row {
                position: relative;
                z-index: 2;
                display: flex;
                gap: 32px;
                align-items: flex-start;
                background: rgba(255, 255, 255, 0.9);
                border: 1px solid rgba(185, 138, 62, 0.18);
                border-left: 3px solid var(--gold);
                border-radius: 0 14px 14px 0;
                padding: 26px 28px;
                box-shadow: 0 14px 34px rgba(34, 56, 92, 0.07);
                backdrop-filter: blur(8px);
            }
            .wf-quote-main {
                flex: 1;
                min-width: 0;
            }
            .wf-quote-head {
                display: flex;
                align-items: center;
                gap: 10px;
                margin-bottom: 12px;
            }
            .wf-cross {
                width: 26px;
                height: 26px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--gold);
                font-family: "Cormorant Garamond", serif;
                font-size: 18px;
                flex: none;
            }
            .wf-quote {
                font-family: "Cormorant Garamond", serif;
                font-size: clamp(1.35rem, 2.3vw, 1.85rem);
                line-height: 1.4;
                font-weight: 500;
                color: var(--navy);
                margin-bottom: 10px;
            }
            .wf-ref {
                font-size: 11px;
                font-weight: 600;
                letter-spacing: 0.18em;
                text-transform: uppercase;
                color: var(--gold);
            }
            .wf-quote-actions {
                flex: none;
                width: 220px;
                display: flex;
                flex-direction: column;
                gap: 10px;
            }
            .wf-quote-actions .btn {
                justify-content: center;
                width: 100%;
                padding: 12px 18px;
                font-size: 11px;
            }
            .wf-status {
                min-height: 18px;
                font-size: 12px;
                color: var(--navy-soft);
                text-align: center;
            }
            .wf-hint {
                font-size: 11px;
                line-height: 1.5;
                color: var(--navy-soft);
                opacity: 0.75;
                text-align: center;
            }
            .wf-divider {
                height: 1px;
                background: var(--line);
                margin: 32px 0;
                position: relative;
                z-index: 2;
            }
            .wf-feasts {
                position: relative;
                z-index: 2;
            }
            .wf-feasts-head {
                margin-bottom: 18px;
            }
            .wf-feasts-head h3 {
                font-family: "Cormorant Garamond", serif;
                font-size: clamp(1.6rem, 2.8vw, 2.1rem);
                line-height: 1.1;
                font-weight: 600;
            }
            .wf-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 18px;
            }
            .feast-card {
                background: var(--card);
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 22px 20px;
                transition: 0.25s;
                display: flex;
                flex-direction: column;
            }
            .feast-card:hover {
                transform: translateY(-4px);
                box-shadow: 0 16px 32px rgba(34, 56, 92, 0.1);
            }
            .feast-date {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                background: var(--cream);
                border: 1px solid var(--line);
                border-radius: 999px;
                padding: 6px 12px;
                font-size: 12px;
                font-weight: 600;
                color: var(--navy-soft);
                align-self: flex-start;
            }
            .feast-date b {
                color: var(--gold);
                font-size: 14px;
            }
            .feast-type {
                margin: 14px 0 6px;
                font-size: 10px;
                font-weight: 600;
                letter-spacing: 0.16em;
                text-transform: uppercase;
                color: var(--gold);
            }
            .feast-title {
                font-family: "Cormorant Garamond", serif;
                font-size: 18px;
                font-weight: 600;
                line-height: 1.2;
                margin-bottom: 8px;
                color: var(--navy);
            }
            .feast-desc {
                font-size: 13px;
                line-height: 1.6;
                color: var(--navy-soft);
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                flex: 1;
            }
            .feast-when {
                margin-top: 12px;
                font-size: 12px;
                font-weight: 600;
                color: var(--navy-soft);
            }
            .feast-when--today {
                color: var(--gold);
            }
            @media (max-width: 960px) {
                .wf-quote-row {
                    flex-direction: column;
                }
                .wf-quote-actions {
                    width: 100%;
                    flex-direction: row;
                    flex-wrap: wrap;
                }
                .wf-quote-actions .btn {
                    flex: 1;
                    min-width: 160px;
                }
                .wf-grid {
                    grid-template-columns: repeat(2, 1fr);
                }
            }
            @media (max-width: 600px) {
                .word-feasts {
                    padding: 40px 0;
                }
                .wf-quote-row {
                    padding: 20px 18px;
                }
                .wf-quote-actions {
                    flex-direction: column;
                }
                .wf-quote-actions .btn {
                    width: 100%;
                }
                .wf-grid {
                    grid-template-columns: 1fr;
                    gap: 12px;
                }
                .feast-card {
                    padding: 18px 16px;
                }
            }

            /* Features как навигация */
            a.feature {
                color: inherit;
            }
            a.feature:hover {
                background: #fdfcf9;
            }
            a.feature:focus-visible {
                outline: 2px solid var(--gold);
                outline-offset: -2px;
            }
            .feature-badge {
                display: inline-block;
                margin-top: 8px;
                padding: 4px 10px;
                border-radius: 999px;
                background: rgba(185, 138, 62, 0.12);
                border: 1px solid rgba(185, 138, 62, 0.35);
                color: var(--gold);
                font-size: 10px;
                font-weight: 700;
                letter-spacing: 0.14em;
                text-transform: uppercase;
            }
