/* =============================================================================
   Bay Area Support — marketing site stylesheet
   Hand-authored, framework-free. Loaded from /assets/css/site.css.
   Sections: tokens · base · layout · header · buttons · hero · trust ·
   what-we-handle · how-it-works · comparison · cta · footer · responsive
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
/* These match what the WordPress theme actually renders: the block "prata-regular"
   slug maps to Montserrat (headings) and "work-sans-regular" maps to Google Sans
   (body). Self-hosted variable woff2 (weights 400-700). */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("/assets/fonts/google-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens -------------------------------------------------------- */
:root {
  --navy: #111827;
  --cream: #fffdf4;
  --cream-2: #fbf8f0;
  --gold: #b0822f;
  --gold-light: #dcb063;
  --border: #e7e4d8;
  --ink: #55606a;
  --ink-strong: #3c434a;
  --muted: #8a8f98;
  --green: #0a7d33;
  --white: #ffffff;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow-card: 0 4px 18px rgba(17, 24, 39, 0.05);
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; }

/* ---- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 5rem; }
.section--pad-sm { padding-block: 2.5rem; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.eyebrow--onnavy { color: var(--gold-light); }

.section__head { text-align: center; max-width: 720px; margin-inline: auto; }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 2rem;
  text-wrap: balance;
}
.h2--onnavy { color: var(--cream); }

.lead { font-size: 1.1rem; color: var(--ink); margin: 0; }
.lead--onnavy { color: #d6d8dd; }

/* ---- Accessibility skip link --------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 999;
  background: var(--navy);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 9px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--navy); color: var(--cream); }
.btn--solid:hover { background: #1d2635; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: rgba(17, 24, 39, 0.06); color: var(--navy); }
.btn--cream { background: var(--cream); color: var(--navy); }
.btn--cream:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--cream); border-color: #5b6472; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

/* ---- Header --------------------------------------------------------------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.3rem;
}
.site-logo img { width: 207px; height: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.51rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a { text-decoration: none; color: var(--navy); font-size: 1.1rem; font-weight: 400; }
.site-nav a:hover { color: var(--gold); }
.site-nav .site-nav__cta {
  background: var(--navy);
  color: var(--cream);
  padding: 0.55rem 1.15rem;
  border-radius: 9px;
  font-weight: 600;
}
.site-nav .site-nav__cta:hover { background: #1d2635; color: var(--cream); }

.nav-toggle { display: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: #d9d2c4 url("/assets/img/home-banner.png") center / cover no-repeat;
  padding-block: 6.5rem;
  display: flex;
  align-items: center;
  min-height: 34rem;
}
.hero__card {
  background: rgba(255, 253, 244, 0.94);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
  padding: 2.75rem;
  max-width: 648px;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.hero__lead { font-size: 1.12rem; color: var(--ink-strong); margin: 0 0 1.75rem; }
.hero .btn-row { justify-content: center; }

/* ---- Trust bar ------------------------------------------------------------ */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust__item { text-align: center; color: var(--cream); }
.trust__icon { display: block; color: var(--cream); margin: 0 auto 0.6rem; width: 30px; height: 30px; }
.trust__icon svg { display: block; width: 30px; height: 30px; }
.trust__label { font-size: 1rem; font-weight: 600; margin: 0; }

/* ---- What we handle ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
}
.card__spot { width: 112px; height: 88px; margin: 0 auto 0.9rem; }
.card__spot img { width: 100%; height: 100%; object-fit: contain; }
.card__title { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.card__body { margin: 0; }

/* ---- How it works --------------------------------------------------------- */
.steps__list { max-width: 940px; margin: 0 auto; }
.step-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.6rem 2rem;
  margin-bottom: 1.5rem;
}
.step-card:last-child { margin-bottom: 0; }
.step {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.step--reverse { flex-direction: row-reverse; }
.step__illus { flex: 0 0 42%; }
.step__illus img { width: 100%; max-width: 380px; height: 215px; object-fit: contain; margin-inline: auto; }
.step__body { flex: 1 1 auto; }
.step__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.step__title { font-size: 1.6rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.step__body p { font-size: 1.08rem; margin: 0; }

.extras {
  max-width: 920px;
  margin: 2.75rem auto 0;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.1rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.extras__icon { color: var(--gold); width: 30px; height: 30px; margin-bottom: 0.5rem; }
.extras__icon svg { width: 30px; height: 30px; }
.extras__title { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0 0 0.4rem; }
.extras__text { font-size: 1rem; margin: 0; }

/* ---- Comparison ----------------------------------------------------------- */
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.compare-card {
  background: var(--white);
  border: 1px solid #dcdccf;
  border-radius: var(--radius);
  padding: 2.25rem 1.9rem;
}
.compare-card--us { border: 2px solid var(--gold); }
.compare-card__title { text-align: center; font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 0 0 1.25rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { font-size: 1rem; line-height: 1.5; margin-bottom: 0.7rem; padding-left: 1.6rem; position: relative; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.checklist--us li { color: var(--ink-strong); }
.checklist--us li::before { content: "\2713"; color: var(--green); }
.checklist--them li { color: var(--muted); }
.checklist--them li::before { content: "\2717"; color: var(--muted); }

/* ---- CTA band ------------------------------------------------------------- */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); border-top: 1px solid #2e3646; padding: 3.5rem 0 2rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer__brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--cream); margin: 0 0 0.6rem; }
.site-footer__blurb { font-size: 0.95rem; color: #aeb3bb; margin: 0 0 0.75rem; }
.site-footer__area { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; color: var(--gold-light); margin: 0; }
.footer-col__head { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin: 0 0 0.75rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: #c9cdd4; text-decoration: none; font-size: 0.95rem; line-height: 2.1; }
.footer-col a:hover { color: var(--cream); }
.site-footer__bar { margin-top: 2.5rem; text-align: center; }
.site-footer__bar::before { content: ""; display: block; width: 100px; height: 1px; background: #2b3340; margin: 0 auto 1.5rem; }
.site-footer__copy { font-size: 0.82rem; color: #8a909a; margin: 0; }

/* =============================================================================
   Inner marketing pages (How It Works · Pricing · Contact)
   ========================================================================== */

/* Visually hidden, still read by assistive tech. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Page hero (inner pages) ---------------------------------------------- */
.page-hero { background: var(--cream); text-align: center; padding: 5rem 0 3.5rem; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.page-hero__lead { max-width: 640px; margin-inline: auto; }

/* ---- Numbered flow (How it works) ----------------------------------------- */
.flow { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; }
.flow__row { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 1.6rem; }
.flow__row:last-child { margin-bottom: 0; }
.flow__num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 400; line-height: 1;
  color: var(--gold); flex: 0 0 2.4rem;
}
.flow__title { font-size: 1.3rem; font-weight: 600; color: var(--navy); margin: 0.15rem 0 0.35rem; }
.flow__body { margin: 0; }

.callout {
  max-width: 760px; margin: 2.5rem auto 0;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem 1.9rem; text-align: center;
}
.callout__eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin: 0 0 0.4rem;
}
.callout__text { margin: 0; }

/* ---- Feature cards (agent, translation) ----------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.5rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.9rem 1.6rem; }
.feature-card__title { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.feature-card__body { margin: 0; }

.pill {
  text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin: 1.75rem 0 0;
}

/* ---- Pricing cards (live from catalog) ------------------------------------ */
.pricing { display: flex; flex-wrap: wrap; gap: 1.75rem; justify-content: center; align-items: stretch; }
.plan-card {
  flex: 1 1 240px; max-width: 320px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; text-align: center;
}
.plan-card__name { font-size: 1.4rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.plan-card__price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy); margin: 0; }
.plan-card__per { font-size: 0.9rem; color: #6a7373; margin: 0.25rem 0 0; }
.plan-card__resp { color: var(--ink); line-height: 1.6; margin: 1rem 0 0; }
.plan-card__list { text-align: left; list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.plan-card__list li { color: var(--ink); line-height: 1.5; margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.plan-card__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan-card__cta { margin-top: auto; padding-top: 0.5rem; }
.pricing__empty { text-align: center; color: var(--ink); }

/* ---- Every plan includes -------------------------------------------------- */
.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; text-align: center; }
.include__title { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 0 0 0.25rem; }
.include__sub { font-size: 0.95rem; line-height: 1.5; margin: 0; }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 55% 45%; gap: 3rem; align-items: start; }
.contact__heading { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--navy); margin: 0 0 0.75rem; }
.contact__intro { margin: 0 0 2rem; }
.contact-row { margin-bottom: 1.5rem; }
.contact-row__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 0.15rem; }
.contact-row__value { font-size: 1.1rem; color: var(--navy); margin: 0; }
.promo-card { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; }
.promo-card__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem; }
.promo-card__title { font-size: 1.4rem; font-weight: 600; color: var(--navy); margin: 0 0 0.5rem; }
.promo-card__text { margin: 0 0 1.5rem; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 820px) {
  .page-hero { padding: 3.25rem 0 2.5rem; }
  .page-hero__title { font-size: 2.2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .flow__num { font-size: 2rem; flex-basis: 2rem; }
  .section { padding-block: 3.25rem; }
  .h2 { font-size: 2rem; }
  .hero { min-height: auto; padding-block: 3.5rem; }
  .hero__card { padding: 1.9rem; max-width: 100%; }
  .hero__title { font-size: 2.4rem; }

  .site-nav { display: none; }
  .site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); z-index: 50; }
  .site-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 1rem 1.5rem; }
  .site-header__inner { position: relative; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--border);
    border-radius: 9px; color: var(--navy); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }

  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .card-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 1rem; text-align: center; }
  .step--reverse { flex-direction: column; }
  .step__illus { flex-basis: auto; }
  .step__illus img { height: 190px; }
  .extras { grid-template-columns: 1fr; gap: 1.5rem; }
  .compare__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.1rem; }
}

