/* =========================================================
   ФАРМРЕЗЕРВ — фармацевтическая компания
   Дизайн-система и стили сайта
   ========================================================= */

/* ---------- 1. Токены ---------- */
:root {
  --navy-950: #04122B;
  --navy-900: #071A38;
  --navy-800: #0B2450;
  --navy-700: #113163;
  --navy-600: #16407F;
  --blue-500: #2C6FD1;
  --blue-400: #4E90EA;
  --blue-200: #9FC0EA;

  --accent: #FF9F45;
  --accent-600: #F2801E;
  --mint: #2FD3AE;

  --ink: #0E1B2E;
  --muted: #5A6B84;
  --line: #E2E9F4;
  --bg: #F4F7FC;
  --white: #FFFFFF;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;

  --shadow-s: 0 4px 18px rgba(11, 36, 80, .07);
  --shadow: 0 18px 48px rgba(11, 36, 80, .12);
  --shadow-l: 0 34px 80px rgba(11, 36, 80, .18);

  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: 'Golos Text', 'Manrope', 'Segoe UI', Arial, sans-serif;
}

/* ---------- 2. База ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(1360px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding: clamp(48px, 5vw, 76px) 0; }
.section--gray { background: var(--bg); }
.section--navy {
  background: radial-gradient(1200px 600px at 15% -10%, #1B4B95 0%, transparent 60%), var(--navy-800);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--accent); }

.h1 { font-size: clamp(38px, 5.6vw, 76px); }
.h2 { font-size: clamp(30px, 3.6vw, 50px); }
.h3 { font-size: clamp(21px, 1.9vw, 27px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  line-height: 1.65;
}
.section--navy .lead { color: #BFD6F5; }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .h2 + .lead { margin-top: 20px; }
.section-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 720px; }

/* ---------- 3. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #24160A;
  box-shadow: 0 12px 30px rgba(242, 128, 30, .35);
}
.btn--accent:hover { box-shadow: 0 18px 38px rgba(242, 128, 30, .45); }

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(44, 111, 209, .3);
}
.btn--primary:hover { background: var(--navy-600); }

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }

.btn--outline {
  border: 1.5px solid var(--line);
  color: var(--navy-800);
  background: var(--white);
}
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-500); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--blue-500);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--navy .link-arrow { color: var(--accent); }

/* ---------- 4. Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 43, .55) 0%, rgba(4, 18, 43, 0) 100%);
  opacity: 1;
  transition: opacity .3s;
}
.header.is-solid { background: var(--navy-800); box-shadow: 0 8px 30px rgba(4, 18, 43, .28); height: 74px; }
.header.is-solid::before { opacity: 0; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(1360px, 100% - 48px);
  margin-inline: auto;
}
.header__logo img { width: 236px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  transition: color .2s;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--accent); }
.nav__link svg { transition: transform .25s var(--ease); opacity: .8; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.nav__drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 246px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop::before {
  content: '';
  position: absolute;
  top: -7px; left: 30px;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 3px;
}
.nav__drop a {
  position: relative;
  display: block;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-800);
  transition: background .2s, color .2s;
}
.nav__drop a:hover { background: var(--bg); color: var(--blue-500); }

.header__tools { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px;
  color: rgba(255, 255, 255, .9);
  padding: 8px 6px;
}
.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .9);
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

.burger { display: none; width: 44px; height: 44px; }
.burger span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--header-h) + 20px) 24px 40px;
  background: var(--navy-800);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-menu .sub a { font-size: 17px; font-weight: 500; color: var(--blue-200); padding-left: 16px; }
.mobile-menu .btn { margin-top: 26px; width: 100%; }

/* ---------- 5. Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  background: linear-gradient(160deg, #0A2A5E 0%, #071A38 55%, #04122B 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__map {
  position: absolute;
  top: 44%; left: 62%;
  width: min(1560px, 122%);
  transform: translate(-50%, -50%);
  opacity: .8;
  animation: map-float 26s ease-in-out infinite;
}
@keyframes map-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -53%) scale(1.035); }
}
/* затемнение слева, чтобы текстовый блок читался поверх карты */
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,18,43,.93) 0%, rgba(4,18,43,.8) 24%, rgba(4,18,43,.34) 46%, rgba(4,18,43,.04) 70%, rgba(4,18,43,.22) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 170, 240, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 170, 240, .07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .5;
}
.hero__glow--1 { top: -420px; right: -260px; background: radial-gradient(circle, rgba(47,211,174,.20), transparent 62%); }
.hero__glow--2 { bottom: -520px; left: -280px; background: radial-gradient(circle, rgba(255,159,69,.18), transparent 62%); }
.hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 50% 40%, transparent 20%, rgba(4,18,43,.75) 100%);
}
/* ширину задаёт .container — текст идёт по той же сетке, что и логотип в шапке */
.hero__inner { position: relative; z-index: 2; }

