/* ==========================================================
   БАЗА И ПЕРЕМЕННЫЕ
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cream-50:  #fdf9f4;
    --cream-100: #f6ede2;
    --cream-200: #ecddd0;
    --cream-300: #ddc8b5;

    --sage:       #8a9e8a;
    --sage-icon:  #5d7059;
    --sage-light: #e6ede6;

    --terra:      #8c6355;
    --terra-dark: #7a5244;

    --ink:       #2e2820;
    --warm-gray: #6b5f55;
    --muted:     #7a6c62;

    --bg:   #f5f0ea;
    --line: #e8ddd2;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Outfit', system-ui, sans-serif;

    --radius-sm: 12px;
    --radius:    16px;
    --radius-lg: 24px;

    --shadow-md: 0 8px 30px rgba(140, 99, 85, 0.10);
    --shadow-lg: 0 20px 50px rgba(46, 40, 32, 0.12);

    --max-width: 72rem;
    --header-h: 4rem;
    --transition: 0.25s ease;

    --color-bg: var(--bg);
    --color-card: #fff;
    --color-primary: var(--ink);
    --color-text: var(--ink);
    --color-muted: var(--muted);
    --color-border: var(--line);
    --color-accent: var(--terra);
    --color-accent-dark: var(--terra-dark);
    --color-accent-light: var(--cream-200);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }
img  { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0;
}

p { margin: 0; }

:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1.25rem;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   КНОПКИ
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.3;
}
.btn--primary {
    background: var(--terra);
    color: #fff;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}
.btn--primary:hover {
    background: var(--terra-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(140, 99, 85, 0.25);
}
.btn--ghost {
    background: transparent;
    border: 1px solid var(--cream-300);
    color: var(--warm-gray);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}
.btn--ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn--secondary {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--warm-gray);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
}
.btn--secondary:hover { background: var(--sage-light); border-color: var(--sage); color: var(--sage-icon); }

/* ==========================================================
   ШАПКА
   ========================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(245, 240, 234, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(46, 40, 32, 0.06); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: inherit;
}
.brand__name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--ink); }
.brand__role { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray);
    transition: color 0.2s;
}
.nav__link:hover { color: var(--terra); }
.nav__cta { margin-left: 0.5rem; }

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    width: 26px;
    height: 22px;
    padding: 0;
    cursor: pointer;
}
.nav__burger span {
    display: block;
    height: 1.6px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; }
.nav__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile .nav__link { text-align: left; font-size: 0.95rem; padding: 0.4rem 0; }
.nav__mobile .nav__cta { align-self: flex-start; margin-left: 0; }

.nav--minimal .nav__inner { justify-content: space-between; }
.nav__back {
    font-size: 0.875rem;
    color: var(--warm-gray);
    transition: color 0.2s;
}
.nav__back:hover { color: var(--terra); }

@media (max-width: 820px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    padding-top: var(--header-h);
    min-height: 100svh;
    display: flex;
    align-items: center;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0 4rem;
}
.hero__leaf { color: var(--sage); opacity: 0.75; margin-bottom: 1.5rem; line-height: 0; }
.hero__title {
    font-size: clamp(2.3rem, 4.8vw, 3.8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: left;
}
.hero__text { max-width: 32rem; text-align: left; }
.hero__text h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--ink);
}
.hero__text p {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.5;
    color: #5e5248;
    letter-spacing: 0.005em;
    margin-bottom: 1.25rem;
}
.hero__text p:last-child { margin-bottom: 0; }

.hero__media { position: relative; }
.hero__photo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(160deg, var(--cream-200), var(--cream-300));
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 40, 32, 0.06), transparent 60%);
    pointer-events: none;
}
.hero__badge {
    position: absolute;
    bottom: 2rem; left: -1.25rem;
    z-index: 2;
    background: #fff;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero__badge-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    background: var(--cream-200);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-icon);
}
.hero__badge-title { font-size: 0.75rem; font-weight: 500; color: var(--ink); }
.hero__badge-sub { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

/* HERO — адаптив */
@media (min-width: 601px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 1rem);
    }
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 1.5rem 1.5rem 3rem;
        align-items: center;
    }
    .hero__title {
        font-size: clamp(1.75rem, 4.2vw, 2.5rem);
        line-height: 1.15;
        text-align: left;
        margin: 0 0 1.25rem;
    }
    .hero__text h2 {
        font-size: 1.5rem;
        margin: 0 0 1rem;
        text-align: left;
    }
    .hero__text p {
        font-size: 1.15rem;
        line-height: 1.5;
        margin: 0 0 1rem;
    }
    .hero__photo {
        aspect-ratio: 4/5;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }
    .hero__badge {
        left: -0.75rem;
        right: auto;
        bottom: 1.25rem;
        padding: 0.65rem 1rem;
        gap: 0.6rem;
        border-radius: var(--radius-sm);
        width: max-content;
        max-width: 92%;
    }
    .hero__badge-icon { width: 2rem; height: 2rem; border-radius: 50%; }
    .hero__badge-icon svg { width: 15px; height: 15px; }
    .hero__badge-title { font-size: 0.72rem; }
    .hero__badge-sub { font-size: 0.62rem; }
}

