/*
  A2P Microsite — shared stylesheet
  Reusable across GCBB / CBG A2P-approval microsites.
  Brand tokens are the only per-client edit; everything else is generic.
*/

:root {
  /* --- Per-client brand tokens (edit these) --- */
  --primary: #194f85;       /* deep brand color (headers, buttons)   */
  --primary-dark: #123a63;
  --accent: #43b3dd;         /* bright accent (links, highlights)      */
  --gold: #e0982f;             /* warm secondary accent                  */

  /* --- Neutrals (usually leave as-is) --- */
  --cream: #f7f5f0;
  --ink: #1c2126;
  --muted: #5b6672;
  --line: #e7e2d8;
  --white: #ffffff;

  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--primary); }
h3 { font-size: 1.25rem; color: var(--primary); }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem; max-width: var(--maxw); margin: 0 auto;
}
.site-header img { height: 46px; width: auto; display: block; }
.site-header nav a {
  color: var(--primary); font-family: var(--font-head); font-weight: 600;
  font-size: 0.9rem; margin-left: 1.4rem; text-decoration: none;
}
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 560px) {
  .site-header nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.6rem; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; transition: all 0.18s ease; text-decoration: none;
}
.btn-primary { background: var(--gold); color: #241a05; }
.btn-primary:hover { filter: brightness(1.06); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  padding: 6rem 1.25rem 6.5rem;
  background:
    linear-gradient(180deg, rgba(18,42,74,0.72), rgba(18,42,74,0.86)),
    var(--hero-image, none);
  background-size: cover; background-position: center;
}
.hero .eyebrow {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--accent); margin-bottom: 0.9rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); margin-bottom: 0.6rem; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px; margin: 0 auto 1.6rem; color: rgba(255,255,255,0.92); }
.hero .service-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.95rem; margin-bottom: 1.8rem;
}
.hero .cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 4rem 0; }
section.block.tint { background: var(--cream); }
.block .lede { max-width: 680px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 1.08rem; }
.section-head { text-align: center; margin-bottom: 2.2rem; }

/* Visit cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; text-align: center;
}
.card .ico {
  width: 46px; height: 46px; margin: 0 auto 0.9rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(67,179,221,0.14); color: var(--primary);
  font-size: 1.3rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card a { font-weight: 700; }

/* SMS / text panel */
.sms-panel {
  background: var(--primary); color: var(--white); border-radius: 18px;
  padding: 2.6rem 2rem; text-align: center; max-width: 760px; margin: 0 auto;
}
.sms-panel h2 { color: var(--white); }
.sms-panel p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 1.4rem; }
.sms-panel .fineprint { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 1.2rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.82); padding: 3rem 1.25rem 2rem; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; max-width: var(--maxw); margin: 0 auto; }
.site-footer img.foot-logo { height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer address a { color: var(--accent); }
.site-footer .foot-links { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer .foot-links a { color: rgba(255,255,255,0.86); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.site-footer .foot-links a:hover { color: var(--accent); }
.site-footer .foot-bottom {
  max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: rgba(255,255,255,0.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.site-footer .foot-bottom a { color: rgba(255,255,255,0.7); }
@media (max-width: 620px) {
  .site-footer .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--primary); color: var(--white); text-align: center; padding: 3.5rem 1.25rem; }
.legal-hero .eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; color: var(--accent); }
.legal-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-hero .updated { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-body p, .legal-body li { color: #33404d; }
.legal-body .intro { color: var(--muted); }
.legal-body .verbatim { font-weight: 700; color: var(--ink); }
.legal-body ul { padding-left: 1.3rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-body .back { display: inline-block; margin-top: 2.5rem; font-family: var(--font-head); font-weight: 700; }
.contact-block { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.6rem; }
.contact-block a { font-weight: 700; }
