:root {
  --forest-950: #0b211d;
  --forest-900: #102f28;
  --forest-800: #153c33;
  --forest-700: #1e5548;
  --forest-100: #dce9e4;
  --burgundy: #a43a4a;
  --burgundy-dark: #872c3b;
  --ivory: #f5efe5;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --ink: #132621;
  --muted: #61716b;
  --line: #dfe5e1;
  --gold: #c5a56d;
  --white: #ffffff;
  --danger: #a32136;
  --success: #176c52;
  --shadow-sm: 0 8px 24px rgba(10, 33, 28, 0.08);
  --shadow-lg: 0 30px 80px rgba(8, 35, 29, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.1vw, 4rem);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest-900);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.96);
  border-color: rgba(21, 60, 51, 0.12);
  box-shadow: 0 7px 24px rgba(11, 33, 29, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  flex: 0 0 46px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(7, 29, 24, 0.16);
}

.brand .brand-logo {
  width: clamp(230px, 24vw, 300px);
  height: auto;
  flex: 0 1 auto;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand .brand-logo {
  width: min(100%, 300px);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand-copy small {
  margin-top: 4px;
  opacity: 0.72;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

.header-trust {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  opacity: 0.82;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #72d6a5;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(114, 214, 165, 0.14);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(197, 165, 109, 0.72);
  outline-offset: 3px;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 0.86rem;
}

.button-primary {
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 12px 28px rgba(164, 58, 74, 0.3);
}

.button-primary:hover {
  background: var(--burgundy-dark);
  box-shadow: 0 16px 34px rgba(164, 58, 74, 0.38);
}

.button-dark {
  color: var(--white);
  background: var(--forest-800);
}

.site-header:not(.scrolled) .button-dark {
  color: var(--forest-950);
  background: var(--ivory);
}

.button-light {
  color: var(--forest-950);
  background: var(--ivory);
}

.button-ghost {
  color: var(--forest-800);
  background: transparent;
  border-color: rgba(21, 60, 51, 0.18);
}

.button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 29, 24, 0.98) 0%, rgba(8, 29, 24, 0.91) 36%, rgba(8, 29, 24, 0.34) 67%, rgba(8, 29, 24, 0.16) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 1;
  top: 82px;
  bottom: 0;
  left: calc(50% - 590px);
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, 0.16), transparent 70%);
  content: "";
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 50% center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 790px;
  align-items: center;
  padding-block: 145px 115px;
}

.hero-copy {
  width: min(650px, 57%);
}

.eyebrow {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 2px;
  background: var(--burgundy);
}

.eyebrow-dark {
  color: var(--forest-700);
}

.eyebrow-light {
  color: #c9d9d3;
}

.hero h1 {
  max-width: 630px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 5.9vw, 5.55rem);
  text-wrap: balance;
}

.hero h1 em {
  color: #e6cba0;
  font-weight: inherit;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.microcopy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.microcopy svg {
  width: 22px;
  fill: none;
  stroke: #d6bd8d;
  stroke-width: 1.6;
}

.hero-proof {
  display: grid;
  max-width: 630px;
  margin-top: 50px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof > div {
  display: grid;
  padding: 22px 18px 0 0;
}

.hero-proof > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 32px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.signal-strip {
  color: var(--white);
  background: var(--forest-800);
}

.signal-grid {
  display: grid;
  min-height: 115px;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
}

.signal-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 30px;
}

.signal-grid > div:first-child {
  padding-left: 0;
}

.signal-grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--forest-900);
  background: var(--ivory);
  border-radius: 50%;
  font-size: 0.83rem;
  font-weight: 900;
}

.signal-grid strong,
.signal-grid small {
  display: block;
}

.signal-grid strong {
  font-size: 0.92rem;
}

.signal-grid small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.section {
  padding-block: 120px;
}

.two-column {
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: 0.88fr 1.12fr;
}

.section-copy > p,
.section-heading > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.note-card {
  display: flex;
  margin-top: 36px;
  gap: 14px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--burgundy);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}

.note-card svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--burgundy);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.eligibility-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.eligibility-list article {
  min-height: 250px;
  padding: 36px;
  background: var(--paper);
}

.eligibility-list article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.eligibility-list article:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.eligibility-list article > span {
  display: block;
  margin-bottom: 40px;
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.eligibility-list h3,
.service-grid h3,
.process-grid h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.eligibility-list p,
.service-grid p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.form-section::before {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(164, 58, 74, 0.2), transparent 68%);
  content: "";
}

.form-layout {
  position: relative;
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: 0.72fr 1.28fr;
}

