:root {
  --navy: #0b2945;
  --blue: #0753a6;
  --glacier: #8fb7c8;
  --champagne: #c29e5e;
  --ivory: #faf8f3;
  --ink: #1b3042;
  --muted: #5a6a76;
  --line: #dce7eb;
  --white: #fff;
  --shadow: 0 24px 70px rgba(11, 41, 69, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(143,183,200,.18), transparent 28rem),
    var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { display: block; width: min(340px, 64vw); height: auto; }
.trust { color: var(--blue); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

main { max-width: 1120px; margin: 0 auto; padding: 20px 24px 70px; }
.intro { max-width: 820px; padding: 50px 0 44px; }
.eyebrow { color: var(--champagne); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: 14px; }
h1 {
  margin: 14px 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 78px);
  line-height: .98;
  letter-spacing: -.035em;
}
h1 span { color: var(--blue); }
.intro > p { max-width: 710px; font-size: clamp(19px, 2.5vw, 25px); color: var(--muted); }
.promise-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; color: var(--navy); font-weight: 700; }

.form-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(143,183,200,.55);
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.form-shell::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: linear-gradient(var(--champagne), var(--blue)); }
.form-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.form-heading.second { margin: 46px 0 24px; padding-top: 38px; border-top: 1px solid var(--line); }
.step-badge { display: grid; place-items: center; min-width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: white; font-weight: 850; }
.form-heading h2 { margin: 0; color: var(--navy); font: 700 clamp(25px, 4vw, 34px)/1.1 Georgia, serif; }
.form-heading p { margin: 5px 0 0; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label > span, legend { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 750; }
input, textarea {
  width: 100%;
  border: 1px solid #cbdce3;
  border-radius: 13px;
  background: #fbfdfe;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
input:focus, textarea:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(7,83,166,.1); }
textarea { resize: vertical; min-height: 118px; }
fieldset { border: 0; margin: 32px 0 0; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; place-items: center; min-height: 58px; margin: 0; padding: 12px; border: 1px solid #cbdce3; border-radius: 13px; background: #fbfdfe; text-align: center; transition: .18s; }
.choice input:checked + span { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 8px 20px rgba(7,83,166,.18); }
.choice input:focus-visible + span { outline: 3px solid rgba(7,83,166,.25); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin: 24px 0; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.consent span { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(110deg, var(--blue), var(--navy));
  color: white;
  padding: 18px 24px;
  font: 800 17px/1.2 inherit;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 14px 30px rgba(11,41,69,.22);
}
button[type="submit"] span { font-size: 22px; line-height: .8; }
button[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
.submit-note { margin: 14px auto 0; max-width: 680px; color: var(--muted); text-align: center; font-size: 13px; }

.service-note { margin: 56px 0 0; padding: 34px 0 0; text-align: center; }
.service-note .line { width: 90px; height: 3px; margin: 0 auto 22px; background: var(--champagne); }
.service-note p { margin: 0; color: var(--navy); font: 700 clamp(22px, 3vw, 31px)/1.25 Georgia, serif; }
.service-note strong { display: block; margin-top: 10px; color: var(--blue); }
footer { padding: 30px 24px; background: var(--navy); color: var(--glacier); display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; }
footer a { color: white; text-decoration: none; font-weight: 700; }

dialog { width: min(500px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 38px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.3); text-align: center; }
dialog::backdrop { background: rgba(5,22,37,.68); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 30px; color: var(--muted); cursor: pointer; }
.dialog-icon { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--blue); font-size: 28px; }
dialog h2 { margin: 0 0 12px; color: var(--navy); font-family: Georgia, serif; }
.dialog-action { display: block; margin-top: 22px; padding: 15px; border-radius: 12px; background: var(--navy); color: white; text-decoration: none; font-weight: 800; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .trust { display: none; }
  main { padding-inline: 16px; }
  .intro { padding: 34px 4px 30px; }
  .promise-row { display: grid; gap: 8px; font-size: 14px; }
  .form-shell { border-radius: 22px; }
  .grid.two { grid-template-columns: 1fr; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .form-heading { align-items: flex-start; }
  .step-badge { min-width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
