/* ============================================================
   1. ПЕРЕМЕННЫЕ (ROOT)
   ============================================================ */
:root {
    --teal-800: #0d4f4a;
    --teal-700: #0f6b63;
    --teal-600: #17837a;
    --teal-500: #1f9b90;
    --teal-300: #8cd4cc;
    --teal-100: #ddf2ef;
    --teal-50: #f0faf8;
    --ink: #172224;
    --ink-soft: #344345;
    --muted: #687779;
    --line: #dce8e6;
    --surface: #ffffff;
    --surface-soft: #f6fbfa;
    --container: 1330px;
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   2. RESET И БАЗА
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.55;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    font: inherit;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* ============================================================
   3. КНОПКИ
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background .2s, transform .16s, border-color .2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    color: #fff;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
}

.btn-ghost {
    border-color: rgba(15, 107, 99, .3);
    color: var(--teal-700);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--teal-600);
    background: var(--teal-50);
}

.btn-white {
    background: #fff;
    color: var(--teal-800);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--teal-50);
    border-color: var(--teal-300);
}

.btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75px;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    animation: shine 3s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -75px;
    }
    20% {
        left: 110%;
    }
    100% {
        left: 110%;
    }
}

/* ============================================================
   4. БЭЙДЖИ (BADGE)
   ============================================================ */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 40px;
    background: var(--teal-100);
    color: var(--teal-700);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.badge--inprogress {
    background: #e8edf0;
    color: var(--muted);
}

/* ============================================================
   5. ЗАГОЛОВКИ СЕКЦИЙ
   ============================================================ */
.section-head {
    text-align: center;
    margin-bottom: 36px;
}
.section-head .badge {
    margin-bottom: 8px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -.03em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-head p {
    color: var(--muted);
    max-width: 680px;
    margin-inline: auto;
    font-size: 15px;
}

/* ============================================================
   6. ШАПКА (HEADER) + ВЫПАДАЮЩЕЕ МЕНЮ
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    min-height: 84px;
    transition: border-color .2s, background .2s;
}
.header.is-scrolled {
    border-color: rgba(15, 107, 99, .12);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: inherit;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo__icon {
    width: 48px;
    height: 48px;
    background: var(--teal-700);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
}
.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo__text strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.logo__text small {
    font-size: 11px;
    color: var(--muted);
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    position: relative;
    padding: 8px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal-600);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s;
}
.nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    position: relative;
    transition: color .2s;
}
.nav-dropdown__toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal-600);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s;
}
.nav-dropdown__toggle:hover::after,
.nav-dropdown__toggle[aria-expanded="true"]::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-dropdown__toggle i {
    font-size: 10px;
    transition: transform .25s ease;
}
.nav-dropdown__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    z-index: 999;
}
.nav-dropdown__toggle[aria-expanded="true"]+.nav-dropdown__menu,
.nav-dropdown__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
.nav-dropdown__menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 2px 0 0 0;
}
.nav-dropdown__menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: background .15s, color .15s;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.active {
    background: var(--teal-50);
    color: var(--teal-700);
}
.nav-dropdown__menu a i {
    width: 20px;
    text-align: center;
    color: var(--teal-700);
    font-size: 16px;
    flex-shrink: 0;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header__phone {
    font-weight: 800;
    font-size: 14px;
    color: var(--teal-700);
    display: flex;
    align-items: center;
    gap: 8px;
}
.header__phone i {
    font-size: 1.3rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. ГЕРОЙ (HERO)
   ============================================================ */
.block-hero {
    padding: 60px 0 0;
    background: linear-gradient(100deg, #fff 35%, rgba(255, 255, 255, .7) 70%, rgba(255, 255, 255, 0) 100%), url(/assets/img/hero-bg.webp) no-repeat right center / contain;
    min-height: 500px;
}
.block-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 40px;
}

.hero__content {
    max-width: 620px;
}
.hero__content h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 12px 0 16px;
}
.hero__content h1 span {
    color: var(--teal-700);
    display: block;
}
.hero__lead {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 28px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-right: 1px solid var(--line);
}
.trust-item:last-child {
    border-right: 0;
}
.trust-item i {
    font-size: 24px;
    color: var(--teal-700);
    flex-shrink: 0;
}
.trust-item strong {
    font-size: 12px;
    font-weight: 800;
    display: block;
    text-transform: uppercase;
    line-height: 1.2;
}
.trust-item span {
    font-size: 10px;
    color: var(--muted);
    display: block;
}

