:root {
    --bg: #f6f1ea;
    --bg-accent: #efe7dc;
    --panel: rgba(255, 252, 247, 0.92);
    --panel-solid: #fffaf3;
    --text: #3b2d26;
    --muted: #7d6c60;
    --line: rgba(146, 114, 80, 0.16);
    --line-strong: rgba(146, 114, 80, 0.24);
    --gold: #d7b37d;
    --gold-strong: #be9258;
    --gold-dark: #8b6a43;
    --olive: #8a9270;
    --shadow-lg: 0 30px 70px rgba(80, 54, 34, 0.12);
    --shadow-md: 0 16px 40px rgba(80, 54, 34, 0.09);
    --shadow-sm: 0 8px 24px rgba(80, 54, 34, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shell: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.84), transparent 22%),
        linear-gradient(180deg, #f7f2eb 0%, #f1ebe2 100%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

img {
    background: linear-gradient(135deg, #eee3d3, #e6dccd);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-frame {
    padding: 18px;
}

.shell {
    width: min(100%, var(--shell));
    margin: 0 auto;
}

.vertical-shell {
    display: grid;
    gap: 20px;
}

.main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(360px, 0.92fr);
    gap: 18px;
    align-items: start;
}

.primary-column,
.sidebar-column {
    display: grid;
    gap: 18px;
}

.panel,
.panel-soft {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--panel);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.panel-soft {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(250, 244, 235, 0.92));
}

.hero-card {
    padding: 18px 18px 24px;
}

.section-panel {
    padding: 28px;
}

.site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 16px;
    padding: 8px 10px 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    position: relative;
    width: 42px;
    height: 28px;
    color: var(--gold-dark);
}

.brand-icon span {
    position: absolute;
    bottom: 0;
    width: 16px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 50% 50% 45% 45%;
    transform-origin: bottom center;
}

.brand-icon span:nth-child(1) {
    left: 0;
    transform: rotate(-22deg);
}

.brand-icon span:nth-child(2) {
    left: 13px;
}

.brand-icon span:nth-child(3) {
    right: 0;
    transform: rotate(22deg);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong,
.brand-copy em {
    font-style: normal;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-copy strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.brand-copy em {
    font-size: 0.55rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 2vw, 26px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.site-nav a {
    position: relative;
    padding: 8px 0;
    color: var(--muted);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: transparent;
    transition: background-color 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    background: var(--gold-strong);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
}

.lang-btn {
    min-width: 42px;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible,
.lang-btn.is-active {
    background: linear-gradient(180deg, #deb985 0%, #c9985e 100%);
    color: #fff9f0;
    box-shadow: 0 10px 20px rgba(201, 152, 94, 0.24);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(180deg, #deb985 0%, #c9985e 100%);
    color: #fff9f0;
    box-shadow: 0 14px 26px rgba(201, 152, 94, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(190, 146, 88, 0.32);
    color: var(--gold-dark);
}

.wide-button,
.submit-button {
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 20px;
    align-items: stretch;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 28px 18px 20px 16px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    color: var(--gold-dark);
}

.eyebrow {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.hero-copy h1,
.experience-copy h2,
.booking-copy h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    font-size: clamp(3.4rem, 6.2vw, 5.6rem);
    overflow-wrap: anywhere;
}

.hero-text,
.experience-copy p,
.booking-copy p,
.package-copy li,
.testimonial-card p,
.footer-panel p,
.footer-panel a {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.hero-text {
    max-width: 320px;
    margin: 20px 0 26px;
}

html[lang="ru"] .site-header {
    grid-template-columns: auto minmax(0, 1.15fr) auto auto auto;
    gap: 12px;
}

html[lang="ru"] .site-nav {
    gap: 14px 18px;
    font-size: 0.67rem;
    letter-spacing: 0.03em;
}

html[lang="ru"] .hero-layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

html[lang="ru"] .hero-copy h1 {
    font-size: clamp(2.9rem, 5vw, 4.65rem);
    line-height: 0.98;
}

html[lang="ru"] .hero-text {
    max-width: 420px;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(49, 30, 19, 0.04), rgba(49, 30, 19, 0.22)),
        linear-gradient(135deg, #eee1ce, #dcc6ab);
    background-size: cover;
    background-position: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 238, 0.3), transparent 42%),
        linear-gradient(180deg, rgba(38, 24, 18, 0.02), rgba(38, 24, 18, 0.28));
}

.hero-glow {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 68px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 233, 201, 0.22), rgba(255, 233, 201, 0));
    filter: blur(10px);
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    padding: 16px 12px 4px;
    border-top: 1px solid rgba(146, 114, 80, 0.12);
}

.feature-pill {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: start;
}

.feature-symbol,
.treatment-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(190, 146, 88, 0.32);
    color: var(--gold-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.feature-pill strong,
.treatment-card h3,
.package-copy h3,
.testimonial-card h3,
.footer-panel h3 {
    display: block;
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: var(--text);
}

.feature-pill p {
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.content-block {
    margin-top: 22px;
    padding-top: 10px;
}

.section-heading.centered {
    text-align: center;
}

.section-panel .section-heading {
    margin-bottom: 22px;
}

.section-kicker {
    font-size: 1rem;
}

.section-heading small {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.treatment-card {
    min-height: 172px;
    padding: 18px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.94), rgba(252, 246, 238, 0.94));
    text-align: center;
}

.treatment-card .treatment-icon {
    margin: 0 auto 14px;
}

.treatment-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

.experience-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 20px;
    margin-top: 18px;
    padding: 18px;
}

.experience-photo img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.experience-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-copy h2,
.booking-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.experience-copy p {
    margin: 0 0 18px;
}

.experience-tags,
.booking-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-tags span,
.booking-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(215, 179, 125, 0.14);
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 600;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.package-card {
    position: relative;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(251, 245, 236, 0.98));
}

.package-card img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    border-radius: 14px;
}

.package-copy {
    padding: 14px 8px 6px;
    text-align: center;
}

.package-duration {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.72rem;
}

.package-copy ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    text-align: left;
}

.package-copy li {
    position: relative;
    padding-left: 14px;
    font-size: 0.74rem;
}

.package-copy li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-strong);
}

