/* ========== TOKENS ========== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-dark: #0b2545;
  --bg-darker: #081b34;
  --ink: #0e1726;
  --ink-soft: #475569;
  --ink-mute: #6b7689;
  --line: #e3e8f0;
  --line-soft: #eef2f7;
  --primary: #0b2545;
  --primary-soft: #133a6b;
  --accent: #c8102e;
  --accent-2: #ff3b3b;
  --accent-soft: #fff1f2;
  --gold: #c89c4b;
  --success: #1f9d6f;
  --warn-bg: #fff7ed;
  --warn-border: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16), 0 6px 18px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1180px;
  --gutter: 24px;
  --tr: 0.2s ease;
}

/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { color: var(--ink-soft); margin-bottom: 0.4em; }
.muted { color: var(--ink-mute); font-weight: 400; }

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.32);
}
.btn--primary:hover { background: #a50d26; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(200, 16, 46, 0.4); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-alt); color: var(--primary); border-color: var(--line); transform: translateY(-1px); }

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}
.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.logo__text small { font-size: 0.72rem; color: var(--ink-mute); }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--accent); }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: rgba(255,255,255,0.7); }

.nav { flex: 1; }
.nav__list {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.nav__list a {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--tr), color var(--tr);
}
.nav__list a:hover { background: var(--bg-alt); color: var(--primary); }

/* Dropdown */
.nav__list > li { position: relative; }
.nav__list > li.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__list > li.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--tr);
  margin-left: 2px;
}
.nav__list > li.has-dropdown:hover > a::after,
.nav__list > li.has-dropdown.is-open > a::after { transform: rotate(225deg) translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  z-index: 60;
  list-style: none;
  margin: 0;
}
.nav__list > li.has-dropdown:hover .dropdown,
.nav__list > li.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--ink-soft) !important;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-alt) !important; color: var(--primary) !important; }
.dropdown a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background var(--tr), transform var(--tr);
}
.header__phone:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 4px auto;
  width: 22px;
  transition: transform var(--tr), opacity var(--tr);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(200, 16, 46, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(11, 37, 69, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(31,157,111,0.18);
}
.hero__title { margin-bottom: 16px; }
.hero__title .accent { color: var(--accent); }
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__bullets {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0;
}
.hero__bullets svg { color: var(--success); flex-shrink: 0; }

.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
}
.hero__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(200,16,46,0.4), rgba(11,37,69,0.4));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.card__time { font-size: 0.9rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.card__time-sub { color: var(--ink-mute); font-weight: 500; }
.card__time-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,111,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(31,157,111,0); }
}
.card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card__phones { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.card__phone {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color var(--tr), transform var(--tr);
}
.card__phone:hover { border-color: var(--accent); transform: translateX(2px); color: var(--ink); }
.card__phone--lg {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;
  border-color: transparent;
}
.card__phone--lg:hover { color: #fff; }
.card__phone-label { font-size: 0.74rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.card__phone--lg .card__phone-label { color: rgba(255,255,255,0.7); }
.card__phone-num { font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 800; margin-top: 2px; }
.card__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.card__hint svg { color: var(--success); flex-shrink: 0; }

/* ========== SECTIONS ========== */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,16,46,0.18), transparent 70%);
  pointer-events: none;
}
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--left { text-align: left; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: rgba(255,255,255,0.78); }
.section__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section__lead { font-size: 1.05rem; color: var(--ink-soft); }

