/* ============================================
   ФСК Долеви — Design tokens & base styles
   ============================================ */

:root {
  /* Brand palette — Navy Blue · White · Gold */
  --green-900: #0b1f3a;
  --green-800: #1a3a6e;
  --green-700: #2558a8;
  --green-600: #3a72cc;
  --green-50:  #e6edf8;

  --cream-100: #f4f7fc;
  --cream-200: #e8eef7;
  --cream-300: #c8d5e8;
  --cream-500: #c4922a;   /* Gold accent */

  --ink-900: #0b1a2e;
  --ink-700: #2c3f60;
  --ink-500: #6b7898;
  --ink-300: #a8b5cc;

  --paper: #ffffff;
  --paper-2: var(--cream-100);

  --line: rgba(26, 58, 110, 0.13);
  --line-strong: rgba(26, 58, 110, 0.30);

  /* Fonts (set by Tweaks) */
  --font-display: "Spectral", "Source Serif 4", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Sizes */
  --maxw: 1200px;
}

[data-theme="dark"] {
  --paper: #0a1628;
  --paper-2: #0f1e38;
  --ink-900: #eef1f8;
  --ink-700: #c5cede;
  --ink-500: #7a8aaa;
  --ink-300: #3a4d6e;
  --line: rgba(180, 210, 255, 0.10);
  --line-strong: rgba(180, 210, 255, 0.22);
  --green-800: #4a7ad8;
  --green-700: #3566c0;
  --cream-100: #141e30;
  --cream-200: #1a2840;
  --cream-300: #263548;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--green-900);
  color: var(--cream-100);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
[data-theme="dark"] .topbar { background: #050d0a; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-left { display: flex; gap: 22px; align-items: center; opacity: 0.9; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar a:hover { opacity: 0.7; }

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.lang-toggle button,
.lang-toggle a {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 0;
  padding: 2px 8px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle button.on,
.lang-toggle a.on {
  background: #fff;
  color: var(--green-900);
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--cream-200);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--green-800);
}
[data-theme="dark"] .ticker { color: var(--green-600); }

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
}
.ticker-label {
  background: var(--green-800);
  color: var(--cream-100);
  padding: 4px 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  overflow: hidden;
  position: relative;
  flex: 1;
  height: 100%;
}
.ticker-strip {
  display: flex;
  gap: 42px;
  align-items: center;
  height: 100%;
  position: absolute;
  white-space: nowrap;
  animation: ticker-slide 60s linear infinite;
  will-change: transform;
}
.ticker-item { display: inline-flex; gap: 10px; align-items: center; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.ticker-item .when { color: var(--ink-900); opacity: 0.7; }

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-pre {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.logo-rule {
  width: 1px;
  height: 22px;
  background: var(--cream-500);
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--green-800);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-700);
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--green-800); }
.nav-cta {
  background: var(--green-800);
  color: var(--cream-100);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-900); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--green-800);
  color: var(--cream-100);
}
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--green-800);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--cream-100); }

[data-theme="dark"] .btn-primary { color: var(--paper); }
[data-theme="dark"] .btn-ghost { color: var(--ink-900); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(ellipse at 80% 0%, var(--cream-200) 0%, transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 28px;
}
.hero-eyebrow .bar {
  width: 28px; height: 1px; background: var(--cream-500);
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.hero h1 em {
  font-style: italic;
  color: var(--cream-500);
  font-weight: 400;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 28px 0 36px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  position: relative;
  box-shadow:
    0 1px 0 var(--cream-200),
    0 30px 60px -30px rgba(26, 58, 110, 0.18);
}
[data-theme="dark"] .hero-card { box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }

.hero-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 22px;
  color: var(--ink-900);
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.hero-card-row:first-of-type { border-top: 0; }
.hero-card-row .k { color: var(--ink-700); }
.hero-card-row .v {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--cream-500);
  font-weight: 600;
}
.hero-card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hero-card-foot .total {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-900);
}
.hero-card-foot .per {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================================
   TRUST
   ============================================ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.trust-cell:last-child { border-right: 0; }
.trust-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--cream-500);
  letter-spacing: -0.02em;
}
.trust-num sup { font-size: 22px; vertical-align: super; opacity: 0.7; }
.trust-label {
  font-size: 13.5px;
  color: var(--ink-700);
  margin-top: 6px;
}

/* ============================================
   SECTION
   ============================================ */
