/* ==========================
   Base
========================== */
:root {
    --background: #f7f4ef;
    --surface: #ffffff;
    --primary: #7c8a6d;
    --primary-dark: #657357;
    --text: #2f2f2f;
    --text-light: #666666;
    --border: #e7e1d7;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================
   Header
========================== */
.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
}

.logo-title {
    color: var(--primary);
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 0.9;
}

.logo-subtitle {
    margin-top: 7px;
    color: #888888;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    min-width: 38px;
    padding: 7px 8px;
    background: transparent;
    color: var(--text-light);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
    color: var(--primary-dark);
    border-color: var(--border);
    background: rgba(124, 138, 109, 0.08);
}

.book-btn,
.hero-button,
.mobile-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.book-btn {
    min-height: 44px;
    padding: 12px 22px;
}

.book-btn:hover,
.hero-button:hover,
.mobile-book-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================
   Burger button
========================== */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================
   Mobile menu
========================== */
.mobile-menu {
    position: fixed;
    inset: 76px 0 0;
    z-index: 90;
    padding: 28px 4% 40px;
    overflow-y: auto;
    background: rgba(247, 244, 239, 0.98);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.mobile-nav > a:not(.mobile-book-button) {
    padding: 18px 4px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
}

.mobile-languages {
    display: flex;
    gap: 10px;
    padding: 22px 0 12px;
}

.mobile-languages .lang-btn {
    min-width: 54px;
    min-height: 44px;
    border-color: var(--border);
}

.mobile-book-button {
    min-height: 54px;
    margin-top: 10px;
    box-shadow: 0 12px 30px rgba(86, 101, 75, 0.2);
}

/* ==========================
   Hero
========================== */
.hero {
    position: relative;
    min-height: calc(100vh - 95px);
    display: flex;
    align-items: center;
    background-image: url("images/hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.9) 25%, rgba(247, 244, 239, 0.45) 48%, rgba(247, 244, 239, 0.05) 72%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-text {
    max-width: 590px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: #4f6047;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(64px, 7vw, 105px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -2px;
}

.hero-subtitle {
    max-width: 530px;
    margin-bottom: 24px;
    color: #755f42;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(27px, 2.4vw, 38px);
    line-height: 1.15;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 36px;
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.8;
}

.hero-button {
    min-height: 54px;
    padding: 15px 28px;
    box-shadow: 0 12px 30px rgba(86, 101, 75, 0.22);
}

.hero-button:hover {
    box-shadow: 0 16px 36px rgba(86, 101, 75, 0.3);
}

/* ==========================
   About Sandplay
========================== */
.about-sandplay {
    padding: 50px 0 40px;
    background: var(--surface);
}

.section-label {
    display: block;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-sandplay h2 {
    max-width: 820px;
    margin: 0 auto 30px;
    color: #55634a;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 56px;
    line-height: 1.05;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 70px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.8;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 40px;
    background: var(--background);
    border-radius: 20px;
    transition:
        opacity 0.7s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Hover for cards without the reveal class */
.card:not(.reveal):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.icon {
    margin-bottom: 20px;
    font-size: 42px;
}

.card h3 {
    margin-bottom: 15px;
    color: #55634a;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}
/* =========================
   Contacts
========================= */

.contacts {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(137, 156, 128, 0.15),
            transparent 34%
        ),
        #f6f2ea;
}

.contacts__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 70px;
    align-items: stretch;
}

.contacts__content {
    padding: 30px 0;
}

.contacts__content h2 {
    max-width: 620px;
    margin: 14px 0 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #29352d;
}

.contacts__intro {
    max-width: 590px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #687169;
}

.contacts__list {
    display: grid;
    gap: 12px;
    margin-top: 36px;
}

.contact-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 82px;
    padding: 14px 20px 14px 14px;
    border: 1px solid rgba(67, 85, 73, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

a.contact-item:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 103, 84, 0.25);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(47, 62, 52, 0.08);
}

.contact-item__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #e9eee6;
    color: #5f7663;
}

.contact-item__icon svg {
    width: 24px;
    height: 24px;
}

.contact-item__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-item__content span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a938b;
}

.contact-item__content strong {
    overflow-wrap: anywhere;
    font-family: "Cormorant Garamond", serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.15;
    color: #334239;
}

