:root {
  --navy-950: #09233d;
  --navy-900: #0d3156;
  --navy-800: #123b68;
  --navy-700: #1c4f82;
  --blue-600: #2f75ad;
  --blue-500: #438fc4;
  --blue-100: #dcecf7;
  --blue-50: #eff7fc;
  --red-600: #c81f32;
  --red-500: #e22a3e;
  --ink: #172333;
  --muted: #536274;
  --line: #dbe3eb;
  --surface: #f5f8fc;
  --white: #fff;
  --shadow-sm: 0 8px 24px rgba(9, 35, 61, .08);
  --shadow-lg: 0 24px 60px rgba(9, 35, 61, .14);
  --radius-sm: .6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-700); text-underline-offset: .2em; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-950); line-height: 1.13; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p:last-child { margin-bottom: 0; }

.shell { width: min(calc(100% - 2rem), var(--shell)); margin-inline: auto; }
.narrow { width: min(100%, 850px); }
.section { padding: clamp(2.75rem, 4.5vw, 4.25rem) 0; }
.section-tinted { background: var(--surface); }
.centered { text-align: center; margin-inline: auto; }
.section-heading { max-width: 760px; margin-bottom: 1.75rem; }
.section-heading p:not(.eyebrow), .hero-lead, .page-hero p, .split-copy > p, .prose { color: var(--muted); font-size: 1.12rem; }
.eyebrow { margin-bottom: .8rem; color: var(--red-600); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 9999; padding: .7rem 1rem; background: var(--white); transform: translateY(-160%); border-radius: .4rem; box-shadow: var(--shadow-sm); }
.skip-link:focus { transform: none; }

