/* ═══════════════════════════════════════════════════════════════
   ALLMIR Medical — прототип лендинга v2 «светлый и сочный»
   Белый фон + мятные/персиковые подложки, живые фото, сочный teal
   с градиентом, коралловый акцент, жирный гротеск Manrope,
   карточки со скруглениями и мягкими цветными тенями.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;
  --mint-bg:   #EFF8F7;
  --peach-bg:  #FFF3ED;
  --ink:       #0B2B33;
  --muted:     #55707A;
  --line:      #E3EDEC;

  --teal:      #0CA6AD;
  --teal-dark: #078A91;
  --teal-deep: #0A6E74;
  --grad:      linear-gradient(120deg, #0CA6AD, #2EC5CE);
  --mint:      #D9F1EF;
  --coral:     #FF6B4A;
  --coral-dark:#F05430;
  --peach:     #FFE1D5;

  --dark:      #07272E;

  --font: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter:    clamp(20px, 4vw, 40px);
  --r:         20px;
  --r-lg:      28px;

  --shadow:      0 14px 40px rgba(9, 96, 105, .10);
  --shadow-hover:0 20px 52px rgba(9, 96, 105, .16);
}

/* ── База ─────────────────────────────────────────────────────── */

*, *::before, *::after { 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(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* страховка: случайный выступ не даёт странице горизонтальный скролл */
}

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
sup { font-size: .6em; }

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

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-mint { background: var(--mint-bg); }

#quiz, #programs, #journey, #faq { scroll-margin-top: 90px; }

/* ── Типографика ──────────────────────────────────────────────── */

h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  max-width: 22em;
  text-wrap: balance;
}

.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: .38em 1em;
  margin-bottom: 1.1rem;
}
.section-eyebrow + .h2 { margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }

/* ── Чипы ─────────────────────────────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .86rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .5em 1.1em;
}
.chip .ico { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chip-mint  { background: var(--mint); color: var(--teal-deep); }
.chip-white { background: rgba(255, 255, 255, .16); color: #fff; }

/* ── Кнопки ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.6em;
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn .ico .fill { fill: currentColor; stroke: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(12, 166, 173, .35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(12, 166, 173, .45); }

.btn-accent {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 107, 74, .38);
}
.btn-accent:hover { background: var(--coral-dark); box-shadow: 0 14px 32px rgba(255, 107, 74, .46); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

.btn-outline { border-color: #D7E5E4; color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); }

.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(4, 48, 55, .22); }
.btn-white:hover { color: var(--teal-deep); }

.btn-lg { padding: 1em 1.9em; font-size: 1.02rem; }
.btn-header { padding: .66em 1.3em; font-size: .92rem; }

/* ── Карточки ─────────────────────────────────────────────────── */

.card {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* ── Хедер ────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(9, 96, 105, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}
.brand-icon { height: 44px; width: auto; }
.brand-text { height: 46px; width: auto; }
.brand-text-invert { filter: brightness(0) invert(1); opacity: .95; }

.site-nav { display: flex; gap: 1.8rem; margin-left: auto; }
.site-nav a {
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--ink); }

/* ── Герой ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(110px, 14vh, 150px);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 8% -5%, rgba(46, 197, 206, .16), transparent 65%),
    radial-gradient(520px 420px at 96% 16%, rgba(255, 143, 106, .14), transparent 65%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy .chip { margin-bottom: 1.3rem; }

.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.09rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 32em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 10 / 11;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 28px 70px rgba(9, 96, 105, .28);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(9, 96, 105, .22);
  padding: .8rem 1.1rem;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 250px;
}
.float-chip strong { color: var(--ink); font-size: .92rem; }
.float-chip-top { top: 7%; left: -1.6rem; }
.float-chip-bottom { bottom: 7%; right: -1.2rem; }

.float-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.float-ico .ico { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.float-ico-mint  { background: var(--mint); color: var(--teal-deep); }
.float-ico-peach { background: var(--peach); color: var(--coral-dark); }

/* Статистика под героем */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 2vw, 1.4rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.stats li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: .25rem;
  box-shadow: 0 8px 24px rgba(9, 96, 105, .06);
}
.stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-cap { font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* ── Боли → решение ───────────────────────────────────────────── */

.pains .h2 { margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.pain { padding: 1.7rem 1.8rem; }
.pain-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--peach);
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.pain p { font-size: 1rem; font-weight: 600; line-height: 1.55; }

.solution {
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  background: var(--mint-bg);
  border-left: 5px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.6rem 2rem;
}
.solution p { font-size: 1.1rem; line-height: 1.7; max-width: 52em; }

/* ── Почему Корея ─────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.check-list { display: grid; gap: .9rem; }
.check-list li {
  position: relative;
  padding-left: 2.4rem;
  font-size: 1.02rem;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .12em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(12, 166, 173, .35);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: calc(.12em + 7px);
  width: 9px;
  height: 5px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg);
}

.why-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
}

/* ── Что входит ───────────────────────────────────────────────── */

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 2vw, 1.3rem);
}
.included-grid .card {
  padding: 1.5rem 1.5rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.included-grid .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.icon-chip .ico { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chip-bg-mint  { background: var(--mint); color: var(--teal-deep); }
.chip-bg-peach { background: var(--peach); color: var(--coral-dark); }

.included-grid h3 { font-size: .99rem; font-weight: 800; line-height: 1.3; margin-bottom: .35rem; letter-spacing: -.01em; }
.included-grid p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.included-extra {
  margin-top: 1.8rem;
  font-size: .95rem;
  color: var(--muted);
  max-width: 56em;
}

/* ── Программы ────────────────────────────────────────────────── */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: stretch;
}

.program {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.program-photo { position: relative; }
.program-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.program-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--coral);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .45em 1em;
  box-shadow: 0 8px 20px rgba(255, 107, 74, .4);
}

