/* =========================================================
   Edoma Iyawot Academy — style.css
   Palette: Deep Navy #071B4A | Royal Blue #12409B | Gold #D4AF37
   Type: Poppins (display) / Montserrat (utility) / Inter (body)
   ========================================================= */

:root {
  --navy: #071B4A;
  --navy-800: #0C2A6B;
  --royal: #12409B;
  --sky: #6FA8DC;
  --gold: #D4AF37;
  --gold-soft: #EBD08A;
  --emerald: #1F6F5C;
  --white: #FFFFFF;
  --cream: #FAF7F0;
  --gray: #EDEFF3;
  --gray-500: #6B7280;
  --ink: #172038;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-util: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(7, 27, 74, .07);
  --shadow: 0 18px 48px rgba(7, 27, 74, .12);
  --shadow-lg: 0 32px 80px rgba(7, 27, 74, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { color: #43506B; }

.eyebrow {
  font-family: var(--font-util);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); display: block;
}
.eyebrow.center { justify-content: center; }
.lead { font-size: 1.1rem; color: #4E5B76; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section--tint { background: var(--cream); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #C3CEE6; }
.section-head { max-width: 720px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1.75rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-util); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em;
  padding: .95rem 1.9rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px rgba(212,175,55,.35); }
.btn--gold:hover { background: #E4C260; box-shadow: 0 18px 44px rgba(212,175,55,.45); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--royal); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); backdrop-filter: blur(8px); background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline { border-color: rgba(7,27,74,.2); color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--sm { padding: .7rem 1.4rem; font-size: .82rem; }
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid rgba(212,175,55,.2);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.solid {
  background: rgba(7,27,74,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(7,27,74,.28);
  height: 72px;
}
body.inner-page .site-header { background: rgba(7,27,74,.94); backdrop-filter: blur(14px); }
.header-inner { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  object-fit: cover; display: block;
  box-shadow: 0 6px 20px rgba(212,175,55,.35);
}
.brand-text { line-height: 1.2; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--white); letter-spacing: -.01em; }
.brand-tag { display: block; margin-top: .12rem; font-family: var(--font-util); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav > li { position: relative; }
.nav a.nav-link {
  display: flex; align-items: center; gap: .35rem;
  font-family: var(--font-util); font-weight: 500; font-size: .88rem;
  color: rgba(255,255,255,.88); padding: .7rem 1rem; border-radius: 10px;
  transition: color .25s ease, background .25s ease;
}
.nav a.nav-link:hover, .nav li.current > a.nav-link { color: var(--gold); }
.nav a.nav-link.active { color: var(--gold); }
.caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s ease; }
.has-drop:hover .caret { transform: rotate(-135deg) translateY(-2px); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--white); border-radius: 14px; padding: .6rem;
  box-shadow: var(--shadow); border: 1px solid rgba(7,27,74,.06);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .7rem .9rem; border-radius: 9px;
  font-family: var(--font-util); font-size: .86rem; font-weight: 500; color: var(--navy);
  transition: background .2s ease, padding-left .25s ease;
}
.dropdown a:hover { background: var(--cream); color: var(--royal); padding-left: 1.2rem; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease;
  transform: scale(1.06);
}
.hero-slide.active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(7,27,74,.94) 0%, rgba(7,27,74,.78) 42%, rgba(7,27,74,.35) 100%),
    radial-gradient(120% 90% at 80% 100%, rgba(18,64,155,.5), transparent 60%);
}
.hero-inner { position: relative; z-index: 3; padding-top: var(--header-h); }
.hero-copy { max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 .gilt {
  background: linear-gradient(96deg, var(--gold) 0%, var(--gold-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #CBD6EC; font-size: 1.12rem; max-width: 560px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(212,175,55,.4);
  color: var(--gold-soft); font-family: var(--font-util); font-size: .74rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 999px; margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.hero-dots { position: absolute; bottom: 2.6rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: .6rem; }
.hero-dots button {
  width: 34px; height: 3px; border: 0; border-radius: 3px; padding: 0;
  background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s ease, width .3s ease;
}
.hero-dots button.on { background: var(--gold); width: 52px; }
.hero-scroll {
  position: absolute; right: 2.5rem; bottom: 2.6rem; z-index: 4;
  writing-mode: vertical-rl; font-family: var(--font-util); font-size: .68rem;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 1rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 6rem) 0 5.5rem;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,27,74,.95), rgba(7,27,74,.7));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 800px; }
.page-hero p { color: #C6D2E9; max-width: 600px; margin-top: 1.1rem; font-size: 1.08rem; }
.crumbs { display: flex; gap: .55rem; font-family: var(--font-util); font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- Welcome / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.float-card {
  position: absolute; bottom: -26px; right: -22px;
  background: var(--white); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 1rem; max-width: 260px;
}
.float-card .big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.float-card small { font-family: var(--font-util); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
.sig { font-family: var(--font-display); font-style: italic; color: var(--navy); font-weight: 600; margin-top: 1.6rem; }
.sig small { display: block; font-family: var(--font-util); font-style: normal; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }

/* ---------- Feature cards ---------- */
.feature {
  background: var(--white); border-radius: var(--radius);
  padding: 2.1rem 1.8rem; border: 1px solid rgba(7,27,74,.07);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.feature::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--royal));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.feature:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature .ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(18,64,155,.1), rgba(212,175,55,.14));
  color: var(--royal); margin-bottom: 1.2rem;
  transition: background .4s ease, color .4s ease, transform .4s var(--ease);
}
.feature:hover .ico { background: var(--navy); color: var(--gold); transform: rotate(-6deg) scale(1.05); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.feature p { font-size: .93rem; }

/* ---------- Level cards ---------- */
.level {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); background: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.level:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.level-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.level-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.level:hover .level-img img { transform: scale(1.08); }
.level-age {
  position: absolute; top: 1.1rem; left: 1.1rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-util); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px;
}
.level-body { padding: 1.9rem; }
.level-body h3 { margin-bottom: .6rem; }
.level-body p { font-size: .95rem; margin-bottom: 1.3rem; }
.link-gold {
  font-family: var(--font-util); font-weight: 600; font-size: .84rem;
  color: var(--royal); display: inline-flex; align-items: center; gap: .5rem;
  transition: gap .3s var(--ease), color .3s ease;
}
.link-gold:hover { gap: .9rem; color: var(--gold); }

/* ---------- Facilities masonry ---------- */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 1.1rem; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,27,74,.9) 0%, rgba(7,27,74,.15) 55%, transparent 100%);
  opacity: .8; transition: opacity .4s ease;
}
.tile:hover img { transform: scale(1.09); }
.tile:hover::after { opacity: .95; }
.tile-cap {
  position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 2;
  transition: transform .45s var(--ease);
}
.tile:hover .tile-cap { transform: translateY(-4px); }
.tile-cap h4 { color: var(--white); font-size: 1.02rem; }
.tile-cap span { font-family: var(--font-util); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 1.5rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stat .num .suf { font-size: .6em; }
.stat p { font-family: var(--font-util); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #B6C3DD; margin-top: .8rem; }

/* ---------- Testimonials ---------- */
.tslider { position: relative; max-width: 860px; margin-inline: auto; text-align: center; }
.tslide { display: none; animation: fadeUp .7s var(--ease); }
.tslide.on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tquote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 500; color: var(--navy); line-height: 1.55; margin-bottom: 2rem; }
.tquote::before { content: "“"; display: block; font-size: 4rem; color: var(--gold); line-height: .6; margin-bottom: 1rem; }
.tperson { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.tperson img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.tperson strong { display: block; font-family: var(--font-util); font-size: .92rem; color: var(--navy); }
.tperson span { font-size: .82rem; color: var(--gray-500); }
.tnav { display: flex; justify-content: center; gap: .5rem; margin-top: 2.2rem; }
.tnav button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(7,27,74,.16); cursor: pointer; transition: all .3s ease; padding: 0; }
.tnav button.on { background: var(--gold); width: 30px; border-radius: 999px; }

/* ---------- News cards ---------- */
.news {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(7,27,74,.07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.news:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.news-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news:hover .news-img img { transform: scale(1.07); }
.chip {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(7,27,74,.9); backdrop-filter: blur(6px);
  color: var(--gold); font-family: var(--font-util); font-size: .64rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 999px;
}
.news-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-family: var(--font-util); font-size: .74rem; letter-spacing: .06em; color: var(--gray-500); margin-bottom: .7rem; text-transform: uppercase; }
.news h3 { font-size: 1.12rem; margin-bottom: .6rem; transition: color .3s ease; }
.news:hover h3 { color: var(--royal); }
.news p { font-size: .92rem; flex: 1; margin-bottom: 1.1rem; }

/* ---------- Events ---------- */
.event {
  display: flex; gap: 1.4rem; align-items: center;
  background: var(--white); border: 1px solid rgba(7,27,74,.08);
  border-radius: var(--radius); padding: 1.4rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.event:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.edate {
  flex: none; width: 78px; text-align: center; border-radius: 14px;
  background: var(--navy); color: var(--white); padding: .85rem .4rem;
}
.edate .d { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.edate .m { font-family: var(--font-util); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.event h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.event p { font-size: .85rem; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(212,175,55,.15)); }
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.6rem; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,.12);
}
.tl-year { font-family: var(--font-util); font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--royal); text-transform: uppercase; }
.tl-item h3 { margin: .35rem 0 .5rem; font-size: 1.25rem; }
.tl-item p { font-size: .95rem; }

/* ---------- Team ---------- */
.member {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid rgba(7,27,74,.07);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.member:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.member-img { aspect-ratio: 1/1; overflow: hidden; position: relative; background: var(--gray); }
.member-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .9s var(--ease), filter .5s ease; }
.member:hover .member-img img { transform: scale(1.06); filter: saturate(1.05); }
.member-body { padding: 1.5rem; text-align: center; }
.member-body h3 { font-size: 1.12rem; }
.member-role { font-family: var(--font-util); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: .35rem 0 .9rem; }
.member-body p { font-size: .9rem; text-align: left; }
.quals { list-style: none; margin-top: 1rem; text-align: left; border-top: 1px solid rgba(7,27,74,.08); padding-top: 1rem; }
.quals li { font-size: .82rem; color: var(--gray-500); display: flex; gap: .5rem; margin-bottom: .35rem; }
.quals li::before { content: "▪"; color: var(--gold); }

/* ---------- Accordion ---------- */
.acc { border: 1px solid rgba(7,27,74,.1); border-radius: var(--radius); overflow: hidden; margin-bottom: .9rem; background: var(--white); transition: box-shadow .35s ease, border-color .3s; }
.acc.open { box-shadow: var(--shadow-sm); border-color: rgba(212,175,55,.6); }
.acc-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.6rem; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy);
}
.acc-q:hover { color: var(--royal); }
.acc-q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.plus { flex: none; width: 26px; height: 26px; position: relative; border-radius: 50%; background: rgba(212,175,55,.15); transition: transform .4s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--gold); border-radius: 2px; }
.plus::before { width: 11px; height: 2px; }
.plus::after { width: 2px; height: 11px; transition: transform .4s var(--ease); }
.acc.open .plus { transform: rotate(180deg); background: var(--gold); }
.acc.open .plus::before, .acc.open .plus::after { background: var(--navy); }
.acc.open .plus::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-a p { padding: 0 1.6rem 1.5rem; font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.8rem); box-shadow: var(--shadow); border: 1px solid rgba(7,27,74,.06); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-util); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem; border-radius: 12px;
  border: 1.5px solid rgba(7,27,74,.14); background: var(--cream);
  font-size: .95rem; transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal); background: var(--white);
  box-shadow: 0 0 0 4px rgba(18,64,155,.1);
}
.field .err { display: none; color: #C0392B; font-size: .8rem; margin-top: .35rem; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #C0392B; }
.field.invalid .err { display: block; }
.form-note { margin-top: 1rem; font-size: .84rem; color: var(--gray-500); }
.form-ok { display: none; background: rgba(31,111,92,.1); border: 1px solid rgba(31,111,92,.3); color: var(--emerald); border-radius: 12px; padding: 1rem 1.2rem; font-size: .9rem; margin-bottom: 1.2rem; font-weight: 500; }
.form-ok.show { display: block; }

/* ---------- Contact info ---------- */
.info-item { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(7,27,74,.08); }
.info-item:last-child { border-bottom: 0; }
.info-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(18,64,155,.09); color: var(--royal); }
.info-ico svg { width: 21px; height: 21px; }
.info-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.info-item p, .info-item a { font-size: .92rem; color: #4E5B76; }
.info-item a:hover { color: var(--royal); }

.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(7,27,74,.06); color: var(--navy);
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}
.socials a:hover { background: var(--navy); color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(7,27,74,.08); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,.4);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }

.emergency {
  border-radius: var(--radius-lg); padding: 2rem;
  background: linear-gradient(120deg, var(--navy), var(--royal));
  color: var(--white); display: flex; flex-wrap: wrap; gap: 1.4rem;
  align-items: center; justify-content: space-between;
}
.emergency h3 { color: var(--white); margin-bottom: .3rem; }
.emergency p { color: #C3CEE6; font-size: .93rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.8rem, 5vw, 4.5rem);
  background: linear-gradient(115deg, var(--navy) 0%, var(--royal) 100%);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 12% 20%, rgba(212,175,55,.24), transparent 60%),
              radial-gradient(50% 80% at 88% 90%, rgba(111,168,220,.22), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); max-width: 700px; margin-inline: auto; }
.cta-band p { color: #C6D2E9; max-width: 560px; margin: 1rem auto 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.8rem; }
.filters button {
  font-family: var(--font-util); font-size: .8rem; font-weight: 600;
  padding: .65rem 1.35rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(7,27,74,.14); background: transparent; color: var(--navy);
  transition: all .3s ease;
}
.filters button:hover { border-color: var(--navy); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: var(--gold); }

.gal { columns: 4; column-gap: 1.1rem; }
.gal-item {
  break-inside: avoid; margin-bottom: 1.1rem; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: opacity .4s ease, transform .4s var(--ease);
}
.gal-item.hide { display: none; }
.gal-item img { width: 100%; transition: transform 1s var(--ease); }
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,27,74,.85), transparent 55%);
  opacity: 0; transition: opacity .4s ease;
}
.gal-item:hover::after { opacity: 1; }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  color: var(--white); font-family: var(--font-util); font-size: .84rem; font-weight: 600;
  opacity: 0; transform: translateY(10px); transition: all .4s var(--ease);
}
.gal-item:hover .gal-cap { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(4,12,32,.95); backdrop-filter: blur(10px);
  place-items: center; padding: 2rem;
}
.lightbox.on { display: grid; animation: fadeUp .35s ease; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-cap { color: rgba(255,255,255,.8); font-family: var(--font-util); font-size: .88rem; text-align: center; margin-top: 1rem; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem; transition: background .3s ease;
}
.lb-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lb-close { top: 1.6rem; right: 1.6rem; }
.lb-prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.6rem; top: 50%; transform: translateY(-50%); }

