/* ==========================================================================
   Аптечка для студента — стили лендинга
   ========================================================================== */

/* --- Шрифты (вариативные: один файл на все начертания) ------------------ */

@font-face {
  font-family: 'Manrope';
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/caveat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Токены ------------------------------------------------------------- */

:root {
  --ink: oklch(0.22 0.04 265);
  --ink-hover: oklch(0.32 0.04 265);
  --muted: oklch(0.45 0.03 265);
  --muted-strong: oklch(0.42 0.03 265);
  --bg: oklch(0.985 0.012 85);
  --bg-soft: oklch(0.975 0.012 85);
  --line: oklch(0.94 0.015 85);
  --white: #fff;

  --blue: oklch(0.52 0.21 263);
  --blue-hover: oklch(0.44 0.21 263);
  --blue-deep: oklch(0.42 0.21 263);
  --blue-soft: oklch(0.94 0.04 263);
  --blue-ring: oklch(0.86 0.07 265);
  --coral: oklch(0.68 0.19 32);
  --coral-hover: oklch(0.6 0.19 32);
  --yellow: oklch(0.89 0.16 95);
  --yellow-deep: oklch(0.84 0.17 90);
  --yellow-soft: oklch(0.95 0.06 95);
  --green: oklch(0.72 0.17 150);
  --mint: oklch(0.85 0.11 155);
  --violet: oklch(0.55 0.17 295);
  --pink: oklch(0.88 0.07 350);
  --vk: oklch(0.55 0.15 255);
  --vk-hover: oklch(0.48 0.15 255);

  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', sans-serif;
  --font-hand: 'Caveat', cursive;

  --shadow-card: 0 10px 30px oklch(0.22 0.04 265 / 0.12);
  --header-h: 76px;
}

/* --- База --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
input, button { font: inherit; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

section { scroll-margin-top: var(--header-h); }

.pg { min-height: 100vh; overflow-x: hidden; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

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

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-top: 22px;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.h2--white { color: var(--white); margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow--yellow { color: var(--yellow); }

/* Рукописная пометка */
.note {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  transform: rotate(-4deg);
}
.note--block { margin-top: 20px; transform: rotate(-3deg); transform-origin: left; }
.note--yellow { color: var(--yellow); font-size: 28px; }

.c-blue { color: var(--blue); }

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* --- Цветовые тона для карточек, иконок и бейджей ----------------------- */

.tone-blue   { --tone-bg: var(--blue);   --tone-fg: var(--white); }
.tone-yellow { --tone-bg: var(--yellow); --tone-fg: var(--ink); }
.tone-coral  { --tone-bg: var(--coral);  --tone-fg: var(--white); }
.tone-mint   { --tone-bg: var(--mint);   --tone-fg: var(--ink); }
.tone-violet { --tone-bg: var(--violet); --tone-fg: var(--white); }
.tone-pink   { --tone-bg: var(--pink);   --tone-fg: var(--ink); }

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

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color 150ms, transform 150ms;
}
.btn__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  font-size: 18px;
}

.btn--coral { padding: 10px 10px 10px 26px; background: var(--coral); color: var(--white); }
.btn--coral .btn__icon { color: var(--coral); }
.btn--coral:hover { background: var(--coral-hover); color: var(--white); }

.btn--lg { box-shadow: 0 8px 20px oklch(0.68 0.19 32 / 0.3); }

.btn--sm { gap: 10px; padding: 8px 8px 8px 20px; font-weight: 700; font-size: 15px; }
.btn--sm .btn__icon { width: 30px; height: 30px; font-size: 15px; }

.btn--wide { justify-content: space-between; }

.btn--outline {
  height: 56px;
  padding: 0 26px;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn--outline:hover { background: var(--blue-soft); color: var(--blue); }

.btn--dark { padding: 10px 10px 10px 24px; background: var(--ink); color: var(--white); }
.btn--dark .btn__icon { width: 40px; height: 40px; background: var(--yellow); color: var(--ink); }
.btn--dark:hover { background: var(--ink-hover); color: var(--white); }

.btn--ghost-dark { height: 60px; padding: 0 24px; border: 2px solid var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--yellow-deep); color: var(--ink); }

.btn--vk { height: 60px; padding: 0 10px 0 24px; background: var(--vk); color: var(--white); }
.btn--vk:hover { background: var(--vk-hover); color: var(--white); }
.btn__icon--vk { width: 40px; height: 40px; color: var(--vk); font-family: var(--font-display); font-size: 13px; }

