/* Green Edge Technologies — Homepage · styles.css */

/* ══════════════════════════════════════════════════════════════════
   Green Edge Technologies — Homepage · styles.css
══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:#0A0F1C; --bg-2:#121826; --bg-3:#0d1220;
  --surface:#1A2235; --surface-2:#202c42;
  --border:rgba(255,255,255,.07); --border-g:rgba(0,200,83,.22);
  --text:#FFFFFF; --text-muted:#B0B8C5; --text-faint:#6F7A8A;
  --green:#00C853; --green-dark:#006837;
  --green-glow:rgba(0,200,83,.30); --green-subtle:rgba(0,200,83,.08);
  --ai-blue:#00A8FF; --tech-purple:#6C63FF; --orange:#FF6B00;
  --grad-text:linear-gradient(120deg,#00C853 0%,#00A8FF 50%,#6C63FF 100%);
  --grad-btn:linear-gradient(135deg,#00C853,#006837);
  --font-d:'Manrope',sans-serif; --font-b:'Inter',sans-serif;
  --mono:'JetBrains Mono',monospace;
  --radius:14px; --radius-lg:22px;
  --ease:cubic-bezier(.16,1,.3,1);
  --nav-h:72px
}
body.light {
  --bg:#F5F7FA; --bg-2:#EBEEF3; --bg-3:#E0E5EE;
  --surface:#FFFFFF; --surface-2:#F0F3F8;
  --border:rgba(0,0,0,.08); --border-g:rgba(0,200,83,.30);
  --text:#0A0F1C; --text-muted:#4A5568; --text-faint:#9AA5B4;
  --green-subtle:rgba(0,200,83,.10)
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth }
body {
  background:var(--bg); color:var(--text);
  font-family:var(--font-b); font-size:15px; line-height:1.7;
  transition:background .4s,color .4s;
  overflow-x:hidden;
  cursor:default
}
a { color:inherit; text-decoration:none }
ul { list-style:none }
button { border:none; background:none; font-family:inherit }
input,select,textarea { font-family:inherit; font-size:inherit; outline:none }


/* NOISE */
.noise-overlay {
  position:fixed; inset:0; pointer-events:none; z-index:9000; opacity:.025;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:150px
}
body.light .noise-overlay { opacity:.015 }

/* CONTAINER */
.container { max-width: 1240px; width: 100%; margin:0 auto; padding:0 28px }

/* BUTTONS */
.btn {
  display:inline-flex; align-items:center; gap:9px;
  padding:12px 26px; border-radius:9px;
  font-family:var(--font-d); font-weight:700; font-size:.9rem;
  letter-spacing:.01em; transition:all .3s var(--ease);
  position:relative; overflow:hidden; cursor:pointer
}

.btn::after {
  content:''; position:absolute; inset:0; opacity:0;
  background:rgba(255,255,255,.1); border-radius:inherit; transition:opacity .25s
}
.btn:hover::after { opacity:1 }
.btn-primary {
  background:var(--grad-btn); color:#fff;
  box-shadow:0 4px 22px var(--green-glow)
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 40px var(--green-glow),0 0 0 1px rgba(0,200,83,.35)
}
.btn-ghost {
  border:1.5px solid var(--green); color:var(--green);
  background:var(--green-subtle)
}
.btn-ghost:hover {
  background:rgba(0,200,83,.16); transform:translateY(-2px);
  box-shadow:0 6px 26px var(--green-glow)
}
.btn-lg  { padding:15px 34px; font-size:1rem; border-radius:11px }
.btn-xl  { padding:17px 42px; font-size:1.05rem; border-radius:12px }
.btn-sm  { padding:9px 18px; font-size:.82rem }
.btn-pulse { animation:btnPulse 3s ease-in-out infinite }
.btn-pulse:hover { animation:none }
@keyframes btnPulse {
  0%,100% { box-shadow:0 4px 22px var(--green-glow) }
  50% { box-shadow:0 4px 44px rgba(0,200,83,.6),0 0 0 7px rgba(0,200,83,.07) }
}

/* SECTION SHARED */
.section { padding:110px 0; position:relative; overflow-x:hidden;}
.section-tag {
  display:inline-block; font-family:var(--font-d); font-size:.7rem;
  font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--green); background:var(--green-subtle);
  border:1px solid var(--border-g); padding:4px 14px;
  border-radius:100px; margin-bottom:1.25rem
}
.section-header { text-align:center; max-width: 700px; width: 100%; margin:0 auto 5rem }
.section-title {
  font-family:var(--font-d); font-size:clamp(1.875rem, 3.75vw, 3.0469rem);
  font-weight:800; line-height:1.12; letter-spacing:-.03em; margin-bottom:1.1rem
}
.section-sub {
  font-size:1.05rem; color:var(--text-muted); max-width: 560px; width: 100%;
  margin:0 auto; line-height:1.75
}
.gradient-text {
  background:var(--grad-text); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text
}
.section-cta { text-align:center; margin-top:3.5rem; display:flex; gap:1rem; justify-content:center; flex-wrap:wrap }

/* REVEALS */
.reveal-section,.reveal-card {
  opacity:0; transform:translateY(36px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)
}
.reveal-card { transition-delay:calc(var(--i,0)*.08s) }
.reveal-section.is-visible,.reveal-card.is-visible { opacity:1; transform:translateY(0) }
/* Customizer preview: show all content immediately — no IntersectionObserver needed */
body.customize-preview .reveal-section,
body.customize-preview .reveal-card { opacity:1; transform:translateY(0); transition:none }

/* BACK TO TOP */
.progress-ring-wrap {
  position:fixed; bottom:2rem; right:2rem; z-index:9100;
  width:52px; height:52px; border-radius:50%;
  background:var(--surface); border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; opacity:0; visibility:hidden;
  transform:translateY(14px) scale(.9);
  transition:opacity .35s,visibility .35s,transform .35s var(--ease);
  box-shadow:0 4px 24px rgba(0,0,0,.4)
}
.progress-ring-wrap.visible { opacity:1; visibility:visible; transform:translateY(0) scale(1) }
.progress-ring-wrap:hover { transform:translateY(-3px) scale(1.06) }
.progress-ring { position:absolute; inset:0; transform:rotate(-90deg) }
.progress-ring__track { fill:none; stroke:rgba(255,255,255,.08); stroke-width:2.5 }
.progress-ring__fill {
  fill:none; stroke:var(--green); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:125.66; stroke-dashoffset:125.66; transition:stroke-dashoffset .1s linear
}
.progress-ring__icon { position:relative; z-index:1; color:var(--green) }

/* ══ 1 · HERO ════════════════════════════════════════════════════════ */
/* Nav + mobile sidebar styles live exclusively in components.css */

