/* МедИнтегро — демо посадочных */
:root {
  --blue-950: #06233d;
  --blue-900: #0b2c4a;
  --blue-800: #12406a;
  --blue-700: #1b6bb5;
  --blue-600: #2180d4;
  --blue-500: #3b97e6;
  --blue-400: #6bb4ef;
  --blue-100: #e8f3fc;
  --blue-50: #f3f8fd;
  --ink: #15202b;
  --ink-soft: #3d4d5c;
  --muted: #6a7a8a;
  --line: #d7e2ec;
  --paper: #ffffff;
  --paper-soft: #f6f9fc;
  --ok: #1f7a4d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(11, 44, 74, 0.1);
  --shadow-sm: 0 8px 24px rgba(11, 44, 74, 0.08);
  --header-h: 72px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
button, input, select, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 0.55em; font-weight: 700; color: var(--blue-900); }
h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(215, 226, 236, 0.85);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img { width: min(200px, 52vw); height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.nav a:hover,
.nav a.is-active { color: var(--blue-800); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--blue-700); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 10px 28px rgba(27, 107, 181, 0.32);
}

.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(27, 107, 181, 0.4); }

.btn-secondary {
  background: #fff;
  color: var(--blue-800);
  border-color: rgba(27, 107, 181, 0.35);
}

.btn-secondary:hover { background: var(--blue-50); color: var(--blue-900); }

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: auto;
  padding: 0.4rem 0.2rem;
}

.btn-ghost:hover { color: var(--blue-700); transform: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ——— Hero: слева текст, справа фото, дуга-разделитель ——— */
.hero {
  --hero-curve: 12%;
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 72vh, 620px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 151, 230, 0.07), transparent 32%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f7fc 100%);
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Текст ближе к центру экрана, не к левому краю */
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2.25rem, 5vw, 4rem) clamp(12%, 18vw, 9.5rem);
  max-width: none;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(27, 107, 181, 0.13) 1.15px, transparent 1.15px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.35rem;
  animation: rise 0.7s var(--ease) both;
}

.hero__brand-name {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--blue-800);
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
  display: inline-block;
  width: fit-content;
  padding-top: 0.55em;
}

.hero__brand-name::before {
  content: "";
  position: absolute;
  left: 0;
  width: 118%;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4BA3E3 0%, #1B6BB5 55%, transparent 100%);
}

.hero__brand-sub {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.75s 0.08s var(--ease) both;
  max-width: 20ch;
}

.hero h1 .accent {
  color: var(--blue-600);
}

.hero__lead {
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  max-width: 36ch;
  margin-bottom: 1.55rem;
  color: var(--ink-soft);
  animation: rise 0.75s 0.14s var(--ease) both;
}

.hero .btn-row {
  animation: rise 0.75s 0.2s var(--ease) both;
  gap: 0.7rem 0.85rem;
}

.hero__media {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.hero__media-photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--hero-curve) 0, 100% 0, 100% 100%, 0 100%);
}

.hero__media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  display: block;
}

.hero__media-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(242, 247, 252, 0.98) 0%,
    rgba(242, 247, 252, 0.35) 7%,
    transparent 18%
  );
  clip-path: polygon(var(--hero-curve) 0, 100% 0, 100% 100%, 0 100%);
}

.hero__curve {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__curve svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero__badge {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: 11%;
  width: clamp(138px, 17vw, 172px);
  height: clamp(138px, 17vw, 172px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, #eef6fc 100%);
  border: 2px solid rgba(59, 151, 230, 0.65);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.72),
    0 0 0 9px rgba(59, 151, 230, 0.18),
    0 14px 36px rgba(27, 107, 181, 0.22);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem 0.85rem;
  animation: pulse-glow 4.5s ease-in-out infinite;
}

.hero__badge strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.hero__badge span {
  display: block;
  font-size: 0.66rem;
  line-height: 1.28;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__callout {
  position: absolute;
  z-index: 4;
  right: 5%;
  top: 12%;
  max-width: 13.5rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(215, 226, 236, 0.95);
  border-left: 3px solid var(--blue-500);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(11, 44, 74, 0.12);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--blue-900);
  line-height: 1.35;
  animation: rise 0.9s 0.35s var(--ease) both;
  backdrop-filter: blur(6px);
}

.hero--compact { min-height: clamp(420px, 64vh, 560px); }
.hero--corsets .hero__media-photo img { object-position: 60% center; }

/* ——— Media blocks ——— */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.media-split--rev > .media-frame { order: 2; }
.media-split--rev > .media-copy { order: 1; }

.media-copy { min-width: 0; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-50);
  aspect-ratio: 16 / 10;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}