/* --- Шапка -------------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: oklch(0.985 0.012 85 / 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  transform: rotate(-6deg);
}
.logo__mark--sm { width: 32px; height: 32px; border-radius: 10px; font-size: 19px; background: var(--yellow); color: var(--ink); }
.logo__txt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo__sub { color: var(--coral); }

.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--blue); }

.nav-mob {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  background: var(--coral);
  color: var(--white);
}
.nav-mob:hover { color: var(--white); }
.nav-mob svg, .icon-box svg, .guar__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Первый экран ------------------------------------------------------- */

.hero { padding-top: 32px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}
.hero__txt { padding: 24px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.h1__kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 0.5em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.underlined { position: relative; display: inline-block; color: var(--coral); }
.underlined svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 12px; }
.underlined path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }

.lead {
  max-width: 46ch;
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted-strong);
  text-wrap: pretty;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid oklch(0.92 0.015 85);
  font-size: 14px;
  font-weight: 600;
}

/* Иллюстрация с кругами и плашками */
.hero__art { position: relative; min-height: 540px; }
.hero__ring, .hero__photo {
  position: absolute;
  top: 50%;
  left: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero__ring { width: min(98%, 540px); background: var(--blue-ring); }
.hero__photo {
  width: min(88%, 486px);
  overflow: hidden;
  box-shadow: 0 24px 60px oklch(0.45 0.12 265 / 0.28);
}
/* Сдвиг вправо-вниз, чтобы надпись «Аптечка» на фото не обрезалась краем круга */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07) translate(2%, 1.5%); }
.hero__sun {
  position: absolute;
  right: 4%;
  top: 2%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  line-height: 1;
  transform: rotate(8deg);
  z-index: 1;
}
.hero__sun-year { margin: 2px 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.hero__sun-sm { font-size: 12px; font-weight: 700; }
.hero__ball { position: absolute; left: 6%; bottom: 84px; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); z-index: 1; }

.float { position: absolute; z-index: 2; box-shadow: var(--shadow-card); }
.float-a {
  left: 0;
  top: 40%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 4px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  transform: rotate(-3deg);
}
.float-a__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: oklch(0.8 0.13 155);
  font-weight: 800;
}
.float-b {
  right: 0;
  bottom: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--yellow);
  transform: rotate(4deg);
}
.float-b__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.float-b__value { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.float-c {
  left: 30px;
  bottom: 30px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

/* --- Форма заявки ------------------------------------------------------- */

.panel { border-radius: 40px; }

.lead-form {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 20px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 16px 40px oklch(0.22 0.04 265 / 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.field input {
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 2px solid oklch(0.93 0.015 85);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: border-color 150ms;
}
.field input:focus { border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--coral); }

.lead-form__submit {
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms;
}
.lead-form__submit:hover { background: var(--blue-hover); }
.lead-form__submit:disabled { opacity: 0.7; cursor: progress; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--coral); outline-offset: 2px; }

.lead-form__status { grid-column: 1 / -1; font-size: 15px; font-weight: 700; }
.lead-form__status.is-ok { color: oklch(0.5 0.15 150); }
.lead-form__status.is-error { color: var(--coral-hover); }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- Цифры -------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.stat { padding: 8px 4px; }
.stat__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--blue);
  white-space: nowrap;
}
.stat dd { margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--muted); }

/* --- Секции ------------------------------------------------------------- */

.sec { padding-top: 88px; }
.sec--last { padding-bottom: 88px; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

/* Карточки видов работ */
.type-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  padding: 26px;
  border-radius: 28px;
  background: var(--tone-bg);
  color: var(--tone-fg);
  transition: transform 150ms;
}
.type-card:hover { color: var(--tone-fg); }
.type-card__t { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.type-card__d { flex: 1; font-size: 15px; line-height: 1.5; opacity: 0.95; }
.type-card__foot { display: flex; justify-content: space-between; align-items: center; }
.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
.arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: grid;
  place-items: center;
}

@media (hover: hover) {
  .type-card:hover { transform: translateY(-4px); }
}

/* --- Калькулятор -------------------------------------------------------- */

