/* =========================================================
   AR-NET Advisory — NOVÁ VERZE / bold dark editorial redesign
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --black: #06070a;
  --black-soft: #0b0d13;
  --panel: #0f1219;
  --panel-2: #12151d;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
  --ink: #f3f4f0;
  --ink-dim: #98a0ae;
  --ink-dimmer: #656d7c;
  --lime: #d8ff4f;
  --lime-soft: #eaffa0;
  --violet: #8b7cf6;
  --blue: #5b9bc4;
  --shadow: 0 30px 80px rgba(0,0,0,0.5);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1220px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; }

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

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

em, .accent-italic {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--lime), var(--lime-soft) 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 16px; color: var(--ink-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--lime);
  display: inline-block;
}

/* noise texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Sections ===== */
.section { position: relative; padding: 128px 0; z-index: 1; }
.section--tight { padding: 88px 0; }
.section--alt { background: var(--black-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--lime {
  background: var(--lime);
  color: var(--black);
}
.section--lime h2, .section--lime h3, .section--lime p { color: var(--black); }

.section-head { max-width: 680px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.16,.8,.3,1), transform 0.8s cubic-bezier(.16,.8,.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .08s; }
.reveal-delay-2.is-visible { transition-delay: .16s; }
.reveal-delay-3.is-visible { transition-delay: .24s; }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: padding 0.35s ease;
}
.nav-wrap {
  background: rgba(6,7,10,0.4);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled { padding: 12px 0; }
.site-header.scrolled .nav-wrap {
  background: rgba(9,11,16,0.72);
  border-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--lime), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--black);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.logo span { color: var(--ink-dim); font-weight: 400; }

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-dim);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--lime);
  transition: right 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-cta {
  background: var(--lime);
  color: var(--black) !important;
  padding: 11px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(216,255,79,0.35); }

.nav-desktop { display: flex; align-items: center; gap: 26px; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.5px; }
.lang-switch a { padding: 5px 9px; border-radius: 6px; color: var(--ink-dimmer); }
.lang-switch a.lang-active { color: var(--ink); background: rgba(255,255,255,0.08); }
.lang-switch-mobile { display: flex; justify-content: center; gap: 8px; margin-top: 24px; font-size: 0.85rem; font-weight: 700; }
.lang-switch-mobile a { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--line); color: var(--ink-dim); }
.lang-switch-mobile a.lang-active { color: var(--black); background: var(--lime); border-color: transparent; }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  border-radius: 100px; cursor: pointer; padding: 0; flex-shrink: 0;
}
.menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after {
  position: absolute; width: 18px; height: 1.6px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-toggle-bar { top: 50%; transform: translateY(-1px); }
.menu-toggle-bar::before { content: ""; top: -6px; left: 0; }
.menu-toggle-bar::after { content: ""; top: 6px; left: 0; }
.menu-toggle.open .menu-toggle-bar { background: transparent; }
.menu-toggle.open .menu-toggle-bar::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.menu-toggle.open .menu-toggle-bar::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 199;
  background: rgba(6,7,10,0.98); backdrop-filter: blur(10px);
  flex-direction: column; justify-content: center; padding: 100px 28px 40px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu-links a { display: block; padding: 16px 4px; font-family: "Fraunces", serif; font-weight: 500; font-size: 2rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu-links a.active { color: var(--lime); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.mobile-menu-actions .btn { text-align: center; width: 100%; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-weight: 700; font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(216,255,79,0.3); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.03); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.btn-outline-navy { border-color: var(--line-strong); color: var(--ink); }
.btn-outline-navy:hover { background: var(--ink); color: var(--black); border-color: var(--ink); }
.btn-dark { background: var(--black); color: var(--lime); }
.btn-dark:hover { transform: translateY(-3px); background: #000; }
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 160px 0 0;
  overflow: hidden;
  background: var(--black);
}
.hero-glow {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(216,255,79,0.10), transparent 45%),
    radial-gradient(900px 500px at 85% 0%, rgba(139,124,246,0.22), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(91,155,196,0.18), transparent 60%);
  filter: blur(10px);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: var(--ink-dim); font-size: 1.2rem; max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 90px; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216,255,79,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216,255,79,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(216,255,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,255,79,0); }
}

/* Marquee */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: var(--black-soft);
  padding: 20px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  font-size: 1.3rem; color: var(--ink-dimmer); padding: 0 32px; white-space: nowrap;
}
.marquee-track span.dot { color: var(--lime); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Stats ===== */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat-box { padding: 44px 28px; border-left: 1px solid var(--line); text-align: left; }
.stat-box:first-child { border-left: none; }
.stat-box .num {
  font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 600; color: var(--ink); display: block;
}
.stat-box .num .lime { color: var(--lime); }
.stat-box .label { font-size: 0.82rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 1px; }

/* ===== Service cards ===== */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  padding: 44px 34px;
  transition: background 0.25s ease;
  position: relative;
}
.card:hover { background: var(--panel-2); }
.card .card-index {
  font-family: "Fraunces", serif; font-size: 0.85rem; color: var(--lime);
  letter-spacing: 2px; margin-bottom: 22px; display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { margin-bottom: 20px; }
.card ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.card li { padding-left: 22px; position: relative; margin-bottom: 10px; color: var(--ink-dim); }
.card li::before { content: "—"; position: absolute; left: 0; color: var(--lime); }

.icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(216,255,79,0.1); border: 1px solid rgba(216,255,79,0.25);
  color: var(--lime); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}