.contact-item__arrow {
    font-size: 24px;
    color: #879788;
    transition: transform 0.25s ease;
}

a.contact-item:hover .contact-item__arrow {
    transform: translateX(5px);
}

.contacts__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    background: #506956;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contacts__button:hover {
    transform: translateY(-2px);
    background: #405747;
    box-shadow: 0 16px 30px rgba(58, 78, 64, 0.2);
}

.contacts__visual {
    position: relative;
    display: flex;
    min-height: 600px;
    padding: 52px;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(
            145deg,
            rgba(62, 82, 67, 0.94),
            rgba(95, 119, 97, 0.88)
        );
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(44, 60, 49, 0.16);
}

.contacts__visual::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.contacts__visual::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -60px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.contacts__visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 420px;
}

.contacts__visual-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: auto;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contacts__visual h3 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500;
    line-height: 1;
}

.contacts__visual p {
    max-width: 380px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
}

.contacts__decor {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 52px;
    margin-top: 34px;
}

.contacts__decor span {
    display: block;
    width: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
}

.contacts__decor span:nth-child(1) {
    height: 24px;
}

.contacts__decor span:nth-child(2) {
    height: 42px;
}

.contacts__decor span:nth-child(3) {
    height: 32px;
}
.contacts {
    padding-top: 90px;
    padding-bottom: 90px;
}
.contacts__visual {
    min-height: 560px;
}
.contacts__visual h3 {
    font-size: clamp(38px, 3.4vw, 52px);
    line-height: 1.02;
}
.contacts__intro {
    max-width: 640px;
}
/* =========================
   Footer
========================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 86px 0 28px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        #34463a;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.7fr) minmax(220px, 0.8fr);
    gap: 70px;
    padding-bottom: 64px;
}

.footer-brand {
    max-width: 480px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
    color: #ffffff;
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 500;
    line-height: 1;
}

.footer-brand p {
    max-width: 440px;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.64);
}

.footer-title {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-nav,
.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav a,
.footer-contacts a {
    position: relative;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 15px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-nav a:hover,
.footer-contacts a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contacts p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-top-link span {
    font-size: 18px;
}

.footer-top-link:hover {
    color: #ffffff;
    transform: translateY(-3px);
}
/* =========================
   Scroll reveal animation
========================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

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

/* Staggered appearance */
.therapy-step:nth-child(2),
.cards .card:nth-child(2) {
    transition-delay: 0.1s;
}

.therapy-step:nth-child(3),
.cards .card:nth-child(3) {
    transition-delay: 0.2s;
}

.therapy-step:nth-child(4) {
    transition-delay: 0.3s;
}

/* Hover after reveal */
.card.reveal.is-visible:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* ==========================
   Tablet
========================== */
@media (max-width: 1024px) {
    .container { width: 92%; }
    .header-inner { min-height: 85px; gap: 20px; }
    .desktop-nav { gap: 18px; }
    .desktop-nav a { font-size: 14px; }
    .hero { min-height: 720px; background-position: 62% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(247, 244, 239, 0.98) 0%, rgba(247, 244, 239, 0.86) 45%, rgba(247, 244, 239, 0.2) 75%); }
    .hero-text { max-width: 500px; }
    .about-sandplay { padding: 90px 0; }
    .about-sandplay h2 { font-size: 48px; }
    .cards { gap: 20px; }
    .card { padding: 32px; }
    .card h3 { font-size: 30px; }
}

