/* ============================================================
   SKILLFLARE — Main Stylesheet
   People · Process · Performance
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:       #1B3A6B;
  --navy-dark:  #122647;
  --navy-light: #2a5298;
  --orange:     #F5A623;
  --orange-dark:#d4891a;
  --white:      #ffffff;
  --off-white:  #F8F7F4;
  --light-gray: #EFEFED;
  --text-body:  #3D3D3A;
  --text-muted: #6B6B67;
  --border:     #E2E0DB;
}

/* ── Reset ─────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

/* ── Navigation ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}


.logo {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-normal);
	max-width: 200px;
	height: auto;
	display: block;
}

.logo-link {
    display: inline-block;
	line-height: 0;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  min-height: 40px;
  gap: 0;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-logo-name span:first-child { color: var(--navy); }
.nav-logo-name span:last-child  { color: var(--orange); }

.nav-logo-tagline {
  font-size: 10px;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -2px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--navy-dark) !important;
  color: var(--white) !important;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding-top: 68px;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.12);
}

.hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.08);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero-eyebrow-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  color: var(--white);
  margin-bottom: 28px;
  max-width: 700px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-body {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--navy-dark);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  padding: 14px 0;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

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

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ── Section Commons ───────────────────────────────────────── */
section { padding: 96px 48px; }

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

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.section-eyebrow-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--navy);
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ── About ─────────────────────────────────────────────────── */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.about-text {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--navy);
  font-weight: 500;
}

.about-quote {
  margin-top: 36px;
  padding: 28px 32px;
  border-left: 3px solid var(--orange);
  background: var(--white);
  border-radius: 0 4px 4px 0;
}

.about-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  line-height: 1.6;
  font-style: italic;
}

.about-pillar {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.about-pillar:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.about-pillar-title {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: 0.2px;
}

.about-pillar-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Services ──────────────────────────────────────────────── */
.services { background: var(--white); }

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.practice-tabs {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.practice-tab {
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.practice-tab-hr {
  background: rgba(27,58,107,0.08);
  color: var(--navy);
  border-color: rgba(27,58,107,0.15);
}

.practice-tab-biz {
  background: rgba(245,166,35,0.1);
  color: var(--orange-dark);
  border-color: rgba(245,166,35,0.25);
}

.practices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.practice-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.practice-card-header {
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.practice-card-hr .practice-card-header  { background: var(--navy); }
.practice-card-biz .practice-card-header { background: var(--off-white); border-bottom: 1px solid var(--border); }

.practice-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.practice-card-hr .practice-card-title  { color: var(--white); }
.practice-card-biz .practice-card-title { color: var(--navy); }

.practice-card-subtitle {
  font-size: 13px;
  font-weight: 300;
}

.practice-card-hr .practice-card-subtitle  { color: rgba(255,255,255,0.65); }
.practice-card-biz .practice-card-subtitle { color: var(--text-muted); }

.practice-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.practice-card-hr .practice-badge {
  background: rgba(245,166,35,0.2);
  color: var(--orange);
}

.practice-card-biz .practice-badge {
  background: rgba(27,58,107,0.1);
  color: var(--navy);
}

.practice-card-body { padding: 28px 32px; }

.practice-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-list { list-style: none; }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-body);
  font-weight: 400;
}

.service-item:last-child { border-bottom: none; }

.service-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.practice-card-hr .service-dot  { background: var(--orange); }
.practice-card-biz .service-dot { background: var(--navy); }

.service-item-text { line-height: 1.5; }

.service-item-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 2px;
}

/* ── Why Skillflare ────────────────────────────────────────── */
.why { background: var(--navy); }

.why .section-title      { color: var(--white); }
.why .section-body       { color: rgba(255,255,255,0.65); }
.why .section-eyebrow-text { color: var(--orange); }
.why .section-eyebrow-line { background: var(--orange); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}

.why-card {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s;
}

.why-card:hover { background: rgba(255,255,255,0.06); }

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: rgba(245,166,35,0.60);
  line-height: 1;
  margin-bottom: 16px;
}

.why-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.why-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ── Excelledge ────────────────────────────────────────────── */
.excelledge { background: var(--off-white); }

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

.excelledge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.excelledge-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.excelledge-badge-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.excelledge-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  text-align: center;
}

.excelledge-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}

.exc-node {
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.exc-node-sf {
  background: var(--navy);
  color: var(--white);
  min-width: 110px;
}

.exc-node-ex {
  background: rgba(245,166,35,0.12);
  color: var(--navy);
  border: 1px solid rgba(245,166,35,0.3);
  min-width: 110px;
}

.exc-arrow {
  width: 40px;
  height: 1px;
  background: var(--border);
  position: relative;
  margin: 0 4px;
}

.exc-arrow::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--off-white);
  color: var(--text-muted);
  font-size: 14px;
  padding: 0 4px;
}

