/* ==========================================================================
   РИДЖ — дизайн-система
   Графит + тёплый травертин, акцент — приглушённая обожжённая терракота
   (взята из латунных пилонов гранд-лобби и подсветки лифтов, НЕ копия
   яркого рекламного оранжевого презентации). Акцент — только в мелких
   деталях: кнопки, eyebrow, unit-подписи, буллеты, hover. Крупный текст
   (>28px) всегда нейтральный ink/paper. См. DESIGN.md раздел 12.08.2026.
   ========================================================================== */

:root{
  --ink:        #211E1C;
  --ink-soft:   #2B2723;
  --ink-line:   rgba(241,236,227,0.14);

  --paper:      #F1ECE3;
  --paper-soft: #E7DFCF;
  --paper-line: rgba(33,30,28,0.12);

  --accent:       #8F4B2B;
  --accent-dark:  #7F4526;
  --accent-light: #D2955F;

  --text-on-dark:        #F1ECE3;
  --text-on-dark-soft:   rgba(241,236,227,0.78);
  --text-on-light:       #262220;
  --text-on-light-soft:  rgba(38,34,32,0.72);

  --font-display: "Unbounded", Georgia, serif;
  --font-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

  --section-pad-y: clamp(90px,13vh,150px);
  --strip-pad: clamp(60px,8vh,100px);
  --gap-grid: 48px;

  --radius: 2px;
}

@media (max-width: 820px){
  :root{
    --section-pad-y: clamp(48px,7vh,72px);
    --strip-pad: clamp(28px,4vh,44px);
    --gap-grid: 24px;
  }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
/* фон под ленивую картинку до декодирования — иначе на медленной сети
   секция на долю секунды показывает белую UA-заглушку поверх тёмного/кремового фона */
.section--dark img{ background: var(--ink-soft); }
.section--cream img{ background: var(--paper-soft); }
.hero-media img{ background: var(--ink); }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: inherit;
}
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; }

.container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px);
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow--light{ color: var(--accent-light); }

h2{ font-size: clamp(27px, 3.4vw, 42px); font-weight: 500; }
h3{ font-size: clamp(19px, 2vw, 24px); font-weight: 500; }
h4{ font-size: 16px; font-weight: 500; }

.lede, .section__lede{
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-on-light-soft);
  max-width: 62ch;
}
.section__lede--light{ color: var(--text-on-dark-soft); }
.section--dark .lede{ color: var(--text-on-dark-soft); }

