/* ===== Design tokens ===== */
:root {
  --navy: #0b1f3a;
  --navy-dark: #071527;
  --navy-light: #143261;
  --red: #d21f3c;
  --red-dark: #a8172f;
  --gold: #c9a227;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-300: #cfd6e0;
  --gray-600: #5b6472;
  --text: #1b2430;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.16);
  --max-width: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

h1, h2, h3, h4 { margin: 0 0 16px; font-weight: 700; line-height: 1.2; }
h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--gray-600); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 24px rgba(210, 31, 60, 0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); box-shadow: 0 10px 24px rgba(11,31,58,0.25); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand svg { flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand .brand-sub { display: block; font-weight: 500; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 100px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-links a.active { background: var(--red); color: var(--white); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* ===== Hero banner (full-width image) ===== */
.hero-banner { line-height: 0; padding: 0; }
.hero-banner img { width: 100%; height: auto; display: block; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(210,31,60,0.25), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  transform: translateY(-50%);
}
.hero-inner { max-width: 680px; position: relative; z-index: 1; }
.hero h1 { font-size: 3.2rem; }
.hero p.lead { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 64px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: left; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== Cards / grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(210,31,60,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; }

/* ===== Section variants ===== */
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.7); }
.section-navy .section-head h2 { color: var(--white); }

/* ===== Member cards ===== */
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-photo {
  height: 140px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
}
.member-body { padding: 22px; }
.member-body h3 { margin-bottom: 2px; }
.member-role { color: var(--red); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; display: block; }
.member-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-600);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ===== News ===== */
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-100);
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-weight: 700;
  color: var(--navy);
}
.news-date .day { font-size: 1.8rem; display: block; }
.news-date .month { font-size: 0.8rem; text-transform: uppercase; color: var(--gray-600); }
.news-item h3 { margin-bottom: 6px; }
.news-item .tag { margin-bottom: 10px; display: inline-block; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }

/* ===== Timeline (about) ===== */
.timeline { border-left: 2px solid var(--gray-300); padding-left: 28px; margin-left: 6px; }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-item .year { color: var(--red); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-note { font-size: 0.82rem; color: var(--gray-600); margin-top: 10px; }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(210,31,60,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { margin: 0; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-top h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-top a { display: block; color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.15s ease; }
.footer-top a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-links a:hover { background: var(--red); }
