:root {
  --navy: #073b4c;
  --blue: #0b6e8e;
  --turquoise: #16a6a1;
  --sand: #f7f1e8;
  --green: #2d7d59;
  --yellow: #ffd166;
  --text: #17333c;
  --muted: #6b7d82;
  --white: #ffffff;
  --border: #dbe7e8;
  --danger: #a92929;
  --success: #226c48;
  --shadow: 0 20px 60px rgba(7, 59, 76, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: #fbfdfd;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

.hero {
  min-height: 700px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7,59,76,.96), rgba(11,110,142,.82)),
    radial-gradient(circle at top right, rgba(22,166,161,.55), transparent 35%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -150px;
  bottom: -230px;
  background: rgba(255,255,255,.08);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand-mark { font-size: 30px; }
.hero-content {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 64px;
  align-items: center;
  min-height: 560px;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.02;
  margin: 14px 0 22px;
  max-width: 850px;
}
.hero-copy p {
  font-size: 18px;
  max-width: 720px;
  opacity: .92;
}
.eyebrow {
  display: inline-block;
  color: var(--turquoise);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero .eyebrow { color: var(--yellow); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 14px; opacity: .9; }
.hero-card {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-card-icon { font-size: 54px; }
.hero-card h3 { font-size: 25px; margin-bottom: 8px; }

.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.6); }
.btn-full { width: 100%; font-size: 16px; min-height: 56px; }

.section { padding: 86px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-heading h2, .form-intro h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  margin: 12px 0;
}
.section-heading p, .form-intro > p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(7,59,76,.06);
}
.step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #e8f7f6;
  color: var(--green);
  font-weight: 800;
}
.step-card h3 { margin-bottom: 8px; }

.section-form {
  background: linear-gradient(180deg, #f2f8f8, #fbfdfd);
}
.form-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 46px;
  align-items: start;
}
.form-intro { position: sticky; top: 24px; }
.info-card {
  margin-top: 28px;
  padding: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
}
.info-card h3 { margin-top: 0; }
.info-card ul { padding-left: 20px; margin-bottom: 0; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}
fieldset {
  border: 0;
  padding: 0 0 30px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--border);
}
legend {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
}
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cadadd;
  border-radius: 11px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(22,166,161,.1);
}
textarea { resize: vertical; }
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.check, .consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
}
.check {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.check input, .consent input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--turquoise);
}
.consent { margin-bottom: 14px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.field-error { color: var(--danger); }
.hidden { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
}
.alert-error { background: #fff0f0; color: var(--danger); }
.alert-success { background: #eefaf4; color: var(--success); }

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer p { margin: 4px 0 0; opacity: .75; font-size: 13px; }
.footer span { opacity: .75; font-size: 13px; }

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.thank-you-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.thank-you-card {
  max-width: 650px;
  background: var(--white);
  border-radius: 26px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.thank-you-card h1 { font-size: 48px; margin: 12px 0; }
.thank-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f8ef;
  color: var(--green);
  font-size: 40px;
  font-weight: 800;
}
.thank-note {
  background: var(--sand);
  border-radius: 12px;
  padding: 15px;
  margin: 24px 0;
}

@media (max-width: 900px) {
  .hero-content, .form-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding: 60px 0 80px; }
  .hero-card { max-width: 560px; }
  .form-intro { position: static; }
  .steps { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .nav { min-height: 74px; }
  .nav .btn { display: none; }
  .brand { font-size: 14px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .form-card { padding: 22px; border-radius: 18px; }
  .grid.two, .checkbox-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .thank-you-card { padding: 32px 22px; }
  .thank-you-card h1 { font-size: 38px; }
}
