/* ==========================================================================
   TMJ Insurance Agency — 2026 redesign
   ========================================================================== */

:root {
  --red: #C8102E;
  --red-600: #A90D26;
  --red-50: #FCEDEF;
  --ink: #0E1726;
  --ink-2: #16213A;
  --ink-3: #243150;
  --text: #1D2433;
  --muted: #5E6778;
  --cream: #F6F2EC;
  --paper: #FFFFFF;
  --line: rgba(14, 23, 38, .10);
  --line-light: rgba(255, 255, 255, .12);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(14, 23, 38, .06);
  --shadow: 0 20px 50px -20px rgba(14, 23, 38, .25);
  --shadow-lg: 0 40px 80px -30px rgba(14, 23, 38, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 14px; height: 14px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::before { opacity: 1; }
.btn .ic { transition: transform .4s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--red { --bg: var(--red); box-shadow: 0 10px 30px -10px rgba(200, 16, 46, .6); }
.btn--red:hover { --bg: var(--red-600); box-shadow: 0 16px 36px -12px rgba(200, 16, 46, .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); background: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--cream); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.15); }
.eyebrow--light { color: #FF8B9C; }
.eyebrow--light .dot { background: #FF5A73; box-shadow: 0 0 0 4px rgba(255,90,115,.2); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar .ic { width: 15px; height: 15px; color: #FF7A8E; }
.topbar__lic, .topbar__links a, .topbar__addr { display: inline-flex; align-items: center; gap: 8px; }
.topbar__lic { font-weight: 700; letter-spacing: .06em; color: #fff; }
.topbar__links { display: flex; gap: 28px; }
.topbar__links a:hover { color: #fff; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 10px; }
.logo__mark {
  font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1;
  color: var(--red); letter-spacing: -.02em;
}
.logo__text {
  font-family: var(--f-body); font-weight: 600; font-size: 12px; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink); max-width: 110px;
}
.logo--light .logo__text { color: rgba(255,255,255,.85); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 236, .72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(255,255,255,.82); box-shadow: 0 10px 30px -20px rgba(14,23,38,.25); }
.header__in { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .35s var(--ease); }
.header.is-scrolled .header__in { height: 70px; }

/* Transparent header over the full-screen hero (until scrolled) */
.header--overlay:not(.is-scrolled):not(.menu-open) { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header--overlay:not(.is-scrolled):not(.menu-open) .logo__text,
.header--overlay:not(.is-scrolled):not(.menu-open) .nav__link,
.header--overlay:not(.is-scrolled):not(.menu-open) .header__phone { color: #fff; }
.header--overlay:not(.is-scrolled):not(.menu-open) .logo__mark { color: #fff; }
.header--overlay:not(.is-scrolled):not(.menu-open) .nav__link:hover,
.header--overlay:not(.is-scrolled):not(.menu-open) .has-drop:hover > .nav__link { background: rgba(255,255,255,.14); }
.header--overlay:not(.is-scrolled):not(.menu-open) .header__phone small { color: rgba(255,255,255,.6); }
.header--overlay:not(.is-scrolled):not(.menu-open) .header__phone-ic { background: rgba(255,255,255,.14); color: #fff; }
.header--overlay:not(.is-scrolled):not(.menu-open) .nav__link.is-active::after { background: #FF6B81; }
.logo__mark, .logo__text, .nav__link, .header__phone { transition: color .3s, background .25s; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background .25s, color .25s;
}
.nav__link:hover, .has-drop:hover > .nav__link { background: rgba(14,23,38,.06); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--red);
}
.has-drop .ic--sm { transition: transform .3s var(--ease); }
.has-drop:hover .ic--sm, .has-drop.is-open .ic--sm { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 290px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.drop a { display: block; padding: 12px 14px; border-radius: 12px; transition: background .2s; }
.drop a:hover { background: var(--cream); }
.drop strong { display: block; font-size: 14.5px; color: var(--ink); }
.drop span { display: block; font-size: 13px; color: var(--muted); }
.drop--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 560px; }
.drop--grid a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.drop--grid .ic { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--red-50); color: var(--red); }
.drop--grid a:first-child { grid-column: span 2; background: linear-gradient(120deg, var(--red-50), transparent); }
.nav__mobile-cta { display: none; }

.header__cta { display: flex; align-items: center; gap: 16px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.2; }
.header__phone small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.header__phone-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red-50); color: var(--red); transition: transform .4s var(--ease); }
.header__phone:hover .header__phone-ic { transform: rotate(-12deg) scale(1.08); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero: full-screen slider ---------- */
.hero {
  --slide: 6000ms;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  margin-top: -84px; padding-top: 84px;
  min-height: calc(100svh - 40px); min-height: max(680px, calc(100svh - 40px));
  background: var(--ink); color: rgba(255,255,255,.82);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.3s var(--ease), opacity 0s 1.3s, visibility 0s 1.3s;
}
.hero__slide.is-on { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); z-index: 1; transition: clip-path 1.3s var(--ease); }
.hero__slide.is-prev { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); z-index: 0; transition: none; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.hero__slide.is-on img { animation: kenburns calc(var(--slide) + 2s) linear forwards; }
.hero__slide.is-prev img { transform: scale(1); }
@keyframes kenburns { from { transform: scale(1.18) translateX(-1.5%); } to { transform: scale(1) translateX(0); } }

.hero__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,23,38,.92) 0%, rgba(14,23,38,.72) 38%, rgba(14,23,38,.25) 70%, rgba(14,23,38,.1) 100%),
    linear-gradient(0deg, rgba(14,23,38,.85) 0%, transparent 32%),
    radial-gradient(900px 500px at 0% 100%, rgba(200,16,46,.35), transparent 70%);
}

.hero__in {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px;
  align-items: center; padding-top: clamp(24px, 4vh, 64px); padding-bottom: clamp(24px, 4vh, 48px);
}
.hero__title {
  font-family: var(--f-display); font-weight: 500; color: #fff;
  font-size: clamp(40px, min(6vw, 8.6vh), 88px); line-height: 1.02; letter-spacing: -.035em;
  margin-bottom: 26px;
}
.rotator { position: relative; display: block; height: 1.18em; margin-top: .04em; overflow: hidden; color: #FF6B81; font-style: italic; font-weight: 400; }
.rotator__word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  transform: translateY(105%); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s;
}
.rotator__word.is-on { transform: translateY(0); opacity: 1; }
.rotator__word.is-out { transform: translateY(-105%); opacity: 0; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); max-width: 640px; margin-bottom: clamp(22px, 3.4vh, 34px); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(20px, 3.4vh, 34px); }
.btn--glass { --bg: rgba(255,255,255,.1); --fg: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: #fff; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }

.hero__side { display: grid; gap: 14px; align-self: end; }
.glass-card {
  position: relative; display: block; padding: 22px 24px; border-radius: 22px;
  background: rgba(14,23,38,.42); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: rgba(255,255,255,.78); line-height: 1.4;
  transition: background .35s, transform .5s var(--ease), border-color .35s;
}
.glass-card:hover { background: rgba(14,23,38,.6); border-color: rgba(255,255,255,.4); transform: translateY(-4px); }
.glass-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF8B9C; margin-bottom: 8px; }
.glass-card strong { display: block; color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; padding-right: 44px; }
.glass-card span { font-size: 14.5px; }
.hero__now strong, .hero__now #heroNowText { transition: opacity .4s, transform .5s var(--ease); }
.hero__now.is-swap strong, .hero__now.is-swap #heroNowText { opacity: 0; transform: translateY(8px); }
.glass-card__go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease), background .3s, color .3s; }
.glass-card:hover .glass-card__go { transform: rotate(45deg); background: var(--red); color: #fff; }
.hero__call { display: flex; align-items: center; gap: 14px; }
.hero__call small { color: rgba(255,255,255,.65); margin-bottom: 2px; letter-spacing: .06em; }
.hero__call strong { font-family: var(--f-body); font-weight: 800; font-size: 20px; margin: 0; padding: 0; }
.pulse { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ring 2.4s var(--ease) infinite; }
.pulse::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8 } to { transform: scale(1.9); opacity: 0 } }
@keyframes float { 0%,100% { transform: translate(0,0) } 50% { transform: translate(30px, 40px) } }