/* ---------- Search + pagination ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.search {
  position: relative; flex: 1; min-width: 240px; max-width: 380px;
}
.search input { width: 100%; padding: .85rem 1rem .85rem 2.8rem; border-radius: 999px; border: 1.5px solid rgba(7,27,74,.14); background: var(--white); font-size: .9rem; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(18,64,155,.1); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gray-500); }
.no-results { display: none; text-align: center; padding: 3rem 0; color: var(--gray-500); }
.no-results.show { display: block; }

.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.pager button {
  min-width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid rgba(7,27,74,.12); background: var(--white);
  font-family: var(--font-util); font-weight: 600; font-size: .88rem; color: var(--navy);
  transition: all .3s ease;
}
.pager button:hover:not(:disabled) { border-color: var(--navy); }
.pager button.on { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Feature article ---------- */
.feature-post {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); margin-bottom: 3.5rem; border: 1px solid rgba(7,27,74,.06);
}
.feature-post img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.feature-post .fp-body { padding: clamp(1.8rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.feature-post h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin: .8rem 0 .9rem; }

/* ---------- Process steps ---------- */
.step {
  display: flex; gap: 1.6rem; padding: 1.9rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(7,27,74,.07);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-n {
  flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; }

.checklist li {
  display: flex; gap: .8rem; padding: .75rem 0;
  border-bottom: 1px solid rgba(7,27,74,.07); font-size: .95rem; color: #43506B;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(212,175,55,.18); color: var(--gold);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700; margin-top: .2rem;
}

.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fee-table th, .fee-table td { padding: 1.05rem 1.3rem; text-align: left; font-size: .93rem; border-bottom: 1px solid rgba(7,27,74,.07); }
.fee-table th { background: var(--navy); color: var(--white); font-family: var(--font-util); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.fee-table tbody tr:hover { background: var(--cream); }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table td:first-child { font-weight: 600; color: var(--navy); }

/* ---------- Value cards (glass on navy) ---------- */
.value {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.9rem; backdrop-filter: blur(10px);
  transition: transform .45s var(--ease), background .35s ease, border-color .3s;
}
.value:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(212,175,55,.5); }
.value .vn { font-family: var(--font-util); font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
.value h3 { color: var(--white); font-size: 1.15rem; margin: .7rem 0 .55rem; }
.value p { color: #B6C3DD; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #A9B7D4; padding-top: clamp(4rem, 7vw, 6rem); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 320px;
  background: radial-gradient(70% 100% at 15% 0%, rgba(18,64,155,.5), transparent 70%);
}
.site-footer .container { position: relative; z-index: 2; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-util); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4rem; }
.f-about p { font-size: .92rem; color: #A9B7D4; margin-top: 1.2rem; max-width: 320px; }
.f-links li { margin-bottom: .75rem; }
.f-links a { font-size: .92rem; color: #A9B7D4; transition: color .25s ease, padding-left .3s var(--ease); display: inline-block; }
.f-links a:hover { color: var(--gold); padding-left: 6px; }
.f-contact li { font-size: .92rem; margin-bottom: .85rem; color: #A9B7D4; display: flex; gap: .6rem; }
.f-contact strong { color: var(--white); font-weight: 600; }

.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .85rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  color: var(--white); font-size: .88rem; transition: border-color .3s, background .3s;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.newsletter button { flex: none; border: 0; background: var(--gold); color: var(--navy); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.newsletter button:hover { background: var(--gold-soft); transform: scale(1.06); }
.nl-ok { font-size: .82rem; color: var(--gold); margin-top: .7rem; display: none; }
.nl-ok.show { display: block; }

.f-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.8rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.f-bottom .socials a { background: rgba(255,255,255,.07); color: #fff; }
.f-bottom .socials a:hover { background: var(--gold); color: var(--navy); }
.f-bottom .socials { margin: 0; }

.to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--gold); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--royal); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }
.reveal[data-d="5"] { transition-delay: .5s; }

/* ---------- Accessibility ---------- */
.skip {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); padding: .8rem 1.5rem;
  border-radius: 0 0 12px 12px; z-index: 1200; font-family: var(--font-util); font-weight: 600;
  transition: top .3s ease;
}
.skip:focus { top: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Gallery empty-state note (for tabs with no photos yet) */
.gallery-empty { display: none; text-align: center; color: #64748b; font-family: var(--font-util); padding: 2.5rem 0; }
.gallery-empty.show { display: block; }

/* Staff photo placeholder (until real portraits are added) */
.member-img--ph { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #10306e 0%, #0a1f4a 100%); color: var(--gold-soft); }
.member-img--ph svg { width: 44%; height: 44%; opacity: .8; }

/* Honeypot (spam trap — hidden from people, visible to bots) */
.hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Error state for the form status message */
.form-ok.is-error { background: #fdece9; color: #b3261e; border-color: #f2bcb6; }
