/* =========================================================
   SVO2026 — Контракт. Стили.
   Палитра: deep ink / olive / aged gold / warm bone
   ========================================================= */

:root {
  /* Base */
  --bg: #0b0d0b;
  --bg-2: #11140f;
  --surface: #161a16;
  --surface-2: #1f241f;
  --surface-3: #262c25;
  --border: #2a312a;
  --border-strong: #3a4137;

  /* Text */
  --text: #e8e4d8;
  --text-soft: #c9c5b8;
  --text-muted: #8e8a7d;
  --text-dim: #5a5a50;

  /* Accents */
  --gold: #c89c3a;
  --gold-2: #e3b245;
  --gold-deep: #8a6a1f;
  --olive: #4f6232;
  --olive-2: #6c8246;
  --olive-deep: #2d3a1f;

  /* Status */
  --danger: #c8553a;
  --success: #6c8246;

  /* Flag of Russia */
  --flag-white: #f5f3ec;
  --flag-blue: #0e4c92;
  --flag-red: #c8313c;

  /* St. George ribbon */
  --ribbon-black: #14110e;
  --ribbon-orange: #d97f1f;

  /* Type */
  --font-display: "Russo One", "Oswald", system-ui, sans-serif;
  --font-headline: "Oswald", "PT Sans Narrow", sans-serif;
  --font-body: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  /* Motion */
  --ease: cubic-bezier(.2,.65,.3,1);
}

/* ================ RESET ================ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul,ol { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }

/* Background atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,156,58,0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(79,98,50,0.06), transparent 70%),
    var(--bg);
}

/* ================ CONTAINER ================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: var(--container-narrow); }

@media (max-width: 720px) {
  .container { padding: 0 18px; }
}

/* ================ TOPBAR ================ */
.topbar {
  background: linear-gradient(90deg, var(--olive-deep) 0%, #1a2114 100%);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 28px;
  letter-spacing: 0.02em;
}
.topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@media (max-width: 720px) {
  .topbar__text { font-size: 11.5px; }
}

/* ================ HEADER ================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,13,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--gold);
  flex-shrink: 0;
}
.logo__mark--small { width: 28px; height: 28px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo__sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.header__phone:hover { color: var(--gold); }
.header__phone svg { color: var(--gold); }

@media (max-width: 920px) {
  .logo__sub { display: none; }
  .header__phone span { display: none; }
}
@media (max-width: 720px) {
  .header__inner { padding: 12px 18px; gap: 12px; }
  .header__phone { font-size: 0; gap: 0; }
  .header__phone svg { width: 22px; height: 22px; }
  .header__cta { display: none; }
  .logo__title { font-size: 13px; }
}

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1a1503;
  border-color: var(--gold-deep);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 -2px 0 rgba(0,0,0,0.18) inset,
    0 12px 28px -10px rgba(200,156,58,0.45);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #efbe54 0%, var(--gold-2) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 -2px 0 rgba(0,0,0,0.18) inset,
    0 18px 36px -10px rgba(200,156,58,0.6);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--gold); color: var(--gold); }
.btn--small { padding: 9px 16px; font-size: 13px; }
.btn--large { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ================ HERO ================ */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero__pattern { width: 100%; height: 100%; object-fit: cover; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
}
.badge--olive {
  background: rgba(108,130,70,0.18);
  color: var(--olive-2);
  border: 1px solid rgba(108,130,70,0.35);
}
.hero__location {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-transform: uppercase;
  line-height: 0.98;
}
.hero__title-accent {
  display: block;
  color: var(--gold);
  margin-top: 2px;
  position: relative;
}
.hero__title-accent::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12%;
  bottom: 14%;
  width: 4px;
  background: var(--gold);
}