/* ========== SERVICES ========== */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.service__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.service__link:hover ~ .service__icon,
.service:hover .service__icon { transform: scale(1.05); }
.service__icon { transition: transform var(--tr); }
.service--red {
  background: linear-gradient(160deg, #fff 60%, var(--accent-soft));
  border-color: rgba(200, 16, 46, 0.18);
}
.service--red:hover { border-color: var(--accent); }
.service__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.service--red .service__icon { background: var(--accent); }
.service h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 14px; }
.service ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.service ul li {
  font-size: 0.85rem;
  color: var(--ink-mute);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.service ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========== PRICES ========== */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.prices th, .prices td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--line-soft);
}
.prices thead th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.3;
  border-bottom: 2px solid var(--line);
}
.prices tbody td { color: var(--ink); font-weight: 500; }
.prices .row--alt td { background: #fafbfd; }
.prices .row--head td {
  background: var(--primary);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.92rem;
}
.prices .row--divider td { background: var(--bg-alt); height: 6px; padding: 0; }
.prices .row--tax td { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.prices .cell--reg { background: rgba(11,37,69,0.04); font-weight: 600; }
.cell--reg .muted { display: block; margin-top: 4px; font-size: 0.78rem; }

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink);
  white-space: nowrap;
}
.chip--hot { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.chip--fire { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip--soft { background: var(--primary); border-color: var(--primary); color: #fff; }

/* docs */
.docs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.docs summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.docs summary::-webkit-details-marker { display: none; }
.docs__chev { color: var(--accent); transition: transform var(--tr); }
.docs[open] .docs__chev { transform: rotate(180deg); }
.docs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.docs__col h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 8px; }
.docs__col ul { list-style: none; padding: 0; }
.docs__col ul li {
  font-size: 0.85rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.docs__col ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.note {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.note__icon { color: var(--warn-border); padding-top: 2px; }
.note__body p { font-size: 0.9rem; margin-bottom: 8px; }
.note__body p:last-child { margin-bottom: 0; }

.also { display: flex; }
.also__card {
  position: relative;
  display: block;
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--bg-darker));
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--tr);
}
.also__card:hover { transform: translateY(-2px); color: #fff; }
.also__card h3 { color: #fff; font-size: 1.5rem; }
.also__card p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 480px; }
.also__badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.also__arrow {
  position: absolute;
  right: 28px; bottom: 28px;
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  transition: transform var(--tr), color var(--tr);
}
.also__card:hover .also__arrow { transform: translateX(4px); color: var(--accent); }

/* ========== PROCESS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
  z-index: 1;
  transition: transform var(--tr), box-shadow var(--tr);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(11,37,69,0.25);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ========== CASES (DARK) ========== */
.cases {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  z-index: 1;
}
.cases__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.cases__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  margin: 0;
}
.check {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

/* ========== TWO COL ========== */
.two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 24px 0 12px;
}
.grounds {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.grounds li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  font-size: 0.92rem;
  margin: 0;
}
.grounds li::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  background-image:
    linear-gradient(135deg, var(--primary), var(--primary-soft)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.grounds--rows li { padding-left: 16px; }
.grounds--rows li::before { display: none; }
.grounds--rows li { padding-left: 16px; }
.text-block { font-size: 1rem; color: var(--ink-soft); margin-top: 20px; }

.warn {
  background: #fff;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.warn__head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.warn__icon { color: var(--warn-border); }
.warn h3 { color: var(--accent); font-size: 1.05rem; margin: 0; }
.warn ul { list-style: none; padding: 0; margin: 0; }
.warn ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--line);
  margin: 0;
}
.warn ul li:last-child { border-bottom: none; }
.warn ul li::before {
  content: '×';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  display: grid; place-items: center;
  background: var(--warn-border);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.7rem;
}

.popular {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.popular h3 { font-size: 1rem; color: var(--primary); margin-bottom: 12px; }
.popular ul { list-style: none; padding: 0; margin: 0; }
.popular ul li { padding: 0; margin: 0; border-bottom: 1px dashed var(--line); }
.popular ul li:last-child { border-bottom: none; }
.popular ul li a {
  display: block;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color var(--tr), padding var(--tr);
}
.popular ul li a::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
.popular ul li a:hover { color: var(--primary); padding-left: 4px; }

/* ========== CONTACTS ========== */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: stretch;
}
.contacts__phones { display: flex; flex-direction: column; gap: 12px; }
.contact-phone {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color var(--tr), transform var(--tr);
}
.contact-phone:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--ink); }
.contact-phone__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); font-weight: 600; }
.contact-phone__num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.3rem; margin-top: 4px; }
.contact-phone--main {
  background: linear-gradient(135deg, var(--accent), #a50d26);
  border-color: transparent;
  color: #fff;
}
.contact-phone--main:hover { color: #fff; border-color: transparent; }
.contact-phone--main .contact-phone__label { color: rgba(255,255,255,0.8); }
.contacts__hours {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contacts__hours b { color: var(--ink); }
.contacts__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  min-height: 360px;
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-darker);
  color: #fff;
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__about { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 0.9rem; }
.footer__nav h4, .footer__contacts h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.footer__nav ul, .footer__contacts { list-style: none; padding: 0; }
.footer__nav ul li { padding: 0; margin: 0; }
.footer__nav ul li a { color: rgba(255,255,255,0.75); font-size: 0.92rem; padding: 6px 0; display: inline-block; }
.footer__nav ul li a:hover { color: #fff; }
.footer__contacts a { display: block; color: rgba(255,255,255,0.85); font-weight: 700; font-size: 1rem; padding: 6px 0; }
.footer__contacts a:hover { color: var(--accent); }
.footer__contacts p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 12px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom small { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.footer__bottom .muted { color: rgba(255,255,255,0.4); }

/* ========== FAB ========== */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(200,16,46,0.4);
  z-index: 40;
  transition: transform var(--tr);
}
.fab:hover { transform: scale(1.05); color: #fff; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: var(--bg-alt);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--ink-soft);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden], .breadcrumb span:not([aria-hidden]):last-child {
  color: var(--ink);
  font-weight: 600;
}
.breadcrumb > .container > span:nth-child(2) {
  color: var(--ink-mute);
}

/* ========== PAGE HERO (subpages) ========== */
.page-hero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(200,16,46,0.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #a50d26);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(200,16,46,0.3);
}
.page-hero__icon svg { width: 36px; height: 36px; }
.page-hero h1 {
  max-width: 800px;
  margin: 0 auto 16px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}
.page-hero__sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 28px;
}
.page-hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== ARTICLE (subpage body) ========== */
.article {
  padding: clamp(48px, 6vw, 80px) 0;
}
.article__body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.article-section { margin-bottom: 28px; }
.article-section:last-child { margin-bottom: 0; }
.article-h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
  letter-spacing: -0.01em;
}
.article-h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}
.article__body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.article__body p:last-child { margin-bottom: 0; }
.article__body p strong, .article__body p b { color: var(--ink); font-weight: 700; }
.article-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}
.article-list li {
  position: relative;
  padding: 12px 16px 12px 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.article-list li::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  background-image:
    linear-gradient(135deg, var(--primary), var(--primary-soft)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.article__cta {
  margin-top: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary), var(--bg-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article__cta::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,16,46,0.4), transparent 70%);
  pointer-events: none;
}
.article__cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; position: relative; }
.article__cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; position: relative; }
.article__cta .btn { position: relative; }

