/* DKI Restotech redesign — design system (Claude Design handoff). Loaded after site.css so it wins on shared selectors. */
/* ============================================================
   DKI Restotech — Redesign Design System
   Bold & urgent · modern red/blue · industrial display type
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand palette — modern red/blue refresh */
  --red:        #E4002B;
  --red-dark:   #B4001F;
  --red-glow:   rgba(228, 0, 43, 0.35);
  --navy:       #0A1E33;
  --navy-soft:  #102A45;
  --navy-line:  #1C3A5A;
  --blue:       #2E73E8;
  --blue-soft:  #5C9BFF;

  --paper:      #F4F3EF;
  --paper-2:    #ECEAE3;
  --white:      #FFFFFF;
  --ink:        #0B1722;
  --ink-2:      #2A3946;
  --muted:      #5C6B79;
  --muted-2:    #8A97A3;
  --line:       rgba(11, 23, 34, 0.12);
  --line-soft:  rgba(11, 23, 34, 0.07);

  /* Type */
  --display: 'Archivo', system-ui, sans-serif;
  --body:    'Public Sans', system-ui, sans-serif;

  /* Radius & shadow — tight / industrial */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(11,23,34,.08), 0 2px 8px rgba(11,23,34,.06);
  --shadow-md: 0 8px 24px rgba(11,23,34,.10), 0 2px 6px rgba(11,23,34,.06);
  --shadow-lg: 0 24px 60px rgba(11,23,34,.18), 0 8px 24px rgba(11,23,34,.10);
  --shadow-red: 0 10px 30px rgba(228,0,43,.30);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --bar-h: 44px;   /* emergency top bar */
  --nav-h: 76px;   /* main nav */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { margin: 0; font-family: var(--display); line-height: 1.02; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utilities ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.on-dark { color: var(--blue-soft); }
.eyebrow::before {
  content: "";
  width: 22px; height: 0;
  border-top: 2px solid currentColor;
}
.section { padding-block: clamp(64px, 9vw, 130px); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); line-height: 1.65; }

/* Triangle motif (logo nod) */
.tri {
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 15px solid var(--red);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(228,0,43,.42); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---------- Emergency top bar ---------- */
.topbar {
  background: var(--ink);
  color: #fff;
  height: var(--bar-h);
  display: flex; align-items: center;
  font-size: 13.5px;
  position: relative;
  z-index: 60;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.topbar-badges { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.78); min-width: 0; }
.topbar-badges span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-badges .dot { width: 7px; height: 7px; border-radius: 50%; background: #35D07F; box-shadow: 0 0 0 0 rgba(53,208,127,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53,208,127,.55);} 70% { box-shadow: 0 0 0 7px rgba(53,208,127,0);} 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0);} }
.topbar-call { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; color: #fff; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
.topbar-call svg { width: 15px; height: 15px; }
.topbar-call:hover { color: var(--blue-soft); }
@media (max-width: 880px){ .topbar-badges span:nth-child(n+3){ display:none; } }
@media (max-width: 600px){ .topbar-badges span:nth-child(n+2){ display:none; } }

/* ---------- Main nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(11,23,34,.10); background: rgba(255,255,255,.95); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-fallback { display: flex; align-items: center; gap: 10px; }
.brand-fallback .marks { display: flex; gap: 3px; }
.brand-fallback .marks .tri { transform: translateY(-1px); }
.brand-fallback .marks .tri.blue { border-bottom-color: var(--blue); }
.brand-fallback .name { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; line-height: .95; font-size: 19px; color: var(--navy); }
.brand-fallback .name b { color: var(--red); }
.brand-fallback .name small { display: block; font-size: 9.5px; letter-spacing: .26em; font-weight: 700; color: var(--muted); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { color: var(--red); background: rgba(228,0,43,.06); }
.nav-links .caret { width: 14px; height: 14px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 280px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Invisible bridge over the gap between the trigger and the menu so the mouse
   never crosses a dead zone (which would drop :hover and close the menu). */
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 18px; }
.dropdown a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 13px; border-radius: var(--r-sm); transition: background .14s; }
.dropdown a:hover { background: var(--paper); }
.dropdown .di-ic { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--paper-2); color: var(--red); }
.dropdown .di-ic svg { width: 18px; height: 18px; }
.dropdown .di-t { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.dropdown .di-d { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; }
.nav-phone .pic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(228,0,43,.10); color: var(--red); }
.nav-phone .pic svg { width: 18px; height: 18px; }
.nav-phone .pt { line-height: 1.1; }
.nav-phone .pt small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.nav-phone .pt b { font-family: var(--display); font-size: 16px; color: var(--navy); }

