/* =====================================================================
   Edmond Restoration Pros — Global Design System
   Palette: royal blue + golden gold. Type: Sora (headings) / Manrope (body)
   Vanilla CSS only. Mobile-first. Respects prefers-reduced-motion.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand blues */
  --blue-900: #0f1f5c;
  --blue-800: #14268a;
  --blue-700: #1b31c9;   /* primary */
  --blue-600: #2647d8;
  --blue-500: #3a5cef;
  --blue-050: #eef1ff;

  /* Brand gold */
  --gold-600: #e0a800;
  --gold-500: #f6c445;   /* accent */
  --gold-400: #ffd25e;
  --gold-100: #fff5d6;

  /* Neutrals */
  --ink:      #16203f;
  --ink-soft: #43507a;
  --muted:    #6b7599;
  --line:     #e3e7f2;
  --panel:    #f5f7fd;
  --panel-2:  #eef2fb;
  --white:    #ffffff;

  /* Semantic */
  --bg:        var(--white);
  --text:      var(--ink);
  --primary:   var(--blue-700);
  --accent:    var(--gold-500);
  --danger:    #d33a2c;
  --success:   #1f9d55;

  /* Typography */
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --sec-y: clamp(3rem, 7vw, 6rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(16,32,92,.06);
  --shadow: 0 12px 34px rgba(16,32,92,.10);
  --shadow-lg: 0 24px 60px rgba(16,32,92,.16);
  --ring: 0 0 0 3px rgba(27,49,201,.28);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.15rem; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.14; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p  { margin: 0 0 1rem; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--blue-700);
  display: inline-block; margin-bottom: .6rem;
}
.eyebrow.on-dark { color: var(--gold-400); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: var(--sec-y); }
.section.tint { background: var(--panel); }
.section.blue { background: var(--blue-800); color: #dfe4ff; }
.section.blue h2, .section.blue h3 { color: #fff; }
.center { text-align: center; }
.mx-narrow { max-width: 760px; margin-inline: auto; }
.grid { display: grid; gap: var(--gap); }
.divider { height: 6px; background: linear-gradient(90deg, var(--blue-700), var(--gold-500)); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-call { background: var(--gold-500); color: var(--blue-900); box-shadow: 0 10px 24px rgba(224,168,0,.4); }
.btn-call:hover { background: var(--gold-400); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 10px 24px rgba(27,49,201,.32); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-050); }
.btn-lg { font-size: 1.18rem; padding: 1.15rem 2rem; }
.btn-block { width: 100%; }
.btn .ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- Header ---------- */
.topbar { background: var(--blue-900); color: #cfd6ff; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; padding-block: .3rem; }
.topbar a { color: var(--gold-400); font-weight: 700; }
.topbar .tb-left { display: flex; gap: 1.2rem; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .tb-hide { display: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 42px; height: 42px; flex: 0 0 auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; color: var(--blue-800); letter-spacing: -.02em; }
.brand .brand-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); font-weight: 700; margin-top: 3px; }

/* Desktop nav */
.main-nav { display: none; }
.main-nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav > ul > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink); padding: .7rem .8rem; border-radius: 8px; }
.nav-link:hover { color: var(--blue-700); background: var(--blue-050); text-decoration: none; }
.nav-link .caret { width: 12px; height: 12px; transition: transform .2s; }
.has-mega:hover .nav-link .caret, .has-drop:hover .nav-link .caret { transform: rotate(180deg); }

