:root {
    --bg: #ffffff;
    --surface: #fbf7f2;
    --surface-soft: #fffdf9;
    --text: #4a4a4a;
    --muted: #8d8479;
    --accent: #d1ad75;
    --line: #ebe2d5;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.spa-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.spa-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.spa-logo img { width: 142px; display: block; }
.spa-nav { display: flex; gap: 22px; color: #777; font-size: 15px; }
.spa-nav a:hover { color: var(--accent); }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 20px; background: var(--accent); color: #fff; border-radius: 999px; font-weight: 700; transition: .2s ease; }
.btn:hover { filter: brightness(1.04); }
.btn--ghost { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.hero { padding: 0; }
.hero-slider { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); }
.hero-slides { display: flex; transition: transform .45s ease; }
.hero-slide { min-width: 100%; min-height: 540px; background-size: cover; background-position: center center; background-position-y: calc(50% + var(--parallax-offset, 0px)); position: relative; display: flex; align-items: flex-end; padding: 42px; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.14)); }
.hero-content { position: relative; max-width: 720px; color: #fff; }
.hero-content h1, .hero-content h2 { margin: 0 0 14px; line-height: 1.1; font-size: clamp(32px, 4vw, 56px); }
.hero-content h2 { font-size: clamp(28px, 3.4vw, 48px); }
.hero-content p { margin: 0 0 18px; font-size: 18px; }
.hero-arrow { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.16); color: #fff; font-size: 22px; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
.hero-dots { display: flex; gap: 8px; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; }
.hero-dot { width: 10px; height: 10px; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-dot.is-active { background: #fff; }
.section { padding: 70px 0; }
.section--about, .section--table { background: var(--surface); }
.section-kicker { margin: 0 0 10px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 13px; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; color: #4b4b4b; }
.section__two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.section__two-cols p { color: #696969; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.card img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.card h3 { margin: 0 0 7px; font-size: 20px; }
.card .meta { margin: 0 0 8px; color: var(--muted); }
.card .price { margin: 0; color: var(--accent); font-weight: 700; font-size: 24px; }
.price-table { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.price-table div { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.price-table div:nth-child(even) { background: #fdfaf6; }
.price-table strong { color: var(--accent); white-space: nowrap; }
.btn--center { margin-top: 20px; }
.section--contacts { padding-bottom: 88px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.contacts iframe { width: 100%; min-height: 380px; border: 1px solid var(--line); border-radius: 16px; }
.map-wrap { opacity: 0; transform: translateY(42px) scale(.97); transition: opacity .9s ease, transform .9s ease; will-change: transform, opacity; }
.map-wrap.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.request-form { max-width: 680px; display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.request-form label { display: grid; gap: 6px; color: #686868; }
.request-form input[type="text"], .request-form input[type="email"], .request-form input[type="tel"] { height: 46px; border-radius: 10px; border: 1px solid #d9d8d2; padding: 0 14px; font-size: 15px; color: #4a4a4a; background: #fff; }
.request-form input::placeholder { color: #c9c2b8; opacity: 1; }
.request-form input::-webkit-input-placeholder { color: #c9c2b8; }
.request-form input::-moz-placeholder { color: #c9c2b8; opacity: 1; }
.request-form input:-ms-input-placeholder { color: #c9c2b8; }
.request-form__agree { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; }
.request-form__agree a { color: #8f6d3e; text-decoration: underline; }
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 50; display: none; }
.cookie-banner.is-visible { display: block; }
.cookie-banner__content { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.cookie-banner__title { margin: 0 0 6px; font-weight: 700; }
.cookie-banner__checks { display: grid; gap: 8px; margin: 10px 0; }
.cookie-banner__docs { font-size: 14px; color: #727272; }
.cookie-banner__docs a { color: #8f6d3e; text-decoration: underline; }
.cookie-banner__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero-slide { min-height: 460px; } }
@media (max-width: 900px) { .spa-nav { display: none; } .section__two-cols, .contacts { grid-template-columns: 1fr; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hero-slide { padding: 24px; min-height: 370px; } .hero-arrow { display: none; } .cards { grid-template-columns: 1fr; } .price-table div { grid-template-columns: 1fr; } .cookie-banner { left: 10px; right: 10px; bottom: 10px; } }
@media (min-width: 901px) { .hero-slide[data-parallax] { background-attachment: fixed; } }

.btn, button.btn, .card__btn { border: 1px solid transparent; outline: none; -webkit-appearance: none; appearance: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.btn:focus, button.btn:focus, .card__btn:focus, .btn:focus-visible, button.btn:focus-visible, .card__btn:focus-visible { outline: 2px solid #d1ad75; outline-offset: 2px; box-shadow: none; }
.btn:hover, button.btn:hover, .card__btn:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 8px 18px rgba(0,0,0,.14); }
.btn:active, button.btn:active, .card__btn:active { transform: translateY(0); box-shadow: none; }
.spa-header { position: fixed; top: 0; left: 0; right: 0; background: rgba(20,20,20,.38); border-bottom: 0; backdrop-filter: blur(2px); }
.spa-header__inner { min-height: 76px; }
.spa-logo { position: relative; display: block; width: 142px; height: 52px; }
.spa-logo img { position: absolute; inset: 0; width: 142px; height: 52px; object-fit: contain; transition: opacity .2s ease; }
.spa-logo__dark { opacity: 0; }
.spa-nav a { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.spa-header .btn--ghost { border-color: rgba(255,255,255,.68); color: #fff; background: transparent; }
.spa-header .btn { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.spa-header .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.spa-header .btn:not(.btn--ghost):hover { background: #fff; color: #8f6d3e; }
.spa-header.is-scrolled { background: rgba(255,255,255,.98); border-bottom: 1px solid #ece3d8; backdrop-filter: blur(8px); }
.spa-header.is-scrolled .spa-nav a { color: #6f6f6f; }
.spa-header.is-scrolled .spa-nav a:hover { color: #d1ad75; }
.spa-header.is-scrolled .btn--ghost { border-color: #d1ad75; color: #d1ad75; }
.spa-header.is-scrolled .btn:hover, .spa-header.is-scrolled button.btn:hover { box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.spa-header.is-scrolled .btn--ghost:hover { background: rgba(209,173,117,.12); border-color: #c89f62; color: #b88f55; }
.spa-header.is-scrolled .btn:not(.btn--ghost):hover { background: #b88f55; color: #fff; }
.spa-header.is-scrolled .spa-logo__light { opacity: 0; }
.spa-header.is-scrolled .spa-logo__dark { opacity: 1; }
.spa-header__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: nowrap; }
.spa-header__cta > .btn,
.spa-header__cta > a.btn--ghost { flex-shrink: 0; }
.spa-header__call { flex-shrink: 0; white-space: nowrap; }
.hero { padding-left: 0; padding-right: 0; padding-top: 0; }
.hero-slider { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; border-bottom: 0; }
.hero-slide .container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; position: relative; z-index: 1; }
.hero-slide { min-height: 740px; padding-top: 170px; padding-bottom: 76px; }
.hero-slide::before { background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.18)); }
.hero-content { max-width: 920px; }
.hero-content h1, .hero-content h2 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1.05; font-weight: 700; margin-bottom: 18px; }
.hero-content p { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.5; margin-bottom: 24px; max-width: 840px; }
.hero-content .btn { min-height: 46px; padding: 0 28px; font-size: 16px; }
.hero-arrow { top: 18px; transform: none; width: 28px; height: 28px; border-radius: 2px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); font-size: 16px; line-height: 1; color: rgba(255,255,255,.92); }
.hero-arrow--prev { left: auto; right: 52px; }
.hero-arrow--next { right: 18px; }
.hero-dots { display: flex; gap: 8px; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; }
.hero-dot { width: 11px; height: 11px; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.about-grid__item { margin: 0; position: relative; overflow: hidden; background: #e6e6e6; }
.about-grid__item img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.about-grid__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.2), rgba(0,0,0,0)); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.about-grid__item:hover img { transform: scale(1.05); filter: saturate(1.05) contrast(1.03); }
.about-grid__item:hover::after { opacity: 1; }
.cards--detailed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.card--detailed { padding: 0 0 18px; background: #efefef; border: 1px solid #e0e0e0; border-radius: 0; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card--detailed:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,.14); border-color: #d6c3a5; }
.card--detailed:hover img { transform: scale(1.03); }
.card__head { background: #d1ad75; color: #fff; text-align: center; padding: 12px 14px 10px; }
.card__head h3 { margin: 0; font-size: 26px; font-style: italic; font-weight: 700; line-height: 1.1; }
.card__head p { margin: 2px 0 0; font-size: 18px; opacity: .95; }
.card--detailed img { border-radius: 0; height: 190px; margin: 0; transition: transform .35s ease; }
.card--detailed .meta { margin: 18px 0 4px; text-align: center; color: #7f7f7f; font-size: 16px; }
.card--detailed .price { text-align: center; font-size: 36px; margin-bottom: 14px; }
.card__list { margin: 0 24px 20px; padding-left: 18px; color: #5a5a5a; line-height: 1.45; font-size: 16px; flex: 1; }
.card__btn { align-self: center; min-height: 44px; padding: 0 26px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; transition: transform .2s ease, filter .2s ease; }
.card__btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.contacts-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(209,173,117,.6); border-radius: 999px; color: #9a7a49; transition: .2s ease; }
.social-link:hover { background: rgba(209,173,117,.14); color: #8a6a3c; }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.request-popup[hidden] { display: none; }
.request-popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.request-popup__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.request-popup__dialog { position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #ebe2d5; box-shadow: 0 14px 42px rgba(0,0,0,.2); }
.request-popup__close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f5efe6; cursor: pointer; font-size: 28px; line-height: 1; color: #7a6a52; }
.request-popup__lead { margin: 0 0 16px; color: #686868; font-size: 15px; line-height: 1.45; }
.request-form .request-form__field { margin-bottom: 2px; }
.request-form .request-form__field label { display: grid; gap: 6px; color: #686868; }
.request-form__req { color: #b8863d; font-weight: 700; }
.request-form__error { display: none; font-size: 13px; color: #a61e1e; margin: 4px 0 0; }
.request-form__field.has-error .request-form__error { display: block; }
.request-form__field.has-error input { border-color: #c75050 !important; }
.request-form__field--agree.has-error .request-form__agree { outline: 1px solid #c75050; border-radius: 8px; padding: 2px; }
.request-popup__success { padding: 8px 0 4px; text-align: center; }
.request-popup__success-text { margin: 0 0 18px; line-height: 1.5; color: #4a4a4a; }
@media (max-width: 900px) {
    .spa-header { background: rgba(20,20,20,.75); }
    .spa-header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 10px;
        min-height: 0;
        padding-top: 10px;
        padding-bottom: 12px;
    }
    .spa-nav { display: none !important; }
    .spa-logo { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; }
    .spa-header__call { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
    .spa-header__cta {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }
    .spa-header__cta button,
    .spa-header__cta a.btn--ghost {
        font-size: 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding-left: 10px;
        padding-right: 10px;
    }
    .spa-header__cta > button,
    .spa-header__cta > a.btn--ghost {
        flex: 1 1 0;
        min-width: 0;
    }
    .spa-header__cta > div {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        align-items: stretch;
    }
    .spa-header__cta > div a.btn--ghost {
        flex: 1;
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    .spa-page > section.hero {
        margin-top: calc(env(safe-area-inset-top, 0px) + 124px);
    }
    .hero-slide { min-height: 560px; padding-top: 40px; padding-bottom: 56px; }
    .hero-arrow { display: none; }
    .about-grid, .cards--detailed { grid-template-columns: 1fr; }
}