/* ==========================
   Mobile
========================== */
@media (max-width: 768px) {
    .container { width: 92%; }
    .header-inner { min-height: 76px; }
    .logo-title { font-size: 28px; }
    .logo-subtitle { margin-top: 5px; font-size: 8px; letter-spacing: 1.8px; }
    .desktop-nav, .actions { display: none; }
    .menu-toggle { display: block; }

    .hero {
        min-height: calc(100svh - 76px);
        align-items: flex-end;
        background-position: 68% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(247, 244, 239, 0.02) 0%, rgba(247, 244, 239, 0.12) 28%, rgba(247, 244, 239, 0.88) 63%, rgba(247, 244, 239, 1) 100%);
    }

    .hero-content { padding-top: 300px; padding-bottom: 45px; }
    .hero-text { max-width: 100%; }
    .hero-label { margin-bottom: 14px; font-size: 10px; letter-spacing: 2.5px; }
    .hero-text h1 { margin-bottom: 14px; font-size: clamp(52px, 16vw, 72px); line-height: 0.9; letter-spacing: -1px; }
    .hero-subtitle { margin-bottom: 16px; font-size: 27px; }
    .hero-description { margin-bottom: 26px; font-size: 15px; line-height: 1.65; }
    .hero-button { width: 100%; }

    .about-sandplay { padding: 75px 0; }
    .section-label { margin-bottom: 15px; font-size: 11px; letter-spacing: 2px; }
    .about-sandplay h2 { margin-bottom: 22px; font-size: 40px; }
    .section-intro { margin-bottom: 42px; font-size: 15px; line-height: 1.7; }
    .cards { grid-template-columns: 1fr; gap: 18px; }
    .card { padding: 30px; }
    .icon { margin-bottom: 14px; font-size: 34px; }
    .card h3 { margin-bottom: 10px; font-size: 30px; }
    .card p { font-size: 15px; line-height: 1.7; }
}
.site-footer {
    padding: 62px 0 24px;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 46px;
}

.footer-logo {
    margin-bottom: 18px;
    font-size: 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.75;
}

.footer-title {
    margin-bottom: 16px;
}

.footer-nav a,
.footer-contacts a {
    margin-bottom: 12px;
}

.footer-bottom {
    align-items: flex-start;
    gap: 20px;
}

.footer-bottom p,
.footer-top-link {
    font-size: 12px;
}

/* ==========================
   Small mobile
========================== */
@media (max-width: 420px) {
    .logo-title { font-size: 25px; }
    .hero { background-position: 70% center; }
    .hero-content { padding-top: 250px; padding-bottom: 35px; }
    .hero-text h1 { font-size: 52px; }
    .hero-subtitle { font-size: 24px; }
    .about-sandplay h2 { font-size: 35px; }
}


/* =========================
   Therapy process
========================= */

.therapy-process {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(183, 199, 169, 0.2),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(218, 201, 174, 0.22),
            transparent 34%
        ),
        #f7f3eb;
}

.therapy-process::before {
    content: "";
    position: absolute;
    top: 110px;
    left: 50%;
    width: min(1040px, 80%);
    height: 1px;
    background: rgba(91, 112, 87, 0.17);
    transform: translateX(-50%);
}

.section-heading {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #71806c;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: #354137;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
}

.section-heading p {
    max-width: 570px;
    margin: 20px auto 0;
    color: #687069;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.therapy-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.therapy-step {
    position: relative;
    min-height: 350px;
    padding: 34px 28px 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.83);
    border: 1px solid rgba(92, 110, 88, 0.12);
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(62, 73, 59, 0.07);
    backdrop-filter: blur(10px);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.therapy-step:hover {
    transform: translateY(-8px);
    border-color: rgba(92, 110, 88, 0.24);
    box-shadow: 0 24px 65px rgba(62, 73, 59, 0.12);
}

.therapy-step__number {
    position: absolute;
    top: 19px;
    right: 22px;
    color: rgba(76, 95, 73, 0.13);
    font-family: "Cormorant Garamond", serif;
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1;
}

.therapy-step__icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 30px;
    place-items: center;
    color: #5f735c;
    background: #e2e9da;
    border-radius: 50%;
}

.therapy-step:nth-child(2) .therapy-step__icon {
    background: #eee1cf;
}

.therapy-step:nth-child(3) .therapy-step__icon {
    background: #dce8df;
}

.therapy-step:nth-child(4) .therapy-step__icon {
    background: #eadfd7;
}

.therapy-step__icon svg {
    width: 38px;
    height: 38px;
}

.therapy-step h3 {
    margin: 0 0 14px;
    color: #374439;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.15;
}

.therapy-step p {
    margin: 0;
    color: #69706a;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    line-height: 1.75;
}

/* Tablet */

