/* ============================================================
   JerryBanfield.org — warm-audience remarketing landing page
   Premium, warm, persuasive. Non-crypto. Mobile-first.
   Self-contained: system font stack, no external requests.
   ============================================================ */

:root {
  /* Brand palette */
  --navy:      #0F172A;   /* Deep Navy — authority */
  --navy-soft: #1E293B;   /* lighter navy for gradients/cards */
  --cream:     #FAF7F0;   /* Warm Cream — warmth */
  --gold:      #F59E0B;   /* Amber Gold — primary action */
  --gold-dark: #D9870A;   /* gold hover */
  --teal:      #0F766E;   /* Soft Teal — community / trust */
  --teal-dark: #0C5E58;   /* teal hover */
  --white:     #FFFFFF;
  --muted:     #64748B;   /* Muted Gray */
  --line:      #E5E7EB;   /* Light Border */

  --ink:       #1E293B;   /* body text (readable on cream/white) */
  --ink-strong:#0F172A;   /* headings */

  --maxw:      1200px;
  --readw:     760px;
  --radius:    16px;
  --shadow:    0 10px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.16);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; color: var(--ink-strong); text-wrap: balance; }
p { color: var(--ink); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* Visible focus ring for keyboard users */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  padding: 13px 24px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { display: block; width: 100%; padding: 16px 24px; }

/* Primary = Amber Gold (high contrast dark text) */
.btn-primary { background: var(--gold); color: #3A2400; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--gold-dark); }

/* Secondary = Soft Teal, solid + readable (fixes low-contrast ghost button) */
.btn-secondary { background: var(--teal); color: var(--white); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--teal-dark); }

/* Light button for use on dark teal band */
.btn-light { background: var(--white); color: var(--teal-dark); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--cream); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,240,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--ink-strong); }
.brand-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links > a:hover { color: var(--teal); text-decoration: none; }
.nav-links .btn-primary { color: #3A2400; }
/* On small screens, collapse text links and keep the booking CTA prominent */
.nav-links > a:not(.btn) { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 130% at 50% -20%, rgba(15,118,110,.10), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 64px;
  text-align: center;
}
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero-portrait {
  display: block;
  width: 184px; height: 184px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  background: var(--navy);
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--teal);
  background: rgba(15,118,110,.10);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero-caption {
  margin: 0 0 12px; font-size: .9rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.hero h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); margin-bottom: 18px; color: var(--navy); }
.lede { font-size: clamp(1.08rem, 3.4vw, 1.32rem); color: var(--ink); max-width: var(--readw); margin: 0 auto 16px; }
.hero-micro { color: var(--muted); max-width: var(--readw); margin: 0 auto 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 14px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.7rem, 5vw, 2.4rem); text-align: center; color: var(--navy); }
.section-sub { text-align: center; color: var(--muted); max-width: var(--readw); margin: 12px auto 40px; }