.hero__image {
    border-radius: var(--radius);
    background: var(--teal-50);
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--line);
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   8. КОМУ МЫ ПОМОГАЕМ (HELP)
   ============================================================ */
.block-help {
    padding: 64px 0;
}
.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.help-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: border-color .2s, box-shadow .2s;
}
.help-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 8px 24px rgba(15, 107, 99, .06);
}
.help-card i {
    font-size: 2rem;
    color: var(--teal-700);
    margin-bottom: 12px;
    display: block;
}
.help-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.help-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ============================================================
   9. УСЛУГИ (SERVICES)
   ============================================================ */
.block-services {
    padding: 64px 0;
    background: var(--surface-soft);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    display: grid;
    grid-template-columns: 40% 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: border-color .2s;
    min-height: 180px;
}
.service-card:hover {
    border-color: var(--teal-300);
}
.service-card__img {
    position: relative;
    background: var(--teal-50);
    min-height: 180px;
    overflow: hidden;
}
.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-card__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.service-card__body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
}
.service-card__body h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
}
.service-card__body p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
    flex: 1;
}
.service-card__price {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--teal-700);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    align-self: flex-start;
}

/* ============================================================
   10. ПОЧЕМУ МЫ (WHY)
   ============================================================ */
.block-why {
    padding: 64px 0;
}
.block-why .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
}
.check-list i {
    font-size: 20px;
    color: var(--teal-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.why__image {
    border-radius: var(--radius);
    background: var(--teal-50);
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--line);
}
.why__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   11. СПЕЦПРЕДЛОЖЕНИЯ (OFFERS)
   ============================================================ */
.block-offers {
    padding: 64px 0;
    background: var(--surface-soft);
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.offer-card {
    background: var(--teal-700);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
    min-height: 130px;
}
.offer-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
}
.offer-card span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .8;
}
.offer-card strong {
    font-size: 2.2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin: 4px 0 2px;
}
.offer-card p {
    font-size: 14px;
    font-weight: 700;
}
.offer-card small {
    font-size: 10px;
    opacity: .7;
    display: block;
    margin-top: 4px;
}
.offer-card--teal {
    background: var(--teal-600);
}
.offer-card--dark {
    background: var(--teal-800);
}
.offer-card--free {
    background: #0f5c5a;
}

/* ============================================================
   12. 5 ШАГОВ (STEPS)
   ============================================================ */
.block-steps {
    padding: 64px 0;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: border-color .2s;
}
.step-card:hover {
    border-color: var(--teal-300);
}
.step-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: var(--teal-700);
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.step-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.step-card p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================================
   13. ОТЗЫВЫ (REVIEWS + СЛАЙДЕР)
   ============================================================ */
.block-reviews {
    padding: 64px 0;
    background: var(--surface-soft);
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}
.review-card:hover {
    border-color: var(--teal-300);
}
.review-card__head {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(255, 255, 255, .4);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
}
.review-card__head strong {
    font-size: 14px;
    display: block;
}
.review-card__head span {
    font-size: 11px;
    opacity: .8;
}
.review-card__body {
    padding: 16px 18px 14px;
}
.review-card__body blockquote {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
}
.review-card__body .source {
    margin-top: 10px;
    font-size: 10px;
    color: var(--teal-700);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
}
.reviews-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}
.reviews-slider .review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}
.reviews-slider__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.reviews-slider__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--teal-700);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reviews-slider__btn:hover {
    background: var(--teal-700);
    color: #fff;
    border-color: var(--teal-700);
}
.reviews-slider__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.reviews-slider__btn:disabled:hover {
    background: #fff;
    color: var(--teal-700);
    border-color: var(--line);
}
.reviews-slider__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.reviews-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.reviews-slider__dot.active {
    background: var(--teal-700);
    border-color: var(--teal-700);
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   14. СЕРТИФИКАТЫ (ЗАКОММЕНТИРОВАН)
   ============================================================ */
/*
.block-certificates {
    padding: 64px 0;
}
.certificates-placeholder {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
}
.certificates-placeholder img {
    width: 80px;
    margin: 0 auto 16px;
    opacity: .4;
}
.certificates-placeholder p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}
*/

/* ============================================================
   ВОПРОСЫ-ОТВЕТЫ (FAQ)
   ============================================================ */
.block-faq {
    padding: 64px 0;
    background: var(--surface-soft);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start; /* ← КЛЮЧЕВОЕ: блоки не растягиваются */
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .2s;
    align-self: start; /* ← дополнительная страховка */
}

.faq-item[open] {
    border-color: var(--teal-300);
}

.faq-item summary {
    padding: 16px 18px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* убирает серый фон на тап */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--teal-700);
    transition: transform .2s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item .faq-answer {
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    display: block;
}

/* ---- АДАПТИВ FAQ ---- */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr; /* на мобилке одна колонка */
        gap: 12px;
    }

    .faq-item summary {
        padding: 14px 16px;
        font-size: 14px; /* чуть крупнее для пальцев */
        min-height: 54px; /* удобнее для тапа */
    }

    .faq-item .faq-answer {
        padding: 0 16px 14px;
        font-size: 14px;
    }

    .faq-item summary::after {
        font-size: 24px; /* чуть больше крестик/плюс для тапа */
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .faq-item summary {
        font-size: 13px;
        padding: 12px 14px;
        min-height: 48px;
    }

    .faq-item .faq-answer {
        font-size: 13px;
        padding: 0 14px 12px;
    }
}