.section {
  padding: 80px 0;
}
.section-alt { background: var(--cream-100); }
.section-dark { background: var(--green-900); color: var(--cream-100); }
[data-theme="dark"] .section-dark { background: #050d0a; }

.section-head {
  display: grid;
  grid-template-columns: 2fr 0.5fr;
  gap: 48px;
  margin-bottom: 44px;
  align-items: end;
}
.section-head > div:first-child { order: 2; text-align: right; align-self: end; margin-left: auto; }
.section-head > div:last-child  { order: 1; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
  display: flex;
  gap: 12px;
  align-items: center;
}
.section-eyebrow .num {
  background: var(--cream-500);
  color: #fff;
  padding: 2px 8px;
  font-weight: 600;
  font-size: 11px;
}
.section-title {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section-title em { color: var(--cream-500); font-style: italic; font-weight: 400; }
.section-dek {
  font-size: 17px;
  color: var(--ink-700);
  line-height: 1.6;
  max-width: 540px;
  margin-top: 22px;
}
.section-dark .section-eyebrow { color: var(--cream-300); }
.section-dark .section-eyebrow .num { background: var(--cream-500); color: #fff; }
.section-dark .section-dek { color: var(--cream-300); }

/* ============================================
   SERVICES
   ============================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px;
  background: var(--paper);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.2s;
  cursor: pointer;
  position: relative;
}
.svc:hover { background: var(--paper); cursor: default; }
.svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream-500);
  width: 30px;
  flex-shrink: 0;
  padding-top: 5px;
}
.svc-body { flex: 1; }
.svc-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.svc-desc {
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 16px;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-2);
}
.svc-arrow {
  position: absolute;
  top: 36px;
  right: 32px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s;
}
.svc:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* ============================================
   CALCULATOR
   ============================================ */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.calc-controls {
  padding: 48px 44px;
  border-right: 1px solid var(--line);
}
.calc-result {
  padding: 48px 44px;
  background: var(--cream-100);
}
[data-theme="dark"] .calc-result { background: var(--cream-200); }

.calc-field { margin-bottom: 28px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.calc-label .hint {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--cream-500);
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.calc-options.cols2 { grid-template-columns: repeat(2, 1fr); }
.calc-options.cols4 { grid-template-columns: repeat(4, 1fr); }
.calc-opt {
  padding: 11px 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
  text-align: center;
  transition: all 0.12s;
}
.calc-opt:hover { border-color: var(--line-strong); }
.calc-opt.on {
  background: var(--green-800);
  color: var(--cream-100);
  border-color: var(--green-800);
}
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--cream-200);
  border-radius: 2px;
  outline: none;
  margin-top: 8px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--green-800);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--green-800);
}
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--green-800);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
}

.calc-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.calc-toggle:first-of-type { border-top: 0; }
.calc-toggle-label { font-size: 14px; color: var(--ink-900); }
.calc-toggle-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-left: 8px;
}
.calc-check {
  width: 38px;
  height: 22px;
  background: var(--cream-300);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.calc-check.on { background: var(--green-800); }
.calc-check::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.18s;
}
.calc-check.on::after { transform: translateX(16px); }

.calc-summary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.calc-line {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.calc-line .k { color: var(--ink-700); }
.calc-line .v { font-family: var(--font-mono); font-weight: 600; color: var(--ink-900); }
.calc-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-total .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.calc-total .price {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--cream-500);
  letter-spacing: -0.02em;
}
.calc-total .price small {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  margin-left: 6px;
}
.calc-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}
.calc-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-500);
  text-align: center;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pkg {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg.featured {
  background: var(--green-900);
  color: var(--cream-100);
  border-color: var(--green-900);
}
[data-theme="dark"] .pkg.featured { background: var(--green-700); border-color: var(--green-700); }

.pkg-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--cream-500);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 600;
}
.pkg-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--cream-500);
}
.pkg.featured .pkg-name { color: var(--cream-300); }
.pkg-tag {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pkg-desc {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pkg.featured .pkg-desc { color: var(--cream-300); opacity: 0.85; }
.pkg-price {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.pkg-price small {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-left: 4px;
}
.pkg.featured .pkg-price small { color: var(--cream-300); }
.pkg-sub {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pkg.featured .pkg-sub {
  color: var(--cream-300);
  border-color: rgba(255,255,255,0.15);
}
.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pkg-features li {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.pkg-features svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--green-700);
}
.pkg.featured .pkg-features svg { color: var(--cream-500); }
.pkg-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}
.pkg.featured .pkg-cta {
  background: var(--cream-100);
  color: var(--green-900);
}
.pkg.featured .pkg-cta:hover { background: white; }
.pkg-for-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.pkg-for {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pkg-for li {
  font-size: 13.5px;
  color: var(--ink-700);
  padding-left: 14px;
  position: relative;
}
.pkg-for li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--cream-500);
}
.pkg-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 22px;
}
.pricing-offer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--green-900);
  color: var(--cream-100);
  font-size: 15px;
  margin-bottom: 28px;
}
.pricing-offer-badge {
  background: var(--cream-500);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 48px;
  padding: 28px 40px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cream-500);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-700);
  line-height: 1.6;
}
.pricing-note a {
  color: var(--green-800);
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   ABOUT / TEAM
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy p {
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.65;
  margin-bottom: 18px;
}
[data-theme="dark"] .section-dark .about-copy p { color: #c8c3b3; }

.about-signature {
  margin-top: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-900);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.about-signature small {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cream-500);
  text-transform: uppercase;
  margin-top: 8px;
}

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 600px;
  margin-top: 40px;
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.025) 0 12px,
      transparent 12px 24px
    );
}
.team-card .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.team-card-info {
  position: relative;
  z-index: 2;
}
.team-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cream-100);
  margin-bottom: 3px;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-500);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testi {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  font-style: italic;
  flex: 1;
}
.testi-quote::before {
  content: '\201C';
  display: block;
  font-size: 52px;
  line-height: 1;
  color: var(--cream-500);
  font-family: var(--font-display);
  font-style: normal;
  margin-bottom: 6px;
}
.testi-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--green-800);
  flex-shrink: 0;
}
.testi-who { line-height: 1.3; }
.testi-name { font-size: 14.5px; color: var(--ink-900); font-weight: 600; }
.testi-co {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  margin-top: 2px;
}

