/* ===========================
   Базовые переменные и сброс
   =========================== */
:root {
    --c-primary: #1e40af;
    --c-primary-dark: #1e3a8a;
    --c-accent: #3b82f6;
    --c-accent-hover: #2563eb;
    --c-bg: #ffffff;
    --c-bg-soft: #f0f4f8;
    --c-text: #1f2937;
    --c-muted: #3f0aef;
    --c-border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --container: 1200px;
    --transition: 0.25s ease;
    
    /* Прозрачные блоки */
    --glass-bg: rgba(255, 255, 255, 0.68);
    --glass-border: rgba(255, 255, 255, 0.62);
    --glass-blur: blur(3px) saturate(1.08);
    --glass-shine: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 50%, rgba(255,255,255,0.08) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--c-text);
    background: transparent;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-dark); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Кнопки
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}
.btn--primary {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}
.btn--primary:hover {
    background: var(--c-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}
.btn--ghost {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--full { width: 100%; }
.btn--whatsapp {
    display: block;
    margin: 18px 0 8px;
    background: #187c4b;
    border-color: #187c4b;
    color: #fff;
}
.btn--whatsapp:hover { background:#12643c; border-color:#12643c; color:#fff; }
.btn--whatsapp[hidden] { display:none; }

/* ===========================
   Header — сплошной сероватый фон
   =========================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(245, 247, 250, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    z-index: 100;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--c-primary); }
.logo__shield { font-size: 26px; }

.nav { display: flex; gap: 24px; }
.nav a { color: var(--c-text); font-weight: 500; }
.nav a:hover { color: var(--c-primary); }

.header__contacts { text-align: right; }
.phone { display: block; font-weight: 700; font-size: 18px; color: var(--c-text); }
.work-hours { font-size: 13px; color: var(--c-muted); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    width: 26px; height: 3px;
    background: var(--c-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   Section titles
   =========================== */
section { padding: 80px 0; }
.section-title {
    font-size: clamp(26px, 3vw, 38px);
    text-align: center;
    margin: 0 0 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--c-muted);
    margin: 0 0 48px;
    font-size: 17px;
}

/* ===========================
   Блок 1: Contact — ПРОЗРАЧНЫЙ (видно слайд-шоу)
   =========================== */
.contact {
    background: transparent;
    padding: 40px 0;
}

.contact .section-title,
.contact .section-subtitle,
.contact .carousel__title {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

.contact__top {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.contact__form-wrap,
.contact__info {
    display: flex;
}

.callback-button {
    align-self: center;
    min-width: min(100%, 360px);
    margin: 4px 0 12px;
    animation: callbackPulse 2s ease-in-out infinite;
}

@keyframes callbackPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35); }
    50% { transform: scale(1.035); box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
}

/* Карточка формы */
.form {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.form > * {
    position: relative;
    z-index: 1;
}

.form__title {
    font-size: 20px;
    margin: 0 0 4px;
    color: var(--c-text);
}

.form__subtitle {
    color: var(--c-muted);
    margin: 0 0 14px;
    font-size: 12px;
}

.form__group {
    margin-bottom: 10px;
}

.form__label {
    display: block;
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 12px;
    color: var(--c-text);
}

.form__input,
.form__select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.form__input:focus,
.form__select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.form__note {
    display: block;
    margin-top: 8px;
    color: var(--c-muted);
    font-size: 10px;
    text-align: center;
    line-height: 1.4;
}

.form .btn--full {
    margin-top: 4px;
    padding: 10px 20px;
    font-size: 14px;
}

/* Карточка с информацией */
.contact__info {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact__info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.contact__info > * {
    position: relative;
    z-index: 1;
}

.contact__info-title {
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--c-text);
    line-height: 1.2;
}

.contact__info-subtitle {
    font-size: 14px;
    color: var(--c-muted);
    margin: 0 0 16px;
}

.contact__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.contact__benefits li {
    padding: 5px 0;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--c-border);
}

.contact__benefits li:last-child {
    border-bottom: none;
}

.contact__phones {
    margin-top: 10px;
}

.contact__phones > p {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--c-muted);
}

.contact__phone {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
    margin: 4px 0;
    transition: color var(--transition);
}

.contact__phone:hover {
    color: var(--c-primary-dark);
}

.contact__hours {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--c-muted);
}

.contact__carousel-section {
    width: 100%;
    margin-bottom: 30px; 
}

.carousel__title {
    text-align: center;
    font-size: 20px;
    margin: 0 0 16px;
    color: var(--c-text);
}

.carousel {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
}

.carousel__viewport {
    overflow: hidden;
    border-radius: var(--radius);
    height: 100%;
}

.carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
}

.promo-card {
    position: relative;
    height: 100%;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promo-card--blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
}
.promo-card--cyan {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
}
.promo-card--navy {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}
.promo-card--sky {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #7dd3fc 100%);
}

.promo-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255,255,255,0.3);
}

.promo-card__badge--hot { background: rgba(220, 38, 38, 0.9); }
.promo-card__badge--gift { background: rgba(124, 58, 237, 0.9); }

.promo-card__content {
    position: relative;
    z-index: 1;
}

.promo-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.promo-card p {
    margin: 0 0 12px;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.4;
}

.promo-card__price {
    font-size: 17px;
    font-weight: 500;
}

.promo-card__price b {
    font-size: 26px;
    font-weight: 800;
    margin-left: 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--c-primary);
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.carousel__btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.carousel__dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ===========================
   Блок 2: Features — СПЛОШНОЙ СЕРЫЙ ФОН
   =========================== */
.features { 
    background: #f0f4f8;
    padding: 40px 0;
}