.hero__title {
  max-width: 16ch;
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-shadow: 0 6px 40px rgba(4, 18, 43, .5);
}
.hero__title span { color: var(--accent); }
.hero__sub {
  margin-top: 26px;
  max-width: 640px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: #C7DCF7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 7vw, 86px);
  max-width: 1180px;
}
.hero-card {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.hero-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.hero-card__num {
  font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--accent);
  letter-spacing: -.02em;
}
.hero-card__text { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: #D6E6FA; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 20px;
}
.hero__scroll::before {
  content: '';
  width: 4px; height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(-7px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

.hero__socials {
  position: absolute;
  right: 40px; bottom: 40px;
  z-index: 3;
  display: flex; gap: 12px;
}
.hero__socials a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  transition: transform .25s var(--ease), background .25s;
}
.hero__socials a:hover { transform: translateY(-4px); background: var(--accent); }

/* анимация карты */
.hero__map .routes path {
  stroke-dasharray: 7 9;
  animation: dash 2.4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -32; } }
.hero__map .city__pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.4s ease-out infinite;
  animation-delay: calc(var(--i) * .32s);
}
@keyframes node-pulse {
  0%   { transform: scale(.6); opacity: .8; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- 6. Внутренний хедер страницы ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  background: linear-gradient(140deg, #0F3572 0%, #0B2450 60%, #071A38 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero__deco {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 620px;
  opacity: .35;
  pointer-events: none;
}
.page-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120,170,240,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120,170,240,.06) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .lead { color: #C7DCF7; max-width: 720px; margin-top: 22px; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
}
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { opacity: .5; }

/* ---------- 7. Карточки и сетки ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(140deg, #EAF2FE, #D8E7FC);
  color: var(--blue-500);
}
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.card--accent .card__icon { background: linear-gradient(140deg, #FFEFDD, #FFDCB9); color: var(--accent-600); }
.card--mint .card__icon { background: linear-gradient(140deg, #DFF8F1, #C2F0E4); color: #17A98A; }

.card--dark {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  border-color: transparent;
  color: #fff;
}
.card--dark p { color: #BFD6F5; }
.card--dark .card__icon { background: rgba(255, 255, 255, .12); color: var(--accent); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 56, .3) 0%, rgba(7, 26, 56, .72) 46%, rgba(4, 18, 43, .96) 100%);
}
.tile__body { position: relative; z-index: 2; }
.tile__body p { margin-top: 10px; color: #C7DCF7; font-size: 15.5px; }
.tile--light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.tile--light::after { display: none; }
.tile--light p { color: var(--muted); }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px 28px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.stat__num {
  font-size: clamp(38px, 3.6vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, #FFFFFF 20%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.stat__label { margin-top: 14px; font-size: 15.5px; color: #BFD6F5; }
.section--gray .stat, .section:not(.section--navy) .stat { background: var(--white); border-color: var(--line); }
.section:not(.section--navy) .stat__num { background: linear-gradient(120deg, var(--navy-700) 10%, var(--blue-500) 100%); -webkit-background-clip: text; background-clip: text; }
.section:not(.section--navy) .stat__label { color: var(--muted); }

/* сплит-блок текст + медиа */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--rev .split__media { order: -1; }
.split__media img { border-radius: var(--radius-l); box-shadow: var(--shadow); }

.hex-media { position: relative; }
.hex-media img {
  clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0% 50%);
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.hex-media::before, .hex-media::after {
  content: '';
  position: absolute;
  border: 1.5px solid rgba(78, 144, 234, .35);
  clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0% 50%);
  pointer-events: none;
}
.hex-media::before { inset: -26px 42% 46% -34px; }
.hex-media::after  { inset: 52% -30px -24px 46%; }

