/* CEB Rodrigues Field — navy / lagoon teal / coral */
:root {
  --bg: #071e2e;
  --bg-elevated: #0f2a3c;
  --bg-card: #123246;
  --bg-card-hover: #183a52;
  --line: rgba(20, 145, 155, 0.22);
  --line-strong: rgba(20, 145, 155, 0.4);
  --text: #f4f1ea;
  --text-muted: #c5d0d8;
  --text-dim: #8a9aaa;
  --teal: #14919b;
  --teal-soft: #7fd4d7;
  --navy: #0b3d5c;
  --coral: #e07a5f;
  --sand: #f4f1ea;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --container: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 85% -5%, rgba(20, 145, 155, 0.18), transparent 55%),
    radial-gradient(800px 420px at -5% 30%, rgba(224, 122, 95, 0.1), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-soft); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--coral); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--coral); color: #111; padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(7, 30, 46, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(20, 145, 155, 0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1rem; font-weight: 700; }
.brand-text span {
  font-size: 0.72rem; color: var(--teal-soft); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 0.55rem 1rem; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(20, 145, 155, 0.3);
}
.nav-cta:hover { filter: brightness(1.08); color: #fff !important; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-nav {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(7, 30, 46, 0.98); border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.25rem 1.25rem; flex-direction: column; gap: 0.35rem;
}
.mobile-nav a { color: var(--text); padding: 0.75rem 0.5rem; border-radius: 8px; font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #1aa8b3 0%, #0b3d5c 100%);
  color: #fff; box-shadow: 0 12px 30px rgba(20, 145, 155, 0.3);
}
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.btn-ghost.light { border-color: rgba(255,255,255,0.22); color: #fff; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }

.hero { position: relative; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(480px 280px at 70% 40%, rgba(20, 145, 155, 0.12), transparent 70%),
    radial-gradient(360px 240px at 25% 75%, rgba(224, 122, 95, 0.1), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin: 0 0 1.1rem; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--teal-soft);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.25);
}
.hero h1 {
  margin: 0 0 1.2rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.3rem); line-height: 1.12; color: #fff;
}
.hero h1 em { font-style: italic; color: var(--teal-soft); }
.lede { margin: 0 0 1.5rem; font-size: 1.08rem; color: var(--text-muted); max-width: 38rem; }
.lede strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }
.hero-stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem;
}
.hero-stats li {
  padding: 0.85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.hero-stats strong { display: block; color: #fff; font-size: 0.95rem; }
.hero-stats span { display: block; color: var(--text-dim); font-size: 0.8rem; margin-top: 0.2rem; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: min(100%, 300px); padding: 2rem 1.5rem;
  text-align: center; border-radius: 24px;
  background: linear-gradient(160deg, rgba(20,145,155,0.15), transparent 50%), var(--bg-card);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.hero-card img { margin: 0 auto 1rem; border-radius: 20px; }
.hero-card-label { margin: 0; font-weight: 600; color: #fff; font-size: 0.95rem; }
.hero-card-sub { margin: 0.35rem 0 0; color: var(--text-dim); font-size: 0.85rem; }

.section { padding: 4.25rem 0; }
.section-head { margin-bottom: 2.25rem; max-width: 42rem; }
.section-head h2 {
  margin: 0 0 0.75rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: #fff; line-height: 1.15;
}
.section-lede { margin: 0; color: var(--text-muted); font-size: 1.05rem; }

.notice { padding: 0 0 1rem; }
.notice-panel {
  padding: 1.1rem 1.35rem; border-radius: 12px;
  background: rgba(224, 122, 95, 0.08); border: 1px solid rgba(224, 122, 95, 0.28);
  color: var(--text-muted); font-size: 0.95rem;
}
.notice-panel strong { color: var(--coral); }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature-card {
  padding: 1.4rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-card h3 { margin: 0 0 0.55rem; color: #fff; font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.site-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem;
}
.site-card {
  padding: 1.2rem; border-radius: 14px;
  background: var(--bg-elevated); border: 1px solid rgba(255,255,255,0.06);
}
.site-card h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--teal-soft); }
.site-card p { margin: 0; font-size: 0.88rem; color: var(--text-dim); }

.how-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start;
}
.how-grid > div > h2 {
  margin: 0 0 1.5rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: #fff;
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.step-n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; color: #071e2e;
  background: linear-gradient(135deg, var(--teal-soft), var(--teal));
}
.steps h3 { margin: 0.15rem 0 0.3rem; color: #fff; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-muted); }

.compare-panel {
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20,145,155,0.12), transparent 50%), var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.compare-panel h3 { margin: 0 0 1rem; color: var(--teal-soft); font-size: 1.05rem; }
.compare-panel ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.compare-panel li {
  padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted); font-size: 0.94rem;
}
.compare-panel li:last-child { border-bottom: 0; }
.compare-panel strong { color: var(--text); }
.compare-note { margin: 0; font-size: 0.88rem; color: var(--text-dim); }

.contact-panel {
  padding: clamp(2rem, 4vw, 3rem); border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(20,145,155,0.18), transparent 45%),
    linear-gradient(225deg, rgba(224,122,95,0.12), transparent 40%),
    var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-copy h2 {
  margin: 0 0 0.85rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem); color: #fff;
}
.contact-copy > p:not(.eyebrow) {
  margin: 0 0 1.5rem; color: var(--text-muted); max-width: 36rem; font-size: 1.05rem;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.site-footer {
  padding: 3rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.18);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p { margin: 1rem 0 0; color: var(--text-dim); font-size: 0.92rem; max-width: 28rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 {
  margin: 0 0 0.35rem; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-soft);
}
.footer-col a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { margin: 0; font-size: 0.88rem; color: var(--text-dim); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .how-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .site-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }
}

@media (max-width: 560px) {
  .feature-grid, .site-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .feature-card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