.hero__lead {
  font-size: 19px;
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.55;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-soft);
}
.chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--olive);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px;
  background: rgba(22,26,22,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero__trust-item { text-align: center; }
.hero__trust-num {
  display: block;
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1;
}
.hero__trust-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO FORM */
.hero__form-wrap { position: sticky; top: 90px; }

.form-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 30px 80px -20px rgba(0,0,0,0.6);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(200,156,58,0.5), transparent 40%, transparent 60%, rgba(200,156,58,0.2));
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.form-card__head { margin-bottom: 22px; }
.form-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.form-card__sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================ FORMS ================ */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(11,13,11,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s var(--ease);
  outline: none;
}
.field input::placeholder { color: var(--text-dim); }
.field input:hover { border-color: var(--border-strong); }
.field input:focus {
  border-color: var(--gold);
  background: rgba(11,13,11,0.85);
  box-shadow: 0 0 0 3px rgba(200,156,58,0.15);
}
.field--error input { border-color: var(--danger); }
.field--error input:focus { box-shadow: 0 0 0 3px rgba(200,85,58,0.18); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent a { color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--border-strong); }
.consent a:hover { color: var(--gold); }

.form__submit {
  margin-top: 8px;
  position: relative;
}
.form__submit-loader {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26,21,3,0.3);
  border-top-color: #1a1503;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.form__submit.is-loading .form__submit-label { opacity: 0; }
.form__submit.is-loading .form__submit-loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  text-align: center;
  padding: 20px 10px;
  color: var(--olive-2);
}
.form__success svg { color: var(--olive-2); margin: 0 auto 12px; }
.form__success-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
}
.form__success-text { font-size: 14px; color: var(--text-muted); }

.form__error {
  padding: 12px 14px;
  background: rgba(200,85,58,0.1);
  border: 1px solid rgba(200,85,58,0.35);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 13.5px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__form-wrap { position: static; }
}
@media (max-width: 720px) {
  .hero { padding: 36px 0 50px; }
  .hero__title-accent::before { display: none; }
  .hero__lead { font-size: 16.5px; }
  .hero__trust { padding: 16px 14px; grid-template-columns: repeat(3, 1fr); }
  .hero__trust-num { font-size: 17px; }
  .hero__trust-label { font-size: 10.5px; }
  .form-card { padding: 22px; }
  .form-card__title { font-size: 22px; }
}

/* ================ NUMBERS STRIP ================ */
.numbers {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.numbers__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
.num-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.num-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.num-card--hero {
  background: linear-gradient(135deg, var(--olive-deep) 0%, var(--surface) 70%);
  border-color: rgba(200,156,58,0.35);
}
.num-card--hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(200,156,58,0.25), transparent 70%);
  pointer-events: none;
}
.num-card__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 12px;
}
.num-card__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.005em;
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.num-card--hero .num-card__value { font-size: clamp(32px, 4.5vw, 52px); }
.num-card__note {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

@media (max-width: 920px) {
  .numbers__grid { grid-template-columns: 1fr; }
}

/* ================ SECTION SHARED ================ */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section--dark {
  background: var(--bg-2);
}
.section--accent {
  background: linear-gradient(135deg, var(--olive-deep) 0%, #1a2114 100%);
  border-color: var(--olive-deep);
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head--center { text-align: center; margin: 0 auto 56px; }
.section-head__kicker {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-left: 28px;
  position: relative;
}
.section-head__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.section-head__kicker--dark { color: var(--gold-2); }
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-head__title--dark { color: var(--text); }
.section-head__lead {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head__lead { font-size: 16px; }
}

/* ================ PAYMENTS ================ */
.pay-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}
.pay-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.pay-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.pay-card--featured {
  grid-row: span 1;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border-color: rgba(200,156,58,0.3);
}
.pay-card__num {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.pay-card__title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.pay-card__big {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.pay-card--featured .pay-card__big { font-size: clamp(28px, 3vw, 40px); }
.pay-card__text {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 16px;
}
.pay-card__list {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-card__list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.pay-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

@media (max-width: 1100px) {
  .pay-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-card { padding: 22px; }
}

/* ================ OTNOSHENIE ================ */
.otn {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.otn__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
}
.accent { color: var(--gold); }
.otn__lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.55;
}
.otn__right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.otn-item {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.otn-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(200,156,58,0.4);
}
.otn-item__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(200,156,58,0.12);
  color: var(--gold);
  border-radius: 8px;
  margin-bottom: 14px;
}
.otn-item h3 {
  font-family: var(--font-headline);
  font-size: 16.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.otn-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 980px) {
  .otn { grid-template-columns: 1fr; gap: 36px; }
  .otn__right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .otn__right { grid-template-columns: 1fr; }
}

/* ================ STEPS ================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--gold); }
.step__num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.step__num::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.step__title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.step__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.step__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(108,130,70,0.15);
  color: var(--olive-2);
  border: 1px solid rgba(108,130,70,0.3);
  border-radius: 999px;
  font-family: var(--font-headline);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ================ FAMILY ================ */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.family-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.family-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.family-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--olive-deep) 0%, var(--olive) 100%);
  color: var(--text);
  border-radius: 10px;
  margin-bottom: 18px;
}
.family-card h3 {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.family-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 920px) { .family-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .family-grid { grid-template-columns: 1fr; } }

