@font-face {
    font-family: "Prata";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("prata-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --black: #070a09;
    --night: #0b100e;
    --panel: #101815;
    --panel-2: #15211d;
    --sage: #526a63;
    --sage-soft: #81938d;
    --gold: #d2ad67;
    --gold-light: #eed49f;
    --paper: #f4efe5;
    --white: #fbf9f3;
    --muted: #9fa9a4;
    --line: rgba(244, 239, 229, 0.16);
    --line-gold: rgba(210, 173, 103, 0.48);
    --vk: #2787f5;
    --tg: #27a7e7;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); }
body {
    min-width: 320px;
    min-height: 100svh;
    margin: 0;
    color: var(--paper);
    background: var(--black);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Home */
.home-root, .home-page { background-color: var(--black); }
.home-page { overflow-x: hidden; }
.home {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    background: var(--night);
}
.home-photo {
    position: absolute;
    z-index: -3;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100% + env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px));
    object-fit: cover;
    object-position: right center;
    filter: saturate(0.88) contrast(1.03) brightness(0.88);
    animation: photo-in 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-vector { display: none; }
.home::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 8, 0.2) 0%, rgba(6, 9, 8, 0.03) 35%, rgba(6, 9, 8, 0.56) 63%, rgba(6, 9, 8, 0.98) 100%);
}
.home::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 9, 8, 0.4), transparent 74%);
}
.home-layout {
    width: min(100%, 1200px);
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
}
.home-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: rise 520ms ease 80ms both;
}
.home-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.home-brand img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 1px solid rgba(244, 239, 229, 0.46);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.home-brand strong, .home-brand small { display: block; }
.home-brand strong {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.home-brand small {
    margin-top: 4px;
    color: rgba(244, 239, 229, 0.68);
    font-size: 10px;
    font-weight: 700;
}
.phone-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(7, 10, 9, 0.34);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}
.phone-link svg { width: 17px; height: 17px; color: var(--gold-light); }
.home-content {
    width: min(100%, 390px);
    align-self: end;
    padding: 54px 0 18px;
    animation: rise 680ms cubic-bezier(0.22, 1, 0.36, 1) 150ms both;
}
.home-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}
.home-kicker::after {
    content: "";
    width: 54px;
    height: 1px;
    background: currentColor;
}
.home h1 {
    margin: 0;
    color: var(--white);
    font-family: "Prata", Georgia, serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 0.98;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}
