/* =========================================================
   Templo Insurance Services — shared design system
   Brand colors sampled directly from the official logo file.
   ========================================================= */

:root {
  --navy: #1f2557;
  --navy-deep: #171b40;
  --navy-ink: #10132b;
  --gold: #baa672;
  --gold-light: #d8c89a;
  --gold-dark: #9c8956;
  --cream: #faf7f0;
  --white: #ffffff;
  --ink: #1c1e24;
  --ink-soft: #4a4d57;
  --line: #e4e1d8;
  --success: #1f7a4d;
  --danger: #b3261e;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(23, 27, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 27, 64, 0.12);
  --shadow-lg: 0 20px 48px rgba(23, 27, 64, 0.18);

  --container: 1180px;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { 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.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--navy); text-decoration: none; }

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

section { padding: 72px 0; }
@media (max-width: 720px) {
  section { padding: 48px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-nav li { display: flex; align-items: center; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--navy); border-color: var(--gold); }

/* ---------- Insurance dropdown / flyout menu ---------- */
.has-dropdown { position: relative; display: flex; align-items: center; }
.has-dropdown > a.dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.has-dropdown > a .caret { font-size: 0.65em; color: var(--ink-soft); transition: transform 0.15s; line-height: 1; }
.has-dropdown:hover > a .caret,
.has-dropdown:focus-within > a .caret { transform: rotate(180deg); }

/* The panel sits flush against the trigger (padding, not margin, creates the
   visual offset) so the hover/focus area is one unbroken shape from the
   "Insurance" link down into the menu — no dead gap for the cursor to cross. */
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 22px 8px 8px;
  min-width: 250px;
  z-index: 50;
}
.has-dropdown:hover > .dropdown-panel,
.has-dropdown:focus-within > .dropdown-panel,
.dropdown-panel:hover {
  display: block;
}
.dropdown-item {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  border-bottom: none !important;
}
.dropdown-item:hover, .dropdown-item:focus { background: var(--cream); color: var(--navy); }

.dropdown-col { position: relative; }
.flyout-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.flyout-trigger .caret-right { font-size: 0.9em; color: var(--ink-soft); }

/* Same fix as .dropdown-panel: padding (not margin) bridges the horizontal
   gap between the flyout trigger and its flyout panel. */
.flyout-panel {
  display: none;
  position: absolute;
  top: -8px;
  left: 100%;
  margin-left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px 8px 8px 16px;
  min-width: 230px;
  z-index: 60;
}
.dropdown-col:hover > .flyout-panel,
.dropdown-col:focus-within > .flyout-panel,
.flyout-panel:hover {
  display: block;
}
.flyout-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.flyout-panel a:hover, .flyout-panel a:focus { background: var(--cream); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.85rem;
}
.lang-switch a {
  padding: 7px 13px;
  color: var(--ink-soft);
}
.lang-switch a.active { background: var(--navy); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .main-nav ul li { display: block; }
  .main-nav.open ul a {
    display: block;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
  }

  /* Dropdown becomes a tap-to-expand accordion on mobile */
  .dropdown-panel, .flyout-panel {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    margin: 0 0 0 14px;
    padding: 0;
    min-width: 0;
  }
  .has-dropdown.mobile-expanded > .dropdown-panel,
  .dropdown-col.mobile-expanded > .flyout-panel {
    display: block;
  }
  .dropdown-item, .flyout-panel a {
    padding: 11px 6px;
    border-bottom: 1px solid var(--line);
  }
  .flyout-panel { margin-left: 14px; }
  .has-dropdown > a .caret,
  .flyout-trigger .caret-right {
    transition: transform 0.2s;
  }
  .has-dropdown.mobile-expanded > a .caret,
  .dropdown-col.mobile-expanded > .flyout-trigger .caret-right {
    transform: rotate(90deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 65%, var(--navy-ink));
  color: var(--white);
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(186,166,114,0.28), transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.hero-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--gold-light);
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.08);
  aspect-ratio: 3 / 4;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Landscape media (e.g. the DMV license-plate hero) needs its own ratio — the
   default 3:4 is tuned for the portrait storefront photo and would otherwise
   force a landscape image into a tall box, cropping or distorting it. */