.program-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.5rem 1.6rem 1.7rem;
  flex: 1;
}
.program-body h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.015em; }
.program-len {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.program-body p:not(.program-len) { font-size: .92rem; color: var(--muted); line-height: 1.55; flex: 1; }
.program-body .btn { align-self: flex-start; margin-top: .5rem; }

/* ── Тарифы чекап-туров ───────────────────────────────────────── */

.tariffs-sub { color: var(--muted); max-width: 46em; margin-top: -.9rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  align-items: stretch;
}

.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.8rem 1.6rem 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tariff:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tariff h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; }
.tariff-for { font-size: .92rem; color: var(--muted); line-height: 1.5; min-height: 2.8em; }
.tariff .check-list { gap: .65rem; flex: 1; }
.tariff .check-list li { font-size: .93rem; color: var(--muted); }
.tariff .btn { margin-top: 1.1rem; align-self: stretch; text-align: center; justify-content: center; }

.tariff-featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-hover);
}
.tariff-badge {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--coral);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .45em 1.1em;
  box-shadow: 0 8px 20px rgba(255, 107, 74, .4);
}

.tariffs-note { margin-top: 1.8rem; font-size: .9rem; color: var(--muted); max-width: 56em; }

/* ── Маршрут ──────────────────────────────────────────────────── */

.journey-inner { max-width: 880px; }
.journey-sub { color: var(--muted); max-width: 40em; margin-top: -.9rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.journey .h2 { margin-bottom: 1.4rem; }

.timeline {
  position: relative;
  display: grid;
  gap: 1.1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 30px;
  bottom: 30px;
  border-left: 3px dashed #CDE7E5;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.tl-dot {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(12, 166, 173, .35);
}
.tl-dot-heart { background: var(--coral); box-shadow: 0 10px 24px rgba(255, 107, 74, .4); }

.tl-body { padding: 1.3rem 1.6rem 1.4rem; }
.tl-day {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: .3em .9em;
  margin-bottom: .55rem;
}
.tl-body h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .3rem; letter-spacing: -.01em; }
.tl-body p { font-size: .94rem; color: var(--muted); line-height: 1.6; max-width: 44em; }

.tl-body-accent { background: var(--peach-bg); }
.tl-body-accent .tl-day { background: var(--peach); color: var(--coral-dark); }

/* ── Пусан ────────────────────────────────────────────────────── */

.busan-media {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}
.busan-photo { position: relative; }
.busan-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.busan-photo-wide img { aspect-ratio: auto; min-height: 100%; }

.photo-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .45em 1.1em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(9, 96, 105, .2);
}

.busan-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 2vw, 1.3rem);
}
.busan-facts .card { padding: 1.4rem 1.5rem; }
.fact-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .4rem;
}
.busan-facts p { font-size: .87rem; color: var(--muted); line-height: 1.5; }

/* ── Клиники ──────────────────────────────────────────────────── */

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.partner { padding: clamp(1.6rem, 3vw, 2.2rem); }
.partner h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.2rem; letter-spacing: -.015em; }
.partner .check-list { gap: .7rem; }
.partner .check-list li { font-size: .95rem; color: var(--muted); }

.partners-note {
  margin-top: 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--mint-bg);
  border-radius: 999px;
  display: inline-block;
  padding: .7em 1.5em;
}

