/* ============================================================
   Милена — свадебный визажист-стилист, Москва
   Палитра: тёплый чёрный бархат · слоновая кость · шампань
   Шрифты: Prata (дисплей) · Golos Text (текст)
   Сигнатура: линия времени 7:15 → 23:00
   ============================================================ */

:root {
  --ink: #171310;
  --ink-soft: #201b17;
  --ink-card: #262019;
  --ivory: #f2ebe0;
  --ivory-soft: #e9e0d2;
  --champagne: #c9a876;
  --champagne-soft: #7a6236;
  --stone: #8f8577;
  --stone-dark: #6d6558;
  --line-dark: rgba(201, 168, 118, 0.28);
  --line-light: rgba(23, 19, 16, 0.14);
  --font-display: "Prata", "Georgia", serif;
  --font-text: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-inner > * { opacity: 1; transform: none; }
}

.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;
}

body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

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

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 500;
}

.section-head { margin-bottom: clamp(28px, 5vw, 52px); }

.section-head .eyebrow { display: block; margin-bottom: 14px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.15;
}

.section-head .lead {
  margin-top: 16px;
  max-width: 560px;
  color: var(--stone);
  font-size: clamp(15px, 2.2vw, 17px);
}

.light .section-head .lead { color: var(--stone-dark); }

/* время — сквозной типографический мотив */
.time {
  font-family: var(--font-display);
  color: var(--champagne);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- секции ---------- */

section { padding: clamp(56px, 9vw, 110px) 0; }

section[id] { scroll-margin-top: 64px; }

.light {
  background: var(--ivory);
  color: var(--ink);
}

.light .eyebrow { color: var(--champagne-soft); }

/* ---------- шапка ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.topbar.scrolled {
  background: rgba(23, 19, 16, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
}

.logo span { color: var(--champagne); }

.topnav { display: none; gap: 26px; }

.topnav a {
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  opacity: 0.82;
}

.topnav a:hover { opacity: 1; color: var(--champagne); }

.top-cta {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: var(--ivory);
  white-space: nowrap;
}

.top-cta:hover { border-color: var(--champagne); color: var(--champagne); }

@media (min-width: 900px) {
  .topnav { display: flex; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,19,16,0.55) 0%, rgba(23,19,16,0.12) 30%, rgba(23,19,16,0.62) 68%, rgba(23,19,16,0.94) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(32px, 6vw, 72px);
}

.hero h1 {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 9.5vw, 84px);
  line-height: 1.06;
  max-width: 11ch;
}

.hero-sub {
  margin-top: 20px;
  max-width: 480px;
  font-size: clamp(15.5px, 2.4vw, 18px);
  color: rgba(242, 235, 224, 0.9);
}

.hero-price {
  margin-top: 22px;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--ivory);
  border-left: 2px solid var(--champagne);
  padding-left: 14px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-badge {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(242, 235, 224, 0.85);
  text-decoration: none;
}

.hero-badge .stars { color: var(--champagne); letter-spacing: 2px; }

.hero-badge:hover { color: var(--ivory); }

/* появление hero */
.hero-inner > * { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.5s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.6s; }

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

@media (min-width: 900px) {
  .hero { min-height: 92vh; align-items: center; }
  .hero-photo { left: 44%; }
  .hero-photo img { object-position: 50% 15%; }
  .hero-photo::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(23,19,16,0.5) 30%, rgba(23,19,16,0.05) 60%),
      linear-gradient(180deg, rgba(23,19,16,0.35) 0%, rgba(23,19,16,0) 35%, rgba(23,19,16,0.45) 100%);
  }
  .hero-inner { padding-bottom: 84px; padding-top: 140px; }
  .hero-sub, .hero-price { max-width: 40%; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--champagne);
  color: var(--ink);
}

.btn-primary:hover { background: #d8b988; }

.btn-ghost {
  border-color: rgba(242, 235, 224, 0.4);
  color: var(--ivory);
  background: transparent;
}

.btn-ghost:hover { border-color: var(--champagne); color: var(--champagne); }

.light .btn-ghost {
  border-color: rgba(23, 19, 16, 0.35);
  color: var(--ink);
}

.light .btn-ghost:hover { border-color: var(--champagne-soft); color: var(--champagne-soft); }

/* ---------- три обещания ---------- */

.promises { padding-top: clamp(48px, 7vw, 84px); }

.promise-grid {
  display: grid;
  gap: 16px;
}

.promise {
  border: 1px solid var(--line-dark);
  padding: 28px 26px 30px;
  background: linear-gradient(160deg, rgba(201,168,118,0.05), rgba(201,168,118,0) 55%);
}

.promise h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 23px;
  margin-bottom: 12px;
}

.promise p { color: var(--stone); font-size: 15px; }

