*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #111111;
  --red:        #cc0000;
  --red-dark:   #990000;
  --red-light:  #fff0f0;
  --white:      #ffffff;
  --grey-bg:    #f4f4f4;
  --border:     #e0e0e0;
  --text-mid:   #444444;
  --text-muted: #777777;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius:     10px;
  --radius-sm:  6px;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); font-size: 16px; line-height: 1.65; }

/* ─── NAVBAR ─── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--black); border-bottom: 3px solid var(--red); }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-badge { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ─── HERO ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 5rem 1.5rem 3rem; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, rgba(204,0,0,0.18) 0%, transparent 60%), var(--black); z-index: 0; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.hero-badge { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(204,0,0,0.4)); animation: badgePop 0.6s cubic-bezier(0.175,0.885,0.32,1.275) both; }
@keyframes badgePop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
.hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; text-transform: uppercase; color: var(--white); line-height: 0.95; letter-spacing: 0.02em; }
.hero-sub { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 420px; }
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.btn-hero-primary { background: var(--red); color: var(--white); padding: 0.75rem 2rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: background 0.15s, transform 0.1s; box-shadow: 0 3px 12px rgba(204,0,0,0.4); }
.btn-hero-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-hero-secondary { background: rgba(255,255,255,0.1); color: var(--white); padding: 0.75rem 2rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); transition: background 0.15s; }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); }

/* ─── SECTIONS ─── */
.section { padding: 5rem 1.5rem; }
.section-dark { background: var(--black); color: var(--white); }
.section-grey { background: var(--grey-bg); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--red); margin-bottom: 0.5rem; }
.section-label.light { color: rgba(255,255,255,0.5); }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--black); margin-bottom: 1.5rem; line-height: 1; }
h2.light { color: var(--white); }
.section-intro { max-width: 640px; color: var(--text-mid); margin-bottom: 2.5rem; font-size: 1rem; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--text-mid); margin-bottom: 1rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.badge-pill { background: var(--black); color: var(--white); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 20px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { background: var(--black); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--red); }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── TRAINING ─── */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.training-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.5rem; transition: background 0.15s, border-color 0.15s; }
.training-card:hover { background: rgba(255,255,255,0.08); border-color: var(--red); }
.training-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.training-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.training-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ─── COSTS ─── */
.costs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.cost-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.cost-card.highlight { border-color: var(--red); border-width: 2px; box-shadow: 0 4px 20px rgba(204,0,0,0.12); }
.cost-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.cost-icon { font-size: 1.5rem; }
.cost-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.cost-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 1.25rem; }
.cost-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 400; font-family: var(--font-body); }
.cost-breakdown { list-style: none; margin-bottom: 1rem; }
.cost-breakdown li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; display: flex; gap: 8px; }
.cost-breakdown li:last-child { border-bottom: none; }
.cost-tick { color: var(--red); font-weight: 700; flex-shrink: 0; }
.sibling-note { background: var(--grey-bg); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; font-size: 0.85rem; font-weight: 500; color: var(--text-mid); }
.cost-included { background: var(--black); border-radius: var(--radius); padding: 1.75rem; }
.cost-included h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.included-list { list-style: none; margin-bottom: 1.25rem; }
.included-list li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.included-list li:last-child { border-bottom: none; }
.cost-note { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ─── POLICIES ─── */
.policies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.policy-card { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: box-shadow 0.15s, border-color 0.15s; }
.policy-card:hover { border-color: var(--red); box-shadow: 0 3px 12px rgba(0,0,0,0.08); }
.policy-icon { font-size: 1.75rem; flex-shrink: 0; width: 44px; text-align: center; }
.policy-info h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--black); margin-bottom: 0.35rem; }
.policy-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.75rem; }
.policy-download { display: inline-flex; align-items: center; gap: 5px; background: var(--black); color: var(--white); font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: var(--radius-sm); text-decoration: none; transition: background 0.15s; }
.policy-download:hover { background: var(--red); }

/* ─── COURSES ─── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.course-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transition: border-color 0.15s, box-shadow 0.15s; }
.course-card:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.course-card.featured { border-color: var(--red); border-width: 2px; }
.course-badge { display: inline-block; background: var(--black); color: var(--white); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.65rem; border-radius: 20px; align-self: flex-start; }
.course-card.featured .course-badge { background: var(--red); }
.course-icon { font-size: 2rem; }
.course-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: var(--black); }
.course-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.course-link { display: inline-block; color: var(--red); font-weight: 600; font-size: 0.88rem; text-decoration: none; margin-top: 0.5rem; }
.course-link:hover { color: var(--red-dark); text-decoration: underline; }

/* ─── CTA ─── */
.cta-section { background: var(--black); padding: 4rem 1.5rem; }
.cta-inner { display: flex; align-items: center; gap: 2.5rem; }
.cta-badge { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 10px rgba(204,0,0,0.3)); }
.cta-inner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-inner p { color: rgba(255,255,255,0.65); max-width: 500px; margin-bottom: 1.25rem; }