/* ============================================================
   16. КОНТАКТЫ
   ============================================================ */
.block-contacts {
    padding: 64px 0;
}

.contacts-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.contacts-panel__lead {
    padding: 32px 40px;
    background: var(--teal-700);
    color: #fff;
}
.contacts-panel__lead .badge {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}
.contacts-panel__lead h2 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.03em;
    margin: 8px 0;
}
.contacts-panel__lead p {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    margin-bottom: 16px;
}

.contacts-panel__methods {
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    text-decoration: none;
    color: inherit;
    transition: transform .2s;
}
.contact-method:hover {
    transform: translateX(4px);
}

.contact-method__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    font-size: 20px;
    flex-shrink: 0;
    background: #fff;
    transition: border-color .2s, background .2s, color .2s;
}
.contact-method:hover .contact-method__icon {
    border-color: var(--teal-300);
    background: var(--teal-50);
}
.contact-method__icon--telegram {
    color: #249bd7;
}
.contact-method__icon--max {
    color: #6e1aff;
}
.contact-method__icon--whatsapp {
    color: #128c4a;
}

.contact-method__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.contact-method__text strong {
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    display: block;
}
.contact-method__text span {
    font-size: 10px;
    color: var(--muted);
    display: block;
}

/* ============================================================
   17. ФОРМА
   ============================================================ */
.block-form {
    padding: 64px 0;
    background: var(--surface-soft);
}
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.form-wrapper .section-head {
    margin-bottom: 24px;
}

.js-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-input {
    width: 100%;
    padding: 0 14px;
    height: 50px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: border-color .2s;
}
.form-input:focus {
    border-color: var(--teal-500);
}
.form-input select {
    appearance: none;
}
.term_user {
    font-size: 11px;
    color: var(--muted);
}
.term_user a {
    color: var(--teal-700);
    text-decoration: underline;
}
.form-submit {
    width: 100%;
}

/* ============================================================
   18. ПОДВАЛ (FOOTER)
   ============================================================ */
