/* ===========================================================
   PRESIDENCY — Design System
   =========================================================== */

:root {
  /* Brand palette — sampled directly from the official IT-School Presidency seal */
  --navy-950: #001436;
  --navy-900: #001f53;
  --navy-800: #1a3564;
  --navy-700: #385079;
  --navy-600: #576b8e;
  --gold-500: #c3921a;
  --gold-400: #d5b35f;
  --gold-300: #e4ce98;
  --ink-900: #14181f;
  --ink-700: #3d4250;
  --ink-500: #6d7280;
  --ink-300: #a4a8b3;
  --paper-0: #ffffff;
  --paper-50: #f7f7f5;
  --paper-100: #efefeb;
  --paper-200: #e2e2dc;
  --line: #e3e3dd;

  /* Semantic heading color — brand navy on light backgrounds, redefined under dark mode below */
  --heading: var(--navy-900);

  --grad-navy: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-800) 100%);
  --grad-gold: linear-gradient(120deg, var(--gold-300) 0%, var(--gold-500) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 20, 54, 0.07);
  --shadow-md: 0 8px 24px rgba(0, 20, 54, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 20, 54, 0.20);
  --shadow-gold: 0 12px 28px rgba(195, 146, 26, 0.30);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --radius-btn: 8px;

  --container: 1200px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; color: var(--ink-700); margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }

/* -------- Eyebrow / kicker -------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--gold-400); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(195,146,26,.36); }
.btn-outline {
  background: transparent;
  color: var(--paper-0);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,.6); transform: translateY(-3px); }
.btn-navy {
  background: var(--navy-900);
  color: var(--paper-0);
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost-navy {
  background: transparent;
  color: var(--heading);
  border-color: var(--line);
}
.btn-ghost-navy:hover { background: var(--paper-100); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* -------- Navbar -------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar.is-scrolled {
  height: 70px;
  background: rgba(0, 31, 83, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,20,54,0.25);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.footer-brand .brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: 'Source Serif 4', serif;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--paper-0);
}
.brand-text span {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--navy-950); background: var(--grad-gold); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--grad-navy);
  color: var(--paper-0);
  overflow: hidden;
}
.hero .container { width: 100%; }
.hero-inner { transform-origin: center top; will-change: transform; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 88% 8%, rgba(195,146,26,0.10) 0%, transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(195,146,26,0.06) 0%, transparent 38%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  color: var(--paper-0);
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px;
}
.hero-stat {
  padding: 0 32px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat strong {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 30px;
  color: var(--paper-0);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: .03em; }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.seal-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seal-stage::before {
  content: "";
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195,146,26,.14) 0%, transparent 68%);
}
.seal-stage::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(195,146,26,.22);
}
.seal-stage img {
  position: relative;
  width: 82%;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.45));
}
.seal-caption {
  margin-top: 22px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* -------- Section headers -------- */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--heading); }
.on-dark h2, .on-dark h3 { color: var(--paper-0); }
.on-dark p { color: rgba(255,255,255,.68); }
.bg-navy { background: var(--grad-navy); color: var(--paper-0); }
.bg-paper { background: var(--paper-50); }

/* -------- Pull-quote / mission band -------- */
.quote-band { background: var(--paper-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.quote-mark { width: 40px; height: 40px; margin: 0 auto 24px; display: block; }
.quote-text {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  color: var(--heading);
  margin-bottom: 20px;
}
.quote-attrib {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding-top: 16px;
  border-top: 2px solid var(--gold-500);
}

/* -------- Stat strip -------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-cell {
  background: var(--paper-0);
  padding: 34px 24px;
  text-align: center;
}
.stat-cell strong {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 34px;
  color: var(--heading);
}
.stat-cell span { font-size: 13px; color: var(--ink-500); }

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

.team-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.team-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.team-photo { position: relative; aspect-ratio: 1/1.05; overflow: hidden; background: var(--navy-800); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-social {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 8px; justify-content: center;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,20,54,.85), transparent);
  opacity: 0; transform: translateY(10px);
  transition: all .3s ease;
}
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
}
.team-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.team-social svg { width: 14px; height: 14px; fill: #fff; }
.team-info { padding: 22px 22px 26px; }
.team-info .role {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 6px; display: block;
}
.team-info h3 { font-size: 19px; margin-bottom: 8px; color: var(--heading); }
.team-info p { font-size: 14px; margin-bottom: 0; }

/* -------- Leadership highlight row -------- */
.lead-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.lead-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  min-height: 380px;
  display: flex; align-items: flex-end;
}
.lead-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lead-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,20,54,.95) 10%, rgba(0,20,54,.15) 70%);
}
.lead-body { position: relative; z-index: 2; padding: 28px; }
.lead-body .role { color: var(--gold-400); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead-body h3 { color: #fff; font-size: 24px; margin: 6px 0 8px; }
.lead-body p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 14px; }

/* -------- Filters -------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper-0);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--gold-500); color: var(--heading); }
.filter-btn.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* -------- Project cards -------- */
.proj-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-0);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.proj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.proj-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-thumb img { transform: scale(1.08); }
.proj-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,20,54,.72); backdrop-filter: blur(6px);
  color: var(--gold-400); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.proj-date {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.92);
  color: var(--navy-900); font-size: 11px; font-weight: 700;
  padding: 7px 12px; border-radius: var(--radius-pill);
}
.proj-body { padding: 24px; }
.proj-body h3 { font-size: 19px; margin-bottom: 10px; color: var(--heading); }
.proj-body p { font-size: 14px; margin-bottom: 16px; }
.proj-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.proj-meta .link { font-size: 13px; font-weight: 700; color: var(--heading); display: inline-flex; align-items: center; gap: 6px; }
.proj-meta .link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.proj-card:hover .link svg { transform: translateX(4px); }
.proj-avatars { display: flex; }
.proj-avatars img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper-0); margin-left: -8px; }
.proj-avatars img:first-child { margin-left: 0; }

