/* ================================================================
   КВАРЦ ЭКО — global stylesheet
   Тёмная премиум-тема (возврат к утренней). Акцент янтарь.
================================================================ */

:root {
  /* Тёмная премиум-палитра (утренняя) */
  --bg-base: #0E1A26;
  --bg-surface: #11202E;
  --bg-elevated: #16273A;
  --text-primary: #F1F4F7;
  --text-secondary: #C8D0D8;
  --text-muted: #8E9AA6;
  --accent: #C49A4E;
  --accent-light: #E0B86B;
  --accent-dark: #A1813E;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);

  /* ---- Legacy aliases ---- */
  --bg-dark: #0E1A26;
  --bg-soft: #11202E;
  --surface-dark: #16273A;
  --surface-light: #1B2D42;
  --amber: #C49A4E;
  --amber-hover: #A1813E;
  --amber-soft: rgba(196, 154, 78, 0.14);
  --text-on-dark: #F1F4F7;
  --text-on-light: #0E1A26;
  --muted-on-dark: #A9B4BF;
  --muted-on-light: #4A5663;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(14, 26, 38, 0.12);

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1400px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------------- TYPOGRAPHY ---------------- */
/* Strict business serif: medium weight, tight tracking, low contrast */
.serif { font-family: var(--font-serif); font-weight: 500; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

h3, .h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.2rem; line-height: 1.3; }

p { line-height: 1.7; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--text-secondary); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
}

.muted { color: var(--text-muted); }
.section--light .muted { color: var(--text-muted); }

.tabular { font-variant-numeric: tabular-nums; }

