/* Uldana — черновик лендинга. Mobile-first, без сборки.
   Палитра и шрифты собраны по постам школы в Instagram. */

:root {
  /* Фирменные цвета */
  --teal-950: #0A3734;   /* глубокий бирюзово-зелёный: хиро, основательница */
  --teal-800: #0E524E;
  --teal-700: #116660;   /* кнопки на светлом фоне */
  --teal-600: #157A72;   /* номера 01, 02, 03 */
  --teal-100: #DCEDEA;
  --mauve-50: #F8EEF0;   /* пыльно-розовый фон секций */
  --mauve-100: #F0DDE1;
  --mauve-300: #E2B9C1;  /* кнопки и акценты на тёмном */
  --mauve-600: #8E5A67;
  --plum: #5B3A5C;       /* цвет логотипа */
  --aubergine: #22162A;  /* премиум-пакеты, отзывы, подвал */
  --aubergine-2: #34243D;
  --asphalt: #33303A;    /* полотно дороги в блоке «Как проходит обучение» */
  --paper: #FCFAF9;
  --white: #FFFFFF;
  --ink: #1F1B22;
  --muted: #5D5662;
  --line: #E6DADD;
  --on-dark: #FBF6F7;
  --on-dark-muted: #D3C9CF;

  /* Плейсхолдеры: «чертёжный» синий, которого нет в фирменной палитре */
  --ph-ink: #1C44B0;
  --ph-bg: #E8EEFF;
  --ph-bg-2: #DAE3FF;
  --ph-line: #5F82E4;

  --wrap: 1160px;
  --gutter: 16px;
  --section-y: 64px;

  --font-display: "Montserrat", "Golos Text", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (min-width: 600px) { :root { --gutter: 28px; --section-y: 88px; } }
@media (min-width: 1000px) { :root { --gutter: 40px; --section-y: 112px; } }

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 3.3vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--mauve-300); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Колонки grid не должны раздуваться от содержимого (фото с aspect-ratio, длинные плейсхолдеры) */
.hero-grid > *, .why-grid > *, .founder-grid > *, .reviews-grid > *, .contacts-grid > *,
.pkg-grid > *, .single-grid > *, .process-grid > *, .process-intro > * { min-width: 0; }

/* ---------- Плейсхолдеры ---------- */

.ph {
  color: var(--ph-ink);
  background: repeating-linear-gradient(135deg, var(--ph-bg) 0 6px, var(--ph-bg-2) 6px 12px);
  border: 1.5px dashed var(--ph-line);
  border-radius: 6px;
  padding: 0.02em 0.4em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ph-photo {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  color: var(--ph-ink);
  background: repeating-linear-gradient(135deg, var(--ph-bg) 0 10px, var(--ph-bg-2) 10px 20px);
  border: 2px dashed var(--ph-line);
  border-radius: 24px;
}
.ph-photo .icon { width: 36px; height: 36px; margin-bottom: 4px; }
.ph-photo-title { font-weight: 650; font-size: 1.0625rem; }
.ph-photo figcaption { font-size: 0.9375rem; line-height: 1.4; max-width: 22rem; }

/* ---------- Плашка черновика ---------- */

.draft-bar {
  background: var(--ph-bg);
  color: var(--ph-ink);
  border-bottom: 1.5px dashed var(--ph-line);
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 8px var(--gutter);
  text-align: center;
}
.draft-bar .ph { font-size: 1em; padding: 0 0.3em; }

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

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

/* Текстовый логотип по мотивам фирменного: ULDANA / AVTOSHKOLA */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--plum);
  line-height: 1;
}
.brand-mark { height: 38px; width: auto; flex: none; }
.brand-text { display: inline-flex; flex-direction: column; align-items: center; }
@media (min-width: 600px) {
  .brand { gap: 12px; }
  .brand-mark { height: 46px; }
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  margin-right: -0.14em; /* компенсация трекинга для центровки */
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
}

