/* ========== Сброс ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Тёмная благородная палитра */
  --bg:           #0f1115;   /* глубокий графит */
  --bg-alt:       #141821;   /* чуть светлее */
  --bg-card:      #1a1f29;   /* карточки */
  --border:       #262d3a;   /* тонкие линии */
  --border-soft:  #1f2531;

  --text:         #e8e6e1;   /* основной светлый */
  --text-muted:   #9aa1ad;   /* приглушённый */
  --text-dim:     #6a7280;

  /* Акценты из логотипа */
  --gold:         #c9a86a;
  --gold-light:   #e0c088;
  --gold-dark:    #a88848;
  --blue:         #6da8d8;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1240px;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

section { padding: 96px 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.12;
}
h1 { font-size: clamp(32px, 4.4vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 48px; }
h3 { font-size: 18px; font-weight: 600; }

/* ========== Кнопки ========== */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: .2s ease;
  letter-spacing: .01em;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1305;
}
.btn--gold:hover { filter: brightness(1.08); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ========== Шапка ========== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,17,21,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--gold);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.logo__sub {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-top: 2px;
}

/* Центральный логотип в шапке */
.header__logo-center {
  height: 60px;           /* компактный размер, не перекрывает ничего */
  width: auto;            /* пропорции сохраняются */
  max-width: 90px;        /* страховка от слишком широкого лого */
  object-fit: contain;
  flex-shrink: 0;         /* не сжимается при узком экране */
  opacity: .95;
}

.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.nav a:hover { color: var(--gold-light); }

.header__phone {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold-light); }

/* ========== Hero ========== */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,168,106,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(109,168,216,.06), transparent 60%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
}
.hero__text p {
  margin: 24px 0 40px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__facts {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-light);
  font-weight: 600;
}
.hero__facts span {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.hero__visual-frame {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.hero__visual-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.hero__visual-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: .1em;
}

/* ========== Ключевой оффер ========== */
.lead-offer {
  padding: 80px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-alt);
}
.lead-offer__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}
.lead-offer__text em {
  font-style: normal;
  color: var(--gold-light);
}

/* ========== Преимущества ========== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.benefit {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.benefit:hover { border-color: var(--gold-dark); }
.benefit__num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 20px;
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.benefit p { color: var(--text-muted); font-size: 15px; }

/* ========== Технические характеристики ========== */
.specs { background: var(--bg-alt); }
.specs__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.specs__list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}
.specs__list dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  padding-top: 3px;
}
.specs__list dd { color: var(--text); font-size: 16px; }

/* ========== Модели ========== */
.models__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.model {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s;
}
.model:hover { border-color: var(--gold-dark); }
.model__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1d2330 0%, #161a23 100%);
  position: relative;
  overflow: hidden;
}
.model__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* кадрирует по центру — фото заполняет слот */
  object-position: 50% 120%;
  display: block;
  transition: transform .4s ease;
}
.model:hover .model__img img { transform: scale(1.04); }
.model h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  padding: 24px 24px 6px;
}
.model__size {
  padding: 0 24px;
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
}
.model__note {
  padding: 12px 24px 24px;
  color: var(--text-muted);
  font-size: 14px;
}
.models__footnote {
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  font-style: italic;
}

/* ========== Цены ========== */
.pricing { background: var(--bg-alt); }
.pricing__tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.tier {
  padding: 40px 24px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.tier--featured {
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(201,168,106,.06), transparent);
}
.tier__volume {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.tier__label {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: .06em;
}

.pricing__note {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.pricing__note h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 20px;
}
.pricing__note ul { list-style: none; }
.pricing__note li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
}
.pricing__note li:last-child { border-bottom: none; }
.pricing__note li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.pricing__promise {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 15px;
  font-style: italic;
}

/* ========== Процесс ========== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .25s;
}
.step:hover { border-color: var(--gold-dark); }
.step__num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}
.step p { color: var(--text-muted); font-size: 14px; }

/* ========== Логистика ========== */
.logistics { background: var(--bg-alt); }
.logistics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.logistics__grid article {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.logistics__grid h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--gold-light);
}
.logistics__grid p { color: var(--text-muted); font-size: 15px; }

/* ========== Документы ========== */
.docs__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}
.docs__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.docs__list li span {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .08em;
  min-width: 32px;
}

/* ========== Контакты ========== */
.contacts {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(201,168,106,.06), transparent 60%),
    var(--bg-alt);
}
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacts__text p {
  color: var(--text-muted);
  margin: 20px 0 32px;
  font-size: 16px;
  max-width: 480px;
}
.contacts__links { list-style: none; display: grid; gap: 20px; }
.contacts__links li { display: flex; flex-direction: column; gap: 6px; }
.contacts__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-dim);
}
.contacts__links a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 600;
}
.contacts__links a:hover { color: var(--gold); }
.contacts__promise {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.contacts__logo {
  display: block;
  width: 100%;
  max-width: 200px;    /* ограничитель, чтобы не вылез из колонки */
  height: auto;
  margin-top: 32px;
  object-fit: contain;
  opacity: .9;
  mix-blend-mode: lighten;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lead-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}
input, textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 100px; }
.lead-form .btn { margin-top: 8px; }
.lead-form__hint {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
}

/* Обёртка поля */
.field { display: flex; flex-direction: column; gap: 6px; }

/* Поле с ошибкой */
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #d9534f;
}

/* Поле валидно */
.field input.is-valid,
.field textarea.is-valid {
  border-color: var(--gold-dark);
}

/* Текст ошибки */
.field__error {
  font-size: 12px;
  color: #d9534f;
  min-height: 0;      /* не занимает место, пока пусто */
  line-height: 1.3;
  transition: all .2s;
}
.field__error:empty { display: none; }

/* ========== Футер ========== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; line-height: 1.2; }
.footer__brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-light);
}
.footer__brand span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 4px;
}
.footer__copy { color: var(--text-dim); font-size: 13px; }

/* ========== Адаптив ========== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual-frame { max-width: 480px; margin: 0 auto; }
  .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .lead-form { padding: 28px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav { display: none; }
  .hero { padding: 80px 0 64px; }
  .hero__facts { gap: 24px; flex-wrap: wrap; }
  .hero__facts strong { font-size: 22px; }
  h2 { margin-bottom: 32px; }
  .specs__list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { flex-direction: column; text-align: center; }
}