/* =============================================================================
   Motion — hero birds + scroll reveal (reduced-motion aware)
   ========================================================================== */

/* Gull silhouettes drifting over the hero banner, behind the card. */
.hero > .container { position: relative; z-index: 2; }
.hero__sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bird { position: absolute; width: 26px; opacity: 0.5; color: #1b2432; animation: bird-drift linear infinite; }
.bird svg { display: block; width: 100%; height: auto; overflow: visible; animation: bird-flap ease-in-out infinite; }
.bird path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bird--1 { top: 15%; transform: scale(0.95); animation-duration: 34s; animation-delay: -3s; }
.bird--1 svg { animation-duration: 2.4s; }
.bird--2 { top: 23%; opacity: 0.4; transform: scale(0.7); animation-duration: 43s; animation-delay: -19s; }
.bird--2 svg { animation-duration: 2.9s; }
.bird--3 { top: 11%; animation-duration: 38s; animation-delay: -27s; }
.bird--3 svg { animation-duration: 2.1s; }
@keyframes bird-drift { from { left: -8%; } to { left: 108%; } }
@keyframes bird-flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.5); } }

/* Scroll reveal: elements hide only when JS + motion are OK (html.bas-reveal is
   set synchronously in <head>, so there's no flash of hidden-then-shown). */
html.bas-reveal :is(.section__head, .card, .step-card, .compare-card, .plan-card, .feature-card, .flow__row, .extras, .callout, .hero__card) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-visible { opacity: 1 !important; transform: none !important; }
.card-grid > :nth-child(2), .feature-grid > :nth-child(2) { transition-delay: 0.08s; }
.card-grid > :nth-child(3), .feature-grid > :nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .hero__sky { display: none; }
  * { transition: none !important; }
}