.hamburger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); align-items: center; justify-content: center; }
.hamburger svg { width: 24px; height: 24px; color: var(--navy); }

/* The 7-item nav leaves no room for the phone block beside it; the number
   stays in the topbar, sticky call bar and mobile menu. In hamburger mode
   (tablets) there is room again, so the phone block comes back. */
@media (min-width: 1201px){
  .nav-phone { display: none; }
}
@media (max-width: 1200px){
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 720px){
  .nav-phone { display: none; }
}

/* ---------- Mobile menu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mmenu.open { visibility: visible; }
.mmenu-scrim { position: absolute; inset: 0; background: rgba(11,23,34,.5); opacity: 0; transition: opacity .25s; }
.mmenu.open .mmenu-scrim { opacity: 1; }
.mmenu-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 90vw);
  background: var(--navy); color: #fff; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.mmenu.open .mmenu-panel { transform: translateX(0); }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mmenu-close { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; }
.mmenu-close svg { width: 22px; height: 22px; }
.mmenu a { display: block; padding: 15px 12px; font-family: var(--display); font-weight: 700; font-size: 19px; border-bottom: 1px solid var(--navy-line); }
.mmenu a:hover { color: var(--blue-soft); }
.mmenu-sub { font-family: var(--body) !important; font-weight: 500 !important; font-size: 15px !important; padding-left: 24px !important; color: rgba(255,255,255,.7); border: none !important; padding-block: 9px !important; }
.mmenu-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--red); color: #fff;
  display: none; transform: translateY(100%); transition: transform .3s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.callbar.show { transform: translateY(0); }
.callbar .wrap { display: flex; gap: 0; padding: 0; }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.callbar a + a { border-left: 1px solid rgba(255,255,255,.25); background: var(--navy); }
.callbar svg { width: 18px; height: 18px; }
@media (max-width: 720px){ .callbar { display: block; } body { padding-bottom: 54px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); }
.footer h4 { font-family: var(--display); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer a { color: rgba(255,255,255,.72); transition: color .14s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid ul { display: grid; gap: 11px; font-size: 14.5px; }
.footer-brand .brand-fallback .name { color: #fff; }
.footer-brand p { font-size: 14.5px; line-height: 1.7; margin-top: 16px; max-width: 34ch; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; font-size: 14.5px; }
.footer-contact b { color: #fff; font-family: var(--display); font-size: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal — content is visible by default. JS "arms" (hides +
   animates) only BELOW-the-fold elements, so a throttled/frozen transition can
   never leave above-the-fold content (e.g. the hero) blank. ---------- */
.js [data-reveal].reveal-armed { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].reveal-armed.in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .js [data-reveal].reveal-armed{ opacity:1; transform:none; transition:none; } }