.footer {
    background: #0d1f1e;
    color: rgba(255, 255, 255, .7);
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer__brand .logo__icon {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.footer__brand .logo__text strong {
    color: #fff;
}
.footer__brand .logo__text small {
    color: rgba(255, 255, 255, .5);
}
.footer__brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    max-width: 280px;
    margin-top: 12px;
}

.footer__col h4 {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer__col ul a:hover {
    color: #2dd4bf;
}
.footer__col ul a i {
    font-size: 10px;
    color: var(--teal-500);
}

.footer__contacts p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
}
.footer__contacts p i {
    font-size: 16px;
    color: var(--teal-400);
    margin-top: 2px;
    flex-shrink: 0;
}
.footer__contacts strong {
    color: #fff;
    display: block;
}
.footer__contacts small {
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
    display: block;
}

.footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    transition: opacity .2s;
}
.footer__socials a:hover {
    opacity: .8;
}
.footer__socials .social-tg {
    background: #249bd7;
}
.footer__socials .social-max {
    background: linear-gradient(135deg, #471aff, #9500ff);
}
.footer__socials .social-wa {
    background: #128c4a;
}

.footer__docs {
    margin: 16px 0 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__docs p {
    margin-bottom: 4px;
}
.footer__docs a {
    color: #999999;
    text-decoration: underline;
    font-size: 8pt;
    transition: color 0.2s;
}
.footer__docs a:hover {
    color: #ffffff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
}
.footer__bottom a {
    color: rgba(255, 255, 255, .6);
}
.footer__bottom a:hover {
    color: #2dd4bf;
}

/* ============================================================
   19. ПЛАВАЮЩАЯ КНОПКА
   ============================================================ */
.floating-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.floating-chat__menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 60px;
    padding: 8px 16px;
    display: flex;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.floating-chat__menu a {
    color: var(--ink-soft);
    font-size: 20px;
    transition: color .2s;
}
.floating-chat__menu a:hover {
    color: var(--teal-700);
}

/* ============================================================
   20. СТРАНИЦЫ УСЛУГ (SERVICE PAGES)
   ============================================================ */
.service-hero {
    padding: 40px 0 0;
    background: var(--surface-soft);
    min-height: 400px;
}
.service-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 40px;
}
.service-hero__content h1 {
    font-size: clamp(2.2rem, 3.2vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 12px 0 16px;
}
.service-hero__content h1 span {
    color: var(--teal-700);
    display: block;
}
.service-hero__lead {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 28px;
}
.service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.service-hero__stats {
    display: flex;
    gap: 40px;
}
.service-hero__stats .stat-item {
    text-align: center;
}
.service-hero__stats .stat-item strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--teal-700);
    line-height: 1;
}
.service-hero__stats .stat-item span {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.3;
}
.service-hero__image {
    border-radius: var(--radius);
    background: var(--teal-50);
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid var(--line);
}
.service-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-symptoms {
    padding: 64px 0;
}
.symptoms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto 32px;
}
.symptom-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .2s;
}
.symptom-item:hover {
    border-color: var(--teal-300);
}
.symptom-item i {
    color: var(--teal-700);
    font-size: 18px;
    flex-shrink: 0;
}
.symptom-item span {
    font-size: 14px;
    color: var(--ink-soft);
}
.symptoms-cta {
    text-align: center;
    padding: 24px;
    background: var(--teal-50);
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
}
.symptoms-cta p {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}

.service-approach {
    padding: 64px 0;
    background: var(--surface-soft);
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.approach-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.approach-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 8px 24px rgba(15, 107, 99, .06);
}
.approach-card i {
    font-size: 2.2rem;
    color: var(--teal-700);
    margin-bottom: 12px;
    display: block;
}
.approach-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.approach-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.service-steps {
    padding: 64px 0;
}
.steps-timeline {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-left: 3px solid var(--teal-300);
    padding-left: 32px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 44px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal-700);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--teal-300);
}
.timeline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-700);
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.timeline-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-prices {
    padding: 64px 0;
    background: var(--surface-soft);
}
.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
}
.price-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 8px 24px rgba(15, 107, 99, .08);
}
.price-card--popular {
    border-color: var(--teal-700);
    border-width: 2px;
}
.price-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 16px;
    border-radius: 20px;
    background: var(--teal-700);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.price-card__header {
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.price-card__header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.price-card__header .price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--teal-700);
    line-height: 1;
}
.price-duration {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}
.price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.price-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-soft);
}
.price-card__features li i {
    color: var(--teal-700);
    font-size: 14px;
    flex-shrink: 0;
}
.price-card__btn {
    width: 100%;
    justify-content: center;
}
.prices-note {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 20px;
}

.service-faq {
    padding: 64px 0;
}
.service-faq .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================================
   21. АДАПТИВНОСТЬ (ОБЩАЯ)
   ============================================================ */