/* -------- Values / feature grid (editorial, numbered) -------- */
.feature-card {
  padding: 34px 26px 28px;
  border-top: 1px solid rgba(255,255,255,.16);
  transition: border-color .25s ease, transform .25s ease;
}
.feature-card:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.feature-index {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: .08em;
  margin-bottom: 34px;
  display: block;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--paper-0); }
.feature-card p { font-size: 14px; margin: 0; color: rgba(255,255,255,.68); }

/* light-background variant (used on paper sections) */
.bg-paper .feature-card,
.section:not(.bg-navy) .feature-card {
  border-top-color: var(--line);
}
.section:not(.bg-navy) .feature-card:hover { border-top-color: var(--gold-500); }
.section:not(.bg-navy) .feature-index { color: var(--navy-700); }
.section:not(.bg-navy) .feature-card h3 { color: var(--heading); }
.section:not(.bg-navy) .feature-card p { color: var(--ink-700); }

/* -------- Timeline (About) -------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -40px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper-0); border: 3px solid var(--gold-500);
}
.timeline-item .year { font-family: 'Source Serif 4', serif; font-size: 22px; color: var(--heading); margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; max-width: 560px; }

/* -------- Quote / CTA banner -------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%; right: -80px;
  width: 340px; height: 340px;
  background: url('../img/logo-seal.svg') center/contain no-repeat;
  opacity: 0.07;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(195,146,26,.25), transparent 45%),
                     radial-gradient(circle at 80% 80%, rgba(195,146,26,.18), transparent 45%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(26px,3vw,38px); max-width: 620px; margin: 0 auto 16px; }
.cta-banner p { color: rgba(255,255,255,.68); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* -------- Testimonial -------- */
.testi-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testi-stars { color: var(--gold-500); font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-card p.quote { font-size: 15.5px; color: var(--ink-700); margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 44px; height: 44px; border-radius: 50%; }
.testi-person strong { display: block; font-size: 14px; color: var(--heading); }
.testi-person span { font-size: 12.5px; color: var(--ink-500); }

/* -------- Contact -------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-info-card {
  background: var(--grad-navy); color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  height: 100%;
}
.contact-info-card h3 { color: #fff; font-size: 24px; }
.contact-info-card p { color: rgba(255,255,255,.65); }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-line:first-of-type { border-top: none; margin-top: 28px; }
.contact-line .ic {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
}
.contact-line .ic svg { width: 18px; height: 18px; stroke: var(--gold-400); fill: none; }
.contact-line strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.contact-line span { font-size: 13.5px; color: rgba(255,255,255,.6); }
.social-row { display: flex; gap: 10px; margin-top: 32px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.social-row svg { width: 16px; height: 16px; fill: #fff; }

.form-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 700; color: var(--heading); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-50);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.form-alert.success { background: #e8f7ee; color: #146c3d; border: 1px solid #a9e2c1; }
.form-alert.error   { background: #fde8e8; color: #9b1c1c; border: 1px solid #f5b5b5; }

/* -------- Footer -------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-newsletter { display: flex; gap: 10px; margin-top: 18px; }
.footer-newsletter input {
  flex: 1; padding: 13px 16px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-size: 13.5px;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom .social-row { margin-top: 0; }

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

/* -------- Breadcrumb header for inner pages -------- */
.page-head {
  padding: calc(var(--nav-h) + 70px) 0 70px;
  background: var(--grad-navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(195,146,26,.2), transparent 55%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(32px,4vw,48px); }
.crumbs { display: flex; gap: 8px; justify-content: center; font-size: 13.5px; color: rgba(255,255,255,.55); margin-top: 14px; }
.crumbs a:hover { color: var(--gold-400); }

/* -------- Responsive -------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .lead-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 26px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--nav-h) + 60px) 0 72px; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy-950);
  display: flex; flex-direction: column;
  padding: 110px 32px 40px;
  transform: translateX(100%);
  transition: transform .4s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer a { font-size: 22px; font-family:'Source Serif 4',serif; color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