@media (max-width: 600px) {
    .hero {
        padding-top: calc(var(--header-h) + 0.75rem);
        min-height: auto;
    }
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        padding: 0.75rem 1rem 2.5rem;
        align-items: start;
    }
    .hero__leaf { margin: 0 0 0.5rem; }
    .hero__leaf svg { width: 20px; height: 20px; }
    .hero__title {
        font-size: clamp(1.65rem, 6vw, 2rem);
        line-height: 1.12;
        text-align: left;
        margin: 0 0 1rem;
    }
    .hero__text h2 {
        font-size: 1.25rem;
        margin: 0 0 0.75rem;
        text-align: left;
    }
    .hero__text p {
        font-size: 1rem;
        line-height: 1.45;
        margin: 0 0 0.75rem;
    }
    .hero__text p:last-child { margin-bottom: 0; }
    .hero__photo {
        aspect-ratio: 3/4;
        border-radius: var(--radius);
        box-shadow: 0 16px 36px rgba(46, 40, 32, 0.14);
    }
    .hero__badge {
        left: -0.75rem;
        right: auto;
        bottom: 1rem;
        padding: 0.55rem 0.9rem;
        gap: 0.5rem;
        border-radius: var(--radius-sm);
        width: max-content;
        max-width: 88%;
    }
    .hero__badge-icon { width: 1.9rem; height: 1.9rem; border-radius: 50%; }
    .hero__badge-icon svg { width: 14px; height: 14px; }
    .hero__badge-title { font-size: 0.7rem; }
    .hero__badge-sub { font-size: 0.6rem; }
}

@media (max-width: 480px) {
    .hero { padding-top: calc(var(--header-h) + 0.5rem); }
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0.5rem 0 2rem;
    }
    .hero__leaf { margin: 0 0 0.35rem 0; }
    .hero__leaf svg { width: 16px; height: 16px; }
    .hero__title {
        font-size: 1.35rem;
        line-height: 1.2;
        text-align: left;
        margin: 0 0 0.85rem 0;
    }
    .hero__text h2 {
        font-size: 1.05rem;
        margin: 0 0 0.6rem;
        text-align: left;
    }
    .hero__text p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 0 0 0.6rem 0;
    }
    .hero__photo {
        aspect-ratio: 3/4;
        border-radius: var(--radius-sm);
    }
    .hero__badge {
        bottom: 0.5rem;
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
        border-radius: 8px;
    }
    .hero__badge-icon {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 6px;
    }
    .hero__badge-icon svg { width: 12px; height: 12px; }
    .hero__badge-title { font-size: 0.65rem; }
    .hero__badge-sub { font-size: 0.55rem; }
}

/* ==========================================================
   СЕКЦИИ — БАЗА
   ========================================================== */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--cream-100); }
.section__head { text-align: center; max-width: 38rem; margin: 0 auto 2.5rem; }
.section__title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }

/* ==========================================================
   КАРТОЧКИ «ВОЗМОЖНО, СЕЙЧАС ВАМ НЕПРОСТО»
   ========================================================== */
.problems { padding: 1rem 0 3rem; }
.problems__lead {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #5e5248;
    max-width: 42rem;
    margin: 0.75rem auto 0;
    letter-spacing: 0.005em;
}
.problems__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.problem-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}
.problem-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--cream-300);
    transform: translateY(-2px);
}
.problem-card__icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    background: var(--sage-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-icon);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.problem-card__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.problem-card__desc {
    font-size: 0.78rem;
    line-height: 1.65;
    color: var(--muted);
    font-weight: 300;
}

