/* ==========================================================================
   Homepage — 3D hero + cinematic sections
   ========================================================================== */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 72% 30%, rgba(41,128,196,.16), transparent 62%),
    var(--ink);
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero::after { /* bottom fade into page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: min(1380px, 100% - 2 * var(--pad)); margin-inline: auto; }
.hero-copy { max-width: 640px; pointer-events: none; }
.hero-copy a, .hero-copy .btn { pointer-events: auto; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 18px;
  background: rgba(11, 20, 31, .55); backdrop-filter: blur(6px);
  margin-bottom: 28px;
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--volt);
  box-shadow: 0 0 12px var(--volt);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .volt-word {
  background: linear-gradient(100deg, var(--volt-bright), var(--volt) 55%, #E89A0C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 26px rgba(255, 185, 48, .3));
}
.hero .hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-creds {
  display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 44px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute);
}
.hero-creds span { display: inline-flex; align-items: center; gap: 9px; }
.hero-creds svg { width: 15px; height: 15px; color: var(--volt); flex: none; }

.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-mute); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
}
.hero-scroll-hint::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scroll-drip 2s ease-in-out infinite;
}
@keyframes scroll-drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Stats band ---------- */
.stats-band { padding-block: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat-cell {
  padding: clamp(30px, 4vw, 52px) 20px; text-align: center;
  border-left: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.stat-cell:first-child { border-left: 0; }
.stat-cell::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity .4s;
}
.stat-cell:hover::after { opacity: 1; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.stat-num .unit { color: var(--volt); }
.stat-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mute); margin-top: 12px; }

/* ---------- Badges row ---------- */
.badge-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.badge-card { display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.badge-card img { width: 72px; height: 72px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }
.badge-card > svg { width: 34px; height: 34px; color: var(--volt); flex: none; }
.badge-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.badge-card small { color: var(--text-mute); font-size: .85rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 340px; display: flex; align-items: flex-end;
  isolation: isolate;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s cubic-bezier(.2,.65,.25,1), filter .4s;
  filter: saturate(.85) brightness(.8);
}
.service-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(.92); }
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(185deg, rgba(7,13,20,.05) 30%, rgba(7,13,20,.93) 78%);
}
.service-card .sc-body { padding: 26px 28px; width: 100%; }
.service-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.service-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 14px; }
.sc-link { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--volt); display: inline-flex; align-items: center; gap: 8px; }
.service-card:hover .sc-link { color: var(--volt-bright); }
.sc-tag {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); background: rgba(7,13,20,.72); border: 1px solid var(--line-strong);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.service-card.span-2 { grid-column: span 2; }

/* ---------- Split feature (commercial) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(7,13,20,.55)); }
.split-media .media-chip {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: rgba(7,13,20,.8); border: 1px solid var(--line-strong); border-radius: 12px;
  backdrop-filter: blur(8px); padding: 14px 20px;
  display: flex; gap: 22px;
}
.media-chip b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--volt); }
.media-chip small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); }
.tick-list { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-soft); }
.tick-list svg { width: 20px; height: 20px; color: var(--volt); flex: none; margin-top: 3px; }
.tick-list b { color: var(--text); }

/* ---------- Brand marquee ---------- */
.brands { padding-block: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.brands .eyebrow { justify-content: center; width: 100%; }
.marquee { display: flex; overflow: hidden; user-select: none; gap: 0; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brand-chip {
  flex: none; margin: 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  color: var(--text-mute);
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 26px;
  transition: color .3s, border-color .3s;
}
.brand-chip:hover { color: var(--cyan); border-color: var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { flex-wrap: wrap; justify-content: center; } }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: why; }
.why-item { position: relative; padding: 30px 28px 28px; }
.why-item .why-num {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .2em; color: var(--volt);
  display: inline-block; margin-bottom: 16px;
}
.why-item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why-item p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- Director ---------- */
.director { background: var(--ink-2); border-block: 1px solid var(--line); }
.director-card {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 4vw, 60px);
  align-items: center;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 56px);
  position: relative; overflow: hidden;
}
.director-card::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(41,128,196,.18), transparent 65%);
  pointer-events: none;
}
.director-photo { position: relative; }
.director-photo img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.director-photo .dp-badge {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--volt); color: #211603; font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--glow-volt);
}
.director-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.director-meta a {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 11px 20px;
  color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
}
.director-meta a:hover { border-color: var(--volt); color: var(--volt-bright); }
.director-meta svg { width: 16px; height: 16px; color: var(--volt); }
.director-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.director-points div { border-top: 1px solid var(--line); padding-top: 14px; }
.director-points b { display: block; font-family: var(--font-display); font-size: .95rem; }
.director-points small { color: var(--text-mute); font-size: .82rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { display: flex; flex-direction: column; gap: 18px; }
.testi-stars { color: var(--volt); display: flex; gap: 3px; }
.testi-stars svg { width: 16px; height: 16px; }
.testi-quote { color: var(--text-soft); font-size: .98rem; flex: 1; margin: 0; }
.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-family: var(--font-display); font-weight: 700; color: #fff;
}
.testi-who b { display: block; font-size: .95rem; }
.testi-who small { color: var(--text-mute); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Areas teaser ---------- */
.areas-map-band {
  position: relative; overflow: hidden;
  background: var(--ink-2); border-block: 1px solid var(--line);
}
.areas-bg { position: absolute; inset: 0; }
.areas-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.areas-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 8%, rgba(11,20,31,.55) 60%, rgba(11,20,31,.3)); }
.areas-map-band .container { position: relative; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin-top: 28px; }
.chip-cloud a {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  color: var(--text-soft); font-size: .88rem; font-weight: 600;
  background: rgba(7,13,20,.5); backdrop-filter: blur(4px);
  transition: border-color .2s, color .2s, transform .2s;
}
.chip-cloud a:hover { border-color: var(--volt); color: var(--volt-bright); transform: translateY(-2px); }
.chip-cloud .chip-more { border-style: dashed; color: var(--cyan); }

/* ---------- Process ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { padding: 30px 26px; border-left: 1px solid var(--line); position: relative; }
.process-step:first-child { border-left: 0; }
.process-step .ps-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--volt);
  font-family: var(--font-mono); font-size: .85rem;
  margin-bottom: 20px; background: var(--ink-3);
  box-shadow: 0 0 0 6px rgba(41,128,196,.05);
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card.span-2 { grid-column: span 1; }
  .why-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: 0; border-top: 1px solid var(--line); }
  .director-card { grid-template-columns: 1fr; }
  .director-photo { max-width: 320px; }
  .split { grid-template-columns: 1fr; }
  .badge-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .services-grid, .why-grid, .testi-grid, .process-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { border-left: 0; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(-n+2) { border-top: 0; }
  .hero { min-height: 92svh; }
  .hero-scroll-hint { display: none; }
  .director-points { grid-template-columns: 1fr; }
}