.mega, .drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 120;
}
.has-mega:hover .mega, .has-drop:hover .drop,
.has-mega:focus-within .mega, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega { width: min(620px, 92vw); }
.mega-head { font-family: var(--font-head); font-weight: 800; color: var(--blue-800); margin-bottom: .2rem; font-size: 1.05rem; }
.mega-head a { color: var(--blue-800); }
.mega-sub { font-size: .84rem; color: var(--muted); margin-bottom: .8rem; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .9rem; list-style: none; margin: 0; padding: 0; }
.mega-grid a, .drop a { display: block; padding: .5rem .55rem; border-radius: 8px; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
.mega-grid a:hover, .drop a:hover { background: var(--blue-050); color: var(--blue-700); text-decoration: none; }
.drop { width: 250px; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.header-cta { display: none; }

/* Hamburger */
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: var(--blue-050); border: 1px solid var(--line); border-radius: 10px; padding: 11px 10px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--blue-800); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow-lg); overflow-y: auto; padding: 1.1rem 1.1rem 6rem; }
.mobile-nav.open { transform: translateX(0); }
.mobile-backdrop { position: fixed; inset: 0; background: rgba(15,31,92,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .28s; }
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mnav-close { background: var(--blue-050); border: 0; border-radius: 10px; width: 40px; height: 40px; font-size: 1.4rem; color: var(--blue-800); line-height: 1; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; cursor: pointer; padding: .85rem .2rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; color: var(--blue-700); font-size: 1.3rem; }
.mnav details[open] summary::after { content: "\2212"; }
.mnav .mnav-sub { list-style: none; margin: 0 0 .6rem; padding: 0 0 .4rem .4rem; }
.mnav .mnav-sub a { display: block; padding: .5rem .3rem; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.mnav > a { display: block; padding: .85rem .2rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.mnav .mnav-call { margin-top: 1.2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(150deg, var(--blue-800) 0%, var(--blue-700) 55%, var(--blue-600) 100%); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 82% 18%, rgba(246,196,69,.22), transparent 42%),
  radial-gradient(circle at 12% 88%, rgba(58,92,239,.35), transparent 46%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -8%; top: -20%; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid rgba(246,196,69,.10); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; text-transform: uppercase; }
.hero h1 .hl { color: var(--gold-400); }
.hero .hero-sub { color: #dbe1ff; font-size: 1.18rem; margin: 1.1rem 0 1.6rem; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.3rem; }
.avail-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff; }
.avail-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #37e08a; box-shadow: 0 0 0 0 rgba(55,224,138,.7); animation: pulse-dot 2s infinite; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem .4rem; margin-top: 1.2rem; }
.hero-trust .chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: .4rem .75rem; border-radius: 8px; font-size: .82rem; font-weight: 600; color: #eef1ff; }
.hero-trust .chip svg { width: 15px; height: 15px; color: var(--gold-400); }

/* Hero call card (replaces the reference form) */
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.7rem; border-top: 6px solid var(--gold-500); }
.hero-card h2 { font-size: 1.5rem; color: var(--blue-800); }
.hero-card .card-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--blue-700); margin: .3rem 0 .1rem; display: inline-block; }
.hero-card .card-num:hover { color: var(--blue-600); text-decoration: none; }
.hero-card ul { list-style: none; padding: 0; margin: 1rem 0 1.3rem; display: grid; gap: .55rem; }
.hero-card li { display: flex; align-items: flex-start; gap: .55rem; font-weight: 600; font-size: .96rem; }
.hero-card li svg { width: 20px; height: 20px; color: var(--success); flex: 0 0 auto; margin-top: 1px; }
.hero-card .fineprint { font-size: .8rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--blue-900); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; padding-block: 1rem; }
.trust-strip .ts-item { display: inline-flex; align-items: center; gap: .55rem; color: #dfe4ff; font-weight: 700; font-size: .92rem; }
.trust-strip .ts-item svg { width: 20px; height: 20px; color: var(--gold-400); }

/* ---------- Answer-first block ---------- */
.answer-block { background: var(--blue-050); border-left: 6px solid var(--blue-700); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.answer-block .eyebrow { color: var(--blue-700); }
.answer-block p { font-size: 1.08rem; color: var(--ink); margin-bottom: 0; }

/* ---------- Cards / pillars ---------- */
.cards { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-050); }
.card .card-ico { width: 58px; height: 58px; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue-700); text-decoration: none; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .card-link { font-family: var(--font-head); font-weight: 700; color: var(--blue-700); font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

.pillar-card { position: relative; overflow: hidden; }
.pillar-card .pillar-media { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.1rem; background: var(--panel-2); }
.pillar-card .pillar-media img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.pillar-card ul.mini { list-style: none; padding: 0; margin: .6rem 0 1.1rem; display: grid; gap: .35rem; }
.pillar-card ul.mini a { font-size: .9rem; color: var(--ink-soft); font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.pillar-card ul.mini a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* Service tiles (compact, reference-style) */
.tiles { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.tile { display: flex; align-items: center; gap: .9rem; background: var(--gold-500); color: var(--blue-900); border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: var(--blue-900); }
.tile svg { width: 26px; height: 26px; flex: 0 0 auto; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: var(--gap); counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; position: relative; box-shadow: var(--shadow-sm); }
.step .step-num { position: absolute; top: -18px; left: 1.3rem; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; box-shadow: 0 8px 18px rgba(27,49,201,.35); }
.step h3 { margin: .6rem 0 .4rem; font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Why choose (feature list) ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.feature-list .fi-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-050); display: grid; place-items: center; flex: 0 0 auto; }
.feature-list .fi-ico svg { width: 22px; height: 22px; color: var(--blue-700); }
.feature-list h4 { margin-bottom: .15rem; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.check-list li svg { width: 22px; height: 22px; color: var(--gold-500); flex: 0 0 auto; margin-top: 1px; }
.section.blue .check-list li svg { color: var(--gold-400); }

/* ---------- Stats / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat .stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold-400); line-height: 1; }
.section.blue .stat .stat-label { color: #cdd5ff; }
.stat .stat-label { font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel-2); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- CTA bands (Hormozi) ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 3rem); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(246,196,69,.20), transparent 45%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto .6rem; }
.cta-band p { color: #dbe1ff; max-width: 56ch; margin: 0 auto 1.4rem; font-size: 1.08rem; }
.cta-band .btn-call { font-size: 1.2rem; }
.cta-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }
.cta-gold h2, .cta-gold .eyebrow { color: var(--blue-900); }
.cta-gold p { color: #3a2f00; }
.cta-gold .btn-primary { background: var(--blue-800); }
.cta-sub-note { font-size: .85rem; opacity: .85; margin-top: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 12px; height: 12px; border-right: 2.5px solid var(--blue-700); border-bottom: 2.5px solid var(--blue-700); transform: rotate(45deg); transition: transform .2s; flex: 0 0 auto; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--panel); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: .8rem 0; margin: 0; font-size: .85rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line); margin-left: .4rem; }
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs li[aria-current] { color: var(--blue-700); font-weight: 700; }

/* ---------- Related / internal link cards ---------- */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.related-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-card h4 { margin-bottom: .35rem; }
.related-card h4 a { color: var(--ink); }
.related-card h4 a:hover { color: var(--blue-700); text-decoration: none; }
.related-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Prose (articles / legal / blog) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1.2rem; display: grid; gap: .4rem; }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; box-shadow: var(--shadow-sm); }
.prose blockquote { border-left: 5px solid var(--gold-500); background: var(--panel); padding: 1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4rem 0; font-style: italic; color: var(--ink); }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 2rem; }
.toc strong { font-family: var(--font-head); display: block; margin-bottom: .5rem; color: var(--blue-800); }
.toc ol { margin: 0; }
.toc a { font-weight: 600; }

/* Info panels (insurance / local route) */
.info-panel { background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--gold-500); border-radius: var(--radius); padding: 1.5rem; }
.info-panel h3 { color: var(--blue-800); margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c3cbf0; padding-top: clamp(2.6rem, 6vw, 4rem); }
.site-footer a { color: #c3cbf0; }
.site-footer a:hover { color: var(--gold-400); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer-brand .brand-name { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.footer-brand p { font-size: .92rem; margin: .8rem 0; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.footer-nap { font-size: .92rem; display: grid; gap: .55rem; }
.footer-nap .nap-row { display: flex; gap: .55rem; align-items: flex-start; }
.footer-nap svg { width: 18px; height: 18px; color: var(--gold-400); flex: 0 0 auto; margin-top: 2px; }
.footer-nap .nap-phone { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-credit a { color: var(--gold-400); font-weight: 700; }

/* ---------- Mobile sticky call bar ---------- */
.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: .6rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(15,31,92,.97); backdrop-filter: blur(6px); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.sticky-call a { flex: 1; }
.sticky-call .btn { width: 100%; padding: .8rem; }
.sticky-call .btn-call { animation: pulse-btn 2.4s infinite; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Animations ---------- */
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(55,224,138,.7); } 70% { box-shadow: 0 0 0 10px rgba(55,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(55,224,138,0); } }
@keyframes pulse-btn { 0% { box-shadow: 0 0 0 0 rgba(246,196,69,.6); } 70% { box-shadow: 0 0 0 14px rgba(246,196,69,0); } 100% { box-shadow: 0 0 0 0 rgba(246,196,69,0); } }

/* ---------- Utilities ---------- */
.mt0{margin-top:0}.mb0{margin-bottom:0}.mt1{margin-top:1rem}.mt2{margin-top:2rem}
.text-gold{color:var(--gold-500)} .nowrap{white-space:nowrap}
.two-col { display: grid; gap: var(--gap); }
.badge-inline { display:inline-flex; align-items:center; gap:.4rem; background:var(--gold-100); color:var(--blue-900); font-weight:700; font-size:.8rem; padding:.3rem .7rem; border-radius:999px; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .topbar .tb-hide { display: inline-flex; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
  .two-col.wide-left { grid-template-columns: 1.2fr .8fr; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .steps.s3 { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
/* Full desktop nav needs more room (brand + 7 items + call button) */
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .sticky-call { display: none; }
  body { padding-bottom: 0 !important; }
}
@media (max-width: 1079px) {
  body { padding-bottom: 74px; } /* room for sticky call bar */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
