/* ============================================================
   THE GHR TEAM LLC — style.css
   Design System: Digital Amber × Deep Space
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Palette */
  --space:   #07070e;
  --void:    #0d0d18;
  --surface: #151525;
  --card:    #1a1a2e;
  --border:  #252540;
  --border-light: #2e2e4a;

  --amber:       #f59e0b;
  --amber-deep:  #d97706;
  --amber-glow:  #fbbf24;
  --amber-soft:  rgba(245, 158, 11, 0.12);

  --teal:        #14b8a6;
  --teal-deep:   #0d9488;
  --teal-soft:   rgba(20, 184, 166, 0.12);

  --violet:      #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.12);

  --rose:        #f43f5e;

  --text:        #e4e4ee;
  --text-strong: #f8f8ff;
  --text-muted:  #9494b0;
  --text-dim:    #6a6a85;

  --success: #22c55e;
  --error:   #ef4444;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Sizing */
  --max-width: 1200px;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius:   10px;
  --radius-lg: 16px;

  /* Timing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--space);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }

::selection {
  background: var(--amber);
  color: var(--space);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-strong);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  padding: 0.35em 0.9em;
  border: 1px solid var(--amber-soft);
  border-radius: 999px;
  background: var(--amber-soft);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Background Pattern --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(20, 184, 166, 0.03) 0%, transparent 40%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 7, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

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

.logo span { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text-strong); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.5rem 1.2rem !important;
  background: var(--amber) !important;
  color: var(--space) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--amber-glow) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.06);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
}

.hero h1 {
  margin-bottom: 1.2rem;
  line-height: 1.08;
}

.hero h1 .highlight {
  color: var(--amber);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-glow), transparent);
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--amber);
  color: var(--space);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
  background: var(--amber-glow);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  color: var(--text-strong);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Geometric composition */
.geo-comp {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
}

.geo-hex {
  position: absolute;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  animation: float-hex 7s ease-in-out infinite;
}

.geo-hex:nth-child(1) {
  width: 70%; height: 70%;
  top: 15%; left: 15%;
  transform: rotate(30deg);
  background: linear-gradient(135deg, rgba(245,158,11,0.04), rgba(139,92,246,0.04));
  animation-delay: 0s;
}

.geo-hex:nth-child(2) {
  width: 55%; height: 55%;
  top: 22%; left: 22%;
  transform: rotate(75deg);
  background: linear-gradient(225deg, rgba(20,184,166,0.05), rgba(245,158,11,0.03));
  animation-delay: -3s;
}

.geo-hex:nth-child(3) {
  width: 35%; height: 35%;
  top: 32%; left: 32%;
  transform: rotate(15deg);
  background: var(--amber-soft);
  border-color: rgba(245,158,11,0.3);
  animation-delay: -5s;
}

.geo-node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(245,158,11,0.5);
  animation: float-node 5s ease-in-out infinite;
}

.geo-node:nth-child(4) { top: 5%; left: 60%; animation-delay: -1s; }
.geo-node:nth-child(5) { top: 70%; left: 15%; animation-delay: -2s; background: var(--teal); box-shadow: 0 0 16px rgba(20,184,166,0.5); }
.geo-node:nth-child(6) { top: 80%; left: 55%; animation-delay: -4s; background: var(--violet); box-shadow: 0 0 16px rgba(139,92,246,0.5); }
.geo-node:nth-child(7) { top: 15%; left: 25%; width: 8px; height: 8px; animation-delay: -3s; background: var(--amber-glow); }
.geo-node:nth-child(8) { top: 50%; left: 75%; width: 6px; height: 6px; animation-delay: -6s; background: var(--teal); }

.geo-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
  transform-origin: left center;
  animation: pulse-line 5s ease-in-out infinite;
}

.geo-line:nth-child(9)  { width: 40%; top: 11%; left: 20%; transform: rotate(15deg);  animation-delay: 0s; }
.geo-line:nth-child(10) { width: 30%; top: 18%; left: 55%; transform: rotate(-20deg); animation-delay: -2s; }
.geo-line:nth-child(11) { width: 35%; top: 55%; left: 10%; transform: rotate(35deg);  animation-delay: -4s; }
.geo-line:nth-child(12) { width: 25%; top: 60%; left: 60%; transform: rotate(-10deg); animation-delay: -1s; }

@keyframes float-hex {
  0%, 100% { transform: translateY(0) rotate(var(--r, 30deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, 30deg)); }
}

@keyframes float-node {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.15); }
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--violet));
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
}

.service-icon.amber { background: var(--amber-soft); }
.service-icon.teal  { background: var(--teal-soft); }
.service-icon.violet { background: var(--violet-soft); }

.service-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-features {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: var(--void);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-shape {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(20,184,166,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about-shape::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -20%;
  width: 70%; height: 70%;
  background: linear-gradient(135deg, var(--amber-soft), transparent);
  border-radius: 50%;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.about-badge-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-content h2 { margin-bottom: 1rem; }

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-stat {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-soft), var(--border), var(--teal-soft));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-num {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amber);
  background: var(--card);
  border: 2px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.process-step:nth-child(1) .step-num { color: var(--amber); }
.process-step:nth-child(2) .step-num { color: var(--teal); }
.process-step:nth-child(3) .step-num { color: var(--violet); }
.process-step:nth-child(4) .step-num { color: var(--amber-glow); }

.process-step:hover .step-num {
  border-color: var(--amber);
  box-shadow: 0 0 24px var(--amber-soft);
}

.process-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: var(--void);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.industry-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.industry-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.industry-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.industry-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-band {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--card), var(--surface));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-number.amber { color: var(--amber); }
.stat-number.teal  { color: var(--teal); }
.stat-number.violet { color: var(--violet); }
.stat-number.rose  { color: var(--rose); }

.stat-suffix {
  font-size: 0.7em;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.75rem; }

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-detail-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-icon.amber { background: var(--amber-soft); }
.contact-detail-icon.teal  { background: var(--teal-soft); }
.contact-detail-icon.violet { background: var(--violet-soft); }

.contact-detail-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-strong);
}

/* Form */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  margin-bottom: 0.4rem;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  transition: border-color 0.25s, box-shadow 0.25s;
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

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

.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--amber);
  color: var(--space);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--amber-glow);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--success);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, var(--card), rgba(139,92,246,0.08));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.06), transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
  font-size: 1.02rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--space);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-dim);
  margin-top: 1rem;
  font-size: 0.88rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  transition: color 0.2s;
}

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

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-page {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.policy-page .container {
  max-width: 800px;
}

.policy-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.policy-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--amber);
}

.policy-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ul { list-style: disc; }
.policy-content ol { list-style: decimal; }

.policy-content strong {
  color: var(--text-strong);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 300px; }
  .geo-comp { max-width: 320px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 60px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(7, 7, 14, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-in-out);
    z-index: 1000;
  }

  .nav-links.active { transform: translateX(0); }

  .nav-links a { font-size: 1.2rem; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 2rem) 0 3rem; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 400px) {
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