.cta-banner {
    margin-top: 2rem;
    background: var(--cream-100);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cta-banner__leaf {
    position: absolute;
    left: 1.25rem; top: 1rem;
    color: var(--sage);
    opacity: 0.45;
    pointer-events: none;
    line-height: 0;
}
.cta-banner p {
    max-width: 32rem;
    padding-left: 2rem;
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.7;
}
.cta-banner .btn {
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    padding: 1rem 1.75rem;
    line-height: 1.3;
    text-align: center;
}

/* ==========================================================
   ОБО МНЕ — ДВУХКОЛОНОЧНЫЙ БЛОК
   ========================================================== */
.about-split {
    padding: 5rem 0;
    background: var(--bg);
}

.about-split__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto 1fr;
    column-gap: 4rem;
    row-gap: 1.25rem;
    align-items: start;
}

.about-split__eyebrow {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin-bottom: 0;
}

.about-split__content {
    grid-column: 1;
    grid-row: 2;
}

.about-split__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(160deg, var(--cream-200), var(--cream-300));
}

.about-split__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-split__text p {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--ink);
    letter-spacing: -0.005em;
    margin-bottom: 1.5rem;
}

.about-split__text p:last-child { margin-bottom: 0; }
.about-split__text p:first-child {
    font-style: italic;
    color: var(--terra);
}

/* ==========================================================
   С ЧЕМ Я РАБОТАЮ
   ========================================================== */
.work-with {
    padding: 5rem 0;
    background: var(--bg);
}

.work-with__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.work-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.75rem 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.work-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--cream-300);
}

.work-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.work-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.work-card__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}

.work-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.work-card__list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--warm-gray);
    font-weight: 300;
}

.work-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage);
    opacity: 0.8;
}

.work-with__closing {
    max-width: 46rem;
    margin: 3.5rem auto 0;
    text-align: center;
}

.work-with__closing p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.work-with__closing p:last-child {
    margin-bottom: 0;
    color: var(--ink);
    font-style: normal;
}

.work-with__closing strong {
    font-weight: 500;
    color: var(--terra);
    font-style: italic;
}

/* ==========================================================
   КАК ПРОХОДИТ ТЕРАПИЯ
   ========================================================== */
.therapy {
    padding: 5rem 0;
    background: var(--cream-100);
}

.therapy__head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3.5rem;
}

.therapy__leaf {
    color: var(--sage);
    opacity: 0.7;
    margin-bottom: 1rem;
    line-height: 0;
    display: flex;
    justify-content: center;
}

.therapy__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.25rem;
    letter-spacing: -0.005em;
}

.therapy__lead {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.7;
    max-width: 40rem;
    margin: 0 auto;
}

.therapy__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.therapy-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.therapy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.therapy-card__num {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--terra);
    letter-spacing: 0.1em;
    background: var(--cream-100);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.therapy-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--sage-light);
    color: var(--sage-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.therapy-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.therapy-card__desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--warm-gray);
    font-weight: 300;
    text-align: center;
}

.therapy__outro {
    max-width: 46rem;
    margin: 4rem auto 0;
    text-align: center;
}

.therapy__outro p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--warm-gray);
    margin-bottom: 0.85rem;
}

.therapy__outro p:last-child {
    margin-bottom: 0;
    color: var(--terra);
}

/* ==========================================================
   КАК ПРОХОДИТ РАБОТА
   ========================================================== */
.process-steps {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.process-steps li {
    counter-increment: step;
    position: relative;
    padding: 1.25rem 0 1.25rem 4rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}
.process-steps li:last-child { border-bottom: none; }
.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 1rem;
    width: 2.75rem; height: 2.75rem;
    background: var(--sage);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1rem;
}

/* ==========================================================
   СТОИМОСТЬ
   ========================================================== */
