/* Shared responsive header. The supplied logo is rendered uncropped. */
html{scroll-padding-top:150px}.top{border-bottom:1px solid var(--line)}.header-grid{display:grid;grid-template-columns:160px minmax(0,1fr);grid-template-rows:60px 52px;column-gap:36px;align-items:center;position:relative;min-height:124px;padding-top:6px;padding-bottom:6px}.header-logo{grid-column:1;grid-row:1/3;display:flex;align-items:center;width:160px;height:96px;flex-shrink:0}.header-logo img{display:block;object-fit:contain;width:100%;height:100%;max-width:100%;max-height:100%}.header-utility{grid-column:2;grid-row:1;display:flex;gap:28px;align-items:center;justify-content:flex-end;font-size:14px}.header-utility .btn{min-height:44px;padding:10px 23px}.header-phone{white-space:nowrap}.header-cert{color:var(--red)}.top .nav{display:block;grid-row:2;grid-column:2;position:static;padding:0;background:none;border:0;font-size:14px}.nav-list{display:flex;justify-content:space-between;gap:10px;align-items:stretch;list-style:none;padding:0;margin:0}.nav-item{list-style:none;min-width:0}.nav-row{display:flex;align-items:center;gap:2px;min-height:48px}.top .nav a.nav-link{display:block;padding:8px 7px;border:0;border-radius:0;white-space:nowrap;font-size:14px}.top .nav a.nav-link.active,.top .nav a.nav-link:hover{color:var(--red);background:none}.submenu-toggle{display:flex;align-items:center;justify-content:center;width:24px;height:34px;flex-shrink:0;border:0;background:none;padding:4px;border-radius:6px;color:var(--deep)}.submenu-toggle:hover{background:#e9e0d3}.submenu-toggle svg{transition:transform .2s}.submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.submenu{display:none;position:absolute;z-index:40;top:calc(100% - 1px);background:var(--paper);border:1px solid var(--line);border-radius:0 0 16px 16px;box-shadow:0 18px 30px #30282512;list-style:none;margin:0;padding:18px;max-height:calc(100dvh - 150px);overflow:auto;overscroll-behavior:contain}.submenu[hidden]{display:none!important}.is-open>.submenu{display:grid}.submenu--programs{width:min(800px,calc(100vw - 2*var(--gutter)));left:50%;transform:translateX(-50%);grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.submenu--baths{width:600px;max-width:calc(100vw - 2*var(--gutter));left:50%;transform:translateX(-50%);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.submenu--plain{width:340px;left:auto;right:var(--gutter);grid-template-columns:1fr;gap:2px}.submenu li{list-style:none;min-width:0}.top .nav a.submenu-link{display:flex;gap:12px;align-items:center;min-height:45px;padding:10px 12px;font-size:14px;white-space:normal;border:0;border-radius:8px;line-height:1.45}.top .nav a.submenu-link:hover{background:#e9e0d3;color:var(--deep)}.submenu-link img{width:52px;height:52px;object-fit:cover;border-radius:8px;flex-shrink:0}.submenu-link span{min-width:0}.submenu-link small{font-size:14px;display:block;color:#746b63;margin-top:3px;line-height:1.35}.mobile-nav-contacts{display:none}.top .menu-btn{display:none}.hero-media{position:absolute;inset:0;background:#3c3028}.hero-media .hero-poster,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;max-width:100%}.hero-media .hero-poster{z-index:0}.hero-video{z-index:1}.hero-media.video-unavailable .hero-video{visibility:hidden}.hero-photo:after{z-index:2;background:linear-gradient(90deg,#1d160f9c,transparent 85%),linear-gradient(0deg,#17130e99,transparent 65%)}.hero-copy{z-index:3;max-width:600px}.hero-copy p{max-width:500px}.booking-bar{z-index:4}.video-toggle{position:absolute;right:28px;top:28px;z-index:3;background:#20170e65;color:white;border:1px solid #ffffff80;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:30px;font-size:14px;backdrop-filter:blur(6px)}.video-toggle[disabled]{cursor:default}.hero-brand{font-size:clamp(54.4px,10vw,168px)}.subhero h1{font-size:clamp(46.4px,5.6vw,89.6px)}.house-card[id],.program-card[id]{scroll-margin-top:150px}.menu-icon{display:none}.nav-open .mobile-book{visibility:hidden}
@media(min-width:1800px){.hero-brand{font-size:168px}}
@media(min-width:1101px){.hero-brand{font-size:9.6vw}}
@media(max-width:1023px){html{scroll-padding-top:112px}.header-grid{display:grid;grid-template-columns:122px minmax(0,1fr) auto;grid-template-rows:auto;min-height:92px;column-gap:22px;padding-top:10px;padding-bottom:10px}.header-logo{width:122px;height:68px;grid-column:1;grid-row:1}.header-utility{grid-column:2;grid-row:1;gap:18px}.header-utility .btn{min-height:44px}.header-cert{display:none}.header-phone{display:block}.top .menu-btn{grid-column:3;grid-row:1;display:flex;align-items:center;gap:9px;position:static;background:transparent;border:1px solid #cbbdae;padding:9px 16px;border-radius:30px;font-size:14px;height:44px}.menu-icon{width:17px;display:flex;flex-direction:column;gap:5px}.menu-icon i{height:1px;width:17px;background:var(--deep);display:block;transition:transform .2s}.menu-btn[aria-expanded=true] .menu-icon i:first-child{transform:translateY(3px) rotate(45deg)}.menu-btn[aria-expanded=true] .menu-icon i:last-child{transform:translateY(-3px) rotate(-45deg)}.top .nav{display:none;position:fixed;top:var(--header-height,92px);left:0;right:0;bottom:0;background:var(--paper);padding:14px var(--gutter) 35px;overflow-y:auto;overscroll-behavior:contain;grid-column:auto;grid-row:auto;box-shadow:inset 0 1px var(--line)}.top .nav.open{display:block}.nav-list{display:block}.nav-item{border-bottom:1px solid var(--line)}.nav-row{min-height:58px;justify-content:space-between}.top .nav a.nav-link{font-size:17px;line-height:1.4;padding:16px 0;flex:1;white-space:normal}.submenu-toggle{width:46px;height:46px;border:1px solid transparent;border-radius:50%}.submenu-toggle:hover{border-color:var(--line)}.submenu,.submenu--plain,.submenu--programs,.submenu--baths{position:static;left:auto;right:auto;top:auto;transform:none;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;background:transparent;padding:0 0 16px;max-height:none;overflow:visible;grid-template-columns:1fr;gap:3px}.top .nav a.submenu-link{padding:10px 12px;font-size:15px;min-height:45px}.submenu-link.has-thumb{min-height:72px}.submenu-link img{width:54px;height:54px}.submenu-link small{font-size:14px}.mobile-nav-contacts{display:flex;flex-direction:column;gap:14px;padding-top:30px}.top .nav .mobile-nav-contacts a{border:0;border-radius:0;padding:0;font-size:15px}.house-card[id],.program-card[id]{scroll-margin-top:112px}.hero-brand{font-size:9.76vw}.hero-photo{height:560px;min-height:560px}.hero-copy .display{font-size:50px}}
@media(max-width:900px){.header-phone{display:none}.hero-photo{height:620px;min-height:620px}.video-toggle-label{display:none}.video-toggle{right:20px;top:22px;width:37px;height:37px;padding:8px;justify-content:center}.hero-copy{right:60px}.hero-copy .display{font-size:46px}.hero-copy p{font-size:14px;max-width:440px}}
@media(max-width:600px){html{scroll-padding-top:100px}.header-grid{grid-template-columns:100px minmax(0,1fr) auto;min-height:82px;column-gap:12px;padding-top:9px;padding-bottom:9px}.header-logo{width:100px;height:56px}.header-utility{gap:0}.header-utility .btn{font-size:14px;padding:9px 16px;min-height:42px;gap:0}.header-utility .btn .arrow{display:none}.top .menu-btn{padding:10px;width:42px;min-width:42px;justify-content:center;height:42px}.menu-btn>span:last-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.top .nav{top:var(--header-height,82px)}.hero-brand{font-size:9.68vw}.subhero h1{font-size:44.8px;overflow-wrap:break-word}.hero-copy{left:23px;right:55px;top:27px}.hero-copy .display{font-size:40px;max-width:300px}.hero-copy p{font-size:14px;line-height:1.6;max-width:290px;margin-top:16px}.hero-photo{min-height:720px;height:720px}.video-toggle{right:15px;top:19px}.hero-video,.hero-poster{object-position:55% center}.house-card[id],.program-card[id]{scroll-margin-top:100px}}
@media(max-width:359px){.header-grid{grid-template-columns:86px minmax(0,1fr) auto;column-gap:8px}.header-logo{width:86px;height:48px}.header-utility .btn{padding:9px 12px}.hero-copy .display{font-size:36px}.hero-photo{min-height:745px;height:745px}.booking-bar{gap:10px;padding:15px}}
.ritual>*{min-width:0}.photo-note{right:24px}.contact-top>div,.gift>div{min-width:0}
@media(max-width:600px){.ritual-copy .btn{white-space:normal;max-width:100%;gap:14px}.contact h2{overflow-wrap:anywhere}.mobile-book{gap:10px}.mobile-book .btn{padding:10px 15px;gap:10px}.gift .btn{white-space:normal;max-width:100%}}
@media(max-width:359px){.contact h2{font-size:36px}.contact-phone{font-size:18px}.mobile-book .btn{gap:8px}.mobile-book .btn .arrow{display:none}}
.video-toggle[hidden]{display:none!important}.spa-item{min-width:0}.spa-item h3{overflow-wrap:anywhere}

/* The drawer and the desktop sidebar share one navigation tree. */
.header-messengers {
    display: flex;
    gap: 9px;
    padding-top: 18px;
}

.top .nav .header-messengers a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--deep);
}

.top .nav .header-messengers a:hover,
.top .nav .header-messengers a:focus-visible {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--paper);
}

