/* ============================================================
   Go Digit Public Website 2026 — Design System
   Thailand's Pragmatic AI Architects
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  /* Brand Colors */
  --orange:          #F7941D;
  --orange-dark:     #D97A05;
  --orange-light:    #FFA940;
  --orange-pale:     #FFF4E6;

  /* Dark Tones */
  --navy:            #0D1117;
  --charcoal:        #1C2338;
  --charcoal-2:      #262E44;
  --dark-border:     rgba(255,255,255,0.10);

  /* Light Tones */
  --white:           #FFFFFF;
  --surface:         #F8F9FB;
  --surface-2:       #EEF0F6;
  --border:          #E2E5EE;

  /* Text */
  --text:            #111827;
  --text-2:          #374151;
  --text-3:          #6B7280;
  --text-on-dark:    #E8EDF7;
  --text-muted-dark: #8A93AB;

  /* Status */
  --green:           #10B981;
  --blue:            #3B82F6;
  --red:             #EF4444;

  /* Typography */
  --font:           'Sarabun', 'Inter', -apple-system, sans-serif;
  --font-en:        'Inter', 'Sarabun', -apple-system, sans-serif;

  /* Scale */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  40px;
  --text-4xl:  52px;
  --text-5xl:  64px;

  /* Spacing */
  --s1:  4px;   --s2:  8px;   --s3: 12px;   --s4: 16px;
  --s5: 20px;   --s6: 24px;   --s8: 32px;   --s10: 40px;
  --s12: 48px;  --s16: 64px;  --s20: 80px;  --s24: 96px;

  /* Radius */
  --r-sm: 6px;   --r-md: 12px;  --r-lg: 20px;  --r-xl: 32px;  --r-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
  --shadow-orange: 0 4px 24px rgba(247,148,29,0.30);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;
}

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

html {
  font-size: var(--text-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--s6);
}

.section {
  padding: var(--s20) 0;
}

.section-lg {
  padding: var(--s24) 0;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-go    { color: var(--text); }
.logo-digit { color: var(--orange); }

.nav-links {
  display: none;
  flex: 1;
  gap: var(--s2);
}

.nav-links a {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--orange); background: var(--orange-pale); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-left: auto;
}

/* Language Toggle in Nav */
.lang-bar {
  display: flex;
  align-items: center;
  gap: var(--s1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
}

.lang-btn {
  padding: 4px 12px;
  border: none;
  background: transparent;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-3);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 28px;
}

.lang-btn.active {
  background: var(--white);
  color: var(--orange);
  box-shadow: var(--shadow-sm);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--s2);
  cursor: pointer;
  margin-left: var(--s2);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--s4) var(--s6) var(--s6);
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.nav-drawer.open { display: block; }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-bottom: var(--s4);
}

.nav-drawer-links a {
  padding: var(--s3) var(--s4);
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: background var(--dur);
}

.nav-drawer-links a:hover { background: var(--surface); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: var(--text-base);
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-sm);
  min-height: 36px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--text-md);
  min-height: 52px;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(247,148,29,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(59,130,246,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content {
  padding: var(--s20) 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(247,148,29,0.12);
  border: 1px solid rgba(247,148,29,0.30);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: var(--text-sm);
  color: var(--orange-light);
  font-weight: 500;
  margin-bottom: var(--s6);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--s6);
}

.hero-title .accent { color: var(--orange); }
.hero-title .line-break { display: block; }

.hero-sub {
  font-size: clamp(var(--text-md), 2vw, var(--text-xl));
  color: var(--text-muted-dark);
  max-width: 640px;
  margin-bottom: var(--s10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s12);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
}

.hero-trust-label {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  white-space: nowrap;
}

/* ─── Section Headers ─────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-radius: var(--r-full);
  padding: 4px 14px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s4);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--s12);
}

.section-header.left { text-align: left; margin-left: 0; }

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--s4);
}

.section-title .accent { color: var(--orange); }

.section-desc {
  font-size: var(--text-md);
  color: var(--text-3);
  line-height: 1.7;
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur), transform var(--dur);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-dark {
  background: var(--charcoal);
  border-color: var(--dark-border);
  color: var(--text-on-dark);
}

.card-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ─── Bridge Diagram ─────────────────────────────────────── */
.bridge-section {
  background: var(--surface);
  padding: var(--s20) 0;
}

.bridge-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.bridge-node {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.bridge-node.center {
  background: var(--navy);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-lg);
  z-index: 1;
  transform: scale(1.04);
}

.bridge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s3);
  color: var(--orange);
  font-size: 28px;
  font-weight: 300;
  flex-shrink: 0;
}