/* ---- Hero price line (eyebrow-typography, accent) ---- */
.hero-price {
  margin-top: 22px;
  font-family: var(--font-sans);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-price--lg {
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.01em;
}
.hero-price--sm {
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------------- LAYOUT ---------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(70px, 11vw, 140px) 0;
  position: relative;
}

/* In the new theme the DEFAULT background is light; .section--light
   keeps an off-white elevated tint, .section--dark is the rare premium block */
.section--light {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.section--light h1, .section--light h2, .section--light h3, .section--light h4 {
  color: var(--text-primary);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark .muted { color: var(--muted-on-dark); }

.section--tight { padding: clamp(50px, 7vw, 90px) 0; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-amber {
  background: var(--accent);
  color: #fff;
}
.btn-amber:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section--dark .btn-ghost { border-color: rgba(255,255,255,0.3); color: var(--text-on-dark); }
.section--dark .btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn-outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
}
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

.btn-line {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  display: inline-block;
  transition: all 0.3s var(--ease);
  font-weight: 600;
}
.btn-line:hover { letter-spacing: 0.22em; }
.section--dark .btn-line { color: var(--accent-light); }

/* ---------------- HEADER ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  padding: 16px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(14, 26, 38, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-scrolled {
  background: rgba(14, 26, 38, 0.96);
  padding: 12px 0;
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.site-header .logo img.brand-logo { filter: none; }
.site-header .nav a, .site-header .nav-trigger, .site-header .header-phone { color: rgba(255,255,255,0.92); }
.site-header .nav a:hover { color: var(--accent-light); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo img.brand-logo { height: 52px; width: auto; max-width: none; display: block; }
@media (max-width: 640px) {
  .logo img.brand-logo { height: 40px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}
.nav > a, .nav > .nav-dropdown > .nav-trigger {
  white-space: nowrap;
}
.nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

.nav-dropdown { position: relative; }
.nav-dropdown > .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  font-weight: 500;
}
.nav-dropdown:hover > .nav-trigger { color: var(--accent); }
.nav-dropdown > .nav-trigger::after {
  content: '';
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.6;
  transition: transform 0.3s var(--ease);
}
.nav-dropdown:hover > .nav-trigger::after { transform: rotate(225deg) translate(-2px, -2px); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(14, 26, 38, 0.12);
  border-radius: 4px;
  padding: 18px 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--amber-soft); color: var(--accent); }
.dropdown-menu a.dd-new::after {
  content: 'NEW';
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.dropdown-menu .dd-eyebrow {
  padding: 4px 24px 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-phone {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text-primary);
  font-weight: 500;
}
.header-cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s var(--ease);
}
.header-cta:hover { background: var(--accent-dark); color: #fff; }

.menu-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
  z-index: 110;
  color: var(--text-primary);
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 16px; }
.menu-toggle span:nth-child(3) { top: 22px; }
.menu-toggle.is-open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 1320px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
}

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-surface);
  z-index: 105;
  padding: 100px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  padding: 10px 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.mobile-menu nav a span {
  display: inline-block;
  margin-top: 4px;
}
.mobile-menu .mm-sub {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.mobile-menu .mm-sub a {
  font-family: var(--font-sans);
  font-size: 16px;
  border: none;
  padding: 6px 0;
  color: var(--text-muted);
}
.mobile-menu .mm-bottom {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------------- HERO (home) ---------------- */
/* New theme: light page, hero image as a framed card with margin */
.hero {
  position: relative;
  background: var(--bg-base);
  padding-top: clamp(110px, 14vw, 150px);
  padding-bottom: clamp(40px, 6vw, 70px);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 3; }

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-shell { grid-template-columns: 1fr; gap: 36px; }
}

.hero-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px rgba(14, 26, 38, 0.16);
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center 60%;
}
.hero-media img { animation: kenBurns 28s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}

.hero-content { position: relative; z-index: 3; }
.hero h1 { max-width: 16ch; }
.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta-right {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 2;
}
/* credit-line under hero — own block, never over logo */
.hero-credit {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Page hero (non-home) — light, image framed card */
.page-hero {
  position: relative;
  background: var(--bg-base);
  padding-top: clamp(120px, 15vw, 170px);
  padding-bottom: clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.page-hero .hero-media {
  position: relative;
  aspect-ratio: 21 / 8;
  border-radius: 6px;
  margin-bottom: clamp(32px, 5vw, 52px);
  box-shadow: 0 24px 60px rgba(14, 26, 38, 0.14);
}
.page-hero .hero-media img { animation: kenBurns 32s ease-in-out infinite alternate; }
.page-hero h1 { max-width: 24ch; }
.page-hero .hero-content { position: relative; z-index: 3; }
.page-hero .breadcrumb {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.page-hero .breadcrumb a:hover { color: var(--accent); }

/* premium DARK page-hero (rare) e.g. resort hero, gallery */
.page-hero--dark, .hero--dark {
  background: var(--bg-dark);
}
.hero--dark .hero-content h1,
.page-hero--dark .hero-content h1 { color: var(--text-on-dark); }
.hero--dark .hero-sub, .page-hero--dark .lead { color: var(--muted-on-dark); }

/* ---------------- SCROLL REVEAL ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ---------------- SECTION HEADERS ---------------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: end;
}
.section-head .lead { max-width: 56ch; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
}

/* ---------------- TABULAR PHONES ---------------- */
.tabular-phone { font-variant-numeric: tabular-nums; }

/* ---------------- CARDS / TILES ---------------- */
.card {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { border-color: var(--accent-light); box-shadow: 0 16px 40px rgba(14,26,38,0.08); }
.section--light .card { background: var(--bg-surface); }

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }

.card-body {
  padding: 28px 30px 32px;
}
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Editorial product tile (large image, label overlay) */
.product-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  border-radius: 4px;
}
.product-tile-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-tile-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.product-tile:hover .product-tile-media img { transform: scale(1.06); }
.product-tile-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,38,0) 45%, rgba(14,26,38,0.78) 100%);
}
.product-tile-label {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
}
.product-tile-label h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}
.product-tile-label p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}
.product-tile-arrow {
  position: absolute;
  top: 22px; right: 22px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,26,38,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  z-index: 2;
  transition: all 0.4s var(--ease);
}
.product-tile-arrow svg { width: 16px; height: 16px; }
.product-tile:hover .product-tile-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.product-tile-tag {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}