/* ── Опросник ─────────────────────────────────────────────────── */

.quiz {
  background:
    radial-gradient(700px 500px at 90% 0%, rgba(255, 255, 255, .14), transparent 60%),
    linear-gradient(135deg, #0A8F96, #0CA6AD 45%, #17B7BF);
}

.quiz-card {
  max-width: 1060px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(4, 60, 66, .35);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  overflow: hidden;
}

.quiz-media {
  position: relative;
  min-height: 100%;
}
.quiz-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.quiz-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 60, 66, .45), transparent 40%);
}
.quiz-media-chip {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  color: var(--teal-deep);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.01em;
  padding: .55rem .85rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(4, 60, 66, .25);
}
.quiz-media-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BB673;
  box-shadow: 0 0 0 0 rgba(43, 182, 115, .5);
  animation: quiz-pulse 2s ease-out infinite;
}
@keyframes quiz-pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); }
  70% { box-shadow: 0 0 0 7px rgba(43, 182, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); }
}

.quiz-body { padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.8rem, 4vw, 3rem); }

.quiz-head { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.quiz-head .chip { background: var(--mint); color: var(--teal-deep); margin-bottom: 1.1rem; }
.quiz-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .7rem;
}
.quiz-sub { color: var(--muted); max-width: 34em; font-size: .98rem; }

.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qf-field {
  display: grid;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.qf-field select {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A8F96' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      no-repeat right 1rem center / 16px,
    linear-gradient(180deg, #FDFEFE, #F4F9F9);
  border: 1.5px solid #D8E6E7;
  border-radius: 14px;
  padding: .85em 2.6em .85em 1em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(4, 60, 66, .06), inset 0 1px 0 #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.qf-field select:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 16px rgba(12, 166, 173, .16), inset 0 1px 0 #fff;
  transform: translateY(-1px);
}
.qf-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 166, 173, .18);
}
.qf-field select:invalid, .qf-field select option[value=""] { color: var(--muted); }

.quiz-error { margin: 1.1rem 0 0; color: var(--coral-dark); font-weight: 600; font-size: .93rem; }

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.7rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.quiz-privacy { margin-top: 1rem; font-size: .8rem; color: var(--muted); }

.quiz-full {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.quiz-full a { color: var(--teal-deep); font-weight: 700; text-underline-offset: 3px; }
.quiz-full a:hover { color: var(--teal); }

/* Запасная форма */
.fallback { margin-top: 2rem; }
.fallback summary {
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  list-style: none;
}
.fallback summary::-webkit-details-marker { display: none; }
.fallback summary:hover { color: var(--ink); }

.fallback-form { margin-top: 1.3rem; display: grid; gap: 1rem; }
.ff-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .9rem; }
.fallback-form label {
  display: grid;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--muted);
}
.fallback-form input[type="text"],
.fallback-form input[type="tel"],
.fallback-form select {
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: .7em .9em;
}
.fallback-form input:focus-visible,
.fallback-form select:focus-visible {
  outline: none;
  border-color: var(--teal);
}
.ff-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem !important;
  font-weight: 500 !important;
  font-size: .82rem !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
}
.ff-consent input { margin-top: .2em; accent-color: var(--teal); }
.fallback-form .btn { justify-self: start; }
.ff-done { color: var(--teal-deep); font-weight: 600; font-size: .95rem; }

/* ── Основатель ───────────────────────────────────────────────── */

.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
}

.founder-avatar {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 4px solid transparent;
  overflow: hidden;
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.founder-text h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.founder-text > p:not(.founder-sig) { color: var(--muted); max-width: 38em; font-size: 1rem; }
.founder-text > p:not(.founder-sig) + p:not(.founder-sig) { margin-top: .85rem; }
.founder-sig { margin-top: 1.2rem; font-weight: 800; color: var(--teal-deep); }

.founder-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
/* ── Турагентство «Альрамир» ──────────────────────────────────── */

.agency-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(.4rem, 1.5vw, 1rem);
}
.agency-sub { color: var(--muted); max-width: 50em; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.agency-copy .busan-facts { grid-template-columns: repeat(2, 1fr); }
.agency-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.agency-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hover);
}
.founder-facts span {
  background: var(--mint);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 999px;
  padding: .45em 1em;
}

/* ── FAQ ──────────────────────────────────────────────────────── */

.faq-inner { max-width: 780px; }
.faq-inner .qa { margin-bottom: .8rem; }