/* ---------- Sections ---------- */
.section{
  padding: var(--section-pad-y) 0;
  position: relative;
}
.section--dark{
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--cream{
  background: var(--paper);
  color: var(--text-on-light);
}
.section--dark h2, .section--dark h3, .section--dark h4{ color: var(--text-on-dark); }

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

/* ---------- Reveal-on-scroll (simple, no scroll-fx) ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{ opacity: 1; transform: none; }
@media (max-width: 820px){
  .reveal{ transition-duration: 0.45s; }
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 40;
  background: rgba(33,30,28,0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(241,236,227,0.08);
}
@media (pointer: coarse){
  .nav{
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(20,18,16,0.97);
  }
}
.nav__inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px clamp(20px,5vw,64px);
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.nav__logo{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: var(--paper);
  display:flex;
  flex-direction: column;
  line-height: 1.3;
}
.nav__logo span{
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent-light);
  margin-top: 2px;
}
.nav.is-scrolled{
  background: rgba(33,30,28,0.88);
  border-bottom-color: rgba(241,236,227,0.16);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  background: var(--accent);
  color: #FBF3EC;
}
.btn--primary:hover{ background: var(--accent-dark); }
.btn--ghost-light{
  background: transparent;
  border-color: rgba(241,236,227,0.55);
  color: var(--text-on-dark);
}
.btn--ghost-light:hover{ border-color: var(--paper); background: rgba(241,236,227,0.08); }
.btn--ghost-dark{
  background: transparent;
  border-color: rgba(38,34,32,0.4);
  color: var(--text-on-light);
}
.btn--ghost-dark:hover{ border-color: var(--ink); background: rgba(38,34,32,0.05); }
.btn--small{ padding: 10px 20px; font-size: 12px; }
.btn--large{ padding: 18px 36px; font-size: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display:flex;
  align-items:flex-end;
  overflow: hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(15,13,11,0.92) 0%, rgba(15,13,11,0.64) 50%, rgba(15,13,11,0.34) 72%, rgba(15,13,11,0.42) 100%);
}
.hero__content{
  position:relative;
  z-index:1;
  width:100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px) clamp(56px,9vh,110px);
  color: var(--paper);
}
.hero__content h1{
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.14;
  color: #fff;
  max-width: 15ch;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__lede{
  font-size: clamp(16px, 1.7vw, 19px);
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: 34px;
}
.hero__cta{ display:flex; gap:16px; flex-wrap: wrap; }

/* ==========================================================================
   LOCATION
   ========================================================================== */
.location__intro{ max-width: 70ch; margin-bottom: 44px; }
.location__intro p{ color: var(--text-on-light-soft); font-size: 16.5px; }

.location__transport{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-grid);
  margin-bottom: var(--strip-pad);
}
.transport-col__title{
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-on-light-soft);
  margin-bottom: 18px;
}
.section--dark .transport-col__title{ color: var(--text-on-dark-soft); }
.transport-list li{
  display:flex;
  align-items:baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--paper-line);
  font-size: 14.5px;
  color: var(--text-on-light-soft);
  line-height: 1.4;
}
.section--dark .transport-list li{ border-top-color: var(--ink-line); color: var(--text-on-dark-soft); }
.transport-list__time{
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  min-width: 52px;
}
.section--dark .transport-list__time{ color: var(--accent-light); }
@media (max-width: 700px){
  .location__transport{ grid-template-columns: 1fr; }
}

.location__photo{
  position:relative;
  margin-bottom: var(--strip-pad);
  border-radius: var(--radius);
  overflow: hidden;
}
.location__photo img{
  width:100%; height:auto;
  aspect-ratio: 1763 / 867;
  object-fit: cover;
}
.location__photo-cap{
  position:absolute; left:0; right:0; bottom:0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(18,16,14,0.85), transparent);
  color: #fff;
  font-size: 13px;
}
@media (max-width: 700px){
  .location__photo img{ aspect-ratio: auto; max-height: 56vh; }
}

.landmarks__title{
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-on-light-soft);
  margin-bottom: 14px;
}
.landmarks__note{
  font-size: 15px;
  color: var(--text-on-light-soft);
  max-width: 70ch;
}

/* ==========================================================================
   ARCHITECTURE
   ========================================================================== */
.architecture__banner{
  margin: 40px 0 var(--gap-grid);
  border-radius: var(--radius);
  overflow: hidden;
}
.architecture__banner img{
  width:100%; height:auto;
  aspect-ratio: 2000 / 1487;
  object-fit: cover;
}
.architecture__grid{
  display:grid;
  grid-template-columns: minmax(280px,38%) 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
  margin-bottom: var(--strip-pad);
}
.architecture__media img{
  width:100%; height:auto;
  aspect-ratio: 1600 / 1844;
  object-fit: cover;
  border-radius: var(--radius);
}
.architecture__text p{ font-size: 15.5px; }
@media (max-width: 860px){
  .architecture__grid{ grid-template-columns: 1fr; }
  .architecture__media img{ max-height: 62vh; height:auto; aspect-ratio: auto; width:100%; }
}
.credit-line{
  font-size: 13px;
  color: var(--text-on-dark-soft);
  font-style: italic;
  margin: 0;
}

/* ==========================================================================
   COMPOSITION
   ========================================================================== */
