/* ============================================================= */
/*  Navarro AI and Operations                                     */
/*  Palette and type matched to strattoncre.com:                  */
/*  deep navy + vivid red + light gray/white, bold geometric      */
/*  sans headlines, rounded cards, red pill badges, big faint     */
/*  outline numbers, alternating light/navy/red sections.         */
/* ============================================================= */

:root {
  --navy: #0b2a55;          /* primary brand navy */
  --navy-deep: #071f3f;     /* darker navy (hero/footer) */
  --navy-card: #102f5e;     /* navy card surface */
  --navy-line: #21436f;     /* borders on navy */
  --red: #e0322b;           /* Stratton-style vermilion */
  --red-hover: #c5281f;
  --red-soft: rgba(224, 50, 43, 0.12);

  --white: #ffffff;
  --light: #eef1f6;         /* light section gray */
  --light-2: #e6eaf2;
  --ink: #14264a;           /* navy headings/text on light */
  --slate: #54637e;         /* body text on light */
  --slate-soft: #7b889f;
  --line: #e0e5ee;          /* hairline borders on light */

  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 860px; }

/* ----------------------------- Pill badge (eyebrow) ----------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px 8px 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(20, 38, 74, 0.05);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(224, 50, 43, 0.25);
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 50, 43, 0.32); }
/* Outline button: navy on light backgrounds */
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 0.9rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 8px;
  padding: 7px 12px 6px;
  transition: color 0.35s var(--ease);
}
.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 3px;
  color: var(--red);
}
.nav.scrolled .brand-name { color: var(--navy); }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 6px; }