.gallery-3 {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.85rem;
}

.gallery-3 .media-frame {
  aspect-ratio: 4 / 3;
  min-height: 160px;
}

.gallery-3 .media-frame:first-child {
  grid-row: 1 / 3;
  aspect-ratio: auto;
  height: 100%;
  min-height: 300px;
}

.caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,0.65), 0 0 22px rgba(59,151,230,0.28), var(--shadow-sm); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0.75), 0 0 36px rgba(59,151,230,0.45), var(--shadow-sm); }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section--soft { background: var(--paper-soft); }
.section--blue {
  background:
    linear-gradient(160deg, #0d3558 0%, #12406a 48%, #1b5f96 100%);
  color: #fff;
}

.section--blue h2,
.section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255,255,255,0.86); }

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.section--blue .eyebrow { color: var(--blue-400); }

/* ——— Split / fork ——— */
.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.fork-card {
  position: relative;
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.fork-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.fork-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-800));
}

.fork-card__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.fork-card p { margin-bottom: 1.15rem; }
.fork-card .for-whom {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ——— Route chips ——— */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.route-chip {
  display: block;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.route-chip:hover {
  border-color: rgba(27, 107, 181, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.route-chip strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.route-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.route-chip--wide { grid-column: 1 / -1; background: var(--blue-50); border-color: rgba(27,107,181,0.22); }

/* ——— Why / vertical ——— */
.vertical {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.steps-rail {
  display: grid;
  gap: 0;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
}

.step-item + .step-item { border-top: 1px dashed var(--line); }

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
}

.step-item strong { display: block; color: var(--blue-900); margin-bottom: 0.15rem; }
.step-item span { color: var(--muted); font-size: 0.92rem; }

.fact-panel {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, var(--blue-50));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.fact-panel dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.fact-panel dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.fact-panel dd {
  margin: 0;
  color: var(--blue-900);
  font-weight: 700;
}

/* ——— Feature cards ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.feature__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--blue-100);
  color: var(--blue-700);
}

.feature__icon svg { width: 22px; height: 22px; }

.feature h3 { margin-bottom: 0.4rem; }
.feature p { font-size: 0.95rem; }

/* ——— Branches ——— */
.branch-grid {
  display: grid;
  gap: 1rem;
}

.branch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.15rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.branch__mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.85rem;
}

.branch h3 { margin-bottom: 0.3rem; }
.branch p { margin: 0; font-size: 0.95rem; }

/* ——— Passport ——— */
.passport {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.passport-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.passport-sheet__head {
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, var(--blue-800), var(--blue-600));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.passport-sheet ul {
  list-style: none;
  padding: 0.5rem 0;
}

.passport-sheet li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #eef3f8;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.passport-sheet li:last-child { border-bottom: 0; }

.passport-sheet li i {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-style: normal;
  font-weight: 800;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}

/* ——— Two columns ——— */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}

.panel--ok { border-color: rgba(31, 122, 77, 0.25); background: #f4faf7; }
.panel--muted { background: var(--paper-soft); }

.panel h3 { margin-bottom: 0.75rem; }
.panel ul { list-style: none; }
.panel li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
}

.panel--ok li::before { background: var(--ok); }

/* ——— Timeline ——— */
.timeline {
  display: grid;
  gap: 0;
  counter-reset: step;
  min-width: 0;
  width: 100%;
}

.timeline-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.35rem;
  position: relative;
  min-width: 0;
}

/* Номер — первый элемент сетки (::before идёт до контента) */
.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-500);
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Вертикальная линия между шагами */
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-400), transparent);
  z-index: 0;
}