.pricing-slider { position: relative; max-width: 68rem; margin: 0 auto; overflow: hidden; }
.pricing-track {
    display: flex;
    gap: 1.25rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pricing-track::-webkit-scrollbar { display: none; }
.pricing-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: all 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.75rem; }
.pricing-card__price {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--terra);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.pricing-card__note { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-bottom: 0.75rem; }
.pricing-card__meta,
.pricing-card__duration,
.pricing-card__format { font-size: 0.85rem; color: var(--warm-gray); margin-bottom: 0.4rem; }
.pricing-card__includes {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: auto;
    padding-top: 0.75rem;
}
.pricing-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

/* ОБНОВЛЕННЫЕ КНОПКИ С SVG-СТРЕЛКАМИ */
.pricing-prev,
.pricing-next {
    width: 2.75rem; 
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-gray);
}

.pricing-prev:hover,
.pricing-next:hover { 
    background: var(--cream-100); 
    border-color: var(--cream-300); 
    color: var(--terra); 
}

/* ==========================================================
   ПЕРВАЯ КОНСУЛЬТАЦИЯ
   ========================================================== */
.first-consult {
    padding: 4rem 0;
    background: var(--bg);
}

.first-consult__card {
    max-width: 34rem;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.first-consult__card .eyebrow {
    text-align: center;
    margin-bottom: 1rem;
}

.first-consult__lead {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink);
    letter-spacing: -0.005em;
    margin-bottom: 1.5rem;
}

.first-consult__price {
    display: inline-block;
    padding: 0.55rem 1rem;
    margin-bottom: 1.75rem;
    background: var(--sage-light);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--sage-icon);
}

.first-consult__price strong {
    font-weight: 500;
    color: var(--terra-dark);
    margin-left: 0.15rem;
}

.first-consult__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.6rem;
    background: var(--terra);
    color: #fff;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.first-consult__btn:hover {
    background: var(--terra-dark);
    color: #fff;
    transform: translateY(-1px);
}

.first-consult__btn-arrow { transition: transform 0.2s ease; }
.first-consult__btn:hover .first-consult__btn-arrow { transform: translateX(3px); }

.first-consult__note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    max-width: 22rem;
    margin: 1.5rem auto 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--muted);
    text-align: left;
}

.first-consult__note-icon {
    flex-shrink: 0;
    color: var(--sage);
    opacity: 0.85;
    line-height: 0;
    margin-top: 2px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-list { max-width: 50rem; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] { border-color: var(--sage); box-shadow: var(--shadow-md); }
.faq-item summary {
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--sage);
    font-family: var(--font-display);
    transition: transform 0.25s;
    line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 1.5rem 1.25rem; color: var(--warm-gray); font-size: 0.9rem; line-height: 1.7; }

/* ==========================================================
   ОТЗЫВЫ
   ========================================================== */
.testi {
    background: var(--ink);
    color: var(--cream-50);
    padding: 5rem 0;
    overflow: hidden;
}
.testi .eyebrow { color: var(--sage); }
.testi__title {
    color: var(--cream-50);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
}
.testi__viewport { 
    overflow: hidden; 
    width: 100%; 
}
.testi__track { 
    display: flex; 
    transition: transform 0.5s cubic-bezier(0.4, 0.2, 0.2, 1); 
    width: 100%; 
}
.testi__slide { 
    width: 100%; 
    flex: 0 0 100%; 
    padding: 0 4rem; 
    box-sizing: border-box; 
}
.testi__inner { max-width: 40rem; margin: 0 auto; text-align: center; }

/* Скрываем кавычку, чтобы не было пустого места */
.testi__quote-mark {
    display: none; 
}

.testi__stars {
    color: var(--terra);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}
.testi__text {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--cream-200);
    margin-bottom: 2.5rem;
}
.testi__author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testi__avatar {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--terra);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 500;
}
.testi__author-info { text-align: left; }
.testi__name { font-weight: 500; color: var(--cream-50); font-size: 0.95rem; }

