/* =============================================================
   ICE DATA Ingeniería SAS — styles.css
   Tailwind (Play CDN) handles reset + utilities + breakpoints.
   This file: design tokens, custom components, effects, animation.
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  --bg: #04070d;
  --bg-2: #070d18;
  --card: #0b1526;
  --card-2: #101f38;
  --electric: #0a84ff;
  --electric-soft: #7cc0ff;
  --metal: #aeb8c4;
  --line: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -------------------------------------------------------------
   2. Base
   ------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  overflow-x: clip;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--electric); color: #04070d; }
:focus-visible {
  outline: 2px solid var(--electric-soft);
  outline-offset: 3px;
  border-radius: 6px;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c3050; border-radius: 8px; border: 2px solid var(--bg); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: #fff; color: #04070d;
  border-radius: 8px; font-weight: 600; font-size: .85rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(10, 21, 38, 0.55) 12%, rgba(10, 21, 38, 0.55) 88%, transparent); }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--electric-soft);
  margin-bottom: 1.1rem;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--electric);
  box-shadow: 0 0 0 4px rgba(10,132,255,.18), 0 0 14px rgba(10,132,255,.8);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #f7fafe;
  text-wrap: balance;
}
.text-gradient {
  background: linear-gradient(100deg, var(--electric-soft), var(--electric) 60%, #bcd9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------------------------------------------------------------
   4. Nav
   ------------------------------------------------------------- */
.nav {
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 7, 13, 0.72);
  border-bottom-color: transparent;
}
@supports (backdrop-filter: blur(16px)) {
  .nav.is-scrolled { backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(174,184,196,.5) 20%, rgba(124,192,255,.7) 50%, rgba(174,184,196,.5) 80%, transparent);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.nav.is-scrolled::after { opacity: 1; }
.nav-link {
  position: relative; padding-block: .3rem;
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--electric-soft);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: #04070d;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0 0 0 0); }
.nav-mobile a { color: #f4f8ff; }
.nav-mobile a[data-mobile-link]:not(.btn) { opacity: .9; }

/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem; border-radius: 12px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--electric), #086bd1);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(10,132,255,.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 45px -12px rgba(10,132,255,.75); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  color: #eef4ff;
}
.btn-ghost:hover { border-color: rgba(124,192,255,.5); background: rgba(124,192,255,.06); transform: translateY(-3px); }

/* Magnetic wrapper (see main.js initMagnetic) */
.has-magnetic { position: relative; isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; transition: transform .8s var(--ease-soft); }

/* -------------------------------------------------------------
   6. Glass cards
   ------------------------------------------------------------- */
.glass {
  background: rgba(16, 26, 46, 0.55);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: clip;
}
@supports (backdrop-filter: blur(18px)) {
  .glass { background: rgba(16, 26, 46, 0.4); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
}
/* Tempered-glass edge highlight — a thin line of light catching the top edge */
.glass::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(124,192,255,.55) 50%, transparent);
}
.glass-hover { transition: transform .5s var(--ease-soft), border-color .4s var(--ease-out), box-shadow .5s var(--ease-soft); }
.glass-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 192, 255, .35);
  box-shadow: 0 30px 70px -25px rgba(10,132,255,.4), 0 12px 30px -14px rgba(0,0,0,.55);
}

.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(10,132,255,.22), rgba(10,132,255,.05));
  border: 1px solid rgba(124,192,255,.25);
  color: var(--electric-soft);
}
.icon-tile-lg { width: 54px; height: 54px; border-radius: 14px; }

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: center; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,192,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,192,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 55% 30%, #000 20%, transparent 85%);
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(90px);
}
.hero-glow-a { width: 620px; height: 620px; top: -220px; right: -160px; background: radial-gradient(circle, rgba(10,132,255,.35), transparent 70%); }
.hero-glow-b { width: 480px; height: 480px; bottom: -180px; left: -140px; background: radial-gradient(circle, rgba(58,160,255,.22), transparent 70%); }

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #f7fafe;
  text-wrap: balance;
  max-width: 18ch;
}

.trust-item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 500; color: var(--metal);
}
.trust-item svg { color: var(--electric-soft); }