/* ---------------- MANIFESTO ---------------- */
.manifesto {
  text-align: center;
  padding: clamp(90px, 13vw, 160px) 0;
  background: var(--bg-elevated);
}
.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0 auto;
  font-weight: 500;
  color: var(--text-primary);
}
.manifesto blockquote::before { content: '«'; color: var(--accent-light); margin-right: 4px; }
.manifesto blockquote::after { content: '»'; color: var(--accent-light); margin-left: 4px; }
.manifesto cite {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

/* ---------------- STATS / NUMBERS ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 50px 32px;
  border-right: 1px solid var(--border);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.stat-num .plus { color: var(--accent); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 14px;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat {
    padding: 32px 18px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-label { margin-top: 12px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat {
    padding: 28px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stat:last-child { border-bottom: none; }
}

/* ---------------- TRUST STRIP ---------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.trust-item {
  background: var(--bg-surface);
  padding: 44px 34px;
  position: relative;
}
.trust-item h4 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.trust-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.trust-item-num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------------- ACHIEVEMENTS (about) ---------------- */
.achievements { display: grid; gap: 16px; margin-top: 48px; }
.achievement {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 32px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.achievement:hover { border-color: var(--accent-light); box-shadow: 0 12px 30px rgba(14,26,38,0.07); }
.achievement-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--amber-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.achievement-icon svg { width: 26px; height: 26px; }
.achievement h4 { font-size: 20px; margin-bottom: 6px; font-weight: 500; }
.achievement p { color: var(--text-secondary); font-size: 14px; line-height: 1.55; }

/* ---------------- FEATURE / SPLIT ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
}

.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.split-body h2 { margin-bottom: 24px; }
.split-body p { color: var(--text-secondary); margin-bottom: 16px; }

/* ---------------- FULL-BLEED FEATURE (premium dark) ---------------- */
.full-feature {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.full-feature-media { position: absolute; inset: 0; }
.full-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.full-feature-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,38,0.2) 0%, rgba(14,26,38,0.55) 60%, rgba(14,26,38,0.9) 100%);
}
.full-feature-content {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
  width: 100%;
}
.full-feature-content h2 { max-width: 16ch; margin-bottom: 24px; color: #fff; }
.full-feature-content p { max-width: 56ch; color: rgba(255,255,255,0.9); }
.full-feature-content .eyebrow { color: var(--accent-light); }

/* ---------------- CROSS-LINK CTA ---------------- */
.cross-cta {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: clamp(40px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.cross-cta .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 700px) {
  .cross-cta { padding: 30px 22px; gap: 24px; }
  .cross-cta .btn {
    font-size: 13px;
    padding: 14px 18px;
    letter-spacing: 0.06em;
    width: 100%;
  }
  .cross-cta h3 { font-size: 24px; }
}
.cross-cta::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.cross-cta .eyebrow { margin-bottom: 14px; }
.cross-cta h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 12px;
  max-width: 28ch;
}
.cross-cta p { color: var(--text-secondary); max-width: 60ch; }
.cross-cta-url {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 800px) {
  .cross-cta { grid-template-columns: 1fr; }
}

/* ---------------- FORM ---------------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form .form-full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 13px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-primary);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%237C8794' stroke-width='1.2'><path d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
  padding-right: 32px;
  cursor: pointer;
}
.form select option { background: #fff; color: var(--text-primary); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.form textarea { min-height: 110px; resize: vertical; }
.form-actions {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.form-note { font-size: 12px; color: var(--text-muted); max-width: 56ch; line-height: 1.5; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.form-success {
  grid-column: 1 / -1;
  background: var(--amber-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 18px 24px;
  margin-top: 8px;
  color: var(--text-primary);
  display: none;
}
.form-success.is-shown { display: block; }

/* ---------------- BUDGET PRESETS (radio pills) ---------------- */
.budget-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.budget-presets input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.budget-presets label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  background: var(--bg-surface);
}
.budget-presets label:hover { border-color: var(--accent-light); color: var(--accent); }
.budget-presets input[type="radio"]:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------------- TABLE (models) ---------------- */
.models-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.models-table th, .models-table td {
  text-align: left;
  padding: 22px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: top;
}
.models-table th {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 14px;
}
.models-table td.model-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  width: 28%;
  color: var(--text-primary);
}
.models-table td.model-price {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .models-table thead { display: none; }
  .models-table tr {
    display: block;
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--border);
  }
  .models-table td {
    display: block;
    border: none;
    padding: 4px 0;
    font-size: 15px;
  }
  .models-table td.model-name {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .models-table td::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 110px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
  }
  .models-table td.model-name::before { display: none; }
}