.testi__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}
.testi__nav {
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(245, 240, 234, 0.2);
    color: var(--cream-50);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.testi__nav:hover { background: rgba(245, 240, 234, 0.08); }
.testi__dots { display: flex; gap: 0.5rem; }
.testi__dot {
    height: 8px; width: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(245, 240, 234, 0.3);
    transition: all 0.25s;
}
.testi__dot.is-active { background: var(--terra); width: 1.5rem; }

/* ==========================================================
   СТАТЬИ
   ========================================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.article-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card__img-wrap {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16/10;
    background: var(--cream-200);
}
.article-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-card__placeholder {
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    background: linear-gradient(140deg, var(--sage-light), var(--cream-200));
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-icon);
    margin-bottom: 1rem;
}
.article-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}
.article-card__title a:hover { color: var(--terra); }
.article-card__date { font-size: 0.78rem; color: var(--muted); display: block; margin-bottom: 0.75rem; }
.article-card__excerpt { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; }
.articles-more { text-align: center; margin-top: 3rem; }

/* ==========================================================
   КОНТАКТЫ
   ========================================================== */
.contact { padding: 5rem 0; text-align: center; }
.contact__inner { max-width: 44rem; margin: 0 auto; }
.contact__title { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 1.25rem; font-weight: 300; }
.contact__lead {
    font-size: 1rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.7;
    max-width: 32rem;
    margin: 0 auto 3rem;
}
.contact__lead strong { color: var(--ink); font-weight: 500; }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 38rem;
    margin: 0 auto;
}

.contact__card-wrap { position: relative; }

.contact__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.contact__card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--cream-300);
    transform: translateY(-2px);
    color: inherit;
}
.contact__card-icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: 14px;
    background: var(--sage-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--sage-icon);
}
.contact__card-label {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.contact__card-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-top: 2px;
    font-family: var(--font-display);
    word-break: break-word;
}

.contact__copy {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--warm-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    z-index: 2;
}
.contact__card-wrap:hover .contact__copy,
.contact__copy:focus-visible {
    opacity: 1;
    transform: translateY(0);
}
.contact__copy:hover {
    color: var(--sage-icon);
    border-color: var(--sage);
    background: var(--sage-light);
}
.contact__copy svg { display: block; pointer-events: none; }
.contact__copy .contact__copy-check { display: none; }
.contact__copy.is-copied .contact__copy-icon { display: none; }
.contact__copy.is-copied .contact__copy-check { display: block; }
.contact__copy.is-copied {
    color: #4A6E3A;
    border-color: #A9C79A;
    background: #EAF3E2;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   ФУТЕР
   ========================================================== */
.footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
    background: var(--bg);
    flex-shrink: 0;
}
.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--warm-gray);
}
.footer__copy { font-size: 0.75rem; color: var(--muted); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.75rem; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--terra); }

/* ==========================================================
   ФОРМА ЗАПИСИ
   ========================================================== */
