:root {
  --navy-950: #05122b;
  --navy-900: #071a40;
  --navy-800: #0b2559;
  --blue-700: #12408c;
  --blue-500: #1b6ca8;
  --gold-500: #e6a817;
  --gold-400: #f5b82e;
  --slate-50: #f4f7fb;
  --slate-100: #e9eff7;
  --slate-200: #d5dfec;
  --text-dark: #0e1e38;
  --text-muted: #4b5d78;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --radius: 14px;
  --shadow-sm: 0 6px 20px rgba(7, 26, 64, 0.06);
  --shadow-md: 0 14px 36px rgba(7, 26, 64, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 18, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 168, 23, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--white); flex-shrink: 0; }
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold-500);
  background: var(--white);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Playfair Display', Georgia, serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white); }
.brand-sub { font-size: 0.68rem; color: var(--gold-400); letter-spacing: 0.03em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a {
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-400); }
.nav-links a.active { background: rgba(230, 168, 23, 0.14); font-weight: 600; }

.nav-cta {
  padding: 0.48rem 0.9rem !important;
  border-radius: 999px !important;
  background: var(--gold-500);
  color: var(--navy-950) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-400); color: var(--navy-950) !important; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Mobile App-like Drawer */
.app-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 28, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.app-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.app-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(230, 168, 23, 0.28);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}
.app-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer-brand { display: flex; align-items: center; gap: 0.65rem; }
.drawer-brand img { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold-500); background: var(--white); }
.drawer-brand strong { display: block; font-size: 0.85rem; font-family: 'Playfair Display', Georgia, serif; }
.drawer-brand span { font-size: 0.68rem; color: var(--gold-400); }

.drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.drawer-quick a {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.drawer-quick .dq-gold { background: var(--gold-500); color: var(--navy-950); }
.drawer-quick .dq-outline { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); }

.drawer-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.drawer-nav a:hover,
.drawer-nav a.active { background: rgba(230, 168, 23, 0.16); color: var(--gold-400); font-weight: 700; }
.drawer-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.9; }

.drawer-footer {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Fixed Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(5, 18, 43, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(230, 168, 23, 0.28);
  padding: 0.4rem 0.25rem calc(0.4rem + env(safe-area-inset-bottom));
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.mb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.25rem 0.15rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.mb-item svg { width: 20px; height: 20px; }
.mb-item.active,
.mb-item:hover { color: var(--gold-400); }

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.4);
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.wa-float:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }

/* Hero with Video Background */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 112px 0 72px;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 18, 43, 0.88) 0%, rgba(11, 37, 89, 0.74) 55%, rgba(5, 18, 43, 0.88) 100%);
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 920px; }

.hero-seal-wrap {
  display: inline-flex;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), rgba(255, 255, 255, 0.4));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 1rem;
}
.hero-seal { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; background: var(--white); }

.hero-motto {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-400);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.2;
  font-weight: 700;
}
.hero-title span {
  display: block;
  font-size: clamp(1.12rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.3rem;
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 720px;
  font-size: 1.04rem;
  color: rgba(244, 247, 251, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
  background: rgba(5, 18, 43, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
}
.meta-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-400); margin-bottom: 0.2rem; }
.meta-value { font-size: 0.9rem; font-weight: 600; color: var(--white); }

.video-toggle {
  position: absolute;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 3;
  background: rgba(5, 18, 43, 0.72);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

/* Inner Page Banner (with subtle video background) */
.page-banner {
  position: relative;
  padding: 124px 0 56px;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}
.page-banner .hero-video { opacity: 0.45; }
.page-banner .hero-overlay {
  background: linear-gradient(135deg, rgba(5, 18, 43, 0.9) 0%, rgba(11, 37, 89, 0.82) 100%);
}
.page-banner-inner { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb { font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 0.65rem; }
.breadcrumb a { color: var(--gold-400); }
.page-banner h1 {
  margin: 0 0 0.65rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}
.page-banner p { margin: 0; color: rgba(244, 247, 251, 0.88); font-size: 1.02rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--blue-700); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-900); background: transparent; }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }
.btn-full { width: 100%; }