.exc-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

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

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--navy-dark); }

/* Form validation states */
.form-error-msg {
  display: none;
  font-size: 12px;
  color: #A32D2D;
  margin-top: 5px;
  font-weight: 400;
}

.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
  border-color: #E24B4A;
  background: #FEF9F9;
}

.form-input.valid,
.form-select.valid,
.form-textarea.valid { border-color: #3B6D11; }

.form-input.invalid   + .form-error-msg,
.form-select.invalid  + .form-error-msg,
.form-textarea.invalid + .form-error-msg { display: block; }

#form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-info-title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child { border-bottom: none; }

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--navy);
  font-weight: 400;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  padding: 40px 48px;
}

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

.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
}

.footer-logo-name span:first-child { color: var(--white); }
.footer-logo-name span:last-child  { color: var(--orange); }

.footer-tagline {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  font-weight: 300;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

.footer-links a:hover { color: var(--orange); }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.6s ease 0.10s both; }
.hero h1      { animation: fadeUp 0.6s ease 0.25s both; }
.hero-body    { animation: fadeUp 0.6s ease 0.40s both; }
.hero-actions { animation: fadeUp 0.6s ease 0.55s both; }
.hero-stats   { animation: fadeUp 0.6s ease 0.70s both; }


/* ============================================================
   RESPONSIVE STYLES
   Breakpoints:
   - Tablet : max-width 1024px
   - Mobile : max-width 640px
   ============================================================ */

/* ── Tablet (641px – 1024px) ───────────────────────────────── */
@media (max-width: 1024px) {

  /* Nav */
  nav {
    padding: 0 28px;
  }

  .nav-links {
    gap: 20px;
  }

  /* Hero */
  .hero-inner {
    padding: 64px 28px;
  }

  .hero-stats {
    gap: 36px;
  }

  /* Sections */
  section {
    padding: 72px 28px;
  }

  /* About — stack to single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Services intro — stack */
  .services-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Practice cards — stack */
  .practices-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Why grid — 2 columns on tablet */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Excelledge — stack */
  .excelledge-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Contact — stack */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Mobile (max 640px) ────────────────────────────────────── */
@media (max-width: 640px) {

  /* Nav — hide text links, keep CTA */
  nav {
    padding: 0 20px;
    height: 60px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .nav-logo-name {
    font-size: 18px;
  }

  .nav-logo-tagline {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px !important;
  }

  /* Hero */
  .hero {
    padding-top: 60px;
  }

  .hero-inner {
    padding: 48px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-body {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 28px;
  }

  /* Sections */
  section {
    padding: 56px 20px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-body {
    font-size: 15px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 36px;
  }

  .about-text {
    font-size: 15px;
  }

  .about-quote {
    padding: 20px 22px;
  }

  .about-quote p {
    font-size: 15px;
  }

  /* Services */
  .services-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 36px;
  }

  .practice-tabs {
    flex-wrap: wrap;
  }

  .practices-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .practice-card-header {
    padding: 20px 22px;
  }

  .practice-card-body {
    padding: 20px 22px;
  }

  /* Why grid — single column on mobile */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .why-card {
    padding: 28px 24px;
  }

  .why-number {
    font-size: 32px;
  }

  /* Excelledge */
  .excelledge-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .excelledge-visual {
    padding: 24px;
  }

  .excelledge-diagram {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .exc-arrow {
    display: none;
  }

  .exc-node {
    width: 100%;
    text-align: center;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 36px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 20px;
  }

  footer {
    padding: 32px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ── Reduced motion preference ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero h1,
  .hero-body,
  .hero-actions,
  .hero-stats {
    animation: none;
  }
}

/* ── Hamburger button ──────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ── Mobile menu overlay ───────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  backdrop-filter: blur(8px);
}

.mobile-menu.open {
  max-height: 320px;
}

.mobile-menu-links {
  list-style: none;
  padding: 16px 0;
}

.mobile-menu-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu-links li:last-child {
  border-bottom: none;
}

.mobile-menu-links a {
  display: block;
  padding: 16px 24px;
  text-decoration: none;
  color: var(--text-body);
  font-size: 16px;
  font-weight: 400;
  transition: background 0.15s, color 0.15s;
}

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

.mobile-menu-links li:last-child a {
  color: var(--navy);
  font-weight: 500;
}

@media (max-width: 640px) {
  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Hide the desktop nav links entirely on mobile */
  .nav-links {
    display: none;
  }
}
