/* ===== Insurance Beyond: navy & white ===== */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4477;
  --navy-100: #e7edf6;
  --navy-50: #f4f7fb;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #dbe3ee;
  --white: #ffffff;
  --star: #f5b301;
  --green: #1f9d55;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, 0.35);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy-800); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { font-style: italic; color: var(--navy-600); }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 14px; }
.eyebrow-light { color: #9db7dc; }
.stars { color: var(--star); letter-spacing: 2px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .98rem; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-800); color: var(--white); box-shadow: 0 8px 20px -8px rgba(11,37,69,.6); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--navy-100); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ----- Nav ----- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,37,69,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--navy-800); }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-sub { color: #9db7dc; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink); opacity: .85; transition: opacity .2s, color .2s; }
.nav-links a:not(.btn):hover { opacity: 1; color: var(--navy-600); }
.nav-phone { font-weight: 700 !important; color: var(--navy-800) !important; opacity: 1 !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ----- Hero ----- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--navy-50) 100%); padding: 56px 0 90px; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(29,68,119,.10), transparent); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 32px; max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: .92rem; font-weight: 600; color: var(--navy-700); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--white); stroke-width: 3; fill: none; background: var(--navy-800); border-radius: 50%; padding: 3px; }

.hero-photo { position: relative; justify-self: center; }
.photo-frame { width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; background: var(--navy-800); }
.photo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 2px solid var(--navy-800); border-radius: 28px; z-index: -1; opacity: .15; }
.float-card { position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.float-status { right: -24px; top: 34px; font-size: .88rem; font-weight: 600; color: var(--navy-800); padding: 11px 16px; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa6b8; flex-shrink: 0; }
.is-open .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,85,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31,157,85,.05); } }

/* ----- Stats ----- */
.stats { background: var(--navy-800); color: var(--white); padding: 46px 0; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 6px 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-star { color: var(--star); font-size: .7em; margin-left: 4px; vertical-align: .15em; }
.stat-label { margin-top: 6px; font-size: .88rem; color: #b6c7e0; font-weight: 500; letter-spacing: .02em; }

/* ----- Sections ----- */
.section { padding: 110px 0; }
.section-tint { background: var(--navy-50); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* ----- Service cards ----- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-800); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: .9rem; font-weight: 500; color: var(--navy-700); }
.card-list li::before { content: "→"; margin-right: 8px; color: var(--navy-600); }

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.step { background: var(--white); border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: 0 6px 24px -18px rgba(11,37,69,.5); position: relative; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-family: var(--serif); font-size: 1.35rem; margin-bottom: 20px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ----- About ----- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.about-copy strong { color: var(--navy-800); }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 34px; }
.about-points div { border-left: 3px solid var(--navy-800); padding: 4px 0 4px 14px; }
.about-points strong { display: block; font-size: 1rem; color: var(--navy-800); }
.about-points span { font-size: .86rem; color: var(--muted); }

/* ----- Review ticker ----- */
.ticker { display: flex; align-items: stretch; background: var(--navy-900); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 22px 0 max(24px, calc((100vw - 1180px) / 2)); background: var(--white); color: var(--navy-800); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; position: relative; z-index: 1; }
.ticker-label::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ticker-label .g-logo { width: 22px; height: 22px; }
.ticker-label:hover span { text-decoration: underline; }
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker-duration, 300s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; padding: 17px 0; }
.ticker-item::after { content: ""; width: 6px; height: 6px; background: #9db7dc; transform: rotate(45deg) translateY(-2px); margin: 0 34px; align-self: center; opacity: .6; }
.ticker-item q { font-family: var(--serif); font-size: 1.12rem; font-style: italic; color: var(--white); quotes: "“" "”"; }
.ticker-name { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9db7dc; }
.ticker-name::before { content: "— "; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* ----- Carriers ----- */
.carriers { padding: 56px 0; border-bottom: 1px solid var(--line); }
.carriers-title { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.carrier-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.carrier-list li { font-family: var(--serif); font-size: 1.3rem; color: var(--navy-700); opacity: .75; }

/* ----- Booking ----- */
.booking-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 1060px; margin: 0 auto; }

/* ----- Hours & contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-areas: "hours contact" "map contact"; gap: 26px; }
.hours-card { grid-area: hours; }
.contact-card { grid-area: contact; }
.map-card { grid-area: map; }
.hours-card, .contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.hours-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--navy-50); font-size: .84rem; font-weight: 600; color: var(--navy-800); }
.status-pill.is-open { background: rgba(31,157,85,.1); color: #146c3a; }
.tz-note { color: var(--muted); font-size: .85rem; margin: 4px 0 18px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours-table th, .hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours-table th { text-align: left; font-weight: 500; color: var(--ink); }
.hours-table td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--navy-800); font-weight: 700; }
.hours-table tr.today th::after { content: "Today"; margin-left: 10px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: var(--navy-800); color: var(--white); padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }

.contact-card h3 { margin-bottom: 20px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--navy-50); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; stroke: var(--navy-800); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 600; color: var(--navy-800); }
.contact-list a:hover { text-decoration: underline; }

.contact-form { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy-800); }
.opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: .96rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29,68,119,.12); }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-note.success { color: #146c3a; font-weight: 600; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ----- FAQ ----- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.04rem; color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* ----- Final CTA ----- */
.final-cta { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: var(--white); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.08), transparent), radial-gradient(500px 300px at 90% 100%, rgba(255,255,255,.06), transparent); }
.final-inner { position: relative; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: #b6c7e0; font-size: 1.1rem; margin: 14px 0 32px; }
.final-cta .hero-ctas { justify-content: center; }

/* ----- Footer ----- */
.footer { background: var(--navy-900); color: #b6c7e0; padding: 70px 0 30px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin-top: 16px; max-width: 340px; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer-col a:hover { color: var(--white); }
.footer-legal { padding-top: 26px; font-size: .78rem; color: #7f93b3; line-height: 1.7; }

.mobile-cta { display: none; }

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

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
  .nav-links a[href="#about"] { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(calc(-100% - 100px)); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; z-index: -1; }
  .nav-links.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[href="#about"] { display: block; }
  .nav-links .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 36px 0 70px; }
  .hero-inner, .about { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { order: -1; }
  .photo-frame { width: min(340px, 80vw); }
  .float-status { right: -12px; top: 18px; }
  .steps { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "hours" "contact" "map"; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
  .ticker-label { padding-left: 16px; padding-right: 12px; font-size: .64rem; }
  .ticker-item q { font-size: 1rem; }
  .ticker-item { padding: 14px 0; }
  .about-points { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: 12px 18px; }
  .brand-sub { display: none; }
  .hours-card, .contact-card { padding: 24px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .footer { padding-bottom: 100px; }
}