.home h1 span { display: block; }
.home h1 span:last-child { text-align: right; }
.home-subtitle {
    margin: 17px 0 0;
    color: rgba(244, 239, 229, 0.92);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
}
.home-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}
.primary-cta, .secondary-cta {
    min-height: 58px;
    display: grid;
    grid-template-columns: 24px 1fr 28px;
    align-items: center;
    gap: 12px;
    padding: 9px 11px 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.primary-cta {
    color: #17120a;
    border: 1px solid var(--gold-light);
    background: var(--gold);
    box-shadow: 0 18px 44px rgba(210, 173, 103, 0.24);
}
.primary-cta:hover { background: #dfbc77; }
.secondary-cta {
    color: var(--paper);
    border: 1px solid rgba(244, 239, 229, 0.36);
    background: rgba(7, 10, 9, 0.54);
    backdrop-filter: blur(10px);
}
.secondary-cta:hover { border-color: var(--gold); background: rgba(18, 28, 24, 0.82); }
.primary-cta:active, .secondary-cta:active { transform: translateY(1px); }
.primary-cta > svg, .secondary-cta > svg { width: 22px; height: 22px; }
.cta-arrow {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}
.primary-cta .cta-arrow { color: var(--gold-light); background: #17120a; }
.secondary-cta .cta-arrow { color: var(--night); background: var(--paper); }
.cta-arrow svg { width: 16px; height: 16px; }
.home-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: rgba(244, 239, 229, 0.62);
    font-size: 10px;
    font-weight: 700;
}
.hero-vector {
    position: absolute;
    z-index: -1;
    right: -28px;
    bottom: 88px;
    width: 170px;
    color: rgba(210, 173, 103, 0.36);
    pointer-events: none;
}

/* Services page */
.services-page {
    position: relative;
    overflow-x: hidden;
    background: var(--night);
}
.price-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 10, 9, 0.9);
    backdrop-filter: blur(14px);
}
.back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}
.back-link svg { width: 20px; height: 20px; color: var(--gold); }
.top-book {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    color: #17120a;
    border: 1px solid var(--gold-light);
    border-radius: 999px;
    background: var(--gold);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
.top-book svg { width: 18px; height: 18px; }
.price-main {
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 48px 16px 72px;
}
.price-intro {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 54px 0 26px;
    border-bottom: 1px solid var(--line-gold);
}
.price-intro::before {
    display: none;
}
.price-intro::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 58px;
    height: 58px;
    border-right: 1px solid rgba(210, 173, 103, 0.38);
    border-top: 1px solid rgba(210, 173, 103, 0.38);
    pointer-events: none;
}
.price-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}
.price-intro h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "Prata", Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.05;
    max-width: 300px;
}
.price-intro p:last-child {
    position: relative;
    z-index: 1;
    max-width: 270px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.price-geometry {
    position: absolute;
    z-index: 0;
    top: 8px;
    right: -26px;
    width: 250px;
    height: 190px;
    color: rgba(210, 173, 103, 0.3);
    pointer-events: none;
}
.price-geometry path { vector-effect: non-scaling-stroke; }
.price-grid {
    display: grid;
    gap: 30px;
}
.price-card {
    position: relative;
    overflow: visible;
    padding: 0 0 34px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.price-card::before {
    content: attr(data-number) " / 04";
    position: absolute;
    z-index: 6;
    left: 12px;
    top: 12px;
    padding: 6px 9px;
    color: var(--gold-light);
    border-left: 2px solid var(--gold);
    background: rgba(7, 10, 9, 0.78);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}
.price-card::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 54px;
    height: 54px;
    border-top: 1px solid rgba(210, 173, 103, 0.42);
    border-right: 1px solid rgba(210, 173, 103, 0.42);
    pointer-events: none;
}
.photo-cut {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--panel-2);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}
.photo-cut > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-vector {
    position: absolute;
    z-index: 4;
    right: 5px;
    bottom: 5px;
    width: 104px;
    height: 78px;
    color: rgba(238, 212, 159, 0.82);
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.42));
    pointer-events: none;
}
.photo-vector path, .photo-vector circle { vector-effect: non-scaling-stroke; }
.slider {
    position: relative;
    z-index: 1;
}
.slider-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
    min-width: 100%;
    height: 100%;
    scroll-snap-align: start;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-dots {
    position: absolute;
    z-index: 5;
    left: 8px;
    bottom: -2px;
    display: flex;
    gap: 0;
}
.slider-dot {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.slider-dot::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 18px;
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
}
.slider-dot.is-active::after { background: var(--gold-light); }
.price-card-body {
    position: relative;
    z-index: 1;
    padding: 20px 2px 0;
}
.service-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}
.service-heading h2 {
    max-width: 70%;
    margin: 0;
    font-family: "Prata", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
}
.price {
    flex: 0 0 auto;
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}
.meta-pill {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid rgba(129, 147, 141, 0.32);
    border-radius: 2px;
    color: #c7d1cd;
    background: rgba(82, 106, 99, 0.16);
    font-size: 10px;
    font-weight: 850;
}
.meta-pill.gold {
    color: var(--gold-light);
    border-color: rgba(210, 173, 103, 0.36);
    background: rgba(210, 173, 103, 0.1);
}
.meta-pill svg { width: 14px; height: 14px; }
.service-copy {
    margin: 15px 0 0;
    color: #b6c0bc;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.62;
}
.card-vector-line {
    display: none;
}
.price-footer {
    margin-top: 34px;
    padding: 24px 0 calc(26px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.6;
}
.price-footer a { color: var(--gold-light); text-underline-offset: 4px; }
.price-footer p { margin: 0; }
.price-footer p + p { margin-top: 6px; }

/* Booking dialogs */
.modal {
    width: min(410px, calc(100vw - 24px));
    max-height: calc(100svh - 24px);
    margin: auto 12px 12px;
    padding: 0;
    overflow: auto;
    color: var(--paper);
    border: 0;
    border-radius: 8px;
    background: transparent;
}
.modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(7px);
}
.modal-panel {
    position: relative;
    padding: 24px 18px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101614;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.64);
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: rgba(244, 239, 229, 0.68);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.modal-close svg { width: 19px; height: 19px; }
.modal-kicker {
    margin: 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}
