/* ============================================================
   layout.css — nav, hero, section shells, section backgrounds
   ============================================================ */

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-px);
  transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.nav.scrolled {
  background: rgba(18, 18, 18, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  padding: 10px 22px;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-hover); }

/* ── Hero ── */
.hero {
  background: var(--dark);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--section-px);
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(228, 44, 47, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left {
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ── Section shell ── */
.section {
  padding: var(--section-py) var(--section-px);
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Section background variants */
.section--dark      { background: var(--dark); }
.section--white     { background: var(--white); }
.section--off-white { background: var(--off-white); }

/* ── Solutions overview (full-bleed white, same padding) ── */
.sol-overview {
  background: var(--white);
  padding: var(--section-py) var(--section-px);
}
.sol-overview-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* ── Section-specific backgrounds ── */
.fp-section  { background: var(--white); padding: var(--section-py) var(--section-px); }
.fp-inner    { max-width: var(--container); margin: 0 auto; }

.ring-section { background: var(--dark); padding: var(--section-py) var(--section-px); }
.ring-inner   { max-width: var(--container); margin: 0 auto; }

.arch-section { background: var(--off-white); padding: var(--section-py) var(--section-px); }
.arch-inner   { max-width: var(--container); margin: 0 auto; }

/* ── Section eyebrow / lead ── */
.section-eyebrow {
  font-size: var(--text-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-eyebrow--light { color: rgba(255, 255, 255, 0.4); }

.section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-h2--light { color: #fff; }

.section-lead {
  font-size: var(--text-body-lg);
  font-weight: var(--fw-book);
  color: #888;
  max-width: 560px;
  line-height: var(--lh-loose);
  margin-bottom: 56px;
}
.section--dark .section-lead { color: rgba(255, 255, 255, 0.45); }

/* ── Final CTA ── */
.final-cta {
  background: var(--dark);
  padding: 120px var(--section-px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 44, 47, 0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }

/* ── Footer ── */
.footer {
  background: var(--dark-2);
  padding: 40px var(--section-px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo img { height: 22px; opacity: 0.6; }
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.6); }
.footer-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  text-align: right;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
  }
  .hero-right { display: none; }
  .nav-links  { display: none; }
  .trust-bar  { flex-wrap: wrap; gap: 16px; }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-legal { text-align: center; }
  .final-cta { padding: 80px var(--section-px); }
}