/* ---------------- INCLUDED TABLE (ready) ---------------- */
.included-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.included-table tr { border-bottom: 1px solid var(--border); }
.included-table tr:first-child { border-top: 1px solid var(--border); }
.included-table td { padding: 22px 16px; vertical-align: top; }
.included-table td:first-child {
  width: 44px;
  color: var(--accent);
}
.included-table td:first-child svg { width: 22px; height: 22px; }
.included-table .it-name { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--text-primary); }
.included-table .it-desc { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

/* ---------------- PROCESS STEPS ---------------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 40px;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.step h3 { font-size: 28px; margin-bottom: 12px; }
.step p { color: var(--text-secondary); margin-bottom: 12px; }
.step-meta {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-top: 18px;
}
@media (max-width: 800px) {
  .step { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .step-num { font-size: 40px; }
}

/* ---------------- INVESTMENT MODEL CARDS ---------------- */
.invest-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.invest-model {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 34px;
  position: relative;
}
.invest-model .eyebrow { margin-bottom: 18px; }
.invest-model h3 { font-size: 26px; margin-bottom: 16px; line-height: 1.2; }
.invest-model p { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.invest-model ul { list-style: none; padding: 0; }
.invest-model li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.invest-model li span:first-child { color: var(--text-muted); }
@media (max-width: 900px) { .invest-models { grid-template-columns: 1fr; } }

/* ---------------- LOGOS / PARTNERS STRIP ---------------- */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 48px;
  align-items: center;
  margin-top: 50px;
}
.partners span {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 18px;
}
@media (max-width: 900px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 90px 0 36px;
  border-top: 1px solid var(--border);
}
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 { color: var(--text-on-dark); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand .logo { margin-bottom: 22px; color: #fff; }
.footer-brand .logo img.brand-logo { filter: none; }
.footer-brand p { color: var(--muted-on-dark); max-width: 34ch; font-size: 14px; line-height: 1.7; }
.footer-reqs { margin-top: 20px; font-size: 13px; color: var(--muted-on-dark); line-height: 1.7; }
.footer-reqs strong { color: var(--text-on-dark); font-weight: 600; }
.footer-reqs a { color: var(--muted-on-dark); }
.footer-reqs a:hover { color: var(--accent-light); }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 15px; color: var(--text-on-dark); }
.footer-col a:hover { color: var(--accent-light); }

.footer-cross {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 32px;
}
.footer-cross a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  transition: all 0.3s var(--ease);
}
.footer-cross a:hover { border-color: var(--accent-light); }
.footer-cross-label .eyebrow { color: var(--accent-light); }
.footer-cross-label h6 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-top: 6px;
  color: var(--text-on-dark);
}
.footer-cross-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-on-dark);
  letter-spacing: 0.02em;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-legal a { color: var(--muted-on-dark); }
.footer-legal a:hover { color: var(--accent-light); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-cross { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------------- PROJECT GRID (premium dark gallery) ---------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-elevated);
}
.project img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 1.2s var(--ease);
}
.project:hover img { transform: scale(1.05); }
.project-body {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
}
.project::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,38,0) 30%, rgba(14,26,38,0.55) 65%, rgba(14,26,38,0.92) 100%);
  pointer-events: none;
}
.project h3 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 6px;
  position: relative; z-index: 2;
}
.project p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.55;
}
.project .eyebrow { color: var(--accent-light); }
@media (max-width: 700px) {
  .project-body { left: 20px; right: 20px; bottom: 20px; }
  .project h3 { font-size: 22px; }
  .project p { font-size: 13px; }
  .project .eyebrow { font-size: 10px; }
}

.project--6 { grid-column: span 6; }
.project--4 { grid-column: span 4; }
.project--8 { grid-column: span 8; }
.project--12 { grid-column: span 12; aspect-ratio: 21 / 9; }
.project--12 img { aspect-ratio: 21 / 9; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .project--6, .project--4, .project--8, .project--12 { grid-column: span 1; }
}