/* Hero visual: hexagon core + orbit rings */
.hero-visual {
  position: relative; margin-inline: auto;
  width: min(440px, 100%); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hex-core {
  width: 62%; aspect-ratio: 581 / 578; object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(10,132,255,.55));
  animation: heroFloat 7s ease-in-out infinite;
}
.logo-mark { display: block; object-fit: contain; }
.hex-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(124,192,255,.28);
}
.hex-ring-1 { inset: 6%; animation: spin 34s linear infinite; }
.hex-ring-2 { inset: -4%; border-style: solid; border-color: rgba(124,192,255,.12); animation: spin 50s linear infinite reverse; }
.hex-node {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--electric-soft);
  box-shadow: 0 0 14px 3px rgba(124,192,255,.8);
}
.hex-node-1 { top: 3%; left: 50%; animation: nodePulse 2.4s ease-in-out infinite; }
.hex-node-2 { top: 50%; left: 100%; animation: nodePulse 2.4s ease-in-out infinite; animation-delay: -0.8s; }
.hex-node-3 { top: 96%; left: 20%; animation: nodePulse 2.4s ease-in-out infinite; animation-delay: -1.6s; }

.hex-badge {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 12px;
  background: rgba(9,16,30,.75); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 600; color: #eaf2ff;
  animation: badgeFloat 6s ease-in-out infinite;
}
@supports (backdrop-filter: blur(10px)) { .hex-badge { backdrop-filter: blur(10px); } }
.hex-badge svg { color: var(--electric-soft); }
.hex-badge-1 { top: 6%; left: -4%; }
.hex-badge-2 { bottom: 8%; right: -6%; animation-delay: -3s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.6); opacity: 1; }
}

@media (max-width: 767px) {
  .hero-visual { width: min(320px, 78vw); margin-top: 1rem; }
  .hex-badge { display: none; }
}

/* -------------------------------------------------------------
   8. Cards generated by JS: services / values / strengths / process / stats
   ------------------------------------------------------------- */
.card {
  padding: 2rem;
}
.card-name {
  margin-top: 1.25rem; font-family: "Manrope", sans-serif; font-weight: 700;
  font-size: 1.08rem; color: #f7fafe;
}
.card-summary {
  margin-top: .6rem; font-size: .9rem; line-height: 1.6; color: #9fb0c9;
}

.value-chip {
  padding: 1.35rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color .35s var(--ease-out), transform .45s var(--ease-soft), background .35s;
}
.value-chip:hover { border-color: rgba(124,192,255,.4); background: rgba(124,192,255,.05); transform: translateY(-3px); }
.value-chip .icon-tile { margin-inline: auto; }
.value-chip .card-name { font-size: .92rem; margin-top: .9rem; }
.value-chip .card-summary { font-size: .78rem; margin-top: .4rem; }

/* Tilt (applied by initTilt in main.js) */
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty, 0));
  transform-style: preserve-3d;
}

/* Process track */
.process-track { display: flex; flex-direction: column; gap: 1.1rem; }
@media (min-width: 1024px) {
  .process-track { flex-direction: row; align-items: stretch; gap: 0; position: relative; }
  .process-track::before {
    content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
  }
}
.process-node { flex: 1; padding: 0 1rem; position: relative; }
.process-num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(150deg, rgba(10,132,255,.25), rgba(10,132,255,.04));
  border: 1px solid rgba(124,192,255,.35); color: var(--electric-soft);
  position: relative; z-index: 1;
}
.process-node .card-name { font-size: 1rem; }
.process-node .card-summary { font-size: .84rem; }

/* Stats band */
.stats-band {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, #071122, #0a1830 55%, #071122);
  border-block: 1px solid var(--line);
  position: relative; overflow: clip;
}
.stat-figure { text-align: center; }
.stat-value {
  font-family: "Manrope", sans-serif; font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  background: linear-gradient(100deg, #fff, var(--electric-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-label { margin-top: .6rem; font-size: .84rem; color: var(--metal); }

/* -------------------------------------------------------------
   9. Contact form
   ------------------------------------------------------------- */
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.35rem 1rem .55rem; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: #f7fafe; font-size: .95rem; resize: vertical;
  transition: border-color .3s var(--ease-out), background .3s;
}
.field textarea { min-height: 90px; }
.field input:focus, .field textarea:focus { border-color: var(--electric-soft); background: rgba(124,192,255,.05); }
.field label {
  position: absolute; left: 1rem; top: 1.05rem; pointer-events: none;
  color: #7e8ea6; font-size: .92rem;
  transition: all .22s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .5rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--electric-soft);
}

.cta-form { transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.cta-form-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  display: none; animation: spin .8s linear infinite;
}
.cta-submit.is-sending .cta-form-label { opacity: 0; width: 0; }
.cta-submit.is-sending .cta-form-spinner { display: inline-block; }
.cta-submit.is-sending { pointer-events: none; }