.nav { display: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--mauve-50);
  border: 1px solid var(--line);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--teal-700); color: var(--white); }

@media (min-width: 1060px) {
  .nav { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
  .nav a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; padding-block: 6px; }
  .nav a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 6px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--teal-700); color: var(--white); }
.btn-primary:hover { background: var(--teal-800); }
.btn-pink { background: var(--mauve-300); color: var(--aubergine); }
.btn-pink:hover { background: #EAC9CF; }
.btn-outline { background: transparent; color: var(--teal-700); box-shadow: inset 0 0 0 2px var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: var(--white); }

/* ---------- 1. Хиро ---------- */

.hero {
  background: var(--teal-950);
  color: var(--on-dark);
  padding-block: 40px 56px;
}

.hero-grid { display: grid; gap: 40px; }

.hero h1 { max-width: 14ch; }
html[lang="kk"] .hero h1 { max-width: 18ch; font-size: clamp(1.85rem, 1.25rem + 2.9vw, 3.4rem); }

.hero-lead {
  margin-top: 20px;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 34rem;
}

.rating-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}
.rating-badge:hover { background: rgba(255, 255, 255, 0.12); }
.stars { display: inline-flex; gap: 2px; color: var(--mauve-300); }
.rating-badge .stars svg { width: 16px; height: 16px; }

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.hero-link:hover { box-shadow: inset 0 0 0 2px var(--mauve-300); }

.call-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--on-dark);
  font-weight: 500;
  text-underline-offset: 4px;
}
.call-link .icon { width: 1.1em; height: 1.1em; color: var(--mauve-300); }

.hero-photo { aspect-ratio: 4 / 3; }

@media (max-width: 599px) {
  .call-link { display: flex; justify-content: center; }
}
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; align-items: center; }
}
@media (min-width: 900px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .hero-lead { font-size: 1.25rem; }
}

/* ---------- Общие секции ---------- */

.section { padding-block: var(--section-y); }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 44rem; }
.section-lead { color: var(--muted); font-size: 1.125rem; line-height: 1.55; }

/* ---------- 2. Для кого ---------- */

.fear-list { list-style: none; display: grid; }
.fear {
  display: grid;
  gap: 10px;
  padding-block: 24px;
  border-top: 1.5px solid var(--line);
}
.fear:last-child { border-bottom: 1.5px solid var(--line); }
.fear-q {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--plum);
  text-wrap: balance;
}
.fear-a { color: var(--muted); max-width: 36rem; }
.fear-a a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }

@media (min-width: 900px) {
  .fear-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .fear { padding-block: 32px; }
  .fear:nth-last-child(2) { border-bottom: 1.5px solid var(--line); }
}

/* ---------- 3. Почему Uldana ---------- */

.why { background: var(--mauve-50); }
.why-grid { display: grid; gap: 32px; }
.why-intro { display: grid; gap: 24px; align-content: start; justify-items: start; }
.why-list { list-style: none; display: grid; gap: 12px; }
.why-list li {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 22px 22px 58px;
  position: relative;
}
/* галочка в фирменном зелёном */
.why-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-100);
}
.why-list li::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 30px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid var(--teal-700);
  border-bottom: 2.5px solid var(--teal-700);
  transform: rotate(-45deg);
}
.why-list h3 { color: var(--ink); }
.why-list p { margin-top: 6px; color: var(--muted); font-size: 1rem; }

@media (max-width: 599px) { .why-intro .btn { width: 100%; } }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .why-intro { position: sticky; top: 32px; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .why-list li:last-child { grid-column: 1 / -1; }
}

/* ---------- 4. Пакеты и цены ---------- */