/* ================ LEGAL ================ */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal-card {
  padding: 32px 28px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.legal-card:nth-child(3n) { border-right: none; }
.legal-card:nth-last-child(-n+3) { border-bottom: none; }
.legal-card:hover {
  background: var(--surface-2);
}
.legal-card__num {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.legal-card h3 {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 920px) {
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .legal-card { border-right: 1px solid var(--border) !important; }
  .legal-card:nth-child(2n) { border-right: none !important; }
  .legal-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-card { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .legal-card:last-child { border-bottom: none !important; }
}

/* ================ REQUIREMENTS ================ */
.reqs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.req {
  padding: 32px 28px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(232,228,216,0.12);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(8px);
}
.req__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold-2);
  margin-bottom: 14px;
  line-height: 1;
}
.req__title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--text);
}
.req__sub {
  font-size: 14px;
  color: rgba(232,228,216,0.7);
}

@media (max-width: 760px) { .reqs-grid { grid-template-columns: 1fr; } }

/* ================ FAQ ================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] { border-color: rgba(200,156,58,0.4); }
.faq__item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 24px 22px; }
.faq__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 560px) {
  .faq__item summary { padding: 16px 18px; font-size: 15px; }
  .faq__body { padding: 0 18px 18px; }
}

/* ================ CTA FINAL ================ */
.cta-final {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(200,156,58,0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-2) 0%, #0a0c08 100%);
}
.cta-final__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 22px;
}
.cta-final__lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 36px;
  line-height: 1.55;
}
.cta-final__contacts { display: flex; flex-direction: column; gap: 16px; }
.cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}
.cta-contact:hover { border-color: var(--gold); transform: translateX(4px); }
.cta-contact svg { color: var(--gold); flex-shrink: 0; }
.cta-contact__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.cta-contact__value {
  display: block;
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 980px) {
  .cta-final__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .cta-final { padding: 60px 0; }
}