.utility-bar { color: var(--white); background: var(--navy-950); font-size: .82rem; }
.utility-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.utility-inner p { margin: 0; color: var(--blue-100); }
.utility-contact { display: flex; align-items: center; gap: 1.5rem; }
.utility-contact a { display: inline-flex; align-items: center; gap: .45rem; color: var(--white); text-decoration: none; font-weight: 650; }
.utility-contact a:hover { color: #bfe6ff; }
.utility-contact svg { width: 16px; height: 16px; fill: currentColor; }
.nav-bar { position: relative; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(219,227,235,.85); }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand, .footer-brand { display: block; overflow: hidden; background: var(--white); }
.brand { width: 255px; }
.brand picture { display: block; }
.brand img, .footer-brand img { width: 100%; height: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; color: var(--navy-900); font-size: .96rem; font-weight: 700; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -.65rem; left: 0; height: 2px; background: var(--red-600); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); border-radius: 10px; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(125deg, var(--navy-950), var(--navy-800) 62%, #245b8d); }
.hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -230px; bottom: -260px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.03), 0 0 0 150px rgba(255,255,255,.025); }
.hero-grid { position: relative; z-index: 1; min-height: 510px; display: flex; align-items: center; padding-top: 3.75rem; padding-bottom: 3.75rem; }
.hero-copy { max-width: 920px; }
.hero h1 { max-width: 800px; margin-bottom: 1.35rem; color: var(--white); }
.hero h1 span { display: block; white-space: nowrap; }
.hero .eyebrow { color: #8ed2ff; }
.hero-lead { max-width: 690px; color: #dcebf7; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 2px solid transparent; border-radius: .65rem; font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red-600); }
.button-primary:hover { color: var(--white); background: #a91828; }
.button-secondary { color: var(--navy-900); background: transparent; border-color: var(--navy-700); }
.hero .button-secondary { color: var(--white); border-color: rgba(255,255,255,.55); }
.button-secondary:hover { color: var(--navy-950); background: var(--blue-50); }
.hero .button-secondary:hover { color: var(--navy-950); background: var(--white); }
.button-light { color: var(--navy-950); background: var(--white); }
.button-light:hover { color: var(--navy-950); background: var(--blue-100); }
.hero-points { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin: 2rem 0 0; padding: 0; color: #cbe4f5; font-size: .9rem; list-style: none; }
.hero-points li::before { content: "✓"; margin-right: .4rem; color: #8ed2ff; font-weight: 900; }

.card-grid { display: grid; gap: 1.25rem; }
.three-column { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .service-card { position: relative; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 1px 0 rgba(9,35,61,.03); }
.feature-card h2 { font-size: 1.6rem; }
.feature-card p, .service-card p, .metric-grid p { color: var(--muted); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
.align-center { align-items: center; }
.split-copy h2 { margin-bottom: 1.25rem; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 800; text-decoration: none; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.process-list li:first-child { padding-top: 0; }
.process-list li > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); background: var(--navy-800); border-radius: 50%; font-weight: 800; }
.process-list h3 { margin-bottom: .35rem; }
.process-list p { margin: 0; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5.5rem); }
.value-list article { padding: 0 0 1.5rem 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); border-left: 3px solid var(--blue-500); }
.value-list article:last-child { margin-bottom: 0; }
.value-list p { margin: 0; color: var(--muted); }
.cta-section { padding: 2.75rem 0; color: var(--white); background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { max-width: 760px; margin: 0; color: var(--white); }
.cta-inner .eyebrow { color: #9edbff; }

.page-hero { overflow: hidden; background: linear-gradient(145deg, var(--blue-50), var(--white)); border-bottom: 1px solid var(--line); }
.page-hero-grid { min-height: 370px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 2.5rem; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.page-hero h1 { margin-bottom: 1.25rem; font-size: clamp(2.6rem, 4.5vw, 4.6rem); }
.page-hero p { max-width: 760px; }
.page-hero img { max-height: 360px; margin-inline: auto; object-fit: contain; }
.page-hero-simple { padding: clamp(3.25rem, 5.5vw, 4.5rem) 0; background: radial-gradient(circle at 85% 20%, #ddecf8, transparent 33%), var(--blue-50); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.image-panel { overflow: hidden; background: var(--blue-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.image-panel img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .65rem 0 .65rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red-600); font-weight: 900; }
.coverage-card, .licensing-callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; padding: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--white); background: var(--navy-900); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.coverage-card h2, .licensing-callout h2 { color: var(--white); }
.coverage-card .eyebrow, .licensing-callout .eyebrow { color: #9edbff; }
.coverage-card p, .licensing-callout p { color: #d7e6f2; }
.statement-card { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.metric-grid article { padding: 1.6rem; background: var(--blue-50); border-radius: var(--radius-md); }
.metric-grid strong { display: block; margin-bottom: .65rem; color: var(--navy-900); font-size: 1.25rem; }
.prose p { margin-bottom: 1.25rem; }
.about-hero-grid { grid-template-columns: 1fr 1fr; }
.office-image { max-height: 370px; }
.building-photo img { object-position: 44% center; }

.contact-section { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: start; }
.contact-details, .form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-details { padding: 1.75rem; }
.contact-details address { font-style: normal; }
.contact-details address p { display: grid; margin-bottom: 1.25rem; }
.contact-details address strong { color: var(--navy-900); }
.contact-details address a, .contact-details address span { color: var(--muted); }
.nmls-note { padding: 1rem; background: var(--blue-50); border-radius: var(--radius-sm); }
.contact-map { width: 100%; height: 260px; margin-top: 1.5rem; border: 0; border-radius: var(--radius-sm); }
.form-panel { padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-heading { margin-bottom: 1.5rem; }
.form-heading h2 { margin-bottom: .4rem; font-size: 2rem; }
.form-heading p, .form-privacy { color: var(--muted); font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; color: var(--ink); background: var(--white); border: 1px solid #b8c6d3; border-radius: .5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(67,143,196,.25); border-color: var(--blue-600); }
.captcha-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.captcha-submit .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-status { margin-bottom: 1.25rem; padding: 1rem; border-radius: .6rem; }
.form-status-success { color: #155f3a; background: #e8f7ef; border: 1px solid #9bd7b8; }
.form-status-error { color: #84202c; background: #fff0f2; border: 1px solid #efb2ba; }

.legal-hero { padding-bottom: 2.75rem; }
.legal-content { max-width: 850px; }
.legal-content h2 { margin-top: 2.15rem; margin-bottom: .7rem; font-size: 1.7rem; }
.legal-content p, .legal-content li { color: var(--muted); }

.licensing-map-section .section-heading { max-width: 820px; }
.license-map-shell { padding: clamp(1rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.license-legend { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-bottom: 1.4rem; color: var(--navy-900); font-weight: 750; }
.license-legend span { display: inline-flex; align-items: center; gap: .65rem; }
.legend-swatch { width: 28px; height: 20px; flex: 0 0 auto; border: 2px solid var(--navy-950); border-radius: .25rem; }
.legend-all { background: var(--navy-700); }
.legend-dscr { background: repeating-linear-gradient(55deg, var(--red-600) 0 7px, #f8c5cb 7px 11px); }
.license-map-scroll { overflow-x: auto; border-radius: var(--radius-sm); }
.license-map { display: block; width: 100%; min-width: 690px; height: auto; background: #eef4f9; border-radius: var(--radius-sm); }
.services-map-panel .license-map-shell { padding: 1rem; }
.services-map-panel .license-map { min-width: 0; }
.services-map-panel .license-legend { gap: .65rem 1.25rem; margin-bottom: 1rem; font-size: .82rem; }
.services-map-panel .map-scroll-note { display: none; }
.license-state { stroke: var(--white); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: opacity .15s ease, stroke .15s ease; }
.license-state-all { fill: var(--navy-700); }
.license-state-dscr { fill: url(#dscr-pattern); }
.license-state:hover, .license-state:focus { opacity: .8; stroke: #f5a623; stroke-width: 3; outline: none; }
.inset-labels text { fill: var(--navy-950); font-size: 15px; font-weight: 800; letter-spacing: .12em; }
.map-scroll-note { display: none; margin-bottom: .7rem; color: var(--muted); font-size: .82rem; }
.coverage-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.coverage-summary > div { padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.coverage-summary h3 { margin-bottom: .4rem; }
.coverage-summary p { margin: 0; color: var(--muted); }
.licensing-map-note { margin-top: 1.25rem; padding: 1rem 1.15rem; color: var(--muted); background: #fff8e8; border-left: 4px solid #e0a11b; border-radius: .35rem; }

.site-footer { color: #dce8f2; background: var(--navy-950); }
.credential-band { color: var(--ink); background: var(--white); border-top: 1px solid var(--line); }
.credential-inner { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.75fr); align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-top: 1.5rem; padding-bottom: 1.5rem; }
.credential-copy .eyebrow { margin-bottom: .45rem; }
.site-footer .credential-copy h2 { max-width: 410px; margin: 0; color: var(--navy-950); font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.025em; text-transform: none; }
.credential-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.credential-grid li { min-height: 92px; display: grid; place-items: center; padding: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.credential-logo { width: auto; max-width: 100%; max-height: 82px; object-fit: contain; }
.credential-logo-google { max-height: 92px; }
.credential-logo-arive { max-height: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr .65fr; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2.25rem; }
.footer-brand { width: 190px; margin-bottom: 1.25rem; border-radius: .35rem; }
.footer-company p { margin-bottom: .45rem; color: #b8cadd; }
.footer-compliance { margin-top: 1.25rem; }
.footer-compliance img { width: 92px; height: 92px; object-fit: contain; filter: brightness(0) invert(1); opacity: .82; }
.site-footer h2 { margin-bottom: 1.1rem; color: var(--white); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .7rem; }
.site-footer a { color: #dce8f2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social-links { display: flex; gap: .55rem; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; color: var(--white); background: var(--navy-700); border-radius: 50%; font-size: .78rem; font-weight: 900; text-decoration: none; }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.social-links a:hover { background: var(--red-600); text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); }
.legal-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .83rem; }
.legal-inner p { margin: 0; color: #b8cadd; }
.legal-inner nav { display: flex; gap: 1.2rem; }

@media (max-width: 980px) {
  .utility-inner > p { display: none; }
  .utility-inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .75rem 1rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .primary-nav[data-open="true"] { display: block; }
  .primary-nav ul { width: min(100%, var(--shell)); margin-inline: auto; display: grid; gap: 0; }
  .primary-nav a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .page-hero-grid, .split-layout, .value-grid, .contact-grid, .about-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 3.25rem; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .page-hero-grid { gap: 2rem; }
  .page-hero-grid > img { max-width: 360px; }
  .three-column, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-card, .licensing-callout { grid-template-columns: 1fr; gap: 1.5rem; }
  .credential-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 1.25rem), var(--shell)); }
  .utility-inner { justify-content: center; }
  .utility-contact { width: 100%; justify-content: space-between; gap: .5rem; font-size: .72rem; }
  .nav-inner { min-height: 70px; }
  .brand { width: 200px; }
  .hero-grid { min-height: auto; padding-top: 2.75rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(2rem, 10.5vw, 2.65rem); }
  .hero-points { display: grid; text-align: left; }
  .three-column, .service-grid, .metric-grid, .form-grid { grid-template-columns: 1fr; }
  .coverage-summary { grid-template-columns: 1fr; }
  .map-scroll-note { display: block; }
  .services-map-panel .map-scroll-note { display: none; }
  .credential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credential-grid li { min-height: 88px; }
  .feature-card, .service-card { min-height: auto; }
  .field-full { grid-column: auto; }
  .cta-inner, .legal-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal-inner { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .captcha-submit { align-items: stretch; }
  .g-recaptcha { transform: scale(.88); transform-origin: left center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