.chooser {
  background: var(--mauve-50);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 28px;
}
.chooser-title { font-size: 1.25rem; margin-bottom: 14px; }
.chooser-list { list-style: none; display: grid; gap: 10px; }
.chooser-list li {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.chooser-case { font-weight: 600; }
.chooser-pick { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--teal-700); }
.chooser-pick a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.chooser-hint { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

@media (min-width: 900px) {
  .chooser { padding: 28px; }
  .chooser-list { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

.pkg-grid { display: grid; gap: 16px; align-items: stretch; }

.pkg {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  scroll-margin-top: 16px;
}
.pkg-name {
  font-size: 1.0625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
}
.pkg-price {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pkg-for, .pkg-lead { margin-top: 12px; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.pkg-lead { font-weight: 600; }
.pkg-lang {
  margin-top: 12px;
  align-self: flex-start;
  background: var(--mauve-300);
  color: var(--aubergine);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.35;
  padding: 6px 12px;
  border-radius: 10px;
}

.pkg-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; align-content: start; flex: 1; }
.pkg-list li { position: relative; padding-left: 26px; font-size: 0.96875rem; line-height: 1.45; }
.pkg-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.38em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--teal-600);
  border-bottom: 2.5px solid var(--teal-600);
  transform: rotate(-45deg);
}

.pkg-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.pkg .btn { margin-top: 20px; width: 100%; }

/* Тёмные премиум-карточки */
.pkg-dark { background: var(--aubergine); color: var(--on-dark); box-shadow: none; }
.pkg-dark .pkg-name { color: var(--mauve-300); }
.pkg-dark .pkg-for, .pkg-dark .pkg-lead, .pkg-dark .pkg-note { color: var(--on-dark-muted); }
.pkg-dark .pkg-note { border-top-color: rgba(255, 255, 255, 0.18); }
.pkg-dark .pkg-list li::before { border-color: var(--mauve-300); }

@media (min-width: 720px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) {
  .pkg-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .pkg { padding: 24px 20px; }
  .pkg-price { font-size: 1.75rem; }
  .pkg-list li { font-size: 0.9375rem; }
  .pkg .btn { padding-inline: 16px; font-size: 0.9375rem; }
}

/* Разовые занятия */
.single { margin-top: 48px; }
.single-title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 800; margin-bottom: 18px; }
.single-grid { display: grid; gap: 16px; }
.single-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.single-price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.2; }
.single-unit { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.single-card > p:not([class]) { color: var(--muted); }
.single-tag {
  align-self: flex-start;
  background: var(--teal-100);
  color: var(--teal-800);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.single-card .btn { margin-top: auto; }
@media (min-width: 720px) {
  .single-grid { grid-template-columns: 1fr 1fr; }
  .single-card .btn { align-self: flex-start; }
}

/* ---------- 5. Об основательнице ---------- */

.founder { background: var(--teal-950); color: var(--on-dark); }
.founder-grid { display: grid; gap: 32px; }
.founder-photo { aspect-ratio: 1 / 1; }
.founder-text { display: grid; gap: 16px; align-content: center; justify-items: start; }
.founder-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  color: var(--mauve-300);
  line-height: 1.2;
}
.founder-text > p:not([class]) { color: var(--on-dark-muted); font-size: 1.125rem; max-width: 36rem; }
.founder-facts { list-style: none; display: grid; gap: 10px; max-width: 36rem; }
.founder-facts li {
  position: relative;
  padding-left: 22px;
  color: var(--on-dark);
}
.founder-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mauve-300);
}
.founder-text .btn { margin-top: 8px; }
@media (max-width: 599px) { .founder-text .btn { width: 100%; } }
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
  .founder-photo { aspect-ratio: 4 / 5; }
}

/* ---------- 6. Как проходит обучение ---------- */

.process { background: var(--mauve-50); }
.process-grid { display: grid; gap: 40px; }
.process-intro { display: grid; gap: 16px; align-content: start; justify-items: start; }
.process-intro .btn { margin-top: 8px; }
@media (max-width: 599px) { .process-intro .btn { width: 100%; } }