.hero-media.hero-media-wide { aspect-ratio: 900 / 542; }
/* Life Insurance hero photo — landscape family lifestyle image */
.hero-media.hero-media-photo { aspect-ratio: 3 / 2; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 64px; text-align: left; }
}

/* ---------- Product / value cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card.featured {
  background: linear-gradient(165deg, var(--navy), var(--navy-deep));
  color: var(--white);
  border: none;
}
.product-card.featured h3, .product-card.featured a { color: var(--white); }
.product-card.featured p { color: rgba(255,255,255,0.82); }
.product-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--cream);
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.product-card.featured .icon { background: rgba(255,255,255,0.14); }
.product-card p { font-size: 0.95rem; margin-bottom: 14px; }
.product-card .card-link { font-weight: 700; font-size: 0.92rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
}
.split-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split-media.plate-frame {
  background: var(--white);
  padding: 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.82); }

/* ---------- Checklist ---------- */
.check-list { list-style: none; margin: 0 0 20px; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-ink);
  font-size: 0.78rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Compact 3-item trust/convenience grid (e.g. Life Insurance page) ---------- */
.trust-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 760px) { .trust-mini-grid { grid-template-columns: 1fr; gap: 22px; } }
.trust-mini { display: flex; gap: 14px; align-items: flex-start; }
.trust-mini .icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.trust-mini h3 { font-size: 1rem; margin: 0 0 4px; }
.trust-mini p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--gold-dark); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-card .review-stars { margin-bottom: 12px; }
.review-text {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.google-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reviews-summary .score { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.reviews-summary .review-stars { margin-bottom: 4px; font-size: 1.1rem; }
.reviews-summary .summary-text { font-size: 0.88rem; color: var(--ink-soft); }
.reviews-summary .summary-text strong { color: var(--navy); }

/* ---------- Location / contact ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }
.info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-row .ico { font-size: 1.2rem; flex: none; width: 28px; }
.info-row strong { display: block; color: var(--navy); font-size: 0.85rem; letter-spacing: .02em; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31,37,87,0.12);
}
.field-hint { font-size: 0.8rem; color: var(--ink-soft); }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
.consent-row input { margin-top: 3px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-status.ok { display: block; background: #e7f5ec; color: var(--success); }
.form-status.err { display: block; background: #fbeceb; color: var(--danger); }

.step { display: none; }
.step.active { display: block; }
.step-track {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.step-dot {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}
.step-dot.active { background: var(--gold); }

/* ---------- Labeled step tracker (quote wizard) ---------- */
.step-track-labeled {
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}
.step-track-labeled .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}
.step-track-labeled .step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.step-track-labeled .step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.step-track-labeled .step-item.active .step-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step-track-labeled .step-item.active .step-label { color: var(--navy); }
.step-track-labeled .step-item.done .step-num { background: var(--gold); border-color: var(--gold); color: var(--navy-ink); }
.step-track-labeled .step-item.done .step-label { color: var(--gold-dark); }
.step-track-labeled .step-connector {
  flex: 1 1 auto;
  height: 2px;
  background: var(--line);
  margin: 14px 6px 0;
  transition: background 0.15s ease;
}
.step-track-labeled .step-connector.done { background: var(--gold); }
@media (max-width: 480px) {
  .step-track-labeled .step-label { display: none; }
  .step-track-labeled .step-connector { margin-top: 14px; }
}

/* ---------- Product selection card grid (quote wizard step 1) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
.product-card { position: relative; }
.product-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.product-card label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 92px;
  padding: 14px 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.product-card label:hover { border-color: var(--gold); }
.product-card input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; }
.product-card input:checked + label {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}
.product-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s ease;
}
.product-card input:checked + label .icon { background: rgba(255,255,255,0.16); }
.product-card .p-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  transition: color 0.15s ease;
}
.product-card input:checked + label .p-label { color: var(--white); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-dark);
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 34px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4,
.site-footer .footer-heading {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer .brand img { height: 34px; }
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.license-note { font-size: 0.74rem; color: rgba(255,255,255,0.42); }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  display: none;
}
@media (max-width: 720px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 600;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(23,27,64,0.12);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    border-radius: 10px;
  }
  .mobile-bar a .mb-icon { font-size: 1.15rem; }
  .mobile-bar a.mb-primary {
    background: var(--gold);
    color: var(--navy-ink);
  }
  body { padding-bottom: 74px; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 550;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 1.6rem;
}
@media (max-width: 720px) {
  .whatsapp-float { right: 14px; bottom: 88px; width: 50px; height: 50px; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  margin: 0 6px 6px 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* =========================================================
   Homepage v2 — dynamic / asymmetric components
   ========================================================= */

/* Scroll-reveal (progressive enhancement — content is visible by
   default with no-js, and reveal.js only starts hiding elements
   once it confirms IntersectionObserver support). */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-group .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .4s; }

