﻿/* Poppins loaded via <link> in index.html */

:root {
  --navy: #003563;
  --navy-dark: #002244;
  --green: #2cb34a;
  --green-soft: #48c962;
  --text: #1a2332;
  --muted: #526070;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --line: rgba(0, 53, 99, 0.13);
  --shadow: 0 6px 28px rgba(0, 53, 99, 0.13);
  --shadow-hover: 0 14px 40px rgba(0, 53, 99, 0.2);
  --radius: 10px;
  --radius-sm: 7px;
  --container: min(1180px, calc(100% - 2rem));

  /* Aliases kept for JS/template compat */
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --blue: #003563;
  --blue-soft: #1a5b9e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--surface);
  color: var(--text);
  font-family: Poppins, "Roboto Condensed", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Keep nav anchor jumps clear of sticky bars */
#events,
#experience,
#register,
#faq,
#contact {
  scroll-margin-top: 92px;
}

/* ─── Eyebrow ─── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

/* ─── Typography ─── */

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: Poppins, "Roboto Condensed", Helvetica, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
li,
a,
button,
label,
.pill,
.event-tag,
.faq-question,
.trust-items span {
  overflow-wrap: break-word;
}

/* ─── Topbar ─── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar p,
.topbar a {
  margin: 0;
  font-size: 0.88rem;
  color: var(--navy);
}

.topbar p {
  font-weight: 400;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 2px solid rgba(44, 179, 74, 0.42);
  background: rgba(44, 179, 74, 0.12);
  font-weight: 800;
  color: #158236;
  letter-spacing: 0.04em;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  background: rgba(44, 179, 74, 0.2);
  border-color: rgba(44, 179, 74, 0.65);
  transform: translateY(-1px);
}

/* ─── Site header / nav ─── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 18;
  background: var(--navy);
  border-bottom: 3px solid var(--green);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  width: 175px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  display: block;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  font-size: 0.88rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 179, 74, 0.25), 0 10px 26px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #0a4b86 0%, #003563 100%);
  border-color: #0f4f8b;
  box-shadow: 0 8px 24px rgba(0, 53, 99, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #0d5799 0%, #002244 100%);
  border-color: #0d4b84;
  box-shadow: 0 12px 30px rgba(0, 53, 99, 0.45);
}

.btn-secondary {
  color: var(--navy-dark);
  border-color: var(--navy);
  background: rgba(0, 53, 99, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--navy);
  color: #fff;
}

/* On dark (hero/process) sections override primary to green */
.hero .btn-primary,
.process-section .btn-primary {
  background: linear-gradient(180deg, #43cb61 0%, #2cb34a 100%);
  border-color: #2cb34a;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(44, 179, 74, 0.4);
}

.hero .btn-primary:hover,
.process-section .btn-primary:hover {
  background: linear-gradient(180deg, #63d97c 0%, #34b652 100%);
  border-color: #49bf63;
}

.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-block {
  width: 100%;
}

/* ─── Hero ─── */

.hero {
  padding-top: 4.5rem;
  background: linear-gradient(150deg, #001d3d 0%, #003563 55%, #012e55 100%);
  position: relative;
  overflow: hidden;
}

/* Conlon-style watermark text behind hero content */
.hero::before {
  content: "REGISTER";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Poppins, "Roboto Condensed", sans-serif;
  font-size: 19vw;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(44, 179, 74, 0.15);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

/* Shared card bases for light/dark contexts */
.hero-copy,
.hero-panel-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.event-card,
.feature-card,
.process-cards article,
.form-card,
.faq-item,
.register-callouts article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  overflow: hidden;
}

.hero-copy {
  padding: 2.4rem;
  border-radius: calc(var(--radius) + 4px);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hero-copy h1 {
  color: #ffffff;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy .eyebrow {
  color: var(--green);
}

.hero-intro {
  max-width: 60ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stats article {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.hero-panel {
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-panel-card {
  border-radius: var(--radius);
  padding: 1.6rem;
  color: #ffffff;
}

.hero-panel-card h2 {
  color: #ffffff;
}

/* ─── Logo card ─── */

.logo-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.logo-card::before,
.logo-card::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.logo-card::before {
  top: -40px;
  right: -50px;
  background: rgba(44, 179, 74, 0.14);
}

.logo-card::after {
  left: -65px;
  bottom: -70px;
  background: rgba(0, 53, 99, 0.32);
}

.logo-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}

/* ─── Pills ─── */

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill-green {
  color: #ffffff;
  border-color: var(--green);
  background: var(--green);
}

.event-highlight h2 {
  max-width: 10ch;
  margin-bottom: 1rem;
}

.event-highlight ul {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.event-highlight li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-highlight li span {
  color: rgba(255, 255, 255, 0.58);
}

.event-highlight li strong {
  color: #ffffff;
  text-align: right;
}

.highlight-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

/* ─── Trust strip ─── */

.trust-strip {
  padding: 1.5rem 0;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  padding: 1.1rem 1.25rem;
  border-radius: clamp(24px, 6vw, 999px);
  border: 2px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 1rem;
  overflow: hidden;
}

.trust-strip-inner p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  white-space: normal;
  font-size: 0.88rem;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.trust-items span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(0, 53, 99, 0.06);
  border: 1px solid rgba(0, 53, 99, 0.14);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ─── Layout helpers ─── */

.section-heading-row,
.experience-grid,
.process-grid,
.faq-grid,
.register-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.section-heading-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 2rem;
}

/* ─── Event filter buttons ─── */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: all 140ms ease;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

/* ─── Event grid ─── */

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.event-card {
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}

.event-card.hidden {
  display: none;
}

.event-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 53, 99, 0.16);
  color: var(--navy);
  background: rgba(0, 53, 99, 0.05);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-date {
  width: 78px;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  text-align: center;
}

.event-date strong {
  display: block;
  color: #ffffff;
  font-family: Poppins, "Roboto Condensed", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.event-date span {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.event-card h3 {
  margin-bottom: 0;
  color: var(--text);
}

.event-meta {
  display: grid;
  gap: 0.5rem;
}

.event-meta li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.event-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  width: fit-content;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  position: relative;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.event-card .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--navy);
  background: rgba(0, 53, 99, 0.05);
  color: var(--navy);
}

.event-card .text-link::after {
  display: none;
}

.event-card .text-link:hover,
.event-card .text-link:focus-visible {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 53, 99, 0.28);
}

/* ─── Experience section ─── */

#experience {
  background: var(--surface-soft);
}

.experience-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}

.feature-card h3 {
  color: var(--navy);
}

/* ─── Process section (dark navy bg) ─── */

.process-section {
  padding-top: 1rem;
  background: var(--navy);
}

.process-section .section-heading-block .eyebrow {
  color: var(--green);
}

.process-section h2 {
  color: #ffffff;
}

.process-section p {
  color: rgba(255, 255, 255, 0.64);
}

.process-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-cards article {
  border-radius: var(--radius);
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.process-cards article h3 {
  color: #ffffff;
}

.process-cards p {
  color: rgba(255, 255, 255, 0.64);
}

.process-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: var(--green);
  font-family: Poppins, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

/* ─── Register section ─── */

.register-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.register-copy {
  display: grid;
  gap: 1.5rem;
}

.register-callouts {
  display: grid;
  gap: 1rem;
}

.register-callouts article {
  border-radius: var(--radius);
  padding: 1.3rem;
}

.register-callouts strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ─── Form ─── */

.form-card {
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #93a5b7;
}

select {
  color: var(--text);
  background-color: var(--surface-soft);
}

select option {
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 179, 74, 0.14);
  background: #ffffff;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #d03030;
  box-shadow: 0 0 0 3px rgba(208, 48, 48, 0.1);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.14rem;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.checkbox-row.optional {
  margin-top: 0;
}

.form-feedback {
  min-height: 1.4rem;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.form-feedback.success {
  color: var(--green);
}

.form-feedback.error {
  color: #d03030;
}

/* ─── FAQ ─── */

#faq {
  background: var(--surface-soft);
}

.faq-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.4rem;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: Poppins, "Roboto Condensed", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.faq-question::after {
  content: "+";
  font-size: 1.45rem;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
}

.faq-item.active .faq-question::after {
  content: "\2212";
}

.faq-item.active .faq-question {
  color: var(--navy);
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ─── Footer ─── */

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--navy);
  border-top: 3px solid var(--green);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  padding-bottom: 2rem;
}

.footer-logo {
  width: 200px;
  margin-bottom: 1rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  margin: 0;
}

.site-footer h3 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer li {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--green);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green-soft);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

.footer-bottom a {
  color: var(--green);
  font-weight: 600;
  font-size: 0.86rem;
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .hero-grid,
  .experience-grid,
  .process-grid,
  .register-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    position: static;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    background: var(--navy);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.6rem 0;
  }

  .hero-stats,
  .feature-grid,
  .process-cards,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .event-card .text-link {
    width: 100%;
  }

  #events,
  #experience,
  #register,
  #faq,
  #contact {
    scroll-margin-top: 84px;
  }

  .trust-strip-inner,
  .footer-bottom,
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr;
    border-radius: 28px;
    padding: 1rem;
  }

  .trust-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-items span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy,
  .hero-panel-card,
  .feature-card,
  .event-card,
  .process-cards article,
  .form-card,
  .faq-item,
  .register-callouts article {
    border-radius: var(--radius);
  }

  .brand {
    width: 145px;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .trust-strip-inner {
    border-radius: 22px;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(1180px, calc(100% - 1.25rem));
  }

  .site-nav {
    left: 0.75rem;
    right: 0.75rem;
  }

  .hero-actions .btn,
  .btn-block {
    width: 100%;
  }

  .trust-items span {
    min-height: 34px;
  }
}

@media (max-width: 932px) and (max-height: 480px) {
  .topbar {
    position: static;
  }

  .site-header {
    position: relative;
    top: 0;
  }

  #events,
  #experience,
  #register,
  #faq,
  #contact {
    scroll-margin-top: 16px;
  }
}