/* ===== TOKENS ===== */
:root {
  --indigo: #1E2A5E;
  --indigo-mid: #2E3F8F;
  --indigo-light: #4A5BAD;
  --mint: #00C896;
  --mint-dark: #00A87A;
  --bg: #F7F9FC;
  --bg2: #EEF2FA;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --text: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(30,42,94,0.10);
  --shadow-lg: 0 8px 40px rgba(30,42,94,0.15);
  --r: 14px;
  --r-sm: 8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg2); }
.section--dark { background: var(--indigo); color: #fff; }
.section--white { background: var(--white); }
.label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; display: block; }
.h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: var(--indigo); line-height: 1.18; margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--muted); max-width: 620px; line-height: 1.7; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all .18s ease; white-space: nowrap; }
.btn-primary { background: var(--mint); color: var(--indigo); }
.btn-primary:hover { background: var(--mint-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,150,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--indigo-mid); transform: translateY(-1px); }
.card { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 2px 16px rgba(30,42,94,.1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 20px; font-weight: 800; color: var(--indigo); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--mint); }
.logo__icon { width: 32px; height: 32px; background: var(--indigo); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
nav { display: flex; gap: 32px; align-items: center; }
nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .15s; }
nav a:hover { color: var(--indigo); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header__phone { font-size: 14px; font-weight: 600; color: var(--indigo); }
.header__email { font-size: 12px; color: var(--muted); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--indigo); border-radius: 2px; transition: all .2s; }

/* ===== MOBILE NAV ===== */
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: white; border-top: 1px solid var(--border); padding: 20px; z-index: 99; flex-direction: column; gap: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 15px; font-weight: 500; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-nav__cta { color: var(--mint) !important; font-weight: 700 !important; border-bottom: none !important; }

/* ===== HERO ===== */
.hero { padding: 128px 0 80px; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 60%, #3B51B0 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,200,150,.15); border: 1px solid rgba(0,200,150,.3); border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--mint); font-weight: 600; margin-bottom: 24px; }
.hero__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero__title { font-size: clamp(32px, 5vw, 58px); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero__title em { color: var(--mint); font-style: normal; }
.hero__desc { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat__num { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.stat__num span { color: var(--mint); }
.stat__label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* Hero card */
.hero__card { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-lg); }
.hero__card-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.hero__meter { margin-bottom: 20px; }
.hero__meter-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text); margin-bottom: 8px; font-weight: 500; }
.hero__bar { height: 8px; background: var(--bg2); border-radius: 100px; overflow: hidden; }
.hero__fill { height: 100%; border-radius: 100px; }
.hero__saving { background: var(--bg2); border-radius: 10px; padding: 16px; text-align: center; margin-top: 16px; }
.hero__saving-num { font-size: 36px; font-weight: 800; color: var(--indigo); }
.hero__saving-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hero__form { margin-top: 20px; }
.hero__submit { width: 100%; padding: 14px; background: var(--mint); color: var(--indigo); border: none; border-radius: var(--r-sm); font-size: 15px; font-weight: 700; cursor: pointer; transition: all .18s; font-family: inherit; }
.hero__submit:hover { background: var(--mint-dark); transform: translateY(-1px); }
.hero__privacy { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ===== ВНУТРЕННИЕ СТРАНИЦЫ: ШАПКА + ХЛЕБНЫЕ КРОШКИ ===== */
.page-hero { padding: 116px 0 64px; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 60%, #3B51B0 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.crumbs a { color: rgba(255,255,255,.75); transition: color .15s; }
.crumbs a:hover { color: var(--mint); }
.crumbs__sep { color: rgba(255,255,255,.3); }
.page-hero__title { font-size: clamp(28px, 4.6vw, 48px); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 18px; max-width: 800px; }
.page-hero__title em { color: var(--mint); font-style: normal; }
.page-hero__desc { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 660px; margin-bottom: 32px; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero__stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 44px; }
.page-hero__stats .stat__num span { font-size: 15px; font-weight: 600; margin-left: 6px; }
.page-hero__inner { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }

/* Карточка в правой колонке шапки */
.page-hero__card { background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-lg); }
.page-hero__card-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.nav-card__list { display: flex; flex-direction: column; }
.nav-card__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 26px; border-radius: var(--r-sm); position: relative; transition: background .15s, transform .15s; }
.nav-card__item + .nav-card__item { border-top: 1px solid var(--border); }
.nav-card__item::before { content: ''; position: absolute; left: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(0,200,150,.25); border: 1.5px solid var(--mint); transition: transform .15s; }
.nav-card__item:hover { background: var(--bg2); transform: translateX(2px); }
.nav-card__item:hover::before { transform: scale(1.25); }
.nav-card__name { font-size: 14px; font-weight: 600; color: var(--indigo); }
.nav-card__term { font-size: 12px; color: var(--muted); white-space: nowrap; }
.nav-card__note { font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--bg2); border-radius: 10px; padding: 12px 14px; margin: 16px 0 14px; }