@media (max-width: 620px) {
    .therapy-audience .section-heading {
        padding-top: 18px;
    }

    .section-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .section-heading p {
        margin-left: 0;
    }

    .therapy-steps {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .therapy-step {
        min-height: auto;
        padding: 28px 24px 27px;
        border-radius: 22px;
    }

    .therapy-step:hover {
        transform: none;
    }

    .therapy-step__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .therapy-step__icon svg {
        width: 34px;
        height: 34px;
    }

    .therapy-step__number {
        font-size: 3rem;
    }

    .therapy-step h3 {
        font-size: 1.7rem;
    }
}
/* Accessibility */


/* =========================
   About specialist
========================= */

.specialist {
    position: relative;
    overflow: hidden;
    padding-top: 30px;
    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(206, 218, 196, 0.28),
            transparent 30%
        ),
        #fff;
}

.specialist__layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(54px, 8vw, 110px);
    align-items: center;
}

.specialist__photo {
    position: relative;
    max-width: 500px;
}

.specialist__photo-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e8e4dc;
    border-radius: 180px 180px 30px 30px;
    box-shadow: 0 28px 70px rgba(53, 65, 55, 0.14);
}

.specialist__photo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: inherit;
    pointer-events: none;
}

.specialist__photo-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.specialist__experience {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    width: 124px;
    min-height: 92px;
    padding: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(93, 112, 89, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(53, 65, 55, 0.12);
    backdrop-filter: blur(12px);
}

.specialist__experience strong {
    color: #53664f;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 0.9;
}

.specialist__experience span {
    margin-top: 9px;
    color: #6d746d;
    font-family: "Inter", sans-serif;
    font-size: 0.64rem;
    line-height: 1.25;
}

.specialist__content h2 {
    margin: 0 0 15px;
    color: #354137;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
}

.specialist__profession {
    max-width: 690px;
    margin-bottom: 24px;
    color: #566653;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
}

.specialist__content > p:not(.specialist__profession) {
    max-width: 690px;
    margin: 0 0 16px;
    color: #686f69;
    font-family: "Inter", sans-serif;
    font-size: 0.96rem;
    line-height: 1.8;
}

.specialist__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.specialist__detail {
    display: flex;
    min-height: 88px;
    padding: 18px;
    gap: 14px;
    align-items: center;
    background: #f7f4ee;
    border: 1px solid rgba(88, 106, 84, 0.09);
    border-radius: 18px;
}

.specialist__detail-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    color: #60745d;
    background: #e1e9da;
    border-radius: 50%;
}

.specialist__detail-icon svg {
    width: 23px;
    height: 23px;
}

.specialist__detail div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specialist__detail span:not(.specialist__detail-icon) {
    color: #7b817b;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
}

.specialist__detail strong {
    color: #3f4b41;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
}

.specialist__credentials {
    margin-top: 24px;
    padding: 26px;
    background: #f1f4ed;
    border: 1px solid rgba(88, 106, 84, 0.1);
    border-radius: 22px;
}

.specialist__credentials h3 {
    margin: 0 0 19px;
    color: #3e4c40;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 600;
}

.specialist__credentials ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 16px;
    list-style: none;
}

.specialist__credentials li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.specialist__credentials li > span {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin-top: 1px;
    place-items: center;
    color: #fff;
    background: #647860;
    border-radius: 50%;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
}

.specialist__credentials li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.specialist__credentials strong {
    color: #485448;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}

.specialist__credentials small {
    color: #747b74;
    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    line-height: 1.45;
}

.specialist__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    
}
.specialist {
    padding-bottom: 30px;
}