/* ---------- Start with a private call (single offer card) ---------- */
.choose-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.choose-grid-single { max-width: 640px; grid-template-columns: 1fr !important; }
.choose-card .btn-block { margin-top: auto; }
.choose-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.choose-primary { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.choose-secondary { border: 2px solid rgba(15,118,110,.35); }
.choose-card h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.choose-sub { color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.choose-badge {
  align-self: flex-start;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #3A2400; background: var(--gold);
  padding: 4px 12px; border-radius: 999px;
}
.choose-badge-teal { color: var(--white); background: var(--teal); }

.ticks { list-style: none; margin: 0 0 20px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--gold);
}
.ticks-teal li::before { color: var(--teal); }

/* ---------- Offer cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dbe3; }
.card-icon { font-size: 1.9rem; margin-bottom: 12px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-link { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--teal); }
/* Text-only card rows size to their content (no stretched blank space) */
#oncall .cards { align-items: start; }
/* Sections whose heading sits directly above content (no sub-heading) need top spacing */
#approach .cards { margin-top: 36px; }
.card-cta { background: linear-gradient(160deg, var(--navy-soft), var(--navy)); border-color: transparent; }
.card-cta h3, .card-cta p { color: var(--white); }
.card-cta p { color: rgba(255,255,255,.85); }
.card-cta .card-link { color: var(--gold); }

/* ---------- Why people book (reason chips) ---------- */
.reasons { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 920px; margin: 0 auto; }
.reason {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px;
  font-weight: 500; color: var(--ink);
}
.reason-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(15,118,110,.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
}
/* On white (section-alt) backgrounds, give cards a cream fill so they stay visible */
.section-alt .reason { background: var(--cream); }
/* "What you leave with" — gold accent on the check marks */
.reasons-gold .reason-mark { background: rgba(245,158,11,.16); color: var(--gold-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 920px; margin: 36px auto 0; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.section-alt .step { background: var(--cream); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Proof grid ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; }
.proof {
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px; padding: 22px 18px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow);
}
.proof strong { color: var(--navy); font-size: 1.28rem; line-height: 1.1; }
.proof span { color: var(--muted); font-size: .9rem; }
.proof-note { text-align: center; color: var(--muted); max-width: var(--readw); margin: 34px auto 0; }

/* ---------- CTA bands ---------- */
.band { padding: 68px 0; text-align: center; }
.band-inner { max-width: 880px; margin: 0 auto; }
.band h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 14px; }
.band p { margin-bottom: 22px; }

.band-primary { background: var(--navy); }
.band-primary h2 { color: var(--white); }
.band-primary p { color: rgba(255,255,255,.88); }

.band-teal { background: var(--teal); }
.band-teal h2 { color: var(--white); }
.band-teal p { color: rgba(255,255,255,.92); }

/* Benefit lists inside bands */
.band-list {
  list-style: none; margin: 0 auto 26px; max-width: 520px;
  display: grid; gap: 10px; text-align: left;
}
.band-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,.92); }
.band-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--gold);
}
.band-list-light li::before { color: var(--white); }

/* ---------- About ---------- */
.about { max-width: var(--readw); margin: 0 auto; }
.about-photo {
  display: block; width: 100%; max-width: 380px; height: auto;
  margin: 0 auto 28px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about .section-title { text-align: left; }
.about-text p { color: var(--ink); margin-top: 16px; }
.about-cta { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.80); padding: 46px 0 34px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: var(--white); font-size: 1.1rem; }
.footer-brand span { font-size: .88rem; }
.footer-loc { color: rgba(255,255,255,.62); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.85); font-size: .92rem; }
.footer-links a:hover { color: var(--white); }
.footer-fine { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Compliance / fine-print notes ---------- */
.compliance-note { margin-top: 14px; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.compliance-note-light { color: rgba(255,255,255,.85) !important; max-width: 560px; margin-left: auto; margin-right: auto; }
.choose-card .compliance-note { margin-top: 12px; }

/* ---------- 3-up card row (centered, not full-bleed) ---------- */
.cards-3 { max-width: 980px; margin: 0 auto; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; }
.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-item {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px 20px;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  font-weight: 700; color: var(--navy);
  padding: 16px 28px 16px 0; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--gold-dark); line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.faq-item p { color: var(--ink); padding: 0 0 18px; margin: 0; }


/* ============================================================
   Responsive — tablet / desktop
   ============================================================ */
@media (max-width: 699px) {
  /* No header on mobile — visitors land straight on the hero and its button */
  .site-header { display: none; }
}
@media (min-width: 700px) {
  .hero-portrait { width: 232px; height: 232px; }
  .choose-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  /* 8 stats -> clean 4 on top, 4 on bottom */
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links > a:not(.btn) { display: inline; }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: var(--readw); }
.legal h2 { font-size: 1.25rem; color: var(--navy); margin: 28px 0 8px; }
.legal p { margin-top: 12px; }
.legal-list { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-list li { color: var(--ink); }
.legal-updated { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.legal-back { margin-top: 36px; font-weight: 700; }
.legal-note:empty { display: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