.hero__nav {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px;
  padding-top: 22px; padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__count { font-family: var(--f-display); color: rgba(255,255,255,.5); font-size: 18px; white-space: nowrap; }
.hero__count strong { color: #fff; font-size: 34px; font-weight: 500; margin-right: 6px; font-variant-numeric: tabular-nums; }
.hero__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hero__tabs button {
  display: flex; flex-direction: column; gap: 12px; padding: 4px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.55); transition: color .3s;
}
.hero__tabs button:hover, .hero__tabs button.is-on { color: #fff; }
.hero__tab-bar { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero__tab-bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__tabs button.is-done .hero__tab-bar::after { transform: scaleX(1); background: rgba(255,255,255,.55); }
.hero__tabs button.is-on .hero__tab-bar::after { background: var(--red); animation: prog var(--slide) linear forwards; }
@keyframes prog { to { transform: scaleX(1) } }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.hero__arrow:hover { background: #fff; color: var(--ink); border-color: #fff; transform: scale(1.06); }
#heroPrev .ic { transform: rotate(180deg); }
.hero__scroll { position: absolute; right: 26px; top: 50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- Stats ---------- */
.stats { padding: clamp(40px, 5vw, 64px) 0 20px; }
.stats__in {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(38px, 4vw, 54px); color: var(--ink); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat strong span { font-variant-numeric: tabular-nums; }
.stat > span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- Carriers marquee ---------- */
.carriers { padding: 60px 0 30px; text-align: center; }
.carriers__title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 18px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  width: 180px; height: 64px; object-fit: contain; padding: 8px 14px;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05); opacity: .7;
  transition: filter .3s, opacity .3s, transform .3s var(--ease);
}
.marquee__track img:hover { filter: none; opacity: 1; transform: translateY(-3px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.carriers__more { margin-top: 24px; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.section__head--center { display: block; text-align: center; max-width: 720px; margin-inline: auto; }
.section__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -.03em; line-height: 1.04;
}
.section__title em { font-style: italic; font-weight: 400; color: var(--red); }
.section__lead { font-size: 17px; color: var(--muted); margin: 0; }

/* ---------- Services bento ---------- */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas:
    "f b p"
    "f i g";
}
.bento > :nth-child(1) { grid-area: f; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: p; }
.bento > :nth-child(4) { grid-area: i; }
.bento > :nth-child(5) { grid-area: g; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  isolation: isolate;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(200,16,46,.10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }
.card__media { height: 170px; overflow: hidden; }
.card__media img, .card--feature > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img, .card--feature:hover > img { transform: scale(1.07); }
.card__body { position: relative; padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__ic { position: absolute; top: -26px; left: 26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(200,16,46,.6); }
.card__ic .ic { width: 24px; height: 24px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 25px; letter-spacing: -.02em; margin: 18px 0 10px; padding-right: 40px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card__go {
  position: absolute; top: 22px; right: 22px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: #fff;
  transition: background .35s, color .35s, transform .5s var(--ease), border-color .35s;
}
.card--img .card__go { top: 20px; }
.card:hover .card__go { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { padding: 5px 11px; font-size: 12.5px; font-weight: 600; border-radius: 999px; background: var(--cream); color: var(--ink-3); }

.card--feature { min-height: 560px; border: 0; background: var(--ink); color: #fff; }
.card--feature > img { position: absolute; inset: 0; z-index: -2; }
.card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,23,38,.05) 20%, rgba(14,23,38,.92) 78%); }
.card--feature .card__body { justify-content: flex-end; padding: 36px; }
.card--feature h3 { color: #fff; font-size: clamp(30px, 3vw, 42px); margin: 14px 0 12px; max-width: 420px; }
.card--feature p { color: rgba(255,255,255,.78); font-size: 16px; max-width: 460px; margin: 0; }
.card--feature .card__go { top: 30px; right: 30px; width: 52px; height: 52px; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(8px); }
.badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge--red { background: var(--red); color: #fff; }

/* ---------- Workers comp dark ---------- */
.wc { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(80px, 10vw, 140px) 0; border-radius: 40px; margin: 0 clamp(8px, 1.5vw, 20px); }
.wc__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(200,16,46,.45), transparent 60%); filter: blur(20px); animation: float 18s ease-in-out infinite; }
.wc__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.wc .section__title { color: #fff; margin-bottom: 24px; }
.wc .section__title em { color: #FF8B9C; }
.wc__copy > p { font-size: 17px; max-width: 540px; }
.wc__alert {
  display: flex; gap: 18px; margin: 30px 0 36px; padding: 22px 24px;
  border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--line-light);
}
.wc__alert-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,77,103,.15); color: #FF6B81; }
.wc__alert strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.wc__alert .big { font-family: var(--f-display); font-size: 28px; color: #FF8B9C; margin-right: 4px; }
.wc__alert p { margin: 0; font-size: 14.5px; }
.wc__list { display: grid; gap: 12px; counter-reset: wc; }
.wc__list li {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--r);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-light);
  transition: background .35s, transform .5s var(--ease), border-color .35s;
}
.wc__list li:hover { background: rgba(255,255,255,.08); border-color: rgba(255,139,156,.4); transform: translateX(-8px); }
.wc__list .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--red); color: #fff; }
.wc__list strong { display: block; color: #fff; font-size: 17px; }
.wc__list span:not(.wc__num) { font-size: 14px; }
.wc__num { position: absolute; right: 24px; font-family: var(--f-display); font-size: 28px; color: rgba(255,255,255,.12); }

/* ---------- About ---------- */
.about__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__visual { position: relative; }
.about__img { border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__badge { position: absolute; right: -30px; bottom: -30px; width: 170px; height: 170px; display: grid; place-items: center; background: var(--red); border-radius: 50%; color: #fff; box-shadow: 0 20px 40px -12px rgba(200,16,46,.6); }
.about__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.about__ring text { font-size: 15px; font-weight: 700; letter-spacing: .22em; fill: #fff; font-family: var(--f-body); }
.about__badge-in { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; line-height: 1; }
.about__badge-in strong { display: block; font-family: var(--f-display); font-size: 38px; letter-spacing: -.02em; font-weight: 700; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg) } }
.about__copy .section__title { margin-bottom: 24px; }
.about__copy p { color: var(--muted); font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease);
}
.chips li:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Process ---------- */
.process { padding-top: 0; }
.process .section__head { margin-bottom: 56px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; top: 56px; left: 16%; right: 16%; border-top: 2px dashed rgba(200,16,46,.25); }
.step { position: relative; padding: 34px 30px 32px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: var(--red-50); color: var(--red); transition: background .35s, color .35s, transform .5s var(--ease); }
.step:hover .step__ic { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.05); }
.step__ic .ic { width: 28px; height: 28px; }
.step__n { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Quote ---------- */
.quote { position: relative; background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(80px, 10vw, 130px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 800px; height: 800px; left: -300px; top: -300px; background: radial-gradient(circle, rgba(200,16,46,.35), transparent 60%); pointer-events: none; }
.quote__in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.quote .section__title { color: #fff; margin-bottom: 22px; }
.quote .section__title a { color: #fff; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: color .3s; }
.quote .section__title a:hover { color: #FF8B9C; }
.quote .section__title em { color: #FF8B9C; }
.quote__copy > p { font-size: 17px; max-width: 480px; margin-bottom: 36px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-list li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); line-height: 1.45; font-size: 15px; color: #fff; }
.contact-list li > span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); color: #FF8B9C; }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); font-weight: 700; margin-bottom: 2px; }
.contact-list a:hover { color: #FF8B9C; }

.form { position: relative; padding: clamp(24px, 3vw, 38px); background: #fff; border-radius: var(--r-lg); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.form__tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 26px; border-radius: 999px; background: var(--cream); }
.form__tabs button { position: relative; z-index: 1; padding: 11px 10px; border: 0; background: none; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; }
.form__tabs button.is-on { color: #fff; }
.form__tabs-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.form__tabs.is-meeting .form__tabs-pill { transform: translateX(100%); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #FBFAF8; outline: none; resize: vertical;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 96px; }
.field > span { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(14,23,38,.06); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 12px; font-weight: 700; color: var(--ink); }
.field.is-invalid input { border-color: var(--red); background: var(--red-50); }
.types { border: 0; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.types legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line);
  font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--muted); cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease);
}
.types span:hover { border-color: var(--ink); color: var(--ink); }
.types input:checked + span { border-color: var(--red); background: var(--red-50); color: var(--red); transform: translateY(-2px); }
.types input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.form__note .ic { width: 15px; height: 15px; color: #1E9E62; }
.form__note a { text-decoration: underline; }
.form__success {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  background: #fff; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .5s, transform .6s var(--ease), visibility .5s;
}
.form.is-sent .form__success { opacity: 1; visibility: visible; transform: none; }
.form__success > span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #E6F6EE; color: #1E9E62; margin-bottom: 18px; }
.form__success .ic { width: 36px; height: 36px; stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; }
.form.is-sent .form__success .ic { animation: draw .6s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.form__success strong { font-family: var(--f-display); font-size: 30px; color: var(--ink); font-weight: 500; }
.form__success p { color: var(--muted); }

.map { position: relative; margin-top: clamp(50px, 6vw, 80px); height: 380px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-light); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.9) contrast(1.05); transition: filter .5s; }
.map:hover iframe { filter: none; }
.map__card { position: absolute; left: 24px; bottom: 24px; display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: #fff; color: var(--muted); box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.5; }
.map__card strong { color: var(--ink); font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 70px 0 30px; border-top: 1px solid var(--line-light); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { margin: 20px 0; max-width: 320px; font-size: 15px; }
.footer__lic { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 13px; font-weight: 700; color: #fff; }
.footer__lic .ic { width: 16px; height: 16px; color: #FF8B9C; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; font-family: var(--f-body); }
.footer__col a, .footer__col span { display: inline-flex; align-items: flex-start; gap: 10px; transition: color .25s, transform .3s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__col .ic { width: 17px; height: 17px; margin-top: 3px; color: #FF8B9C; }
.footer__big {
  margin: 50px 0 10px; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(48px, 12.4vw, 184px); line-height: .9; letter-spacing: -.02em; word-spacing: .12em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a:hover { color: #fff; }

.callbar { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav__link { padding: 10px 11px; }
}

@media (max-width: 1024px) {
  .topbar__addr { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  /* backdrop-filter would trap the fixed mobile menu inside the header */
  .header, .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246,242,236,.97); }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1;
    padding: 110px var(--gutter) 30px;
    background: var(--cream);
    display: flex; flex-direction: column; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s, transform .45s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-family: var(--f-display); font-size: 26px; font-weight: 500; border-radius: 0; }
  .nav__link:hover, .has-drop:hover > .nav__link { background: none; }
  .nav__link.is-active::after { display: none; }
  .has-drop:hover .ic--sm { transform: none; }
  .has-drop.is-open .ic--sm { transform: rotate(180deg); }
  .nav__link .ic--sm { width: 20px; height: 20px; }
  .drop, .drop--grid {
    position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 12px;
    opacity: 1; visibility: visible; display: none;
  }
  .has-drop:hover .drop { transform: none; }
  .has-drop.is-open .drop { display: grid; grid-template-columns: 1fr; }
  .drop--grid a:first-child { grid-column: auto; }
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 28px; }
  .header.menu-open { background: var(--cream); }

  .hero__in { grid-template-columns: 1fr; gap: 28px; align-content: center; }
  .hero__side { grid-template-columns: 1fr 1fr; align-self: auto; }
  .hero__nav { grid-template-columns: auto 1fr; gap: 24px; }
  .hero__arrows { display: none; }

  .stats__in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f f" "b p" "i g"; }
  .card--feature { min-height: 460px; }

  .wc__in, .about__in, .quote__in { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; }
  .about__badge { right: 10px; width: 140px; height: 140px; }
  .about__badge-in strong { font-size: 30px; }

  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 10%; bottom: 10%; left: 50%; right: auto; border-top: 0; border-left: 2px dashed rgba(200,16,46,.25); }

  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .topbar__links { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { height: 70px; }
  .logo__mark { font-size: 28px; }
  .logo__text { font-size: 10.5px; max-width: 96px; }
  .hero__actions .btn { width: 100%; }
  .hero { margin-top: -70px; padding-top: 70px; min-height: calc(100svh - 40px); }
  .hero__overlay { background: linear-gradient(0deg, rgba(14,23,38,.95) 0%, rgba(14,23,38,.7) 55%, rgba(14,23,38,.45) 100%); }
  .hero__in { padding-top: 36px; padding-bottom: 24px; }
  .hero__side { grid-template-columns: 1fr; }
  .hero__now { display: none; }
  .hero__trust { flex-direction: column; gap: 8px; }
  .hero__nav { grid-template-columns: 1fr; gap: 12px; padding-bottom: 22px; }
  .hero__count { display: none; }
  .hero__tabs { gap: 6px; }
  .hero__tabs button { font-size: 0; gap: 0; padding: 10px 0; }
  .stat { padding: 22px 18px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "f" "b" "p" "i" "g"; }
  .card--feature { min-height: 440px; }
  .card--feature .card__body { padding: 26px; }
  .wc { border-radius: 26px; }
  .wc__list li { padding: 18px; }
  .contact-list, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .types { grid-template-columns: 1fr 1fr; }
  .map { height: 460px; }
  .map__card { left: 12px; right: 12px; top: auto; bottom: 12px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer { padding-bottom: 100px; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
    background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .callbar.is-on { transform: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.section--tight { padding-top: 0; }
.drop--grid .drop__all { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; background: var(--ink); }
.drop--grid .drop__all:hover { background: var(--ink-3); }
.drop--grid .drop__all strong { color: #fff; }
.drop--grid .drop__all span { color: rgba(255,255,255,.7); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -84px; padding: calc(84px + clamp(60px, 9vh, 110px)) 0 clamp(60px, 9vh, 110px);
  min-height: min(620px, 78svh); display: flex; align-items: flex-end;
  background: var(--ink); color: rgba(255,255,255,.82);
}
.page-hero--sm { min-height: min(500px, 64svh); }
.page-hero--cards { padding-bottom: calc(clamp(60px, 9vh, 110px) + 60px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,23,38,.94) 0%, rgba(14,23,38,.75) 45%, rgba(14,23,38,.35) 100%),
    linear-gradient(0deg, rgba(14,23,38,.7), transparent 50%),
    radial-gradient(800px 400px at 0% 100%, rgba(200,16,46,.35), transparent 70%);
}
.page-hero__in { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.8); transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #FF8B9C; }
.page-hero__title { font-family: var(--f-display); font-weight: 500; color: #fff; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.035em; max-width: 900px; margin-bottom: 20px; }
.page-hero__title em { font-style: italic; font-weight: 400; color: #FF6B81; }
.page-hero__lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(70px, 9vw, 120px); }
.cta-band__in {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: 34px; background: var(--ink); color: rgba(255,255,255,.72);
}
.cta-band__glow { position: absolute; z-index: -1; width: 600px; height: 600px; right: -150px; top: -300px; background: radial-gradient(circle, rgba(200,16,46,.5), transparent 60%); animation: float 16s ease-in-out infinite; }
.cta-band .section__title { color: #fff; margin-bottom: 14px; font-size: clamp(32px, 4vw, 54px); }
.cta-band .section__title a { color: #fff; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.cta-band .section__title a:hover { color: #FF8B9C; }
.cta-band .section__title em { color: #FF8B9C; }
.cta-band p { margin: 0; max-width: 560px; font-size: 16.5px; }
.cta-band__actions { display: grid; gap: 12px; }

/* ---------- Detail layout ---------- */
.detail__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.prose { font-size: 17px; color: var(--muted); max-width: 760px; }
.prose > * + * { margin-top: 0; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); }
.prose a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose__lead { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px !important; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; margin: 44px 0 20px; }
.checklist { display: grid; gap: 12px; margin: 0 0 30px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.45; transition: border-color .3s, transform .4s var(--ease); }
.checklist li:hover { border-color: rgba(200,16,46,.35); transform: translateX(4px); }
.checklist .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; margin-top: 1px; }
.features { display: grid; gap: 16px; margin: 0 0 32px; }
.features--1 { grid-template-columns: 1fr; }
.features--2 { grid-template-columns: 1fr 1fr; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--red-50); color: var(--red); margin-bottom: 16px; transition: background .3s, color .3s, transform .5s var(--ease); }
.feature:hover .feature__ic { background: var(--red); color: #fff; transform: rotate(-8deg); }
.feature__ic .ic { width: 24px; height: 24px; }
.feature h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { margin: 0 !important; font-size: 15px; color: var(--muted); }
.features--1 .feature { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; }
.features--1 .feature__ic { grid-row: span 2; margin: 0; }
.callout { display: flex; align-items: center; gap: 20px; margin-top: 36px; padding: 26px 28px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--red-50), #fff); border: 1px solid rgba(200,16,46,.18); }
.callout__ic { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--red); color: #fff; }
.callout strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 21px; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.callout p { margin: 0 !important; font-size: 15px; }
.callout > div { flex: 1; }

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.side-card h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.side-card h4 a:hover { color: var(--red); }
.side-card--muted { background: transparent; }
.side-card--muted p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.side-card--muted .link-arrow { display: flex; margin-top: 8px; font-size: 15px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: grid; grid-template-columns: 20px 1fr 14px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .25s, color .25s; }
.side-nav a .ic:first-child { color: var(--muted); transition: color .25s; }
.side-nav a .ic--sm { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .35s var(--ease); }
.side-nav a:hover { background: var(--cream); }
.side-nav a:hover .ic--sm { opacity: 1; transform: none; }
.side-nav a.is-current { background: var(--ink); color: #fff; }
.side-nav a.is-current .ic { color: #FF8B9C; opacity: 1; transform: none; }
.side-cta { position: relative; overflow: hidden; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.7); display: grid; gap: 10px; }
.side-cta::before { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(200,16,46,.5), transparent 65%); pointer-events: none; }
.side-cta .pulse { margin-bottom: 8px; }
.side-cta small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF8B9C; }
.side-cta__phone { font-family: var(--f-display); font-size: 30px; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.side-cta p { font-size: 14.5px; margin: 0 0 8px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__img { border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; height: 115%; object-fit: cover; }
.split__badge { position: absolute; right: -24px; bottom: -24px; width: 160px; height: 160px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 20px 40px -12px rgba(200,16,46,.6); line-height: 1.1; }
.split__badge strong { font-family: var(--f-display); font-weight: 600; font-size: 34px; letter-spacing: -.02em; }
.split__badge span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; max-width: 110px; margin: 4px auto 0; }
.split__badge .about__ring { position: absolute; inset: 0; }
.split__copy .section__title { margin-bottom: 22px; }
.split__copy p { color: var(--muted); font-size: 16.5px; }
.split__copy .checklist { margin-top: 26px; }

/* ---------- Line cards ---------- */
.line-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.line-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.line-card__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--red-50); color: var(--red); margin-bottom: 12px; transition: background .3s, color .3s; }
.line-card:hover .line-card__ic { background: var(--red); color: #fff; }
.line-card__ic .ic { width: 24px; height: 24px; }
.line-card strong { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -.015em; color: var(--ink); line-height: 1.2; }
.line-card > span:not([class]) { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.line-card__go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background .35s, color .35s, transform .5s var(--ease), border-color .35s; }
.line-card__go .ic { width: 16px; height: 16px; }
.line-card:hover .line-card__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-card { display: grid; justify-items: center; gap: 12px; padding: 28px 20px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.logo-card img { height: 64px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s; }
.logo-card span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.logo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.logo-card:hover img { filter: none; opacity: 1; }

/* ---------- Services index ---------- */
.index-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.index-col { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.index-col h3 { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 500; font-size: 23px; letter-spacing: -.02em; margin-bottom: 18px; }
.index-col h3 > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; }
.index-col h3 a:hover { color: var(--red); }
.index-col li a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink); transition: color .25s, padding .35s var(--ease); }
.index-col li a .ic { opacity: .35; transition: opacity .25s, transform .35s var(--ease); }
.index-col li a:hover { color: var(--red); padding-left: 6px; }
.index-col li a:hover .ic { opacity: 1; transform: translateX(3px); }

/* ---------- About ---------- */
.stats--flat { padding: 0 0 clamp(20px, 3vw, 40px); }
.coverage-box { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; padding: clamp(30px, 4vw, 56px); border-radius: 34px; background: #fff; border: 1px solid var(--line); }
.coverage-box .chips { margin: 0; }

/* ---------- Individual health ---------- */
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 10px; }
.plan-card { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.plan-card img { height: 56px; width: auto; margin-bottom: 14px; }
.plan-card__word { height: 56px; display: flex; align-items: center; margin-bottom: 14px; font-weight: 800; font-size: 17px; line-height: 1.05; letter-spacing: .06em; color: #0B5DA7; }
.plan-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.plan-card p { margin: 0 !important; font-size: 15px; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.legal__toc { position: sticky; top: 96px; display: grid; gap: 16px; }
.legal__toc nav { display: grid; gap: 2px; }
.legal__toc nav a { padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: background .25s, color .25s; }
.legal__toc nav a:hover { background: var(--cream); color: var(--red); }
.legal__sec { padding-bottom: 12px; scroll-margin-top: 100px; }
.legal__sec + .legal__sec { padding-top: 12px; border-top: 1px solid var(--line); }
.legal__body h2 { margin-top: 20px; }

/* ---------- Form pages ---------- */
.form-sec__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form-sec__info { position: sticky; top: 100px; }
.form-sec__info .section__title { margin-bottom: 30px; }
.mini-steps { display: grid; gap: 14px; margin-bottom: 30px; }
.mini-steps li { display: flex; gap: 16px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.mini-steps li > span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--red-50); color: var(--red); }
.mini-steps strong { display: block; color: var(--ink); font-size: 16px; }
.mini-steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.contact-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-mini a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; transition: transform .4s var(--ease), background .3s; overflow-wrap: anywhere; }
.contact-mini a:hover { transform: translateY(-3px); background: var(--ink-3); }
.contact-mini .ic { color: #FF8B9C; }
.contact-mini small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.form--card { border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form__title { font-family: var(--f-display); font-weight: 500; font-size: 28px; letter-spacing: -.02em; margin-bottom: 22px; }
.field select { width: 100%; padding: 24px 40px 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #FBFAF8; outline: none; appearance: none; -webkit-appearance: none; font: inherit; color: var(--text); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235E6778' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select:focus { border-color: var(--ink); background-color: #fff; }
.field--select select + span { transform: none; }
.field--select.has-value > span, .field--select select:focus + span { transform: translateY(-10px); font-size: 12px; font-weight: 700; color: var(--ink); }
.field input[type="date"] { min-height: 58px; }
.field input[type="date"] + span { transform: translateY(-10px); font-size: 12px; font-weight: 700; color: var(--ink); }
.field.is-invalid select { border-color: var(--red); background-color: var(--red-50); }
.types--2 { grid-template-columns: 1fr 1fr; }
.types--2 span { flex-direction: row; justify-content: center; }

/* ---------- Contact ---------- */
.contact-cards-sec { margin-top: calc(-1 * clamp(40px, 5vw, 60px)); position: relative; z-index: 2; padding-bottom: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; line-height: 1.5; transition: transform .5s var(--ease); }
.contact-card:hover { transform: translateY(-5px); }
.contact-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 16px; }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card a:hover { color: var(--red); }
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.map--tall { margin: 0; height: auto; min-height: 520px; border: 1px solid var(--line); }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1100px) {
  .line-grid, .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .page-hero { margin-top: -84px; }
  .cta-band__in { grid-template-columns: 1fr; }
  .cta-band__actions { grid-template-columns: auto auto; justify-content: start; }
  .detail__in, .legal, .form-sec__in, .contact-split, .split, .coverage-box { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { max-width: 600px; }
  .sidebar, .legal__toc, .form-sec__info { position: static; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .features--3 { grid-template-columns: 1fr 1fr; }
  .index-cols { grid-template-columns: 1fr; }
  .line-grid, .logo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .page-hero { margin-top: -70px; padding-top: calc(70px + 50px); padding-bottom: 50px; min-height: 0; }
  .crumbs { font-size: 13px; }
  .cta-band__in { border-radius: 26px; }
  .cta-band__actions { grid-template-columns: 1fr; }
  .cta-band__actions .btn { width: 100%; }
  .sidebar { grid-template-columns: 1fr; }
  .checklist--2, .features--2, .features--3, .plan-cards, .contact-mini, .contact-cards { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; }
  .line-grid, .logo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .line-card { padding: 18px; }
  .line-card strong { font-size: 18px; }
  .line-card > span:not([class]) { display: none; }
  .line-card__go { display: none; }
  .logo-card { padding: 18px 12px 14px; }
  .logo-card img { height: 44px; }
  .split__badge { right: 10px; width: 130px; height: 130px; }
  .split__badge strong { font-size: 26px; }
  .map--tall { min-height: 440px; }
  .contact-cards-sec { margin-top: 0; padding-top: 40px; }
}

/* Short desktop screens: keep the whole slider incl. tabs above the fold */
@media (min-width: 1025px) and (max-height: 860px) {
  .hero__trust { display: none; }
  .hero__nav { padding-top: 16px; padding-bottom: 20px; }
  .glass-card { padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