/*
 * ARCHITECTURE — Single Hero
 * .hero-section  (position:relative, min-height:100svh)
 *   ├─ .hero-canvas        z-index:1   particles
 *   ├─ .hero-glow-*        z-index:1   ambient glows
 *   ├─ .slide-bg           z-index:0   full-bleed background image
 *   ├─ .slide-content      z-index:1   text / CTA layer
 *   └─ .hero-scroll-cue    z-index:10
 */

.hero-section {
  position:relative; min-height:100svh; overflow:hidden;
  background:#0A0F1C;         /* fallback while image loads */
}
.hero-canvas {
  position:absolute; inset:0; z-index:1;
  width:100%; height:100%; pointer-events:none
}
.hero-glow {
  position:absolute; border-radius:50%; filter:blur(110px);
  pointer-events:none; z-index:1;
  animation:glowFloat 9s ease-in-out infinite
}
.hero-glow-1 {
  max-width: 800px; width: 100%; height:800px;
  background:radial-gradient(circle,rgba(0,200,83,.08) 0%,transparent 70%);
  top:-200px; right:-140px
}
.hero-glow-2 {
  max-width: 500px; width: 100%; height:500px;
  background:radial-gradient(circle,rgba(0,168,255,.07) 0%,transparent 70%);
  bottom:-80px; left:-80px; animation-delay:-4s
}
@keyframes glowFloat {
  0%,100% { transform:translate(0,0) scale(1) }
  33%      { transform:translate(28px,-20px) scale(1.05) }
  66%      { transform:translate(-18px,14px) scale(.97) }
}

/* ── BACKGROUND IMAGE LAYER ────────────────────────────────────────── */
.slide-bg {
  position:absolute; inset:0; z-index:0; overflow:hidden
}
.slide-bg-img {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  transform:scale(1.1);
  transition:transform 10s ease-out;
  will-change:transform
}
/* Ken Burns — fires on page load (single hero, no carousel) */
.hero-section .slide-bg-img {
  transform:scale(1.0) translate(-8px, 4px);
  transition:transform 10s ease-out
}

/* Per-slide tinted overlays — strong on left for text legibility */
.slide-bg-overlay { position:absolute; inset:0 }

.slide-bg-overlay--1 {
  background:
    linear-gradient(108deg,
      rgba(5,10,20,.97)   0%,
      rgba(10,15,28,.88) 38%,
      rgba(10,15,28,.55) 65%,
      rgba(10,15,28,.20) 100%),
    radial-gradient(ellipse at 5% 90%, rgba(0,200,83,.22) 0%, transparent 55%)
}
/* Light mode overlay */
body.light .slide-bg-overlay--1 {
  background:
    linear-gradient(108deg,
      rgba(245,247,250,.97) 0%,
      rgba(245,247,250,.88) 38%,
      rgba(245,247,250,.55) 65%,
      rgba(245,247,250,.15) 100%),
    radial-gradient(ellipse at 5% 90%, rgba(0,200,83,.14) 0%, transparent 55%)
}

/* ── SLIDE CONTENT wrapper — sits above bg image ── */
.slide-content {
  position:relative; z-index:2;
  display:flex; align-items:center;
  width:100%; min-height:100svh;
  padding-top:calc(var(--nav-h) + 4rem); padding-bottom:10rem
}

.hero-inner {
  display:grid; grid-template-columns:1fr 480px;
  gap:4rem; align-items:center
}
.hero-left { display:flex; flex-direction:column; gap:0 }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-d); font-size:.8rem; font-weight:600;
  color:var(--green); background:var(--green-subtle);
  border:1px solid var(--border-g); padding:6px 16px;
  border-radius:100px; margin-bottom:1.5rem; width:fit-content
}
.badge-dot {
  width:7px; height:7px; border-radius:50%; background:var(--green);
  animation:badgePulse 2s ease-in-out infinite; flex-shrink:0
}
@keyframes badgePulse {
  0%,100% { box-shadow:0 0 4px var(--green) }
  50% { box-shadow:0 0 18px var(--green),0 0 32px rgba(0,200,83,.3) }
}
.hero-title {
  font-family:var(--font-d); font-size:clamp(2.4375rem, 4.6875vw, 4.125rem);
  font-weight:800; line-height:1.09; letter-spacing:-.035em;
  margin-bottom:1.25rem
}
.hero-desc {
  font-size:1.05rem; color:var(--text-muted);
  line-height:1.78; margin-bottom:1.75rem; max-width:520px
}
.hero-pills {
  display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:2rem
}
.hero-pills span {
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-d); font-size:.78rem; font-weight:600;
  color:var(--text-muted); background:var(--surface);
  border:1px solid var(--border); padding:6px 14px; border-radius:100px
}
.hero-pills span svg { color:var(--green); flex-shrink:0 }
.hero-ctas { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:1.75rem }
.hero-trust {
  display:flex; align-items:center; gap:.85rem;
  font-family:var(--font-d); font-size:.82rem; color:var(--text-faint)
}
.hero-trust strong { color:var(--text-muted) }
.ht-avs { display:flex }
.ht-av {
  width:32px; height:32px; border-radius:50%;
  border:2px solid var(--bg); display:flex; align-items:center;
  justify-content:center; font-family:var(--font-d);
  font-size:.7rem; font-weight:800; color:#fff;
  margin-right:-10px; flex-shrink:0
}
.ht-avs .ht-av:last-child { margin-right:0 }