.specialist__link {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 17px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #52634f;
    background: transparent;
    border: 1px solid rgba(82, 99, 79, 0.28);
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.specialist__link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.specialist__link:hover {
    color: #fff;
    background: #5c7058;
    border-color: #5c7058;
    transform: translateY(-2px);
}

.specialist__link--primary {
    color: #fff;
    background: #5c7058;
    border-color: #5c7058;
}

.specialist__link--primary:hover {
    background: #4e604b;
    border-color: #4e604b;
}

/* Tablet */

@media (max-width: 950px) {
    .specialist__layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .specialist__photo {
        width: min(78%, 540px);
        margin: 0 auto;
    }

    .specialist__content {
        max-width: 760px;
        margin: 0 auto;
    }
}

/* Mobile */

@media (max-width: 620px) {
    .specialist__photo-frame img {
    object-position: center 12%;
}
    .specialist__layout {
        gap: 44px;
    }

    .specialist__photo {
        width: calc(100% - 18px);
        margin-left: 0;
        margin-top: 10px;
    }

    .specialist__photo-frame {
        border-radius: 120px 120px 24px 24px;
    }

    .specialist__experience {
        right: 24px;
        bottom: 14px;
        width: 118px;
        min-height: 88px;
        padding: 12px;
    }

    .specialist__experience strong {
        font-size: 2.1rem;
    }

    .specialist__details {
        grid-template-columns: 1fr;
    }

    .specialist__credentials {
        padding: 22px 19px;
    }

    .specialist__links {
        flex-direction: column;
    }

    .specialist__link {
        width: 100%;
    }
}
/* =========================
   Therapy audience
========================= */

.therapy-audience {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(218, 201, 174, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 80%,
            rgba(194, 210, 184, 0.22),
            transparent 34%
        ),
        #f8f5ef;
}
.therapy-audience {
    padding-bottom: 30px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.audience-card {
    position: relative;
    min-height: 390px;
    padding: 32px 27px 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(91, 108, 87, 0.12);
    border-radius: 26px;
    box-shadow: 0 18px 55px rgba(53, 65, 55, 0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 108, 87, 0.24);
    box-shadow: 0 26px 65px rgba(53, 65, 55, 0.12);
}

.audience-card__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin-bottom: 28px;
    place-items: center;
    color: #5d725a;
    background: #e2eadb;
    border-radius: 50%;
}

.audience-card:nth-child(2) .audience-card__icon {
    background: #ece2d4;
}

.audience-card:nth-child(3) .audience-card__icon {
    background: #dde8e0;
}

.audience-card:nth-child(4) .audience-card__icon {
    background: #eadfd8;
}

.audience-card__icon svg {
    width: 38px;
    height: 38px;
}

.audience-card__number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(75, 93, 72, 0.12);
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.audience-card h3 {
    margin: 0 0 14px;
    color: #3b483d;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.15;
}

.audience-card p {
    min-height: 105px;
    margin: 0 0 24px;
    color: #6a716b;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    line-height: 1.75;
}

.audience-card ul {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 11px;
    list-style: none;
}

.audience-card li {
    position: relative;
    padding-left: 20px;
    color: #566257;
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
}

.audience-card li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    background: #71866d;
    border-radius: 50%;
}

/* Tablet */

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

    .audience-card {
        min-height: 350px;
    }

    .audience-card p {
        min-height: auto;
    }
}

/* Mobile */

@media (max-width: 620px) {
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .audience-card {
        min-height: auto;
        padding: 27px 23px 26px;
        border-radius: 22px;
    }

    .audience-card:hover {
        transform: none;
    }

    .audience-card__icon {
        width: 62px;
        height: 62px;
        margin-bottom: 23px;
    }

    .audience-card__icon svg {
        width: 33px;
        height: 33px;
    }

    .audience-card__number {
        font-size: 2.7rem;
    }

    .audience-card h3 {
        font-size: 1.75rem;
    }

    .audience-card p {
        margin-bottom: 20px;
    }
}