.bridge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s3);
}

.bridge-icon svg { width: 24px; height: 24px; }

.bridge-node-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s2);
  color: var(--text-3);
}

.bridge-node.center .bridge-node-title {
  color: var(--orange);
}

.bridge-node-name {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--s2);
}

.bridge-node.center .bridge-node-name {
  color: var(--white);
}

.bridge-node-items {
  font-size: var(--text-sm);
  color: var(--text-3);
  line-height: 1.8;
}

.bridge-node.center .bridge-node-items {
  color: var(--text-muted-dark);
}

@media (max-width: 600px) {
  .bridge-diagram {
    flex-direction: column;
    gap: var(--s2);
  }
  .bridge-arrow {
    transform: rotate(90deg);
    padding: 0;
    height: 24px;
  }
  .bridge-node.center { transform: none; }
}

/* ─── AIRA-X Phase Diagram ───────────────────────────────── */
.phases-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--s4);
  -webkit-overflow-scrolling: touch;
}

.phase-item {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.phase-box {
  width: 160px;
  text-align: center;
  padding: var(--s6) var(--s4);
}

.phase-num {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--orange);
  font-size: var(--text-sm);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s3);
}

.phase-name {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: var(--s2);
}

.phase-sub {
  font-size: var(--text-xs);
  color: var(--text-3);
  line-height: 1.5;
}

.phase-connector {
  display: flex;
  align-items: center;
  padding-top: 22px;
  color: var(--orange);
  font-size: 24px;
  flex-shrink: 0;
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: var(--s12) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s8);
  text-align: center;
}

.stat-num {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: var(--s2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  font-weight: 500;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Service Cards ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--dur);
}

.service-card:hover::before { background: var(--orange); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
}

.service-icon svg { width: 26px; height: 26px; color: var(--orange); }

.service-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--s2);
}

.service-card-desc {
  color: var(--text-3);
  margin-bottom: var(--s4);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.service-price {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--orange);
}

/* ─── Pricing Table ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  background: var(--orange);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.pricing-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: var(--s2);
}

.pricing-name {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--s2);
}

.pricing-price {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  color: var(--orange);
  margin-bottom: var(--s2);
  line-height: 1;
}

.pricing-price span {
  font-size: var(--text-sm);
  color: var(--text-3);
  font-weight: 400;
}

.pricing-desc {
  font-size: var(--text-sm);
  color: var(--text-3);
  margin-bottom: var(--s6);
  min-height: 48px;
}

.pricing-features {
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.pricing-feature {
  display: flex;
  gap: var(--s2);
  font-size: var(--text-sm);
  color: var(--text-2);
  align-items: flex-start;
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: var(--s20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(247,148,29,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--s4);
  position: relative;
}

.cta-desc {
  font-size: var(--text-md);
  color: var(--text-muted-dark);
  max-width: 560px;
  margin: 0 auto var(--s8);
  line-height: 1.7;
  position: relative;
}

/* ─── Partner Logos ──────────────────────────────────────── */
.partners-section {
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--border);
}

.partners-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: var(--s8);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s6) var(--s10);
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-3);
  padding: var(--s2) var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: border-color var(--dur), color var(--dur);
}

.partner-badge:hover { border-color: var(--orange); color: var(--text); }

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