/* HERO VISUAL — screen mockup */
.hero-right { display:flex; justify-content:center; align-items:center }
.hero-visual { position:relative; width:100% }
.hv-screen {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.6);
  animation:screenFloat 4s ease-in-out infinite
}
@keyframes screenFloat {
  0%,100% { transform:translateY(0) }
  50% { transform:translateY(-10px) }
}
.hv-topbar {
  display:flex; align-items:center; gap:6px;
  padding:10px 14px; background:var(--surface-2);
  border-bottom:1px solid var(--border)
}
.hvt-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0 }
.hvt-url {
  flex:1; background:var(--bg); border-radius:6px;
  padding:4px 10px; font-family:var(--mono); font-size:.65rem;
  color:var(--text-faint); margin-left:6px
}
.hv-body { display:flex; gap:0; height:240px }
.hv-sidebar {
  width:54px; background:var(--bg); border-right:1px solid var(--border);
  padding:14px 8px; display:flex; flex-direction:column; gap:8px; flex-shrink:0
}
.hvs-logo {
  width:30px; height:30px; background:var(--grad-btn);
  border-radius:8px; margin-bottom:6px
}
.hvs-item {
  width:30px; height:8px; background:var(--surface);
  border-radius:4px; opacity:.5
}
.hvs-item--on { background:var(--green-subtle); border:1px solid var(--border-g); opacity:1 }
.hv-main { flex:1; padding:14px; display:flex; flex-direction:column; gap:10px }
.hvm-heading { height:10px; background:var(--border); border-radius:5px; width:60% }
.hvm-kpis { display:flex; gap:8px }
.hvm-kpi {
  flex:1; background:var(--surface-2); border:1px solid var(--border);
  border-radius:10px; padding:10px 8px; text-align:center;
  border-top:2px solid var(--kc,var(--green))
}
.kpi-n {
  display:block; font-family:var(--font-d); font-size:.9rem;
  font-weight:800; color:var(--kc,var(--green))
}
.kpi-l { display:block; font-size:.6rem; color:var(--text-faint); margin-top:2px }
.hvm-chart {
  flex:1; display:flex; align-items:flex-end; gap:6px;
  background:var(--surface-2); border-radius:10px; padding:10px 8px
}
.hvm-bar {
  flex:1; height:var(--bh,40%); background:var(--bc,var(--green));
  border-radius:4px 4px 0 0; opacity:.7;
  animation:barGrow .8s var(--ease) forwards
}
@keyframes barGrow {
  from { height:0 } to { height:var(--bh) }
}
/* Floating chips */
.hv-chip {
  position:absolute; display:flex; align-items:center; gap:6px;
  font-family:var(--font-d); font-size:.7rem; font-weight:700;
  padding:6px 12px; border-radius:100px;
  box-shadow:0 8px 32px rgba(0,0,0,.4); backdrop-filter:blur(8px)
}
.hv-chip--a {
  top:-16px; right:-10px;
  background:rgba(0,200,83,.12); border:1px solid rgba(0,200,83,.3); color:#00C853;
  animation:floatA 3.5s ease-in-out infinite
}
.hv-chip--b {
  bottom:-16px; left:-10px;
  background:rgba(0,168,255,.12); border:1px solid rgba(0,168,255,.3); color:#00A8FF;
  animation:floatB 4s ease-in-out infinite
}
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* Design slide visual */
.hero-visual--design .hv-design-frame {
  background:var(--surface); border:1px solid var(--border); border-radius:16px;
  overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.6);
  animation:screenFloat 4s ease-in-out infinite
}
.hv-design-tabs {
  display:flex; background:var(--surface-2);
  border-bottom:1px solid var(--border)
}
.hvdt {
  padding:10px 16px; font-family:var(--font-d); font-size:.74rem;
  font-weight:700; color:var(--text-faint); cursor:pointer; transition:color .2s
}
.hvdt.active { color:var(--green); border-bottom:2px solid var(--green) }
.hv-design-canvas { padding:18px; display:flex; flex-direction:column; gap:10px; min-height:180px }
.hvdc-card {
  display:flex; align-items:center; gap:10px;
  background:var(--surface-2); border-radius:10px; padding:12px
}
.hvdc-avatar { width:32px; height:32px; border-radius:50%; background:var(--green-subtle); border:1px solid var(--border-g); flex-shrink:0 }
.hvdc-icon { width:32px; height:32px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center }
.hvdc-lines { flex:1; display:flex; flex-direction:column; gap:5px }
.hvdc-lines div { height:6px; background:var(--border); border-radius:3px; width:80% }
.hvdc-btns { display:flex; gap:8px }
.hvdc-btn-g { flex:1; height:32px; background:var(--grad-btn); border-radius:8px }
.hvdc-btn-o { flex:1; height:32px; background:var(--green-subtle); border:1px solid var(--border-g); border-radius:8px }

/* AI slide terminal */
.hero-visual--ai .hv-terminal {
  background:var(--bg); border:1px solid var(--border); border-radius:16px;
  overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.6);
  animation:screenFloat 4s ease-in-out infinite; margin-bottom:12px
}
.hv-term-bar {
  display:flex; align-items:center; gap:6px;
  padding:10px 14px; background:var(--surface-2); border-bottom:1px solid var(--border)
}
.hv-term-body { padding:14px 18px; display:flex; flex-direction:column; gap:7px }
.term-line { font-family:var(--mono); font-size:.78rem; display:flex; gap:6px }
.term-p { color:var(--green); font-weight:700 }
.term-c { color:var(--text-muted) }
.term-out { padding-left:16px }
.term-k { color:var(--text-faint) }
.term-v { color:#39FF14; font-weight:700 }
.term-blink { animation:blink 1s step-end infinite }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hv-ai-pipeline {
  display:flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:12px 16px
}
.hv-ai-node {
  flex:1; text-align:center; font-family:var(--font-d); font-size:.72rem;
  font-weight:800; color:var(--nc,var(--green));
  background:rgba(0,0,0,.2); border:1px solid var(--nc,var(--green));
  border-radius:8px; padding:6px 8px; opacity:.6
}
.hv-ai-node--active { opacity:1; box-shadow:0 0 12px rgba(0,200,83,.3) }
.hv-ai-conn { width:20px; height:1px; background:var(--border); flex-shrink:0 }

/* Slide scroll cue */
.hero-scroll-cue {
  position:absolute; bottom:2.5rem; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column;
  align-items:center; gap:8px;
  font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--text-faint); z-index:10
}
.scroll-line {
  width:1px; height:44px;
  background:linear-gradient(to bottom,var(--green),transparent);
  animation:scrollPulse 1.7s ease-in-out infinite
}
@keyframes scrollPulse {
  0%{transform:scaleY(1);transform-origin:top}
  50%{transform:scaleY(0);transform-origin:top}
  50.1%{transform-origin:bottom}
  100%{transform:scaleY(1);transform-origin:bottom}
}

/* Hero arrows & dots removed — single slide */

/* ══ 2 · TRUST ═══════════════════════════════════════════════════════ */
.trust-section {
  padding:32px 0; background:var(--bg-2);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border)
}
.trust-label {
  text-align:center; font-family:var(--font-d); font-size:.7rem;
  font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:1.5rem
}
.trust-track-wrap { overflow:hidden; position:relative }
.trust-track-wrap::before,.trust-track-wrap::after {
  content:''; position:absolute; top:0; bottom:0; max-width: 100px; width: 100%; z-index:1; pointer-events:none
}
.trust-track-wrap::before { left:0; background:linear-gradient(to right,var(--bg-2),transparent) }
.trust-track-wrap::after { right:0; background:linear-gradient(to left,var(--bg-2),transparent) }
.trust-track {
  display:flex; gap:1.5rem;
  animation:trustScroll 28s linear infinite; width:max-content
}
.trust-track:hover { animation-play-state:paused }
@keyframes trustScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.trust-item {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:12px 22px; flex-shrink:0;
  transition:border-color .2s,transform .2s; cursor:pointer
}
.trust-item:hover { border-color:var(--border-g); transform:translateY(-3px) }
.ti-name {
  font-family:var(--font-d); font-size:.88rem; font-weight:800; color:var(--text)
}
.ti-type { font-size:.68rem; color:var(--text-faint); font-weight:600 }