.form-aside {
  position: sticky;
  top: 120px;
}

.form-aside h2 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
}

.form-aside > p {
  color: rgba(255, 255, 255, 0.65);
}

.mini-steps {
  display: grid;
  margin: 42px 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.mini-steps li {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: start;
  gap: 15px;
  color: rgba(255, 255, 255, 0.52);
}

.mini-steps li::after {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.mini-steps li:last-child::after {
  display: none;
}

.mini-steps li > span {
  display: grid;
  z-index: 1;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-steps li.active {
  color: var(--white);
}

.mini-steps li.active > span {
  color: var(--forest-950);
  background: var(--ivory);
  border-color: var(--ivory);
}

.mini-steps strong,
.mini-steps small {
  display: block;
}

.mini-steps strong {
  font-size: 0.9rem;
}

.mini-steps small {
  margin-top: 2px;
  opacity: 0.6;
  font-size: 0.75rem;
}

.form-aside blockquote {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.form-aside blockquote p {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
}

.form-aside blockquote footer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
}

.form-shell {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfa 0%, var(--paper) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-800), #d6bd8d 52%, var(--burgundy));
  content: "";
}

.form-topline {
  padding: 25px 32px 0;
}

.form-topline > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.form-step-title {
  margin: 7px 0 0;
  color: var(--forest-800);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 650;
}

.form-topline span {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.progress {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  background: #e8ece9;
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--forest-700), var(--burgundy));
  border-radius: inherit;
  transition: width 250ms ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}

.progress-labels span {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

#lead-form {
  padding: 38px 42px 28px;
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step[hidden] {
  display: none;
}

.form-step.active {
  animation: form-in 250ms ease both;
}

@keyframes form-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-step legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.field-help {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.86rem;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  background: #f8fbf9;
  border-color: var(--forest-700);
  box-shadow: 0 6px 20px rgba(21, 60, 51, 0.08);
}

.choice-card:has(input:checked) {
  box-shadow: inset 0 0 0 1px var(--forest-700), 0 8px 24px rgba(21, 60, 51, 0.11);
}

.choice-card input,
.choice-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border: 1px solid #bcc8c3;
  border-radius: 50%;
}

.choice-card input:checked + .choice-check {
  background: var(--forest-800);
  border: 5px solid var(--forest-100);
  box-shadow: 0 0 0 1px var(--forest-800);
}

.choice-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--burgundy);
  background: #f6e9eb;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 800;
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-size: 0.9rem;
}

.choice-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice-list label {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 12px 16px 12px 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.84rem;
  transition: border-color 160ms ease, background 160ms ease;
}

.choice-list label::before {
  position: absolute;
  left: 17px;
  width: 18px;
  height: 18px;
  border: 1px solid #aebdb7;
  border-radius: 50%;
  content: "";
}

.choice-list label:has(input:checked) {
  background: #f3f8f5;
  border-color: var(--forest-700);
}

.choice-list label:has(input:checked)::before {
  background: var(--forest-800);
  border: 5px solid var(--forest-100);
  box-shadow: 0 0 0 1px var(--forest-800);
}

.compact-choices .choice-card {
  min-height: 88px;
  text-align: left;
}

.select-field,
.input-grid label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 750;
}

.select-field {
  margin-top: 28px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #ccd6d1;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 86px;
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(30, 85, 72, 0.08);
}

.phone-field .iti {
  width: 100%;
  color: var(--ink);
  font-weight: 400;
  --iti-border-color: #ccd6d1;
  --iti-hover-color: rgba(30, 85, 72, 0.08);
  --iti-country-selector-bg: var(--white);
  --iti-icon-color: var(--forest-800);
}

.phone-field .iti__selected-country {
  min-width: 54px;
  touch-action: manipulation;
}

.phone-field .iti__selected-country-primary {
  padding-inline: 14px 9px;
  border-radius: 9px 0 0 9px;
}

.phone-field .iti__country-selector {
  width: min(390px, calc(100vw - 32px));
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(10, 34, 28, 0.22);
}

.phone-field .iti__search-input {
  height: 50px;
  font-size: 16px;
  border-radius: 13px 13px 0 0;
}

.phone-field .iti__country {
  min-height: 44px;
}

.phone-field.has-error .iti__tel-input,
.phone-field.has-error > input {
  border-color: #b33b4d;
  box-shadow: 0 0 0 4px rgba(179, 59, 77, 0.09);
}

.phone-field.is-valid .iti__tel-input,
.phone-field.is-valid > input {
  border-color: rgba(36, 123, 92, 0.65);
}

.phone-help {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.45;
}

.phone-preview {
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.45;
}