/* Карточка услуги в шапке: цена + чек-лист */
.page-hero__card-price { font-size: 34px; font-weight: 800; color: var(--indigo); line-height: 1; margin-bottom: 6px; }
.page-hero__card-price sub { font-size: 14px; font-weight: 500; color: var(--muted); bottom: 0; }
.page-hero__card-term { font-size: 13px; color: var(--muted); }
.card-divider { height: 1px; background: var(--border); margin: 18px 0; }
.card-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }

/* ===== ЮРИДИЧЕСКИЕ ДОКУМЕНТЫ ===== */
.legal { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 40px; }
.legal__meta { font-size: 13px; color: var(--muted); padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal h2 { font-size: 19px; font-weight: 700; color: var(--indigo); margin: 32px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 20px 0 10px; }
.legal p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 14px 20px; }
.legal li { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--mint-dark); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal__note { background: var(--bg2); border-radius: 10px; padding: 16px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; margin: 20px 0; }

/* ===== СРАВНИТЕЛЬНАЯ ТАБЛИЦА ===== */
section[id], div[id] { scroll-margin-top: 88px; }
.cmp-wrap { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th { background: var(--bg2); font-size: 13px; font-weight: 700; color: var(--indigo); white-space: nowrap; }
.cmp-table thead th:first-child { text-align: left; }
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) { text-align: center; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover { background: var(--bg); }
.cmp-table .cmp-group td { background: var(--bg2); font-weight: 700; color: var(--indigo); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.cmp-table .cmp-feature { color: var(--text); }
.cmp-yes { color: var(--mint-dark); font-weight: 700; }
.cmp-no { color: #C9CDD6; }
.cmp-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ===== ДРУГИЕ УСЛУГИ (перелинковка) ===== */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.related-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; font-size: 15px; font-weight: 600; color: var(--indigo); transition: border-color .2s, box-shadow .2s, transform .2s; }
.related-card:hover { border-color: rgba(0,200,150,.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card svg { color: var(--mint-dark); flex-shrink: 0; transition: transform .2s; }
.related-card:hover svg { transform: translateX(3px); }

/* ===== КНОПКА «НАВЕРХ» ===== */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(30,42,94,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .18s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--mint); color: var(--indigo); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ===== TRUST BAR ===== */
.trust { padding: 28px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.trust__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust__label { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.trust__items { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.trust__item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

/* ===== PROBLEMS ===== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.problem-card { background: var(--white); border-radius: var(--r); padding: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s; }
.problem-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.problem-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(30,42,94,.07); display: flex; align-items: center; justify-content: center; }
.problem-card h3 { font-size: 15px; font-weight: 700; color: var(--indigo); }
.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(0,200,150,.45); }
.service-card:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.service-card__top { padding: 24px 24px 20px; border-bottom: 1px solid var(--border); }
.service-card__icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--indigo), var(--indigo-light)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .2s; }
.service-card:hover .service-card__icon { transform: scale(1.06); }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--indigo); margin-bottom: 8px; transition: color .2s; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.service-card__features { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.service-card__link { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--indigo); transition: background .2s, color .2s; }
.service-card__link svg { flex-shrink: 0; transition: transform .2s; }
.service-card:hover .service-card__link { background: rgba(0,200,150,.10); color: var(--mint-dark); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }
.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); }
.feature-item::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(0,200,150,.15); flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%2300C896' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px); height: 2px; background: linear-gradient(90deg, var(--mint), var(--indigo-light)); z-index: 0; }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--mint); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 20px; font-weight: 800; color: var(--indigo); box-shadow: 0 0 0 6px var(--bg2); }
.step h3 { font-size: 15px; font-weight: 700; color: var(--indigo); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== RESULTS ===== */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 56px; }
.results-list { display: flex; flex-direction: column; gap: 16px; }
.result-item { display: flex; align-items: center; gap: 20px; background: var(--white); border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--border); }
.result-num { font-size: 36px; font-weight: 800; color: var(--mint); min-width: 80px; line-height: 1; }
.result-text strong { font-size: 15px; font-weight: 700; color: var(--indigo); display: block; margin-bottom: 2px; }
.result-text span { font-size: 13px; color: var(--muted); }
.results-visual { background: var(--white); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.ba-col--before .ba-col__title { color: #EF4444; }
.ba-col--after  .ba-col__title { color: var(--mint-dark); }
.ba-item { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.ba-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ba-col--before .ba-item::before { background: #EF4444; }
.ba-col--after  .ba-item::before { background: var(--mint); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
.price-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .2s; }
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card--popular { border: 2px solid var(--mint); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.price-card__badge { background: var(--mint); color: var(--indigo); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 6px; text-align: center; }
.price-card__header { padding: 24px 24px 20px; border-bottom: 1px solid var(--border); }
.price-card__name { font-size: 18px; font-weight: 700; color: var(--indigo); margin-bottom: 6px; }
.price-card__desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.price-card__price { font-size: 36px; font-weight: 800; color: var(--indigo); }
.price-card__price sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-card__body { padding: 24px; }
.price-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin-bottom: 12px; color: var(--text); }
.price-feat--no { color: var(--muted); text-decoration: line-through; }
.check { color: var(--mint); font-size: 15px; flex-shrink: 0; }
.cross { color: #D1D5DB; font-size: 15px; flex-shrink: 0; }

/* ===== CASES ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.case-card { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card__top { background: linear-gradient(135deg, var(--indigo), var(--indigo-mid)); padding: 24px; color: white; }
.case-card__industry { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--mint); margin-bottom: 8px; }
.case-card__company { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.case-card__size { font-size: 13px; color: rgba(255,255,255,.65); }
.case-card__body { padding: 20px 24px 24px; }
.case-card__problem { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.case-metrics { display: flex; gap: 20px; }
.case-metric__num { font-size: 24px; font-weight: 800; color: var(--mint-dark); }
.case-metric__label { font-size: 11px; color: var(--muted); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review-card { background: var(--white); border-radius: var(--r); padding: 24px; border: 1px solid var(--border); }
.review-stars { color: #FBBF24; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--mint)); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: white; flex-shrink: 0; }
.review-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.review-role { font-size: 12px; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { background: var(--white); border-radius: var(--r-sm); border: 1px solid var(--border); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--indigo); user-select: none; gap: 12px; text-align: left; }
.faq-q:hover { background: var(--bg2); }
.faq-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--bg2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--mint); color: white; }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; text-align: left; }
.faq-item.open .faq-a { display: block; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 100%); }
.cta-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.cta-form { background: var(--white); border-radius: var(--r); padding: 32px; }
.cta-form h3 { font-size: 20px; font-weight: 700; color: var(--indigo); margin-bottom: 8px; }
.cta-form > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.form-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s; }
.form-input:focus { border-color: var(--mint); }
.form-btn { width: 100%; padding: 15px; background: var(--mint); color: var(--indigo); border: none; border-radius: var(--r-sm); font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .18s; }
.form-btn:hover { background: var(--mint-dark); transform: translateY(-1px); }
.form-privacy { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }
.cta-benefits h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 20px; }
.cta-benefits > p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }
.cta-list { display: flex; flex-direction: column; gap: 14px; }
.cta-list-item { display: flex; align-items: center; gap: 14px; }
.cta-check { width: 28px; height: 28px; border-radius: 50%; background: rgba(0,200,150,.2); border: 1px solid rgba(0,200,150,.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-list-item span { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; }

/* ===== SEO TEXT ===== */
.seo-text { margin-top: 48px; padding: 32px; background: var(--white); border-radius: var(--r); border: 1px solid var(--border); }
.seo-text h2 { font-size: 22px; font-weight: 700; color: var(--indigo); margin-bottom: 12px; }
.seo-text p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.seo-text p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { color: white; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer__logo span { color: var(--mint); }
.footer__desc { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.footer__contact { font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.footer__contact-row { display: flex; align-items: center; gap: 8px; }
.footer__contact a { color: white; font-weight: 600; }
.footer__col-title { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13px; transition: color .15s; }
.footer__links a:hover { color: var(--mint); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* ===== NOT FOUND ===== */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.not-found h1 { font-size: 100px; font-weight: 800; color: var(--indigo); line-height: 1; margin-bottom: 16px; }
.not-found h2 { font-size: 28px; font-weight: 700; color: var(--indigo); margin-bottom: 16px; }
.not-found p { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

/* ===== AOS ===== */
.aos { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.aos.visible { opacity: 1; transform: none; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,16,40,.65); backdrop-filter: blur(4px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--r); width: 100%; max-width: 460px; box-shadow: 0 24px 80px rgba(10,16,40,.3); position: relative; overflow: hidden; transform: translateY(24px) scale(.97); transition: transform .28s ease; }
.modal-overlay.open .modal { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg2); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: background .15s; z-index: 1; }
.modal__close:hover { background: var(--border); }
.modal__header { background: linear-gradient(135deg, var(--indigo), var(--indigo-mid)); padding: 28px 28px 24px; }
.modal__title { font-size: 20px; font-weight: 800; color: white; margin-bottom: 4px; }
.modal__subtitle { font-size: 13px; color: rgba(255,255,255,.7); }
.modal__body { padding: 24px 28px 28px; }
.modal__body .form-group { margin-bottom: 14px; }
.modal__body .form-label { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.modal__body .form-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s; background: var(--bg); }
.modal__body .form-input:focus { border-color: var(--mint); background: white; }
.modal__textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s; resize: vertical; min-height: 90px; background: var(--bg); }
.modal__textarea:focus { border-color: var(--mint); background: white; }
.modal__btn { width: 100%; padding: 15px; background: var(--mint); color: var(--indigo); border: none; border-radius: var(--r-sm); font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .18s; margin-top: 4px; }
.modal__btn:hover { background: var(--mint-dark); transform: translateY(-1px); }
.modal__privacy { font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }
.modal__error { background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: var(--r-sm); padding: 10px 14px; font-size: 13px; color: #B91C1C; margin-bottom: 12px; line-height: 1.5; }
.modal__form-wrap.hidden { display: none; }
.modal__success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px; }
.modal__success.show { display: flex; }
.modal__success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,200,150,.12); border: 2px solid var(--mint); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.modal__success-icon svg { width: 32px; height: 32px; }
.modal__success h3 { font-size: 22px; font-weight: 800; color: var(--indigo); margin-bottom: 8px; }
.modal__success p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.modal__success-close { padding: 12px 28px; background: var(--indigo); color: white; border: none; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background .15s; }
.modal__success-close:hover { background: var(--indigo-mid); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .page-hero__card { max-width: 480px; }
  .steps::before { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-form { order: -1; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .burger { display: flex; }
  .header__cta .btn { display: none; }
  .hero { padding: 100px 0 60px; }
  .page-hero { padding: 92px 0 48px; }
  .page-hero__stats { gap: 24px; margin-top: 32px; }
  .hero__stats { gap: 24px; }
  .problem-grid, .services-grid, .pricing-grid, .cases-grid, .reviews-grid, .related-grid { grid-template-columns: 1fr; }
  .price-card--popular { transform: none; }
  .results-grid, .before-after { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .header__contacts { display: none; }
  .legal { padding: 24px 20px; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .page-hero__actions { flex-direction: column; }
  .page-hero__actions .btn { width: 100%; justify-content: center; }
  .page-hero__stats { flex-direction: column; gap: 16px; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .trust__items { gap: 16px; }
}
