@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Variables ── */
:root {
  --navy:      #1b3358;
  --navy-deep: #0f2040;
  --teal:      #3aafa9;
  --teal-lt:   #e6f7f6;
  --gold:      #c9a84c;
  --bg:        #f0f4f8;
  --surface:   #ffffff;
  --text:      #1e2d3d;
  --muted:     #637b95;
  --border:    #d8e2ec;
  --rad:       14px;
  --sh-sm:     0 2px 8px rgba(27,51,88,.08);
  --sh-md:     0 10px 36px rgba(27,51,88,.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ════════════════════════════
   NAV
════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(16px,4vw,48px);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  height: 66px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg,var(--navy),var(--teal));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center; color:#fff;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing:-.1px;
}
.nav-logo-text span { color: var(--teal); }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-links a {
  color: var(--text); font-size:.9rem; font-weight:500;
  padding: 7px 13px; border-radius: 8px;
  transition: background .15s, color .15s; text-decoration:none;
}
.nav-links a:hover { background: var(--teal-lt); color: var(--teal); }
.nav-cta {
  background: var(--navy) !important; color:#fff !important;
  border-radius: 999px !important; padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--teal) !important; }
@media(max-width:700px){ .nav-links { display:none; } }

/* ════════════════════════════
   FORM PAGE LAYOUT
════════════════════════════ */
.form-page { min-height: 100vh; display: flex; flex-direction: column; }

.form-wrap {
  flex: 1;
  max-width: 760px; margin: 40px auto 60px;
  padding: 0 16px; width: 100%;
}
.form-wrap.wide { max-width: 980px; }

/* Card */
.form-card {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Header strip */
.form-card-head {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1f3e6a 100%);
  padding: 30px 36px;
  color: #fff;
}
.form-card-head .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14); border-radius: 999px;
  padding: 3px 12px; font-size:.78rem; font-weight:600;
  letter-spacing:.04em; margin-bottom:14px;
}
.form-card-head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem,3vw,2rem); font-weight:700; margin-bottom:6px;
}
.form-card-head p { opacity:.8; font-size:.93rem; }

/* Body */
.form-card-body { padding: 36px; }
@media(max-width:520px){
  .form-card-head { padding: 22px 18px; }
  .form-card-body { padding: 20px 16px; }
}

/* ════════════════════════════
   FIELD STYLES
   (override the plain HTML from original forms)
════════════════════════════ */
.form-card-body label {
  display: block;
  font-weight: 600; font-size: .93rem;
  color: var(--navy);
  margin-top: 18px; margin-bottom: 6px;
}
/* first label in a card doesn't need top margin */
.form-card-body label:first-child { margin-top: 0; }

.form-card-body input[type="text"],
.form-card-body input[type="email"],
.form-card-body input[type="number"],
.form-card-body input[type="date"],
.form-card-body textarea,
.form-card-body select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .96rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .17s, box-shadow .17s;
  -webkit-appearance: none; appearance: none;
}
.form-card-body select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23637b95' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-card-body textarea { min-height: 110px; resize: vertical; }
.form-card-body input:focus,
.form-card-body select:focus,
.form-card-body textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58,175,169,.15);
}

/* Checkbox / radio rows */
.form-card-body input[type="checkbox"],
.form-card-body input[type="radio"] {
  width: auto; padding: 0; border: none; box-shadow: none;
  transform: scale(1.2);
  accent-color: var(--teal);
  margin-right: 6px;
  vertical-align: middle;
}
/* Labels that wrap checkboxes sit inline */
.form-card-body div > label {
  display: inline-flex; align-items: center;
  margin-top: 8px; margin-right: 4px;
  font-weight: 500;
  padding: 7px 13px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: .89rem;
}
.form-card-body div > label:hover { border-color: var(--teal); background: var(--teal-lt); }
.form-card-body div > label:has(input:checked) {
  border-color: var(--teal); background: var(--teal-lt); color: var(--navy);
}

/* Terms scrollbox */
.form-card-body [style*="overflow-y:scroll"],
.form-card-body [style*="overflow-y: scroll"] {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  padding: 14px !important;
  font-size: .88rem !important;
  color: var(--muted);
  line-height: 1.7;
}

/* Submit button */
.form-card-body button[type="submit"] {
  display: block; width: 100%;
  margin-top: 28px;
  padding: 14px 24px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .18s, transform .1s, box-shadow .18s;
  letter-spacing: .02em;
}
.form-card-body button[type="submit"]:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(58,175,169,.3);
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.7);
  padding: 44px clamp(16px,4vw,48px) 22px;
}
.footer-inner { max-width:1160px; margin:0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
@media(max-width:700px){ .footer-grid { grid-template-columns:1fr; gap:24px; } }
.footer-brand p { margin-top:12px; font-size:.9rem; line-height:1.7; max-width:300px; }
.footer-col h4 {
  color:#fff; font-size:.8rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px;
}
.footer-col ul { list-style:none; display:grid; gap:7px; }
.footer-col a { color:rgba(255,255,255,.62); font-size:.9rem; transition:color .14s; }
.footer-col a:hover { color: var(--teal); text-decoration:none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; font-size:.82rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px;
}