/* Sections & Grids */
.section { padding: 72px 0; }
.section-light { background: var(--white); }
.section-slate { background: var(--slate-50); }
.section-navy { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-700);
  margin-bottom: 0.5rem;
}
.eyebrow.gold { color: var(--gold-400); }
.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.25;
}
.section-intro { margin: 0; color: var(--text-muted); font-size: 1rem; }
.section-head.light .section-intro { color: rgba(244, 247, 251, 0.8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}
.card-accent { border-top: 4px solid var(--gold-500); }
.card-navy { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1.5rem; }
.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-700);
  margin-bottom: 0.5rem;
}
.card-badge.gold { color: var(--gold-400); }
.card h3, .card-navy h3 { margin: 0 0 0.6rem; font-size: 1.14rem; }
.card h3 { color: var(--navy-900); }
.card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.card-navy p { margin: 0; color: rgba(244, 247, 251, 0.82); font-size: 0.93rem; }

.tag {
  display: inline-block;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}
.tag-direct { background: #dcfce7; color: #166534; }
.tag-referred { background: #fef3c7; color: #92400e; }

.check-list { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.check-list li { position: relative; padding-left: 1.3rem; font-size: 0.93rem; }
.check-list li::before { content: '◆'; position: absolute; left: 0; color: var(--gold-500); font-size: 0.75rem; top: 2px; }

/* Founders & Org */
.founder-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.founder-monogram {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  color: var(--gold-400); border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.1rem;
}
.founder-role { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-700); margin-bottom: 0.2rem; }
.founder-cred { margin: 0 0 0.6rem; font-weight: 700; font-size: 0.9rem; color: #9e6d04; }

.org-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.35rem 1.1rem; text-align: center; }
.org-primary { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); color: var(--white); border-color: var(--gold-500); }
.org-tier { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-700); margin-bottom: 0.35rem; }
.org-primary .org-tier { color: var(--gold-400); }
.org-card h3 { margin: 0; font-size: 0.98rem; }

/* Charter */
.charter-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.75rem; align-items: start; }
.clause-card { background: var(--white); border: 1px solid var(--slate-200); border-left: 4px solid var(--navy-800); border-radius: 10px; padding: 1.15rem 1.3rem; }
.clause-card h4 { margin: 0 0 0.35rem; color: var(--navy-900); }
.clause-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.powers-box { background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 1.85rem; box-shadow: var(--shadow-md); }
.powers-list { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.7rem; }
.powers-list li { font-size: 0.91rem; color: rgba(244, 247, 251, 0.9); }

/* Forms & Multi-Step */
.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.inquiry-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-size: 0.84rem; font-weight: 600; color: var(--navy-900); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.72rem 0.85rem;
  border: 1px solid var(--slate-200); border-radius: 8px;
  font-family: inherit; font-size: 0.94rem;
  color: var(--text-dark); background: var(--slate-50);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--blue-500); border-color: transparent; background: var(--white);
}
.form-status { margin: 0.25rem 0 0; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }

.step-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.75rem; }
.step-pill {
  text-align: center; padding: 0.65rem 0.5rem; border-radius: 10px;
  background: var(--slate-100); color: var(--text-muted);
  font-size: 0.8rem; font-weight: 700; border: 1px solid var(--slate-200);
}
.step-pill.active { background: var(--navy-900); color: var(--gold-400); border-color: var(--gold-500); }
.step-pill.done { background: #dcfce7; color: #166534; border-color: #86efac; }
.step-pane { display: none; }
.step-pane.active { display: grid; gap: 1rem; }
.step-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(230, 168, 23, 0.35);
}
.cta-strip h3 { margin: 0 0 0.35rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; }
.cta-strip p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 600px; }
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Footer */
.site-footer {
  background: #030b1c;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(230, 168, 23, 0.2);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.footer-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold-500); background: var(--white); }
.footer-col h4 { margin: 0 0 0.75rem; color: var(--gold-400); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-size: 0.86rem; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .charter-layout, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .hero-meta { grid-template-columns: 1fr; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 72px; }
  .wa-float { bottom: 82px; right: 14px; padding: 0.65rem 0.9rem; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  .founder-card { flex-direction: column; }
  .step-bar { grid-template-columns: 1fr; }
}

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