.features .section-title,
.features .section-subtitle {
    text-shadow: none;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Карточки преимуществ */
.feature {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    text-align: center;
    border: 1px solid var(--c-border);
}

.feature:hover {
    transform: translateY(-3px);
}

.feature__icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.feature p {
    margin: 0;
    color: var(--c-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* ===========================
   Блок 3: Services — ПРОЗРАЧНЫЙ (видно слайд-шоу)
   =========================== */
.services { 
    background: transparent;
    padding: 40px 0;
}

.services .section-title,
.services .section-subtitle {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

.services__icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Иконки услуг */
.service-icon {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.service-icon > * {
    position: relative;
    z-index: 1;
}

.service-icon:hover {
    border-color: var(--c-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
}

.service-icon__emoji {
    font-size: 48px;
    display: block;
}

.service-icon__label {
    font-weight: 600;
    font-size: 15px;
    color: var(--c-text);
}

/* Анимация иконок */
.service-icon__emoji { transform-origin: 50% 75%; will-change: transform; }
.anim-bounce { animation: iconBounce 2.4s ease-in-out infinite; }
.anim-scuttle { animation: iconScuttle 2.1s ease-in-out infinite; }
.anim-crawl { animation: iconCrawl 3s ease-in-out infinite; }
.anim-pulse { animation: iconPulse 2.6s ease-in-out infinite; }
.anim-spin-soft { animation: iconSpinSoft 5s linear infinite; }
.anim-dash { animation: iconDash 2.8s ease-in-out infinite; }
.anim-march { animation: iconMarch 2.4s steps(4) infinite; }
.anim-hop { animation: iconHop 1.9s ease-in-out infinite; }
.anim-fly { animation: iconFly 2.3s ease-in-out infinite; }
.anim-shiver { animation: iconShiver 2.6s ease-in-out infinite; }
.anim-wiggle { animation: iconWiggle 2.2s ease-in-out infinite; }
.anim-rock { animation: iconRock 2.7s ease-in-out infinite; }
.anim-drill { animation: iconDrill 1.8s ease-in-out infinite; }
.anim-orbit { animation: iconOrbit 3.4s ease-in-out infinite; }
.anim-peek { animation: iconPeek 3s ease-in-out infinite; }
.anim-sway { animation: iconSway 2.8s ease-in-out infinite; }
.anim-gear { animation: iconGear 6s linear infinite; }

@keyframes iconBounce { 0%,100%{transform:translateY(0)} 45%{transform:translateY(-8px)} 60%{transform:translateY(-2px)} }
@keyframes iconScuttle { 0%,100%{transform:translateX(-5px) rotate(-3deg)} 50%{transform:translateX(5px) rotate(3deg)} }
@keyframes iconCrawl { 0%,100%{transform:translate(-3px,2px)} 50%{transform:translate(4px,-4px)} }
@keyframes iconPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.13)} }
@keyframes iconSpinSoft { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes iconDash { 0%,100%{transform:translateX(-7px)} 50%{transform:translateX(7px)} }
@keyframes iconMarch { 0%{transform:translateX(-6px)} 100%{transform:translateX(6px)} }
@keyframes iconHop { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-9px) rotate(8deg)} }
@keyframes iconFly { 0%,100%{transform:translate(-4px,2px) rotate(-5deg)} 50%{transform:translate(5px,-7px) rotate(6deg)} }
@keyframes iconShiver { 0%,88%,100%{transform:translateX(0)} 91%{transform:translateX(-3px)} 94%{transform:translateX(3px)} 97%{transform:translateX(-2px)} }
@keyframes iconWiggle { 0%,100%{transform:rotate(-7deg)} 50%{transform:rotate(7deg)} }
@keyframes iconRock { 0%,100%{transform:rotate(-4deg)} 50%{transform:rotate(4deg) translateY(-3px)} }
@keyframes iconDrill { 0%,100%{transform:translateY(0) rotate(-5deg)} 50%{transform:translateY(4px) rotate(5deg)} }
@keyframes iconOrbit { 0%,100%{transform:translate(-5px,3px)} 25%{transform:translate(3px,-5px)} 50%{transform:translate(6px,2px)} 75%{transform:translate(-2px,-6px)} }
@keyframes iconPeek { 0%,100%{transform:translateY(5px) scale(.92)} 45%,65%{transform:translateY(-5px) scale(1)} }
@keyframes iconSway { 0%,100%{transform:rotate(-7deg)} 50%{transform:rotate(7deg)} }
@keyframes iconGear { from{transform:rotate(0)} to{transform:rotate(360deg)} }

/* Блок самостоятельной обработки */
.diy-kit {
    background: rgba(219, 234, 254, 0.5);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.diy-kit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.diy-kit > * {
    position: relative;
    z-index: 1;
}

.diy-kit h3 { margin: 0 0 8px; }

/* ===========================
   Подготовка к обработке
   =========================== */
.preparation {
    padding: 64px 0;
    background: #fff;
}
.preparation__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.preparation__warning {
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 16px 22px;
    border: 1px solid rgba(217, 158, 0, 0.75);
    border-radius: 8px;
    background: #fffbeb;
    color: #8a5a00;
    text-align: center;
    font-size: 18px;
    font-weight: 750;
    animation: warningPulse 3s ease-in-out infinite;
}
@keyframes warningPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(245, 183, 0, 0);
    }
    50% {
        box-shadow: 0 0 14px rgba(245, 183, 0, 0.28);
    }
}
.preparation__heading {
    margin: 0 0 24px;
    color: var(--c-text);
    text-align: center;
    font-size: 24px;
}
.preparation-step {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 18px;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #eff6ff);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.preparation-step__number {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-weight: 800;
}
.preparation-step__icon {
    display: block;
    font-size: 46px;
    animation: preparationFloat 2.8s ease-in-out infinite;
}
.preparation-step:nth-child(2) .preparation-step__icon { animation-delay: -.7s; }
.preparation-step:nth-child(3) .preparation-step__icon { animation-delay: -1.4s; }
.preparation-step:nth-child(4) .preparation-step__icon { animation-delay: -2.1s; }
.preparation-step h3 { margin: 0; font-size: 18px; }
.preparation-step p { margin: 0; text-align: center; color: var(--c-muted); line-height: 1.55; }
.feature__icon--symbol { color: #17366f; font-size: 19px; font-weight: 850; }
@keyframes preparationFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

@media (prefers-reduced-motion: reduce) {
    .service-icon__emoji,
    .preparation-step__icon,
    .preparation__warning { animation: none !important; }
}

/* ===========================
   Блок 4: CTA Section — СПЛОШНОЙ СЕРЫЙ ФОН
   =========================== */
.cta-section {
    background: #f0f4f8;
    padding: 40px 0;
    color: var(--c-text);
}

.cta-section .section-title {
    color: var(--c-text);
    text-shadow: none;
}

.cta-section .section-subtitle {
    color: var(--c-muted);
    text-shadow: none;
}

.cta-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: stretch;
    gap: 28px;
    width: 100%;
}

/* Форма заявки */
.cta-form {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.cta-contacts {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
}

.cta-socials,
.cta-map {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.cta-socials {
    padding: 28px;
}

.cta-socials h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.cta-socials p {
    margin: 0 0 20px;
    color: var(--c-muted);
    font-size: 14px;
}

.cta-socials__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.cta-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px;
    border-radius: 10px;
    color: #ffffff;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta-social:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.cta-social--telegram { background: #229ed9; }
.cta-social--whatsapp { background: #25d366; }
.cta-social--max { background: #6c5ce7; }
.cta-social--vk { background: #0077ff; }

.cta-map {
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.cta-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

.cta-map__service-zone {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: clamp(170px, 48%, 230px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(23, 61, 118, 0.82);
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.16);
    box-shadow: inset 0 0 24px rgba(30, 64, 175, 0.14);
    pointer-events: none;
}

.cta-map__service-zone span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #173d76;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(23, 61, 118, 0.18);
}

.cta-map__caption {
    position: absolute;
    z-index: 3;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: var(--c-text);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}

.cta-form h3 {
    font-size: 28px;
    margin: 0 0 8px;
    color: var(--c-text);
    text-align: center;
}

.cta-form .form__subtitle {
    text-align: center;
    margin-bottom: 32px;
}

.cta-form .form__group {
    margin-bottom: 20px;
}

.cta-form .form__label {
    color: var(--c-text);
}

.cta-form .form__input,
.cta-form .form__select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: all var(--transition);
}

.cta-form .form__input:focus,
.cta-form .form__select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.cta-form .btn--full {
    margin-top: 8px;
    padding: 16px 28px;
    font-size: 17px;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}
.cta-form__status {
    min-height: 20px;
    margin: 4px 0 0;
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}
.form__consent--cta { margin:4px 0 12px; color:#43516a; }

.cta-form .form__note {
    margin-top: 16px;
}

/* ===========================
   Service Modal
   =========================== */
.service-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.service-modal[hidden] { display: none; }

.service-modal__box {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: pop 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--c-muted);
    transition: color var(--transition);
}

.service-modal__close:hover {
    color: var(--c-text);
}

.service-modal__icon {
    font-size: 64px;
    display: block;
    text-align: center;
    margin-bottom: 16px;
}

.service-modal__box h3 {
    font-size: 28px;
    margin: 0 0 12px;
    text-align: center;
}

.service-modal__box > p {
    text-align: center;
    color: var(--c-muted);
    margin: 0 0 24px;
}

.service-modal__price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.service-modal__price-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-border);
}

.service-modal__price-list li:last-child {
    border-bottom: none;
}

.service-modal__price-list b {
    color: var(--c-primary);
    font-weight: 700;
}

.service-modal__box small {
    display: block;
    color: var(--c-muted);
    font-size: 13px;
    margin-bottom: 24px;
}

.service-modal__cta {
    margin-top: 16px;
}

/* ===========================
   Footer — ПРОЗРАЧНЫЙ
   =========================== */
.footer {
    background: transparent;
    color: #fff;
    padding: 40px 0;
}
.footer a { color: #fff; }
.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.footer__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.footer__inner > * {
    position: relative;
    z-index: 1;
}

.footer p { margin: 6px 0; }

/* ===========================
   Modal
   =========================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.modal[hidden] { display: none; }
.modal__box {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 420px;
    width: 100%;
    animation: pop 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal__icon { font-size: 56px; display: block; margin-bottom: 12px; }

.modal__message {
    width: 100%;
    min-height: 118px;
    margin: 14px 0 4px;
    padding: 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--c-text);
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    resize: vertical;
}

.modal__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 14px 0 12px;
}

.modal__actions[hidden] {
    display: none;
}

.modal__actions .btn {
    padding: 10px 12px;
    font-size: 14px;
}

.modal__box > .btn[data-close],
.modal__box > #copyLeadMessageBtn {
    margin-top: 8px;
}

@keyframes pop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===========================
   Фоновое слайд-шоу — ПЛАВНЫЕ ПЕРЕХОДЫ
   =========================== */
.bg-slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: bgFade 16s infinite;
}

.bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2.4px);
    transform: scale(1.01);
}

.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 8s; }

@keyframes bgFade {
    0%   { opacity: 1; }
    48%  { opacity: 1; }
    58%  { opacity: 0; }
    90%  { opacity: 0; }
    100% { opacity: 1; }
}