/* ================ FOOTER ================ */
.footer {
  padding: 60px 0 30px;
  background: #060806;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer__logo .logo__mark { color: var(--gold); width: 28px; height: 28px; }
.footer__about { line-height: 1.6; }
.footer__title {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__list { display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.footer__list a { transition: color 0.2s var(--ease); }
.footer__list a:hover { color: var(--gold); }
.footer__small { font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.footer__bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}

@media (max-width: 920px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ================ STICKY MOBILE CTA ================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,13,11,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.sticky-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--gold);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.sticky-cta__btn { padding: 14px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 84px; }
}

/* ================ ANIMATIONS ================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===========================================================
   PATRIOTIC DECOR & HERO REWORK
   =========================================================== */

/* ---------- Tricolor strip (Russian flag bars) ---------- */
.tricolor {
  display: flex;
  width: 100%;
  height: 4px;
}
.tricolor span {
  flex: 1;
  display: block;
}
.tricolor span:nth-child(1) { background: var(--flag-white); }
.tricolor span:nth-child(2) { background: var(--flag-blue); }
.tricolor span:nth-child(3) { background: var(--flag-red); }

.tricolor--thick { height: 6px; }
.tricolor--diagonal {
  height: 3px;
  background: linear-gradient(90deg, var(--flag-white) 33.3%, var(--flag-blue) 33.3% 66.6%, var(--flag-red) 66.6%);
}

/* ---------- St. George ribbon (band) ---------- */
.ribbon-georgian {
  height: 14px;
  width: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 0
    ),
    linear-gradient(
      180deg,
      var(--ribbon-orange) 0%,
      var(--ribbon-orange) 12%,
      var(--ribbon-black) 12%,
      var(--ribbon-black) 28%,
      var(--ribbon-orange) 28%,
      var(--ribbon-orange) 44%,
      var(--ribbon-black) 44%,
      var(--ribbon-black) 56%,
      var(--ribbon-orange) 56%,
      var(--ribbon-orange) 72%,
      var(--ribbon-black) 72%,
      var(--ribbon-black) 88%,
      var(--ribbon-orange) 88%,
      var(--ribbon-orange) 100%
    );
  box-shadow: 0 1px 0 rgba(0,0,0,0.5) inset, 0 -1px 0 rgba(0,0,0,0.5) inset;
}
.ribbon-georgian--thin { height: 8px; }
.ribbon-georgian--thick { height: 22px; }

/* Big background section numbers */
.section { position: relative; overflow: hidden; }
.section[data-bignum]::before {
  content: attr(data-bignum);
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(280px, 38vw, 540px);
  line-height: 1;
  font-weight: 400;
  color: rgba(200, 156, 58, 0.025);
  letter-spacing: -0.03em;
  pointer-events: none;
  right: -3vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  white-space: nowrap;
  text-transform: uppercase;
}
.section > .container { position: relative; z-index: 1; }

/* Corner stars in sections */
.section-corner-star {
  position: absolute;
  width: 80px;
  height: 80px;
  color: rgba(200, 156, 58, 0.08);
  pointer-events: none;
  z-index: 0;
}
.section-corner-star--tl { top: 28px; left: 28px; }
.section-corner-star--br { bottom: 28px; right: 28px; }

@media (max-width: 720px) {
  .section-corner-star { width: 48px; height: 48px; top: 16px; left: 16px; }
  .section-corner-star--br { bottom: 16px; right: 16px; top: auto; left: auto; }
}

/* ---------- HERO ENHANCEMENT ---------- */
.hero { padding: 80px 0 90px; }

.hero__decor {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 56%;
  max-width: 800px;
  height: 92%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hero__decor svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__flag-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 6px;
  display: flex;
  z-index: 2;
}
.hero__flag-corner span {
  flex: 1;
}
.hero__flag-corner span:nth-child(1) { background: var(--flag-white); }
.hero__flag-corner span:nth-child(2) { background: var(--flag-blue); }
.hero__flag-corner span:nth-child(3) { background: var(--flag-red); }

/* Hero eyebrow change — red badge instead of olive */
.badge--red {
  background: rgba(200, 49, 60, 0.18);
  color: #e8757e;
  border: 1px solid rgba(200, 49, 60, 0.4);
}
.badge--red .topbar__dot,
.badge--red::before {
  background: var(--flag-red);
  box-shadow: 0 0 10px var(--flag-red);
}

.hero__title-mega {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 100px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  text-transform: uppercase;
  line-height: 0.92;
}
.hero__title-mega span {
  display: block;
}
.hero__title-mega .acc-gold {
  color: var(--gold);
  position: relative;
  text-shadow: 0 0 60px rgba(200,156,58,0.25);
}

/* Hero numbers — bigger, with glow */
.hero__trust {
  position: relative;
  background:
    linear-gradient(180deg, rgba(22,26,22,0.85), rgba(22,26,22,0.6)),
    rgba(0,0,0,0.4);
  padding: 26px 22px;
}
.hero__trust::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(200,156,58,0.5), transparent 50%, rgba(200,49,60,0.3));
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero__trust-num {
  font-size: 28px;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(200,156,58,0.4);
}

