/* ==========================================================================
   Capstone Christcentric Academy — Global Stylesheet
   Primary palette: Navy Blue (#0a1f56) & Yellow (#ffc72c)
   ========================================================================== */

:root {
  --navy: #0a1f56;
  --navy-deep: #061238;
  --navy-light: #17347d;
  --yellow: #ffc72c;
  --yellow-deep: #f5a800;
  --ink: #1c2431;
  --muted: #5b6577;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-navy-soft: #f0f3fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(10, 31, 86, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 31, 86, 0.14);
  --shadow-lg: 0 26px 60px rgba(10, 31, 86, 0.20);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.18; color: var(--navy); font-weight: 700; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #dfe6f5; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yellow-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); border-radius: 2px; }
.section-navy .eyebrow { color: var(--yellow); }

.section-head { max-width: 680px; margin: 0 auto 54px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #b9c4de; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(245, 168, 0, 0.34); }
.btn-primary:hover { background: var(--yellow-deep); box-shadow: 0 16px 32px rgba(245, 168, 0, 0.42); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep); color: #c7d2ea;
  font-size: 0.85rem; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #c7d2ea; transition: color .2s; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-socials { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  display: grid; place-items: center; color: var(--yellow);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.brand-logo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,199,44,.35), transparent 60%);
}
.brand-logo-img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; display: block; }
.footer .f-brand .brand-logo-img { width: 52px; height: 52px; background: #fff; border-radius: 12px; padding: 5px; box-shadow: var(--shadow-sm); }
.brand-text { display: block; line-height: 1; }
.brand-text b { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; color: var(--navy); display: block; line-height: 1; letter-spacing: -0.015em; }
.brand-sub { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-light); margin-top: 4px; white-space: nowrap; }
.brand-motto { display: block; font-family: var(--font-body); font-style: italic; font-size: 0.76rem; color: var(--yellow-deep); margin-top: 4px; white-space: nowrap; }

/* Footer brand lockup with motto */
.f-brand .f-brand-text { display: flex; flex-direction: column; }
.f-brand .f-brand-text b { color: #fff; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; margin: 0; }
.f-brand .f-brand-text b { font-family: var(--font-head); font-weight: 800; font-size: 1.14rem; line-height: 1; }
.f-brand .f-brand-text .f-sub { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.03em; margin-top: 3px; }
.f-brand .f-brand-text em { display: block; margin-top: 3px; color: var(--yellow); font-style: italic; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.96rem;
  color: var(--navy); padding: 9px 15px; border-radius: 9px; position: relative;
  transition: color .2s, background .2s;
}
.nav-links a:hover { background: var(--bg-navy-soft); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 3px; background: var(--yellow); border-radius: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-portal { display: none; } /* shown only inside the mobile dropdown menu */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px auto; border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(255,199,44,.16), transparent 60%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-light) 100%);
  color: #fff; padding: 96px 0 108px;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,199,44,.14), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,199,44,.14); border: 1px solid rgba(255,199,44,.35);
  color: var(--yellow); padding: 8px 16px; border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .05em;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 .hl { color: var(--yellow); }
