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

:root {
  --navy: #002D62;
  --navy-light: #003a7a;
  --green: #2ECC71;
  --green-dark: #25a85c;
  --yellow: #F5E6CA;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --text-dark: #0d1b2a;
  --text-mid: #4a5568;
  --text-light: #8896a7;
  --border: #e2e8f0;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 2px 20px rgba(0,45,98,0.08);
  --shadow-lg: 0 8px 48px rgba(0,45,98,0.14);
}

html { scroll-behavior: smooth; }

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

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 1px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}

.logo-mark .n-accent {
  position: relative;
  display: inline-block;
}

.logo-mark .n-accent::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -1px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 1px;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.3;
  letter-spacing: 0;
}

.logo-sub strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: var(--off-white);
  color: var(--navy);
}

.nav-links .dropdown { position: relative; }

.nav-links .dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.5;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s;
  z-index: 50;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu a {
  display: block;
  border-radius: 6px;
  color: var(--text-dark);
  font-size: 13.5px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-primary {
  padding: 8px 20px;
  background: var(--green);
  border: none;
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,204,113,0.3);
}

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  padding: 100px 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46,204,113,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46,204,113,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 14px 28px;
  background: var(--green);
  border: none;
  border-radius: 10px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,204,113,0.35);
  background: #25a85c;
  color: var(--white);
}

.hero-btn-secondary {
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { flex: 1; }

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Right Card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-card-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-event-badge {
  background: rgba(46,204,113,0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(46,204,113,0.3);
}

.event-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.event-item:hover { background: rgba(255,255,255,0.1); }

.event-date-tag {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-title {
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.event-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-cta {
  margin-top: 16px;
  text-align: center;
}

.hero-card-cta a {
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.hero-card-cta a:hover { text-decoration: underline; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--off-white);
  padding: 20px 5vw;
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
}

.trust-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SECTION BASE ─── */
section { padding: 88px 5vw; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

/* ─── ABOUT ─── */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 16.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-pull {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
  font-style: italic;
  border-left: 3px solid var(--green);
  padding-left: 24px;
  margin: 28px 0;
  line-height: 1.4;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-float-card {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}

.float-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--navy);
  line-height: 1;
}

.float-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.regions-pill {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--green);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow);
}

/* ─── MISSION ─── */
.mission-section { background: var(--navy); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.mission-section .section-title { color: var(--white); }
.mission-section .section-eyebrow { color: var(--green); }
.mission-section .section-subtitle { color: rgba(255,255,255,0.6); }

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mission-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
}

.mission-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(46,204,113,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 18px;
}

.mission-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.mission-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ─── EVENTS ─── */
.events-section { background: var(--off-white); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.event-card-img {
  height: 160px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 40px;
  color: rgba(255,255,255,0.15);
}

.event-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.2;
}

.event-card-body { padding: 20px; }

.event-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-card-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.event-format {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-mid);
  font-weight: 400;
}

.event-register {
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── MEMBERSHIP ─── */
.membership-section { background: var(--white); }

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.membership-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.2s;
}

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

.membership-card.featured {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.member-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-tier {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.featured .member-tier { color: var(--green); }

.member-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}

.featured .member-title { color: var(--white); }

.member-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.featured .member-desc { color: rgba(255,255,255,0.6); }

.member-perks {
  list-style: none;
  margin-bottom: 28px;
}

.member-perks li {
  font-size: 14px;
  color: var(--text-dark);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.featured .member-perks li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.1);
}

.member-perks li:last-child { border-bottom: none; }

.perk-check {
  width: 16px;
  height: 16px;
  background: rgba(46,204,113,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-check::before {
  content: '✓';
  font-size: 9px;
  font-weight: 700;
  color: var(--green-dark);
}

.featured .perk-check { background: rgba(46,204,113,0.2); }

.member-cta {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  transition: all 0.15s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.member-cta:hover {
  background: var(--navy);
  color: var(--white);
}

.featured .member-cta {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}

.featured .member-cta:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-quote {
  font-size: 32px;
  color: var(--green);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
}

.author-avatar-photo {
  object-fit: cover;
  display: block;
  background: var(--off-white);
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.author-role {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: var(--navy);
  padding: 72px 5vw;
}

.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.newsletter-section .section-title { color: var(--white); }
.newsletter-section .section-eyebrow { color: var(--green); }

.newsletter-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 12px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border 0.15s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: rgba(46,204,113,0.5); }

.newsletter-form button {
  padding: 14px 28px;
  background: var(--green);
  border: none;
  border-radius: 10px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--green-dark);
  color: var(--white);
}

.newsletter-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}

/* ─── FOOTER ─── */
footer {
  background: #001d42;
  padding: 60px 5vw 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 280px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

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

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}

.social-btn:hover {
  background: rgba(46,204,113,0.1);
  border-color: rgba(46,204,113,0.3);
  color: var(--green);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ─── REGIONS ─── */
.regions-section { background: var(--white); padding: 60px 5vw; }

.regions-bar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.regions-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.region-chip {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.region-chip:hover, .region-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.region-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* Logo mark in footer */
.footer-logo-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  letter-spacing: -1px;
  display: inline-block;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  display: block;
  line-height: 1.3;
}

/* CTD Banner */
.ctd-banner {
  background: linear-gradient(135deg, #002D62 0%, #003a7a 100%);
  border-top: 3px solid var(--green);
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ctd-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.ctd-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ctd-tag {
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.ctd-text {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 400;
}

.ctd-text strong { color: var(--white); font-weight: 600; }

.ctd-btn {
  padding: 10px 22px;
  background: var(--green);
  border: none;
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}

.ctd-btn:hover { background: var(--green-dark); color: var(--white); }

/* ─── MOBILE NAV ─── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

.nav-links a.active { color: var(--navy); background: var(--off-white); font-weight: 500; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--navy);
  padding: 72px 5vw 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,204,113,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .section-eyebrow { color: var(--green); }
.page-hero .section-title { color: var(--white); margin-bottom: 12px; }
.page-hero .section-subtitle { color: rgba(255,255,255,0.65); max-width: 640px; }

/* ─── ALERTS ─── */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.35);
  color: var(--green-dark);
}

.alert-error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
  color: #b91c1c;
}

/* ─── FORMS ─── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ─── CARDS GRID (inner pages) ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.person-card:hover { box-shadow: var(--shadow-lg); }

.person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.person-avatar-photo {
  width: 120px;
  height: 120px;
  background: var(--border);
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.person-card p {
  font-size: 13.5px;
  color: var(--text-mid);
}

.course-card,
.blog-card,
.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.course-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-title-link,
.detail-related-link {
  color: inherit;
  text-decoration: none;
}

.card-title-link:hover,
.detail-related-link:hover {
  color: var(--green-dark);
}

.course-card:hover,
.blog-card:hover,
.gallery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.course-card-body,
.blog-card-body { padding: 24px; }

.course-meta,
.blog-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.meta-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(46,204,113,0.12);
  color: var(--green-dark);
}

.gallery-card-img {
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.15);
}

.gallery-card-body { padding: 20px; }
.gallery-card-body h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.gallery-card-body p { font-size: 13px; color: var(--text-mid); }

/* Gallery portfolio page */
.gallery-page-hero {
  background: var(--white);
  padding: 48px 5vw 32px;
  border-bottom: 1px solid var(--border);
}

.gallery-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.gallery-breadcrumb a {
  color: var(--text-mid);
  text-decoration: none;
}

.gallery-breadcrumb a:hover {
  color: var(--green);
}

.gallery-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  color: var(--navy);
  margin: 0;
}

.gallery-section {
  background: var(--off-white);
  padding: 40px 5vw 80px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-portfolio-item {
  min-width: 0;
}

.gallery-portfolio-media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}

.gallery-portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.gallery-portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: rgba(15, 32, 58, 0.72);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-portfolio-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--white);
}