.calc {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  padding: 48px;
  background: var(--blue);
  color: var(--white);
}
.calc__bubble {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: oklch(0.6 0.19 263);
}
.calc__controls { position: relative; }
.calc__controls .h2 { margin-bottom: 32px; }
.calc__group + .calc__group { margin-top: 26px; }
.calc__label { margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.calc__label--row { display: flex; justify-content: space-between; gap: 12px; }
.calc__label > span:first-child, .calc__label:not(.calc__label--row) { opacity: 0.9; }
.calc__types { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  flex: 0 0 auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

.opt {
  padding: 11px 18px;
  border-radius: 999px;
  border: 2px solid oklch(1 0 0 / 0.35);
  background: transparent;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 150ms, border-color 150ms;
}
.opt:hover { border-color: oklch(1 0 0 / 0.7); }
.opt[aria-pressed="true"] { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }

.calc input[type="range"] { width: 100%; height: 24px; margin: 0; accent-color: var(--yellow); }

.calc-card {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 40px oklch(0.2 0.1 263 / 0.3);
  transform: rotate(1.5deg);
}
.calc-card__tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 70px;
  height: 26px;
  margin-left: -35px;
  background: oklch(0.89 0.16 95 / 0.85);
  transform: rotate(-4deg);
}
.calc-card__caption { font-size: 14px; font-weight: 700; color: var(--muted); }
.calc-card__caption[data-calc-summary] { font-weight: 600; }
.calc-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.calc-card__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; row-gap: 4px; }
.calc-card__old {
  font-size: 0.5em;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-decoration-thickness: 2px;
}
.calc-card__note { font-size: 14px; line-height: 1.5; }
.calc-card .btn { margin-top: 6px; padding-left: 22px; padding-right: 8px; padding-top: 8px; padding-bottom: 8px; }
.calc-card .btn__icon { width: 38px; height: 38px; }

.dashed {
  height: 2px;
  margin: 6px 0;
  border: 0;
  background: repeating-linear-gradient(90deg, oklch(0.9 0.015 85) 0 8px, transparent 8px 14px);
}

/* --- Шаги --------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.step { padding: 26px; border-radius: 28px; border: 2px solid var(--line); background: var(--white); }
.num-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--tone-bg);
  color: var(--tone-fg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  transform: rotate(-6deg);
}
.step__t { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.02em; }
.step__d { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

.tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 24px;
  border-radius: 22px;
  background: var(--yellow-soft);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}
.tip__hand { font-family: var(--font-hand); font-size: 26px; font-weight: 700; color: var(--blue); }

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

.pack {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  padding: 44px;
  border: 2px solid var(--line);
  background: var(--white);
}
.pack__lead { max-width: 40ch; margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.pack__list { display: flex; flex-direction: column; gap: 10px; }
.pack-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 22px; background: var(--bg-soft); }
.pack-item > div { min-width: 0; }
.pack-item__t { font-weight: 800; font-size: 16.5px; }
.pack-item__d { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

.icon-box {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--tone-bg);
  color: var(--tone-fg);
}
.icon-box svg { width: 22px; height: 22px; }

/* --- Гарантии ----------------------------------------------------------- */

.guar { padding: 26px; border-radius: 28px; }
.guar--blue   { background: var(--blue-soft); }
.guar--yellow { background: var(--yellow-soft); }
.guar--coral  { background: oklch(0.94 0.05 30); }
.guar--mint   { background: oklch(0.94 0.05 155); }
.guar__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--blue);
}
.guar__icon svg { width: 24px; height: 24px; }
.guar__t { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.guar__d { margin-top: 8px; font-size: 15px; line-height: 1.5; }

/* --- Прайс -------------------------------------------------------------- */

.prices { margin-top: 36px; padding: 8px 24px; border-radius: 28px; border: 2px solid var(--line); background: var(--white); }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px dashed var(--line);
}
.price-row__work { font-weight: 800; font-size: 16px; }
.price-row__vol, .price-row__term { font-size: 15px; color: var(--muted); }
.price-row__price {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.prices__note { padding: 16px 0; font-size: 14px; color: var(--muted); }

/* --- Отзывы ------------------------------------------------------------- */

.reviews { position: relative; overflow: hidden; padding: 44px; background: var(--coral); }
.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-top: 32px;
}
.shot {
  padding: 8px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform: rotate(-1.5deg);
}
.shot:nth-child(2n) { transform: rotate(1.5deg); margin-top: 18px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 15px; }