.hero p.lead { font-size: 1.16rem; color: #cdd7ee; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat b { font-family: var(--font-head); font-size: 2rem; color: var(--yellow); display: block; line-height: 1; }
.hero-stat span { font-size: .88rem; color: #b6c2df; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px; padding: 12px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card img { border-radius: 16px; width: 100%; height: 420px; object-fit: cover; }
.hero-float {
  position: absolute; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 15px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; animation: floaty 4.5s ease-in-out infinite;
}
.hero-float .fi { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-navy-soft); display: grid; place-items: center; font-size: 1.2rem; }
.hero-float b { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.hero-float span { font-size: .78rem; color: var(--muted); }
.hero-float.f1 { top: 28px; left: -26px; }
.hero-float.f2 { bottom: 30px; right: -22px; animation-delay: 1.6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* wave divider */
.wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- Marquee / trust strip ---------- */
.trust { background: var(--yellow); padding: 16px 0; }
.trust .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust span { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 10px; font-size: .96rem; }

/* ---------- Cards ---------- */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: var(--bg-navy-soft); color: var(--navy);
  transition: background .3s, color .3s;
}
.card:hover .card-icon { background: var(--yellow); color: var(--navy); }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* value/feature list card */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fx { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.feature h4 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 460px; object-fit: cover; }
.split-media .badge-float {
  position: absolute; bottom: -22px; left: -22px; background: var(--navy); color: #fff;
  border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.split-media .badge-float b { font-family: var(--font-head); font-size: 2rem; color: var(--yellow); display: block; }
.split-media .badge-float span { font-size: .82rem; color: #c4d0ec; }
.split-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.split-body > p { color: var(--muted); margin-bottom: 24px; }
.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: .82rem; }

/* ---------- Programs / levels ---------- */
.level-card { padding: 0; overflow: hidden; }
.level-card .lc-top { padding: 26px 28px; color: #fff; position: relative; }
.level-card.ecd .lc-top { background: linear-gradient(135deg, #17347d, #0a1f56); }
.level-card.primary .lc-top { background: linear-gradient(135deg, #1a8f6b, #0f5c45); }
.level-card.secondary .lc-top { background: linear-gradient(135deg, #b8860b, #8a640a); }
.level-card .lc-tag { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.level-card .lc-top h3 { color: #fff; font-size: 1.5rem; margin-top: 6px; }
.level-card .lc-age { position: absolute; top: 22px; right: 26px; background: rgba(255,255,255,.16); border-radius: 40px; padding: 5px 14px; font-size: .82rem; font-family: var(--font-head); font-weight: 600; }
.level-card .lc-body { padding: 24px 28px 30px; }
.level-card .lc-body ul { display: grid; gap: 11px; }
.level-card .lc-body li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; }
.level-card .lc-body li::before { content: "✓"; color: var(--yellow-deep); font-weight: 800; }

/* ---------- Subjects on offer ---------- */
.subj-block { margin-bottom: 44px; }
.subj-block:last-child { margin-bottom: 0; }
.subj-block-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.subj-block-title h3 { font-size: 1.4rem; }
.subj-block-title .pill { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 40px; }
.subj-grid { display: grid; gap: 22px; }
.subj-grid.c2 { grid-template-columns: 1.6fr 1fr; }
.subj-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.subj-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.subj-card > header { background: var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 700; padding: 15px 22px; font-size: 1.02rem; display: flex; align-items: center; gap: 9px; }
.subj-card > header small { display: block; font-weight: 500; font-size: .78rem; opacity: .8; }
.subj-card .subj-body { padding: 20px 22px 24px; background: #fffdf5; }
.subj-card ul { display: grid; gap: 10px; }
.subj-card li { display: flex; gap: 10px; color: var(--ink); font-size: .96rem; }
.subj-card li::before { content: "✓"; color: var(--yellow-deep); font-weight: 800; flex-shrink: 0; }
.subj-card .subj-tag { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--muted); }
.subj-card .subj-tag b { color: var(--navy); font-family: var(--font-head); }
@media (max-width: 860px) { .subj-grid.c2, .subj-grid.c3 { grid-template-columns: 1fr; } }

/* ---------- Timeline (history) ---------- */
.timeline { max-width: 780px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px 82px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; box-shadow: var(--shadow-sm); z-index: 1; }
.tl-item h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tl-item h3 span { color: var(--yellow-deep); font-size: 0.9rem; font-weight: 600; margin-left: 8px; }
.tl-item p { color: var(--muted); }
@media (max-width: 520px) {
  .tl-item { padding-left: 66px; }
  .timeline::before { left: 22px; }
  .tl-dot { width: 46px; height: 46px; font-size: 0.8rem; }
}

/* ---------- Alumni testimonial submission ---------- */
.alumni-form { max-width: 680px; margin: 46px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.alumni-form h3 { text-align: center; margin-bottom: 6px; }
.alumni-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alumni-empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 10px 0 4px; }

/* ---------- Stats band ---------- */
.stats-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 64px; text-align: center; }
.stats-band .stat-item { flex: 0 1 auto; min-width: 150px; }
.stat-item b { font-family: var(--font-head); font-size: clamp(2.2rem,4vw,3rem); color: var(--yellow); display: block; line-height: 1; }
.stat-item span { color: #c2cded; font-size: .96rem; margin-top: 8px; display: block; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.quote-card .stars { color: var(--yellow-deep); letter-spacing: 3px; margin-bottom: 14px; }
.quote-card p { font-size: 1.02rem; color: var(--ink); font-style: italic; margin-bottom: 22px; }
.quote-card .who { display: flex; align-items: center; gap: 13px; }
.quote-card .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card .who b { display: block; color: var(--navy); font-family: var(--font-head); }
.quote-card .who span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: radial-gradient(900px 400px at 15% 10%, rgba(255,199,44,.18), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; border-radius: 26px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: #cdd7ee; max-width: 560px; margin: 0 auto 30px; font-size: 1.06rem; }
.cta-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: #e23b3b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.6px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .97rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-light); background: #fff; box-shadow: 0 0 0 4px rgba(23,52,125,.10);
}
.field textarea { resize: vertical; min-height: 110px; }
.field small { color: var(--muted); font-size: .82rem; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none; background: #e9f9ef; border: 1px solid #b7e6c8; color: #1a7a44;
  padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem;
}
.form-success.show { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e23b3b; background: #fff5f5; }
.err-msg { display: none; color: #e23b3b; font-size: .82rem; margin-top: 5px; }
.field.invalid .err-msg { display: block; }

/* info side panel */
.info-panel { background: var(--navy); color: #d7e0f4; border-radius: var(--radius); padding: 36px; }
.info-panel h3 { color: #fff; margin-bottom: 8px; }
.info-panel > p { color: #b7c3e0; margin-bottom: 26px; }
.info-line { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; }
.info-line .il-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,199,44,.16); color: var(--yellow); display: grid; place-items: center; font-size: 1.15rem; }
.info-line b { color: #fff; font-family: var(--font-head); display: block; font-size: .96rem; }
.info-line a, .info-line span { color: #b7c3e0; font-size: .95rem; word-break: break-word; }
.info-line a:hover { color: var(--yellow); }

/* ---------- Steps ---------- */
.steps { grid-template-columns: repeat(4,1fr); counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step .num {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--yellow); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.step h4 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(255,199,44,.15), transparent 60%),
    linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, var(--navy-light));
  color: #fff; padding: 66px 0 74px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: #cbd5ee; max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; font-size: .9rem; color: #a9b6d8; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-head .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s, background .3s, color .3s; }
.acc-item.open .plus { transform: rotate(45deg); background: var(--yellow); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-body p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contact detail cards ---------- */
.contact-cards { grid-template-columns: repeat(3,1fr); }
.contact-card { text-align: center; }
.contact-card .cc-ic { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; background: var(--bg-navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.6rem; }
.contact-card:hover .cc-ic { background: var(--yellow); }
.contact-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: .97rem; }
.contact-card a:hover { color: var(--navy); }

/* map */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery-grid figure { border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(6,18,56,.85)); color: #fff; padding: 26px 16px 14px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }

/* ---------- Gallery lightbox ---------- */
.gallery-grid figure { cursor: pointer; }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.lightbox { position: fixed; inset: 0; background: rgba(6,18,56,.93); display: none; place-items: center; z-index: 200; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.6rem; line-height: 1; background: none; border: none; cursor: pointer; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-head); font-size: 1rem; padding: 0 20px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; cursor: pointer; transition: background .2s; }
.lightbox .lb-nav:hover { background: var(--yellow); color: var(--navy); }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
@media (max-width: 520px) { .lightbox .lb-nav { width: 44px; height: 44px; } }

/* ---------- Newsletter / News ---------- */
.news-list { max-width: 820px; margin: 0 auto; display: grid; gap: 24px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.news-item:hover { box-shadow: var(--shadow-md); }
.news-date { display: inline-block; background: var(--bg-navy-soft); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 40px; margin-bottom: 14px; }
.news-item h3 { font-size: 1.35rem; margin-bottom: 12px; }
.news-item .news-body { color: var(--muted); white-space: pre-line; }
.news-item .news-file { margin-top: 18px; }
.news-item .news-img { margin-top: 18px; border-radius: 12px; max-height: 360px; width: auto; box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #aeb9d6; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .f-brand .brand-logo { width: 46px; height: 46px; font-size: 1.1rem; }
.footer .f-brand b { color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.footer p { font-size: .93rem; margin-bottom: 18px; }
.footer .f-links li { margin-bottom: 11px; }
.footer .f-links a { font-size: .94rem; transition: color .2s, padding .2s; }
.footer .f-links a:hover { color: var(--yellow); padding-left: 5px; }
.footer .f-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .93rem; align-items: flex-start; }
.footer .f-contact .fi { color: var(--yellow); flex-shrink: 0; }
.footer .f-contact a:hover { color: var(--yellow); }
.f-socials { display: flex; gap: 12px; margin-top: 6px; }
.f-socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; color: #fff; }
.f-socials a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.sms-btn-foot { margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .87rem; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 28px rgba(37,211,102,.4);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes menuDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .cards-4, .stats-band, .steps { grid-template-columns: repeat(2,1fr); }
  .cards-3, .contact-cards { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .section { padding: 62px 0; }
  /* Solid header on mobile — removing the blur lets the slide-in menu fill the
     whole screen (backdrop-filter would otherwise trap the fixed panel). */
  .header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Full-width overlay menu that drops DOWN in place and covers the hero.
     No horizontal movement, so it never widens the page (no sideways scroll).
     display:none when closed so it never adds empty scroll space. */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    min-height: 100vh; min-height: 100dvh;
    background: rgba(13, 20, 42, 0.94);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0 24px; box-shadow: var(--shadow-lg);
    z-index: 105; overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: menuDrop .28s var(--ease); }
  .nav-links a {
    padding: 16px 26px; font-size: 1.06rem; color: #fff; font-weight: 500;
    border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { background: rgba(255,255,255,0.07); }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--yellow); color: var(--navy); font-weight: 700; }
  .nav-portal { display: block; color: var(--yellow) !important; font-weight: 600; }
  .nav-toggle { display: block; z-index: 106; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .topbar .tb-left { gap: 14px; font-size: .8rem; }
  .topbar .tb-hide { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .split-media .badge-float { left: 12px; bottom: 12px; }
  .hero { padding: 62px 0 70px; }
  .hero-card img { height: 340px; }
  .split-media img { height: 360px; }
  .map-wrap iframe { height: 340px; }
  .hero-actions { width: 100%; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .form-card, .info-panel { padding: 26px; }
  .page-hero { padding: 52px 0 58px; }
}
@media (max-width: 520px) {
  .cards-2, .cards-3, .cards-4, .contact-cards, .steps, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .container { padding: 0 18px; }
  .section { padding: 50px 0; }
  .brand-text b { font-size: 1.02rem; }
  .brand-sub { letter-spacing: 0.1em; }
  .brand-sub, .brand-motto { white-space: normal; }
  .hero-card img { height: 260px; }
  .split-media img { height: 280px; }
  .hero-stats { gap: 22px; }
  .quote-card { padding: 26px; }
  .cta-band { padding: 34px 20px; }
  .footer { padding-top: 50px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .card { padding: 26px; }
}
/* Never allow horizontal scroll on small screens */
img, iframe, video, table { max-width: 100%; }
.quote-card .who .av svg { width: 22px; height: 22px; }