/* ---- btn compatibility aliases for existing pages ---- */
.btn-primary { background: var(--red); color:#fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); }

/* ============================================================
   DKI Restotech — content sections
   ============================================================ */

/* ---------------- HERO (shared frame) ---------------- */
.hero { position: relative; }
.hero[hidden] { display: none; }

/* Hero badges */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges .b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 100px; }
.hero-badges .b svg { width: 15px; height: 15px; }
.on-dark .hero-badges .b, .hero-badges.on-dark .b { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.hero-badges.on-light .b { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero-badges .b .ck { color: #35D07F; }

/* ===== Hero A — full-bleed photo overlay ===== */
.heroA { min-height: clamp(560px, 82vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.heroA .bg { position: absolute; inset: 0; z-index: 0; }
.heroA .bg img { width: 100%; height: 100%; object-fit: cover; }
.heroA .bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(95deg, rgba(8,18,30,.93) 0%, rgba(8,18,30,.78) 42%, rgba(8,18,30,.30) 100%); }
.heroA .bg::before { content:""; position:absolute; inset:0; z-index:1; background: repeating-linear-gradient(135deg, rgba(228,0,43,.0) 0 38px, rgba(228,0,43,.05) 38px 40px); }
.heroA .wrap { position: relative; z-index: 2; padding-block: 64px; }
.heroA .inner { max-width: 720px; }
.heroA h1 { font-size: clamp(40px, 6.4vw, 82px); font-weight: 900; line-height: .96; }
.heroA h1 .hl { color: var(--red); }
.heroA .sub { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.84); margin-top: 22px; max-width: 56ch; line-height: 1.6; }
.heroA .cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.heroA .hero-badges { margin-top: 34px; }
.heroA .pill-live { display:inline-flex; align-items:center; gap:9px; background: var(--red); color:#fff; font-family:var(--display); font-weight:700; font-size:13px; letter-spacing:.04em; padding:8px 16px; border-radius:100px; margin-bottom:22px; }
.heroA .pill-live .dot { width:8px; height:8px; border-radius:50%; background:#fff; animation: pulse 1.8s infinite; }

/* ===== Hero B — split panel + form ===== */
.heroB { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: clamp(560px, 80vh, 800px); }
.heroB .panel { background: var(--navy); color: #fff; padding: clamp(40px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.heroB .panel::before { content:""; position:absolute; right:-60px; bottom:-60px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(46,115,232,.22), transparent 70%); }
.heroB .panel .tri-stack { display:flex; gap:5px; margin-bottom:24px; }
.heroB .panel .tri-stack .tri { border-bottom-width: 22px; border-left-width:13px; border-right-width:13px; }
.heroB .panel .tri-stack .tri.blue { border-bottom-color: var(--blue); }
.heroB h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; line-height: .98; position: relative; }
.heroB h1 .hl { color: var(--red); }
.heroB .sub { color: rgba(255,255,255,.82); font-size: clamp(16px,1.6vw,19px); margin-top: 20px; max-width: 46ch; }
.heroB .cta { display:flex; gap:12px; margin-top:28px; flex-wrap: wrap; }
.heroB .trust { display:flex; gap:22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--navy-line); flex-wrap: wrap; }
.heroB .trust .t b { font-family: var(--display); font-size: 28px; color:#fff; display:block; line-height:1; }
.heroB .trust .t small { font-size: 12.5px; color: rgba(255,255,255,.6); letter-spacing:.02em; }
.heroB .photo { position: relative; }
.heroB .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroB .photo .tag { position: absolute; left: 24px; bottom: 24px; z-index:2; background: rgba(11,23,34,.78); backdrop-filter: blur(8px); color:#fff; padding: 14px 18px; border-radius: var(--r-md); display:flex; align-items:center; gap:12px; }
.heroB .photo .tag .ic { width:38px;height:38px;border-radius:50%;background:var(--red);display:grid;place-items:center; }
.heroB .photo .tag .ic svg { width:18px;height:18px;color:#fff; }
.heroB .photo .tag b { font-family:var(--display); display:block; font-size:15px; }
.heroB .photo .tag small { font-size:12px; color:rgba(255,255,255,.7); }
@media (max-width: 940px){ .heroB { grid-template-columns: 1fr; } .heroB .photo { min-height: 320px; } }

/* ===== Hero C — editorial type-driven ===== */
.heroC { background: var(--paper); position: relative; overflow: hidden; }
.heroC::before { content:""; position:absolute; top:-10%; right:-6%; width:520px; height:520px; background: radial-gradient(circle, rgba(228,0,43,.07), transparent 68%); }
.heroC .wrap { padding-block: clamp(48px, 6vw, 96px); position: relative; z-index:2; }
.heroC .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.heroC h1 { font-size: clamp(42px, 6.2vw, 88px); font-weight: 900; line-height: .92; color: var(--navy); letter-spacing: -.03em; }
.heroC h1 .hl { color: var(--red); display:block; }
.heroC h1 .out { -webkit-text-stroke: 2px var(--navy); color: transparent; }
.heroC .sub { font-size: clamp(17px,1.8vw,20px); color: var(--ink-2); margin-top: 24px; max-width: 50ch; }
.heroC .cta { display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.heroC .hero-badges { margin-top: 30px; }
.heroC .media { position: relative; }
.heroC .media .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.heroC .media .frame img { width:100%; height:100%; object-fit: cover; }
.heroC .media .float { position:absolute; background:#fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 16px 18px; display:flex; align-items:center; gap:13px; }
.heroC .media .float.f1 { left:-26px; top:34px; }
.heroC .media .float.f2 { right:-22px; bottom:48px; }
.heroC .media .float .ic { width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:rgba(228,0,43,.1);color:var(--red); flex-shrink:0; }
.heroC .media .float .ic svg { width:22px;height:22px; }
.heroC .media .float b { font-family:var(--display); font-size:22px; color:var(--navy); display:block; line-height:1; }
.heroC .media .float small { font-size:12px; color:var(--muted); }
@media (max-width: 940px){ .heroC .grid { grid-template-columns: 1fr; } .heroC .media { max-width: 420px; } .heroC .media .float.f1{ left:0; } .heroC .media .float.f2{ right:0; } }

/* ---------------- Marquee trust strip ---------------- */
.trustbar { background: var(--navy); color: #fff; padding-block: 18px; overflow: hidden; }
.trustbar .row { display: flex; align-items: center; gap: 44px; white-space: nowrap; animation: marquee 28s linear infinite; }
.trustbar .row span { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); }
.trustbar .row span svg { width: 18px; height: 18px; color: var(--red); }
.trustbar .row .sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); gap:0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .trustbar .row { animation: none; } }

/* ---------------- Section heading ---------------- */
.shead { max-width: 720px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead.center .eyebrow { justify-content: center; }
.shead h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 900; margin-top: 16px; line-height: 1.02; color: var(--navy); }
.shead.on-dark h2 { color: #fff; }
.shead p { margin-top: 16px; }

/* ---------------- Services grid ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.svc-grid .feat { grid-column: span 2; grid-row: span 2; }
.svc-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 240px; display: flex; color: #fff; isolation: isolate; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(8,18,30,.15) 0%, rgba(8,18,30,.55) 55%, rgba(8,18,30,.92) 100%); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card .body { margin-top: auto; padding: 26px; position: relative; z-index: 1; }
.svc-card .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.svc-card .ic svg { width: 24px; height: 24px; color: #fff; }
.svc-card h3 { font-size: 22px; font-weight: 800; }
.svc-card.feat h3 { font-size: clamp(26px, 3vw, 38px); }
.svc-card p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 8px; max-width: 46ch; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff; }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more svg { transform: translateX(5px); }
.svc-card .more::after { content:""; }
@media (max-width: 860px){ .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid .feat { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px){ .svc-grid { grid-template-columns: 1fr; } .svc-grid .feat { grid-column: span 1; } }

/* ---------------- Process steps ---------------- */
.process { background: var(--navy); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--navy-line); }
.step .num { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--red); letter-spacing: .1em; }
.step h3 { font-size: 21px; margin-top: 14px; color:#fff; }
.step p { color: rgba(255,255,255,.7); font-size: 14.5px; margin-top: 9px; }
.step::before { content:""; position:absolute; top:-2px; left:0; width:38px; height:2px; background: var(--red); }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px){ .steps { grid-template-columns: 1fr; } }

/* ---------------- Why us / stats ---------------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.why-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/6; }
.why-media img { width:100%; height:100%; object-fit: cover; }
.why-media .badge { position: absolute; left: 22px; bottom: 22px; background: var(--red); color:#fff; padding: 18px 22px; border-radius: var(--r-md); }
.why-media .badge b { font-family: var(--display); font-size: 40px; font-weight: 900; line-height: .9; display:block; }
.why-media .badge small { font-size: 12.5px; letter-spacing: .04em; }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-list .item { display: flex; gap: 16px; }
.why-list .item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--paper-2); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.why-list .item .ic svg { width: 24px; height: 24px; }
.why-list .item h3 { font-size: 18px; font-weight: 800; color: var(--navy); }
.why-list .item p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px){ .why { grid-template-columns: 1fr; } .why-media { aspect-ratio: 16/11; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background:#fff; }
.stats .s { padding: 30px 28px; border-right: 1px solid var(--line); }
.stats .s:last-child { border-right: none; }
.stats .s b { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 4.5vw, 56px); color: var(--navy); line-height: 1; display:block; }
.stats .s b .u { color: var(--red); }
.stats .s small { display:block; margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px){ .stats { grid-template-columns: 1fr 1fr; } .stats .s:nth-child(2){ border-right:none; } .stats .s:nth-child(1),.stats .s:nth-child(2){ border-bottom:1px solid var(--line);} }

/* ---------------- Testimonials ---------------- */
.testi { overflow: hidden; }
.testi-viewport { overflow: hidden; border-radius: var(--r-lg); }
.testi-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.testi-slide { min-width: 100%; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-md); }
.testi-stars { display: flex; gap: 3px; color: #FFB400; }
.testi-stars svg { width: 22px; height: 22px; }
.testi-card blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.5vw, 30px); line-height: 1.3; color: var(--navy); margin: 22px 0 0; letter-spacing: -.01em; }
.testi-foot { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi-foot .av { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color:#fff; display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:18px; }
.testi-foot b { font-family: var(--display); color: var(--navy); display:block; }
.testi-foot small { color: var(--muted); font-size: 13.5px; }
.testi-foot .src { margin-left: auto; display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); font-weight:600; }
.testi-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: all .2s; }
.testi-dots button.active { background: var(--red); width: 26px; border-radius: 5px; }
.testi-arrows { margin-left: auto; display: flex; gap: 10px; }
.testi-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: all .18s; }
.testi-arrows button:hover { background: var(--navy); color:#fff; border-color: var(--navy); }
.testi-arrows svg { width: 20px; height: 20px; }

/* ---------------- Insurance logos ---------------- */
.ins-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 44px; }
.ins-grid .logo { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 2/1; display: grid; place-items: center; padding: 18px; transition: all .2s; }
.ins-grid .logo:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ins-grid .logo img { max-height: 100%; max-width: 100%; object-fit: contain; filter: none; }
@media (max-width: 860px){ .ins-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px){ .ins-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- Service areas ---------------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: #fff; border: 1px solid var(--line); border-radius: 100px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--navy); transition: all .16s; }
.area-chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.area-chips a .tri { border-bottom-width: 10px; border-left-width:6px; border-right-width:6px; }
.area-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background:#fff; box-shadow: var(--shadow-md); }
.area-map img { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder { position: relative; aspect-ratio: 4/3; background: linear-gradient(160deg, var(--navy) 0%, #0d2b47 100%); overflow: hidden; }
.map-placeholder .map-grid { position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; }
.map-placeholder .map-shape { position:absolute; inset:0; width:100%; height:100%; padding: 12%; }
.map-placeholder .map-shape path { fill: rgba(228,0,43,.16); stroke: var(--red); stroke-width: 1.4; stroke-linejoin: round; }
.map-placeholder .pin { position:absolute; width:14px; height:14px; border-radius:50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2.4s infinite; }
.map-placeholder .pin::after { content:""; position:absolute; inset:4px; border-radius:50%; background:#fff; }
.map-placeholder .pin.p1 { left:34%; top:40%; } .map-placeholder .pin.p2 { left:52%; top:52%; animation-delay:.4s; }
.map-placeholder .pin.p3 { left:44%; top:64%; animation-delay:.8s; } .map-placeholder .pin.p4 { left:62%; top:44%; animation-delay:1.2s; }
.map-placeholder .pin.p5 { left:40%; top:50%; animation-delay:1.6s; }
.map-placeholder .map-label { position:absolute; left:24px; bottom:22px; color:#fff; }
.map-placeholder .map-label b { font-family:var(--display); font-size:22px; display:block; }
.map-placeholder .map-label small { color: rgba(255,255,255,.65); font-size:13px; }
@media (max-width: 860px){ .areas { grid-template-columns: 1fr; } }

/* ---------------- Quote form ---------------- */
.quote { background: var(--ink); color:#fff; position: relative; overflow: hidden; }
.quote::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(135deg, transparent 0 60px, rgba(255,255,255,.015) 60px 62px); }
.quote .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; position: relative; z-index:1; }
.quote h2 { font-size: clamp(30px,4vw,50px); color:#fff; font-weight:900; line-height:1.02; }
.quote h2 .hl { color: var(--red); }
.quote .qlead { color: rgba(255,255,255,.78); margin-top: 18px; font-size: 18px; max-width: 44ch; }
.quote .qpoints { display:grid; gap:14px; margin-top:28px; }
.quote .qpoints li { display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:rgba(255,255,255,.86); }
.quote .qpoints .ck { width:24px;height:24px;border-radius:50%;background:rgba(53,208,127,.16);color:#35D07F;display:grid;place-items:center;flex-shrink:0; }
.quote .qpoints .ck svg { width:14px;height:14px; }
.quote .qphone { margin-top: 30px; display:inline-flex; align-items:center; gap:14px; }
.quote .qphone .ic { width:54px;height:54px;border-radius:50%;background:var(--red);display:grid;place-items:center; }
.quote .qphone .ic svg { width:24px;height:24px;color:#fff; }
.quote .qphone small { display:block; color:rgba(255,255,255,.6); font-size:13px; }
.quote .qphone b { font-family:var(--display); font-size:26px; color:#fff; }

.qform { background:#fff; border-radius: var(--r-lg); padding: clamp(24px,3vw,38px); color: var(--ink); box-shadow: var(--shadow-lg); }
.qform .qhead { display:flex; align-items:center; justify-content:space-between; margin-bottom: 6px; }
.qform .qhead b { font-family:var(--display); font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.qform .qhead .stepn { font-family:var(--display); font-weight:800; font-size:13px; color:var(--red); }
.qform .qprog { height:5px; background: var(--paper-2); border-radius: 3px; overflow:hidden; margin: 10px 0 24px; }
.qform .qprog span { display:block; height:100%; width:0; background: var(--red); border-radius:3px; transition: width .4s cubic-bezier(.4,0,.2,1); }
.qform h3 { font-size: 23px; color: var(--navy); }
.qform .qsub { font-size: 14px; color: var(--muted); margin-top: 6px; margin-bottom: 18px; }
.damage-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.damage-chip { display:flex; align-items:center; gap:13px; padding: 16px; border:1.5px solid var(--line); border-radius: var(--r-md); text-align:left; transition: all .15s; }
.damage-chip:hover { border-color: var(--red); background: rgba(228,0,43,.03); }
.damage-chip.sel { border-color: var(--red); background: rgba(228,0,43,.06); }
.damage-chip .ic { width:40px;height:40px;border-radius:10px;background:var(--paper-2);color:var(--red);display:grid;place-items:center;flex-shrink:0; }
.damage-chip .ic svg { width:22px;height:22px; }
.damage-chip b { font-family:var(--display); font-size:15px; color:var(--navy); display:block; }
.damage-chip small { font-size:12px; color:var(--muted); }
.field { margin-bottom: 14px; }
.field label { display:block; font-weight:600; font-size:13.5px; margin-bottom:7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 15px; border:1.5px solid var(--line); border-radius: var(--r-sm); font-family: var(--body); font-size:15px; color:var(--ink); background:#fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,115,232,.15); }
.field input.err, .field select.err, .field textarea.err { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,0,43,.12); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.qactions { display:flex; gap:10px; margin-top: 8px; }
.qactions .btn { flex:1; }
.qdone { text-align:center; padding: 18px 8px; }
.qdone .ok { width:72px;height:72px;border-radius:50%;background:rgba(53,208,127,.14);color:#35D07F;display:grid;place-items:center;margin:0 auto 18px; }
.qdone .ok svg { width:38px;height:38px; }
.qdone h3 { color: var(--navy); }
.qdone p { color: var(--muted); margin-top:10px; font-size:15px; }
.qnote { font-size:12px; color:var(--muted-2); text-align:center; margin-top:14px; }
@media (max-width: 860px){ .quote .grid { grid-template-columns: 1fr; } .damage-grid { grid-template-columns:1fr; } }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
[data-faq] { border-bottom: 1px solid var(--line); }
[data-faq] > button { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 22px 4px; text-align:left; font-family: var(--display); font-weight:700; font-size: clamp(17px,2vw,20px); color: var(--navy); }
[data-faq] .fic { width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;flex-shrink:0;transition:all .2s; }
[data-faq] .fic svg { width:16px;height:16px; transition: transform .25s; }
[data-faq].open .fic { background: var(--red); border-color: var(--red); color:#fff; }
[data-faq].open .fic svg { transform: rotate(45deg); }
[data-faq] .fans { max-height:0; overflow:hidden; transition: max-height .3s ease; }
[data-faq].open .fans { max-height: 320px; }
[data-faq] .fans p { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; line-height:1.7; max-width: 70ch; }

/* ---------------- Big CTA band ---------------- */
.ctaband { background: var(--red); color:#fff; position: relative; overflow:hidden; }
.ctaband::before { content:""; position:absolute; right:-4%; top:-30%; width:480px;height:480px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); }
.ctaband .wrap { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; padding-block: clamp(48px,6vw,80px); }
.ctaband h2 { font-size: clamp(28px,4vw,48px); font-weight:900; color:#fff; max-width: 18ch; line-height:1.02; }
.ctaband .csub { color: rgba(255,255,255,.9); margin-top:14px; font-size:18px; }
.ctaband .cbtns { display:flex; gap:14px; flex-wrap:wrap; }

/* ---------------- Page hero (interior) ---------------- */
.phero { background: var(--navy); color:#fff; position:relative; overflow:hidden; padding-block: clamp(48px,6vw,88px); }
.phero::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(135deg, transparent 0 44px, rgba(255,255,255,.018) 44px 46px); }
.phero .wrap { position:relative; z-index:1; }
.crumbs { display:flex; align-items:center; gap:9px; font-size:13.5px; color:rgba(255,255,255,.6); margin-bottom: 20px; }
.crumbs a:hover { color:#fff; }
.crumbs .sep { opacity:.5; }
.phero h1 { font-size: clamp(36px,5.5vw,68px); font-weight:900; max-width: 18ch; line-height:.98; color:#fff; }
.phero h1 .hl { color: var(--red); }
.phero .psub { color: rgba(255,255,255,.82); font-size: clamp(17px,1.8vw,20px); margin-top:20px; max-width: 58ch; }
.phero .cta { display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

/* prose */
.prose p { margin-bottom: 18px; color: var(--ink-2); line-height:1.75; }
.prose h2 { color: var(--navy); font-size: clamp(26px,3.2vw,40px); margin: 8px 0 18px; }
.prose h3 { color: var(--navy); font-size: 22px; margin: 28px 0 12px; }
.prose ul.check { display:grid; gap:13px; margin: 18px 0; }
.prose ul.check li { display:flex; gap:12px; align-items:flex-start; color: var(--ink-2); }
.prose ul.check .ck { width:24px;height:24px;border-radius:50%;background:rgba(228,0,43,.1);color:var(--red);display:grid;place-items:center;flex-shrink:0;margin-top:1px; }
.prose ul.check .ck svg { width:14px;height:14px; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: center; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .team-ph { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 28px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--navy-soft)); position: relative; }
.team-card .team-ph::after { content:""; position:absolute; right:4px; bottom:4px; width:18px; height:18px; border-radius:50%; background: var(--red); border: 3px solid #fff; }
.team-card b { font-family: var(--display); color: var(--navy); font-size: 17px; display:block; }
.team-card small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px){ .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,4vw,60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.cc { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; align-items: flex-start; }
.cc .ic { width: 50px; height: 50px; border-radius: 12px; background: rgba(228,0,43,.1); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.cc .ic svg { width: 24px; height: 24px; }
.cc h3 { font-size: 17px; color: var(--navy); }
.cc p, .cc a { color: var(--muted); font-size: 15px; margin-top: 3px; display:block; }
.cc a:hover { color: var(--red); }
.cc .big { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }

/* ---- integration overrides (Django) ---- */
.nav-links, .nav-links > li { list-style: none; }   /* bare <li> in <nav> show markers otherwise */
.footer-grid ul li { list-style: none; }
/* Small phones: the Free-Inspection button crowds out the hamburger — hide it;
   the mobile menu + sticky call bar carry the CTAs. */
@media (max-width: 560px){ .nav-cta .btn-red { display: none; } }

/* Mobile overflow fix: image-laden grids must let tracks shrink below the
   image's intrinsic width (repeat(N,1fr) overflows; minmax(0,1fr)+min-width:0 fix it). */
.ins-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 860px){ .ins-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px){ .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins-grid > .logo, .ins-grid .logo img,
.svc-grid > *, .stats > *, .steps > *, .team-grid > *,
.why > *, .areas > *, .quote .grid > *, .heroC .grid > * { min-width: 0; }
/* Defensive: nothing should ever force a horizontal scrollbar. */
body { overflow-x: clip; }
img, video, iframe, table { max-width: 100%; }

/* Review CTA buttons + linkable review source badge */
.review-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
a.src { transition: color .15s; }
a.src:hover { color: var(--red); }

/* Google overall-rating badge in the reviews section */
.review-rating { text-align: center; margin-top: 16px; font-family: var(--display); color: var(--navy); font-size: 17px; }
.review-rating .rstars { color: #FFB400; letter-spacing: 2px; }
.review-rating b { font-size: 20px; }

/* Emphasize the lead service phrase in the hero subhead */
.heroC .sub strong { color: var(--navy); font-weight: 800; }

/* ---------- Services mega-menu ---------- */
.dropdown.mega {
  left: -8px; transform: translateY(8px);
  min-width: 0; width: 720px;
  display: flex; gap: 4px;
}
.nav-item:hover .dropdown.mega, .nav-item:focus-within .dropdown.mega { transform: translateY(0); }
.dd-col { flex: 1; min-width: 0; padding: 2px 4px; }
.dd-col + .dd-col { border-left: 1px solid var(--line-soft); padding-left: 10px; }
.dd-col h5 {
  margin: 8px 9px 6px;
  font-family: var(--display); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.dropdown.mega a { display: block; padding: 8px 9px; }
.dropdown .di-t, .dropdown .di-d { display: block; }

/* ---------- Mobile menu: grouped sections ---------- */
.mmenu-head {
  display: block; margin: 18px 4px 2px;
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.mmenu-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.mmenu-cols .mmenu-sub { padding-left: 4px !important; }

/* ============================================================
   Interior-page redesign (hubs, details, locations, flexpages)
   ============================================================ */

/* Page hero with photo background */
.phero.has-img { background-size: cover; background-position: center; }
.phero.has-img::before { display: none; }   /* texture lines fight the photo */

/* Trust chips inside the interior hero */
.phero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.phero-badges .b {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 100px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.92);
  font-family: var(--display); font-weight: 600; font-size: 13px;
}

/* Urgency callout band (sits directly under the hero) */
.urgency { background: #fff; border-bottom: 1px solid var(--line); }
.urgency .wrap {
  display: flex; align-items: center; gap: 22px;
  padding-block: 26px; border-left: 4px solid var(--red); padding-left: clamp(18px, 3vw, 28px);
}
.urgency .uic {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(228,0,43,.1); color: var(--red); display: grid; place-items: center;
}
.urgency .uic svg { width: 26px; height: 26px; }
.urgency b { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--navy); display: block; }
.urgency p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 4px; max-width: 72ch; }
.urgency > .wrap > div { flex: 1; min-width: 0; }
.urgency .btn { flex-shrink: 0; }
@media (max-width: 720px){
  .urgency .wrap { flex-wrap: wrap; }
  .urgency .btn { width: 100%; justify-content: center; }
}

/* Compact credentials strip */
.credbar { background: var(--paper-2); border-block: 1px solid var(--line); }
.credbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding-block: 20px; }
.cred {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--navy);
}
.cred svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; }

/* Navy variant of the CTA band (mid-page, contrasts with global red band) */
.ctaband.navy { background: var(--navy); }
.ctaband.navy::before { background: radial-gradient(circle, rgba(228,0,43,.18), transparent 70%); }

/* Long-form prose refinements */
.prose { font-size: 16.5px; }
.prose-narrow { max-width: 76ch; margin-inline: auto; }

/* Detail page: body + sticky sidebar */
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(32px,4vw,56px); align-items: start; }
.detail-aside { position: sticky; top: 90px; display: grid; gap: 16px; }
@media (max-width: 960px){
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.scard h3 { font-size: 16px; color: var(--navy); margin-bottom: 14px; }
.scard ul { display: grid; gap: 4px; }
.scard ul li a {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px;
  border-radius: 8px; font-family: var(--display); font-weight: 600; font-size: 14.5px;
  color: var(--ink-2); transition: all .15s;
}
.scard ul li a:hover { background: var(--paper-2); color: var(--red); }
.scard .all {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--red);
}
.scard .all svg { width: 16px; height: 16px; transition: transform .18s; }
.scard .all:hover svg { transform: translateX(3px); }
.scard-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.scard-cta b { font-family: var(--display); font-weight: 800; font-size: 18px; display: block; }
.scard-cta p { color: rgba(255,255,255,.78); font-size: 14px; margin: 8px 0 16px; line-height: 1.6; }
.scard-cta .btn { width: 100%; justify-content: center; }

/* 3-up "why us" mini cards on detail pages */
.mini-why { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mw { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; }
.mw .ic {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(228,0,43,.1); color: var(--red); display: grid; place-items: center;
}
.mw .ic svg { width: 24px; height: 24px; }
.mw h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.mw p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 820px){ .mini-why { grid-template-columns: 1fr; } }

/* Quote form fast-reply promise line */
.qpromise {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--navy);
}
.qpromise svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }

/* Location page: map embed + visible NAP line */
.map-embed { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; min-height: 380px; border: 0; }
.nap { text-align: center; margin-top: 18px; color: var(--muted); font-size: 15px; }
.nap b { color: var(--navy); font-family: var(--display); }
.nap a { color: var(--red); font-weight: 700; }

/* Centered chip rows (other-cities section on location pages) */
.area-chips.center { justify-content: center; margin-top: 36px; }

/* Flexpage: image + text split and generic embeds */
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.split-img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); }
@media (max-width: 820px){ .split-even { grid-template-columns: 1fr; } }
.embed-block { margin-top: 36px; }
.embed-block iframe { display: block; width: 100%; min-height: 380px; border: 0; border-radius: var(--r-lg); }