/* Дорога: тёмное полотно, белая прерывистая осевая, отметки шагов */
.road {
  --road-w: 52px;
  list-style: none;
  position: relative;
  counter-reset: stop;
}
.road::before {            /* полотно */
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  bottom: -8px;
  width: var(--road-w);
  background: var(--asphalt);
  border-radius: 26px;
}
.road::after {             /* прерывистая осевая */
  content: "";
  position: absolute;
  left: calc(var(--road-w) / 2 - 1.5px);
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--white) 0 14px, transparent 14px 30px);
  opacity: 0.85;
}
.stop {
  position: relative;
  counter-increment: stop;
  padding: 2px 0 40px calc(var(--road-w) + 22px);
  min-height: 72px;
}
.stop:last-child { padding-bottom: 4px; }
.stop::before {            /* отметка шага: белый круг с зелёным номером, как в постах школы */
  content: counter(stop, decimal-leading-zero);
  position: absolute;
  z-index: 1;
  left: 5px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--teal-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 4px var(--asphalt);
}
.stop:last-child::before { /* финиш: вручение прав */
  background: var(--mauve-300);
  color: var(--aubergine);
  box-shadow: 0 0 0 3px var(--asphalt), 0 0 0 6px var(--mauve-300);
}
.stop h3 { padding-top: 8px; }
.stop p { margin-top: 6px; color: var(--muted); max-width: 32rem; }

@media (min-width: 900px) {
  .process-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .process-intro { position: sticky; top: 32px; }
  .road { --road-w: 60px; }
  .stop { padding-bottom: 52px; padding-left: calc(var(--road-w) + 28px); }
  .stop::before { left: 7px; width: 46px; height: 46px; font-size: 1rem; }
  .stop h3 { font-size: 1.375rem; }
}

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

.reviews { background: var(--aubergine); color: var(--on-dark); }
.reviews-grid { display: grid; gap: 32px; }
.score { display: grid; justify-items: start; gap: 8px; }
.score-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3.2rem + 8vw, 8.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--mauve-300);
  margin-bottom: 0.08em; /* хвост запятой не должен касаться звёзд */
}
.score-stars svg { width: 28px; height: 28px; }
.score-count { font-size: 1.125rem; font-weight: 600; }
.reviews-text { display: grid; gap: 16px; justify-items: start; max-width: 32rem; }
.reviews-text p { color: var(--on-dark-muted); }
.reviews-text .btn { margin-top: 8px; }
.reviews-text .source { font-size: 0.875rem; }
@media (max-width: 599px) { .reviews-text .btn { width: 100%; } }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: auto 1fr; gap: 96px; align-items: center; } }

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

.contacts-grid { display: grid; gap: 36px; }
.contacts-main h2 { margin-bottom: 24px; }
.contact-list { margin: 0; display: grid; }
.contact-list > div { display: grid; gap: 2px; padding-block: 14px; border-top: 1.5px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1.5px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: 0.9375rem; }
.contact-list dd { margin: 0; font-size: 1.125rem; font-weight: 500; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.contact-list dd a { text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--teal-600); }
.contact-list dd .ph { font-size: 0.85em; }
.contact-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contacts-photo { aspect-ratio: 4 / 3; }
@media (min-width: 600px) {
  .contact-list > div { grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .contacts-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
  .contacts-photo { aspect-ratio: 4 / 5; }
}

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

.site-footer {
  background: var(--aubergine);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  padding-block: 36px 104px; /* место под плавающую кнопку */
}
.footer-row { display: grid; gap: 10px; }
.footer-brand { color: var(--on-dark); }
.footer-brand .brand-name { font-size: 1.125rem; color: var(--mauve-300); }
@media (min-width: 900px) { .site-footer { padding-block: 40px; } }

/* ---------- Плавающая кнопка WhatsApp (только мобильные) ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 0 0 3px var(--white), 0 8px 22px rgba(10, 55, 52, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
/* С JS кнопка появляется, когда кнопка в хиро ушла с экрана */
.js .wa-float { opacity: 0; transform: translateY(12px) scale(0.92); pointer-events: none; }
.js .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .wa-float { display: none; } }

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