.header-messengers svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (min-width: 1024px) {
    html {
        --sidebar-gap: clamp(12px, 1.25vw, 24px);
        --sidebar-width: clamp(208px, 17vw, 258px);
        --sidebar-offset: calc(var(--sidebar-width) + var(--sidebar-gap));
        scroll-padding-top: 24px;
    }

    body {
        padding-inline-start: var(--sidebar-offset);
    }

    body > .skip {
        left: calc(var(--sidebar-offset) + 12px);
    }

    body > .top {
        position: fixed;
        inset: var(--sidebar-gap) auto var(--sidebar-gap) var(--sidebar-gap);
        width: var(--sidebar-width);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: 0 10px 32px #30282510;
    }

    .top .header-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        height: 100%;
        min-height: 0;
        padding: clamp(12px, 2.5vh, 26px) 16px;
    }

    .top .header-logo {
        align-self: center;
        width: 142px;
        height: clamp(55px, 11vh, 82px);
    }

    .top .nav {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        padding-top: 8px;
        border-top: 1px solid var(--line);
    }

    .top .nav-list {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .top .nav-row {
        justify-content: space-between;
        min-height: clamp(32px, 5.4vh, 45px);
        border-radius: 8px;
    }

    .top .nav .nav-row:hover,
    .top .nav .is-open > .nav-row {
        background: #e9e0d3;
    }

    .top .nav a.nav-link {
        flex: 1;
        padding: 8px 10px;
        line-height: 1.35;
        white-space: normal;
    }

    .top .submenu-toggle {
        width: 32px;
        min-height: 32px;
    }

    body > .top .nav .nav-item > .submenu {
        position: fixed;
        inset: var(--flyout-top, var(--sidebar-gap)) auto auto var(--flyout-left, var(--sidebar-offset));
        width: min(320px, var(--flyout-width, 70vw));
        max-width: var(--flyout-width, 70vw);
        max-height: calc(100dvh - 2 * var(--sidebar-gap));
        padding: 12px;
        border-radius: 16px;
        transform: none;
    }

    body > .top .nav .nav-item > .submenu--programs {
        width: min(720px, var(--flyout-width, 70vw));
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body > .top .nav .nav-item > .submenu--baths {
        width: min(540px, var(--flyout-width, 70vw));
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body > .top .nav .nav-item > .submenu--programs.submenu-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .top .header-messengers {
        justify-content: center;
        flex: 0 0 auto;
        padding-top: 12px;
    }

    .top .header-utility {
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
        text-align: center;
    }

    .top .header-phone {
        color: var(--deep);
        font-weight: 600;
    }

    .top .header-utility .btn {
        justify-content: center;
        width: 100%;
        padding-inline: 12px;
    }

    .top .header-cert {
        font-size: 13px;
    }

    .hero {
        padding-top: var(--sidebar-gap);
    }

    .hero-brand {
        font-size: clamp(62px, calc((100vw - var(--sidebar-offset)) * .096), 168px);
    }

    .house-card[id],
    .program-card[id] {
        scroll-margin-top: 0;
    }

    body > main .article-aside {
        top: 24px;
    }

    body > main .article-prose :is(h2, h3) {
        scroll-margin-top: 24px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    body > main .house-grid,
    body > main .program-grid,
    body > main .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body > main .blog-feature {
        gap: 24px;
    }

    body > main .article-layout {
        gap: 28px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-column[aria-label="Программы"] ul {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) and (max-width: 1140px) {
    .booking-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .booking-bar > * {
        min-width: 0;
    }

    body > main .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body > main .article-aside {
        position: static;
        grid-row: 1;
    }

    body > main .article-aside .aside-cta {
        display: none;
    }
}