/* --- FAQ ---------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 22px; border: 2px solid var(--line); background: var(--white); overflow: hidden; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__sign {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 20px;
  transition: transform 200ms, background-color 200ms, color 200ms;
}
.faq-item[open] .faq-item__sign { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-item p { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.55; color: var(--muted-strong); }

/* --- Контакты ----------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: 48px;
  background: var(--yellow);
}
.contact__blob { position: absolute; left: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--yellow-deep); }
.contact__txt { position: relative; }
.contact__h { max-width: 16ch; margin: 0; font-size: 48px; line-height: 1.05; letter-spacing: -0.035em; }
.contact__txt p { max-width: 44ch; margin-top: 18px; font-size: 17px; font-weight: 500; line-height: 1.5; }
.contact__links { position: relative; display: flex; flex-direction: column; gap: 12px; }
.contact__btn { font-size: 17px; }

/* --- Подвал ------------------------------------------------------------- */

.foot { background: var(--ink); color: oklch(0.85 0.02 265); }
.foot__in {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  font-size: 14px;
}
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__links a { color: inherit; }
.foot__links a:hover { color: var(--white); }

/* --- Мобильная плашка --------------------------------------------------- */

.mbar {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  gap: 12px;
  align-items: center;
  padding: 10px 10px 10px 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px oklch(0.22 0.04 265 / 0.2);
}
.mbar__info { flex: 1; min-width: 0; }
.mbar__price { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--blue); }
.mbar__price { white-space: nowrap; }
.mbar__old { font-size: 13px; color: var(--muted); text-decoration-thickness: 1.5px; margin-right: 2px; }
/* С двумя ценами подпись «за консультацию» на узких экранах не помещается */
@media (max-width: 420px) { .mbar__old:not([hidden]) ~ .mbar__unit { display: none; } }
.mbar__unit { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--muted); }
.mbar__summary { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar__btn {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.mbar__btn:hover { color: var(--white); }

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

/* Меню в шапку целиком помещается только с ~1120px */
@media (max-width: 1120px) {
  .nav { display: none; }
}

@media (max-width: 1000px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-cta { display: none; }
  .nav-mob { display: grid; }
  .hero__grid, .calc, .faq, .contact, .pack { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__art { min-height: 440px; }
  .mbar { display: flex; }
  .pg { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  /* Скрины листаются вбок, чтобы текст переписки оставался читаемым */
  .shots {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px -18px 0;
    padding: 8px 18px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 78%; scroll-snap-align: center; }
  .shot:nth-child(2n) { margin-top: 0; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 28px; }
  .lead { margin-top: 20px; font-size: 17px; }
  .hero__txt { padding: 8px 0 0; }
  .hero__art { min-height: 360px; margin: 0 -4px; }
  .cta-row > .btn { flex: 1 1 100%; justify-content: space-between; }
  .cta-row > .btn:last-child { justify-content: center; }

  .lead-form, .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 24px 18px; border-radius: 24px; }
  .lead-form.panel { padding: 18px; }

  .sec { padding-top: 64px; }
  .sec--last { padding-bottom: 40px; }
  .stat__n { font-size: 26px; }
  .type-card { min-height: 0; padding: 22px; }
  .type-card__t { font-size: 21px; }
  .note { font-size: 22px; }

  .calc-card { transform: none; padding: 22px; }
  .calc-card__price { font-size: 38px; }

  .price-row { grid-template-columns: minmax(0, 1fr) auto; }
  .price-row__vol, .price-row__term { display: none; }

  .contact__h { font-size: 30px; }
  .contact__btn { font-size: 15px; }

  .logo__txt { font-size: 16px; }
  .logo__sub { display: block; font-size: 11px; letter-spacing: 0.02em; }

  .float-a { transform: rotate(-3deg) scale(0.86); transform-origin: left top; }
  .float-b { bottom: 70px; transform: rotate(4deg) scale(0.86); transform-origin: right bottom; }
  .float-c { left: 14px; bottom: 14px; }
  .hero__ball { left: 4%; bottom: 68px; width: 36px; height: 36px; }
  .hero__sun { right: 2%; top: 0; transform: rotate(8deg) scale(0.86); transform-origin: right top; }

  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .h1 { font-size: 33px; }
  .h2 { font-size: 25px; }
  .stats { gap: 8px; }
  .stat__n { font-size: 23px; }
}

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