.timeline-item > * {
  min-width: 0;
}

.timeline-item strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 0.2rem;
}

.timeline-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
  position: relative;
  padding-right: 2.75rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  font-size: 0.96rem;
}

/* ——— Form ——— */
.form-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.form-card {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea { min-height: 96px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 151, 230, 0.18);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
}

.consent input { margin-top: 0.25rem; accent-color: var(--blue-600); }

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #eef8f2;
  border: 1px solid rgba(31, 122, 77, 0.25);
  color: var(--ok);
  font-weight: 600;
}

.form-card.is-sent .form-grid,
.form-card.is-sent .btn,
.form-card.is-sent .form-note { display: none; }
.form-card.is-sent .form-success { display: block; }

/* ——— Contacts ——— */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list a { font-weight: 700; text-decoration: none; color: var(--blue-900); }
.contact-list a:hover { color: var(--blue-700); }

.map-placeholder {
  min-height: 280px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(27,107,181,0.08), rgba(27,107,181,0.02)),
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(27,107,181,0.04) 24px, rgba(27,107,181,0.04) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(27,107,181,0.04) 24px, rgba(27,107,181,0.04) 25px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-soft);
}

.map-placeholder strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

/* ——— People ——— */
.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.person {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.person__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--blue-100), #cfe4f7);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue-800);
}

.person strong { display: block; color: var(--blue-900); }
.person span { color: var(--muted); font-size: 0.88rem; }

/* ——— Footer ——— */
.site-footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.78);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.site-footer a { color: rgba(255,255,255,0.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.disclaimer {
  max-width: 52rem;
  line-height: 1.45;
}

/* ——— Floating CTA ——— */
.float-cta {
  position: fixed;
  z-index: 90;
  left: 0; right: 0; bottom: 0;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(11,44,74,0.1);
}

.float-cta .btn { flex: 1; min-height: 46px; border-radius: 14px; }

/* ——— Utility ——— */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-sm { font-size: 0.92rem; }
.muted { color: var(--muted); }
.highlight-box {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}

.section--blue .highlight-box p { color: rgba(255,255,255,0.9); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  list-style: none;
}

.pill-list li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.link-row a { font-weight: 700; }

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    order: -1;
    min-height: 300px;
    aspect-ratio: 16 / 11;
  }

  .hero__media-photo {
    position: absolute;
    clip-path: none;
  }

  .hero__media-fade {
    clip-path: none;
    background: linear-gradient(180deg, transparent 45%, rgba(242, 247, 252, 0.92) 88%, #f2f7fc 100%);
  }

  .hero__curve { display: none; }

  .hero__copy {
    padding: 0.35rem 1.25rem 2.25rem;
  }

  .hero__badge {
    left: auto;
    right: 0.85rem;
    bottom: auto;
    top: 0.85rem;
    width: 108px;
    height: 108px;
  }

  .hero__callout { display: none; }

  .fork,
  .vertical,
  .passport,
  .two-col,
  .form-block,
  .contacts-grid,
  .feature-grid,
  .people,
  .footer-grid,
  .media-split,
  .gallery-3 {
    grid-template-columns: 1fr;
  }

  .media-split--rev > .media-frame,
  .media-split--rev > .media-copy { order: initial; }

  .gallery-3 .media-frame:first-child {
    grid-row: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .route-grid { grid-template-columns: 1fr; }
  .route-chip--wide { grid-column: auto; }

  .branch {
    grid-template-columns: auto 1fr;
  }

  .branch .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .header-phone { display: none; }
  .header-actions .btn { display: none; }

  .float-cta { display: flex; }
  body { padding-bottom: 76px; }

  .form-row-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