.promise .mark {
  display: block;
  margin-bottom: 18px;
  width: 34px;
  height: 1px;
  background: var(--champagne);
}

@media (min-width: 760px) {
  .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- цены ---------- */

.packages {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 56px);
}

.package {
  position: relative;
  background: #fbf7f0;
  border: 1px solid var(--line-light);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
}

.package.featured {
  border-color: var(--champagne);
  box-shadow: 0 18px 44px -18px rgba(169, 141, 99, 0.4);
}

.package .tag {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--champagne);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.package h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
}

.package .price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--champagne-soft);
  margin: 8px 0 6px;
}

.package .sub {
  font-size: 14.5px;
  color: var(--stone-dark);
  margin-bottom: 18px;
}

.package ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  margin-bottom: 22px;
}

.package li {
  padding-left: 22px;
  position: relative;
}

.package li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--champagne-soft);
}

.package li.bonus::before { content: "+"; font-weight: 600; }

.package .btn { margin-top: auto; align-self: flex-start; }

@media (min-width: 900px) {
  .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.price-note {
  font-size: 14px;
  color: var(--stone-dark);
  max-width: 640px;
  margin-bottom: clamp(30px, 5vw, 44px);
}

.price-extra {
  display: grid;
  gap: 34px;
}

@media (min-width: 900px) {
  .price-extra { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.price-extra h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 16px;
}

.fee-list { list-style: none; }

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14.5px;
}

.fee-list li span:last-child {
  white-space: nowrap;
  color: var(--champagne-soft);
  font-weight: 500;
}

.booking-rules {
  margin-top: clamp(36px, 6vw, 56px);
  border: 1px solid var(--line-light);
  padding: 26px 26px 28px;
  background: #fbf7f0;
}

.booking-rules h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 14px;
}

.booking-rules p { font-size: 14.5px; color: var(--stone-dark); margin-bottom: 10px; }

.booking-rules .guarantee {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: var(--ink);
  font-size: 15px;
}

.booking-rules .guarantee strong { font-weight: 600; }

/* ---------- галерея ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.shot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-card);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shot:hover img { transform: scale(1.04); }

.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(242, 235, 224, 0.92);
  background: linear-gradient(180deg, rgba(23,19,16,0), rgba(23,19,16,0.78));
}

.gallery-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--stone);
}

/* ---------- заглушки медиа ---------- */

.ph {
  position: relative;
  border: 1px dashed rgba(201, 168, 118, 0.45);
  background:
    linear-gradient(150deg, rgba(201,168,118,0.07), rgba(201,168,118,0.015) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  gap: 8px;
}

.ph .ph-kicker {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
}

.ph .ph-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ivory);
  max-width: 24ch;
}

.ph .ph-note {
  font-size: 12px;
  color: var(--stone);
  max-width: 26ch;
}

.light .ph .ph-title { color: var(--ink); }
.light .ph .ph-note { color: var(--stone-dark); }

.ph.ratio-34 { aspect-ratio: 3 / 4; }
.ph.ratio-916 { aspect-ratio: 9 / 16; }
.ph.ratio-11 { aspect-ratio: 1 / 1; }
.ph.ratio-43 { aspect-ratio: 4 / 3; }

/* ---------- стойкость 9:00 → 23:00 ---------- */

.endurance { background: var(--ink-soft); }

.endurance-pairs {
  display: grid;
  gap: 26px;
}

@media (min-width: 860px) {
  .endurance-pairs { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }

.pair-caption {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--stone);
}

.pair-caption .time { font-size: 15px; }

.endurance-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--stone);
  max-width: 520px;
}

/* ---------- линия мам ---------- */

.mothers-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 900px) {
  .mothers-grid { grid-template-columns: 1.05fr 1fr; }
}

.mothers-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mothers-photos .shot:nth-child(2) { margin-top: 34px; }

.mothers-text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 40px);
  margin-bottom: 18px;
}

.mothers-text p { margin-bottom: 14px; font-size: 15.5px; color: #3c352d; }

.mothers-text .price-line {
  margin-top: 20px;
  font-size: 15px;
  border-left: 2px solid var(--champagne);
  padding-left: 14px;
  color: var(--ink);
}

/* ---------- как проходит утро (сигнатурный таймлайн) ---------- */

.timeline {
  position: relative;
  margin-top: 10px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--champagne), rgba(201,168,118,0.1));
}

.t-step {
  position: relative;
  padding-bottom: clamp(26px, 4vw, 40px);
}

.t-step:last-child { padding-bottom: 0; }

.t-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  background: var(--ink);
}

.t-step .time {
  display: block;
  font-size: clamp(20px, 3.4vw, 28px);
  margin-bottom: 6px;
}

.t-step h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.t-step p { color: var(--stone); font-size: 14.5px; max-width: 560px; }