/* ---------------- FAQ / ACCORDION ---------------- */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-a {
  margin-top: 18px;
  color: var(--text-secondary);
  max-width: 70ch;
  display: none;
}
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-q::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  font-weight: 300;
}

/* ---------------- SOCIAL ICONS (blue on white) ---------------- */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-icons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 107, 168, 0.18);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.social-icons a svg { width: 20px; height: 20px; display: block; }

/* ---------------- POLICY CHECKBOX ---------------- */
.form-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent label { margin: 0; padding: 0; font-size: 13px; letter-spacing: 0; text-transform: none; color: inherit; cursor: pointer; font-weight: 400; }
.form-consent a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.form-consent a:hover { border-bottom-color: var(--accent); }

/* ---------------- MAP PLACEHOLDER ---------------- */
.map-placeholder {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #EDEEEA 0%, #DDDED9 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.map-placeholder .grid-lines {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(26, 107, 168, 0.18) 0%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(14,26,38,0.05) 0px, transparent 1px, transparent 60px, rgba(14,26,38,0.05) 61px),
    repeating-linear-gradient(90deg, rgba(14,26,38,0.05) 0px, transparent 1px, transparent 60px, rgba(14,26,38,0.05) 61px);
}
.map-placeholder .map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--text-primary);
}
.map-placeholder .map-dot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.map-placeholder .map-dot svg { width: 26px; height: 26px; }

/* ---------------- MODAL (photo upload) ---------------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(14, 26, 38, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--bg-surface);
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(14,26,38,0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  transition: all 0.25s var(--ease);
}
.modal-close:hover { background: var(--bg-elevated); color: var(--text-primary); }
.modal h3 { font-size: 26px; margin-bottom: 8px; }
.modal .modal-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.modal label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; }
.modal input[type="email"] {
  width: 100%; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 3px;
  padding: 13px 14px; font-family: var(--font-sans); font-size: 16px; color: var(--text-primary); margin-bottom: 22px;
}
.modal input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--amber-soft); }
.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  color: var(--text-secondary);
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: var(--amber-soft); }
.dropzone svg { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 12px; }
.dropzone .dz-main { font-weight: 500; color: var(--text-primary); }
.dropzone .dz-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.dz-files { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.dz-file { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.dz-file::before { content: '•'; color: var(--accent); }
.modal-note { font-size: 12px; color: var(--text-muted); margin-top: 18px; line-height: 1.5; }
.modal .btn { margin-top: 20px; width: 100%; }
.modal-success {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--amber-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 14px;
}
.modal-success.is-shown { display: block; }

/* ---------------- UTILITIES ---------------- */
.text-amber { color: var(--accent); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
  border: none;
}

/* ============ HERO --FULL (полноэкранное видео) ============ */
.hero--full {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0E1A26;
}
.hero--full .hero-media-full {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero--full .hero-media-full video,
.hero--full .hero-media-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--full .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 38, 0.55) 0%,
    rgba(14, 26, 38, 0.25) 35%,
    rgba(14, 26, 38, 0.45) 70%,
    rgba(14, 26, 38, 0.85) 100%
  );
  z-index: 2;
}
.hero--full .hero-full-content {
  position: relative;
  z-index: 3;
  padding: 0 0 80px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .hero--full .hero-full-content {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 56px;
  }
}

