:root {
  --ink: #1b2b38;
  --slate: #283b4e;
  --cream: #f5f0e8;
  --paper: #fbf9f5;
  --blue: #285878;
  --clay-deep: #8f523e;
  --line: rgba(27, 43, 56, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "DM Sans", Arial, sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: "DM Sans", Arial, sans-serif; font-weight: 600; line-height: 1.07; letter-spacing: -.045em; }
h2 { font-size: 50px; line-height: 1.08; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(calc(-100% - 24px)); padding: 10px 16px; border-radius: 999px; background: #fff; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 16px; color: var(--clay-deep); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-align: center; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: #1c425d; }
.btn-outline { border-color: var(--blue); background: transparent; color: var(--blue); }
.btn-outline:hover { background: #eaf4f9; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .97); box-shadow: 0 8px 24px rgba(27, 43, 56, .07); backdrop-filter: blur(12px); }
.nav { height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; width: fit-content; align-items: center; text-decoration: none; }
.brand-logo { width: 200px; height: auto; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 30px; }
.nav-links a { color: var(--ink); font-size: calc(.92rem + 1px); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta { justify-self: end; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: #1c425d; }
.nav-links .nav-menu-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(27, 43, 56, .24); border-radius: 50%; background: transparent; color: var(--ink); }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; }
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; backdrop-filter: none; transition: background-color .24s ease, box-shadow .24s ease; }
.site-header--overlay.is-sticky { background: #fff; box-shadow: 0 8px 24px rgba(27, 43, 56, .08); }
.site-header--overlay .brand-logo--color { display: none; }
.site-header--overlay.is-sticky .brand-logo--white { display: none; }
.site-header--overlay.is-sticky .brand-logo--color { display: block; }
.site-header--overlay .nav-links a { color: #fff; text-shadow: 0 1px 10px rgba(17, 31, 42, .32); }
.site-header--overlay .nav-links a:hover, .site-header--overlay .nav-links a[aria-current="page"] { color: #b9eaff; }
.site-header--overlay.is-sticky .nav-links a { color: var(--ink); text-shadow: none; }
.site-header--overlay.is-sticky .nav-links a:hover, .site-header--overlay.is-sticky .nav-links a[aria-current="page"] { color: var(--blue); }
.site-header--overlay .menu-toggle { border-color: rgba(255, 255, 255, .46); color: #fff; }
.site-header--overlay.is-sticky .menu-toggle { border-color: rgba(27, 43, 56, .24); color: var(--ink); }
.contact-hero { position: relative; min-height: 74vh; min-height: 74svh; min-height: 74dvh; display: flex; align-items: flex-end; overflow: hidden; background: var(--slate); color: #fff; }
.contact-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 44%; }
.contact-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 31, 42, .58) 0%, rgba(17, 31, 42, .28) 22%, transparent 45%), linear-gradient(90deg, rgba(17, 31, 42, .72) 0%, rgba(17, 31, 42, .45) 44%, transparent 82%), linear-gradient(0deg, rgba(17, 31, 42, .88) 0%, rgba(17, 31, 42, .47) 38%, transparent 75%); }
.contact-hero-content { position: relative; z-index: 1; padding: 140px 0 68px; }
.contact-hero-eyebrow { width: fit-content; margin-bottom: 25px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: rgba(17, 31, 42, .2); color: #fff; font-size: .82rem; letter-spacing: .02em; text-transform: none; }
.contact-hero-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .9fr); gap: 58px; align-items: end; }
.contact-hero h1 { max-width: 850px; font-size: clamp(3.1rem, 5.2vw, 4.45rem); line-height: .99; letter-spacing: -.065em; }
.contact-hero-copy { max-width: 390px; padding-bottom: 4px; }
.contact-hero-copy p { color: rgba(255, 255, 255, .94); font-size: clamp(1.05rem, 1.35vw, 1.18rem); font-weight: 500; line-height: 1.55; text-shadow: 0 2px 16px rgba(17, 31, 42, .3); }
.contact-hero-copy .btn { margin-top: 24px; background: #fff; color: var(--blue); }
.contact-hero-copy .btn:hover { background: #eaf4f9; }
.contact-details { padding: 100px 0 104px; background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 { font-size: 50px; }
.section-head p:last-child { margin-top: 18px; color: #526270; font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { min-width: 0; display: flex; flex-direction: column; min-height: 274px; padding: 30px; border: 1px solid #d3e4ed; border-radius: 20px; background: #fff; box-shadow: 0 14px 36px rgba(30, 43, 54, .055); }
.contact-card .card-label { margin-bottom: 24px; color: var(--clay-deep); font-size: .77rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { font-size: 1.55rem; overflow-wrap: anywhere; }
.contact-card p { margin-top: 12px; color: #526270; }
.contact-card a { width: fit-content; margin-top: auto; padding-top: 24px; color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.contact-card address { font-style: normal; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-note { max-width: 760px; margin-top: 22px; color: #526270; font-size: .94rem; }
.office-map { margin-top: 32px; overflow: hidden; border: 1px solid #d3e4ed; border-radius: 20px; background: #fff; }
.office-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; }
.office-map-heading h2 { font-size: 1.65rem; line-height: 1.2; }
.office-map-heading address { margin-top: 10px; color: #526270; font-style: normal; }
.office-map-heading .btn { flex-shrink: 0; }
.office-map iframe { display: block; width: 100%; height: 400px; border: 0; }
@media (max-width: 620px) { .office-map-heading { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px; } .office-map iframe { height: 320px; } }
.insurance { padding: 92px 0 96px; overflow: hidden; background: var(--paper); }
.insurance-intro { width: min(780px, calc(100% - 40px)); margin: 0 auto 46px; text-align: center; }
.insurance-intro h2 { font-size: 50px; line-height: 1.08; letter-spacing: -.045em; }
.insurance-intro p:not(.eyebrow) { max-width: 680px; margin: 22px auto 0; color: #526270; font-size: 1.05rem; }
.insurance-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.insurance-track { display: flex; width: max-content; animation: insurance-scroll 28s linear infinite; }
.insurance-marquee:hover .insurance-track { animation-play-state: paused; }
.insurance-group { display: flex; gap: 16px; padding-right: 16px; }
.insurance-card { width: clamp(230px, 20vw, 300px); min-height: 118px; display: grid; place-items: center; padding: 22px; border: 1px solid rgba(27, 43, 56, .13); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(30, 43, 54, .06); }
.insurance-card img { width: auto; max-width: 100%; height: auto; max-height: 64px; object-fit: contain; }
.insurance-card--qualcare { border-color: var(--blue); background: var(--blue); }
.insurance-card--qualcare img { width: min(100%, 210px); }
.insurance-card--cigna img { max-height: 76px; }
.insurance-card--valueoptions img { max-height: 54px; }
.insurance-note { max-width: 780px; margin: 28px auto 0; padding: 0 20px; color: #66727c; text-align: center; font-size: .9rem; }
.insurance-contact { margin: 18px auto 0; padding: 0 20px; color: #526270; text-align: center; }
.insurance-contact a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
@keyframes insurance-scroll { to { transform: translateX(-50%); } }
.legal-hero { padding: 82px 0 76px; border-bottom: 1px solid var(--line); background: var(--paper); }
.privacy-page .legal-hero { background: linear-gradient(90deg, rgba(251, 249, 245, .96), rgba(251, 249, 245, .8) 62%, rgba(251, 249, 245, .6)), url("privacy-hero-misty-sea-anascato.webp") center 55% / cover no-repeat; }
.terms-page .legal-hero { background: linear-gradient(90deg, rgba(251, 249, 245, .96), rgba(251, 249, 245, .82) 62%, rgba(251, 249, 245, .58)), url("terms-hero-zen-sand-anascato.webp") center 55% / cover no-repeat; }
.legal-hero h1 { max-width: 830px; font-size: clamp(3.1rem, 6vw, 5.15rem); }
.legal-hero p:last-child { max-width: 760px; margin-top: 22px; color: #526270; font-size: 1.1rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(45px, 7vw, 100px); padding-block: 92px 110px; }
.legal-toc { position: sticky; top: 116px; align-self: start; display: grid; gap: 12px; }
.legal-toc p { margin-bottom: 8px; color: var(--clay-deep); font-size: .77rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc a { color: #526270; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
.legal-content { max-width: 820px; }
.legal-content section + section { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 18px; font-size: 50px; }
.legal-content p + p, .legal-content p + ul, .legal-content ul + p { margin-top: 15px; }
.legal-content p, .legal-content li { color: #4c5e6d; }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--blue); text-underline-offset: 3px; }
.legal-callout { padding: 22px 25px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: #eaf4f9; }
footer { padding: 58px 0 26px; background: #14232e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; padding-bottom: 50px; }
.footer-brand p { max-width: 430px; margin-top: 20px; color: rgba(255, 255, 255, .62); }
.footer-brand .brand-logo { width: 230px; }
.footer-title { margin-bottom: 18px; font-weight: 600; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .5); font-size: .84rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: #fff; }
@media (max-width: 1050px) {
  .nav { gap: 18px; }
  .nav-links { gap: 18px; }
  .brand-logo { width: 200px; }
  .nav-cta { padding-inline: 16px; }
}
@media (max-width: 1100px) {
  .nav { height: 82px; display: flex; justify-content: space-between; }
  .nav-links { position: absolute; top: 76px; left: 20px; right: 20px; display: none; padding: 22px; align-items: stretch; flex-direction: column; gap: 16px; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(27, 43, 56, .12); }
  .nav-links.open { display: flex; }
  .nav-links .nav-menu-cta { display: block; padding: 12px 16px; border-radius: 999px; background: var(--blue); color: #fff; }
  .site-header--overlay .nav-links { background: rgba(20, 35, 46, .96); }
  .site-header--overlay.is-sticky .nav-links.open { background: #fff; box-shadow: 0 12px 28px rgba(27, 43, 56, .12); }
  .site-header--overlay .nav-links .nav-menu-cta, .site-header--overlay.is-sticky .nav-links .nav-menu-cta { color: #fff; text-shadow: none; }
  .nav > .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .contact-hero-layout { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr); gap: 36px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .legal-layout { grid-template-columns: 1fr; gap: 45px; }
  .legal-toc { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand-logo { width: 176px; }
  .contact-hero { min-height: 88vh; min-height: 88svh; min-height: 88dvh; }
  .contact-hero::after { background: linear-gradient(180deg, rgba(17, 31, 42, .58), rgba(17, 31, 42, .08) 30%, rgba(17, 31, 42, .3) 52%, rgba(17, 31, 42, .94)); }
  .contact-hero-bg { object-position: 73% 30%; }
  .contact-hero-content { padding: 118px 0 max(42px, env(safe-area-inset-bottom)); }
  .contact-hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-hero h1 { font-size: clamp(2.7rem, 11vw, 3.65rem); }
  .contact-hero-copy { max-width: 500px; }
  .contact-hero-copy p { font-size: 1.02rem; }
  .contact-details { padding: 76px 0; }
  .contact-card { min-height: 225px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .insurance { padding: 72px 0 76px; }
  .insurance-intro { width: min(100% - 28px, 780px); margin-bottom: 36px; }
  .insurance-card { width: 220px; min-height: 104px; }
  .legal-hero { padding: 66px 0; }
  .legal-layout { padding-block: 65px 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-brand .brand-logo { width: 210px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .insurance-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .insurance-track { animation: none; }
  .insurance-group[aria-hidden="true"] { display: none; }
}

.contact-hero .eyebrow, .legal-hero .eyebrow { margin-bottom: 18px; }
@media (max-width: 620px) { .contact-hero .eyebrow, .legal-hero .eyebrow { margin-bottom: 16px; } }