.cta-success {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 2rem;
  background: rgba(7,13,24,.94); border-radius: inherit;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------
   10. Footer
   ------------------------------------------------------------- */
.footer { background: #030509; border-top: 1px solid var(--line); }
.footer-heading { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #eaf2ff; }
.footer-link { transition: color .3s var(--ease-out); }
.footer-link:hover { color: var(--electric-soft); }

/* -------------------------------------------------------------
   11. WhatsApp floating button
   ------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(22,163,74,.7);
  animation: fabPulse 2.6s ease-in-out infinite;
  transition: transform .35s var(--ease-soft);
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(22,163,74,.7), 0 0 0 0 rgba(34,197,94,.5); }
  50% { box-shadow: 0 14px 32px -10px rgba(22,163,74,.7), 0 0 0 12px rgba(34,197,94,0); }
}

/* -------------------------------------------------------------
   12. Data Center corridor atmosphere — one fixed backdrop shared
   by the whole page (not just the hero), so the "walking through
   a data center" feeling persists as the user scrolls. Sections
   sit on translucent backgrounds so this shows through underneath.
   ------------------------------------------------------------- */
.corridor-backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: var(--bg);
}
.corridor-photo {
  position: absolute; inset: -2%;
  background-image: url("assets/img/datacenter-bg.webp?v=20260726");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 42%;
  opacity: .58;
  filter: saturate(1.08);
}
.corridor-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(56% 40% at 50% 4%, rgba(10,132,255,.16), transparent 72%),
    radial-gradient(70% 30% at 50% 100%, rgba(10,60,90,.22), transparent 75%),
    radial-gradient(130% 100% at 50% 45%, transparent 22%, rgba(4,7,13,.86) 74%),
    linear-gradient(180deg, rgba(4,7,13,.45), rgba(4,7,13,.68) 38%, rgba(4,7,13,.9));
}
.corridor-scan {
  position: absolute; left: 0; right: 0; height: 160px;
  background: linear-gradient(180deg, transparent, rgba(10,132,255,.18), transparent);
  filter: blur(8px);
  animation: corridorScan 14s ease-in-out infinite;
}
@keyframes corridorScan {
  0%   { transform: translateY(-180px); opacity: 0; }
  10%  { opacity: .85; }
  50%  { transform: translateY(85vh); opacity: .45; }
  92%  { opacity: 0; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* -------------------------------------------------------------
   12b. Environmental HUD panel (Quiénes somos)
   ------------------------------------------------------------- */
.hud-panel {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(10, 18, 32, .55);
  padding: 1.1rem 1.3rem 1.3rem;
  font-family: "JetBrains Mono", monospace;
}
@supports (backdrop-filter: blur(14px)) {
  .hud-panel { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.hud-row { display: flex; align-items: center; gap: .6rem; padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.hud-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.18), 0 0 10px rgba(52,211,153,.8);
  animation: hudPulse 2.4s ease-in-out infinite; flex-shrink: 0;
}
@keyframes hudPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.hud-label { font-size: .72rem; letter-spacing: .04em; color: var(--metal); }
.hud-status { margin-left: auto; font-size: .72rem; font-weight: 600; color: #34d399; letter-spacing: .06em; }
.hud-metrics { display: grid; gap: .65rem; }
.hud-metric { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: #b9c7dc; }
.hud-metric svg { color: var(--electric-soft); flex-shrink: 0; }
.hud-metric strong { margin-left: auto; color: #f2f7ff; font-weight: 600; }

/* -------------------------------------------------------------
   13. Especialidad — framed work photo
   ------------------------------------------------------------- */
.specialty-photo {
  position: relative; border-radius: 20px; overflow: clip;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(10,132,255,.35), 0 14px 34px -18px rgba(0,0,0,.6);
}
.specialty-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.specialty-photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(4,7,13,.92) 100%);
}
.specialty-photo::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(124,192,255,.9), transparent);
}
.specialty-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 1.5rem; }
.specialty-photo figcaption span { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--electric-soft); margin-bottom: .35rem; }
.specialty-photo figcaption p { font-weight: 600; font-size: 1rem; color: #f2f7ff; }

/* -------------------------------------------------------------
   14. Services — expandable accordion panels
   ------------------------------------------------------------- */
.service-acc {
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(16, 26, 46, .4);
  overflow: clip;
}
@supports (backdrop-filter: blur(16px)) {
  .service-acc { backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
}
.service-acc + .service-acc { margin-top: .85rem; }
.service-acc-summary {
  width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1.25rem 1.4rem; background: none; border: 0; cursor: pointer; color: inherit;
}
.service-acc-summary .chevron { margin-left: auto; transition: transform .4s var(--ease-soft); color: var(--electric-soft); flex-shrink: 0; }
.service-acc.is-open .service-acc-summary .chevron { transform: rotate(180deg); }
.service-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-soft); }
.service-acc.is-open .service-acc-body { grid-template-rows: 1fr; }
.service-acc-body-inner { overflow: hidden; padding: 0 1.4rem; }
.service-acc.is-open .service-acc-body-inner { padding-bottom: 1.5rem; }
.service-acc-tasks { margin-top: .3rem; display: grid; gap: .55rem; }
.service-acc-tasks li { display: flex; gap: .6rem; font-size: .87rem; color: #b9c7dc; line-height: 1.5; }
.service-acc-tasks li::before {
  content: ""; width: 6px; height: 6px; margin-top: .5rem; border-radius: 50%;
  background: var(--electric-soft); flex-shrink: 0; box-shadow: 0 0 8px rgba(124,192,255,.7);
}
.service-acc-photo { margin-top: 1.1rem; border-radius: 14px; overflow: clip; border: 1px solid var(--line); }
.service-acc-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .8s var(--ease-soft); }
.service-acc-photo:hover img { transform: scale(1.06); }

/* -------------------------------------------------------------
   15. Benefit tiles
   ------------------------------------------------------------- */
.benefit-tile {
  padding: 1.5rem; border-radius: 16px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
  transition: border-color .35s, transform .4s var(--ease-soft), background .35s;
}
.benefit-tile:hover { border-color: rgba(124,192,255,.4); background: rgba(124,192,255,.05); transform: translateY(-3px); }

/* -------------------------------------------------------------
   16. Project gallery
   ------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-card {
  position: relative; border-radius: 20px; overflow: clip; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: rgba(16,26,46,.5);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-soft), filter .6s; }
.gallery-card:hover img { transform: scale(1.08); filter: saturate(1.15) brightness(1.05); }
.gallery-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(4,7,13,.94) 100%);
}
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.3rem 1.4rem; transform: translateY(6px); transition: transform .5s var(--ease-soft); }
.gallery-card:hover .gallery-caption { transform: translateY(0); }
.gallery-caption span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--electric-soft); margin-bottom: .3rem; }
.gallery-caption p { font-weight: 600; font-size: .93rem; color: #f2f7ff; line-height: 1.4; }

/* Placeholder state — shown if a project photo hasn't been placed in assets/img/ yet */
.gallery-card.is-placeholder, .service-acc-photo.is-placeholder {
  background: linear-gradient(135deg, rgba(10,132,255,.14), rgba(10,132,255,.03));
  display: grid; place-items: center;
}
.gallery-card.is-placeholder::before, .service-acc-photo.is-placeholder::before {
  content: ""; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(124,192,255,.18); border: 1px solid rgba(124,192,255,.3);
}
.service-acc-photo.is-placeholder { aspect-ratio: 16/9; }

/* -------------------------------------------------------------
   17. Sectors served
   ------------------------------------------------------------- */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-chip {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line);
  font-weight: 600; font-size: .87rem; color: #e6eefc;
  transition: border-color .35s, background .35s, transform .4s var(--ease-soft);
}
.sector-chip:hover { border-color: rgba(124,192,255,.4); background: rgba(124,192,255,.05); transform: translateY(-2px); }
.sector-chip svg { color: var(--electric-soft); flex-shrink: 0; }

/* -------------------------------------------------------------
   18. Map embed frame
   ------------------------------------------------------------- */
.map-frame { position: relative; border-radius: 18px; overflow: clip; border: 1px solid var(--line); }
.map-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 44px rgba(4,7,13,.55); pointer-events: none; }
.map-frame iframe { width: 100%; height: 240px; display: block; border: 0; filter: invert(92%) hue-rotate(180deg) contrast(88%) saturate(120%); }

/* -------------------------------------------------------------
   19. AOS tuning
   ------------------------------------------------------------- */
[data-aos] { pointer-events: auto; }

/* -------------------------------------------------------------
   20. Reduced motion — only fast/intrusive pulses are disabled.
   Ambient motion (hex float, ring rotation, badge bob, corridor
   scan) keeps running slowly — killing it reads as "the site is
   broken" on the many Windows setups that ship reduced-motion ON
   by default.
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hex-node, .whatsapp-fab, .hud-dot { animation: none; }
}
