/* ==========================================================================
   Barber Community South — Design System
   Navy → black gradient, accent blue, amber accents. Oswald + Inter.
   ========================================================================== */

:root {
  --navy: #081868;
  --black: #010101;
  --blue: #0072ff;
  --blue-light: #4a9bff;
  --amber: #f4b400;
  --white: #ffffff;
  --muted: #b9c9e0;
  --muted-15: rgba(185, 201, 224, 0.15);
  --muted-18: rgba(185, 201, 224, 0.18);
  --muted-25: rgba(185, 201, 224, 0.25);
  --muted-35: rgba(185, 201, 224, 0.35);
  --white-04: rgba(255, 255, 255, 0.04);
  --white-06: rgba(255, 255, 255, 0.06);
  --white-08: rgba(255, 255, 255, 0.08);

  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1440px;
  --radius: 14px;
  --nav-height: 72px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(180deg, var(--navy) 0%, var(--black) 55%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-light); }

img { max-width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 25px; padding-right: 25px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 6vw; }
.container-mid { max-width: 1100px; margin: 0 auto; padding: 0 6vw; }

/* padding-top/bottom only (not the `padding: Y X` shorthand) so these never
   zero out the horizontal padding of a .container* class combined on the
   same element, regardless of which rule is declared later in this file. */
.section { padding-top: clamp(56px, 9vw, 100px); padding-bottom: clamp(56px, 9vw, 100px); }
.section-tight { padding-top: clamp(32px, 6vw, 60px); padding-bottom: clamp(32px, 6vw, 60px); }
.section-lg { padding-top: clamp(70px, 12vw, 150px); padding-bottom: clamp(70px, 12vw, 150px); }
.section-alt { background: rgba(255, 255, 255, 0.02); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
}

.h1, .h2, .h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }

.lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--muted); }
.body-text { font-size: 16px; line-height: 1.75; color: var(--muted); }
.small-text { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 32px);
  background: rgba(1, 1, 1, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--muted-15);
}
.nav-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-brand img { height: 34px; width: 34px; display: block; }
.nav-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 2px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-dropdown { position: relative; display: flex; align-items: center; gap: 2px; padding-bottom: 14px; margin-bottom: -14px; }
.nav-dropdown-caret { color: var(--muted); font-size: 10px; padding: 6px 4px; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: all 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-panel {
  background: #050512; border: 1px solid var(--muted-25); border-radius: 8px; padding: 8px;
  min-width: 190px; box-shadow: 0 14px 34px rgba(0,0,0,0.55);
}
.nav-dropdown-panel a {
  display: block; padding: 11px 14px; font-family: var(--font-head); font-size: 13px;
  font-weight: 600; color: var(--white); border-radius: 6px; white-space: nowrap;
}
.nav-dropdown-panel a:hover { background: rgba(0,114,255,0.15); color: var(--white); }
.nav-lang {
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); cursor: pointer; padding: 5px 10px; border: 1px solid var(--muted-35);
  border-radius: 999px; position: relative;
}
.nav-lang:hover { border-color: var(--white); color: var(--white); }
.nav-lang-hint {
  position: absolute; top: calc(100% + 8px); right: 0; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: all 0.15s ease;
}
.nav-lang-hint.is-open { opacity: 1; visibility: visible; }
.nav-ticket-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--blue); color: #fff; padding: 11px 20px;
  border-radius: 6px; cursor: pointer; border: none;
}
.nav-ticket-btn:hover { background: var(--blue-light); color: #fff; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-burger span { width: 24px; height: 2px; background: var(--white); display: block; transition: all 0.2s ease; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 199; background: var(--black);
  padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto; transform: translateX(100%); transition: transform 0.25s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-link {
  font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; cursor: pointer; padding: 16px 4px; border-bottom: 1px solid var(--muted-15);
  color: var(--white); display: block;
}
.mobile-nav-sub { border-bottom: 1px solid var(--muted-15); }
.mobile-nav-sub-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-sub-row .mobile-nav-link { flex: 1; border-bottom: none; }
.mobile-nav-caret { cursor: pointer; padding: 16px 10px; color: var(--muted); font-size: 16px; background: none; border: none; }
.mobile-nav-sub-item {
  display: none; font-family: var(--font-head); font-size: 16px; font-weight: 500; text-transform: uppercase;
  color: var(--muted); cursor: pointer; padding: 6px 4px 18px 20px;
}
.mobile-nav-sub-item.is-open { display: block; }
.mobile-nav-ticket {
  margin-top: 24px; text-align: center; font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 16px 20px;
  border-radius: 6px; cursor: pointer; border: none;
}
.mobile-nav-close {
  text-align: center; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); cursor: pointer; padding: 16px 10px; background: none; border: none;
}
.nav-spacer { height: var(--nav-height); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 901px) {
  .nav-burger { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
}
.hero.hero-sm { min-height: 50vh; }
.hero.hero-md { min-height: 56vh; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: heroFade 25s linear infinite;
}
.hero-bg img:only-child { opacity: 1; animation: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,24,104,0.6) 0%, rgba(1,1,1,0.9) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-content .btn-row { justify-content: center; }
.hero-logo { height: 88px; width: 88px; }

.countdown-row { display: flex; gap: clamp(8px, 2vw, 14px); margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.countdown-box {
  background: var(--white-08); border: 1px solid var(--muted-25); border-radius: 10px;
  padding: 10px clamp(10px, 3vw, 18px); min-width: 64px; text-align: center;
}
.countdown-value { font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.countdown-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.countdown-caption { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin: 0; }

/* ---------- Split / two-col ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.split-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); display: block; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; }
@media (min-width: 901px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card {
  background: var(--white-04); border: 1px solid var(--muted-18); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; transition: all 0.25s ease;
}
.pillar-card:hover { background: rgba(0,114,255,0.1); border-color: var(--blue); transform: translateY(-4px); }
.pillar-card .icon { width: 32px; height: 32px; color: var(--muted); stroke-width: 1.6; }
.pillar-card h3 { font-size: 19px; }
.pillar-payoff { font-size: 14px; font-weight: 600; color: var(--blue); }

/* ---------- Featured event banner ---------- */
.event-banner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  border-radius: 16px; overflow: hidden; border: 1px solid var(--muted-25);
}
.event-banner img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.event-banner-body { background: var(--white-06); padding: clamp(28px, 6vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.badge {
  align-self: flex-start; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.badge-amber { background: var(--amber); color: var(--black); }
.badge-blue { background: var(--blue); color: #fff; }
.event-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.event-meta .icon { width: 16px; height: 16px; }

/* ---------- Media grid ---------- */
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 15px; }
.media-grid img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.partner-card {
  background: var(--white-04); border: 1px solid var(--muted-18); border-radius: 12px; padding: 24px 20px;
  min-height: 110px; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s ease;
}
.partner-card:hover { border-color: var(--blue); }
.partner-card img { max-width: 82%; max-height: 56px; object-fit: contain; display: block; }
.partner-card.is-light { }
.partner-card.is-light .partner-light-bg {
  background: #fff; border-radius: 8px; padding: 14px 18px; width: 100%; display: flex; align-items: center; justify-content: center;
}
.partner-card.is-light img { max-width: 100%; max-height: 48px; }

/* ---------- People (founders / ambassadors / educators) ---------- */
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 44px; }
.founder-card { display: flex; flex-direction: column; gap: 16px; }
.founder-photo { width: 100%; height: 340px; object-fit: cover; object-position: center 15%; border-radius: var(--radius); display: block; }
.founder-name { font-size: 19px; margin-bottom: 2px; }
.founder-role { font-size: 13px; color: var(--blue); font-weight: 600; margin: 4px 0 10px; }
.founder-bio { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 10px; }
.founder-ig { font-size: 13px; font-weight: 600; }

.ambassadors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .ambassadors-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.ambassador-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ambassador-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 15%; display: block; }
@media (max-width: 900px) { .ambassador-photo { width: 100px; height: 100px; } }
.ambassador-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.ambassador-shop { font-size: 13px; color: var(--muted); }
.ambassador-ig { font-size: 13px; font-weight: 600; }

.educators-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.educator-card {
  background: var(--white-04); border: 1px solid var(--muted-15); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
}
.educator-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 15%; display: block; }
.educator-specialty { font-size: 13px; color: var(--blue); font-weight: 600; }

/* ---------- Timeline (event archive) ---------- */
.timeline { display: flex; flex-direction: column; position: relative; padding-left: 32px; border-left: 2px solid var(--muted-25); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -38px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--black); }
.timeline-dot.is-muted { background: var(--muted); }
.timeline-dot.is-active { background: var(--blue); }
.timeline-date { font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.04em; }
.timeline-title { font-size: 19px; margin-bottom: 8px; }
.timeline-desc { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 640px; }

/* ---------- Programma table ---------- */
.programma-table { display: flex; flex-direction: column; gap: 10px; }
.programma-head, .programma-row {
  display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr; gap: 0;
}
.programma-head { background: var(--navy); border-radius: 10px 10px 0 0; overflow: hidden; }
.programma-head > div {
  padding: 14px 18px; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.programma-row > div { padding: 16px 18px; font-size: 14px; color: var(--muted); }
.programma-row > div:first-child { color: var(--white); font-weight: 600; }
.programma-row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.programma-row:nth-child(even) { background: rgba(255,255,255,0.06); }
.programma-mobile { display: none; flex-direction: column; gap: 12px; }
.programma-mobile-card { border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.programma-mobile-card:nth-child(odd) { background: rgba(255,255,255,0.03); }
.programma-mobile-card:nth-child(even) { background: rgba(255,255,255,0.06); }
.programma-mobile-time { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--blue); }
@media (max-width: 760px) {
  .programma-table { display: none; }
  .programma-mobile { display: flex; }
}

/* ---------- Battle cards ---------- */
.battles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-top: 40px; }
.battle-card { background: var(--white-04); border: 1px solid var(--muted-18); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.battle-card h4 { font-size: 13px; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 8px; }
.battle-card ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.battle-price { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--amber); margin: 0 0 8px; }
.battle-footer { border-top: 1px solid var(--muted-15); padding-top: 16px; }
.prize-box { margin-top: 32px; background: rgba(244,180,0,0.08); border: 1px solid rgba(244,180,0,0.3); border-radius: 14px; padding: 26px 28px; }
.prize-box h4 { color: var(--amber); font-size: 16px; margin-bottom: 8px; }

/* ---------- Expect list ---------- */
.expect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.expect-item {
  display: flex; align-items: center; gap: 12px; background: var(--white-04); border: 1px solid var(--muted-15);
  border-radius: 10px; padding: 16px 18px;
}
.expect-item .icon { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.expect-item span { font-size: 14px; font-weight: 600; }

/* ---------- Practical info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.info-card { background: var(--white-04); border: 1px solid var(--muted-15); border-radius: 12px; padding: 22px; }
.info-card h4 { font-size: 15px; margin-bottom: 8px; color: var(--blue); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white-04); border: 1px solid var(--muted-18); border-radius: 12px; padding: 22px 26px; cursor: pointer; }
.faq-item-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item-head h4 { font-family: var(--font-head); font-weight: 600; font-size: 16px; text-transform: none; }
.faq-marker { font-size: 20px; color: var(--blue); transition: transform 0.2s ease; }
.faq-answer { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 0; max-height: 0; overflow: hidden; transition: all 0.25s ease; }
.faq-item.is-open .faq-answer { margin-top: 14px; max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--muted-35); border-radius: 8px;
  padding: 14px 16px; color: var(--white); font-size: 14px; font-family: var(--font-body); width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form button { align-self: flex-start; border: none; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-block h3 { font-size: 16px; color: var(--blue); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.contact-panel { background: var(--white-04); border: 1px solid var(--muted-18); border-radius: 14px; padding: 28px; }
.contact-panel h3 { font-size: 17px; margin-bottom: 10px; color: var(--white); }

.social-row { display: flex; gap: 20px; justify-content: center; }
.social-circle {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--muted-35);
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.social-circle:hover { border-color: var(--blue); color: var(--white); }
.social-circle .icon { width: 22px; height: 22px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: clamp(64px, 11vw, 130px) 6vw; text-align: center; overflow: hidden; }
.cta-banner-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--muted-15); padding: clamp(48px, 8vw, 70px) 6vw 30px; }
.footer-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 44px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 34px; width: 34px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; }
.footer-col h5 { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.footer-col a, .footer-col span.footer-link { font-size: 14px; color: var(--white); cursor: pointer; }
.footer-col a:hover, .footer-col span.footer-link:hover { color: var(--blue); }
.footer-orgs { display: flex; align-items: flex-start; gap: 24px; }
.footer-org { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-org img { height: 40px; width: auto; object-fit: contain; }
.footer-org span { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 16px; margin-top: 6px; }
.footer-legal a { font-size: 13px; color: var(--blue); }
.footer-bottom { max-width: var(--container); margin: 44px auto 0; padding-top: 24px; border-top: 1px solid rgba(185,201,224,0.1); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-bottom p a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom p a:hover { color: var(--blue); }

/* ---------- Legal pages ---------- */
.legal-block { display: flex; flex-direction: column; gap: 26px; }
.legal-block h3 { font-size: 17px; color: var(--blue); margin-bottom: 8px; }
.legal-block p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.max-content { max-width: 640px; margin: 0 auto; padding: 0 6vw; }
.max-content-md { max-width: 760px; margin: 0 auto; padding: 0 6vw; }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px; }
.section-head.center { align-items: center; text-align: center; max-width: 640px; margin: 0 auto 40px; gap: 16px; }
.mt-title { margin: 0 0 44px; text-align: center; }
.pad-top { padding-top: 60px; }
.gap-14 { display: flex; flex-direction: column; gap: 14px; }
.gap-20 { display: flex; flex-direction: column; gap: 20px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 12px 18px;
  z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Animations ---------- */
@keyframes heroFade { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none !important; opacity: 1 !important; }
}
