/* Layout + components. */

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--text-on-dark);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 15px;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold); }
.hero .eyebrow { font-size: 0.78rem; }

.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.section--navy .section-head p { color: var(--text-on-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy-900); }
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-800); transform: translateY(-2px); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; padding-left: 13px; border-left: 1px solid var(--line); }
.brand-text .name { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--navy-900); letter-spacing: 0.005em; }
.brand-text .name .amp { font-style: italic; font-weight: 600; }
.amp { font-style: italic; }
.brand-text .sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; text-align: center; padding-left: 0.22em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 9px 15px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--navy-700); background: var(--bg-navy-soft); }
.nav-links a.active { color: var(--navy-800); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(150deg, #0a1c3a 0%, var(--navy-700) 50%, #1c4e91 100%);
  color: #fff;
  overflow: hidden;
}

/* Animated hero background (orbs + flowing lines), fallback under Vanta */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.hero-bg .orb-1 { width: 440px; height: 440px; top: -120px; right: -40px;
  background: radial-gradient(circle, rgba(201,162,75,0.40), transparent 70%); animation: heroFloat1 16s ease-in-out infinite; }
.hero-bg .orb-2 { width: 380px; height: 380px; bottom: -140px; left: 8%;
  background: radial-gradient(circle, rgba(70,140,235,0.45), transparent 70%); animation: heroFloat2 20s ease-in-out infinite; }
.hero-bg .orb-3 { width: 300px; height: 300px; top: 28%; left: 40%;
  background: radial-gradient(circle, rgba(120,170,255,0.25), transparent 70%); animation: heroFloat1 24s ease-in-out infinite reverse; }
.hero-vanta { position: absolute; inset: 0; z-index: 1; }
.hero-vanta canvas { display: block; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,28,58,0.55) 0%, rgba(10,28,58,0.30) 45%, rgba(10,28,58,0.10) 100%),
    linear-gradient(180deg, rgba(10,28,58,0.25) 0%, rgba(10,28,58,0) 35%, rgba(10,28,58,0) 70%, rgba(10,28,58,0.30) 100%);
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.hero-lines path { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1.4; stroke-dasharray: 6 16; animation: heroDash linear infinite; }
.hero-lines path:nth-child(1) { animation-duration: 26s; }
.hero-lines path:nth-child(2) { animation-duration: 34s; stroke: rgba(201,162,75,0.20); }
.hero-lines path:nth-child(3) { animation-duration: 30s; }
.hero-lines path:nth-child(4) { animation-duration: 40s; stroke: rgba(120,170,255,0.20); }
.hero-lines path:nth-child(5) { animation-duration: 36s; }
@keyframes heroDash { to { stroke-dashoffset: -1200; } }
@keyframes heroFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 28px); } }
@keyframes heroFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(38px, -24px); } }
@media (prefers-reduced-motion: reduce) { .hero-bg .orb, .hero-lines path { animation: none; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 24px 48px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lead { margin-top: 22px; font-size: 1.18rem; color: var(--text-on-dark); max-width: 540px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust .num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); font-weight: 700; }
.hero-trust .lbl { font-size: 0.85rem; color: var(--text-on-dark); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.hero-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: var(--text-on-dark);
  font-size: 0.98rem;
}
.hero-card ul li:last-child { border-bottom: none; }
.hero-card .tick { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* Page banner (inner pages) */
.page-banner {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-banner p { margin-top: 14px; color: var(--text-on-dark); max-width: 640px; margin-inline: auto; }
.breadcrumb { margin-top: 18px; font-size: 0.88rem; color: var(--text-on-dark); }
.breadcrumb a:hover { color: var(--gold); }

/* Cards / grids */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg-navy-soft);
  color: var(--navy-700);
  margin-bottom: 18px;
}

/* SVG icon sizing (Lucide) */
.icon svg { width: 26px; height: 26px; stroke-width: 1.9; }
.mv-card .icon svg { width: 28px; height: 28px; }
.ci-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.feature-list .fi svg { width: 18px; height: 18px; stroke-width: 2.2; }
.tick svg, .check-list .tick svg { width: 17px; height: 17px; stroke-width: 2.4; }
.hero-card .tick svg { width: 16px; height: 16px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-list { margin-top: 14px; }
.card .card-list li { position: relative; padding-left: 22px; color: var(--ink); font-size: 0.95rem; margin-bottom: 7px; }
.card .card-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.card .more { display: inline-block; margin-top: 14px; color: var(--navy-700); font-weight: 600; font-size: 0.92rem; }
.card .more:hover { color: var(--gold-ink); }

/* Feature / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.split p { color: var(--muted); margin-top: 18px; }
.feature-list { margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.feature-list .fi {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; background: var(--navy-800); color: var(--gold);
}
.feature-list .ft strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.feature-list .ft span { color: var(--muted); font-size: 0.95rem; }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.media-pad {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius);
  padding: 44px;
  color: #fff;
}
.media-pad h3 { color: #fff; font-size: 1.5rem; }
.media-pad p { color: var(--text-on-dark); margin-top: 12px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .stat .num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold); font-weight: 700; }
.stats .stat .lbl { color: var(--text-on-dark); font-size: 0.95rem; margin-top: 4px; }

/* Mission / vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  background: var(--white);
}
.mv-card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy-800); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mv-card p { color: var(--muted); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--ink); }
.check-list .tick { color: var(--gold-ink); flex-shrink: 0; margin-top: 3px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}
.member:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.member .avatar {
  height: 200px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  display: grid; place-items: center;
}
.member .avatar .initials { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); font-weight: 700; }
.member .body { padding: 26px 28px; }
.member .body h3 { font-size: 1.3rem; }
.member .body .role { color: var(--gold-ink); font-weight: 600; font-size: 0.92rem; margin: 4px 0 12px; }
.member .body p { color: var(--muted); font-size: 0.96rem; }
.member-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: var(--bg-navy-soft); color: var(--navy-700);
  transition: var(--transition);
}
.member-social:hover { background: #0a66c2; color: #fff; }
.member-social svg { width: 20px; height: 20px; }

/* CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-radius: 22px;
  padding: 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); position: relative; }
.cta-band p { color: var(--text-on-dark); margin: 16px auto 28px; max-width: 560px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info .ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; background: var(--bg-navy-soft); color: var(--navy-700);
  display: grid; place-items: center;
}
.contact-info .ci h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info .ci a, .contact-info .ci p { color: var(--navy-900); font-weight: 500; font-size: 1.02rem; }
.contact-info .ci a:hover { color: var(--gold-ink); }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,66,128,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
/* Honeypot spam trap — hidden from real users */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: 0.95rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #c0392b; }

.map-frame { margin-top: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer .brand-text .name { color: #fff; font-size: 1.18rem; }
.site-footer .brand-text .sub { color: var(--gold); }
.site-footer .brand-text { border-left-color: rgba(255,255,255,0.18); }
.site-footer .brand .logo { background: #fff; padding: 7px 9px; border-radius: 10px; height: 54px; }
.site-footer p { font-size: 0.95rem; margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: var(--text-on-dark); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--text-on-dark);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 940px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav { height: 64px; }
  .brand { gap: 10px; }
  .brand .logo { height: 38px; }
  .brand-text { padding-left: 10px; }
  .brand-text .name { font-size: 1.1rem; }
  .brand-text .sub { font-size: 0.55rem; letter-spacing: 0.18em; }
  .nav-links { top: 64px; }
  .grid-2, .grid-3, .mv-grid, .team-grid, .field-row { grid-template-columns: 1fr; }
  .cta-band, .media-pad, .form-wrap { padding: 32px 22px; }
  .hero-grid { padding-block: 40px 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:first-child { text-align: center; }
  .footer-grid > div:first-child .brand { justify-content: center; }
  .footer-grid > div:first-child p { margin-inline: auto; }
  .hero-grid > div:first-child { text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 30px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { justify-content: center; gap: 26px; margin-top: 36px; }
}