.qa { overflow: hidden; }
.qa summary {
  position: relative;
  padding: 1.2rem 3.4rem 1.2rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--teal-deep), var(--teal-deep)) center / 12px 2px no-repeat,
    linear-gradient(var(--teal-deep), var(--teal-deep)) center / 2px 12px no-repeat,
    var(--mint);
  transition: rotate .3s ease;
}
.qa[open] summary::after { rotate: 45deg; }

.qa p {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
  max-width: 42em;
  font-size: .95rem;
  line-height: 1.6;
}

/* ── Финальный CTA ────────────────────────────────────────────── */

.final-banner {
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(130deg, #0A8F96, #0CA6AD 50%, #1BB5BD);
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 6vw, 4rem);
  text-align: center;
  color: #fff;
  box-shadow: 0 26px 70px rgba(6, 90, 98, .35);
}
.final-banner h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.16;
  max-width: 20em;
  margin-inline: auto;
  text-wrap: balance;
}
.final-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 2rem;
}

/* ── Футер ────────────────────────────────────────────────────── */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .68);
  padding-block: clamp(3rem, 6vw, 4.2rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-grid > * { min-width: 0; }

.footer-logo { display: flex; align-items: center; gap: .9rem; }
.footer-logo .brand-icon {
  height: 46px;
  background: #fff;
  border-radius: 12px;
  padding: 6px 7px;
  box-sizing: content-box;
}
.footer-logo .brand-text { height: 50px; }
.footer-slogan {
  margin-top: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #2EC5CE;
}

.footer-col h3 {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col li, .footer-col a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  overflow-wrap: break-word;
}
.footer-col a:hover { color: #fff; }

.footer-legal { padding-top: 1.8rem; display: grid; gap: .7rem; }
.footer-legal p { font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .45); max-width: 74em; }
.footer-copy { padding-top: .5rem; }

.todo-inline { border-bottom: 1px dashed rgba(255, 150, 110, .7); }

/* ── Плавающий WhatsApp (мобайл) ──────────────────────────────── */

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(12, 166, 173, .45);
  opacity: 0;
  translate: 0 12px;
  transition: opacity .3s ease, translate .3s ease;
}
.wa-fab .ico { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wa-fab .ico .fill { fill: currentColor; stroke: none; }
.wa-fab.show { opacity: 1; translate: 0 0; }

/* ── Появление при скролле ────────────────────────────────────── */

.reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .65s ease, translate .65s ease;
}
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .card, .program { transition: none; }
}

/* ── Адаптив ──────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .busan-facts { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .tariffs-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; row-gap: 1.6rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-media img { aspect-ratio: 16 / 11; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { max-width: 560px; }
  .agency-grid { grid-template-columns: 1fr; }
  .agency-media { max-width: 480px; order: 2; }
  .quiz-card { grid-template-columns: 1fr; }
  .quiz-media { min-height: 0; height: 230px; }
  .quiz-media img { object-position: 50% 62%; }
}

@media (max-width: 840px) {
  body { font-size: 16px; }

  .site-nav { display: none; }
  .header-inner { height: 66px; justify-content: space-between; }

  .hero { padding-top: 96px; }
  .float-chip-top { left: .8rem; top: .8rem; }
  .float-chip-bottom { right: .8rem; bottom: .8rem; }

  .stats { grid-template-columns: 1fr 1fr; }
  .pains-grid { grid-template-columns: 1fr; }
  .busan-media { grid-template-columns: 1fr; }
  .busan-photo-wide img { aspect-ratio: 16 / 10; min-height: 0; }
  .partners-grid { grid-template-columns: 1fr; }

  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar { margin-inline: auto; }
  .founder-text > p:not(.founder-sig) { margin-inline: auto; }
  .founder-facts { justify-content: center; }

  .timeline::before { left: 22px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: .9rem; }
  .tl-dot { width: 48px; height: 48px; font-size: 1.05rem; }

  .ff-row { grid-template-columns: 1fr; }
  .qf-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .wa-fab { display: flex; }
}

@media (max-width: 480px) {
  .included-grid { grid-template-columns: 1fr; }
  .busan-facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stat-num { font-size: 1.35rem; }
  .btn-header span { display: none; }
  .btn-header { padding: .66em .85em; }
  .brand { gap: .55rem; }
  .brand-icon { height: 36px; }
  .brand-text { height: 38px; }
  .hero-cta .btn { width: 100%; }
  .quiz-actions .btn { width: 100%; }
  .final-cta .btn { width: 100%; }
  .float-chip { max-width: 200px; font-size: .72rem; padding: .6rem .8rem; }
  .float-ico { width: 34px; height: 34px; }
}
