/* ==========================================================================
   Стили сайта. Сначала мобильная версия, ниже — правки для больших экранов.
   Брейкпоинты: 768 (планшет), 1024 (ПК), 1024 + высота ≤ 820 (ноутбук).
   ========================================================================== */

:root {
  --primary: #0F172A;
  --accent: #0369A1;
  --accent-soft: #E0F2FE;
  --cta: #C2410C;
  --cta-hover: #9A3412;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --fg: #020617;
  --muted-fg: #475569;
  --border: #E2E8F0;
  --success: #15803D;
  --error: #B91C1C;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 40px rgba(15, 23, 42, .10);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* --- База --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--bg); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 25px; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 20px; font-weight: 700; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
section { padding: 44px 0; scroll-margin-top: 72px; }
.section-head { max-width: 720px; margin-bottom: 20px; }
.section-head p { color: var(--muted-fg); font-size: 16px; margin-top: 8px; }

.todo { background: #FEF3C7; color: #92400E; border-radius: 4px; padding: 0 4px; }  /* заглушки, заменить перед запуском */

/* --- Кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 0;
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(194, 65, 12, .25); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { background: var(--card); color: var(--primary); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Шапка --- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(248, 250, 252, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 20px var(--font-head); color: var(--primary); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--muted-fg); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: none; margin: 0 6px; font-weight: 600; color: var(--primary); text-decoration: none; white-space: nowrap; }
.header-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background-color .2s, color .2s; }
.header-icon:hover { background: var(--accent); color: #fff; }
.header-icon svg { width: 20px; height: 20px; }
.header-icon-phone { background: var(--cta); color: #fff; }  /* звонок — только на телефоне */
.header-icon-phone:hover { background: var(--cta-hover); color: #fff; }

/* --- Первый экран --- */
.hero {
  padding: 36px 0 44px;
  background:
    linear-gradient(to bottom, var(--bg) 330px, rgba(248, 250, 252, 0) 440px),
    url("hero-bg-mobile.webp") center 330px / 100% auto no-repeat,
    var(--bg);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-inner { max-width: 780px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero-theses { list-style: none; display: grid; gap: 12px; margin: 18px 0 22px; }
.hero-theses li { display: flex; gap: 14px; align-items: center; }
.thesis-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.thesis-icon svg { width: 22px; height: 22px; }
.hero-theses strong { display: block; font: 700 17px/1.3 var(--font-head); color: var(--primary); }
.hero-theses li span:not(.thesis-icon) { display: block; font-size: 14px; color: var(--muted-fg); }

/* Карточка УТП «0 ₽» — полупрозрачная, фон просвечивает */
.hero-card { border-radius: 18px; padding: 20px; }
.hero-usp {
  display: grid; gap: 8px;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 32px rgba(15, 23, 42, .08);
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
}
.usp-label { font: 800 20px/1.2 var(--font-head); color: var(--primary); }
.usp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-zero { font: 800 48px/1 var(--font-head); color: var(--success); }
.price-strike { font: 700 26px var(--font-head); color: #94A3B8; text-decoration: line-through 3px var(--cta); }
.usp-star { font: 700 26px var(--font-head); color: var(--cta); align-self: flex-start; margin-left: -10px; }
.usp-note { font-size: 11.5px; line-height: 1.45; color: #64748B; margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(148, 163, 184, .35); }

/* --- Общие карточки --- */
.grid-4 { display: grid; gap: 10px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.feature-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }

/* Список с зелёными галочками */
.feature-list { list-style: none; display: grid; gap: 6px; }
.feature-list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.4; color: var(--fg); }
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: 4px; width: 10px; height: 6px;
  border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg);
}

/* --- Как это работает --- */
#how { background: var(--card); border-top: 1px solid var(--border); }
#how .feature { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
#how .feature-icon { margin-bottom: 0; }
#how .feature h3 { font-size: 18px; margin: 0; }
#how .feature-list { grid-column: 1 / -1; margin-top: 10px; }

/* --- Тарифы --- */
#pricing { background: var(--bg); }
.pricing-grid { display: grid; gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-popular { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan-desc { color: var(--muted-fg); font-size: 15px; margin-top: 6px; }
.plan-price { margin: 10px 0 12px; font: 800 30px var(--font-head); color: var(--primary); }
.plan-price small { font: 500 16px var(--font-body); color: var(--muted-fg); }
.plan-inherit { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.plan ul { list-style: none; display: grid; align-content: start; gap: 6px; margin-bottom: 14px; flex-grow: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.plan li:has(use[href="#i-plus"]) svg { color: var(--accent); }
.pricing-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--muted-fg); }
.pricing-note svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* --- Опыт --- */
.case { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.exp-grid { display: grid; gap: 16px; }
.exp-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.exp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.exp-head .feature-icon { margin-bottom: 0; }
.exp-head h3 { font-size: 18px; margin: 0; }
.exp-stats { margin-top: 16px; }
.exp-stats-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 10px; }
.exp-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exp-stats-grid > div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.exp-stats-grid dt { font-family: var(--font-head); font-size: 22px; font-weight: 800; line-height: 1.15; color: var(--primary); white-space: nowrap; }
.exp-stats-grid dd { margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--fg); }
.exp-stats-grid > .exp-stat-accent { background: #FFF7ED; border-color: #FED7AA; }
.exp-stat-accent dt { color: var(--cta); }
.exp-stats-src { margin-top: 10px; font-size: 12px; color: var(--muted-fg); }
.niches-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.niches-title { width: 100%; font-size: 16px; }
.niches { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.niches li { background: var(--accent-soft); color: var(--primary); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.niches li:last-child { background: none; color: var(--muted-fg); padding-left: 4px; }

/* --- Этапы: на телефоне — лента с линией --- */
#steps { background: #EEF4FA; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 12px 0 18px 52px; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 14px var(--font-head);
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 46px; bottom: -6px; width: 2px; background: #CBD5E1; }
.step h3 { font-size: 16px; }
.step p { color: var(--muted-fg); font-size: 14px; margin-top: 2px; }
.step-day { display: inline-block; font: 700 12px var(--font-body); color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.step:last-child .step-day { background: #DCFCE7; color: var(--success); }

/* --- Вопросы и заявка --- */
.contact { background: var(--primary); }
.contact h2 { color: #fff; }
.contact .section-head p { color: #CBD5E1; }
.contact-grid { display: grid; gap: 16px; }

.faq { display: grid; gap: 8px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; position: relative; min-height: 44px; padding: 14px 48px 14px 16px; font: 700 15px var(--font-head); color: var(--primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 16px 16px; font-size: 15px; color: var(--muted-fg); }

.contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contact-link {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background-color .2s;
}
.contact-link:hover { background: rgba(255, 255, 255, .12); }
.contact-link svg { width: 20px; height: 20px; color: #7DD3FC; flex-shrink: 0; }
.contact-link small { display: none; }
.contact-link strong { font-size: 15px; font-weight: 600; }

/* Форма */
.form-card { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p { color: var(--muted-fg); font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--primary); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px;
  font: 16px var(--font-body); color: var(--fg); background: #fff; transition: border-color .2s;
}
.field input:hover, .field select:hover { border-color: #94A3B8; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-hint { display: none; font-size: 13px; color: var(--muted-fg); margin-top: 4px; }
.field-error { display: none; font-size: 13px; color: var(--error); margin-top: 4px; }
.field-error.show { display: block; }
.consent-error { margin: -12px 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted-fg); margin: 4px 0 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* ловушка для ботов */
.form-free { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-free svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-card > p.form-legal { font-size: 12px; line-height: 1.45; margin: 10px 0 0; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form-status.ok { display: block; background: #DCFCE7; color: var(--success); }
.form-status.err { display: block; background: #FEE2E2; color: var(--error); }

/* --- Подвал --- */
.footer { background: #020617; color: #94A3B8; padding: 32px 0; font-size: 14px; }
.footer .container { display: grid; gap: 12px; }
.footer a { color: #CBD5E1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Плашка cookie --- */
.cookie-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 100; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px;
  background: rgba(15, 23, 42, .96); color: #E2E8F0; border-radius: 16px; box-shadow: 0 12px 40px rgba(15, 23, 42, .25);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 13px; line-height: 1.45; }
.cookie-bar a { color: #7DD3FC; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { flex: 1; min-height: 40px; padding: 8px 16px; font-size: 14px; }
.cookie-bar .btn-ghost { background: transparent; color: #CBD5E1; border-color: rgba(255, 255, 255, .25); }
.cookie-bar .btn-ghost:hover { color: #fff; border-color: #fff; }

/* --- Появление блоков при прокрутке --- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s ease-out, transform .35s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Узкие телефоны (до 480)
   ========================================================================== */
@media (max-width: 480px) {
  .header-actions { gap: 6px; }
  .header-icon { width: 40px; height: 40px; border-radius: 10px; }
}

/* ==========================================================================
   Плашка cookie в строку (от 641)
   ========================================================================== */
@media (min-width: 641px) {
  .cookie-bar { left: 16px; right: 16px; bottom: 16px; flex-direction: row; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; }
  .cookie-bar p { font-size: 14px; }
  .cookie-actions .btn { flex: none; }
}

/* ==========================================================================
   Планшет и шире (от 768)
   ========================================================================== */
@media (min-width: 768px) {
  h2 { font-size: clamp(26px, 4.4vw, 38px); }
  section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 18px; margin-top: 12px; }
  .header-phone { display: inline; }
  .header-icon-phone { display: none; }

  .hero { padding: 48px 0 64px; background: var(--bg) url("hero-bg.webp") right center / cover no-repeat; }
  .hero-grid { gap: 40px; }
  .hero-theses { gap: 14px; margin: 24px 0 28px; }
  .thesis-icon { width: 44px; height: 44px; }
  .hero-theses strong { font-size: 19px; }
  .hero-theses li span:not(.thesis-icon) { font-size: 15px; }
  .hero-card { border-radius: 24px; padding: 28px; }
  .usp-label { font-size: 24px; }
  .price-zero { font-size: 64px; }
  .price-strike { font-size: 34px; }
  .usp-note { font-size: 12px; }

  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature { border-radius: var(--radius); padding: 24px; }
  .feature-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
  .feature-icon svg { width: 24px; height: 24px; }
  .feature-list { gap: 8px; }
  .feature-list li { padding-left: 26px; font-size: 15px; }
  .feature-list li::before { width: 14px; height: 8px; border-width: 2.5px; }
  #how .feature { display: block; }
  #how .feature-icon { margin-bottom: 16px; }
  #how .feature h3 { font-size: 21px; margin-bottom: 10px; }
  #how .feature-list { margin-top: 0; }

  .pricing-grid { gap: 20px; }
  .plan { padding: 28px; }
  .plan-desc { min-height: 48px; }
  .plan-price { margin: 20px 0; font-size: 36px; }
  .plan ul { gap: 12px; margin-bottom: 24px; }
  .plan li { font-size: 15px; line-height: 1.6; }
  .pricing-note { margin-top: 28px; padding: 20px 24px; font-size: 15px; }

  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-card { padding: 20px 24px; }
  .exp-head h3 { font-size: 21px; }
  .niches-row { margin-top: 20px; }
  .niches-title { width: auto; font-size: 17px; }
  .niches li { padding: 8px 14px; font-size: 14px; }
  .niches li:last-child { padding-left: 4px; }

  .steps { gap: 16px; }
  .step { padding: 24px 24px 24px 76px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
  .step::before { left: 24px; top: 24px; width: 36px; height: 36px; font-size: 16px; }
  .step:not(:last-child)::after { content: none; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; margin-top: 6px; }
  .step-day { font-size: 13px; padding: 4px 12px; margin-bottom: 10px; }

  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
  .faq summary { padding: 20px 56px 20px 24px; font-size: 17px; }
  .faq summary::after { right: 24px; }
  .faq details p { padding: 0 24px 20px; font-size: 16px; }
  .form-card { padding: 28px; }
  .field-hint { display: block; }
}

/* ==========================================================================
   ПК (от 1024)
   ========================================================================== */
@media (min-width: 1024px) {
  .container { max-width: 1200px; padding: 0 24px; }
  h2 { font-size: 32px; }
  section { padding: 64px 0; }
  .section-head { max-width: 900px; margin-bottom: 28px; }
  .exp-stats-grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
  .section-head p { font-size: 17px; margin-top: 8px; }
  .nav { display: flex; }

  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
  .hero-inner h1 { font-size: 52px; }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 20px; }

  #pricing .container { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "cards cards" "note note"; column-gap: 32px; align-items: end; }
  #pricing .section-head { grid-area: head; }
  #pricing .pricing-grid { grid-area: cards; }
  #pricing .pricing-note { grid-area: note; gap: 6px; margin: 16px 0 0; padding: 12px 18px; font-size: 13.5px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .plan { padding: 22px 24px; }
  .plan-desc { min-height: 0; font-size: 14px; }
  .plan-price { margin: 12px 0 14px; font-size: 30px; }
  .plan ul { gap: 7px; margin-bottom: 14px; }
  .plan li { font-size: 14.5px; line-height: 1.45; }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 22px; }
  .step::before { position: static; display: inline-grid; margin: 0 10px 10px 0; vertical-align: middle; width: 32px; height: 32px; font-size: 14px; }
  .step h3 { font-size: 19px; }

  /* Вопросы и форма — колонки одной высоты */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
  .contact-grid > div:first-child { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
  .contact-links { margin-top: 0; }
  .faq summary { padding: 15px 52px 15px 18px; font-size: 16px; }
  .form-card { display: flex; flex-direction: column; padding: 22px 24px; }
  .form-card > p { margin-bottom: 14px; }
  .form-card > p:first-of-type { margin-bottom: 18px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .field input, .field select { min-height: 52px; }
  .field-hint { display: none; }
  .check { margin: 2px 0 14px; }
  .form-card .form-free { margin-top: auto; }
}

/* Средние экраны: меню не помещается — прячем, остаются иконки и телефон */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav { display: none; }
}

/* ==========================================================================
   Невысокий ПК / ноутбук (от 1024, высота ≤ 820): каждый блок в один экран
   ========================================================================== */
@media (min-width: 1024px) and (max-height: 820px) {
  h2 { font-size: 28px; }
  section { padding: 36px 0; }
  .section-head { margin-bottom: 16px; }
  .section-head p { font-size: 16px; }
  .btn { min-height: 44px; padding: 10px 20px; }

  .hero { padding: 56px 0 64px; }
  .hero-inner h1 { font-size: 46px; }
  .hero-theses { gap: 10px; margin: 18px 0 22px; }

  .plan { padding: 18px 22px; }
  .plan-desc { margin-top: 2px; }
  .plan-price { margin: 6px 0 8px; font-size: 28px; }
  .plan ul { gap: 4px; }
  .plan li { line-height: 1.4; }
}
