:root {
  color-scheme: light;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: #102843;
  background: #f0f6fc;
  --ink: #102843;
  --muted: #3d5871;
  --accent: #006cc2;
  --line: #d6e5f2;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea { accent-color: var(--accent); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid #007bce; outline-offset: 3px; }
[hidden] { display: none !important; }
.top, main, footer { width: min(1260px, calc(100% - 80px)); margin: auto; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.25rem; letter-spacing: -.05em; text-decoration: none; }
.wordmark img, .footer-brand img { display: block; flex: none; }
.brand-accent { margin-left: .19em; color: var(--accent); }
.phone { padding: 9px 14px; border: 1px solid #cbddec; border-radius: 99px; font-size: .875rem; font-weight: 750; text-decoration: none; }
.phone span { color: var(--muted); margin-right: 4px; font-weight: 550; }
.phone:hover, footer a:hover { color: var(--accent); }
.layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 14px; align-items: stretch; }
.hero, .quiz { border-radius: 28px; min-width: 0; }
.hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 610px; overflow: hidden; isolation: isolate; background: #092238; color: #ffffff; }
.team-photo { position: absolute; z-index: -2; inset: auto 0 55px; width: 100%; height: 59%; object-fit: cover; object-position: center; animation: arrive .75s ease-out both; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#092238 28%,#092238eb 36%,#09223800 53%,#09223800 79%,#092238 94%); }
.hero-copy { padding: clamp(23px, 3.35vw, 48px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #c1e7ff; font-size: .875rem; font-weight: 775; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #77cdff; box-shadow: 0 0 13px #76caff; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 17px; font-size: clamp(2.8rem, 4.7vw, 5rem); line-height: .96; letter-spacing: -.07em; font-weight: 900; }
h1 em { color: #9bd9ff; font-style: normal; }
.hero-copy > p:last-child { max-width: 345px; margin-bottom: 0; color: #ecf7ff; line-height: 1.48; }
.rating { display: flex; align-items: center; gap: 12px; margin: 20px clamp(18px, 2.5vw, 34px) 25px; padding: 13px 15px; border: 1px solid #ffffff28; border-radius: 16px; background: #0a263feb; color: white; text-decoration: none; transition: background .2s, transform .2s; }
.rating:hover { transform: translateY(-3px); background: #133755; }
.google-g { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: white; }
.rating strong { display: block; font-size: 1rem; }
.stars { display: inline-block; color: #996000; letter-spacing: .07em; white-space: nowrap; }
.rating .stars { color: #ffc55c; margin-left: 3px; font-size: .88rem; }
.rating-label { display: block; margin-top: 2px; color: #deeffb; font-size: .8125rem; }
.rating-action { margin-left: auto; text-align: right; text-decoration: underline; text-underline-offset: 3px; color: #c8e9ff; font-size: .8125rem; font-weight: 700; }
.quiz { display: flex; flex-direction: column; padding: clamp(24px, 3.45vw, 50px); background: #fff; border: 1px solid #dce8f3; }
.progress { margin-bottom: 40px; }
.progress ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.progress li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--muted); }
.progress li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: calc(50% + 19px); width: calc(100% - 38px); height: 2px; background: var(--line); }
.progress li.done::after { background: var(--accent); animation: line-in .4s ease-out both; transform-origin: left; }
.progress li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eaf3fb; line-height: 1; }
.progress li[aria-current] { color: var(--accent); }
.progress li[aria-current] span, .progress li.done span { background: var(--accent); color: white; }
.quote { display: flex; flex: 1; flex-direction: column; }
.step { animation: rise .27s ease-out both; }
.step h2 { margin-bottom: 7px; font-size: clamp(1.75rem,3.4vw,2.65rem); line-height: 1.04; letter-spacing: -.06em; }
.step h2:focus { outline: none; }
.step > p { color: var(--muted); line-height: 1.45; margin-bottom: 22px; }
.options { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); gap: 10px; }
.option { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 13px 15px; border-radius: 14px; transition: background .2s, border .2s, transform .2s; cursor: pointer; border: 1px solid var(--line); background: #f7fbff; min-height: 82px; }
.option:hover { transform: translateY(-2px); border-color: #2798ea; }
.option:has(input:checked) { background: #e4f4ff; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.option:has(input:focus-visible) { outline: 3px solid #007bce; outline-offset: 2px; }
.option input { position: absolute; top: 12px; right: 11px; width: 15px; height: 15px; }
.type-icon { color: var(--accent); font-size: 1.25rem; font-weight: 850; line-height: 1; }
.option strong { font-size: .95rem; }
.option small { color: var(--muted); font-size: .82rem; }
.controls { display: flex; gap: 12px; padding-top: 25px; margin-top: auto; }
.controls button { display: inline-grid; place-items: center; min-height: 49px; border-radius: 10px; border: 1px solid transparent; padding: 9px 19px; font-weight: 750; cursor: pointer; transition: background .18s, transform .18s; }
.controls button:active { transform: scale(.98); }
.controls button:disabled { cursor: wait; opacity: .7; }
.next { flex: 1; background: var(--accent); color: white; }
.next:hover { background: #005aa8; }
.back { background: #e9f4fd; color: var(--ink); }
.back:hover { background: #dceefa; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.fields label { display: grid; gap: 6px; font-weight: 700; font-size: .875rem; }
.fields label span { color: var(--muted); font-weight: 500; }
.fields :is(input, select, textarea) { min-width: 0; width: 100%; min-height: 45px; border: 1px solid #c6dcec; border-radius: 9px; padding: 9px 10px; background: #f7fbff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.fields textarea { resize: vertical; }
.wide, .services { grid-column: 1 / -1; }
.services { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; margin: 0; }
.services legend { font-weight: 700; font-size: .875rem; margin-bottom: 7px; }
.services label, .date-flex { display: inline-flex !important; flex-direction: row; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.services input, .date-flex input { min-height: 0; height: 15px; width: 15px; }
.form-error { margin: 15px 0 0; color: #9e3121; font-size: .9375rem; }
.confirmation { padding: 26px 0; }
.confirmation-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 13px; border-radius: 50%; background: #e4f4ff; color: #075a9d; font-size: 1.5rem; font-weight: 800; }
.confirmation p { margin: 0; color: var(--muted); line-height: 1.5; }
.reviews { margin-top: 15px; padding: clamp(13px, 2.3vw, 26px); border: 1px solid #dce8f3; border-radius: 24px; background: #eaf4fd; }
.reviews-header { display: flex; justify-content: space-between; align-items: end; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 7px; }
.section-label { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #075a9d; font-size: .875rem; font-weight: 800; }
.reviews h2 { margin: 0; line-height: 1.05; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.048em; }
.all-reviews { display: inline-flex; align-items: center; min-height: 44px; color: #075a9d; text-underline-offset: 3px; font-size: .875rem; font-weight: 750; }
.reviews-note { margin: 0 0 12px; color: var(--muted); line-height: 1.35; font-size: .875rem; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.review-card { display: flex; flex-direction: column; min-width: 0; gap: 7px; padding: 12px; border: 1px solid #d6e5f2; border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.review-card:hover { border-color: #2798ea; background: #f7fbff; }
.review-author { font-size: .94rem; line-height: 1.16; overflow-wrap: anywhere; }
.review-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }
.review-card .stars { font-size: .83rem; }
.review-meta time { color: var(--muted); font-size: .8125rem; }
.review-card p { margin: 0; line-height: 1.35; font-size: .9rem; }
.review-media { display: flex; align-items: center; gap: 8px; min-height: 48px; margin-top: auto; color: #075a9d; font-size: .85rem; font-weight: 750; }
.review-media img { width: 64px; height: 46px; flex: none; object-fit: cover; border-radius: 7px; background: #d6e5f2; }
.media-label { padding: 4px 7px; border-radius: 5px; background: #e0f0fd; }
.review-link { margin-top: auto; color: #075a9d; text-decoration: underline; text-underline-offset: 3px; font-size: .825rem; font-weight: 750; }
.review-media + .review-link { margin-top: 0; }
.more-reviews { margin-top: 10px; }
.more-reviews summary { display: flex; width: fit-content; align-items: center; min-height: 44px; margin: 0 auto; padding: 8px 15px; border: 1px solid #b6d5ee; border-radius: 9px; background: #fff; color: #075a9d; font-size: .875rem; font-weight: 750; cursor: pointer; }
.more-reviews summary::marker { content: ""; }
.more-reviews summary::-webkit-details-marker { display: none; }
.more-reviews summary:hover { background: #f7fbff; }
.more-reviews summary:focus-visible { outline: 3px solid #007bce; outline-offset: 3px; }
.more-reviews[open] .review-grid { margin-top: 10px; }
.more-reviews:not([open]) > .review-grid { display: none; }
.more-reviews[open] .expand-reviews, .more-reviews:not([open]) .collapse-reviews { display: none; }
footer { padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .875rem; }
footer div { display: flex; gap: 17px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: none; } }
@keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 950px) { .top, main, footer { width: calc(100% - 36px); } .hero { min-height: 585px; } .rating-action { display: none; } .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .top, main, footer { width: calc(100% - 24px); }
  .top { min-height: 64px; gap: 8px; }
  .wordmark { font-size: 1.08rem; }
  .wordmark img { width: 42px; height: 42px; }
  .phone { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .phone span { display: none; }
  .layout { grid-template-columns: 1fr; gap: 9px; }
  .hero, .quiz { border-radius: 19px; }
  .hero { min-height: 0; }
  .hero-copy { min-height: 130px; padding: 16px 14px 13px; }
  .hero-copy > p:last-child { max-width: 16ch; font-size: .9375rem; line-height: 1.22; }
  .team-photo { inset: 0 0 auto auto; width: 69%; height: 151px; object-position: 53% center; }
  .hero::before { background: linear-gradient(90deg,#092238 12%,#092238f0 33%,#0922382e 82%); }
  .eyebrow { margin-bottom: 7px; font-size: .75rem; }
  h1 { max-width: 11ch; margin-bottom: 7px; font-size: clamp(1.72rem, 6vw, 2.4rem); line-height: 1; }
  h1 br { display: none; }
  .rating { margin: 0; border: 0; border-top: 1px solid #ffffff28; border-radius: 0; padding: 7px 12px; gap: 8px; min-height: 50px; background: #092238; }
  .rating:hover { transform: none; }
  .rating-action { display: inline; font-size: .78rem; }
  .rating-label { font-size: .8rem; }
  .quiz { padding: 16px 14px; }
  .progress { margin-bottom: 17px; }
  .progress li { gap: 5px; }
  .step > p { margin-bottom: 13px; }
  .option { min-height: 77px; padding: 10px; }
  .option:not(:last-child) small { display: none; }
  .controls { padding-top: 14px; }
  .reviews { margin-top: 9px; border-radius: 19px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .review-card { padding: 9px; }
  .review-media { gap: 5px; }
  .review-media img { width: 45px; height: 36px; }
  .review-link { font-size: .8rem; }
}
@media (max-width: 400px) {
  .fields { grid-template-columns: 1fr; }
  .option strong { padding-right: 9px; }
}
@media (max-width: 360px) {
  .top { min-height: 58px; }
  .hero-copy { min-height: 108px; padding: 12px; }
  .hero-copy > p:last-child { max-width: none; }
  .team-photo { height: 119px; }
  h1 { font-size: 1.55rem; }
  .quiz { padding: 13px 11px; }
  .progress { margin-bottom: 12px; }
  .step h2 { font-size: 1.54rem; }
  .option { min-height: 67px; padding: 8px; }
  .option small { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