.appointment-form-section {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 2rem;
}
.appointment-form-section .section__head { margin-bottom: 0.75rem; }
.appointment-form-section__subtitle {
    text-align: center;
    color: var(--warm-gray);
    font-weight: 300;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.appointment-form {
    max-width: 40rem;
    margin: 0 auto;
    background: #fff;
    padding: 2.5rem 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(138, 158, 138, 0.15);
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5f55' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}
.form-group textarea { min-height: 110px; resize: vertical; }

.appointment-form .btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.form-message { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-message.success { display: block; background: #e8f5e9; color: #2e7d32; }
.form-message.error   { display: block; background: #ffebee; color: #c62828; }

.notice {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff4e6;
    border: 1px solid #f0c99e;
    border-radius: var(--radius-sm);
    color: #8b5a2b;
    text-align: center;
    font-size: 0.95rem;
}

.appointment-form__note {
    max-width: 40rem;
    margin: 1rem auto 0;
    padding: 0.9rem 1.5rem;
    background: var(--sage-light);
    border-radius: var(--radius-sm);
    color: var(--sage-icon);
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1.5rem;
}
.appointment-form__note p { margin: 0; }

/* ==========================================================
   СТРАНИЦА ОТДЕЛЬНОЙ СТАТЬИ
   ========================================================== */
.single-article { padding: calc(var(--header-h) + 2.5rem) 0 3rem; }
.single-article__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
.single-article__date { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.single-article__image { max-width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.5rem; }
.single-article__content {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 44rem;
    overflow-wrap: break-word;
}
.single-article__content p { margin-bottom: 1.2rem; }
.single-article__content h2,
.single-article__content h3 { font-family: var(--font-display); color: var(--ink); margin: 1.5rem 0 0.8rem; font-weight: 400; }
.single-article__content ul,
.single-article__content ol { margin: 0 0 1.2rem 1.5rem; }
.single-article__content blockquote {
    border-left: 4px solid var(--sage);
    padding-left: 1.2rem;
    color: var(--warm-gray);
    font-style: italic;
    margin: 1.5rem 0;
}
/* ----------------------------------------------------------
   Контент статей: защита от inline-размеров и стили Quill
   ---------------------------------------------------------- */

/* Защита от неадекватных размеров: <span style="font-size:5000px">.
   Quill задаёт размер классами .ql-size-*, а не inline-стилем,
   поэтому inline font-size / line-height в статье бывают только
   во вставленном вручную HTML — их сбрасываем к размеру абзаца. */
.single-article__content [style*="font-size" i] {
    font-size: inherit !important;
}
.single-article__content [style*="line-height" i] {
    line-height: inherit !important;
}

/* Картинки и код не должны вылезать за колонку */
.single-article__content img {
    max-width: 100%;
    height: auto;
}
.single-article__content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 1rem;
    margin: 0 0 1.2rem;
    border-radius: var(--radius);
    background: var(--sage-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Размер текста из тулбара Quill */
.single-article__content .ql-size-small { font-size: 0.75em; }
.single-article__content .ql-size-large { font-size: 1.25em; }
.single-article__content .ql-size-huge  { font-size: 1.5em; }

/* Выравнивание из тулбара Quill */
.single-article__content .ql-align-center  { text-align: center; }
.single-article__content .ql-align-right   { text-align: right; }
.single-article__content .ql-align-justify { text-align: justify; }

/* Шрифты из выпадающего списка редактора.
   Редактор пишет style="font-family: roboto;" — короткое имя,
   которого нет в системе. Подставляем полное имя и запасные шрифты. */
.single-article__content [style*="font-family: arial" i]        { font-family: Arial, sans-serif !important; }
.single-article__content [style*="font-family: times" i]        { font-family: 'Times New Roman', Times, serif !important; }
.single-article__content [style*="font-family: georgia" i]      { font-family: Georgia, serif !important; }
.single-article__content [style*="font-family: courier" i]      { font-family: 'Courier New', Courier, monospace !important; }
.single-article__content [style*="font-family: verdana" i]      { font-family: Verdana, sans-serif !important; }
.single-article__content [style*="font-family: impact" i]       { font-family: Impact, 'Arial Narrow', sans-serif !important; }
.single-article__content [style*="font-family: roboto" i]       { font-family: Roboto, Arial, sans-serif !important; }
.single-article__content [style*="font-family: open-sans" i]    { font-family: 'Open Sans', Arial, sans-serif !important; }
.single-article__content [style*="font-family: lato" i]         { font-family: Lato, Arial, sans-serif !important; }
.single-article__content [style*="font-family: montserrat" i]   { font-family: Montserrat, Arial, sans-serif !important; }
.single-article__content [style*="font-family: oswald" i]       { font-family: Oswald, 'Arial Narrow', sans-serif !important; }
.single-article__content [style*="font-family: playfair" i]     { font-family: 'Playfair Display', Georgia, serif !important; }
.single-article__content [style*="font-family: merriweather" i] { font-family: Merriweather, Georgia, serif !important; }
.single-article__content [style*="font-family: pt-serif" i]     { font-family: 'PT Serif', Georgia, serif !important; }
.single-article__content [style*="font-family: raleway" i]      { font-family: Raleway, Arial, sans-serif !important; }

.single-article__share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.single-article__share span { font-weight: 500; color: var(--warm-gray); font-size: 0.9rem; }
.share-link {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: var(--sage-light);
    color: var(--sage-icon);
    font-size: 0.85rem;
    transition: all 0.25s;
}
.share-link:hover { background: var(--sage); color: #fff; }
.single-article__back { margin-top: 1rem; }

/* ==========================================================
   СТРАНИЦА ОТЗЫВА
   ========================================================== */
.review-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--bg);
}
.review-container { max-width: 500px; width: 100%; margin: 0 auto; }
.review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.review-card h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    margin-bottom: 0.5rem;
}
.review-subtitle { text-align: center; color: var(--warm-gray); font-size: 0.95rem; margin-bottom: 1.5rem; }
.star-rating { display: flex; justify-content: center; gap: 0.5rem; font-size: 2rem; cursor: pointer; margin-bottom: 1rem; }
.star-rating .star { color: #ddd; transition: color 0.2s; user-select: none; }
.star-rating .star.active { color: var(--terra); }
.review-form .btn { width: 100%; margin-top: 0.5rem; }

/* ==========================================================
   СТРАНИЦА ВСЕХ СТАТЕЙ
   ========================================================== */
.articles-page { padding: calc(var(--header-h) + 3rem) 0 4rem; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    text-align: center;
    color: var(--ink);
    margin-bottom: 3rem;
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination__link,
.pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--warm-gray);
    transition: all 0.25s;
}
.pagination__link:hover { background: var(--sage-light); border-color: var(--sage); color: var(--sage-icon); }
.pagination__current {
    background: var(--terra);
    border-color: var(--terra);
    color: #fff;
    font-weight: 500;
}
.text-muted { text-align: center; color: var(--muted); font-style: italic; padding: 2.5rem; }

/* ==========================================================
   ОБЩИЙ АДАПТИВ
   ========================================================== */
@media (max-width: 1100px) {
    .problems__grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card { flex: 0 0 calc((100% - 1.25rem) / 2); max-width: calc((100% - 1.25rem) / 2); }
    .therapy__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .about-split { padding: 3.5rem 0; }
    .about-split__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 1.75rem;
    }
    .about-split__eyebrow { grid-column: 1; grid-row: 1; text-align: center; }
    .about-split__media {
        grid-column: 1;
        grid-row: 2;
        align-self: auto;
        aspect-ratio: 4/5;
        max-width: 32rem;
        width: 100%;
        margin: 0 auto;
    }
    .about-split__content { grid-column: 1; grid-row: 3; }
    .about-split__text p { font-size: 1.05rem; }

    .work-with__grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section__head { margin-bottom: 2rem; }
    .problems { padding: 0.5rem 0 3rem; }
    .problems__grid { grid-template-columns: 1fr; gap: 1rem; }
    .cta-banner { padding: 1.75rem; flex-direction: column; align-items: flex-start; }
    .cta-banner p { padding-left: 0; }
    .cta-banner .btn { align-self: stretch; }
    .testi { padding: 4rem 0; }
    .testi__slide { padding: 0 0.5rem; }
    .contact__grid { grid-template-columns: 1fr; }
    .contact__copy {
        opacity: 1;
        transform: translateY(0);
        width: 2.1rem;
        height: 2.1rem;
    }
    .footer__inner { flex-direction: column; text-align: center; }
    .appointment-form { padding: 1.5rem; }
    .appointment-form__note { flex-direction: column; text-align: center; }

    .work-with { padding: 3.5rem 0; }
    .work-card {
        padding: 1.5rem 1.25rem;
        border-radius: var(--radius);
    }
    .work-card__title { font-size: 1.05rem; }
    .work-with__closing { margin-top: 2.5rem; }
    .work-with__closing p { font-size: 0.95rem; }
}

@media (max-width: 640px) {
    .problems__lead { font-size: 0.95rem; line-height: 1.55; margin-top: 0.6rem; }
    .pricing-card { flex: 0 0 100%; max-width: 100%; }

    .therapy { padding: 3.5rem 0; }
    .therapy__head { margin-bottom: 2.5rem; }
    .therapy__grid { grid-template-columns: 1fr; gap: 1rem; }
    .therapy-card { padding: 1.75rem 1.25rem 1.5rem; }
    .therapy__outro { margin-top: 2.5rem; }
    .therapy__outro p { font-size: 0.95rem; }

    .about-split__text p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }
    .about-split__media {
        aspect-ratio: 3/4;
        border-radius: var(--radius);
    }

    .first-consult { padding: 3rem 0; }
    .first-consult__card { padding: 1.75rem 1.25rem; }
    .first-consult__lead { font-size: 1rem; }
    .first-consult__price { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
    .first-consult__btn { font-size: 0.82rem; padding: 0.7rem 1.35rem; }
}

@media (max-width: 560px) {
    .problems__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section__title { font-size: 1.6rem; }
    .problem-card { padding: 1.25rem 1rem; }
    .pricing-card__price { font-size: 1.6rem; }
}

/* ==========================================================
   ДОСТУПНОСТЬ (Отключение анимаций)
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