.client-logos {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client-logo {
  height: 80px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-500);
  background: var(--paper);
  letter-spacing: -0.01em;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 21px;
  text-align: left;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 300;
  transition: all 0.2s;
}
.faq-item.open .plus {
  background: var(--cream-500);
  color: #fff;
  border-color: var(--cream-500);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.65;
  padding: 0 60px 0 0;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 28px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.contact-left { padding: 56px 48px; }
.contact-map {
  position: relative;
  min-height: 540px;
  background: var(--cream-100);
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.contact-h {
  font-family: var(--font-display);
  font-size: 34px;
  margin-bottom: 32px;
  letter-spacing: -0.015em;
}
.contact-row {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  width: 100px;
  flex-shrink: 0;
  padding-top: 4px;
}
.contact-row-value {
  font-size: 16px;
  color: var(--ink-900);
  line-height: 1.55;
}
.contact-row-value a:hover { color: var(--green-800); }
.contact-cta {
  margin-top: 32px;
}

.map-svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.map-pin-dot {
  width: 18px;
  height: 18px;
  background: var(--green-800);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(26, 58, 110, 0.4);
}
.map-pin-label {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-900);
  color: var(--cream-300);
  padding: 70px 0 28px;
}
[data-theme="dark"] .footer { background: #050d0a; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--cream-100);
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  max-width: 280px;
  color: var(--cream-500);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-100);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; }
.footer ul a:hover { color: var(--cream-100); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream-500);
}

/* ============================================
   MODERN VARIANT OVERRIDES
   ============================================ */
[data-variant="modern"] {
  --font-display: "Manrope", system-ui, sans-serif;
}
[data-variant="modern"] h1,
[data-variant="modern"] h2,
[data-variant="modern"] h3,
[data-variant="modern"] h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
}
[data-variant="modern"] .hero h1 em,
[data-variant="modern"] .section-title em {
  font-style: normal;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
[data-variant="modern"] .hero h1 em::after,
[data-variant="modern"] .section-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--green-50);
  z-index: -1;
}
[data-variant="modern"] .testi-quote { font-style: normal; font-weight: 500; }
[data-variant="modern"] .faq-q { font-weight: 600; }
[data-variant="modern"] .hero-card-title,
[data-variant="modern"] .calc-total .price,
[data-variant="modern"] .pkg-price,
[data-variant="modern"] .pkg-tag,
[data-variant="modern"] .trust-num {
  font-weight: 700;
}
[data-variant="modern"] .about-signature { font-style: normal; font-weight: 500; }

/* Modern: bolder hero, no card */
[data-variant="modern"] .hero {
  padding: 100px 0 110px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--cream-100) 100%);
}
[data-variant="modern"] .hero-grid {
  grid-template-columns: 1fr;
  gap: 60px;
}
[data-variant="modern"] .hero-card { display: none; }
[data-variant="modern"] .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

[data-variant="modern"] .pkg {
  border-radius: 16px;
}
[data-variant="modern"] .pkg.featured { border-radius: 16px; }
[data-variant="modern"] .btn,
[data-variant="modern"] .nav-cta {
  border-radius: 999px;
}
[data-variant="modern"] .svc,
[data-variant="modern"] .testi,
[data-variant="modern"] .contact-grid {
  border-radius: 0;
}

/* Hide modern-only by default */
.hero-stats { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .calc,
  .contact-grid,
  .about-grid,
  .section-head { grid-template-columns: 1fr; }
  .svc-grid,
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .nav-links { display: none; }
  .contact-map { display: none; }
  .contact-map-mobile { display: block; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero-card { padding: 24px 20px; }
  .hero-lede { font-size: 16px; margin: 20px 0 28px; }
}

@media (max-width: 480px) {
  .hero { padding: 36px 0 44px; }
  .hero-card { display: block; }
  .hero-lede { font-size: 15px; }
  .ticker { display: none; }
  .topbar-left span:nth-child(2),
  .topbar-right span:first-child { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-text-row { flex-direction: column; gap: 24px; margin-bottom: 32px; }
  .about-text-row .about-copy,
  .about-text-row .about-signature { flex: none; width: 100%; }
  .team-photos-row { flex-direction: column; gap: 12px; }
  .team-photo-card { flex: none !important; width: 100% !important; height: 280px !important; }
}