/* ══ 3 · SERVICES ════════════════════════════════════════════════════ */
.services-section { background:var(--bg) }
.svc-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem
}
.svc-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem 1.65rem;
  display:flex; flex-direction:column; gap:.85rem;
  transition:border-color .3s,transform .4s var(--ease),box-shadow .35s;
  cursor:pointer
}
.svc-card:hover {
  transform:translateY(-8px);
  border-color:var(--sc,var(--green));
  box-shadow:0 28px 70px rgba(0,0,0,.4),0 0 0 1px rgba(0,200,83,.08)
}
.svc-icon {
  width:52px; height:52px; border-radius:14px;
  background:var(--si,rgba(0,200,83,.12)); color:var(--st,#00C853);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:transform .3s var(--ease)
}
.svc-card:hover .svc-icon { transform:scale(1.1) rotate(-5deg) }
.svc-card h3 { font-family:var(--font-d); font-size:1rem; font-weight:800 }
.svc-card p { font-size:.84rem; color:var(--text-muted); line-height:1.65; flex:1 }
.svc-link {
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-d); font-size:.8rem; font-weight:700;
  color:var(--sc,var(--green)); margin-top:.25rem;
  transition:gap .2s
}
.svc-card:hover .svc-link { gap:9px }

/* ══ 4 · ABOUT ═══════════════════════════════════════════════════════ */
.about-section {
  padding:110px 0 80px;
  background:var(--bg-2);
  position:relative;
  overflow:hidden
}
/* subtle background texture */
.about-section::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,200,83,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(0,168,255,.03) 0%, transparent 50%);
  pointer-events:none
}

/* ── INTRO BLOCK (centered) ─────────────────────────────────────── */
.about-intro {
  text-align:center;
  max-width: 720px; width: 100%;
  margin:0 auto 70px
}
.about-headline {
  font-family:var(--font-d);
  font-size:clamp(1.875rem, 3.5625vw, 3.0rem);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.03em;
  margin-bottom:1.1rem
}
.about-lead {
  font-size:1.05rem;
  color:var(--text-muted);
  line-height:1.78;
  max-width: 580px; width: 100%;
  margin:0 auto
}

/* ── MAIN BODY GRID ─────────────────────────────────────────────── */
.about-body-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5rem;
  align-items:start;
  margin-bottom:70px
}

/* ── LEFT: IMAGE PANEL ──────────────────────────────────────────── */
.about-img-panel {
  display:flex;
  flex-direction:column;
  gap:12px
}
/* Main large image */
.aip-main {
  position:relative;
  border-radius:18px;
  overflow:hidden;
  aspect-ratio:4/3
}
.aip-main img {
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 25%;
  display:block;
  transition:transform .7s var(--ease)
}
.aip-main:hover img { transform:scale(1.04) }
.aip-main-overlay {
  position:absolute; inset:0;
  background:linear-gradient(
    to bottom,
    transparent 50%,
    rgba(5,10,20,.55) 100%
  );
  pointer-events:none
}
/* stat badge on main image */
.aip-badge {
  position:absolute;
  bottom:16px; left:16px;
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(10,15,28,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(0,200,83,.3);
  border-radius:12px;
  padding:10px 14px;
  box-shadow:0 8px 32px rgba(0,0,0,.4)
}
body.light .aip-badge {
  background:rgba(255,255,255,.88);
  border-color:rgba(0,200,83,.4)
}
.aip-badge svg { flex-shrink:0 }
.aip-badge-n {
  display:block;
  font-family:var(--font-d);
  font-size:1.15rem;
  font-weight:800;
  color:var(--green);
  line-height:1
}
.aip-badge-l {
  display:block;
  font-family:var(--font-d);
  font-size:.65rem;
  font-weight:600;
  color:var(--text-faint);
  margin-top:1px
}
/* 3 thumbnail strip */
.aip-thumbs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}
.aip-thumb {
  position:relative;
  border-radius:12px;
  overflow:hidden;
  aspect-ratio:1/1
}
.aip-thumb img {
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s var(--ease)
}
.aip-thumb:hover img { transform:scale(1.08) }
.aip-thumb-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(0,200,83,.06),transparent 60%);
  border:1px solid rgba(255,255,255,.06);
  border-radius:inherit;
  pointer-events:none
}

/* ── RIGHT: CONTENT ─────────────────────────────────────────────── */
.about-content-col {
  display:flex;
  flex-direction:column;
  gap:0;
  padding-top:.25rem
}
.about-copy {
  font-size:.96rem;
  color:var(--text-muted);
  line-height:1.82;
  margin-bottom:1.1rem
}
.about-copy:last-of-type { margin-bottom:1.75rem }

/* ── STATS ROW ── */
.about-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--border-g);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:2rem;
  background:var(--surface)
}
.ast-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:1.1rem .75rem;
  position:relative;
  transition:background .2s
}
.ast-item:hover { background:var(--green-subtle) }
.ast-item + .ast-item {
  border-left:1px solid var(--border)
}
.ast-n {
  font-family:var(--font-d);
  font-size:1.65rem;
  font-weight:800;
  color:var(--green);
  line-height:1;
  margin-bottom:.3rem
}
.ast-n sup {
  font-size:.9rem;
  vertical-align:super;
  line-height:0
}
.ast-l {
  font-family:var(--font-d);
  font-size:.62rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--text-faint);
  text-align:center
}
.ast-sep { display:none }

/* ── TABBED VALUES ── */
.about-tabs {
  display:flex;
  gap:4px;
  margin-bottom:0;
  border-bottom:1px solid var(--border);
  padding-bottom:0
}
.atab {
  font-family:var(--font-d);
  font-size:.8rem;
  font-weight:700;
  color:var(--text-faint);
  padding:.6rem 1.1rem;
  border-radius:8px 8px 0 0;
  transition:color .2s, background .2s;
  position:relative;
  cursor:pointer;
  white-space:nowrap;
  border:none;
  background:none;
  margin-bottom:-1px
}
.atab::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height:2px;
  background:var(--green);
  border-radius:2px 2px 0 0;
  opacity:0;
  transition:opacity .2s
}
.atab.active {
  color:var(--green);
  background:var(--green-subtle)
}
.atab.active::after { opacity:1 }
.atab:hover:not(.active) {
  color:var(--text);
  background:var(--surface)
}