/* ─── Portfolio Grid ─────────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

@media (min-width: 768px) {
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(6, 1fr); }
}

.client-tile {
  aspect-ratio: 2/1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-3);
  transition: all var(--dur);
}

.client-tile:hover {
  border-color: var(--orange);
  color: var(--text);
  background: var(--orange-pale);
}

/* ─── Feature List ───────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.feature-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: var(--orange-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg { width: 18px; height: 18px; color: var(--orange); }

.feature-text h4 { font-size: var(--text-base); font-weight: 600; margin-bottom: 2px; }
.feature-text p  { font-size: var(--text-sm); color: var(--text-3); }

/* ─── Page Hero (sub-pages) ──────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: calc(64px + var(--s16)) 0 var(--s16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(247,148,29,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: var(--s3);
}

.page-hero-title {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--s4);
  line-height: 1.15;
}

.page-hero-desc {
  font-size: var(--text-md);
  color: var(--text-muted-dark);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Orange CTA Band ────────────────────────────────────── */
.band {
  background: var(--orange);
  padding: var(--s12) 0;
  text-align: center;
}

.band-title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--s3);
}

.band-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s6);
}

/* ─── Timeline / Steps ───────────────────────────────────── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: var(--s6);
  position: relative;
  padding-bottom: var(--s8);
}

.step-item:last-child { padding-bottom: 0; }

.step-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-item:last-child .step-line { display: none; }

.step-num {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--orange);
  font-size: var(--text-sm);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  border: 3px solid var(--white);
}

.step-content { padding-top: var(--s2); }
.step-content h4 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--s1); }
.step-content p  { font-size: var(--text-sm); color: var(--text-3); line-height: 1.6; }

/* ─── Testimonial / Quote ────────────────────────────────── */
.quote-card {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: var(--s10);
  color: var(--white);
  position: relative;
}

.quote-mark {
  font-size: 80px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  top: var(--s4);
  left: var(--s8);
}

.quote-text {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: var(--s6);
  padding-top: var(--s4);
}

.quote-author {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  font-weight: 500;
}

/* ─── Two-column layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
  align-items: center;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col-60 { grid-template-columns: 3fr 2fr; }
  .two-col-40 { grid-template-columns: 2fr 3fr; }
}

/* ─── Impact Ladder ──────────────────────────────────────── */
.impact-ladder {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--s2);
  max-width: 600px;
  margin: 0 auto;
}

.ladder-level {
  display: flex;
  align-items: center;
  gap: var(--s4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s6);
  transition: all var(--dur);
}

.ladder-level.active {
  background: var(--navy);
  border-color: var(--orange);
  color: var(--white);
}

.ladder-num {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--orange);
  min-width: 28px;
}

.ladder-info h4 { font-size: var(--text-base); font-weight: 700; margin-bottom: 2px; }
.ladder-info p  { font-size: var(--text-sm); color: var(--text-3); }
.ladder-level.active .ladder-info p { color: var(--text-muted-dark); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: var(--s16) 0 var(--s8);
  color: var(--text-muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
  margin-bottom: var(--s10);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .nav-logo {
  font-size: 24px;
  margin-bottom: var(--s4);
  display: inline-flex;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  margin-bottom: var(--s4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-muted-dark);
  transition: color var(--dur);
  padding: 2px 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: var(--s8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s4);
  font-size: var(--text-xs);
}

/* ─── Misc Utilities ─────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-3); }
.text-center { text-align: center; }
.text-sm     { font-size: var(--text-sm); }
.mt-auto     { margin-top: auto; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.gap-2       { gap: var(--s2); }
.gap-3       { gap: var(--s3); }
.gap-4       { gap: var(--s4); }
.gap-6       { gap: var(--s6); }
.mb-4        { margin-bottom: var(--s4); }
.mb-6        { margin-bottom: var(--s6); }
.mb-8        { margin-bottom: var(--s8); }
.pt-4        { padding-top: var(--s4); }
.hidden      { display: none !important; }
.divider     { border: none; border-top: 1px solid var(--border); margin: var(--s8) 0; }

/* ─── Scroll behavior for fixed nav ─────────────────────── */
.main { padding-top: 64px; }

/* ─── Responsive utility ─────────────────────────────────── */
@media (max-width: 767px) {
  .hide-mobile { display: none; }
  .section { padding: var(--s12) 0; }
  .section-lg { padding: var(--s16) 0; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none; }
}