.package-copy strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 0.92rem;
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #dfbb86, #c9985e);
    color: #fff9f0;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.package-card.featured {
    box-shadow: var(--shadow-sm);
}

.gallery-mosaic,
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.centered-button {
    width: fit-content;
    min-width: 180px;
    margin: 22px auto 0;
}

.gallery-mosaic img,
.instagram-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.testimonial-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e2c391, #cc9c62);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
}

.testimonial-role {
    margin: 0 0 10px;
    font-size: 0.72rem;
    color: var(--gold-dark);
}

.testimonial-card p:last-of-type {
    margin: 0 0 10px;
    font-size: 0.76rem;
}

.stars {
    color: #d0a267;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
}

.footer-panel {
    padding: 22px 20px 18px;
}

.footer-branding,
.footer-columns,
.footer-bottom,
.newsletter-form,
.booking-section,
.booking-form,
.form-row {
    display: grid;
    gap: 18px;
}

.footer-branding {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(146, 114, 80, 0.12);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(190, 146, 88, 0.24);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 0.7rem;
    font-weight: 700;
}

.footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-columns p {
    margin: 0;
}

.footer-credit {
    margin: 10px 0 0;
}

.newsletter-form {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.newsletter-form input,
.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.newsletter-form input:focus,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: rgba(201, 152, 94, 0.55);
    box-shadow: 0 0 0 4px rgba(201, 152, 94, 0.12);
}

.footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(146, 114, 80, 0.12);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 16px;
}

.booking-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 24px;
    padding: 26px;
}

.booking-copy {
    padding: 8px 0;
}

.booking-copy p {
    margin: 0 0 18px;
    max-width: 470px;
}

.booking-form label {
    display: grid;
    gap: 8px;
}

.booking-form span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
}

.form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form textarea {
    min-height: 110px;
    resize: vertical;
}

.form-status {
    min-height: 20px;
    margin: 0;
    color: #6f7d59;
    font-size: 0.86rem;
}

.form-status.is-error {
    color: #ad5f4e;
}

.ai-guide {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
}

#toggleChat {
    min-height: 48px;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #deb985 0%, #c9985e 100%);
    color: #fff9f0;
    box-shadow: 0 18px 34px rgba(80, 54, 34, 0.22);
    cursor: pointer;
}

.ai-chat-window {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 340px;
    height: 470px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(146, 114, 80, 0.16);
    border-radius: 26px;
    background: rgba(248, 242, 233, 0.98);
    box-shadow: 0 24px 60px rgba(30, 22, 12, 0.24);
    backdrop-filter: blur(10px);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #8b6a43;
    color: #fffaf3;
}

#closeChat {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.message.bot {
    background: rgba(139, 106, 67, 0.08);
}

.message.user {
    align-self: flex-end;
    background: #8b6a43;
    color: #fffaf3;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(54, 42, 27, 0.08);
}

.chat-input input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(54, 42, 27, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.chat-input button {
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: #8b6a43;
    color: #fffaf3;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1260px) {
    .booking-section,
    .experience-card,
    .footer-branding {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-right: 0;
    }

    .feature-strip,
    .treatments-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .package-grid,
    .testimonial-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .site-frame {
        padding: 10px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding-bottom: 12px;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .header-cta,
    .site-nav {
        display: none;
    }

    .lang-switcher {
        justify-self: end;
    }

    .site-nav.is-open {
        display: grid;
        grid-column: 1 / -1;
        gap: 12px;
        justify-content: start;
        padding-top: 6px;
    }

    .header-cta.is-open {
        display: inline-flex;
        grid-column: 1 / -1;
        justify-self: start;
    }

    .footer-columns,
    .form-row,
    .feature-strip,
    .treatments-grid,
    .package-grid,
    .gallery-mosaic,
    .testimonial-list {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 360px;
    }

    .newsletter-form,
    .footer-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-card,
    .section-panel,
    .footer-panel,
    .booking-section {
        padding: 16px;
    }

    .hero-copy h1 {
        font-size: 2.9rem;
    }

    .hero-text,
    .experience-copy p,
    .booking-copy p,
    .footer-panel p,
    .footer-panel a {
        font-size: 0.86rem;
    }

    .btn {
        width: 100%;
    }

    .lang-switcher {
        padding: 4px;
        gap: 4px;
    }

    .lang-btn {
        min-width: 38px;
        padding-inline: 8px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-visual,
    .experience-photo img {
        min-height: 260px;
    }

    .ai-guide {
        right: 14px;
        bottom: 14px;
    }

    #toggleChat {
        width: auto;
        min-width: 148px;
    }

    .ai-chat-window {
        width: min(calc(100vw - 28px), 380px);
    }
}