.about-tab-panels {
  border:1px solid var(--border);
  border-top:none;
  border-radius:0 0 12px 12px;
  margin-bottom:2rem;
  overflow:hidden
}
.atab-panel {
  display:none;
  align-items:flex-start;
  gap:1rem;
  padding:1.25rem 1.4rem;
  background:var(--surface)
}
.atab-panel.active { display:flex }
.atp-icon {
  width:42px; height:42px;
  border-radius:10px;
  flex-shrink:0;
  background:rgba(0,0,0,.15);
  border:1px solid rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 20px color-mix(in srgb, var(--c,#00C853) 30%, transparent)
}
body.light .atp-icon { background:rgba(0,200,83,.07); border-color:rgba(0,0,0,.06) }
.atab-panel strong {
  display:block;
  font-family:var(--font-d);
  font-size:.95rem;
  font-weight:800;
  margin-bottom:.35rem
}
.atab-panel p {
  font-size:.84rem;
  color:var(--text-muted);
  line-height:1.7;
  margin:0
}

/* ── CTAS ── */
.about-ctas {
  display:flex;
  gap:.85rem;
  flex-wrap:wrap
}

/* ── MILESTONE STRIP ────────────────────────────────────────────── */
.about-milestones {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:var(--surface)
}
.aml-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:1.5rem 2rem;
  flex:1;
  min-max-width: 130px; width: 100%;
  position:relative;
  transition:background .25s;
  text-align:center
}
.aml-item + .aml-item { border-left:1px solid var(--border) }
.aml-item:hover { background:rgba(0,200,83,.04) }
.aml-item--active { background:var(--green-subtle) }
.aml-item--active:hover { background:rgba(0,200,83,.14) }
.aml-yr {
  font-family:var(--mono);
  font-size:.72rem;
  font-weight:700;
  color:var(--green);
  background:var(--green-subtle);
  border:1px solid var(--border-g);
  padding:2px 10px;
  border-radius:100px;
  margin-bottom:.6rem;
  display:inline-block
}
.aml-item--active .aml-yr {
  background:var(--green);
  color:#fff;
  border-color:var(--green)
}
.aml-title {
  font-family:var(--font-d);
  font-size:.88rem;
  font-weight:800;
  display:block;
  margin-bottom:.25rem
}
.aml-desc {
  font-size:.75rem;
  color:var(--text-faint);
  display:block;
  line-height:1.45
}
.aml-arrow {
  color:var(--text-faint);
  flex-shrink:0;
  padding:0 .25rem;
  opacity:.4
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
/* Tablet: ≤1100px */
@media(max-width:1100px) {
  .about-body-grid {
    grid-template-columns:1fr;
    gap:3rem
  }
  .about-img-panel {
    max-width: 620px; width: 100%;
    margin:0 auto;
    width:100%
  }
}

/* Small tablet: ≤768px */
@media(max-width:768px) {
  .about-section { padding:80px 0 60px }
  .about-intro { margin-bottom:48px }

  /* Prevent grid cell from overflowing its track */
  .about-content-col { min-width:0 }

  /* Stats: 2×2 grid — border resets (no ast-sep siblings, nth-child is accurate) */
  .about-stats {
    grid-template-columns:repeat(2,1fr)
  }
  .ast-item:nth-child(3) {
    border-left:none;
    border-top:1px solid var(--border)
  }
  .ast-item:nth-child(4) {
    border-top:1px solid var(--border)
  }

  /* Tabs: allow horizontal scroll before 480px too */
  .about-tabs {
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    flex-wrap:nowrap
  }
  .about-tabs::-webkit-scrollbar { display:none }

  /* Milestones: stack vertically to prevent overflow */
  .about-milestones {
    flex-direction:column;
    border-radius:12px
  }
  .aml-item {
    width:100%;
    min-width:0;
    flex:none;
    border-left:none !important;
    border-top:1px solid var(--border);
    padding:1rem 1.5rem;
    flex-direction:row;
    align-items:center;
    gap:1rem;
    text-align:left
  }
  .aml-item:first-child { border-top:none }
  .aml-yr { margin-bottom:0; flex-shrink:0 }
  .aml-item--active { border-left:3px solid var(--green) !important }
  .aml-title { font-size:.8rem }
  .aml-desc { font-size:.68rem }
  .aml-arrow { display:none }
}

/* Mobile: ≤480px */
@media(max-width:480px) {
  .about-section { padding:64px 0 48px }
  .about-headline { font-size:1.75rem }
  .about-intro { margin-bottom:36px }
  .about-body-grid { gap:2rem }

  /* Image panel: reduce to fit small screens */
  .about-img-panel { max-width:100% }
  .aip-thumbs { grid-template-columns:repeat(3,1fr); gap:8px }

  /* Stats: tighter padding on small screens */
  .ast-item { padding:.85rem .5rem }
  .ast-n { font-size:1.35rem }
  .ast-l { font-size:.58rem }

  /* CTAs: stack full-width */
  .about-ctas {
    flex-direction:column;
    align-items:stretch
  }
  .about-ctas .btn {
    width:100%;
    justify-content:center
  }
}


/* ══ 5 · PROJECTS ════════════════════════════════════════════════════ */
.projects-section { background:var(--bg) }
.proj-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.4rem; align-items:start
}
.proj-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden;
  transition:border-color .3s,transform .4s var(--ease),box-shadow .3s
}
.proj-card:hover {
  transform:translateY(-6px); border-color:var(--border-g);
  box-shadow:0 28px 70px rgba(0,0,0,.4)
}
.pc-visual {
  background:linear-gradient(135deg,rgba(0,0,0,.2),rgba(0,0,0,.05));
  border-bottom:1px solid var(--border); padding:1.75rem 1.5rem;
  display:flex; flex-direction:column; gap:.85rem;
  border-top:3px solid var(--pv,var(--green))
}
.pc-icon {
  width:56px; height:56px; border-radius:15px;
  background:var(--pi,rgba(0,200,83,.12));
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s var(--ease)
}
.proj-card:hover .pc-icon { transform:scale(1.1) rotate(-5deg) }
.pc-pills { display:flex; gap:7px; flex-wrap:wrap }
.pc-pills span {
  font-family:var(--font-d); font-size:.65rem; font-weight:800;
  color:var(--pc,var(--green)); background:rgba(0,200,83,.08);
  border:1px solid rgba(0,200,83,.2); padding:3px 10px; border-radius:100px
}
.pc-body { padding:1.5rem }
.pc-tags { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:.75rem }
.ptag {
  font-family:var(--font-d); font-size:.62rem; font-weight:800;
  padding:2px 9px; border-radius:100px
}
.ptag-g { background:rgba(0,200,83,.1); color:#00C853; border:1px solid rgba(0,200,83,.25) }
.ptag-b { background:rgba(0,168,255,.1); color:#00A8FF; border:1px solid rgba(0,168,255,.25) }
.ptag-p { background:rgba(108,99,255,.1); color:#6C63FF; border:1px solid rgba(108,99,255,.25) }
.ptag-ai { background:rgba(57,255,20,.06); color:#39FF14; border:1px solid rgba(57,255,20,.2) }
.ptag-o { background:rgba(255,107,0,.1); color:#FF6B00; border:1px solid rgba(255,107,0,.25) }
.ptag-feat { background:var(--green-subtle); color:var(--green); border:1px solid var(--border-g) }
.proj-card h3 { font-family:var(--font-d); font-size:.96rem; font-weight:800; margin-bottom:.35rem }
.pc-client {
  display:flex; align-items:center; gap:5px;
  font-family:var(--font-d); font-size:.72rem; color:var(--text-faint);
  margin-bottom:.6rem
}
.proj-card p { font-size:.83rem; color:var(--text-muted); line-height:1.6; margin-bottom:1rem }
.pc-kpis {
  display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1rem;
  padding:1rem; background:var(--surface-2);
  border-radius:10px; border:1px solid var(--border)
}
.pk { display:flex; flex-direction:column; gap:1px }
.pk-n { font-family:var(--font-d); font-size:1.1rem; font-weight:800; color:var(--green) }
.pk-l { font-family:var(--font-d); font-size:.62rem; color:var(--text-faint) }
.pc-cta {
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-d); font-size:.8rem; font-weight:700;
  color:var(--green); transition:gap .2s
}
.proj-card:hover .pc-cta { gap:9px }

/* ══ 6 · EXPERTISE ═══════════════════════════════════════════════════ */
.expertise-section { background:var(--bg-2) }
.exp-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem
}
.exp-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.75rem 1.5rem;
  display:flex; align-items:flex-start; gap:1rem;
  transition:border-color .3s,transform .3s var(--ease),box-shadow .3s
}
.exp-card:hover {
  transform:translateY(-5px); border-color:var(--border-g);
  box-shadow:0 20px 50px rgba(0,0,0,.35)
}
.exp-icon {
  width:48px; height:48px; border-radius:13px;
  background:var(--ei,rgba(0,200,83,.1)); color:var(--et,#00C853);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:transform .3s var(--ease)
}
.exp-card:hover .exp-icon { transform:scale(1.1) rotate(-5deg) }
.exp-card h4 { font-family:var(--font-d); font-size:.92rem; font-weight:800; margin-bottom:.35rem }
.exp-card p { font-size:.8rem; color:var(--text-faint); line-height:1.55 }

/* ══ 7 · TRAINING ════════════════════════════════════════════════════ */
.training-section { background:var(--bg) }
.train-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem
}
.train-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.75rem 1.5rem;
  display:flex; flex-direction:column; gap:.9rem;
  transition:border-color .3s,transform .4s var(--ease),box-shadow .35s;
  position:relative; overflow:hidden
}
.train-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--tc,var(--green))
}
.train-card:hover {
  transform:translateY(-7px);
  border-color:var(--tc,var(--green));
  box-shadow:0 24px 60px rgba(0,0,0,.4)
}
.train-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem }
.train-icon {
  width:48px; height:48px; border-radius:13px;
  background:var(--ti,rgba(0,200,83,.12)); color:var(--tt,#00C853);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:transform .3s var(--ease)
}
.train-card:hover .train-icon { transform:scale(1.1) rotate(-5deg) }
.train-badge {
  font-family:var(--font-d); font-size:.62rem; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase;
  padding:3px 10px; border-radius:100px; border:1px solid; align-self:flex-start
}
.train-card h3 { font-family:var(--font-d); font-size:.96rem; font-weight:800 }
.train-card p { font-size:.82rem; color:var(--text-muted); line-height:1.65; flex:1 }
.train-pills { display:flex; flex-wrap:wrap; gap:5px }
.train-pills span {
  font-family:var(--font-d); font-size:.64rem; font-weight:700;
  padding:3px 9px; border-radius:100px;
  background:var(--surface-2); border:1px solid var(--border); color:var(--text-faint)
}

/* ══ 8 · METRICS ═════════════════════════════════════════════════════ */
.metrics-section { background:var(--bg-2) }
.met-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem
}
.met-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem 1.5rem; text-align:center;
  border-top:3px solid var(--mc,var(--green));
  transition:border-color .3s,transform .3s var(--ease),box-shadow .3s
}
.met-card:hover {
  transform:translateY(-5px); box-shadow:0 20px 50px rgba(0,0,0,.35)
}
.met-icon {
  width:52px; height:52px; border-radius:14px;
  background:rgba(0,200,83,.08); margin:0 auto 1rem;
  display:flex; align-items:center; justify-content:center
}
.met-num-wrap {
  display:flex; align-items:baseline; justify-content:center; gap:2px;
  margin-bottom:.35rem
}
.met-num {
  font-family:var(--font-d); font-size:2.8rem; font-weight:800;
  color:var(--mc,var(--green)); line-height:1
}
.met-suf { font-family:var(--font-d); font-size:1.6rem; font-weight:800; color:var(--mc,var(--green)) }
.met-lbl { font-family:var(--font-d); font-size:.92rem; font-weight:800; margin-bottom:.3rem }
.met-sub { font-size:.78rem; color:var(--text-faint) }