/* ===== Process rail ===== */
.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.rail::before {
  content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}
.rail-step { position: relative; padding: 0 24px 0 0; }
.rail-step:first-child { padding-left: 0; }
.rail-step::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--lime); color: var(--lime);
  font-family: "Fraunces", serif; font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.rail-step h4 { margin-bottom: 8px; }
.rail-step p { font-size: 0.94rem; }

/* ===== Quote ===== */
.quote-block {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; color: var(--ink);
  max-width: 900px;
}
.quote-mark { font-size: 5rem; color: var(--lime); line-height: 0.5; display: block; margin-bottom: 20px; font-family: "Fraunces", serif; }
.quote-author { margin-top: 28px; font-style: normal; font-weight: 600; color: var(--ink-dim); font-size: 0.95rem; font-family: "Inter", sans-serif; }
.quote-author::before { content: "— "; color: var(--lime); }

/* ===== CTA banner ===== */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-banner h3 { margin-bottom: 6px; }
.cta-banner p { margin: 0; }
.section--lime .btn-primary { background: var(--black); color: var(--lime); }
.section--lime .btn-primary:hover { box-shadow: 0 14px 34px rgba(0,0,0,0.25); }

/* ===== Table ===== */
table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); color: var(--ink); font-family: "Fraunces", serif; font-weight: 500; }
tr:last-child td { border-bottom: none; }
td, th { color: var(--ink-dim); }

/* ===== Timeline ===== */
.timeline { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 40px; }
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -45px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px var(--black), 0 0 0 5px var(--line-strong);
}
.timeline-year { font-weight: 700; color: var(--lime); font-family: "Fraunces", serif; font-style: italic; margin-bottom: 6px; }

/* ===== Values ===== */
.value-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.value-item:last-child { margin-bottom: 0; }
.value-item .icon-badge { margin-bottom: 0; }
.value-item h4 { margin: 0 0 4px; }
.value-item p { margin: 0; font-size: 0.94rem; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 30px; }
.contact-info-item .icon-badge { margin-bottom: 0; }
.contact-info-item h4 { margin: 0 0 4px; }
.contact-info-item p { margin: 0; }
.contact-info-item a:hover { color: var(--lime); }

form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px;
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 600; font-size: 0.86rem; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.2px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--black-soft);
}
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--ink-dimmer); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(216,255,79,0.14);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-dimmer); margin-top: -10px; }
.form-status { margin-top: 16px; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-status--ok { color: var(--lime); font-weight: 600; }
.form-status--error { color: #ff6b6b; font-weight: 600; }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 32px; filter: grayscale(0.4) invert(0.92) contrast(0.9); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ===== FAQ ===== */
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 26px; margin-bottom: 14px; transition: border-color 0.2s ease;
}
details[open] { border-color: var(--line-strong); }
summary {
  font-weight: 600; color: var(--ink); cursor: pointer; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--lime); flex-shrink: 0;
  transition: transform 0.25s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 16px 0 0; }

/* ===== Team ===== */
.team-card { text-align: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--lime), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.4rem; color: var(--black);
}

/* ===== Footer ===== */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 90px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 70px; }
.footer-top h2 { max-width: 10ch; margin-bottom: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { color: var(--ink); margin-bottom: 18px; font-family: "Fraunces", serif; font-weight: 500; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; color: var(--ink-dim); }
.footer-grid a:hover { color: var(--lime); }
.footer-logo { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--ink); margin-bottom: 14px; display: block; }
.footer-logo span { color: var(--ink-dim); font-weight: 400; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--ink-dimmer);
}

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; }
.page-hero .lead { max-width: 620px; font-size: 1.1rem; }

/* ===== Alt panel split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
}

/* ===== Badge strip ===== */
.badge-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge-pill {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.5px; color: var(--ink-dim);
  background: var(--panel); border: 1px solid var(--line); padding: 7px 16px; border-radius: 100px;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .rail::before { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .page-hero { padding: 140px 0 60px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  h1 { max-width: none !important; }
}
