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

:root {
  --navy: #0d1b3e;
  --navy-light: #162450;
  --navy-mid: #1e3163;
  --gold: #e8a020;
  --gold-light: #f5c05a;
  --gold-pale: #fdf3df;
  --cream: #f8f6f0;
  --white: #ffffff;
  --text: #1c1c2e;
  --text-muted: #5a6070;
  --text-light: #8a91a0;
  --border: #e2ddd5;
  --shadow: 0 4px 24px rgba(13, 27, 62, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 27, 62, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── NAVBAR ─── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.brand-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.active { color: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.35);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  position: relative;
}

.hero-accent {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 18px auto 0;
}

/* ─── CONTENT ─── */
main { flex: 1; }

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.content-wrap.wide {
  max-width: 1060px;
}

.meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}

.meta-bar span { display: flex; align-items: center; gap: 5px; }

/* ─── SECTION CARD ─── */
.section-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.section-card:hover { box-shadow: var(--shadow-lg); }

.section-card h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-card h2 .icon {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.section-card .divider {
  width: 40px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 10px 0 18px;
}

.section-card p, .section-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.section-card ul, .section-card ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.section-card ul li::marker { color: var(--gold); }
.section-card ol li::marker { color: var(--navy); font-weight: 600; }

.section-card p + p { margin-top: 12px; }
.section-card p + ul, .section-card p + ol { margin-top: 12px; }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 16px 0;
}

.highlight-box p {
  color: #6a4a10 !important;
  font-size: 0.9rem !important;
  font-weight: 500;
}

.warning-box {
  background: #fff4f4;
  border-left: 4px solid #e05050;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 16px 0;
}

.warning-box p {
  color: #7a2020 !important;
  font-size: 0.9rem !important;
  font-weight: 500;
}

/* ─── FORMS ─── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-row label .req { color: #e05050; margin-left: 3px; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-row textarea { resize: vertical; min-height: 110px; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--navy-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.07);
}

.form-row .hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 5px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.checkbox-row label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.checkbox-row label a { color: var(--navy); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 27, 62, 0.25);
}

.btn-danger {
  background: #c0392b;
}
.btn-danger:hover { background: #a93226; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }

/* ─── GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.info-card .card-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.info-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── TEAM CARD ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
  color: white;
  font-family: 'Lora', serif;
  font-weight: 700;
}

.team-card h4 { font-size: 0.95rem; color: var(--navy); font-weight: 600; }
.team-card p { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── CONTACT METHODS ─── */
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.contact-method:hover { transform: translateX(4px); }

.contact-method .cm-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-method h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.contact-method p { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.contact-method a { color: var(--navy-mid); text-decoration: none; font-weight: 500; }
.contact-method a:hover { text-decoration: underline; }

/* ─── TOC ─── */
.toc {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
}

.toc h3 {
  font-family: 'Lora', serif;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: italic;
}

.toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc ol li a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.toc ol li a:hover { color: var(--gold-light); }

/* ─── STEP INDICATOR ─── */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 10px;
  transition: var(--transition);
}

.step.active .step-num {
  background: var(--navy);
  color: white;
}

.step.done .step-num {
  background: var(--gold);
  color: var(--navy);
}

.step-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.step.active .step-label { color: var(--navy); font-weight: 600; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── SUCCESS STATE ─── */
.success-state {
  text-align: center;
  padding: 48px 24px;
  display: none;
}

.success-state.visible { display: block; }

.success-icon {
  width: 72px; height: 72px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.success-state h3 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.success-state p { color: var(--text-muted); max-width: 400px; margin: 0 auto; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--navy-light);
    padding: 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }

  .section-card { padding: 24px 20px; }
  .form-card { padding: 24px 20px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom { flex-direction: column; text-align: center; }

  .steps { flex-direction: column; gap: 12px; align-items: flex-start; }
  .steps::before { display: none; }
  .step { display: flex; align-items: center; gap: 12px; text-align: left; }
  .step-num { margin: 0; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