.hero-title--light {
  color: #fff !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  max-width: 18ch;
}
.hero-sub--light {
  color: rgba(255,255,255,0.92) !important;
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}
.hero-price--light {
  color: #fff !important;
  font-weight: 600;
  margin-top: 18px;
  font-size: clamp(15px, 1.15vw, 17px);
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
.eyebrow--light {
  color: var(--accent-light) !important;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.hero-meta-right--light {
  color: rgba(255,255,255,0.78);
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.btn-ghost--light {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
  background: transparent;
  backdrop-filter: blur(6px);
}
.btn-ghost--light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff !important;
}

/* шапка над видео — прозрачная сверху, светлая при скролле */
body:has(.hero--full) .site-header {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
body:has(.hero--full) .site-header:not(.is-scrolled) .nav a,
body:has(.hero--full) .site-header:not(.is-scrolled) .nav-trigger,
body:has(.hero--full) .site-header:not(.is-scrolled) .header-phone {
  color: rgba(255,255,255,0.92);
}
body:has(.hero--full) .site-header:not(.is-scrolled) .logo {
  filter: none;
}
body:has(.hero--full) .site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px) saturate(140%);
}

/* ============ ФИКС полноэкранного hero (приоритет над старыми правилами) ============ */
section.hero.hero--full {
  min-height: 92vh !important;
  height: auto;
  padding: 0 !important;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
section.hero.hero--full > .hero-media-full {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}
section.hero.hero--full > .hero-media-full > video,
section.hero.hero--full > .hero-media-full > img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  animation: none !important;
}
section.hero.hero--full > .hero-media-full > .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
}
section.hero.hero--full > .hero-full-content {
  position: relative !important;
  z-index: 3 !important;
  width: 100%;
}

/* Прозрачная шапка над hero без :has — fallback через JS-класс body.hero-overlay-page */
body.hero-overlay-page .site-header {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
body.hero-overlay-page .site-header:not(.is-scrolled) .nav > a,
body.hero-overlay-page .site-header:not(.is-scrolled) .nav-trigger,
body.hero-overlay-page .site-header:not(.is-scrolled) .header-phone,
body.hero-overlay-page .site-header:not(.is-scrolled) .nav-dropdown > .nav-trigger {
  color: #fff !important;
}
body.hero-overlay-page .site-header:not(.is-scrolled) .nav > a:hover {
  color: var(--accent-light) !important;
}
body.hero-overlay-page .site-header:not(.is-scrolled) .logo {
  filter: none;
}
body.hero-overlay-page .site-header.is-scrolled {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  box-shadow: 0 4px 24px rgba(14,26,38,0.08);
}
body.hero-overlay-page .site-header.is-scrolled .logo {
  filter: none;
}

/* убираем дефолтный hero padding-top на главной с полноэкранным hero */
body.hero-overlay-page main,
body.hero-overlay-page {
  padding-top: 0 !important;
}


/* === Mobile fixes for consent checkbox & cross-cta (8 июня 2026) === */
.form-consent { display: flex !important; align-items: flex-start; gap: 12px; }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; cursor: pointer; }
.form-consent label { font-size: 13px; color: var(--text-muted); line-height: 1.45; cursor: pointer; }

@media (max-width: 768px) {
  .map-embed { height: 320px !important; }
  .cross-cta { padding: 18px !important; }
  .cross-cta h3 { font-size: 20px !important; }
  .footer-cross { grid-template-columns: 1fr !important; gap: 12px !important; }
  .footer-cross a { padding: 16px !important; }
}
@media (max-width: 480px) {
  .map-embed { height: 280px !important; }
  .cross-cta h3 { font-size: 18px !important; }
  .form-consent label { font-size: 12px; }
}


/* === Жирный видимый чекбокс согласия (8 июня 2026, 02:50) === */
.form-consent-row { display: flex !important; align-items: flex-start; gap: 14px; margin-top: 8px; }
.form-consent-row input[type="checkbox"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  min-width: 22px; min-height: 22px;
  margin: 2px 0 0 0;
  border: 2px solid #d6a85a;        /* золотой контур */
  border-radius: 4px;
  background: #ffffff;              /* белый фон, ярко на тёмно-синем */
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.form-consent-row input[type="checkbox"]:hover{
  border-color: #f0c070;
  box-shadow: 0 0 0 3px rgba(214,168,90,0.20);
}
.form-consent-row input[type="checkbox"]:checked{
  background: #d6a85a;               /* золотая заливка при checked */
  border-color: #d6a85a;
}
.form-consent-row input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #0a1a30;             /* тёмная галка */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.form-consent-row input[type="checkbox"]:focus-visible{
  outline: 2px solid #f0c070;
  outline-offset: 2px;
}
.form-consent-row label{ font-size: 13px; color: var(--text-muted); line-height: 1.5; cursor: pointer; user-select: none; }
.form-consent-row label a{ color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 480px){
  .form-consent-row label{ font-size: 12px; }
}