.composition__media{
  margin: 36px 0 var(--gap-grid);
  border-radius: var(--radius);
  overflow: hidden;
}
.composition__media img{
  width:100%; height:auto;
  aspect-ratio: 1800 / 1360;
  object-fit: cover;
}

.genplan-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  margin-bottom: var(--gap-grid);
}
.genplan-card{ background: var(--paper); padding: 24px 20px; }
.genplan-card__index{
  display:block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.genplan-card p{ font-size: 13.5px; color: var(--text-on-light-soft); margin:0; }
@media (max-width: 900px){ .genplan-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .genplan-grid{ grid-template-columns: 1fr; } }

.typology-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
  margin-bottom: var(--strip-pad);
}
.typology-card{ border-top: 1px solid var(--paper-line); padding-top: 20px; }
.typology-card__floors{
  display:block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--text-on-light);
  margin-bottom: 8px;
}
.typology-card h4{ font-size: 15px; color: var(--text-on-light-soft); font-weight: 500; margin-bottom: 8px; }
.typology-card p{ font-size: 13.5px; color: var(--text-on-light-soft); margin:0; }
@media (max-width: 700px){ .typology-grid{ grid-template-columns: 1fr; } }

.metrics-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--paper-line);
}
.section--dark .metrics-grid{ border-top-color: var(--ink-line); }
.metric{ display:flex; flex-direction: column; gap: 6px; }
.metric__value{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-on-light);
}
.section--dark .metric__value{ color: var(--text-on-dark); }
.metric__label{ font-size: 13px; color: var(--text-on-light-soft); line-height: 1.4; }
.section--dark .metric__label{ color: var(--text-on-dark-soft); }
@media (max-width: 700px){ .metrics-grid{ grid-template-columns: repeat(2, 1fr); } }

.fact-list li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text-on-light-soft);
}
.fact-list--light li{ color: var(--text-on-dark-soft); }
.fact-list li::before{
  content:"";
  position:absolute; left:0; top:9px;
  width:8px; height:1px;
  background: var(--accent);
}
.fact-list--light li::before{ background: var(--accent-light); }

/* ==========================================================================
   GRAND LOBBY
   ========================================================================== */
.lobby__grid{
  display:grid;
  grid-template-columns: minmax(280px,42%) 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
  margin-bottom: var(--strip-pad);
}
.lobby__media img{
  width:100%; height:auto;
  aspect-ratio: 1800 / 1408;
  object-fit: cover;
  border-radius: var(--radius);
}
.lobby__zones{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 26px;
}
.lobby-zone h4{ font-size: 14.5px; color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; font-family: var(--font-sans); font-weight: 600; }
@media (max-width: 860px){
  .lobby__grid{ grid-template-columns: 1fr; }
  .lobby__media img{ max-height: 60vh; aspect-ratio: auto; }
  .lobby__zones{ grid-template-columns: 1fr; }
}
.lobby__banner img{
  width:100%; height:auto;
  aspect-ratio: 2200 / 933;
  object-fit: cover;
}

/* ==========================================================================
   APARTMENT
   ========================================================================== */
.apartment__grid{
  display:grid;
  grid-template-columns: 1fr minmax(280px,40%);
  gap: clamp(32px,5vw,80px);
  align-items: center;
  margin-bottom: var(--gap-grid);
}
.apartment__media{ order: 2; }
.apartment__media img{
  width:100%; height:auto;
  aspect-ratio: 1800 / 1396;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 860px){
  .apartment__grid{ grid-template-columns: 1fr; }
  .apartment__media{ order: 0; }
  .apartment__media img{ max-height: 58vh; aspect-ratio: auto; }
}