@media (max-width: 980px) {
    .contacts__wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contacts__content {
        padding: 0;
    }

    .contacts__visual {
        min-height: 480px;
    }
}
@media (max-width: 620px) {
    .contacts__wrapper {
        gap: 34px;
    }

    .contacts__content h2 {
        margin-top: 12px;
        font-size: 46px;
    }

    .contacts__intro {
        font-size: 15px;
        line-height: 1.7;
    }

    .contacts__list {
        margin-top: 28px;
    }

    .contact-item {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 74px;
        padding: 12px;
        border-radius: 16px;
    }

    .contact-item__icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .contact-item__content strong {
        font-size: 20px;
    }

    .contact-item__arrow {
        display: none;
    }

    .contacts__button {
        width: 100%;
        margin-top: 22px;
    }

    .contacts__visual {
        min-height: 420px;
        padding: 30px;
        border-radius: 24px;
    }

    .contacts__visual h3 {
        font-size: 42px;
    }
}@media (max-width: 620px) {
    .contacts {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}
@media (max-width: 620px) {
    .therapy-audience {
        padding-bottom: 70px;
    }
}
.therapy-process {
    padding-bottom: 30px;
}
@media (max-width: 768px) {
    .therapy-process {
        padding-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .about-sandplay {
        padding-bottom: 20px;
    }

    #process {
        padding-top: 20px;
    }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal,
    .hero-reveal {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}

/* =========================
   Hero entrance animation
========================= */

.hero-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-label.hero-reveal {
    animation-delay: 0.1s;
}

.hero-text h1.hero-reveal {
    animation-delay: 0.22s;
}

.hero-subtitle.hero-reveal {
    animation-delay: 0.34s;
}

.hero-description.hero-reveal {
    animation-delay: 0.46s;
}

.hero-button.hero-reveal {
    animation-delay: 0.58s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   Final polish
========================= */

::selection {
    background: var(--primary);
    color: #ffffff;
}

::-moz-selection {
    background: var(--primary);
    color: #ffffff;
}

/* Visible keyboard focus without changing mouse interactions */
:where(a, button):focus-visible {
    outline: 3px solid rgba(101, 115, 87, 0.42);
    outline-offset: 4px;
}

/* Header entrance */
.site-header {
    animation: headerEntrance 0.65s ease both;
}

@keyframes headerEntrance {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand micro-interaction */
.logo {
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Animated desktop navigation underline */
.desktop-nav a {
    position: relative;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
}

/* Card icon movement */
.icon,
.therapy-step__icon,
.audience-card__icon {
    transition:
        transform 0.35s ease,
        background-color 0.35s ease;
}

.card:hover .icon {
    transform: scale(1.12) rotate(7deg);
}

.therapy-step:hover .therapy-step__icon {
    transform: scale(1.07) rotate(7deg);
}

.audience-card:hover .audience-card__icon {
    transform: scale(1.07) rotate(-7deg);
}

/* Lightweight opening screen — decorative and non-blocking */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--background);
    pointer-events: none;
    animation: loaderExit 0.42s ease 0.48s forwards;
}

.page-loader__mark {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    color: var(--primary-dark);
    animation: loaderMark 0.55s ease both;
}

.page-loader__mark span {
    font-family: "Cormorant Garamond", serif;
    font-size: 58px;
    font-weight: 600;
    line-height: 0.75;
}

.page-loader__mark i {
    display: block;
    width: 48px;
    height: 7px;
    margin-top: 3px;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0.6;
}

.page-loader__mark i:last-child {
    width: 32px;
    margin-top: -2px;
    opacity: 0.35;
}

@keyframes loaderMark {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loaderExit {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Rendering optimization for sections below the first screen */
@supports (content-visibility: auto) {
    .about-sandplay,
    .therapy-process,
    .specialist,
    .therapy-audience,
    .contacts,
    .site-footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 800px;
    }
}

@media (hover: none) {
    .logo:hover,
    .card:hover .icon,
    .therapy-step:hover .therapy-step__icon,
    .audience-card:hover .audience-card__icon {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .page-loader,
    .page-loader__mark {
        animation: none;
    }

    .page-loader {
        display: none;
    }
}


/* =========================
   Premium microanimations
========================= */

/* Shared motion tokens */
:root {
    --motion-fast: 220ms;
    --motion-medium: 360ms;
    --motion-slow: 700ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hero-parallax-y: 0px;
    --specialist-parallax-y: 0px;
}

/* Very light depth while scrolling */
.hero {
    background-position: center calc(50% + var(--hero-parallax-y));
    will-change: background-position;
}

.specialist__photo-frame img {
    transform: translate3d(0, var(--specialist-parallax-y), 0) scale(1.035);
    transition: transform 120ms linear;
    will-change: transform;
}

/* Gentle CTA pulse: pauses while hovered or focused */
.hero-button {
    animation: heroFadeUp 0.8s ease 0.58s forwards,
               ctaBreath 8s ease-in-out 3.2s infinite;
}

.hero-button:hover,
.hero-button:focus-visible {
    animation-play-state: paused;
}

@keyframes ctaBreath {
    0%, 78%, 100% {
        box-shadow: 0 12px 30px rgba(86, 101, 75, 0.22);
    }

    84% {
        box-shadow: 0 14px 38px rgba(86, 101, 75, 0.34),
                    0 0 0 7px rgba(124, 138, 109, 0.07);
    }

    90% {
        box-shadow: 0 12px 30px rgba(86, 101, 75, 0.22);
    }
}

/* Consistent premium depth for interactive cards */
.card,
.therapy-step,
.audience-card,
.specialist__detail,
.contact-item {
    transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
    .card.reveal.is-visible:hover,
    .therapy-step:hover,
    .audience-card:hover {
        transform: translateY(-7px) scale(1.012);
        border-color: rgba(92, 110, 88, 0.22);
        box-shadow: 0 24px 58px rgba(48, 62, 51, 0.12);
    }

    .specialist__detail:hover {
        transform: translateY(-4px);
        border-color: rgba(88, 106, 84, 0.18);
        box-shadow: 0 16px 36px rgba(48, 62, 51, 0.09);
    }
}

.specialist__detail {
    transition:
        transform var(--motion-medium) var(--motion-ease),
        border-color var(--motion-medium) ease,
        box-shadow var(--motion-medium) ease;
}

/* Ripple surface */
.book-btn,
.hero-button,
.mobile-book-button,
.contacts__button,
.specialist__link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.ripple-wave {
    position: absolute;
    z-index: -1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: rippleWave 620ms ease-out forwards;
}

.specialist__link:not(.specialist__link--primary) .ripple-wave {
    background: rgba(101, 115, 87, 0.16);
}

@keyframes rippleWave {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Floating back-to-top control */
.back-to-top {
    position: fixed;
    right: clamp(18px, 3vw, 34px);
    bottom: clamp(18px, 3vw, 34px);
    z-index: 80;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: rgba(80, 105, 86, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(44, 60, 49, 0.24);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 14px, 0) scale(0.88);
    transition:
        opacity var(--motion-medium) ease,
        visibility var(--motion-medium) ease,
        transform var(--motion-medium) var(--motion-ease),
        background-color var(--motion-fast) ease,
        box-shadow var(--motion-fast) ease;
    backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform var(--motion-fast) ease;
}

.back-to-top:hover {
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(44, 60, 49, 0.32);
    transform: translate3d(0, -3px, 0) scale(1.04);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero {
        background-position: 68% calc(50% + var(--hero-parallax-y));
        will-change: auto;
    }

    .specialist__photo-frame img {
        transform: none;
        transition: none;
        will-change: auto;
    }

    .back-to-top {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 420px) {
    .hero {
        background-position: 70% calc(50% + var(--hero-parallax-y));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .specialist__photo-frame img {
        transform: none;
        transition: none;
        will-change: auto;
    }

    .hero-button {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ripple-wave {
        display: none;
    }

    .back-to-top {
        transition: none;
    }
}
/* =========================
   COOKIE BANNER
========================= */

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    max-width: 1180px;
    margin: 0 auto;

    padding: 22px;

    background: rgba(255, 252, 247, 0.98);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(93,111,82,.15);
    border-radius: 20px;

    box-shadow: 0 18px 60px rgba(48,55,42,.18);
}

.cookie-banner__content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:32px;
}

.cookie-banner__text{
    max-width:760px;
}

.cookie-banner__eyebrow{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:.15em;
    text-transform:uppercase;
    color:#7f8b73;
    font-weight:600;
}

.cookie-banner h2{
    margin:0 0 10px;
    color:#4b5b45;
    font-size:24px;
    line-height:1.25;
}

.cookie-banner p{
    margin:0;
    color:#5c6157;
    line-height:1.7;
    font-size:15px;
}

.cookie-banner__links{
    display:flex;
    gap:18px;
    margin-top:12px;
}

.cookie-banner__links a{
    color:#66785a;
    font-weight:600;
    text-decoration:none;
}

.cookie-banner__links a:hover{
    text-decoration:underline;
}

.cookie-banner__actions{
    display:flex;
    gap:12px;
    flex-shrink:0;
}

.cookie-button{
    padding:13px 24px;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:.25s;
}

.cookie-button--primary{
    background:#7d9070;
    color:white;
    border:none;
}

.cookie-button--primary:hover{
    background:#6d8061;
}

.cookie-button--secondary{
    background:white;
    color:#5f6e57;
    border:1px solid #cfd5ca;
}

.cookie-button--secondary:hover{
    background:#f3f5f1;
}

@media (max-width:768px){

.cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
    padding:18px;
}

.cookie-banner__content{
    flex-direction:column;
    align-items:flex-start;
}

.cookie-banner__actions{
    width:100%;
    flex-direction:column;
}

.cookie-button{
    width:100%;
}

.cookie-banner h2{
    font-size:21px;
}

}