/* ══ 9 · TESTIMONIALS ════════════════════════════════════════════════ */
.testi-section { background:var(--bg) }
.tcar-wrap { position:relative; width:100% }
.tcar-viewport { overflow:hidden; border-radius:var(--radius-lg); width:100% }
.tcar-track { display:flex; transition:transform .5s var(--ease); will-change:transform }
.tcard {
  min-width:calc(50% - .75rem); width:calc(50% - .75rem); margin-right:1.5rem;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:2rem;
  display:flex; flex-direction:column; gap:1.1rem; flex-shrink:0;
  box-sizing:border-box
}
.tcard--feat { border-color:var(--border-g) }
.tct { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem }
.tc-stars { color:var(--green); font-size:1rem; letter-spacing:2px }
.tc-badge {
  font-family:var(--font-d); font-size:.65rem; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase;
  padding:3px 10px; border-radius:100px; border:1px solid
}
.tc-body { font-size:.9rem; color:var(--text-muted); line-height:1.78; flex:1; font-style:italic }
.tc-author { display:flex; align-items:center; gap:.85rem }
.tc-av {
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-d); font-size:.75rem; font-weight:800; flex-shrink:0
}
.tc-name { font-family:var(--font-d); font-size:.88rem; font-weight:700 }
.tc-role { font-size:.76rem; color:var(--text-faint) }
.tcar-controls {
  display:flex; align-items:center; justify-content:center;
  gap:1rem; margin-top:2rem
}
.tcar-btn {
  width:44px; height:44px; border-radius:50%;
  background:var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); cursor:pointer; transition:all .2s
}
.tcar-btn:hover { background:var(--green-subtle); color:var(--green); border-color:var(--border-g) }
.tcar-dots { display:flex; gap:.5rem }
.tcar-dot {
  width:8px; height:8px; border-radius:50%;
  background:var(--border); cursor:pointer; transition:all .3s
}
.tcar-dot.active { background:var(--green); width:24px; border-radius:4px }

