  :root {
    --navy: #14306b;
    --blue: #1f4fa3;
    --blue-light: #e9effa;
    --gold: #f2b21b;
    --gold-dark: #d99a00;
    --bg: #f3f5fa;
    --card: #ffffff;
    --text: #1d2433;
    --muted: #5d6779;
    --border: #cdd4e2;
    --error: #d93a3f;
    --radius: 12px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
  }

  /* ---------- Hero ---------- */
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff;
    padding: 28px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 6px;
    background: var(--gold);
  }
  .hero img { width: 170px; height: auto; display: block; margin: 0 auto 18px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
  .hero h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
  .hero h1 span { color: var(--gold); }
  .hero p { margin: 0 auto; max-width: 560px; font-size: 17px; line-height: 1.5; color: #dbe4f7; }
  .badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    padding: 8px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
  }
  .badge svg { width: 16px; height: 16px; color: var(--gold); }

  /* ---------- Layout ---------- */
  .wrap {
    max-width: 1140px;
    margin: -88px auto 0;
    padding: 0 20px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
    position: relative;
  }
  @media (max-width: 960px) {
    .wrap { grid-template-columns: 1fr; max-width: 720px; }
  }

  .card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(20,48,107,.12), 0 2px 6px rgba(20,48,107,.06);
    overflow: hidden;
  }

  /* ---------- Form ---------- */
  .form-head {
    padding: 28px 36px 22px;
    border-bottom: 1px solid #e7ebf3;
  }
  .form-head h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--navy); }
  .form-head p { margin: 0; color: var(--muted); font-size: 15px; }
  form { padding: 12px 36px 36px; }
  @media (max-width: 560px) {
    .form-head { padding: 24px 22px 18px; }
    form { padding: 8px 22px 28px; }
  }
  .field { padding: 14px 0; }
  .label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
  .req { color: var(--error); margin-left: 3px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 340px) { .row { grid-template-columns: 1fr; } }
  .sub { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
  input[type=text], input[type=tel] {
    width: 100%; height: 46px; padding: 0 14px;
    font: inherit; font-size: 15px; color: var(--text);
    background: #fbfcfe;
    border: 1px solid var(--border); border-radius: 8px;
    outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
  }
  input[type=text]::placeholder, input[type=tel]::placeholder { color: #9aa3b5; }
  input[type=text]:hover, input[type=tel]:hover { border-color: var(--blue); }
  input[type=text]:focus, input[type=tel]:focus {
    background: #fff; border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(31,79,163,.15);
  }
  .narrow { max-width: 320px; }
  hr.sep { border: 0; border-top: 1px solid #edf0f6; margin: 8px 0; }

  .options { display: grid; gap: 10px; }
  .options.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (max-width: 560px) { .options.stack-sm { grid-template-columns: 1fr; } }
  .opt {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border); border-radius: 8px;
    cursor: pointer; font-size: 15px; background: #fff;
    transition: border-color .15s, background .15s;
  }
  .opt:hover { border-color: var(--blue); }
  .opt:has(input:checked) { border-color: var(--blue); background: var(--blue-light); }
  .opt input {
    appearance: none; margin: 0;
    width: 20px; height: 20px; flex: 0 0 20px;
    border: 1.5px solid #aab3c5; border-radius: 5px;
    display: grid; place-content: center; cursor: pointer;
    transition: border-color .15s, background .15s;
  }
  .opt input[type=radio] { border-radius: 50%; }
  .opt input:checked { background: var(--blue); border-color: var(--blue); }
  .opt input[type=checkbox]:checked::after {
    content: ""; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
  }
  .opt input[type=radio]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
  .opt input:focus-visible { box-shadow: 0 0 0 4px rgba(31,79,163,.2); outline: none; }

  .error-msg { display: none; color: var(--error); font-size: 13px; margin-top: 6px; }
  .field.invalid .error-msg { display: block; }
  .field.invalid input[type=text], .field.invalid input[type=tel] { border-color: var(--error); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .actions { padding-top: 20px; }
  button[type=submit] {
    width: 100%;
    background: var(--gold); color: var(--navy);
    font: inherit; font-size: 18px; font-weight: 800; letter-spacing: .2px;
    border: 0; border-radius: 10px; padding: 18px 24px; cursor: pointer;
    box-shadow: 0 6px 16px rgba(242,178,27,.35);
    transition: background .15s, transform .1s;
  }
  button[type=submit]:hover { background: var(--gold-dark); }
  button[type=submit]:active { transform: translateY(1px); }
  button[type=submit]:disabled { opacity: .6; cursor: wait; }
  .privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .privacy svg { width: 14px; height: 14px; }
  .submit-error { display: none; color: var(--error); margin-top: 12px; font-size: 14px; text-align: center; }

  .thanks { display: none; text-align: center; padding: 64px 32px 72px; }
  .thanks .check {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
    background: var(--blue-light); color: var(--blue); display: grid; place-content: center;
  }
  .thanks .check svg { width: 32px; height: 32px; }
  .thanks h2 { font-size: 26px; margin: 0 0 10px; color: var(--navy); }
  .thanks p { color: var(--muted); font-size: 16px; margin: 0; }

  /* ---------- Testimonials ---------- */
  aside { position: sticky; top: 20px; display: grid; gap: 20px; }
  @media (max-width: 960px) { aside { position: static; } }
  .reviews-head {
    background: var(--navy); color: #fff;
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .reviews-head h3 { margin: 0; font-size: 19px; font-weight: 700; }
  .reviews-head small { display: block; color: #b9c7e6; font-size: 13px; margin-top: 2px; }
  .nav { display: flex; gap: 8px; }
  .nav button {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
    cursor: pointer; display: grid; place-content: center; transition: background .15s;
  }
  .nav button:hover { background: rgba(255,255,255,.15); }
  .nav svg { width: 16px; height: 16px; }

  .slides { display: grid; padding: 26px 26px 18px; touch-action: pan-y; }
  .slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .4s ease, transform .4s ease; transform: translateY(6px); }
  .slide.active { visibility: visible; opacity: 1; transform: none; }
  @keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .qmark { font-family: Georgia, serif; font-size: 64px; line-height: .6; color: var(--gold); height: 30px; }
  .slide blockquote { margin: 0 0 20px; font-size: 15.5px; line-height: 1.65; color: #2c3447; }
  .who { display: flex; align-items: center; gap: 12px; }
  .avatar {
    width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
    background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
    display: grid; place-content: center;
  }
  .who strong { display: block; font-size: 15px; color: var(--navy); }
  .who span { font-size: 13px; color: var(--muted); }
  .dots { display: flex; justify-content: center; gap: 4px; padding: 0 0 14px; }
  /* 32px tap area around each small dot */
  .dots button {
    width: 32px; height: 32px; border: 0; padding: 0; background: none;
    cursor: pointer; display: grid; place-items: center;
  }
  .dots button::before {
    content: ""; width: 8px; height: 8px; border-radius: 999px;
    background: #ccd4e4; transition: width .2s, background .2s;
  }
  .dots button.active { width: 40px; }
  .dots button.active::before { width: 24px; background: var(--blue); }

  .why { padding: 22px 24px; }
  .why h3 { margin: 0 0 14px; font-size: 17px; color: var(--navy); }
  .why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .why li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
  .why li svg { flex: 0 0 20px; width: 20px; height: 20px; color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; }

  /* ---------- Address autocomplete ---------- */
  .ac { position: relative; }
  .ac input[type=text] { padding-left: 40px; }
  .ac-pin { position: absolute; left: 13px; top: 13px; width: 20px; height: 20px; color: #8d97ab; pointer-events: none; }
  .ac-list {
    position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
    margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 12px 28px rgba(20,48,107,.16);
    max-height: 360px; overflow-y: auto;
  }
  .ac-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 7px; cursor: pointer; font-size: 15px; line-height: 1.3;
  }
  .ac-list li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--blue); }
  .ac-list li small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
  .ac-list li[aria-selected=true], .ac-list li:hover { background: var(--blue-light); }
  .ac-list .ac-note { cursor: default; color: var(--muted); font-size: 13px; }
  .ac-list .ac-note:hover { background: none; }
  .ac-list .ac-credit { cursor: default; justify-content: flex-end; font-size: 11px; color: #9aa3b5; padding: 4px 8px 2px; }
  .ac-list .ac-credit:hover { background: none; }

  /* ---------- Phones ---------- */
  body { -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
  button, .opt, .ac-list li { touch-action: manipulation; }
  @media (max-width: 600px) {
    .hero { padding: 20px 16px 84px; }
    .hero img { width: 116px; margin-bottom: 12px; }
    .hero h1 { font-size: 26px; line-height: 1.2; }
    .hero p { font-size: 15px; }
    .badges { gap: 6px; margin-top: 16px; }
    .badge { padding: 6px 11px; font-size: 13px; }
    .wrap { margin-top: -60px; padding: 0 12px calc(40px + env(safe-area-inset-bottom)); gap: 18px; }
    .form-head h2 { font-size: 21px; }
    .field { padding: 12px 0; }
    /* 16px stops iPhone from zooming in when a field is tapped */
    input[type=text], input[type=tel] { font-size: 16px; height: 50px; }
    .narrow { max-width: none; }
    .opt { min-height: 50px; font-size: 16px; }
    button[type=submit] { padding: 18px 16px; font-size: 18px; }
    .reviews-head { padding: 16px 18px; }
    .reviews-head h3 { font-size: 18px; }
    .nav button { width: 42px; height: 42px; }
    .slides { padding: 22px 20px 16px; }
    .slide blockquote { font-size: 15px; line-height: 1.6; }
    .dots button::before { width: 10px; height: 10px; }
    .dots button.active::before { width: 26px; }
    .why { padding: 20px 18px; }
    .ac-list { max-height: 42vh; }
    .ac-list li { padding: 12px; }
  }
  @media (max-width: 360px) {
    .hero h1 { font-size: 23px; }
    .badge svg { display: none; }
    .wrap { padding-left: 8px; padding-right: 8px; }
  }