.modal h2 {
    margin: 8px 56px 0 0;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.15;
}
.modal-lead {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}
.channel-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.channel-choice {
    min-height: 66px;
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 13px;
    color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 14px;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.channel-choice:hover { border-color: var(--line-gold); background: rgba(255, 255, 255, 0.06); }
.channel-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
}
.channel-icon.vk { background: var(--vk); }
.channel-icon.tg { background: var(--tg); }
.channel-icon svg { width: 23px; height: 23px; }
.channel-choice > svg { width: 20px; height: 20px; opacity: 0.5; }
.vk-guide {
    margin-top: 18px;
    padding: 16px;
    border-left: 3px solid var(--vk);
    border-radius: 0 8px 8px 0;
    background: rgba(39, 135, 245, 0.08);
}
.vk-guide p {
    margin: 0;
    color: #d1d8d5;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.58;
}
.modal-primary {
    min-height: 52px;
    display: grid;
    place-items: center;
    margin-top: 18px;
    padding: 10px 14px;
    color: #fff;
    border-radius: 999px;
    background: var(--vk);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}
.modal-back {
    min-height: 44px;
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: 8px;
    color: var(--muted);
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.modal[open] .modal-panel { animation: modal-in 190ms ease both; }
.primary-cta:focus-visible, .secondary-cta:focus-visible, .phone-link:focus-visible, .back-link:focus-visible, .top-book:focus-visible, .modal-close:focus-visible, .channel-choice:focus-visible, .modal-primary:focus-visible, .modal-back:focus-visible, .slider-dot:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

@keyframes photo-in {
    from { opacity: 0; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 359px) {
    .home-brand img { width: 56px; height: 56px; }
    .phone-link span { display: none; }
    .phone-link { width: 44px; padding: 0; justify-content: center; }
    .home h1 { font-size: 48px; }
    .home-content { padding-top: 30px; }
    .home-subtitle { font-size: 14px; }
    .primary-cta, .secondary-cta { min-height: 54px; }
    .service-heading { display: block; }
    .service-heading h2 { max-width: 100%; }
    .price { display: block; margin-top: 7px; }
}
@media (max-width: 939px) {
    .home-root, .home-page {
        background-image: url("hero-custom-1.webp");
        background-position: right top;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
@media (min-width: 760px) {
    .modal { margin: auto; }
    .price-topbar { padding-left: 28px; padding-right: 28px; }
    .price-main { padding: 64px 28px 90px; }
    .price-intro h1 { font-size: 58px; }
    .price-intro p:last-child { max-width: 460px; }
    .price-geometry { width: 340px; height: 220px; right: 0; }
    .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (min-width: 940px) {
    .home-photo {
        left: auto;
        right: 0;
        width: auto;
        max-width: none;
        object-fit: contain;
        object-position: right center;
        filter: saturate(0.9) contrast(1.03) brightness(0.94);
        clip-path: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
    }
    .home::before {
        background: linear-gradient(90deg, var(--night) 0%, var(--night) 37%, rgba(11, 16, 14, 0.74) 48%, rgba(11, 16, 14, 0.05) 72%);
    }
    .home::after { background: linear-gradient(180deg, rgba(6, 9, 8, 0.18), transparent 48%, rgba(6, 9, 8, 0.48)); }
    .home-layout { padding: 30px 44px 30px; }
    .home-brand img { width: 76px; height: 76px; }
    .home-content { width: 500px; align-self: center; padding: 70px 0 30px; }
    .home h1 { font-size: 82px; }
    .home-subtitle { font-size: 18px; }
    .home-actions { width: 390px; }
    .home-foot { max-width: 470px; }
    .hero-vector { right: 5%; bottom: 7%; width: 230px; }
    .photo-cut { aspect-ratio: 16 / 11; }
    .price-card { padding: 0 0 38px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