/* ══ 10 · BLOG ═══════════════════════════════════════════════════════ */
.blog-section { background:var(--bg-2) }
.blog-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem
}
.blog-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden;
  transition:border-color .3s,transform .3s var(--ease),box-shadow .3s
}
.blog-card:hover {
  transform:translateY(-6px); border-color:var(--border-g);
  box-shadow:0 22px 55px rgba(0,0,0,.35)
}
.bc-vis {
  background:var(--bv,linear-gradient(135deg,rgba(0,200,83,.1),transparent));
  padding:2rem 1.5rem;
  display:flex; flex-direction:column; align-items:flex-start; gap:.85rem;
  border-bottom:1px solid var(--border)
}
.bc-icon {
  width:52px; height:52px; border-radius:14px; background:rgba(0,0,0,.2);
  display:flex; align-items:center; justify-content:center
}
.bc-cat {
  font-family:var(--font-d); font-size:.65rem; font-weight:800;
  letter-spacing:.1em; text-transform:uppercase;
  padding:4px 11px; border-radius:100px; border:1px solid
}
.bc-body { padding:1.5rem }
.bc-meta {
  display:flex; gap:.5rem; font-size:.74rem; color:var(--text-faint);
  margin-bottom:.65rem
}
.blog-card h3 {
  font-family:var(--font-d); font-size:.96rem; font-weight:800;
  margin-bottom:.5rem; line-height:1.35
}
.blog-card p { font-size:.82rem; color:var(--text-muted); line-height:1.65; margin-bottom:1rem }
.bc-link {
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-d); font-size:.8rem; font-weight:700;
  color:var(--green); transition:gap .2s
}
.blog-card:hover .bc-link { gap:9px }

/* ══ 11 · FINAL CTA ══════════════════════════════════════════════════ */
.final-cta {
  position:relative; padding:120px 0; overflow:hidden; background:var(--bg-3)
}
.fcta-glow-1 {
  position:absolute; max-width: 700px; width: 100%; height:700px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,200,83,.09),transparent 70%);
  top:-200px; left:-200px; pointer-events:none
}
.fcta-glow-2 {
  position:absolute; max-width: 500px; width: 100%; height:500px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,168,255,.07),transparent 70%);
  bottom:-150px; right:-100px; pointer-events:none
}
.fcta-inner { text-align:center; position:relative; z-index:1 }
.fcta-btns {
  display:flex; flex-wrap:wrap; gap:1rem;
  justify-content:center; margin-bottom:2rem
}
.fcta-trust {
  display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem;
  font-family:var(--font-d); font-size:.82rem; font-weight:600; color:var(--text-faint)
}

/* ══ FOOTER ══════════════════════════════════════════════════════════ */
.footer { background:var(--bg-3); border-top:1px solid var(--border) }
.footer-top-bar {
  background:rgba(0,200,83,.05);
  border-bottom:1px solid var(--border-g); padding:13px 0
}
.footer-top-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; flex-wrap:wrap; font-size:.8rem;
  color:var(--text-muted); font-family:var(--font-d); font-weight:600
}
.footer-socials { display:flex; gap:8px }
.social-link {
  width:32px; height:32px; border-radius:8px; background:var(--surface);
  border:1px solid var(--border); display:flex; align-items:center;
  justify-content:center; color:var(--text-faint); transition:all .2s; cursor:pointer
}
.social-link:hover { background:var(--green-subtle); color:var(--green); border-color:var(--border-g) }
.footer-main { padding:60px 0 44px }
.footer-grid {
  display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr 1fr; gap:3rem
}
.footer-brand p {
  font-size:.875rem; color:var(--text-muted); line-height:1.75;
  margin-bottom:2rem; max-width:280px
}
.newsletter-wrap { margin-top:1.5rem }
.newsletter-label {
  font-family:var(--font-d); font-size:.72rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); margin-bottom:.75rem
}
.newsletter-form { display:flex; gap:.5rem }
.newsletter-form input {
  flex:1; background:var(--surface); border:1px solid var(--border);
  border-radius:9px; padding:.7rem 1rem; color:var(--text); font-size:.85rem; min-width:0
}
.newsletter-form input:focus { border-color:var(--border-g); box-shadow:0 0 0 3px rgba(0,200,83,.1) }
.footer-col h5 {
  font-family:var(--font-d); font-size:.73rem; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase; margin-bottom:1.25rem
}
.footer-col ul { display:flex; flex-direction:column; gap:9px }
.footer-col a { font-size:.875rem; color:var(--text-muted); transition:color .2s; cursor:pointer }
.footer-col a:hover { color:var(--green) }
.footer-bottom { border-top:1px solid var(--border); padding:22px 0 }
.footer-bottom-inner {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:1rem; font-size:.79rem; color:var(--text-faint)
}
.footer-legal { display:flex; gap:1.5rem }
.footer-legal a { color:var(--text-faint); transition:color .2s; cursor:pointer }
.footer-legal a:hover { color:var(--green) }