/* Слой с контентом */
.header, main, .footer {
    position: relative;
    z-index: 1;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
    .contact__top {
        width: 100%;
    }

    .cta-form-wrap {
        grid-template-columns: 1fr;
    }

    .contact__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact__info-title {
        font-size: 28px;
    }
    
    .carousel {
        height: 380px;
    }
    
    .promo-card h3 {
        font-size: 26px;
    }
    
    .promo-card__price b {
        font-size: 32px;
    }
    
    .features__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .preparation__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .nav, .header__contacts { display: none; }
    .burger { display: flex; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(245, 247, 250, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    section { padding: 56px 0; }
    .services__icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    .service-icon { padding: 24px 12px; }
    .service-icon__emoji { font-size: 36px; }
    .service-icon__label { font-size: 13px; }

    /* Мобильная версия */
    .container { padding-inline: 16px; }
    .header__inner { min-height: 72px; padding: 12px 16px; }
    .logo { font-size: 18px; }

    .bg-slideshow {
        width: 100vw;
        height: 100dvh;
        transform: translateZ(0);
        background: #dbeafe;
    }
    .bg-slide img {
        object-position: center center;
        filter: blur(1.5px) saturate(.9);
        transform: scale(1.04);
    }
    .bg-slideshow::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(239,246,255,.2), rgba(219,234,254,.38));
    }

    .contact,
    .services,
    .footer { background: rgba(239, 246, 255, .22); }

    .contact { padding: 32px 0; }
    .section-title { font-size: clamp(27px, 8vw, 34px); line-height: 1.18; }
    .section-subtitle { margin-bottom: 30px; font-size: 16px; line-height: 1.45; }

    .carousel { height: 330px; border-radius: 20px; }
    .carousel__viewport { border-radius: 20px; }
    .promo-card { padding: 72px 64px 64px; justify-content: flex-end; }
    .promo-card h3 { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
    .carousel__btn { width: 44px; height: 44px; }

    .contact__top { margin-bottom: 0; }
    .contact__info { padding: 24px 20px; border-radius: 18px; }
    .contact__info-title { font-size: 28px; }
    .contact__benefits li { font-size: 15px; font-weight: 500; }

    .features { padding: 48px 0; }
    .features__grid { gap: 14px; }
    .feature { padding: 26px 20px; border-radius: 18px; }
    .feature h3 { font-size: 18px; }
    .feature p { font-size: 15px; }

    .services { padding: 48px 0; }
    .services__icons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }
    .service-icon { min-height: 150px; padding: 22px 8px; border-radius: 18px; }
    .service-icon__emoji { font-size: 40px; }
    .service-icon__label { font-size: 15px; overflow-wrap: anywhere; }
    .diy-kit { padding: 24px 18px; border-radius: 18px; }
    .preparation { padding: 48px 0; }
    .preparation__grid { gap: 12px; }
    .preparation-step { min-height: 150px; padding: 24px 10px; }

    .cta-section { padding: 48px 0; }
    .cta-form-wrap { gap: 18px; }
    .cta-form { padding: 28px 20px; border-radius: 18px; }
    .cta-contacts { gap: 18px; }
    .cta-socials { padding: 24px 20px; border-radius: 18px; }
    .cta-socials h3 { font-size: 25px; }
    .cta-socials p { font-size: 15px; }
    .cta-socials__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cta-social { min-width: 0; padding: 10px 8px; font-size: 14px; }
    .cta-social strong { min-width: 0; overflow-wrap: anywhere; }
    .cta-map, .cta-map iframe { min-height: 240px; }

    .footer { padding: 24px 0 max(24px, env(safe-area-inset-bottom)); }
    .footer__inner {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 24px 20px;
        border-radius: 18px;
        background: rgba(17, 24, 39, .88);
    }
    .footer__inner h3 { margin: 0 0 8px; }
    .footer__inner a { overflow-wrap: anywhere; }
    .footer__inner > div:last-child {
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,.15);
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contact { padding: 28px 0 40px; }
    .form { padding: 28px 20px; }
    .form__title { font-size: 24px; }
    .cta-socials__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modal__actions { grid-template-columns: 1fr; }
    .promo-card { height: 310px; padding: 70px 60px 58px; }
    .promo-card h3 { font-size: 20px; }
    .promo-card p { font-size: 15px; }
    .promo-card__price { font-size: 18px; }
    .promo-card__price b { font-size: 26px; }
    .carousel__btn { width: 40px; height: 40px; font-size: 18px; }
    .carousel__btn--prev { left: 10px; }
    .carousel__btn--next { right: 10px; }
    .cta-form { padding: 28px 20px; }
    .cta-form h3 { font-size: 24px; }
    .service-modal__box { padding: 28px 20px; }
    .service-modal__icon { font-size: 48px; }
    .service-modal__box h3 { font-size: 22px; }
}

/* ===========================
   Модальное окно обратного звонка
   =========================== */
.callback-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.callback-modal[hidden] {
    display: none;
}

.callback-modal__box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    position: relative;
    animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.callback-modal__box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-shine);
    pointer-events: none;
    opacity: 0.6;
}

.callback-modal__box > * {
    position: relative;
    z-index: 1;
}

.callback-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--c-text);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.callback-modal__close:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: rotate(90deg);
}

.callback-modal__icon {
    font-size: 56px;
    display: block;
    text-align: center;
    margin-bottom: 12px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.callback-modal__title {
    font-size: 26px;
    margin: 0 0 10px;
    text-align: center;
    color: var(--c-text);
    font-weight: 800;
}

.callback-modal__subtitle {
    text-align: center;
    color: var(--c-muted);
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.5;
}

.callback-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.callback-modal__form .form__group {
    margin-bottom: 0;
}

.callback-modal__form .form__input {
    padding: 13px 16px;
    font-size: 15px;
}

.callback-modal__form .btn--full {
    margin-top: 4px;
    padding: 14px 24px;
    font-size: 16px;
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--c-text);
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.form__consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--c-accent);
}