.plan-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  margin-top: var(--gap-grid);
}
.plan-card{
  background: var(--paper);
  padding: 26px 20px;
  display:flex;
  flex-direction: column;
}
.plan-card__type{
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.plan-card__range{
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-on-light);
}
.plan-card__unit{ font-size: 13px; color: var(--text-on-light-soft); margin-top: 4px; }
@media (max-width: 900px){ .plan-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .plan-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   FINISHING
   ========================================================================== */
.finishing__grid{
  display:grid;
  grid-template-columns: minmax(280px,40%) 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: center;
}
.finishing__media img{
  width:100%; height:auto;
  aspect-ratio: 1800 / 1404;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 860px){
  .finishing__grid{ grid-template-columns: 1fr; }
  .finishing__media img{ max-height: 60vh; aspect-ratio: auto; }
}

/* ==========================================================================
   COURTYARD
   ========================================================================== */
.courtyard__banner{ margin: 36px 0 0; }
.courtyard__banner img{
  width:100%; height:auto;
  aspect-ratio: 1800 / 1380;
  object-fit: cover;
}
.courtyard__duo{
  display:grid;
  grid-template-columns: 0.75fr 1fr;
  gap: var(--gap-grid);
  margin-top: var(--gap-grid);
}
.courtyard__duo-item img{
  width:100%; height:auto;
  border-radius: var(--radius);
  object-fit: cover;
}
.courtyard__duo-item img{ aspect-ratio: 1800 / 1376; }
.courtyard__duo-item--portrait img{ aspect-ratio: 1384 / 1536; }
@media (max-width: 780px){
  .courtyard__duo{ grid-template-columns: 1fr; }
  .courtyard__duo-item img, .courtyard__duo-item--portrait img{ aspect-ratio: auto; max-height: 60vh; }
}

/* ==========================================================================
   TECH SPECS (Небесный этаж / Паркинг)
   ========================================================================== */
.specs-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-grid);
  margin-top: 36px;
}
.specs-col{ border-top: 1px solid var(--ink-line); padding-top: 22px; }
.section--cream .specs-col{ border-top-color: var(--paper-line); }
.specs-col h3{ font-size: 18px; margin-bottom: 10px; }
.specs-col p{ font-size: 14px; color: var(--text-on-dark-soft); margin:0; }
.section--cream .specs-col p{ color: var(--text-on-light-soft); }
@media (max-width: 900px){ .specs-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .specs-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services__banner{ margin: 36px 0; }
.services__banner img{
  width:100%; height:auto;
  aspect-ratio: 2200 / 931;
  object-fit: cover;
}
.amenities__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.amenity{ background: var(--paper); padding: 26px 22px; }
.amenity h4{
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.amenity p{ font-size: 13.5px; color: var(--text-on-light-soft); margin:0; }
@media (max-width: 700px){ .amenities__grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   COMMERCE
   ========================================================================== */
.commerce__inner{ max-width: 760px; }

/* ==========================================================================
   CTA / ЗАЯВКА
   ========================================================================== */
.cta-section{ text-align: center; }
.cta-section__inner{ max-width: 700px; margin: 0 auto; }
.cta-section h2{ margin-bottom: 18px; }
.cta-section .section__lede{ margin: 0 auto 36px; }
.cta-section__buttons{
  display:flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding: 48px 0 96px;
}
.footer__inner{ text-align: center; }
.footer__brand{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--paper);
  margin-bottom: 18px;
}
.footer__brand span{
  display:block;
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.28em;
  color: var(--accent-light);
  margin-top: 6px;
}
.footer__note{
  max-width: 58ch;
  margin: 0 auto 14px;
  font-size: 13px;
  line-height: 1.6;
}
.footer__copy{ font-size: 12px; opacity: 0.6; margin:0; }

/* ==========================================================================
   LEAD MODAL — заявка (звонок / подборка) — стили-заготовка,
   логику открытия/закрытия и отправку допишет следующий агент
   ========================================================================== */
.lead-modal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lead-modal.open{ display:flex; }
.lead-overlay{
  position:absolute; inset:0;
  background: rgba(15,13,11,0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (pointer: coarse){
  .lead-overlay{ -webkit-backdrop-filter:none; backdrop-filter:none; background: rgba(15,13,11,0.94); }
}
.lead-dialog{
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  padding: clamp(28px,5vw,48px);
  color: var(--text-on-dark);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .4s ease;
}
.lead-modal.open .lead-dialog{ transform:none; opacity:1; }

.lead-close{
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: 0;
  color: var(--text-on-dark-soft);
  font-size: 28px;
  line-height: 1;
  padding: 6px 10px;
  transition: color .2s ease;
}
.lead-close:hover{ color: var(--paper); }

.lead-form-wrap h3{
  font-size: clamp(21px,3vw,26px);
  padding-right: 28px;
  margin-bottom: 12px;
  color: var(--paper);
}
.lead-sub{
  color: var(--text-on-dark-soft);
  font-size: 15px;
  margin-bottom: 28px;
}
.lead-hp{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }

.lead-field{ display:block; margin-bottom: 16px; }
.lead-field span{
  display:block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.lead-field input{
  width: 100%;
  background: rgba(241,236,227,0.06);
  border: 1px solid rgba(241,236,227,0.18);
  border-radius: 4px;
  padding: 15px 16px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.lead-field input::placeholder{ color: rgba(241,236,227,0.32); }
.lead-field input:focus{ border-color: var(--accent-light); background: rgba(241,236,227,0.1); }
.lead-field input.invalid{ border-color: #B5544A; }

.lead-submit{ width: 100%; margin-top: 6px; }
.lead-submit:disabled{ opacity:.6; cursor:wait; transform:none; }

.lead-error{ display:none; color:#D98A80; font-size:13.5px; margin-top:14px; }
.lead-error.show{ display:block; }

.lead-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin: 16px 0 0;
  cursor:pointer;
}
.lead-consent input[type="checkbox"]{
  flex:0 0 auto;
  width:16px; height:16px;
  margin-top:3px;
  accent-color: var(--accent-light);
  cursor:pointer;
}
.lead-consent span{
  color: rgba(241,236,227,0.62);
  font-size:12px;
  line-height:1.55;
}

.lead-success{ display:none; text-align:center; padding: 12px 0; }
.lead-modal.success .lead-form-wrap{ display:none; }
.lead-modal.success .lead-success{ display:block; }
.lead-check{ width:64px; height:64px; margin:0 auto 22px; }
.lead-check circle, .lead-check path{ stroke: var(--accent-light); }
.lead-success h3{ color: var(--paper); margin-bottom: 10px; }
.lead-success p{ color: var(--text-on-dark-soft); margin:0; }

@media (max-width: 480px){
  .lead-dialog{ border-radius: 4px; padding: 26px 20px 30px; }
}

/* ==========================================================================
   MOBILE LEAD BAR — заготовка, показ/скрытие по скроллу допишет следующий агент
   ========================================================================== */
.lead-bar{ display:none; }
@media (max-width: 820px){
  .lead-bar{
    display:flex;
    position: fixed;
    left:0; right:0; bottom:0;
    z-index: 50;
    height: 56px;
    background: var(--ink);
    border-top: 1px solid rgba(241,236,227,0.14);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
    transition: transform .3s ease;
  }
  /* видима только после того, как герой (со своими кнопками) ушёл со экрана —
     логику показа допишет следующий агент, класс is-visible уже готов */
  .lead-bar.is-visible{ transform: none; }
  .lead-bar__btn{
    flex:1;
    border:none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .lead-bar__btn--ghost{
    background: transparent;
    color: var(--paper);
    border-right: 1px solid rgba(241,236,227,0.14);
  }
  .lead-bar__btn--primary{
    background: var(--accent);
    color: #FBF3EC;
  }
  .footer{ padding-bottom: calc(56px + env(safe-area-inset-bottom) + 32px); }
}