@media (max-width: 1024px) {
    .help-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .offers-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .contacts-panel {
        grid-template-columns: 1fr;
    }
    .contacts-panel__methods {
        grid-template-columns: 1fr 1fr;
    }
    .block-hero .container,
    .block-why .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero__trust {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .reviews-slider .review-card {
        flex: 0 0 calc(50% - 10px);
    }
    .service-hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .approach-grid {
        grid-template-columns: 1fr 1fr;
    }
    .prices-grid {
        grid-template-columns: 1fr 1fr;
    }
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    .service-hero__stats {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px 24px 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
        gap: 4px;
        z-index: 99;
    }
    .nav.is-open {
        display: flex;
    }
    .nav a {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
    }
    .nav a:last-child {
        border-bottom: none;
    }
    .nav-dropdown {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--line);
    }
    .nav-dropdown__toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        font-size: 15px;
    }
    .nav-dropdown__toggle::after {
        display: none;
    }
    .nav-dropdown__menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--line);
        border-radius: 0;
        padding: 4px 0 8px 16px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        background: transparent;
        width: 100%;
        min-width: auto;
        transition: none;
    }
    .nav-dropdown__menu::before {
        display: none;
    }
    .nav-dropdown__menu.is-open {
        display: block;
        transform: none;
    }
    .nav-dropdown__menu a {
        padding: 10px 0;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid var(--line);
    }
    .nav-dropdown__menu a:last-child {
        border-bottom: none;
    }
    .nav-dropdown__menu a i {
        width: 24px;
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
    }
    .header__phone span {
        display: none;
    }
    .header__actions {
        gap: 10px;
    }
    .header__actions .btn {
        padding: 10px 16px;
        font-size: 10px;
        min-height: 38px;
    }

    .help-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .offers-grid {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contacts-panel__methods {
        grid-template-columns: 1fr;
    }
    .contacts-panel__lead {
        padding: 24px;
    }
    .contacts-panel__methods {
        padding: 16px 20px;
    }
    .contact-method__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 16px;
    }
    .contact-method__text strong {
        font-size: 12px;
    }

    .hero__trust {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .trust-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 8px 0;
    }
    .trust-item:last-child {
        border-bottom: 0;
    }
    .service-card {
        grid-template-columns: 120px 1fr;
        min-height: 140px;
    }
    .service-card__img {
        min-height: 140px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    .floating-chat__menu {
        padding: 6px 12px;
        gap: 10px;
    }
    .floating-chat__menu a {
        font-size: 16px;
    }
    .reviews-slider .review-card {
        flex: 0 0 100%;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }
    .prices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .timeline-item {
        padding-left: 20px;
        gap: 16px;
    }
    .timeline-number {
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .service-hero__stats {
        gap: 16px;
        flex-wrap: wrap;
    }
    .service-hero__stats .stat-item {
        flex: 1;
        min-width: 80px;
    }
    .service-hero__stats .stat-item strong {
        font-size: 22px;
    }
    .price-card__header .price {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero__content h1 {
        font-size: 1.8rem;
    }
    .hero__actions {
        flex-direction: column;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    .service-card {
        grid-template-columns: 100px 1fr;
    }
    .service-card__img {
        min-height: 120px;
    }
    .service-card__body {
        padding: 12px;
    }
    .service-hero__actions .btn,
    .symptoms-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .header__phone {
        font-size: 12px;
    }
    .header__actions .btn {
        padding: 8px 12px;
        font-size: 9px;
        min-height: 34px;
    }
}


/* ============================================================
   ПРОСТЫЕ СТРАНИЦЫ (PAGE TEMPLATE)
   ============================================================ */

/* ---- ЗАГОЛОВОК СТРАНИЦЫ ---- */
.page-header {
    padding: 40px 0 24px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
}

.page-header__content {
    max-width: 800px;
}

.page-header__content h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.03em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--ink);
}

.page-header__subtitle {
    font-size: 16px;
    color: var(--muted);
    max-width: 640px;
}

/* ---- ОСНОВНОЕ СОДЕРЖАНИЕ ---- */
.page-content {
    padding: 40px 0 64px;
}

.page-content__body {
    max-width: 820px;
}

.page-content__body h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 32px 0 12px;
    color: var(--ink);
}

.page-content__body h2:first-child {
    margin-top: 0;
}

.page-content__body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 28px 0 10px;
    color: var(--ink-soft);
}

.page-content__body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.page-content__body a {
    color: var(--teal-700);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}

.page-content__body a:hover {
    color: var(--teal-600);
}

.page-content__body ul,
.page-content__body ol {
    padding-left: 24px;
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
}

.page-content__body ul li,
.page-content__body ol li {
    margin-bottom: 6px;
}

.page-content__body ul {
    list-style: disc;
}

.page-content__body ol {
    list-style: decimal;
}

.page-content__body blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 4px solid var(--teal-700);
    background: var(--teal-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 16px;
    font-style: italic;
    color: var(--ink-soft);
}

.page-content__body blockquote p {
    margin-bottom: 0;
}

.page-content__body img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    border: 1px solid var(--line);
}

/* ---- АДАПТИВ ---- */
@media (max-width: 768px) {
    .page-header {
        padding: 28px 0 16px;
    }
    .page-content {
        padding: 24px 0 40px;
    }
    .page-content__body h2 {
        font-size: 1.4rem;
    }
    .page-content__body h3 {
        font-size: 1.1rem;
    }
    .page-content__body p,
    .page-content__body ul,
    .page-content__body ol {
        font-size: 14px;
    }
    .page-content__body blockquote {
        padding: 12px 16px;
        font-size: 14px;
    }
}