/* ══ RESPONSIVE ══════════════════════════════════════════════════════ */
@media(max-width:1200px) {
  .svc-grid { grid-template-columns:repeat(2,1fr) }
  .train-grid { grid-template-columns:repeat(2,1fr) }
  .proj-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:1100px) {
  .hero-inner { grid-template-columns:1fr; gap:2rem }
  .hero-right { display:none }
  .slide-content { padding-bottom:7rem }
  /* about responsive handled inside section */
  .footer-grid { grid-template-columns:1fr 1fr; gap:2.5rem }
  .footer-brand { grid-column:span 2 }
}
@media(max-width:960px) {
  .nav-links { display:none }
  .nav-ctas { display:none }
  .nav-inner { padding:0 16px }
  .hamburger { display:flex !important }
  .exp-grid { grid-template-columns:repeat(2,1fr) }
  .met-grid { grid-template-columns:repeat(2,1fr) }
  .blog-grid { grid-template-columns:repeat(2,1fr) }
}
@media(max-width:768px) {
  .section { padding:72px 0; overflow-x:hidden; }
  .svc-grid { grid-template-columns:1fr }
  .train-grid { grid-template-columns:1fr }
  .proj-grid { grid-template-columns:1fr }
  .exp-grid { grid-template-columns:1fr }
  .met-grid { grid-template-columns:repeat(2,1fr) }
  .blog-grid { grid-template-columns:1fr }

  /* ── Testimonial carousel: full-width cards on mobile ── */
  .tcard { min-width:100%; width:100%; margin-right:0 }
  .tcar-track { gap:0 }
  .tcar-viewport { border-radius:var(--radius) }
  .tc-body { font-size:.85rem }

  /* ── Hero: single column, tighten padding ── */
  .hero-inner { grid-template-columns:1fr; gap:1.5rem }
  .hero-right { display:none }
  .slide-content { padding-top:calc(var(--nav-h) + 3rem); padding-bottom:6rem }
  .hero-title { font-size:clamp(2.0625rem, 5.625vw, 3.0rem) }
  .hero-desc { max-width:100% }

  /* ── Move scroll cue to bottom-right corner ── */
  .hero-scroll-cue {
    left:auto;
    right:1.25rem;
    bottom:2rem;
    transform:none
  }
}
@media(max-width:480px) {
  .hero-title { font-size:clamp(1.875rem, 7.5vw, 2.4375rem) }
  .hero-desc { font-size:.95rem }
  .hero-badge { font-size:.72rem; padding:5px 12px }
  .hero-pills { gap:.4rem }
  .hero-pills span { font-size:.72rem; padding:5px 10px }
  .hero-ctas { flex-direction:column; gap:.75rem }
  .hero-ctas .btn { width:100%; justify-content:center }
  .hero-trust { flex-wrap:wrap; gap:.6rem }
  .slide-content { padding-top:calc(var(--nav-h) + 2rem); padding-bottom:5rem }
  .met-grid { grid-template-columns:1fr }
  .footer-grid { grid-template-columns:1fr }
  .footer-brand { grid-column:span 1 }
  .footer-bottom-inner { flex-direction:column; text-align:center }
  .footer-legal { justify-content:center; flex-wrap:wrap }
  .footer-top-inner { flex-direction:column; text-align:center }
}
/* Logo sizing is controlled via Appearance → Customize → Logo & Branding.
   CSS variables (--logo-height, --logo-height-tablet, --logo-height-mobile,
   --logo-max-width) are set by greenedge_logo_inline_css() in functions.php
   and consumed by components.css. Do not add hardcoded overrides here. */

/* SERVICE GRID CAROUSEL — shared on service pages */
.service-nav-carousel {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,200,83,.10), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(0,168,255,.10), transparent 32%),
    linear-gradient(180deg, rgba(10,15,28,.02), rgba(0,200,83,.035));
  overflow:hidden;
}
.service-nav-carousel .container { position:relative; z-index:1; }
.service-nav-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
  margin-bottom:2.25rem;
}
.service-nav-head .section-title,
.service-nav-head .section-sub { text-align:left; margin-left:0; }
.service-nav-head .section-sub { max-width:620px; }
.service-nav-controls { display:flex; gap:.75rem; flex:0 0 auto; }
.svc-nav-btn {
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid var(--border-g, rgba(0,200,83,.24));
  color:var(--green, #00C853);
  background:var(--surface, #fff);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 12px 34px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.svc-nav-btn:hover,
.svc-nav-btn:focus-visible {
  background:var(--green, #00C853);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 16px 42px rgba(0,200,83,.24);
  outline:none;
}
.service-nav-shell { position:relative; }
.service-nav-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(280px, 31.5%);
  gap:1.25rem;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:.35rem .15rem 1.1rem;
  scrollbar-width:none;
}
.service-nav-track::-webkit-scrollbar { display:none; }
.service-nav-card {
  scroll-snap-align:start;
  min-height:285px;
  display:flex;
  flex-direction:column;
  gap:1rem;
  text-decoration:none;
  color:var(--text, #1A1A1A);
  background:var(--surface, #fff);
  border:1px solid rgba(0,200,83,.18);
  border-radius:24px;
  padding:1.45rem;
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(10,15,28,.08);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.service-nav-card::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(0,200,83,.12), rgba(0,168,255,.09) 52%, transparent 74%);
  opacity:0;
  transition:opacity .28s ease;
  pointer-events:none;
}
.service-nav-card > * { position:relative; z-index:1; }
.service-nav-card:hover,
.service-nav-card:focus-visible {
  transform:translateY(-7px);
  border-color:rgba(0,200,83,.42);
  box-shadow:0 24px 70px rgba(0,200,83,.14), 0 16px 40px rgba(10,15,28,.10);
  outline:none;
}
.service-nav-card:hover::before,
.service-nav-card:focus-visible::before { opacity:1; }
.service-nav-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.service-nav-icon {
  width:54px;
  height:54px;
  border-radius:17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--green, #00C853);
  background:var(--green-subtle, rgba(0,200,83,.10));
  border:1px solid var(--border-g, rgba(0,200,83,.22));
}
.service-nav-tag {
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--blue, #00A8FF);
  background:rgba(0,168,255,.10);
  border:1px solid rgba(0,168,255,.18);
  padding:.38rem .7rem;
  border-radius:999px;
}
.service-nav-title {
  font-family:var(--font-d, inherit);
  font-size:1.25rem;
  line-height:1.22;
  font-weight:800;
  letter-spacing:-.02em;
}
.service-nav-desc {
  color:var(--text-muted, #6F7A8A);
  line-height:1.72;
  font-size:.96rem;
  flex:1;
}
.service-nav-link {
  margin-top:auto;
  color:var(--green, #00C853);
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}
.service-nav-link svg { transition:transform .25s ease; }
.service-nav-card:hover .service-nav-link svg,
.service-nav-card:focus-visible .service-nav-link svg { transform:translateX(4px); }
.svc-nav-orb {
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  filter:blur(54px);
  opacity:.22;
  pointer-events:none;
}
.svc-nav-orb-a { left:-90px; top:50px; background:var(--green, #00C853); }
.svc-nav-orb-b { right:-80px; bottom:40px; background:var(--blue, #00A8FF); }
body.dark-mode .service-nav-carousel,
[data-theme="dark"] .service-nav-carousel {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,200,83,.13), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(0,168,255,.14), transparent 32%),
    linear-gradient(180deg, rgba(10,15,28,.96), rgba(18,24,38,.96));
}
body.dark-mode .service-nav-card,
[data-theme="dark"] .service-nav-card,
body.dark-mode .svc-nav-btn,
[data-theme="dark"] .svc-nav-btn {
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.10);
}
@media (max-width: 900px) {
  .service-nav-head { align-items:flex-start; flex-direction:column; margin-bottom:1.5rem; }
  .service-nav-controls { align-self:flex-end; }
  .service-nav-track { grid-auto-columns:minmax(255px, 78%); gap:1rem; }
  .service-nav-card { min-height:268px; padding:1.25rem; border-radius:20px; }
}
@media (max-width: 560px) {
  .service-nav-carousel { padding:78px 0; }
  .service-nav-controls { display:none; }
  .service-nav-track { grid-auto-columns:86%; padding-left:.05rem; }
  .service-nav-card { min-height:255px; }
}