.form__consent input.invalid {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.callback-modal__status {
    min-height: 18px;
    margin: 0;
    color: var(--c-primary);
    font-size: 12px;
    text-align: center;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Адаптив */
@media (max-width: 480px) {
    .callback-modal__box {
        padding: 32px 24px;
    }
    .callback-modal__title {
        font-size: 22px;
    }
    .callback-modal__subtitle {
        font-size: 14px;
    }
}

/* ==========================================================
   Общие стили
   ========================================================== */
:root {
    --c-primary: #173c9f;
    --c-primary-dark: #102a73;
    --c-accent: #3978f6;
    --c-accent-hover: #245fd5;
    --c-text: #15213a;
    --c-muted: #4b3aa7;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(30, 64, 175, .11), 0 2px 8px rgba(15, 23, 42, .05);
    --glass-bg: rgba(255, 255, 255, .72);
    --glass-border: rgba(255, 255, 255, .82);
    --glass-blur: blur(18px) saturate(1.25);
}

body {
    letter-spacing: -.012em;
    background: #eaf2ff;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(245,249,255,.48), rgba(219,234,254,.38)),
        url('../img/premium-bg.png') center/cover no-repeat;
}

.bg-slideshow { opacity: .18; mix-blend-mode: soft-light; }
.bg-slide img { filter: blur(5px) saturate(.65); transform: scale(1.08); }

.header {
    background: rgba(248, 251, 255, .76);
    border-bottom: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 8px 32px rgba(23,60,159,.07);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
.header__inner { min-height: 82px; }
.logo { font-size: 22px; letter-spacing: -.03em; }
.logo__shield { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:linear-gradient(145deg,#fff,#dbeafe); box-shadow:0 8px 18px rgba(30,64,175,.16); }
.nav { padding: 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.5); }
.nav a { padding: 7px 14px; border-radius:999px; }
.nav a:hover { background:#fff; box-shadow:0 5px 14px rgba(30,64,175,.1); }

.section-title { font-weight: 850; letter-spacing: -.045em; line-height: 1.08; }
.section-subtitle { letter-spacing: -.01em; }

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(37,99,235,.18);
}
.btn::after {
    content:'';
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.34) 45%,transparent 70%);
    transform:translateX(-130%);
    transition:transform .7s ease;
}
.btn:hover::after { transform:translateX(130%); }
.btn--primary { background:linear-gradient(135deg,#245fd5,#4c8cff); border-color:rgba(255,255,255,.2); }

.contact { padding: 64px 0; }
.carousel {
    height: 390px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(18,58,150,.24);
}
.promo-card { padding: 46px 72px; }
.promo-card::after { content:''; position:absolute; width:240px; height:240px; right:8%; top:15%; border:1px solid rgba(255,255,255,.28); border-radius:50%; box-shadow:0 0 0 35px rgba(255,255,255,.05),0 0 0 72px rgba(255,255,255,.035); animation:promoOrb 7s ease-in-out infinite; }
@keyframes promoOrb { 50% { transform:translateY(-16px) scale(1.05); } }
.promo-card h3 { max-width:720px; font-size:clamp(28px,4vw,48px); letter-spacing:-.04em; }
.promo-card__badge { top:26px; left:30px; padding:8px 16px; background:rgba(255,255,255,.18); }
.carousel__btn { width:48px; height:48px; backdrop-filter:blur(12px); }

.contact__info,
.feature,
.service-icon,
.diy-kit,
.cta-form,
.cta-socials,
.cta-map,
.preparation-step {
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: var(--shadow);
}
.contact__info { max-width:780px; margin:auto; padding:38px 44px; border-radius:28px; }
.contact__info-title { font-size:32px; letter-spacing:-.035em; }
.contact__benefits { counter-reset:benefit; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 22px; }
.contact__benefits li {
    counter-increment:benefit;
    position:relative;
    display:flex;
    align-items:center;
    min-height:40px;
    border:0;
    padding:7px 0 7px 34px;
}
.contact__benefits li::before {
    content:counter(benefit, decimal-leading-zero);
    position:absolute;
    left:0;
    top:50%;
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    transform:translateY(-50%);
    border:1px solid rgba(30,64,175,.28);
    border-radius:7px;
    background:linear-gradient(145deg,#f8fbff,#dce9fb);
    color:#173d76;
    font-size:9px;
    font-weight:850;
    letter-spacing:.04em;
    box-shadow:0 4px 10px rgba(23,61,118,.1);
}

.features { position:relative; background:rgba(245,249,255,.82); backdrop-filter:blur(18px); padding:78px 0; }
.features__grid { gap:24px; }
.feature { position:relative; padding:38px 28px; border-radius:26px; overflow:hidden; }
.feature::after { content:''; position:absolute; inset:auto -30px -50px auto; width:130px; height:130px; border-radius:50%; background:radial-gradient(circle,rgba(59,130,246,.13),transparent 70%); }
.feature__icon { width:68px; height:68px; display:grid; place-items:center; margin:0 auto 20px; border-radius:22px; background:linear-gradient(145deg,#fff,#dceaff); box-shadow:0 14px 30px rgba(30,64,175,.14); animation:featureHover 3.5s ease-in-out infinite; }
.feature:nth-child(2) .feature__icon { animation-delay:-1.1s; }
.feature:nth-child(3) .feature__icon { animation-delay:-2.2s; }
@keyframes featureHover { 50%{transform:translateY(-7px) rotate(2deg)} }
.feature h3 { font-size:19px; }

.services { padding:80px 0; }
.services__icons-grid { max-width:1100px; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.service-icon {
    min-height:205px;
    justify-content:center;
    padding:28px 18px;
    border-radius:26px;
    background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(235,244,255,.64));
    box-shadow:0 16px 38px rgba(30,64,175,.09);
}
.service-icon::before { opacity:.85; background:linear-gradient(135deg,rgba(255,255,255,.72),transparent 55%); }
.service-icon::after { content:''; position:absolute; width:90px; height:90px; top:25px; border-radius:28px; background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(205,225,255,.75)); box-shadow:inset 0 1px 0 #fff,0 14px 25px rgba(30,64,175,.12); transition:.35s ease; }
.service-icon:hover { transform:translateY(-8px); border-color:rgba(59,130,246,.45); box-shadow:0 25px 55px rgba(30,64,175,.17); }
.service-icon:hover::after { transform:scale(1.06) rotate(4deg); }
.service-icon__emoji { z-index:2; width:58px; height:58px; margin-bottom:24px; overflow:visible; filter:drop-shadow(0 6px 7px rgba(23,60,159,.15)); }
.service-modal__icon { width:92px; height:92px; display:grid; place-items:center; margin:0 auto 18px; border-radius:28px; background:linear-gradient(145deg,#fff,#dbeafe); box-shadow:0 16px 34px rgba(30,64,175,.16); }
.service-modal__art { width:68px; height:68px; overflow:visible; }
.service-icon__label { font-size:16px; line-height:1.28; }

.preparation { background:rgba(248,251,255,.88); padding:80px 0; }
.preparation-step { background:rgba(255,255,255,.78); min-height:220px; }
.preparation-step__number { box-shadow:0 8px 18px rgba(23,60,159,.22); }
.preparation-step__icon { width:84px; height:84px; display:grid; place-items:center; border-radius:28px; background:linear-gradient(145deg,#fff,#dbeafe); box-shadow:0 16px 35px rgba(30,64,175,.13); }

.cta-section { position:relative; background:linear-gradient(145deg,rgba(16,42,115,.96),rgba(37,99,235,.9)); color:#fff; padding:82px 0; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; opacity:.16; background:url('../img/premium-bg.png') center/cover; mix-blend-mode:screen; }
.cta-section .container { position:relative; }
.cta-section .section-title,
.cta-section .section-subtitle { color:#fff; }
.cta-form-wrap { gap:24px; }
.cta-form,.cta-socials,.cta-map { border-radius:26px; }
.cta-form { padding:48px; }
.cta-form .form__input,.cta-form .form__select { min-height:54px; border-radius:13px; background:#f8fbff; }
.cta-social { border:1px solid rgba(255,255,255,.25); box-shadow:inset 0 1px 0 rgba(255,255,255,.25); }
.cta-map { border:5px solid rgba(255,255,255,.9); }

.footer { background:#091936; padding:44px 0; }
.footer__inner { border:0; background:linear-gradient(145deg,rgba(28,54,105,.88),rgba(12,31,70,.92)); border-radius:28px; box-shadow:0 28px 70px rgba(0,0,0,.24); }

.service-modal,.modal,.callback-modal { backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.service-modal__box,.modal__box,.callback-modal__box { border-radius:28px; border:1px solid rgba(255,255,255,.85); box-shadow:0 35px 90px rgba(8,24,58,.34); }

@media (max-width: 900px) {
    .services__icons-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .contact__benefits { grid-template-columns:1fr; }
}

@media (max-width: 768px) {
    body::before { background-position:42% center; }
    .header__inner { min-height:72px; }
    .nav.open { border-radius:0 0 24px 24px; background:rgba(248,251,255,.95); }
    .carousel { height:340px; border-radius:24px; }
    .promo-card { padding:72px 62px 58px; }
    .promo-card::after { width:150px; height:150px; right:-20px; top:30px; }
    .contact__info { padding:28px 22px; }
    .services__icons-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .service-icon { min-height:175px; padding:22px 10px; border-radius:22px; }
    .service-icon::after { width:74px; height:74px; top:22px; border-radius:23px; }
    .service-icon__emoji { width:48px; height:48px; margin-bottom:20px; }
    .cta-section { padding:56px 0; }
    .cta-form { padding:30px 20px; }
}

@media (max-width: 480px) {
    .promo-card { padding:68px 58px 55px; }
    .promo-card h3 { font-size:22px; }
    .contact__info-title { font-size:27px; }
    .service-icon { min-height:166px; }
    .service-icon__label { font-size:14px; }
    .preparation-step { min-height:160px; border-radius:20px; }
    .preparation-step__icon { width:64px; height:64px; font-size:35px; border-radius:20px; }
}

/* ==========================================================
   Основная тема
   ========================================================== */
:root {
    --c-primary: #17366f;
    --c-primary-dark: #0b234f;
    --c-accent: #2c62b7;
    --c-accent-hover: #1d4d96;
    --c-text: #152033;
    --c-muted: #46566f;
    --radius: 14px;
    --shadow: 0 12px 32px rgba(14, 35, 73, .09);
}

body { letter-spacing: 0; }
body::before {
    background:
        linear-gradient(180deg, rgba(241,246,252,.58), rgba(225,235,248,.5)),
        url('../img/premium-bg.png') center/cover no-repeat;
    filter: saturate(.78) contrast(1);
}

.bg-slideshow {
    opacity: .34;
    mix-blend-mode: normal;
}

.bg-slide img {
    filter: blur(3px) saturate(.82);
}

.header { background:rgba(248,250,253,.94); box-shadow:0 3px 16px rgba(14,35,73,.07); }
.logo__shield { border-radius:8px; box-shadow:none; border:1px solid #cad7e8; }
.nav { border-radius:8px; background:transparent; border-color:#d8e0eb; }
.nav a { border-radius:5px; }
.nav a:hover { box-shadow:none; background:#edf2f8; }

.section-title { letter-spacing:-.025em; }
.section-subtitle { color:var(--c-muted); }
.btn { border-radius:8px; box-shadow:0 8px 18px rgba(22,57,115,.16); }
.btn--primary { background:linear-gradient(180deg,#3569ba,#28579f); }
.btn:hover { transform:translateY(-1px); }

.carousel { border-radius:14px; box-shadow:0 20px 55px rgba(12,38,88,.2); }
.carousel__viewport { border-radius:14px; }
.promo-card--blue,.promo-card--cyan,.promo-card--navy,.promo-card--sky {
    background:linear-gradient(120deg,#102956 0%,#1c4c91 58%,#3774bd 100%);
}
.promo-card::after { display:none; }
.promo-card__badge { border-radius:5px; background:rgba(255,255,255,.12); }
.carousel__btn { border-radius:7px; box-shadow:0 6px 16px rgba(3,15,38,.18); }

.contact__info,.cta-form,.cta-socials,.cta-map,.service-modal__box,.modal__box,.callback-modal__box { border-radius:14px; }
.contact__info { background:rgba(255,255,255,.88); }

.features { background:#edf2f7; overflow:hidden; }
.features__grid { counter-reset:feature; }
.feature {
    counter-increment:feature;
    opacity:0;
    transform:translateY(28px);
    padding:34px 28px 30px;
    border-radius:10px;
    border:1px solid #d7e0eb;
    border-top:3px solid #234f91;
    box-shadow:0 8px 24px rgba(15,35,70,.07);
    transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .25s ease;
}
.feature:nth-child(2) { transition-delay:.12s; }
.feature:nth-child(3) { transition-delay:.24s; }
.feature.is-visible { opacity:1; transform:translateY(0); }
.feature:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(15,35,70,.11); }
.feature::before {
    content:'0' counter(feature);
    position:absolute;
    top:17px;
    right:19px;
    color:#91a3bc;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}
.feature::after { width:80px; height:80px; opacity:.45; }
.feature__icon {
    width:58px;
    height:58px;
    margin-bottom:18px;
    border-radius:8px;
    border:1px solid #c9d7e8;
    box-shadow:none;
    background:#e6eef8;
    animation:none;
    transition:transform .35s ease,background .35s ease;
}
.feature.is-visible .feature__icon { animation:strictIconIn .65s .25s both; }
.feature__art { width:44px; height:44px; display:block; overflow:visible; }
.feature:nth-child(2).is-visible .feature__icon { animation-delay:.37s; }
.feature:nth-child(3).is-visible .feature__icon { animation-delay:.49s; }
.feature:hover .feature__icon { transform:scale(1.04); background:#dbe7f5; }
@keyframes strictIconIn { from{opacity:0;transform:scale(.82)} to{opacity:1;transform:scale(1)} }

.service-icon {
    min-height:190px;
    border-radius:10px;
    background:rgba(249,251,253,.93);
    border:1px solid #d3ddea;
    box-shadow:0 8px 22px rgba(15,35,70,.065);
}
.service-icon::before { background:linear-gradient(180deg,rgba(255,255,255,.65),transparent 45%); }
.service-icon::after { border-radius:9px; background:#e6eef8; box-shadow:none; border:1px solid #cad8e9; }
.service-icon:hover { transform:translateY(-4px); border-color:#7698c6; box-shadow:0 14px 30px rgba(15,35,70,.11); }
.service-icon__emoji { animation-play-state:paused; }
.service-icon:hover .service-icon__emoji { animation-play-state:running; }

.preparation { background:#f7f9fc; }
.preparation-step { border-radius:10px; background:#fff; border-color:#d6dfeb; }
.preparation-step__number { border-radius:5px; box-shadow:none; }
.preparation-step__icon { border-radius:9px; box-shadow:none; animation:preparationStrict 3.5s ease-in-out infinite; }
@keyframes preparationStrict { 50%{transform:translateY(-4px)} }

.cta-section { background:linear-gradient(125deg,#0b234f,#173d76 62%,#225497); }
.cta-section::before { opacity:.08; filter:grayscale(1); }
.cta-social { border-radius:7px; filter:saturate(.7); }
.cta-map { border-radius:12px; border-width:3px; }
.cta-form .form__input,.cta-form .form__select { border-radius:7px; }
.footer { background:#07152e; }
.footer__inner { border-radius:10px; background:#0d2448; box-shadow:none; }

@media (max-width:768px) {
    .nav.open { border-radius:0; }
    .carousel,.carousel__viewport { border-radius:12px; }
    .service-icon { min-height:166px; border-radius:9px; }
    .contact__info,.cta-form,.cta-socials { border-radius:11px; }
}

@media (prefers-reduced-motion:reduce) {
    .feature { opacity:1; transform:none; transition:none; }
    .feature.is-visible .feature__icon { animation:none; }
}

/* ==========================================================
   Стили основных блоков
   ========================================================== */
.header__cta {
    flex:0 0 auto;
    padding:10px 16px;
    border:1px solid #244f91;
    border-radius:7px;
    background:#17366f;
    color:#fff;
    font-size:14px;
    font-weight:750;
}
.header__cta:hover { background:#0b234f; color:#fff; }
.logo__shield svg { width:32px; height:32px; display:block; }

/* Логотип */
.logo__shield {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
}
.logo__shield img {
    position: static;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo__horizontal {
    width: 230px;
    height: auto;
    object-fit: contain;
}
.nav { border: 0; }
.footer__brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer__brand h3 { margin: 0 0 6px; }
.footer__logo {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.footer {
    background: #dce8f5;
    color: #152033;
}
.footer a {
    color: #17366f;
    font-weight: 700;
}
.footer a:hover { color: #0b234f; }
.footer__inner {
    background: rgba(255, 255, 255, .86);
    border-color: rgba(23, 54, 111, .14);
    box-shadow: 0 14px 36px rgba(14, 35, 73, .10);
}
.footer__inner::before { opacity: .22; }

@media (max-width: 700px) {
    .logo__horizontal { width: 165px; }
    .logo__shield { flex-basis: 42px; width: 42px; height: 42px; }
    .footer__brand { align-items: flex-start; }
    .footer__logo { width: 112px; height: 112px; }
    .footer__inner { background: rgba(255, 255, 255, .9); }
}

@media (max-width: 380px) {
    .footer__brand { flex-direction: column; }
}

.hero {
    position:relative;
    min-height:690px;
    display:flex;
    align-items:center;
    padding:90px 0 82px;
    color:#fff;
    overflow:hidden;
    background:
        linear-gradient(100deg,rgba(6,24,58,.97) 0%,rgba(12,45,94,.94) 48%,rgba(24,76,140,.78) 100%),
        url('../img/premium-bg.png') center/cover;
}
.hero::before {
    content:'';
    position:absolute;
    inset:0;
    opacity:.22;
    background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
    background-size:64px 64px;
    mask-image:linear-gradient(90deg,#000,transparent 82%);
}
.hero::after { content:''; position:absolute; width:520px; height:520px; right:-150px; top:-170px; border:1px solid rgba(125,180,245,.28); border-radius:50%; box-shadow:0 0 0 90px rgba(94,160,235,.045),0 0 0 180px rgba(94,160,235,.025); }
.hero__inner { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr); align-items:center; gap:76px; }
.hero__eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 20px; color:#a9caf4; font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hero__eyebrow span { width:34px; height:2px; background:#69a9f0; }
.hero h1 { max-width:800px; margin:0 0 24px; font-size:clamp(46px,5.7vw,76px); line-height:.98; letter-spacing:-.055em; font-weight:850; }
.hero__lead { max-width:700px; margin:0 0 34px; color:#d6e5f8; font-size:19px; line-height:1.55; }
.hero__actions { display:flex; align-items:center; gap:28px; margin-bottom:44px; }
.hero__actions .btn { padding:16px 24px; }
.hero__phone { display:flex; flex-direction:column; color:#fff; line-height:1.25; }
.hero__phone:hover { color:#fff; }
.hero__phone span { color:#9fbadd; font-size:12px; }
.hero__phone strong { font-size:18px; }
.hero__trust { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-width:720px; border-top:1px solid rgba(255,255,255,.18); padding-top:24px; }
.hero__trust div { display:flex; flex-direction:column; padding:0 20px; border-left:1px solid rgba(255,255,255,.15); }
.hero__trust div:first-child { padding-left:0; border-left:0; }
.hero__trust strong { font-size:14px; }
.hero__trust span { color:#8faaca; font-size:12px; }
.hero__panel { padding:34px; border:1px solid rgba(255,255,255,.25); border-radius:12px; background:rgba(238,246,255,.1); backdrop-filter:blur(16px); box-shadow:0 28px 70px rgba(0,0,0,.2); }
.hero__panel-label { display:inline-block; margin-bottom:18px; padding:6px 9px; border:1px solid rgba(153,197,248,.36); border-radius:4px; color:#b9d8fa; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.hero__panel h2 { margin:0 0 14px; font-size:28px; line-height:1.15; letter-spacing:-.035em; }
.hero__panel p { margin:0 0 24px; color:#c8daef; font-size:15px; }
.hero__panel small { display:block; margin-top:12px; color:#9fb6d4; text-align:center; }

.preparation-step p { margin:0; color:#53627a; font-size:13px; line-height:1.45; text-align:center; }
.preparation-step__icon { color:#17366f; font-weight:850; }
.preparation-step__icon svg { width:54px; height:54px; display:block; overflow:visible; }

.faq { padding:84px 0; background:#e9eff6; }
.faq__inner { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:80px; align-items:start; }
.faq__intro { position:sticky; top:118px; }
.faq__intro .section-title { text-align:left; font-size:clamp(34px,4vw,50px); }
.faq__intro > p:not(.hero__eyebrow) { color:#52627a; }
.faq__phone { display:flex; flex-direction:column; gap:4px; margin-top:30px; color:#52627a; }
.faq__phone strong { color:#17366f; font-size:23px; }
.faq__list { border-top:1px solid #bdcadb; }
.faq details { border-bottom:1px solid #bdcadb; }
.faq summary { position:relative; padding:24px 48px 24px 0; color:#17233a; font-size:18px; font-weight:750; cursor:pointer; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; position:absolute; right:4px; top:18px; width:32px; height:32px; display:grid; place-items:center; border:1px solid #9cafc7; border-radius:5px; color:#17366f; font-size:20px; font-weight:400; }
.faq details[open] summary::after { content:'−'; background:#17366f; border-color:#17366f; color:#fff; }
.faq details p { margin:-6px 56px 24px 0; color:#53627a; line-height:1.65; }

.mobile-action { display:none; }

@media (max-width:1050px) {
    .header__cta { display:none; }
    .hero__inner { gap:38px; }
}

@media (max-width:768px) {
    body { padding-bottom:72px; }
    .hero { min-height:auto; padding:70px 0 48px; }
    .hero::after { width:280px; height:280px; }
    .hero__inner { grid-template-columns:1fr; gap:32px; }
    .hero h1 { font-size:clamp(42px,12vw,58px); }
    .hero__lead { font-size:17px; }
    .hero__actions { align-items:stretch; flex-direction:column; gap:16px; margin-bottom:34px; }
    .hero__actions .btn { width:100%; }
    .hero__phone { align-items:center; }
    .hero__trust { grid-template-columns:1fr; gap:12px; }
    .hero__trust div,.hero__trust div:first-child { padding:0 0 0 14px; border:0; border-left:2px solid #4f89ce; }
    .hero__panel { padding:26px 20px; }
    .faq { padding:56px 0; }
    .faq__inner { grid-template-columns:1fr; gap:32px; }
    .faq__intro { position:static; }
    .faq summary { font-size:16px; }
    .faq details p { margin-right:0; }
    .mobile-action { position:fixed; left:0; right:0; bottom:0; z-index:900; display:grid; grid-template-columns:.75fr 1.25fr; gap:8px; padding:9px 12px max(9px,env(safe-area-inset-bottom)); background:rgba(248,250,253,.96); border-top:1px solid #cbd6e5; backdrop-filter:blur(14px); }
    .mobile-action a { display:grid; place-items:center; min-height:48px; border-radius:7px; font-size:14px; font-weight:800; }
    .mobile-action__call { border:1px solid #17366f; color:#17366f; }
    .mobile-action__request { background:#17366f; color:#fff; }
}

/* Узкие экраны */
@media (max-width:430px) {
    .hero { padding:48px 0 34px; }
    .hero__inner { gap:24px; }
    .hero__eyebrow { margin-bottom:14px; font-size:11px; letter-spacing:.09em; }
    .hero h1 { margin-bottom:18px; font-size:clamp(36px,10.2vw,42px); line-height:1.02; }
    .hero__lead { margin-bottom:24px; font-size:15px; line-height:1.48; }
    .hero__actions { gap:12px; margin-bottom:26px; }
    .hero__actions .btn { padding:14px 20px; }
    .hero__trust { gap:8px; padding-top:18px; }
    .hero__trust div,.hero__trust div:first-child { padding-left:11px; }
    .hero__panel { padding:22px 18px; }
    .hero__panel-label { margin-bottom:13px; }
    .hero__panel h2 { margin-bottom:10px; font-size:23px; }
    .hero__panel p { margin-bottom:18px; font-size:14px; }
}

/* ==========================================================
   Светлая тема
   ========================================================== */
body,
body[data-theme="blue"] {
    --theme-page: #eef7ff;
    --theme-section: #e4f1fb;
    --theme-soft: #f7fbff;
    --theme-line: #9bbbd7;
    --theme-accent: #155a96;
    --theme-accent-dark: #103f6b;
    --theme-icon-ring: #2b6fa7;
    background: var(--theme-page);
}

body[data-theme="green"] {
    --theme-page: #f1f8f1;
    --theme-section: #e4f1e6;
    --theme-soft: #fbfdf9;
    --theme-line: #9abca0;
    --theme-accent: #276a45;
    --theme-accent-dark: #194c31;
    --theme-icon-ring: #3d8058;
}

body::before,
body[data-theme="blue"]::before,
body[data-theme="green"]::before {
    background: linear-gradient(180deg, var(--theme-page), var(--theme-section));
    filter: none;
}

.bg-slideshow { display: none; }

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #b8c7d8;
    border-radius: 8px;
    background: #fff;
}
.theme-switcher__label { padding: 0 6px; color: #34445a; font-size: 12px; font-weight: 800; }
.theme-switcher__button {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #25364c;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.theme-switcher__button:hover { background: #eef3f7; }
.theme-switcher__button:focus-visible,
.service-choice__grid input:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 2px;
}
.theme-switcher__button.is-active {
    border-color: var(--theme-accent);
    background: var(--theme-accent);
    color: #fff;
}

.header { background: rgba(255,255,255,.97); border-bottom-color: #b9c8d8; }
.header__cta,
.mobile-action__request { background: var(--theme-accent); border-color: var(--theme-accent); }
.header__cta:hover { background: var(--theme-accent-dark); }
.btn--primary { background: var(--theme-accent); border-color: var(--theme-accent); }
.btn--primary:hover { background: var(--theme-accent-dark); border-color: var(--theme-accent-dark); }

.hero {
    color: #14243a;
    background:
        radial-gradient(circle at 88% 15%, rgba(255,255,255,.95), transparent 34%),
        linear-gradient(120deg, var(--theme-soft), var(--theme-section));
    border-bottom: 1px solid var(--theme-line);
}
.hero::before { opacity: .28; background-image: linear-gradient(rgba(18,64,96,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(18,64,96,.08) 1px,transparent 1px); }
.hero::after { border-color: var(--theme-line); box-shadow: 0 0 0 90px rgba(255,255,255,.2),0 0 0 180px rgba(255,255,255,.12); }
.hero__eyebrow,
.hero__lead,
.hero__phone,
.hero__phone:hover,
.hero__phone strong,
.hero__trust strong { color: #172b43; }
.hero__eyebrow span { background: var(--theme-accent); }
.hero__phone span,
.hero__trust span { color: #455d74; }
.hero__trust { border-top-color: #9fb2c4; }
.hero__trust div { border-left-color: #aabac9; }
.hero__panel {
    border: 2px solid var(--theme-line);
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(25,55,80,.12);
    backdrop-filter: none;
}
.hero__panel-label { border-color: var(--theme-accent); color: var(--theme-accent-dark); background: var(--theme-section); }
.hero__panel p,
.hero__panel small { color: #3d5369; }

.features,
.faq { background: var(--theme-section); }
.services,
.preparation { background: var(--theme-page); }
.feature,
.service-icon,
.preparation-step { background: #fff; border-color: var(--theme-line); }
.feature { border-top-color: var(--theme-accent); }
.feature__icon,
.preparation-step__icon {
    border: 2px solid var(--theme-icon-ring);
    background: #fff;
    box-shadow: 0 5px 0 rgba(20,55,75,.08);
}
.service-icon::after {
    border: 2px solid var(--theme-icon-ring);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 0 rgba(20,55,75,.08);
}
.service-icon:hover::after { background: var(--theme-soft); }
.service-icon:hover { border-color: var(--theme-accent); }

.cta-section {
    color: #14243a;
    background: linear-gradient(135deg, var(--theme-section), var(--theme-page));
    border-block: 1px solid var(--theme-line);
}
.cta-section::before { display: none; }
.cta-section .section-title { color: #14243a; }
.cta-section .section-subtitle { color: #3e5368; }
.cta-form,
.cta-socials,
.cta-map { border: 1px solid var(--theme-line); background: #fff; box-shadow: 0 12px 30px rgba(25,55,80,.1); }

.service-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.service-choice__hint { margin: -3px 0 10px; color: #4b5d70; font-size: 13px; }
.service-choice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 260px;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid #c7d2df;
    border-radius: 12px;
    background: #f5f8fb;
}
.service-choice__grid label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 9px 11px;
    border: 1px solid #c6d1dd;
    border-radius: 8px;
    background: #fff;
    color: #1c2b3c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    user-select: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-choice__grid label:hover {
    border-color: var(--theme-accent);
    background: var(--theme-soft);
    box-shadow: 0 3px 10px rgba(20,55,75,.07);
}
.service-choice__grid label:has(input:checked) {
    border-color: var(--theme-accent);
    background: var(--theme-section);
    color: #14243a;
    box-shadow: inset 3px 0 0 var(--theme-accent);
}
.service-choice__grid input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    margin: 0;
    border: 2px solid #8192a5;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.service-choice__grid input:checked {
    border-color: var(--theme-accent);
    background: var(--theme-accent);
}
.service-choice__grid input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.service-choice__grid label:has(input:focus-visible) {
    outline: 3px solid #f5a623;
    outline-offset: 2px;
}
.service-choice__error { display: none; margin-top: 6px; color: #a51616; font-size: 13px; font-weight: 750; }
.service-choice.invalid .service-choice__grid { border-color: #b42318; }
.service-choice.invalid .service-choice__error { display: block; }

@media (max-width: 1180px) {
    .theme-switcher__label { display: none; }
    .theme-switcher__button { padding-inline: 7px; }
}
@media (max-width: 980px) {
    .theme-switcher { order: 5; }
    .header__contacts { display: none; }
}
@media (max-width: 768px) {
    .theme-switcher { margin-left: auto; }
    .theme-switcher__button { min-height: 38px; }
    .service-choice__grid { grid-template-columns: 1fr; max-height: 310px; }
}
@media (max-width: 430px) {
    .logo__horizontal { width: 135px; }
    .theme-switcher__button { padding-inline: 6px; font-size: 11px; }
}

/* Подвал */
.footer { padding: 0; }
.footer > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}
.footer__inner {
    width: 100%;
    margin: 0;
    padding: 38px max(20px, calc((100vw - 1160px) / 2));
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.9);
    box-shadow: none;
}
.footer__inner::before { border-radius: 0; }

@media (max-width: 768px) {
    .footer__inner { padding: 30px 20px; }
}

/* ==========================================================
   Цвета сайта
   ========================================================== */
body {
    --theme-page: #f7fbfc;
    --theme-section: #e9f4f3;
    --theme-soft: #f4f9ff;
    --theme-line: #a8c8c3;
    --theme-accent: #17679a;
    --theme-accent-dark: #104b72;
    --theme-secondary: #34795d;
    --theme-secondary-dark: #255a45;
    --theme-icon-ring: #3b7b75;
    background: #f7fbfc;
}

body::before {
    background:
        radial-gradient(circle at 12% 16%, rgba(196,229,248,.65), transparent 28%),
        radial-gradient(circle at 88% 44%, rgba(205,235,215,.58), transparent 30%),
        linear-gradient(180deg, #fbfdff, #f2f9f6);
}

.header {
    background: rgba(255,255,255,.96);
    border-bottom-color: #bdd4d3;
}

.btn--primary,
.header__cta,
.mobile-action__request {
    border-color: #17679a;
    background: linear-gradient(135deg, #17679a 0%, #2d8068 100%);
}
.btn--primary:hover,
.header__cta:hover {
    border-color: #104b72;
    background: linear-gradient(135deg, #104b72 0%, #255f4d 100%);
}

.hero {
    background:
        radial-gradient(circle at 84% 18%, rgba(198,232,214,.82), transparent 30%),
        radial-gradient(circle at 18% 76%, rgba(205,232,250,.88), transparent 34%),
        linear-gradient(120deg, #ffffff 0%, #edf7fb 52%, #edf8f1 100%);
    border-bottom-color: #b5d3d0;
}
.hero__panel {
    border-color: #9fc8c1;
    background: rgba(255,255,255,.94);
}
.hero__panel-label { border-color: #34795d; color: #255a45; background: #e8f4ec; }

.features { background: linear-gradient(135deg, #edf7fb, #eaf6ee); }
.services { background: linear-gradient(180deg, #ffffff, #f2f8fc); }
.preparation { background: linear-gradient(135deg, #f5fbf7, #eaf5ef); }
.faq { background: linear-gradient(135deg, #edf6fb, #edf7f1); }

.feature:nth-child(even) { border-top-color: var(--theme-secondary); }
.feature:nth-child(even) .feature__icon,
.service-icon:nth-child(3n + 2)::after,
.preparation-step:nth-child(even) .preparation-step__icon {
    border-color: var(--theme-secondary);
}
.service-icon:nth-child(3n + 2):hover { border-color: var(--theme-secondary); }

.cta-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(204,232,248,.8), transparent 32%),
        radial-gradient(circle at 90% 75%, rgba(203,233,213,.78), transparent 34%),
        #f8fcfb;
    border-block-color: #aaccc6;
}
.cta-form { border-top: 4px solid #17679a; }
.cta-socials { border-top: 4px solid #34795d; }
.cta-map { border-color: #7aaea6; }

.service-choice__grid label:has(input:checked) {
    border-color: #34795d;
    background: #e6f3ea;
    box-shadow: inset 3px 0 0 #34795d;
}
.service-choice__grid input:checked {
    border-color: #34795d;
    background: #34795d;
}

.footer { background: linear-gradient(90deg, #dceef8, #e0f1e5); }
.footer__inner { background: rgba(255,255,255,.88); }

/* ==========================================================
   Фон страницы
   ========================================================== */
body {
    position: relative;
    isolation: isolate;
}

body::before {
    background:
        radial-gradient(ellipse 46% 32% at 8% 8%, rgba(126,200,235,.28), transparent 72%),
        radial-gradient(ellipse 42% 34% at 94% 22%, rgba(137,206,164,.25), transparent 70%),
        radial-gradient(ellipse 38% 28% at 16% 58%, rgba(165,218,190,.2), transparent 72%),
        radial-gradient(ellipse 44% 30% at 88% 82%, rgba(137,197,231,.22), transparent 72%),
        linear-gradient(135deg, #fbfdff 0%, #f2f9fc 43%, #f4faf5 72%, #ffffff 100%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .38;
    background-image:
        linear-gradient(rgba(38,105,126,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38,105,126,.055) 1px, transparent 1px),
        radial-gradient(circle, rgba(48,121,92,.15) 1px, transparent 1.5px);
    background-size: 72px 72px, 72px 72px, 24px 24px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 28%, transparent 72%, rgba(0,0,0,.42));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 28%, transparent 72%, rgba(0,0,0,.42));
}

main { position: relative; z-index: 0; }

.features,
.services,
.preparation,
.faq,
.cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.features::before,
.services::before,
.preparation::before,
.faq::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(35,112,126,.12);
    border-radius: 50%;
    pointer-events: none;
}
.features::before { right: -150px; top: -170px; box-shadow: 0 0 0 65px rgba(61,139,112,.035), 0 0 0 130px rgba(31,111,157,.025); }
.services::before { left: -180px; bottom: -190px; box-shadow: 0 0 0 70px rgba(31,111,157,.035), 0 0 0 140px rgba(61,139,112,.025); }
.preparation::before { right: -175px; bottom: -190px; box-shadow: 0 0 0 65px rgba(61,139,112,.04), 0 0 0 130px rgba(31,111,157,.025); }
.faq::before { left: -190px; top: -200px; box-shadow: 0 0 0 75px rgba(31,111,157,.035), 0 0 0 150px rgba(61,139,112,.025); }

.feature,
.service-icon,
.preparation-step,
.cta-form,
.cta-socials,
.cta-map,
.faq details {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    body::after {
        opacity: .24;
        background-size: 52px 52px, 52px 52px, 20px 20px;
    }
    .features::before,
    .services::before,
    .preparation::before,
    .faq::before { width: 240px; height: 240px; }
}

@media (prefers-reduced-transparency: reduce) {
    .feature,
    .service-icon,
    .preparation-step,
    .cta-form,
    .cta-socials,
    .cta-map,
    .faq details { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================
   Дополнительные стили текста
   ========================================================== */
.accessibility-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 7px 11px;
    border: 2px solid #17679a;
    border-radius: 7px;
    background: #fff;
    color: #104b72;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    cursor: pointer;
}
.accessibility-toggle:hover { background: #edf7fb; }
.accessibility-toggle:focus-visible { outline: 4px solid #f2a900; outline-offset: 3px; }
.accessibility-toggle__icon { font-size: 18px; font-weight: 900; letter-spacing: -.08em; }
.accessibility-toggle[aria-pressed="true"] { background: #102f4a; color: #fff; border-color: #102f4a; }

body.accessibility-mode {
    color: #101820;
    background: #fff;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: .01em;
}
body.accessibility-mode::before { background: #fff; }
body.accessibility-mode::after,
body.accessibility-mode .hero::before,
body.accessibility-mode .hero::after,
body.accessibility-mode .features::before,
body.accessibility-mode .services::before,
body.accessibility-mode .preparation::before,
body.accessibility-mode .faq::before { display: none; }

body.accessibility-mode *,
body.accessibility-mode *::before,
body.accessibility-mode *::after {
    animation: none !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
}

body.accessibility-mode .header {
    background: #fff;
    border-bottom: 3px solid #102f4a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.accessibility-mode .nav a,
body.accessibility-mode a:not(.btn):not(.header__cta):not(.mobile-action a) {
    color: #073f72;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
body.accessibility-mode .nav a { font-size: 17px; font-weight: 800; }
body.accessibility-mode .phone { color: #101820; font-size: 19px; }
body.accessibility-mode .work-hours { color: #263746; font-size: 15px; }

body.accessibility-mode .hero,
body.accessibility-mode .features,
body.accessibility-mode .services,
body.accessibility-mode .preparation,
body.accessibility-mode .faq,
body.accessibility-mode .cta-section {
    color: #101820;
    background: #fff;
    border-color: #567083;
}
body.accessibility-mode .features,
body.accessibility-mode .preparation,
body.accessibility-mode .cta-section { background: #edf7f2; }
body.accessibility-mode .faq { background: #edf6fc; }

body.accessibility-mode .hero h1 { font-size: clamp(46px, 5.5vw, 72px); line-height: 1.08; letter-spacing: -.025em; }
body.accessibility-mode .hero__lead { color: #172c3d; font-size: 21px; line-height: 1.65; }
body.accessibility-mode .hero__eyebrow,
body.accessibility-mode .hero__phone span,
body.accessibility-mode .hero__trust span,
body.accessibility-mode .hero__panel p,
body.accessibility-mode .hero__panel small,
body.accessibility-mode .section-subtitle,
body.accessibility-mode .feature p,
body.accessibility-mode .preparation-step p,
body.accessibility-mode .faq p { color: #263746; }
body.accessibility-mode .hero__panel { border: 3px solid #234f6d; background: #fff; box-shadow: none; }
body.accessibility-mode .hero__panel h2 { font-size: 31px; }
body.accessibility-mode .hero__panel p { font-size: 18px; }

body.accessibility-mode .section-title { color: #101820; font-size: clamp(36px, 4vw, 54px); }
body.accessibility-mode .section-subtitle { font-size: 19px; }
body.accessibility-mode .feature,
body.accessibility-mode .service-icon,
body.accessibility-mode .preparation-step,
body.accessibility-mode .cta-form,
body.accessibility-mode .cta-socials,
body.accessibility-mode .cta-map,
body.accessibility-mode .faq details,
body.accessibility-mode .footer__inner {
    border-color: #567083;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.accessibility-mode .feature { border-width: 2px; border-top-width: 5px; }
body.accessibility-mode .feature h3,
body.accessibility-mode .cta-form h3,
body.accessibility-mode .cta-socials h3 { color: #101820; font-size: 24px; }
body.accessibility-mode .feature p { font-size: 17px; line-height: 1.65; }
body.accessibility-mode .service-icon { border-width: 2px; }
body.accessibility-mode .service-icon__label { color: #101820; font-size: 18px; line-height: 1.4; }
body.accessibility-mode .preparation-step p { font-size: 16px; line-height: 1.6; }
body.accessibility-mode .faq summary { color: #101820; font-size: 20px; }
body.accessibility-mode .faq details p { font-size: 18px; }

body.accessibility-mode .btn,
body.accessibility-mode .header__cta,
body.accessibility-mode .mobile-action a {
    min-height: 52px;
    border: 2px solid #061f35;
    border-radius: 6px;
    background: #073f72;
    color: #fff;
    box-shadow: none;
    font-size: 17px;
    font-weight: 850;
}
body.accessibility-mode .btn:hover,
body.accessibility-mode .header__cta:hover { background: #062f56; }
body.accessibility-mode button:focus-visible,
body.accessibility-mode a:focus-visible,
body.accessibility-mode input:focus-visible,
body.accessibility-mode summary:focus-visible {
    outline: 4px solid #f2a900 !important;
    outline-offset: 3px !important;
}

body.accessibility-mode .form__label { color: #101820; font-size: 17px; font-weight: 850; }
body.accessibility-mode .form__input,
body.accessibility-mode .form__select { min-height: 56px; border: 2px solid #40576a; color: #101820; font-size: 18px; }
body.accessibility-mode .service-choice__hint { color: #263746; font-size: 16px; }
body.accessibility-mode .service-choice__grid { border: 2px solid #40576a; background: #f7f9fa; }
body.accessibility-mode .service-choice__grid label { min-height: 54px; border: 2px solid #677b8c; color: #101820; font-size: 16px; }
body.accessibility-mode .service-choice__grid label:has(input:checked) { border-color: #155b3d; background: #dcefe4; box-shadow: inset 5px 0 0 #155b3d; }
body.accessibility-mode .service-choice__grid input { width: 27px; height: 27px; flex-basis: 27px; border: 3px solid #40576a; border-radius: 4px; }
body.accessibility-mode .service-choice__grid input:checked { border-color: #155b3d; background: #155b3d; }
body.accessibility-mode .service-choice__grid input:checked::after { left: 7px; top: 2px; width: 7px; height: 13px; border-width: 0 3px 3px 0; }
body.accessibility-mode .form__consent { color: #101820; font-size: 16px; }
body.accessibility-mode .form__consent input { width: 24px; height: 24px; flex: 0 0 24px; }

body.accessibility-mode .footer { color: #101820; background: #e4f1f6; border-top: 3px solid #102f4a; }
body.accessibility-mode .footer a { color: #073f72; }

@media (max-width: 1180px) {
    .accessibility-toggle { width: 44px; padding-inline: 6px; }
    .accessibility-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (max-width: 768px) {
    .accessibility-toggle { order: 4; margin-left: auto; min-height: 44px; }
    body.accessibility-mode { font-size: 17px; }
    body.accessibility-mode .hero { padding-top: 58px; }
    body.accessibility-mode .hero h1 { font-size: clamp(38px, 10vw, 48px); }
    body.accessibility-mode .hero__lead { font-size: 19px; }
    body.accessibility-mode .section-title { font-size: clamp(32px, 9vw, 42px); }
    body.accessibility-mode .service-choice__grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    body.accessibility-mode .services__icons-grid { grid-template-columns: 1fr; }
    body.accessibility-mode .service-icon { min-height: 160px; }
    body.accessibility-mode .hero__panel h2 { font-size: 27px; }
    body.accessibility-mode .faq summary { padding-right: 44px; font-size: 18px; }
}

/* ==========================================================
   Выбор цвета
   ========================================================== */
body[data-color-theme="blue"] {
    --test-a: #17679a;
    --test-a-dark: #104b72;
    --test-soft-1: #edf7fd;
    --test-soft-2: #dfeff9;
    --test-line: #9fc4da;
    --test-glow-1: rgba(113,190,232,.34);
    --test-glow-2: rgba(155,207,237,.24);
}
body[data-color-theme="green"] {
    --test-a: #34795d;
    --test-a-dark: #255a45;
    --test-soft-1: #f0f8f2;
    --test-soft-2: #e1f0e5;
    --test-line: #9fc5aa;
    --test-glow-1: rgba(116,194,146,.3);
    --test-glow-2: rgba(163,214,180,.24);
}
body[data-color-theme="mix"] {
    --test-a: #17679a;
    --test-a-dark: #104b72;
    --test-soft-1: #eff8f8;
    --test-soft-2: #e3f1ed;
    --test-line: #9fc8c1;
    --test-glow-1: rgba(113,190,232,.3);
    --test-glow-2: rgba(116,194,146,.26);
}

body[data-color-theme] { background: #f9fcfd; }
body[data-color-theme]::before {
    background:
        radial-gradient(ellipse 46% 32% at 8% 8%, var(--test-glow-1), transparent 72%),
        radial-gradient(ellipse 42% 34% at 94% 22%, var(--test-glow-2), transparent 70%),
        radial-gradient(ellipse 38% 28% at 16% 62%, var(--test-glow-2), transparent 72%),
        linear-gradient(135deg, #fff, var(--test-soft-1) 52%, #fff);
}
body[data-color-theme] .hero {
    background:
        radial-gradient(circle at 84% 18%, var(--test-glow-2), transparent 31%),
        radial-gradient(circle at 18% 76%, var(--test-glow-1), transparent 35%),
        linear-gradient(120deg, #fff, var(--test-soft-1) 55%, var(--test-soft-2));
    border-bottom-color: var(--test-line);
}
body[data-color-theme] .features,
body[data-color-theme] .preparation,
body[data-color-theme] .cta-section { background: linear-gradient(135deg, var(--test-soft-1), var(--test-soft-2)); }
body[data-color-theme] .services { background: linear-gradient(180deg, #fff, var(--test-soft-1)); }
body[data-color-theme] .faq { background: linear-gradient(135deg, var(--test-soft-2), var(--test-soft-1)); }
body[data-color-theme] .hero__panel,
body[data-color-theme] .feature,
body[data-color-theme] .service-icon,
body[data-color-theme] .preparation-step,
body[data-color-theme] .cta-form,
body[data-color-theme] .cta-socials,
body[data-color-theme] .cta-map { border-color: var(--test-line); }
body[data-color-theme] .feature,
body[data-color-theme] .cta-form { border-top-color: var(--test-a); }
body[data-color-theme] .feature__icon,
body[data-color-theme] .service-icon::after,
body[data-color-theme] .preparation-step__icon { border-color: var(--test-a); }
body[data-color-theme] .btn--primary,
body[data-color-theme] .header__cta,
body[data-color-theme] .mobile-action__request {
    border-color: var(--test-a);
    background: var(--test-a);
}
body[data-color-theme] .btn--primary:hover,
body[data-color-theme] .header__cta:hover { border-color: var(--test-a-dark); background: var(--test-a-dark); }
body[data-color-theme] .service-choice__grid label:has(input:checked) {
    border-color: var(--test-a);
    background: var(--test-soft-2);
    box-shadow: inset 3px 0 0 var(--test-a);
}
body[data-color-theme] .service-choice__grid input:checked { border-color: var(--test-a); background: var(--test-a); }
body[data-color-theme] .footer { background: linear-gradient(90deg, var(--test-soft-2), var(--test-soft-1)); }

body[data-color-theme="mix"] .btn--primary,
body[data-color-theme="mix"] .header__cta,
body[data-color-theme="mix"] .mobile-action__request {
    background: linear-gradient(135deg, #17679a, #34795d);
}
body[data-color-theme="mix"] .feature:nth-child(even),
body[data-color-theme="mix"] .service-icon:nth-child(3n + 2),
body[data-color-theme="mix"] .preparation-step:nth-child(even) { border-color: #8ebba3; }
body[data-color-theme="mix"] .feature:nth-child(even) .feature__icon,
body[data-color-theme="mix"] .service-icon:nth-child(3n + 2)::after,
body[data-color-theme="mix"] .preparation-step:nth-child(even) .preparation-step__icon { border-color: #34795d; }

.color-test {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 880;
    display: grid;
    gap: 6px;
    width: 158px;
    padding: 10px;
    border: 1px solid #aebfca;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 34px rgba(17,50,70,.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.color-test__title { padding: 0 4px 3px; color: #263746; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.color-test__button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #f1f5f7;
    color: #172735;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.color-test__button:hover { border-color: #8da3b2; background: #fff; }
.color-test__button.is-active { border-color: #193f59; background: #193f59; color: #fff; }
.color-test__button:focus-visible { outline: 3px solid #f2a900; outline-offset: 2px; }
.color-test__swatch { width: 15px; height: 15px; flex: 0 0 15px; border: 1px solid rgba(0,0,0,.13); border-radius: 50%; }
.color-test__swatch--blue { background: linear-gradient(135deg, #fff, #62add6); }
.color-test__swatch--green { background: linear-gradient(135deg, #fff, #62aa7e); }
.color-test__swatch--mix { background: linear-gradient(135deg, #55a6d1 0 48%, #5ca879 52% 100%); }

@media (max-width: 768px) {
    .color-test {
        left: 10px;
        right: 10px;
        bottom: 82px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: auto;
        padding: 7px;
    }
    .color-test__title { display: none; }
    .color-test__button { justify-content: center; min-width: 0; padding-inline: 5px; }
}

@media (max-width: 380px) {
    .color-test__button { gap: 5px; font-size: 11px; }
    .color-test__swatch { width: 12px; height: 12px; flex-basis: 12px; }
}

/* Этапы на телефоне */
@media (max-width: 768px) {
    .preparation__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .preparation-step {
        min-height: 0;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        justify-content: stretch;
        column-gap: 14px;
        row-gap: 7px;
        padding: 20px;
        text-align: left;
    }
    .preparation-step__number {
        position: static;
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        border-radius: 9px;
        font-size: 20px;
    }
    .preparation-step h3 {
        grid-column: 2;
        margin: 0;
        font-size: 21px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .preparation-step p {
        grid-column: 2;
        margin: 0;
        color: #425467;
        font-size: 15px;
        line-height: 1.5;
        text-align: left;
    }
}

@media (max-width: 380px) {
    .preparation-step {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 11px;
        padding: 18px 15px;
    }
    .preparation-step__number { width: 40px; height: 40px; font-size: 18px; }
    .preparation-step h3 { font-size: 19px; }
    .preparation-step p { font-size: 14px; }
}

/* Этапы без нумерации */
@media (max-width: 768px) {
    .preparation-step {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 22px 20px;
    }
    .preparation-step h3,
    .preparation-step p { grid-column: 1; }
}
.services .section-title::first-letter {
    color: inherit !important;
}