/* маркированные списки */
.ticks { display: grid; gap: 16px; margin-top: 28px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.ticks li::before {
  content: '';
  flex: none;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(47, 211, 174, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317A98A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section--navy .ticks li::before { background-color: rgba(47, 211, 174, .2); }

/* нумерованные шаги */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* аккордеон */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--navy-800);
  transition: color .2s;
}
.acc__head:hover { color: var(--blue-500); }
.acc__ic {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--blue-500);
  transition: transform .3s var(--ease), background .25s, color .25s;
}
.acc__item.is-open .acc__ic { transform: rotate(45deg); background: var(--blue-500); color: #fff; }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__body > div { padding-bottom: 28px; color: var(--muted); max-width: 900px; }

/* вкладки */
.tabs { display: inline-flex; padding: 6px; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 100px; box-shadow: var(--shadow-s); }
.tabs button {
  padding: 13px 30px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--muted);
  transition: background .25s, color .25s;
}
.tabs button.is-active { background: var(--navy-700); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in .4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 8. Формы ---------- */
.form { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(78, 144, 234, .14);
}
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--blue-500); text-decoration: underline; }

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  padding: clamp(40px, 5vw, 68px);
  background: linear-gradient(135deg, #123C7E 0%, #0B2450 55%, #071A38 100%);
  color: #fff;
}
.cta__deco {
  position: absolute;
  right: -80px; top: -80px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 69, .28), transparent 65%);
}
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.cta .field label { color: #A9C6EC; }
.cta .field input, .cta .field textarea {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.cta .field input::placeholder, .cta .field textarea::placeholder { color: rgba(255,255,255,.45); }
.cta .form-note { color: #A9C6EC; }
.cta .form-note a { color: var(--accent); }

/* ---------- 9. Контакты ---------- */
.contact-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--accent-600); margin-top: 3px; }
.contact-list a:hover { color: var(--blue-500); }

.req-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.req-table th, .req-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.req-table th { width: 38%; font-weight: 500; color: var(--muted); padding-right: 24px; }
.req-table td { font-weight: 600; color: var(--navy-800); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--bg) url("../img/map-placeholder.svg") center/cover no-repeat;
}

/* ---------- 10. Подвал ---------- */
.footer {
  padding: clamp(56px, 6vw, 86px) 0 34px;
  background: var(--navy-950);
  color: #A9C6EC;
  font-size: 15.5px;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__logo img { width: 250px; margin-bottom: 22px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: 0; }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a:hover, .footer a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: #7897C4;
}
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .25s, transform .25s var(--ease);
}
.footer .socials a:hover { background: var(--accent); transform: translateY(-3px); }

/* ---------- 11. Появление при скролле ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 12. Адаптив ---------- */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .header__tools .lang, .header__tools .icon-btn { display: none; }
  .header__tools .btn { padding: 12px 22px; font-size: 15px; }
  .burger { display: block; }
  .header__logo img { width: 196px; }
  .hero__cards { grid-template-columns: 1fr; gap: 14px; }
  .hero__socials { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .cta__inner { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero__deco { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .grid--2, .grid--3, .grid--4, .stats, .steps { grid-template-columns: 1fr; }
  .card, .contact-card { padding: 26px; }
  .hero { padding-bottom: 90px; }
  .hero__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .req-table th { width: 46%; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 12px 10px; font-size: 15px; }
}