/* ─── FOOTER ─── */
.site-footer { background: #0a0a0a; border-top: 3px solid var(--red); padding: 2rem 1.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-badge { width: 40px; height: 40px; object-fit: contain; }
.footer-brand strong { display: block; color: var(--white); font-size: 0.95rem; }
.footer-brand span { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; padding: 0.25rem 0.6rem; border-radius: 4px; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-small { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 67px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 1rem; gap: 0.25rem; border-bottom: 3px solid var(--red); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.6rem 0.75rem; }
  .about-grid { grid-template-columns: 1fr; }
  .costs-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner p { margin: 0 auto 1.25rem; }
}

/* ─── SECTION DOCK ─── */
.section-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 10px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  padding: 7px 6px;
  border-radius: 40px;
  transition: background 0.15s, transform 0.15s;
  position: relative;
}

.dock-item:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

.dock-item.active {
  background: var(--red);
}

.dock-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.dock-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  line-height: 1;
}

.dock-item.active .dock-label,
.dock-item:hover .dock-label {
  color: var(--white);
}

.dock-register {
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
  background: rgba(204,0,0,0.3);
  border-radius: 40px;
}

.dock-register:hover {
  background: var(--red) !important;
}

/* ─── HERO SCROLL HINT ─── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── TRAINING REGISTER LINK ─── */
.training-register-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.training-register-link:hover { text-decoration: underline; color: #ff4444; }

/* ─── NAV ICONS ─── */
.nav-icon { font-size: 0.85rem; margin-right: 3px; }

/* ─── HIDE DOCK ON MOBILE ─── */
@media (max-width: 768px) {
  .section-dock { display: none; }
}

/* ─── COMMITTEE ─── */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.committee-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  border-top: 3px solid var(--black);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.committee-card:hover {
  border-top-color: var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.committee-card.president {
  border-top-color: var(--red);
  background: #fff8f8;
}
.committee-card.vacant {
  border-top-color: var(--border);
  opacity: 0.6;
}

.committee-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.committee-card.president .committee-role { color: var(--red); }

.committee-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.committee-card.vacant .committee-name {
  color: var(--text-muted);
  font-style: italic;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* ─── FA REGISTRATION NAV/DOCK ─── */
.nav-cta-fa {
  background: #1d4ed8 !important;
  color: var(--white) !important;
  margin-left: 0.25rem;
}
.nav-cta-fa:hover { background: #1e3a8a !important; }

.dock-fa {
  background: rgba(29,78,216,0.25);
  border-radius: 40px;
}
.dock-fa:hover { background: #1d4ed8 !important; }
.dock-fa.active { background: #1d4ed8; }

/* ─── FACEBOOK LINK ─── */
.footer-facebook {
  color: #60a5fa !important;
  font-weight: 600 !important;
}
.footer-facebook:hover { color: #93c5fd !important; }

/* ─── SAFEGUARDING DOCK ─── */
.dock-safeguarding {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
  margin-top: 4px;
}
.dock-safeguarding:hover { background: rgba(204,0,0,0.4) !important; }

/* ─── HERO SAFEGUARDING LINK ─── */
.hero-safeguarding-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.hero-safeguarding-link:hover {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.5);
}

/* ─── INJURY DOCK ─── */
.dock-injury { border-radius: 40px; }
.dock-injury:hover { background: rgba(220,38,38,0.4) !important; }

/* ─── FEATURED POLICY CARD (Handbook) ─── */
.policy-card-featured {
  grid-column: 1 / -1;
  border-color: var(--red);
  border-width: 2px;
  background: #fff8f8;
  align-items: center;
}
.policy-card-featured .policy-icon { font-size: 2.5rem; }
.policy-card-featured .policy-info h3 { font-size: 1.15rem; color: var(--red); }

.policy-download-featured {
  background: var(--red) !important;
  font-size: 0.88rem !important;
  padding: 0.5rem 1.1rem !important;
}
.policy-download-featured:hover { background: var(--red-dark) !important; }

/* ─── COST INCREASE NOTE ─── */
.cost-increase-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.6;
}
.cost-increase-note span { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.cost-increase-note strong { display: block; margin-bottom: 3px; color: #92400e; font-size: 0.92rem; }

/* ─── CONTACT DOCK ─── */
.dock-contact:hover { background: rgba(255,255,255,0.12) !important; }
