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

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1f6e;
  --blue:   #1a3a9e;
  --mid:    #2550d0;
  --light:  #8AADFF;
  --pale:   #EEF3FF;
  --pale2:  #DDE8FF;
  --text:   #1a1a2e;
  --muted:  #6680B8;
  --border: #d0dcfa;
  --white:  #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(13,31,110,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: #f4f7ff;
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.nav-logo {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px; font-style: italic;
  color: var(--light); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: #fff; font-style: normal; font-size: 13px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(138,173,255,.18);
  color: #fff;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #0d1f6e 0%, #1a3a9e 55%, #2550d0 100%);
  padding: 72px 24px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 80px solid rgba(255,255,255,.04);
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 55px solid rgba(255,255,255,.035);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 20px; display: block;
}
.hero h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700; color: #fff; line-height: 1.13;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--light); }
.hero-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.7; max-width: 540px; margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all .18s;
  cursor: pointer; border: none;
}
.btn-primary {
  background: #fff; color: var(--navy);
}
.btn-primary:hover { background: var(--pale2); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff; border: 1px solid rgba(255,255,255,.3);
}
.btn-outline:hover { background: rgba(255,255,255,.22); }

/* ── CONDITION BANNER ── */
.condition {
  background: rgba(138,173,255,.13);
  border: 1px solid rgba(138,173,255,.28);
  border-radius: 8px; padding: 16px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 620px; margin: 32px auto 0;
  position: relative; z-index: 2;
}
.condition svg { flex-shrink: 0; margin-top: 2px; }
.condition p { font-size: 14.5px; color: rgba(255,255,255,.86); line-height: 1.6; }
.condition p strong { color: #fff; }

/* ── MAIN CONTENT ── */
.page-content { max-width: 860px; margin: 0 auto; padding: 52px 24px 80px; }

/* ── GRID CARDS ── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 48px;
}
.info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
  border-top: 3px solid var(--mid);
}
.info-card .val { font-size: 26px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.info-card .lbl { font-size: 13px; color: var(--muted); margin-top: 5px; }
.info-card.accent { background: var(--navy); border-top-color: var(--light); }
.info-card.accent .val { color: #fff; }
.info-card.accent .lbl { color: rgba(138,173,255,.7); }

/* ── SECTION HEADINGS ── */
.sec-label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.sec-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 26px; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; line-height: 1.25;
}
.section { margin-bottom: 48px; }

/* ── PROSE ── */
.prose { font-size: 16px; line-height: 1.8; color: #333; }
.prose p { margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }
.prose ul { margin: 10px 0 14px 22px; }
.prose ul li { margin-bottom: 6px; }

/* ── CARDS SECTION ── */
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
@media (max-width: 560px) { .card-row { grid-template-columns: 1fr; } }
.content-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.content-card h4 {
  font-size: 14px; font-weight: 600; color: var(--navy);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em;
}
.content-card p { font-size: 14.5px; color: #555; line-height: 1.65; }

/* ── GROUP CARDS ── */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 20px 0 32px; }
.group-card {
  background: var(--pale); border-radius: var(--radius);
  padding: 20px 18px; border-left: 4px solid var(--mid);
}
.group-card.active { background: var(--navy); border-left-color: var(--light); }
.group-card.active h4, .group-card.active p { color: rgba(255,255,255,.9); }
.group-card h4 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.group-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── FORM ── */
.form-wrapper {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow); max-width: 640px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--navy); margin-bottom: 7px;
}
.form-group label .req { color: var(--mid); margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: #fff; transition: border-color .18s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--mid);
  box-shadow: 0 0 0 3px rgba(37,80,208,.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.consent-block {
  background: var(--pale); border-radius: 8px;
  padding: 20px 22px; margin-bottom: 22px;
}
.consent-block h4 {
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.checkbox-row {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
}
.checkbox-row:last-child { margin-bottom: 0; }
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--mid); cursor: pointer;
}
.checkbox-row label { font-size: 14px; color: #444; line-height: 1.55; cursor: pointer; }
.checkbox-row label strong { color: var(--navy); }

.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

.btn-submit {
  width: 100%; padding: 15px;
  background: var(--navy); color: #fff;
  font-size: 16px; font-weight: 500;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .18s, transform .14s;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); }

/* ── SUCCESS ── */
#form-success {
  display: none;
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: 10px; padding: 28px; text-align: center;
}
#form-success h3 { color: #2e7d32; margin-bottom: 8px; }
#form-success p { color: #388e3c; font-size: 15px; }

/* ── DOWNLOAD CARDS ── */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.download-card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  border-top: 3px solid var(--mid);
}
.download-card .dc-icon {
  width: 48px; height: 48px; background: var(--pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.download-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.download-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 7px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background .18s;
  align-self: flex-start;
}
.btn-download:hover { background: var(--blue); }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--navy); border-radius: var(--radius);
  padding: 32px 36px; display: flex; gap: 32px; flex-wrap: wrap;
  align-items: flex-start; margin-top: 48px;
}
.contact-person { flex: 1; min-width: 220px; }
.contact-person .name { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.contact-person .role { font-size: 13px; color: rgba(138,173,255,.8); margin-bottom: 8px; }
.contact-person a {
  color: var(--light); font-size: 14px;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
}
.contact-person a:hover { text-decoration: underline; }
.contact-divider { width: 1px; background: rgba(138,173,255,.2); }

/* ── BADGE ── */
.badge {
  display: inline-block; background: var(--pale2); color: var(--navy);
  font-size: 13px; font-weight: 500;
  padding: 4px 12px; border-radius: 5px; margin-right: 6px; margin-bottom: 4px;
}

/* ── FOOTER ── */
footer {
  background: var(--pale); border-top: 1px solid var(--border);
  padding: 24px; text-align: center;
}
footer p { font-size: 13px; color: var(--muted); line-height: 1.7; }
footer a { color: var(--blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── UTIL ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

@media (max-width: 640px) {
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 52px 20px 44px; }
  .page-content { padding: 36px 18px 60px; }
  .form-wrapper { padding: 28px 20px; }
  .contact-strip { padding: 24px 20px; flex-direction: column; gap: 24px; }
  .contact-divider { display: none; }
}