/* Eyebrow with a live pulsing dot, used on left-aligned section heads */
.eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow-live .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 rgba(31,122,77,0.5);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(31,122,77,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(31,122,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,122,77,0); }
}

/* Left-aligned section head with an optional counter on the right,
   used in place of the centered .section-head on homepage v2 sections */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head-row .head-text { max-width: 640px; }
.section-head-row .head-text p { font-size: 1.05rem; margin-bottom: 0; }
.section-counter {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-bottom: 6px;
}

/* Hero rotating value-prop strip */
.hero-rotator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1rem;
  min-height: 1.6em;
  margin-bottom: 6px;
}
.hero-rotator .rotator-word { position: relative; }
.hero-rotator .rotator-word::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold-light);
  margin-left: 3px;
  vertical-align: -0.15em;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Floating stat badges over the hero photo */
.hero-media-wrap { position: relative; }
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  z-index: 2;
  animation: float-badge 5s ease-in-out infinite;
}
.float-badge .fb-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.float-badge .fb-label { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 0.66rem; color: var(--ink-soft); display: block; }
.float-badge .fb-value { font-weight: 800; color: var(--navy); font-size: 0.88rem; }
.float-badge.fb-1 { top: -18px; right: -18px; animation-delay: 0s; }
.float-badge.fb-2 { bottom: 26px; left: -22px; animation-delay: 1.4s; }
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 860px) {
  .float-badge.fb-1 { top: -14px; right: 4px; }
  .float-badge.fb-2 { bottom: -14px; left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-badge, .eyebrow-live .pulse-dot, .hero-rotator .rotator-word::after { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Numbered "why us" cards with large ghost numbers */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px 24px;
  overflow: hidden;
}
.why-card .ghost-num {
  position: absolute;
  top: -6px;
  right: 10px;
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--cream);
  z-index: 0;
  line-height: 1;
}
.why-card .icon {
  position: relative;
  z-index: 1;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.why-card h3 { position: relative; z-index: 1; font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { position: relative; z-index: 1; font-size: 0.9rem; margin-bottom: 0; }

/* Reviews — auto-scrolling marquee band */
.reviews-band {
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0;
}
.reviews-band .section-head-row .head-text h2,
.reviews-band .section-head-row .head-text .eyebrow-live { color: var(--white); }
.reviews-band .section-head-row .head-text p { color: rgba(255,255,255,0.75); }
.reviews-band .overall-stars { color: var(--gold-light); font-size: 1.1rem; white-space: nowrap; padding-bottom: 6px; }
.marquee-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 69.2s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-card {
  flex: 0 0 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.marquee-card .mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.marquee-card .mc-quote { font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1; }
.marquee-card .mc-google {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.marquee-card .mc-google svg { width: 13px; height: 13px; }
.marquee-card .mc-text { font-size: 0.92rem; color: rgba(255,255,255,0.9); flex: 1; margin-bottom: 16px; }
.marquee-card .mc-foot { display: flex; align-items: center; gap: 10px; }
.marquee-card .mc-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.marquee-card .mc-name { font-weight: 700; font-size: 0.86rem; }
.marquee-card .mc-stars { color: var(--gold-light); font-size: 0.78rem; }
.marquee-card .mc-date { color: rgba(255,255,255,0.55); font-weight: 500; }
.reviews-band-bottom {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Bold CTA band with a decorative circle, replacing the plain centered CTA */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy), var(--navy-deep) 70%);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186,166,114,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: var(--white); position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,0.78); }
.cta-band .btn-row { position: relative; z-index: 1; flex-shrink: 0; }
@media (max-width: 720px) {
  .cta-band { padding: 32px 24px; text-align: left; }
}
