/* ═══════════════════════════════════════════════════════════════
   TESSELL8 — STYLES
   Design system: tessellation-inspired, navy + amber gold palette
═══════════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --clr-navy:        #0d1b2a;
  --clr-navy-mid:    #122236;
  --clr-blue:        #1c4587;
  --clr-blue-light:  #2457a4;
  --clr-gold:        #f0a500;
  --clr-gold-dark:   #c98a00;
  --clr-gold-light:  #ffc73a;
  --clr-surface:     #f4f6f9;
  --clr-white:       #ffffff;
  --clr-text:        #1a2638;
  --clr-text-muted:  #6b7c93;
  --clr-text-light:  #a8b5c6;

  --font-heading:    'Montserrat', sans-serif;
  --font-body:       'Inter', sans-serif;

  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;

  --shadow-sm:       0 2px 8px rgba(13,27,42,0.08);
  --shadow-md:       0 8px 24px rgba(13,27,42,0.12);
  --shadow-lg:       0 20px 48px rgba(13,27,42,0.18);
  --shadow-gold:     0 8px 24px rgba(240,165,0,0.25);

  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:      72px;

  --container-max:   1200px;
  --container-pad:   clamp(1rem, 5vw, 2.5rem);

  --section-gap:     clamp(4rem, 8vw, 8rem);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ─── UTILITY ────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-pad {
  padding-block: var(--section-gap);
}

.bg-light  { background-color: var(--clr-surface); }
.bg-dark   { background-color: var(--clr-navy); position: relative; overflow: hidden; }

.text-accent { color: var(--clr-gold); }

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-navy);
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240,165,0,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
}
.btn-dark:hover {
  background: var(--clr-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark-ghost {
  background: transparent;
  color: var(--clr-navy);
  border-color: var(--clr-navy);
}
.btn-dark-ghost:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--clr-gold); }

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-navy);
  margin-bottom: 1rem;
}
.section-heading.light { color: var(--clr-white); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  max-width: 620px;
  line-height: 1.7;
}
.section-sub.light { color: var(--clr-text-light); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-sub { margin-inline: auto; }

.body-text {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav-header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-hex {
  width: 36px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--clr-white);
}

.logo-eight {
  color: var(--clr-gold);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--clr-white);
  background: rgba(255,255,255,0.06);
}

.nav-cta-link {
  background: var(--clr-gold);
  color: var(--clr-navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}
.nav-cta-link:hover {
  background: var(--clr-gold-light) !important;
  color: var(--clr-navy) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  z-index: 1100;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--clr-navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hex-grid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hexDrift 40s linear infinite alternate;
}

@keyframes hexDrift {
  from { transform: translateX(0) translateY(0) scale(1); }
  to   { transform: translateX(-40px) translateY(-20px) scale(1.04); }
}

/* Diagonal overlay at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--clr-white) 0%, transparent 100%);
  z-index: 1;
}

/* Gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(28,69,135,0.65) 60%, rgba(13,27,42,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  padding-bottom: 10rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  border: 1px solid rgba(240,165,0,0.4);
  background: rgba(240,165,0,0.08);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-arrow {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(240,165,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: 1rem;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(6px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text .section-heading { margin-top: 0.25rem; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--clr-surface);
  border: 1px solid rgba(28,69,135,0.12);
  border-radius: var(--radius-md);
  min-width: 110px;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--clr-navy);
  line-height: 1;
}

.stat-badge {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--clr-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  text-align: center;
  line-height: 1.3;
}

.stat-pill.bbbee { border-color: rgba(240,165,0,0.3); background: rgba(240,165,0,0.06); }

/* Hex mosaic visual */
.about-visual {
  display: flex;
  justify-content: center;
}

.hex-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  grid-template-rows: repeat(2, 104px);
  gap: 6px;
  position: relative;
}

