/* ============================================================
   Roliz Insurance — site styles
   Built on the Apple Design System tokens (../styles.css).
   Single blue accent, near-invisible UI, generous whitespace.
   ============================================================ */

:root {
  --nav-h: 58px;
  --maxw: 1080px;
  --maxw-wide: 1320px;
}

html { scroll-behavior: smooth; }
body { color: var(--color-ink); background: var(--color-canvas); }
img { display: block; max-width: 100%; }

/* Nav hover blur effect */
body.nav-blur section,
body.nav-blur footer {
  filter: blur(20px);
}

/* Promo bar hover blur effect */
body.promo-blur section,
body.promo-blur footer {
  filter: blur(20px);
}

section,
footer {
  transition: filter 0.25s ease;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

/* ---------------- Promo bar ---------------- */
.promo-bar {
  background: #c41e6a;
  color: #000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0px 24px;
  position: sticky; top: 0; z-index: 99;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  height: 80px;
}

.promo-bar-content {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
}

.promo-bar-video {
  height: 54px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  background: url('youtube-thumbnail-white-dice-black.png') center / cover no-repeat;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.promo-bar-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 200ms ease;
}

.promo-bar-video:hover .promo-bar-video-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.promo-bar-headshot {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  align-self: flex-end;
  margin-bottom: 0px;
}

.promo-bar-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.promo-bar-text {
  line-height: 1.3;
  color: white;
}

.promo-bar-button {
  background: orange;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.promo-bar-button:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-bar-button:active {
  transform: scale(0.98);
}

.promo-bar-play {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease;
}

.promo-bar:hover .promo-bar-play {
  transform: scale(1.1);
}

.promo-bar-play-icon {
  width: 0;
  height: 0;
  border-left: 8px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.promo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: translateX(-250%) skewX(-20deg);
  animation: promo-shine 5s linear infinite;
  pointer-events: none;
}

@keyframes promo-shine {
  0%   { transform: translateX(-250%) skewX(-20deg); }
  10%  { transform: translateX(400%)  skewX(-20deg); }
  100% { transform: translateX(400%)  skewX(-20deg); }
}

@media (min-width: 768px) {
  .promo-bar-text br:last-of-type { display: none; }
  .cre-para-top { margin-top: 24px !important; }
}

@media (max-width: 480px) {
  .promo-bar {
    font-size: 16px;
    padding: 8px 4px;
  }
  .promo-bar-content {
    gap: 16px;
  }
  .promo-bar-button {
    display: none;
  }
  .call-label {
    display: none;
  }
  .mobile-left-align {
    text-align: left !important;
    font-size: 18px !important;
  }
  .cust-select-list li {
    font-size: 17.6px;
  }
  .btn-desktop {
    display: none;
  }
  .btn-mobile {
    display: inline !important;
  }
  .promo-cta-buttons {
    width: 307.2px !important;
    margin: 0 auto !important;
    justify-content: space-between !important;
    gap: 9.6px !important;
    margin-top: -6px !important;
    margin-bottom: -6px !important;
  }
  .social-tiles > div {
    width: 116.48px !important;
    height: 124.16px !important;
    gap: 4.16px !important;
  }
  .social-tiles > div i {
    font-size: 2.208rem !important;
  }
  .social-stat .stat-number {
    font-size: 0.96rem !important;
  }
  .social-stat .stat-label {
    font-size: 0.48rem !important;
  }
}
.promo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: translateX(-250%) skewX(-20deg);
  animation: promo-shine 5s linear infinite;
  pointer-events: none;
}
@keyframes promo-shine {
  0%   { transform: translateX(-250%) skewX(-20deg); }
  10%  { transform: translateX(400%)  skewX(-20deg); }
  100% { transform: translateX(400%)  skewX(-20deg); }
}

/* ---------------- Global nav (Apple slim black bar) ---------------- */
#nav-placeholder { display: block; min-height: var(--nav-h); }
.gnav {
  position: sticky; top: 80px; z-index: 100;
  height: var(--nav-h);
  background: var(--color-frost-parchment);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: flex; align-items: center;
  color: var(--color-ink);
}
.gnav .wrap-wide { display: flex; align-items: center; width: 100%; gap: 8px; }
.gnav .brand {
  display: flex; align-items: center; gap: 9px;
  color: #0a84ff; text-decoration: none; font-family: var(--font-display);
  font-weight: 600; font-size: 20px; letter-spacing: -0.02em;
  transition: color .15s, transform .15s;
}
.gnav .brand:hover { color: #1a9650; transform: scale(1.15); }
.gnav nav { display: flex; gap: 4px; margin-left: 28px; }
.gnav nav a {
  color: var(--color-ink-muted-80); text-decoration: none;
  font-family: var(--font-text); font-size: 16px; letter-spacing: -0.01em;
  padding: 7px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.gnav nav a:hover { color: #fff; background: #0066cc; }
.gnav nav a.active { color: var(--color-primary); }
.gnav .spacer { flex: 1; }
.gnav .navcta { margin-left: 16px;
  background: var(--color-primary); color: #fff; text-decoration: none;
  font-family: var(--font-text); font-size: 16px; font-weight: 600;
  padding: 8px 19px; border-radius: var(--radius-pill);
  box-shadow: 0 0 0 2px var(--color-canvas-parchment), 0 0 0 4px var(--color-primary);
  transition: background .15s, box-shadow .15s, transform .2s ease;
}
.gnav .navcta:hover {
  background: #1a9650;
  box-shadow: 0 0 0 2px var(--color-canvas-parchment), 0 0 0 4px #1a9650;
}
.gnav .phone {
  color: var(--color-ink); text-decoration: none; font-size: 16px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 6px; opacity: .9;
  padding: 7px 14px; border-radius: 8px; transition: background .15s, opacity .15s;
}
.gnav .phone:hover { background: #0066cc; opacity: 1; color: #fff; }
.gnav .burger { display: none; background: none; border: 0; color: var(--color-ink); cursor: pointer; padding: 6px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-text); font-size: 17px; letter-spacing: -0.01em;
  border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  padding: 11px 22px; min-height: 44px; border-radius: var(--radius-pill);
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #0a84ff 0%, #0066cc 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0066cc 0%, #0a84ff 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .22s ease;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
}
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-ghost:hover { background: #1a9650; color: #fff; border-color: #1a9650; transform: translateY(-3px); }
.btn-lg { font-size: 18px; padding: 14px 30px; }
.btn-on-dark.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-on-dark.btn-ghost:hover { background: #1a9650; border-color: #1a9650; color: #fff; transform: translateY(-3px); }

.link { color: var(--color-primary); text-decoration: none; font-size: 17px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 3px; }
.link:hover { text-decoration: underline; }
.link-on-dark { color: var(--color-primary-on-dark); }

/* ---------------- Section rhythm ---------------- */
section { padding: 80px 0; }
/* Alternating background for body sections */
section:nth-of-type(odd) { background: var(--color-canvas-parchment); }
section:nth-of-type(even) { background: var(--color-canvas-parchment); }
/* Explicit section classes override nth-of-type (via !important) */
.sec-parchment { background: var(--color-canvas-parchment) !important; }
.sec-dark { background: var(--color-surface-tile-1) !important; color: #fff; }
.sec-dark-2 { background: var(--color-surface-tile-2) !important; color: #fff; }
.sec-black { background: #000 !important; color: #fff; }
.sec-tight { padding: 56px 0; }

.eyebrow {
  font-weight: 600;
  letter-spacing: -0.01em; color: var(--color-primary-on-dark); margin: 0 0 10px;
}
.sec-dark .eyebrow, .sec-black .eyebrow { color: var(--color-primary-on-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.h1 { font-size: 34px; font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
.h3 { font-size: 24px; font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; }
.lead { font-family: var(--font-text); font-size: clamp(19px, 2.4vw, 26px); font-weight: 400; line-height: 1.3; letter-spacing: 0; color: var(--color-ink); }
.sec-dark .lead, .sec-black .lead { color: var(--color-body-muted); }
.muted { color: var(--color-ink-muted-48); }
.p { font-family: var(--font-text); font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; color: var(--color-ink); }
.sec-dark .p, .sec-black .p { color: var(--color-body-muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------------- HERO with arched carousel ---------------- */
/* TEMP GUIDELINE — remove when done */
.hero { padding: 44px 0 0; overflow: hidden; text-align: center; }
.hero .h1 { max-width: 960px; margin: 0 auto; text-align: center; }
.hero .hero-sub { max-width: 640px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Stats grid box */
.stats-band { padding: 0 24px 48px; margin-top: -208px; position: relative; z-index: 2; }
.stats-box {
  background: var(--color-surface-tile-1);
  border-radius: 16px;
  padding: 29.16px 32px;
  color: #fff;
  max-width: 60.75%;
  margin: 0 auto;
  transform: translateY(calc(-20% + 8px));
}
.stats-box .stats { gap: 45px; }
.stats-box .stat .num { font-size: 39.6px; }
.stats-box .stat .lbl { font-size: 12.1px; color: var(--color-body-muted); }
.stats-box .hero-cta { margin-top: 26px; flex-wrap: nowrap; }
.stats-box .hero-cta .btn { flex: 1; justify-content: center; }

.hero-h1-nowrap { font-weight: 700; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-primary-on-dark);
  margin: 0 auto;
  max-width: 960px;
  text-wrap: balance;
  padding-top: 10px;
}
.tagline-line { display: block; white-space: nowrap; }

/* Radial carousel: cards ride two concentric arcs, rotating opposite directions */
.arch {
  position: relative;
  height: 720px;
  margin-top: 34px;
  margin-bottom: 0;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.ring {
  position: absolute; left: 50%; top: 0;
  width: 0; height: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.ring-1 { animation: rock1 34s ease-in-out infinite alternate; }
.ring-2 { animation: rock2 34s ease-in-out infinite alternate; }
.arch:hover .ring { animation-play-state: paused; }
@keyframes rock1 { from { transform: rotate(calc(-1 * var(--a, 5deg))); } to { transform: rotate(var(--a, 5deg)); } }
@keyframes rock2 { from { transform: rotate(var(--a, 5deg)); } to { transform: rotate(calc(-1 * var(--a, 5deg))); } }
@media (prefers-reduced-motion: reduce) {
  .ring { animation: none !important; }
}
.arm { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

.pcard {
  border-radius: 16px; overflow: hidden;
  background: transparent;
  position: absolute; left: 0; top: 0;
  box-shadow:
    0 0 7px 3px rgba(250,204,21,0.6),
    0 0 18px 5px rgba(250,204,21,0.3),
    0 0 34px 12px rgba(250,204,21,0.12);
}
.pcard .cap {
  position: absolute; left: 10px; bottom: 8px;
  font-family: var(--font-text); font-size: 11px; font-weight: 700; letter-spacing: -0.01em;
  color: #facc15;
  text-shadow: -2px -2px 0 #000, 0 -2px 0 #000, 2px -2px 0 #000,
               -2px 0 0 #000, 2px 0 0 #000,
               -2px 2px 0 #000, 0 2px 0 #000, 2px 2px 0 #000;
}
.ph { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }

/* ---------------- Cards / grids ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--color-canvas); border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg); padding: 7.68px 28px;
}
.sec-parchment .card { background: #fff; }
.sec-black .card { color: var(--color-ink); }
.coverage-grid-sec .card { background: #fff; }
.coverage-grid-sec .card h3 { color: #000; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(0,102,204,0.1);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary);
  margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }

/* Stats */
.stats { display: flex; gap: 56px; flex-wrap: wrap; justify-content: center; }
.stat .num { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.stat .lbl { font-family: var(--font-text); font-size: 15px; color: var(--color-ink-muted-48); margin-top: 2px; }
.sec-dark .stat .lbl, .sec-black .stat .lbl { color: var(--color-body-muted); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.split > * { min-width: 0; }
.cssi-link, .cssi-link > div { min-width: 0; }
@media (max-width: 767px) {
  .cssi-stats { flex-wrap: wrap; row-gap: 16px; }
}
.headshot-slot-desktop.media { aspect-ratio: 1/1; width: 75%; margin: 0 auto; }
.headshot-slot-mobile { display: none; }
.family-lake-media-mobile { display: none; }
.cre-text-desktop, .ncs-logo-desktop { display: block; }
.cre-text-mobile, .ncs-logo-mobile { display: none; }
@media (max-width: 767px) {
  .cre-text-desktop, .ncs-logo-desktop { display: none; }
  .cre-text-mobile, .ncs-logo-mobile { display: block; }
  .headshot-slot-desktop { display: none; }
  .headshot-slot-mobile {
    display: block;
    width: 75%;
    aspect-ratio: 1/1;
    border-radius: 22px;
    overflow: hidden;
    margin: 32px auto 16px;
    box-shadow:
      0 0 12px 3px rgba(250,204,21,0.65),
      0 0 26px 7px rgba(250,204,21,0.35),
      0 0 50px 18px rgba(250,204,21,0.15);
  }
  .headshot-slot-mobile img { width: 100%; height: 100%; object-fit: cover; object-position: bottom center; }
  .family-lake-media { display: none; }
  .family-lake-media-mobile { display: block; margin: 32px 0 20px; }
  .why-para-end { margin-bottom: 24px !important; }
  .foot { padding-top: 24px !important; }
  .family-lake-media-mobile img { object-position: bottom center; }
}
.media {
  border-radius: 22px; overflow: hidden;
  box-shadow:
    0 0 12px 3px rgba(250,204,21,0.65),
    0 0 26px 7px rgba(250,204,21,0.35),
    0 0 50px 18px rgba(250,204,21,0.15);
  aspect-ratio: 4/3; background: #ccc;
}
.media.tall { aspect-ratio: 3/4; }

/* Footer */
.foot { background: var(--color-canvas-parchment); padding: 56px 0 14px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; border-bottom: 1px solid var(--color-hairline); padding-bottom: 56px; }
.foot h4 { font-family: var(--font-text); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { font-family: var(--font-text); font-size: 15px; line-height: 2; }
.foot a { color: var(--color-ink-muted-80); text-decoration: none; }
.foot a:hover { color: #1a9650; }
.foot a.foot-link { color: var(--color-primary); text-decoration: none; }
.foot a.foot-link:hover { color: #1a9650; }
.foot .legal { font-size: 15px; color: var(--color-ink-muted-48); padding-top: 40px; line-height: 1.7; }
.foot .brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--color-ink); margin-bottom: 12px; }
.foot .brand .mark { width: 24px; height: 24px; border-radius: 7px; background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.goodhands { font-family: var(--font-display); font-style: italic; color: var(--color-primary); font-weight: 600; }

/* Social icons */
.foot-social { display: flex; gap: 16px; margin-top: 16px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.foot-social a:hover { color: #1a9650; transform: scale(1.1); }
.foot-social svg { width: 28px; height: 28px; }

/* Right-side nav drawer (mobile) */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 199;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 260px;
  background: rgba(10,10,10,0.97); z-index: 200;
  display: flex; flex-direction: column; padding: 80px 28px 40px; gap: 0;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-family: var(--font-text); font-size: 18px; letter-spacing: -0.01em;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block; transition: color .15s;
}
.nav-drawer a:last-child { border-bottom: 0; }
.nav-drawer a:hover, .nav-drawer a.active { color: #fff; }
.nav-drawer .drawer-cta {
  margin-top: 28px; background: var(--color-primary); color: #fff !important;
  font-family: var(--font-text); font-size: 17px; font-weight: 600;
  padding: 13px 20px; border-radius: var(--radius-pill);
  text-align: center; border-bottom: 0 !important;
}
.nav-drawer .drawer-cta:hover { background: #1a9650; }

/* Contact bits */
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: rgba(0,102,204,0.1); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.field { display: block; margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-text); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-text); font-size: 16px; color: var(--color-ink);
  background: #fff; border: 1px solid var(--color-hairline); border-radius: 12px;
  padding: 12px 14px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0,102,204,0.12); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Pills / tags */
.tag { display: inline-flex; align-items: center; font-family: var(--font-text); font-size: 13px; letter-spacing: -0.01em; color: var(--color-ink-muted-80); background: #fff; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); padding: 7px 14px; }
.sec-dark .tag { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; }

.mob-br { display: none; }
@media (max-width: 767px) { .mob-br { display: block; } }

/* Responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .coverage-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  /* Footer */
  .foot { padding-bottom: 0; }

  /* Nav */
  :root { --nav-h: 52px; }
  .gnav nav { display: none; }
  .gnav .phone span.txt { display: none; }
  .gnav .navcta { display: none; }
  .gnav .burger { display: flex; align-items: center; justify-content: center; }
  .gnav .brand { font-size: 18px; }
  .call-label { display: none; }

  /* Hero */
  .hero { padding: 14px 0 0; }
  .h1 { font-size: 28px; }
  .hero .h1 { font-size: clamp(24px, 7.5vw, 26px); text-align: left; }
  .hero .h1 span { white-space: normal !important; }
  .hero-tagline { font-size: 24px; }
  .tagline-line { display: block; white-space: normal; }
  #carouselTagline { transform: translateY(-4px) !important; margin: 0px auto 0px !important; padding-bottom: 70px !important; }
  #heroStatsBox { transform: translateY(14px) !important; }

  /* Arch */
  .arch { height: 363px; margin-top: -48px; margin-bottom: 18px; }
  #index-arch { margin-top: -46px !important; }

  /* Stats band */
  .stats-band { margin-top: -80px; padding: 0 8px 32px; }
  .stats-band .h2 { font-size: 24px; margin-top: 30px !important; padding-bottom: 8px; }
  .stats-box { max-width: 100%; padding: 13px 16px; transform: translateY(calc(10% + 8px)); }
  .stats-box .stats { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  .stats-box .stat .num { font-size: 19.8px; }
  .stats-box .stat .lbl { font-size: 9.24px; }
  .stats-box .hero-cta { flex-direction: row; flex-wrap: nowrap; gap: 6px; margin-top: 12px; }
  .stats-box .hero-cta .btn { flex: 1; justify-content: center; font-size: 14.3px; padding: 7px 14px; }

  /* Grids / layout */
  section { padding: 56px 0; }
  .social-tiles { margin-bottom: 56px !important; }
  section:nth-of-type(2) { padding-top: 0 !important; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .insights-tiles { grid-template-columns: 1fr !important; }
  .grid-5 { display: flex !important; flex-direction: column !important; grid-template-columns: unset !important; gap: 16px !important; padding-left: 74px !important; }
  .grid-5 .card { background: transparent !important; border: none !important; padding: 0 !important; display: flex !important; align-items: center !important; }
  .grid-5 .card h3 { font-size: 16px; margin: 0; }
  .grid-5 .card::before { content: '■'; color: var(--color-ink); margin-right: 12px; flex-shrink: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .foot .cols > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .foot .cols { grid-template-columns: 1fr; }
  .foot-copyright { flex-direction: column !important; justify-content: flex-start !important; align-items: flex-start !important; gap: 12px; }
  .foot-copyright > div { display: flex; flex-direction: column; gap: 4px; order: unset !important; text-align: left !important; }
  .foot-copyright > div.foot-legal-col { display: block; white-space: nowrap; }
  .stats { gap: 32px; }

  /* Shadows — 15% narrower on mobile */
  .media {
    box-shadow:
      0 0 10px 3px rgba(250,204,21,0.65),
      0 0 22px 6px rgba(250,204,21,0.35),
      0 0 43px 15px rgba(250,204,21,0.15);
  }
  .pcard {
    box-shadow:
      0 0 6px 3px rgba(250,204,21,0.6),
      0 0 15px 4px rgba(250,204,21,0.3),
      0 0 29px 10px rgba(250,204,21,0.12);
  }
}

/* Desktop-only: hero scaled 0.75x of original */
@media (min-width: 1024px) {
  .hero { padding: 33px 0 0; }
  .hero .h1 { font-size: clamp(28.5px, 4.5vw, 48px); }
  .hero-tagline { font-size: clamp(28.5px, 4.5vw, 48px); }

  .arch { height: 615.5px; margin-top: 25px !important; }

  .stats-band { margin-top: -181.5px; padding: 0 24px 36px; }
  .stats-box {
    max-width: 45.56%;
    padding: 21.87px 24px;
    transform: translateY(calc(-20% + 6px));
  }
  .stats-box .stats { gap: 33.75px; }
  .stats-box .stat .num { font-size: 29.7px; }
  .stats-box .stat .lbl { font-size: 9.08px; }
  .stats-box .hero-cta { margin-top: 19.5px; }
  .stats-box .hero-cta .btn {
    font-size: 12.75px;
    padding: 8.25px 16.5px;
    min-height: 33px;
  }
}

/* ---------------- Coverage page ---------------- */
.anchor-offset { scroll-margin-top: calc(var(--nav-h) + 20px); }
.coverage-bullets {
  list-style: none; margin: 20px 0 28px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.coverage-bullets li {
  font-family: var(--font-text); font-size: 17px; line-height: 1.45;
  color: var(--color-ink); padding-left: 22px; position: relative;
}
.coverage-bullets li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--color-primary); font-weight: 700;
}
.nyc-note {
  background: rgba(0,102,204,0.08); border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0; padding: 14px 18px; margin-top: 24px;
  font-family: var(--font-text); font-size: 15px; line-height: 1.55; color: var(--color-ink);
}
.sec-black .nyc-note { background: rgba(0,102,204,0.18); color: rgba(255,255,255,0.8); }
.faq-item { border-bottom: 1px solid var(--color-hairline); padding: 28px 0; }
.faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-q {
  font-family: var(--font-display); font-size: clamp(17px, 2vw, 20px);
  font-weight: 600; letter-spacing: -0.01em; color: var(--color-ink); margin: 0 0 10px;
}
.faq-a {
  font-family: var(--font-text); font-size: 17px;
  line-height: 1.6; color: var(--color-ink-muted-80); margin: 0;
}
.local-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.deep-icon {
  width: 100%; max-width: 340px; aspect-ratio: 1;
  background: rgba(0,102,204,0.06); border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.sec-parchment .deep-icon { background: rgba(0,102,204,0.09); }
.deep-icon svg { width: 100px; height: 100px; }
.deep-col { display: flex; align-items: center; justify-content: center; }

/* ---------------- Quote modal ---------------- */
.qmodal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 300;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.qmodal-overlay.open { display: flex; }
.qmodal {
  background: #2997ff;
  border: 12px solid #000;
  border-radius: 22px;
  padding: 80px 72px 72px;
  width: 90%;
  max-width: 560px;
  position: relative;
  box-shadow: 0 0 0 4px rgba(41,151,255,0.3), 0 28px 64px rgba(0,0,0,0.35);
}
.qmodal:focus { outline: none; }
@media (max-width: 767px) {
  .qmodal { padding: 40px 36px 36px; max-width: 420px; border-width: 6px; }
}
.qmodal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: #003366;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity .15s;
}
.qmodal-close:hover { opacity: .6; }
.qmodal-title {
  font-family: var(--font-display);
  font-size: 31px; font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  margin: 0 0 22px;
}
.qfield { margin-bottom: 12px; }
.qmodal-form select,
.qmodal-form input {
  width: 100%;
  background: #000;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-text);
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  color: rgba(255,255,255,0.55);
}
.qmodal-form input { color: #fff; }
.qmodal-form input::placeholder { color: rgba(255,255,255,0.55); }
.qmodal-form select.has-value { color: #fff; }
.cust-select {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-text);
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}
.cust-select.has-value { color: #fff; }
.cust-select-arrow { flex-shrink: 0; transition: transform .2s; }
.cust-select.open .cust-select-arrow { transform: rotate(180deg); }
.cust-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  z-index: 400;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.cust-select.open .cust-select-list { display: block; }
.cust-select-list li {
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-text);
  font-size: 16px;
  cursor: pointer;
}
.cust-select-list li:hover { background: #333; }
.qmodal-submit {
  width: 100%;
  margin-top: 8px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px;
  font-family: var(--font-text);
  font-size: 17px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--color-primary), 0 0 0 4px #fff;
  transition: background .18s, color .18s, box-shadow .18s, transform .2s ease;
}
.qmodal-submit:hover {
  background: #1a9650;
  color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a9650;
  transform: translateY(-2px);
}

/* ============================================================
   Animated Stats Tiles
   ============================================================ */
.animated-stats-tiles {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 36px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-tile {
  width: 160px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 16px;
  position: relative;
  transition: all 0.3s ease;
}

.stat-tile i {
  color: white;
  font-size: 2.8rem;
  margin-top: 8px;
  opacity: 0.9;
}

.stat-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Tile Flash Effect */
.stat-tile.active {
  animation: tileFlash 0.5s ease-out forwards;
}

@keyframes tileFlash {
  0% {
    box-shadow: 0 0 80px var(--flash-color), inset 0 0 80px var(--flash-color);
    border-color: var(--flash-color);
    border-width: 2px;
  }
  100% {
    box-shadow: 0 0 0px var(--flash-color), inset 0 0 0px var(--flash-color);
    border-color: rgba(255, 255, 255, 0.15);
    border-width: 1px;
  }
}

/* Icon Animations */
.stat-tile i.icon-bounce {
  animation: bounce 1s ease-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stat-tile i.icon-pulse {
  animation: pulse 1s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.stat-tile i.icon-spin {
  animation: spin 1s ease-out;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stat-tile i.icon-wiggle {
  animation: wiggle 1s ease-out;
}

@keyframes wiggle {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.stat-tile i.icon-vibrate {
  animation: vibrate 1s ease-out;
}

@keyframes vibrate {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-2px); }
  20% { transform: translateX(2px); }
  30% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  50% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
  70% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  90% { transform: translateX(-2px); }
}

.stat-tile i.icon-rock {
  animation: rock 1s ease-in-out;
}

@keyframes rock {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

/* Social Tiles Animation Component */
.social-tiles {
  display: none !important;
  flex-direction: row !important;
  gap: 24px !important;
  justify-content: center;
  width: fit-content !important;
  margin: 56px auto 0px;
}

@media (min-width: 768px) {
  .social-tiles {
    margin-bottom: 56px;
  }
}

/* Hide bottom spacing when social tiles are hidden */
.social-tiles ~ div {
  margin-top: 0 !important;
}

.social-tiles > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #1a1a1a;
  padding-bottom: 0 !important;
}

.social-tiles i {
  color: white;
  font-size: 2.76rem;
}

.social-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.social-stat .stat-number {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.social-stat .stat-label {
  opacity: 1;
  color: white;
  font-weight: 600;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
}

/* Social tile activation animations */
.social-tiles > div.active {
  animation: tileFlash 0.5s ease-out forwards;
}

@keyframes tileFlash {
  0% {
    box-shadow: 0 0 80px var(--flash-color), inset 0 0 80px var(--flash-color);
    border-color: var(--flash-color);
    border-width: 2px;
  }
  100% {
    box-shadow: 0 0 0px var(--flash-color), inset 0 0 0px var(--flash-color);
    border-color: rgba(255, 255, 255, 0.2);
    border-width: 1px;
  }
}

.social-tiles i.icon-bounce {
  animation: bounce 1s ease-out;
}

.social-tiles i.icon-pulse {
  animation: pulse 1s ease-out;
}

.social-tiles i.icon-spin {
  animation: spin 1s ease-out;
}

.social-tiles i.icon-wiggle {
  animation: wiggle 1s ease-out;
}

@keyframes wiggle {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.social-tiles i.icon-vibrate {
  animation: vibrate 1s ease-out;
}

.social-tiles i.icon-rock {
  animation: rock 1s ease-in-out;
}