/* Hero ribbon under trust */
.hero__ribbon {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__ribbon-text {
  font-family: var(--font-headline);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Numbers section — animated counters */
.num-card__value[data-counter] {
  display: inline-block;
}
.num-card__value {
  text-shadow: 0 0 40px rgba(200,156,58,0.25);
}
.num-card--hero .num-card__value {
  text-shadow: 0 0 60px rgba(200,156,58,0.4);
}

/* Tricolor between sections */
.section-divider {
  height: 4px;
  display: flex;
  width: 100%;
}
.section-divider span { flex: 1; height: 100%; }
.section-divider span:nth-child(1) { background: var(--flag-white); }
.section-divider span:nth-child(2) { background: var(--flag-blue); }
.section-divider span:nth-child(3) { background: var(--flag-red); }

/* =========================================================
   MANIFESTO BLOCK
   ========================================================= */
.manifesto {
  position: relative;
  padding: 130px 0 140px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(200,49,60,0.08), transparent 70%),
    linear-gradient(180deg, #0a0d0a 0%, #0e120d 100%);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto__bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.manifesto__bg svg { width: 100%; height: 100%; }
.manifesto__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}
.manifesto__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headline);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.manifesto__kicker::before,
.manifesto__kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.manifesto__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 92px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 1100px;
  margin: 0 auto 30px;
}
.manifesto__title span { display: block; }
.manifesto__title .gold { color: var(--gold); }
.manifesto__sub {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.manifesto__ribbon-wrap {
  max-width: 540px;
  margin: 0 auto 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
}
.manifesto__cta {
  display: inline-flex;
  justify-content: center;
}

/* Decorative stars layer in manifesto */
.stars-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stars-layer .star {
  position: absolute;
  color: rgba(200,156,58,0.18);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

@media (max-width: 720px) {
  .manifesto { padding: 80px 0 90px; }
  .manifesto__sub { font-size: 16px; padding: 0 10px; }
}

/* =========================================================
   FOOTER DECOR
   ========================================================= */
.footer { position: relative; }
.footer__georgian {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* =========================================================
   HERO HEIGHTEN — flag corner + soldier silhouettes
   ========================================================= */
.hero-soldiers {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 720px;
  height: 86%;
  pointer-events: none;
  opacity: 0.42;
  z-index: 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}
.hero-soldiers svg { width: 100%; height: 100%; }

@media (max-width: 980px) {
  .hero-soldiers { opacity: 0.18; width: 100%; }
}

/* ---------- numeric counter "wheel" effect ---------- */
.counter {
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   PHOTO LAYERS — real imagery integration
   ========================================================= */

/* ---------- Hero photo layer ---------- */
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-photo__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  filter: grayscale(35%) contrast(1.05) brightness(0.78);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 70%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 70%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, transparent 100%);
  mask-composite: intersect;
  opacity: 0.85;
}
.hero-photo__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,13,11,0.85) 25%, rgba(11,13,11,0.35) 55%, rgba(11,13,11,0.25) 100%),
    radial-gradient(ellipse 50% 70% at 75% 50%, transparent 0%, rgba(11,13,11,0.5) 100%);
}

@media (max-width: 980px) {
  .hero-photo { width: 100%; opacity: 0.35; }
  .hero-photo__overlay {
    background: linear-gradient(180deg, rgba(11,13,11,0.65) 0%, rgba(11,13,11,0.92) 70%);
  }
}

/* ---------- Manifesto photo background ---------- */
.manifesto__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.manifesto__photo-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) contrast(1.1) brightness(0.55);
  opacity: 0.55;
}
.manifesto__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(10,13,10,0.85) 80%),
    linear-gradient(180deg, rgba(10,13,10,0.7) 0%, rgba(10,13,10,0.5) 50%, rgba(10,13,10,0.9) 100%);
}

/* ---------- Family section: photo + text head ---------- */
.family-head {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 56px;
}
.family-head__photo {
  position: relative;
}
.family-head__photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  aspect-ratio: 4/5;
}
.family-head__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: transform 0.6s var(--ease);
}
.family-head__photo-frame:hover img {
  transform: scale(1.04);
}
.family-head__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,13,11,0.7) 100%);
  pointer-events: none;
}
.family-head__photo-cap {
  margin-top: 12px;
  font-family: var(--font-headline);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.family-head__photo::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: 32px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

.section-head--inline {
  margin: 0;
  max-width: 100%;
}

@media (max-width: 920px) {
  .family-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .family-head__photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ---------- Final CTA photo background ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-final__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-final__photo-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(40%) contrast(1.05) brightness(0.45);
  opacity: 0.55;
}
.cta-final__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,13,11,0.92) 0%, rgba(11,13,11,0.7) 50%, rgba(11,13,11,0.92) 100%),
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(200,156,58,0.1), transparent 70%);
}
.cta-final .container { position: relative; z-index: 1; }