.gallery-portfolio-overlay p {
  font-size: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.gallery-portfolio-item:hover .gallery-portfolio-overlay {
  opacity: 1;
}

.gallery-portfolio-item:hover img {
  transform: scale(1.05);
}

.gallery-empty {
  text-align: center;
  color: var(--text-mid);
  padding: 48px 0;
}

@media (max-width: 1100px) {
  .gallery-portfolio { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-portfolio { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-filters { gap: 8px; }
  .gallery-filter { padding: 8px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .gallery-portfolio { grid-template-columns: 1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info-item {
  margin-bottom: 20px;
}

.contact-info-item h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
}

.contact-info-item a:hover { color: var(--green-dark); }

.login-card {
  max-width: 420px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .mission-grid,
  .newsletter-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .events-grid,
  .membership-grid,
  .testimonials-grid,
  .cards-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5vw 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 99;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    margin-top: 4px;
    display: none;
  }

  .nav-links .dropdown.open .dropdown-menu { display: block; }

  .nav-cta { display: none; }

  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .nav-cta-mobile .btn-outline,
  .nav-cta-mobile .btn-primary {
    justify-content: center;
    width: 100%;
  }

  .hero { padding: 64px 5vw 56px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat { min-width: calc(50% - 10px); }

  .events-grid,
  .membership-grid,
  .testimonials-grid,
  .cards-grid,
  .mission-cards,
  .form-grid { grid-template-columns: 1fr; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .ctd-banner-inner { flex-direction: column; text-align: center; }
  .ctd-banner-left { flex-direction: column; }

  .about-float-card { left: 0; bottom: -16px; }
  .regions-pill { right: 0; top: -12px; }

  .form-row { flex-direction: column; }
  section { padding: 64px 5vw; }
}

@media (min-width: 769px) {
  .nav-cta-mobile { display: none; }
}

/* ─── CTD REGISTRATION FORM ─── */
.ctd-register-section { background: var(--off-white); padding: 64px 5vw 88px; }

.ctd-register-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.ctd-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 88px;
}

.ctd-info-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.3;
}

.ctd-info-card p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 16px; }

.ctd-info-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.ctd-info-list li {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.5;
}

.ctd-info-list li:last-child { border-bottom: none; }

.ctd-info-list strong { color: var(--green); font-weight: 600; }

.ctd-info-note { font-size: 13.5px !important; }

.ctd-info-contact { font-size: 14px; margin-top: 20px; }
.ctd-info-contact a { color: var(--green); text-decoration: none; }
.ctd-info-contact a:hover { text-decoration: underline; }

.ctd-form .ctd-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}

.ctd-form .ctd-fieldset legend {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
  border-bottom: 2px solid var(--green);
  padding-bottom: 8px;
}

.ctd-form .required { color: #dc2626; }

.ctd-form .field-error {
  display: block;
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-group-stack { flex-direction: column; gap: 8px; }

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.15s;
  background: var(--white);
}

.radio-label:has(input:checked) {
  border-color: var(--green);
  background: rgba(46,204,113,0.08);
}

.radio-label input { width: auto; margin: 0; accent-color: var(--green); }

.ctd-form-footer {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.ctd-delegate-note {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.ctd-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px !important;
  font-size: 16px !important;
}

.ctd-entry-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ctd-entry-level-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ctd-entry-level-card:hover {
  border-color: rgba(0, 120, 80, 0.35);
  background: rgba(0, 120, 80, 0.03);
}

.ctd-entry-level-card input {
  margin-top: 4px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.ctd-entry-level-card:has(input:checked) {
  border-color: var(--green);
  background: rgba(0, 120, 80, 0.06);
}

.ctd-entry-level-body { flex: 1; min-width: 0; }

.ctd-entry-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ctd-entry-level-price {
  font-weight: 700;
  color: var(--green);
  font-size: 16px;
}

.ctd-entry-level-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.ctd-entry-level-tier {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-mid);
}

.ctd-plan-note {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0 0 14px;
}

.ctd-pricing-card {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.ctd-pricing-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--navy);
}

.ctd-pricing-period {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0 0 8px;
}

.ctd-pricing-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ctd-pricing-badge-standard {
  background: var(--navy);
}

.ctd-pricing-gift {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin: 0 0 12px;
}

.ctd-pricing-table-wrap {
  overflow-x: auto;
}

.ctd-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ctd-pricing-table th,
.ctd-pricing-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}

.ctd-pricing-table th {
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 900px) {
  .ctd-register-inner { grid-template-columns: 1fr; }
  .ctd-info-card { position: static; }
}

/* ─── Detail pages (events, courses, blog) ─── */
.detail-hero {
  background: var(--navy);
  padding: 48px 5vw 56px;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,204,113,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.detail-hero .section-inner {
  position: relative;
  z-index: 1;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.detail-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  color: var(--green);
}

.detail-breadcrumb [aria-current="page"] {
  color: rgba(255,255,255,0.85);
}

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

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 800px;
}

.detail-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  margin-bottom: 24px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.detail-meta-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
}

.detail-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.detail-meta-item strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.detail-hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.detail-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  color: rgba(255,255,255,0.15);
}