.hex-tile {
  position: relative;
  width: 120px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.hex-tile:hover { transform: scale(1.05); }

.hex-tile svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hex-icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hex-filled-1 { grid-column: 1; grid-row: 1; }
.hex-filled-2 { grid-column: 2; grid-row: 1; margin-top: 52px; }
.hex-filled-3 { grid-column: 3; grid-row: 1; }
.hex-filled-4 { grid-column: 1; grid-row: 2; margin-top: -4px; }
.hex-outline   { grid-column: 2; grid-row: 2; margin-top: 48px; }
.hex-outline-dim { grid-column: 3; grid-row: 2; margin-top: -4px; }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--clr-gold);
  text-transform: uppercase;
}

.step-icon-wrap {
  position: relative;
  width: 80px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-hex-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.step-icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-navy);
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.step-connector {
  display: none;
  align-items: center;
  justify-content: center;
}
.step-connector svg { width: 80px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════
   DISCIPLINES
═══════════════════════════════════════════════════════════════ */
.disciplines {
  background: var(--clr-white);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.discipline-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--clr-white);
  border: 1px solid rgba(28,69,135,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.discipline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

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

.discipline-card:hover::before {
  border-color: var(--clr-gold);
}

.disc-hex-wrap {
  position: relative;
  width: 100px;
  height: 116px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.disc-hex-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.disc-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  z-index: 1;
}

.disc-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 0.625rem;
}

.disc-desc {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.disc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  margin-top: auto;
}

.disc-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-blue);
  background: rgba(28,69,135,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════════
   WHY TESSELL8
═══════════════════════════════════════════════════════════════ */
.why-us-hex-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.why-us-hex-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.feature-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(240,165,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.feature-icon-wrap {
  position: relative;
  width: 48px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-hex-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feat-icon {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 0.625rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   ENGAGEMENT MODELS
═══════════════════════════════════════════════════════════════ */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.engagement-card {
  position: relative;
  background: var(--clr-white);
  border: 2px solid rgba(28,69,135,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.engagement-card.featured {
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-gold);
  position: relative;
}

.engagement-card.featured:hover {
  box-shadow: 0 20px 48px rgba(240,165,0,0.3);
}

.eng-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-gold);
  color: var(--clr-navy);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.eng-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

.eng-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.engagement-card.featured .eng-icon-wrap {
  background: rgba(240,165,0,0.1);
}

.eng-icon { font-size: 1.5rem; }

.eng-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-navy);
}
.engagement-card.featured .eng-title { color: var(--clr-gold-dark); }

.eng-duration {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.eng-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.eng-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: rgba(28,69,135,0.1);
  color: var(--clr-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}
.engagement-card.featured .check {
  background: rgba(240,165,0,0.15);
  color: var(--clr-gold-dark);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  background: var(--clr-gold);
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.cta-hex-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-hex-overlay svg { width: 100%; height: 100%; object-fit: cover; }

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-navy);
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(13,27,42,0.75);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.cta-compliance {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,27,42,0.55);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--clr-navy);
  padding-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.footer-hex-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-hex-bg svg { width: 100%; height: 100%; object-fit: cover; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo .logo-text { font-size: 1rem; }

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  max-width: 300px;
}

.footer-bbbee { margin-top: 0.25rem; }

.bbbee-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-navy);
  background: var(--clr-gold);
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--clr-gold); }

.footer-col { position: relative; z-index: 1; }

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(240,165,0,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (min-width: 640px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {

  .about-stats { flex-wrap: nowrap; }

  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
  }
  .step-connector { display: flex; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }

}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (min-width: 1024px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Nav */
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
  .footer-brand { grid-column: auto; }

}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE NAV (max-width: 1023px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--clr-navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1050;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
  }

  .nav-cta-link {
    margin-left: 0;
    margin-top: 0.5rem;
    font-size: 1rem;
  }

  /* Mobile: stack steps vertically */
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-connector { display: none; }

}

/* ═══════════════════════════════════════════════════════════════
   FOCUS & ACCESSIBILITY
═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