.input-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

.input-grid .full {
  grid-column: 1 / -1;
}

.input-grid label > span small {
  color: var(--muted);
  font-weight: 500;
}

.contact-assurance {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: var(--forest-900);
  background: rgba(224, 239, 232, 0.65);
  border: 1px solid rgba(36, 123, 92, 0.15);
  border-radius: 11px;
}

.contact-assurance > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.contact-assurance strong,
.contact-assurance small {
  display: block;
}

.contact-assurance strong {
  font-size: 0.76rem;
}

.contact-assurance small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.consent {
  display: flex;
  margin-top: 18px;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
  accent-color: var(--forest-800);
}

.text-button {
  display: inline;
  padding: 0;
  color: var(--burgundy);
  background: none;
  border: 0;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.button-wide {
  min-width: 190px;
}

.button.is-loading::before {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: currentColor;
  border-radius: 50%;
  content: "";
  animation: button-spin 700ms linear infinite;
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

.form-footnote {
  display: flex;
  margin: 18px 0 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.form-footnote svg {
  width: 16px;
  fill: none;
  stroke: var(--success);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-message {
  margin-bottom: 22px;
  padding: 12px 14px;
  color: var(--danger);
  background: #fff0f2;
  border: 1px solid #f2c9d0;
  border-radius: 10px;
  font-size: 0.82rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-grid article {
  min-height: 300px;
  padding: 34px 30px;
  background: var(--paper);
}

.service-grid article + article {
  border-left: 1px solid var(--line);
}

.service-grid article > span {
  display: block;
  margin-bottom: 70px;
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.process {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-800);
}

.process::after {
  position: absolute;
  inset: auto -10% -70% auto;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.6);
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-grid article {
  padding: 18px 50px 20px;
}

.process-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-grid article:first-child {
  padding-left: 0;
}

.process-grid strong {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  place-items: center;
  color: var(--forest-900);
  background: var(--ivory);
  border-radius: 50%;
  font-family: var(--font-serif);
}

.process-grid h3 {
  font-size: 1.65rem;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.6);
}

.legal-note {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 70px auto 0;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  align-items: stretch;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid blockquote {
  display: flex;
  min-height: 340px;
  margin: 0;
  flex-direction: column;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.testimonial-grid blockquote.featured {
  color: var(--white);
  background: var(--forest-800);
  border-color: var(--forest-800);
  transform: translateY(-16px);
  box-shadow: var(--shadow-lg);
}

.stars {
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.testimonial-grid blockquote p {
  margin-bottom: 36px;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.55;
}

.testimonial-grid blockquote footer {
  display: grid;
  margin-top: auto;
}

.testimonial-grid blockquote footer strong {
  font-size: 0.82rem;
}

.testimonial-grid blockquote footer span {
  color: var(--muted);
  font-size: 0.72rem;
}

.testimonial-grid .featured footer span {
  color: rgba(255, 255, 255, 0.54);
}

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  align-items: start;
  gap: 100px;
  grid-template-columns: 0.78fr 1.22fr;
}

.faq .section-copy {
  position: sticky;
  top: 120px;
}

.faq .section-copy .button {
  margin-top: 20px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  color: var(--burgundy);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 160ms ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 90%;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.final-cta {
  color: var(--white);
  background: var(--burgundy);
}

.final-cta-inner {
  display: flex;
  min-height: 290px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.final-cta h2 {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}

.final-cta .button span {
  font-size: inherit;
  letter-spacing: 0;
}

.site-footer {
  padding: 70px 0 28px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--forest-950);
}

.footer-grid {
  display: grid;
  align-items: center;
  gap: 50px;
  grid-template-columns: 1fr 1.2fr 0.7fr;
}

.footer-grid > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

.footer-contact {
  display: grid;
  justify-self: end;
  text-align: right;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.footer-contact strong {
  margin-top: 5px;
  color: var(--white);
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  margin-top: 55px;
  padding-top: 22px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.58);
}

.mobile-cta {
  display: none;
}

.meta-consent {
  position: fixed;
  z-index: 220;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  width: min(calc(100% - 48px), 960px);
  margin-inline: auto;
  padding: 20px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: rgba(11, 33, 29, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(5, 22, 18, 0.4);
  backdrop-filter: blur(18px);
}

.meta-consent strong {
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.meta-consent p {
  max-width: 650px;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.5;
}

.meta-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.meta-consent .button {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.78rem;
}

.meta-consent .button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.privacy-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.privacy-dialog::backdrop {
  background: rgba(5, 23, 19, 0.76);
  backdrop-filter: blur(5px);
}

.dialog-head {
  display: flex;
  padding: 26px 28px;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font-size: 1.65rem;
}

.dialog-head button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--muted);
  background: #edf2ef;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.dialog-body {
  max-height: 500px;
  overflow: auto;
  padding: 26px 28px;
  color: var(--muted);
  font-size: 0.84rem;
}

.dialog-body h3 {
  margin: 24px 0 6px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.dialog-note {
  padding: 14px;
  color: #694d23;
  background: #fff7e8;
  border-radius: 10px;
}

.dialog-close-button {
  margin: 0 28px 26px auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .header-trust,
  .hero-note {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-copy {
    width: 66%;
  }

  .two-column,
  .form-layout,
  .faq-layout {
    gap: 55px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid article:nth-child(3) {
    border-left: 0;
  }

  .service-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header,
  .site-header.scrolled {
    color: var(--ink);
    background: rgba(255, 253, 249, 0.96);
    border-color: rgba(21, 60, 51, 0.12);
    box-shadow: 0 7px 24px rgba(11, 33, 29, 0.08);
  }

  .header-inner {
    min-height: 70px;
  }

  .header-inner > .button {
    display: none;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand .brand-logo {
    width: min(68vw, 235px);
    height: auto;
  }

  .hero {
    min-height: 870px;
    padding-top: 70px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 29, 24, 0.5) 0%, rgba(8, 29, 24, 0.62) 43%, rgba(8, 29, 24, 0.95) 72%, rgba(8, 29, 24, 0.99) 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-media,
  .hero-media img {
    height: 56%;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-inner {
    min-height: 800px;
    align-items: flex-end;
    padding-block: 250px 60px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.9rem, 11vw, 4.8rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .signal-grid {
    padding-block: 20px;
    grid-template-columns: 1fr;
  }

  .signal-grid > div,
  .signal-grid > div:first-child {
    padding: 14px 0;
  }

  .signal-grid > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .section {
    padding-block: 85px;
  }

  .two-column,
  .form-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .form-aside,
  .faq .section-copy {
    position: static;
  }

  .form-aside blockquote {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .process-grid article:first-child {
    display: grid;
    padding: 28px 0;
    gap: 5px 18px;
    grid-template-columns: 52px 1fr;
  }

  .process-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .process-grid strong {
    margin: 0;
    grid-row: 1 / 3;
  }

  .process-grid h3,
  .process-grid p {
    grid-column: 2;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid blockquote {
    min-height: 0;
  }

  .testimonial-grid blockquote.featured {
    transform: none;
  }

  .final-cta-inner {
    min-height: 350px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    display: flex;
    min-height: 54px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(130%);
    box-shadow: 0 12px 35px rgba(88, 23, 33, 0.42);
  }

  .mobile-cta.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .meta-consent {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    width: auto;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .meta-consent-actions .button {
    flex: 1;
  }

  .iti--fullscreen-popup.iti--detached-country-selector {
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  h2 {
    font-size: clamp(2.1rem, 11vw, 2.55rem);
  }

  .hero {
    min-height: 880px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.25rem);
  }

  .header-trust {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 38px;
  }

  .hero-proof > div,
  .hero-proof > div + div {
    padding: 18px 9px 0;
  }

  .hero-proof > div:first-child {
    padding-left: 0;
  }

  .hero-proof strong {
    font-size: 1.08rem;
  }

  .hero-proof span {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .eligibility-list {
    grid-template-columns: 1fr;
  }

  .eligibility-list article {
    display: grid;
    min-height: 0;
    padding: 26px;
    gap: 6px 20px;
    grid-template-columns: 34px 1fr;
  }

  .eligibility-list article:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .eligibility-list article:last-child {
    border-bottom: 0;
  }

  .eligibility-list article > span {
    margin: 0;
  }

  .form-layout {
    gap: 38px;
  }

  .mini-steps {
    margin-bottom: 0;
  }

  .form-shell {
    margin-inline: -8px;
    border-radius: 22px;
  }

  .form-topline {
    padding: 22px 20px 0;
  }

  #lead-form {
    padding: 30px 20px 22px;
  }

  .choice-grid-2,
  .choice-grid-3,
  .input-grid {
    grid-template-columns: 1fr;
  }

  .input-grid .full {
    grid-column: auto;
  }

  .choice-card {
    min-height: 88px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
    min-height: 54px;
  }

  .choice-card,
  .choice-list label,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select {
    min-height: 52px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
    padding: 28px;
  }

  .service-grid article:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .service-grid article:last-child {
    border-bottom: 0;
  }

  .service-grid article > span {
    margin-bottom: 34px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