.t-step blockquote {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ivory-soft);
  border-left: 2px solid var(--line-dark);
  padding-left: 12px;
  font-style: italic;
}

@media (min-width: 900px) {
  .morning-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
  .morning-side { position: sticky; top: 110px; }
}

.contract-note {
  margin-top: clamp(30px, 5vw, 44px);
  border: 1px solid var(--line-dark);
  padding: 22px 24px;
  font-size: 14.5px;
  color: var(--ivory-soft);
  max-width: 640px;
}

.contract-note strong { color: var(--champagne); font-weight: 500; }

/* ---------- отзывы ---------- */

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.rating-line .score {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--champagne-soft);
}

.review-grid {
  margin-top: clamp(28px, 5vw, 44px);
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .review-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (min-width: 1000px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

.review {
  background: #fbf7f0;
  border: 1px solid var(--line-light);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review p { font-size: 14.5px; color: #3c352d; }

.review footer {
  margin-top: auto;
  font-size: 13px;
  color: var(--stone-dark);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.review footer b { font-weight: 600; color: var(--ink); }

.reviews-cta {
  margin-top: 26px;
  font-size: 14px;
}

.reviews-cta a { color: var(--champagne-soft); }

/* ---------- обо мне ---------- */

.about-grid {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 40px);
  margin-bottom: 18px;
}

.about-text p { margin-bottom: 14px; font-size: 15.5px; color: var(--ivory-soft); }

.about-text .translate {
  margin-top: 8px;
  padding: 18px 20px;
  border-left: 2px solid var(--champagne);
  background: rgba(201, 168, 118, 0.06);
  font-size: 15px;
}

.certs {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* ---------- видео 9:16 ---------- */

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
  gap: 16px;
}

@media (min-width: 760px) {
  .reels-grid { gap: 22px; }
}

.reel {
  width: 100%;
  max-width: 240px;
  border-radius: 18px;
  overflow: hidden;
}

.reel .ph { border-radius: 18px; height: 100%; }

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

.faq-list { max-width: 760px; }

.faq-list details {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--champagne-soft);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list .answer {
  padding: 0 0 22px;
  font-size: 15px;
  color: #3c352d;
  max-width: 680px;
}

/* ---------- заявка ---------- */

.contact { background: var(--ink-soft); }

.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-side h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 42px);
  margin-bottom: 16px;
}

.contact-side p { color: var(--stone); font-size: 15.5px; margin-bottom: 14px; max-width: 460px; }

.contact-side .speed {
  color: var(--ivory-soft);
  font-size: 14.5px;
  border-left: 2px solid var(--champagne);
  padding-left: 14px;
}

.messengers {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
}

.form input,
.form textarea {
  font-family: var(--font-text);
  font-size: 15.5px;
  color: var(--ivory);
  background: rgba(242, 235, 224, 0.04);
  border: 1px solid var(--line-dark);
  padding: 13px 15px;
  border-radius: 4px;
  width: 100%;
}

.form input::placeholder,
.form textarea::placeholder { color: var(--stone); }

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--champagne);
  outline-offset: 1px;
}

.form textarea { min-height: 90px; resize: vertical; }

.form .btn { justify-self: start; margin-top: 6px; }

.form-note { font-size: 13px; color: var(--stone); }

@media (min-width: 560px) {
  .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ---------- футер ---------- */

.site-footer {
  background: #100d0b;
  padding: 40px 0 96px;
  font-size: 14px;
  color: var(--stone);
}

@media (min-width: 900px) {
  .site-footer { padding-bottom: 44px; }
}

.footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 40px;
  }
}

.site-footer .logo { font-size: 16px; }

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a { color: var(--stone); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: var(--champagne); }

.footer-meta { max-width: 300px; }

/* ---------- мобильная закреплённая кнопка ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 13, 11, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 10px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta .btn { flex: 1; padding: 13px 8px; font-size: 14px; white-space: nowrap; }
.sticky-cta .btn-ghost { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }

@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- партнёрская страница ---------- */

.page-plain { padding-top: 120px; }

.page-plain .hero-sub { color: var(--stone); }

.b2b-grid {
  display: grid;
  gap: 16px;
  margin: clamp(30px, 5vw, 48px) 0;
}

@media (min-width: 760px) {
  .b2b-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.b2b-card {
  border: 1px solid var(--line-dark);
  padding: 26px 24px;
}

.b2b-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--champagne);
}

.b2b-card p { font-size: 14.5px; color: var(--ivory-soft); }

.checklist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 18px;
}

.checklist-table th,
.checklist-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-dark);
  vertical-align: top;
}

.checklist-table th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

.checklist-table .time { font-size: 16px; white-space: nowrap; }

.table-scroll { overflow-x: auto; }

/* фокус с клавиатуры */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}