/* Scrolled: solid white nav with navy text */
.nav.scrolled { background: #fff; box-shadow: 0 4px 24px rgba(20, 38, 74, 0.08); }
.nav.scrolled .brand { color: var(--navy); }
.nav.scrolled .nav-links a { color: var(--slate); }
.nav.scrolled .nav-links a:hover { color: var(--red); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 120px;
  margin-top: -78px;          /* sit under the transparent nav */
  padding-top: 200px;
  color: #fff;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(224, 50, 43, 0.20), transparent 55%),
    radial-gradient(900px 700px at -5% 0%, rgba(33, 67, 111, 0.55), transparent 60%),
    linear-gradient(160deg, #0c2c58 0%, var(--navy-deep) 70%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  max-width: 17ch;
  margin-bottom: 28px;
}
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  color: rgba(233, 238, 247, 0.82);
  max-width: 60ch;
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
/* Secondary button turns white-outline over the navy hero */
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ----------------------------- Scarcity ----------------------------- */
.scarcity {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  max-width: 580px;
  backdrop-filter: blur(6px);
}
.scarcity-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 8px; }
.scarcity-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  padding: 6px 13px;
  border-radius: 100px;
}
.scarcity-count { font-weight: 700; font-size: 0.95rem; color: #fff; }
.scarcity-sub { color: rgba(233, 238, 247, 0.7); font-size: 0.92rem; margin-bottom: 18px; }
.slots { display: flex; gap: 10px; margin-bottom: 20px; }
.slot {
  flex: 1;
  height: 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
}
.slot.filled {
  background: var(--red);
  box-shadow: 0 0 16px rgba(224, 50, 43, 0.5);
}
.scarcity-link {
  font-weight: 800;
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: gap 0.25s;
}
.scarcity-link:hover { gap: 12px; }

/* ----------------------------- Sections ----------------------------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--light); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 20px; color: var(--ink); }
.section-sub { color: var(--slate); font-size: 1.12rem; max-width: 62ch; line-height: 1.7; }

/* ----------------------------- Problem ----------------------------- */
.problem-list { list-style: none; margin: 34px 0; }
.problem-list li {
  position: relative;
  padding: 20px 0 20px 38px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 1.08rem;
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 27px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.problem-close { margin-top: 32px; font-size: 1.22rem; color: var(--ink); font-weight: 600; line-height: 1.5; }

/* ----------------------------- Cards (3 pillar) ----------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 38, 74, 0.12); border-color: transparent; }
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.card:nth-child(2) .card-num { background: var(--red); }
.card h3 { font-size: 1.45rem; margin: 0 0 14px; color: var(--ink); }
.card p { color: var(--slate); }

/* ----------------------------- Audit ----------------------------- */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 24px;
  align-items: start;
}
.audit-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
}
.audit-col h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--ink); }
.audit-note { color: var(--slate-soft); font-size: 0.88rem; margin-bottom: 22px; }
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.audit-buy {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: sticky;
  top: 110px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(11, 42, 85, 0.3);
}
.price-tag { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.7rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.price-unit { color: rgba(233, 238, 247, 0.6); font-size: 1rem; }
.credit-note { color: rgba(233, 238, 247, 0.78); font-size: 0.92rem; margin-bottom: 26px; line-height: 1.6; }
.buy-error { color: #ffb3ae; font-size: 0.86rem; margin-top: 12px; }
.audit-secondary {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: rgba(233, 238, 247, 0.75);
  font-size: 0.9rem;
}
.audit-secondary:hover { color: #fff; }
.secure-note { text-align: center; color: rgba(233, 238, 247, 0.5); font-size: 0.78rem; margin-top: 16px; }

/* ----------------------------- AI Services grid ----------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(20, 38, 74, 0.1); }
.service h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--ink); }
.service h3::before {
  content: "";
  display: block;
  width: 30px; height: 3px;
  border-radius: 4px;
  background: var(--red);
  margin-bottom: 18px;
}
.service p { color: var(--slate); font-size: 0.98rem; }

/* ----------------------------- Verticals ----------------------------- */
.vertical-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.vertical-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.vertical-list li:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* ----------------------------- About / Authority (NAVY) ----------------------------- */
#about { background: var(--navy-deep); color: #fff; }
#about .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
#about h2 { color: #fff; }
.about-lede { font-size: 1.3rem; color: #fff; margin: 10px 0 34px; max-width: 50ch; line-height: 1.5; font-weight: 600; }
.cred-list { list-style: none; display: grid; gap: 14px; margin-bottom: 34px; }
.cred-list li {
  padding: 22px 26px;
  background: var(--navy-card);
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  color: rgba(233, 238, 247, 0.82);
}
.cred-list strong { color: #fff; font-weight: 700; }
.about-close { font-size: 1.15rem; color: rgba(233, 238, 247, 0.9); line-height: 1.6; }

/* ----------------------------- Recap (RED CTA band) ----------------------------- */
.recap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--red);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(224, 50, 43, 0.25);
}
.recap .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.recap .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
.recap h2 { color: #fff; }
.recap .section-sub { color: rgba(255, 255, 255, 0.92); }
.recap-actions { display: grid; gap: 14px; }
/* On the red band: primary becomes white, ghost becomes white outline */
.recap .btn-primary { background: #fff; color: var(--red); box-shadow: 0 8px 22px rgba(0,0,0,0.15); }
.recap .btn-primary:hover { background: #f4f4f4; }
.recap .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.recap .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ----------------------------- Lead form ----------------------------- */
.lead-form { margin-top: 40px; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; }
.hidden-field { display: none; }
.calendly-note { color: var(--slate-soft); font-size: 0.9rem; text-align: center; margin-top: 4px; }
.calendly-note a { color: var(--red); font-weight: 600; border-bottom: 1px solid transparent; }
.calendly-note a:hover { border-color: var(--red); }

/* ----------------------------- FAQ ----------------------------- */
.faq { display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 4px 26px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details[open] { border-color: var(--navy); box-shadow: 0 12px 30px rgba(20, 38, 74, 0.08); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 0.25s;
}
.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding: 0 0 26px; max-width: 72ch; line-height: 1.7; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: var(--navy-deep); color: #fff; padding: 70px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 400px; }
.footer-brand .brand { display: inline-block; margin-bottom: 16px; color: #fff; }
.footer-brand p { color: rgba(233, 238, 247, 0.62); font-size: 0.95rem; line-height: 1.6; }
.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact a {
  color: rgba(233, 238, 247, 0.82);
  font-size: 0.92rem;
  transition: color 0.25s;
}
.footer-contact a:hover { color: var(--red); }
.footer-legal { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--navy-line); }
.footer-legal p { color: rgba(233, 238, 247, 0.5); font-size: 0.84rem; }

/* ----------------------------- Reveal animation ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.cards .card.reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-grid .service.reveal:nth-child(3n+2) { transition-delay: 0.08s; }
.service-grid .service.reveal:nth-child(3n+3) { transition-delay: 0.16s; }

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

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 920px) {
  .cards, .service-grid { grid-template-columns: 1fr 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .audit-buy { position: static; }
  .recap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 90px 0; }
  .hero { padding-top: 170px; padding-bottom: 90px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .hero { padding-top: 140px; padding-bottom: 70px; }
  .section { padding: 76px 0; }
  .cards, .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1; }
  .nav-cta { display: none; }
  .recap { padding: 36px 26px; }
}