.detail-section {
  background: var(--off-white);
  padding: 56px 5vw 80px;
}

.detail-content {
  max-width: 900px;
}

.detail-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.detail-panel h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.detail-panel p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
}

.detail-format-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px !important;
}

.detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
}

.detail-related {
  margin-top: 40px;
}

.detail-related h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 20px;
}

.detail-related .blog-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.detail-related .blog-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-media {
    order: -1;
  }
}

/* ─── Error pages ─── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 10%, rgba(46,204,113,0.08) 0%, transparent 42%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.error-header {
  padding: 24px 5vw;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.error-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.error-logo-mark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.error-logo-mark .n-accent { color: var(--navy); }
.error-logo-i {
  font-size: 11px;
  color: var(--green);
  vertical-align: super;
  font-weight: 700;
  margin-left: 1px;
}

.error-logo-text {
  font-size: 12px;
  color: var(--text-mid);
  max-width: 220px;
  line-height: 1.35;
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 5vw 64px;
}

.error-card {
  width: 100%;
  max-width: 560px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(72px, 16vw, 112px);
  line-height: 1;
  color: rgba(0, 45, 98, 0.08);
  margin-bottom: 8px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.error-message {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-footer {
  padding: 20px 5vw 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

@media (max-width: 560px) {
  .error-card { padding: 36px 24px; }
  .error-logo-text { display: none; }
  .error-actions .btn-primary,
  .error-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