/* Subpage sidebar */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.contact-card .contact-phone { margin-bottom: 10px; }
.contact-card .contacts__hours { margin-top: 12px; }

.other-pages {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.other-pages h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.other-pages ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.other-pages ul li { padding: 0; margin: 0; border-bottom: 1px dashed var(--line); }
.other-pages ul li:last-child { border-bottom: none; }
.other-pages ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color var(--tr), padding var(--tr);
}
.other-pages ul li a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.other-pages ul li a:hover { color: var(--primary); padding-left: 4px; }
.other-pages__btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
}
.other-pages__btn:hover { background: var(--accent); color: #fff; }

@media (max-width: 1024px) {
  .article .two-col { grid-template-columns: 1fr; }
  .article .two-col__side { order: -1; }
}
@media (max-width: 560px) {
  .article__body { padding: 20px; }
  .article__cta { padding: 24px 20px; }
  .page-hero { padding: 36px 0 28px; }
}

/* ========== REVEAL ANIMATION ========== */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 480px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .cases__list { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 49;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.is-open .nav__list a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .nav.is-open .nav__list > li.has-dropdown > a::after { display: none; }
  .nav.is-open .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-alt);
    padding: 4px 0 4px 12px;
    margin-top: 4px;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    border-radius: var(--radius-sm);
  }
  .nav.is-open .nav__list > li.has-dropdown.is-open .dropdown { display: block; }
  .nav.is-open .dropdown a {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
  }
  .hero__bullets { grid-template-columns: 1fr; gap: 8px; }
  .hero__card { padding: 22px; }
  .prices { font-size: 0.82rem; }
  .prices th, .prices td { padding: 10px 6px; }
  .cases { padding: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  /* mobile table -> cards */
  .table-wrap { background: transparent; border: none; box-shadow: none; }
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tr, .prices td { display: block; width: 100%; }
  .prices tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
  }
  .prices tr.row--alt { background: #fff; }
  .prices td {
    text-align: left;
    border-bottom: 1px dashed var(--line-soft);
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .prices td:last-child { border-bottom: none; }
  .prices td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ink-mute);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .prices .row--head td, .prices .row--divider td { display: none; }
  .cell--reg .muted { display: inline; margin-left: 6px; }
}