/* =========================================================
   FEMAR — Strategic Extension v2
   New BUs, Platform band, FAQ, Commercial Equipment
   ========================================================= */

/* ═══════════════════════════════════════════════════════
   INDUSTRIES — 3-ECOSYSTEM EDITORIAL LAYOUT
   ═══════════════════════════════════════════════════════ */

#industries {
  background: #060d18;
  padding: 0;
}

/* ─── Section header ─────────────────────────────────────── */
.ind-header {
  padding: clamp(72px,8vw,120px) var(--gutter) clamp(48px,5vw,72px);
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.ind-header .display-lg { color: #fff; }
.ind-header-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.4);
  line-height: 1.68;
  font-weight: 400;
}

/* ─── Ecosystem slab ─────────────────────────────────────── */
.ind-eco {
  display: grid;
  grid-template-columns: 48fr 52fr;
  min-height: 540px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.ind-eco.ind-flip { grid-template-columns: 52fr 48fr; }
.ind-eco.ind-flip .ind-eco-photo { order: 2; }
.ind-eco.ind-flip .ind-eco-content { order: 1; }

/* Photo side */
.ind-eco-photo {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.ind-eco-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.ind-eco:hover .ind-eco-photo img { transform: scale(1.04); }
.ind-eco-photo-ov {
  position: absolute; inset: 0;
  pointer-events: none;
}
/* normal (photo left): fade right to content bg */
.ind-eco .ind-eco-photo-ov {
  background: linear-gradient(to right, rgba(6,13,24,0) 40%, var(--eco-bg, #08111e) 100%);
}
/* flipped (photo right): fade left to content bg */
.ind-eco.ind-flip .ind-eco-photo-ov {
  background: linear-gradient(to left, rgba(6,13,24,0) 40%, var(--eco-bg, #060e1a) 100%);
}
/* also always darken bottom so photo caption is readable */
.ind-eco-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.ind-eco-photo-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 2;
}
.ind-eco-photo-badge span {
  color: var(--blue);
  margin-right: 6px;
}

/* Content side */
.ind-eco-content {
  padding: clamp(44px,6vw,80px) clamp(36px,5vw,72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.ind-eco-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ind-eco-tag::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--blue);
}
.ind-eco-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.ind-eco-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.42);
  max-width: 440px;
  margin-bottom: 28px;
}

/* Sub-industry items */
.ind-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}
.ind-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  align-items: start;
  border-radius: 6px;
  transition: background 0.15s, padding-left 0.15s;
  text-decoration: none;
}
.ind-item:last-child { border-bottom: none; }
.ind-item:hover {
  background: rgba(255,255,255,0.04);
  padding-left: 8px;
}
.ind-item-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18);
  padding-top: 3px;
}
.ind-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}
.ind-item-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.45;
}
.ind-item-arr {
  color: rgba(255,255,255,0.18);
  font-size: 14px;
  padding-top: 3px;
  transition: color 0.15s, transform 0.15s;
}
.ind-item:hover .ind-item-arr {
  color: var(--blue);
  transform: translateX(3px);
}

/* Eco stat badge */
.ind-eco-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(0,82,255,0.12);
  border: 1px solid rgba(0,82,255,0.25);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 20px;
  width: fit-content;
}
.ind-eco-stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.ind-eco-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ─── Trust ticker ───────────────────────────────────────── */
.ind-trust {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0 0;
}
.ind-trust-ticker {
  overflow: hidden;
  display: flex;
  gap: 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.ind-trust-track {
  display: flex;
  gap: 0;
  animation: indTicker 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes indTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ind-trust-item {
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  border-right: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  transition: color 0.15s;
}
.ind-trust-item:hover { color: rgba(255,255,255,0.65); }
.ind-trust-capabilities {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(60px,6vw,100px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ind-cap-item {
  padding: 20px 20px;
  background: #060d18;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s;
}
.ind-cap-item:hover { background: rgba(0,82,255,0.1); }
.ind-cap-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.ind-cap-lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ─── Reveal class for ecosystems ────────────────────────── */
.ind-eco-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.ind-eco-reveal.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mobile swipe ───────────────────────────────────────── */
.ind-mobile-swipe {
  display: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding: 0 var(--gutter) 20px;
  scrollbar-width: none;
}
.ind-mobile-swipe::-webkit-scrollbar { display: none; }
.ind-mobile-card {
  min-width: 80vw;
  max-width: 340px;
  height: 420px;
  scroll-snap-align: start;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.07);
}
.ind-mobile-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ind-mobile-card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,13,24,0.97) 30%, rgba(6,13,24,0.3) 100%);
}
.ind-mobile-card > *:not(img):not(.ind-mobile-card-ov) { position: relative; z-index: 1; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ind-header { grid-template-columns: 1fr; gap: 20px; }
  .ind-eco, .ind-eco.ind-flip {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
  }
  .ind-eco.ind-flip .ind-eco-photo { order: 1; }
  .ind-eco.ind-flip .ind-eco-content { order: 2; }
  .ind-eco .ind-eco-photo-ov,
  .ind-eco.ind-flip .ind-eco-photo-ov {
    background: linear-gradient(to bottom, transparent 50%, var(--eco-bg, #08111e) 100%);
  }
  .ind-trust-capabilities { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .ind-eco { display: none !important; }
  .ind-mobile-swipe { display: flex; }
  .ind-trust-capabilities { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .ind-trust-capabilities { grid-template-columns: 1fr 1fr; }
}
#platform {
  background: var(--navy);
  padding-block: 0;
  overflow: hidden;
}
.platform-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.platform-pillar {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background 0.22s;
  cursor: default;
}
.platform-pillar:last-child { border-right: none; }
.platform-pillar:hover { background: rgba(0,82,255,0.12); }
.platform-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.platform-pillar:hover::before { transform: scaleX(1); }
.pillar-index {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pillar-desc {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.42);
}

/* ═══════════════════════════════════════════════════════
   MEGA-MENU
   ═══════════════════════════════════════════════════════ */
.nav-has-mega { position: relative; }
.nav-mega-trigger { display: flex; align-items: center; gap: 4px; }
.nav-chevron {
  font-size: 9px;
  opacity: 0.5;
  transition: transform 0.2s;
  display: inline-block;
}
.nav-has-mega:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(10,20,36,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  min-width: 640px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.22s cubic-bezier(0.22,1,0.36,1);
  z-index: 200;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.nav-has-mega:hover .nav-mega {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 180px;
  gap: 0;
  padding: 24px;
  gap: 8px;
}
.nav-mega-col { padding: 8px 12px; }
.nav-mega-cta-col { padding: 8px; }
.nav-mega-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 6px;
}
.nav-mega-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  color: inherit;
}
.nav-mega-link:hover { background: rgba(255,255,255,0.06); }
.nml-icon {
  font-size: 16px;
  line-height: 1;
  margin-top: 1px;
  flex-shrink: 0;
  opacity: 0.85;
}
.nav-mega-link span:last-child {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.55);
}
.nav-mega-link span:last-child strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1px;
}
.nav-mega-link:hover span:last-child strong { color: #60a5fa; }

/* Featured CTA column */
.nav-mega-featured {
  background: linear-gradient(145deg, rgba(0,50,180,0.25), rgba(0,30,90,0.4));
  border: 1px solid rgba(0,82,255,0.25);
  border-radius: 10px;
  padding: 18px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.nmf-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
}
.nmf-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.nmf-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 4px;
  transition: background 0.15s;
}
.nmf-btn:hover { background: #1a67ff; }

/* hide mega on mobile */
@media (max-width: 900px) {
  .nav-mega { display: none !important; }
  .nav-chevron { display: none; }
}

/* ═══════════════════════════════════════════════════════
   INDUSTRIAL ECOSYSTEM — Services Section
   ═══════════════════════════════════════════════════════ */

/* ─── Section shell ──────────────────────────────────────── */
#services {
  background: var(--navy);
  padding-block: clamp(80px, 10vw, 140px);
  overflow: hidden;
}

/* ─── Section header ─────────────────────────────────────── */
.svc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 52px;
}
.svc-header .display-lg { color: #fff; }
.svc-header-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.42);
  line-height: 1.68;
  font-weight: 400;
  padding-bottom: 6px;
}

/* ─── Desktop ecosystem grid ─────────────────────────────── */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  grid-template-rows: 340px 296px;
  gap: 10px;
  position: relative;
}

/* ─── SVG connection lines ───────────────────────────────── */
.eco-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.eco-line {
  stroke: rgba(0,82,255,0.4);
  stroke-width: 1px;
  fill: none;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.eco-line.live { stroke-dashoffset: 0; }
.eco-line-dot {
  fill: var(--blue);
  opacity: 0;
  transition: opacity 0.4s;
}
.eco-line-dot.live { opacity: 1; }

/* ─── Base card ──────────────────────────────────────────── */
.eco-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
  cursor: pointer;
  background: #07111e;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s,
              border-color 0.2s;
  text-decoration: none;
}
.eco-card:hover {
  transform: translateY(-4px) scale(1.007);
  box-shadow: 0 28px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,82,255,0.35);
  border-color: rgba(0,82,255,0.35);
  z-index: 5;
}

/* ─── Grid placements ────────────────────────────────────── */
.eco-main { grid-column: 2; grid-row: 1 / 3; padding: 36px; }
.eco-c02  { grid-column: 1; grid-row: 1; }
.eco-c03  { grid-column: 3; grid-row: 1; }
.eco-c04  { grid-column: 1; grid-row: 2; }
.eco-c05  { grid-column: 3; grid-row: 2; }

/* ─── Background image ───────────────────────────────────── */
.eco-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.eco-card:hover .eco-bg { transform: scale(1.06); }

/* ─── Overlays ───────────────────────────────────────────── */
.eco-ov {
  position: absolute; inset: 0; z-index: -1;
}
.eco-main .eco-ov {
  background: linear-gradient(
    160deg,
    rgba(5,12,22,0.15) 0%,
    rgba(5,12,22,0.65) 50%,
    rgba(5,12,22,0.97) 100%
  );
}
.eco-side-ov {
  background: linear-gradient(
    155deg,
    rgba(5,12,22,0.45) 0%,
    rgba(5,12,22,0.88) 55%,
    rgba(5,12,22,0.98) 100%
  );
}

/* ─── Ghost number ───────────────────────────────────────── */
.eco-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.045);
  pointer-events: none;
  user-select: none;
  transition: color 0.3s;
}
.eco-main .eco-num {
  font-size: clamp(90px, 13vw, 170px);
  color: rgba(255,255,255,0.055);
  top: 8px; right: 12px;
}
.eco-card:hover .eco-num { color: rgba(255,255,255,0.1); }

/* ─── Center pulse dot ───────────────────────────────────── */
.eco-center-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0,82,255,0.6);
  animation: ecoPulse 2.8s ease-in-out infinite;
}
@keyframes ecoPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,82,255,0.6); }
  50%      { box-shadow: 0 0 0 14px rgba(0,82,255,0); }
}

/* ─── Label ──────────────────────────────────────────────── */
.eco-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eco-label::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── Title ──────────────────────────────────────────────── */
.eco-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.eco-main .eco-title {
  font-size: clamp(24px, 2.8vw, 40px);
  margin-bottom: 14px;
}

/* ─── Description ────────────────────────────────────────── */
.eco-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.48);
  max-width: 280px;
  margin-bottom: 14px;
}
.eco-main .eco-desc {
  font-size: 16px;
  max-width: 420px;
  color: rgba(255,255,255,0.55);
}

/* ─── CTA link ───────────────────────────────────────────── */
.eco-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, color 0.18s;
  white-space: nowrap;
}
.eco-cta::after { content: '→'; transition: transform 0.18s; }
.eco-card:hover .eco-cta { opacity: 1; transform: translateY(0); }
.eco-card:hover .eco-cta:hover { color: #fff; }
.eco-card:hover .eco-cta:hover::after { transform: translateX(4px); }
/* Main card cta always visible */
.eco-main .eco-cta { opacity: 0.6; transform: none; }
.eco-main:hover .eco-cta { opacity: 1; }

/* ─── Metrics bar ────────────────────────────────────────── */
.eco-metrics-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.eco-metric {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.eco-metric:last-child { border-right: none; }
.eco-metric:hover { background: rgba(0,82,255,0.12); }
.eco-metric-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  white-space: nowrap;
}
.eco-metric-lbl {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ─── Mobile layout ──────────────────────────────────────── */
.eco-mobile-hero { display: none; }
.eco-mobile-swipe {
  display: none;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  margin-top: 10px;
}
.eco-mobile-swipe::-webkit-scrollbar { display: none; }
.eco-mobile-swipe .eco-card {
  min-width: 72vw;
  max-width: 300px;
  height: 260px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ecosystem-grid {
    grid-template-columns: 1fr 1.3fr 1fr;
    grid-template-rows: 300px 260px;
  }
  .eco-main .eco-title { font-size: clamp(20px,2.6vw,32px); }
  .eco-metrics-bar { grid-template-columns: repeat(3,1fr); }
  .eco-metric:nth-child(3) { border-right: none; }
}
@media (max-width: 800px) {
  .svc-header { grid-template-columns: 1fr; gap: 16px; }
  .ecosystem-grid { display: none !important; }
  .eco-mobile-hero { display: block; }
  .eco-mobile-swipe { display: flex; }
  .eco-metrics-bar { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 520px) {
  .eco-metrics-bar { grid-template-columns: repeat(2,1fr); }
  .eco-metric:nth-child(2) { border-right: none; }
  .eco-metric:nth-child(4) { border-right: none; }
}

/* ─── Reveal variants used by ecosystem ─────────────────── */
.eco-card.eco-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.32s, border-color 0.2s;
}
.eco-card.eco-reveal.eco-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.eco-card.eco-reveal:hover {
  transform: translateY(-4px) scale(1.007) !important;
}

/* ─── Equipamiento Comercial Feature ─────────────────────── */
#commercial {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.commercial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}
.commercial-img-side {
  position: relative;
  overflow: hidden;
}
.commercial-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}
.commercial-img-side:hover img { transform: scale(1.03); }
.commercial-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-soft) 100%);
  pointer-events: none;
}
.commercial-content {
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.commercial-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.brand-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  color: var(--grey);
  background: var(--bg);
  text-transform: uppercase;
  transition: border-color 0.18s, color 0.18s;
}
.brand-chip:hover { border-color: var(--blue); color: var(--blue); }
.commercial-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 36px;
}
.commercial-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey);
}
.commercial-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── Expanded Industries (3×3) ──────────────────────────── */
#industries .industries-grid {
  grid-template-columns: repeat(9, 1fr);
}

/* ─── FAQ Section ─────────────────────────────────────────── */
#faq {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.faq-sidebar {
  position: sticky;
  top: 96px;
}
.faq-sidebar .eyebrow { margin-bottom: 12px; }
.faq-sidebar h2 { margin-bottom: 16px; }
.faq-sidebar p { font-size: 14px; color: var(--grey); line-height: 1.7; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  user-select: none;
  transition: color 0.18s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-cool);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
  color: var(--navy);
}
.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1), padding 0.25s;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey);
}
.faq-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 28px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

/* ─── Trust Timeline Band ─────────────────────────────────── */
#trust {
  background: var(--navy);
  padding-block: 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.trust-statement {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
  max-width: 480px;
  line-height: 1.35;
}
.trust-statement strong { color: #fff; }
.trust-milestones {
  display: flex;
  gap: 36px;
  align-items: center;
}
.trust-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tm-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.tm-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
}
.trust-milestone-sep {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

/* ─── Hero Cinematic Animation ───────────────────────────── */
@keyframes heroCinema {
  0%   { transform: scale(1.12) translate(-2%, 1%); }
  25%  { transform: scale(1.18) translate(1.5%, -0.5%); }
  50%  { transform: scale(1.14) translate(0.5%, 2%); }
  75%  { transform: scale(1.20) translate(-1%, -1.5%); }
  100% { transform: scale(1.12) translate(-2%, 1%); }
}
.hero-img {
  animation: heroCinema 22s ease-in-out infinite !important;
  will-change: transform;
}

@keyframes scanDown {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}
.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(0,82,255,0.5) 30%, rgba(0,82,255,0.8) 50%, rgba(0,82,255,0.5) 70%, transparent 100%);
  pointer-events: none;
  animation: scanDown 5s linear infinite;
  z-index: 2;
}

@keyframes floatDot {
  0%, 100% { transform: translate(0,0); opacity: 0.5; }
  50%       { transform: translate(var(--dx,4px), var(--dy,-6px)); opacity: 1; }
}
.hero-dot {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  animation: floatDot var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  z-index: 2;
  pointer-events: none;
}
.hero-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,82,255,0.35);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes coordFade {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}
.hero-coord-tag {
  position: absolute;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,82,255,0.8);
  font-family: 'Courier New', monospace;
  background: rgba(255,255,255,0.85);
  padding: 3px 6px;
  border-radius: 2px;
  pointer-events: none;
  animation: coordFade var(--dur,3s) ease-in-out infinite;
  animation-delay: var(--delay,0s);
  z-index: 3;
  white-space: nowrap;
}

/* ─── Service cards without images ─────────────────────────── */
.service-card .service-num {
  margin-top: auto;
}
#services .services-grid .service-card {
  min-height: 240px;
  justify-content: flex-start;
}

/* ─── Hero Video Play Button ─────────────────────────────── */
.hero-play-btn {
  position: absolute;
  bottom: 72px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 40px;
  padding: 10px 18px 10px 10px;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.hero-play-btn:hover {
  background: rgba(0,82,255,0.35);
  border-color: rgba(0,82,255,0.5);
  transform: scale(1.03);
}
.hero-play-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-play-circle svg { margin-left: 2px; }

/* ─── Video Modal ────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.video-modal.open {
  opacity: 1;
  pointer-events: all;
}
.video-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(5,12,22,0.88);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.video-modal-box {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.video-modal.open .video-modal-box { transform: scale(1); }
.video-modal-box iframe,
.video-modal-box video {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -44px; right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.video-modal-close:hover { color: #fff; }

/* ─── ISO 9001 badge in hero ─────────────────────────────── */
.hero-cert-badge-img {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

/* ─── Responsive overrides ────────────────────────────────── */
@media (max-width: 1100px) {
  .platform-pillars { grid-template-columns: repeat(2,1fr); }
  .platform-pillar { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .commercial-layout { grid-template-columns: 1fr; }
  .commercial-img-side { height: 360px; }
  .commercial-img-overlay { background: linear-gradient(to bottom, transparent 50%, var(--bg-soft) 100%); }
  #industries .industries-grid { grid-template-columns: repeat(3,1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .faq-sidebar { position: static; }
  /* Services: collapse to 3-col on mid screens */
  #services .services-grid { grid-template-columns: repeat(3,1fr) !important; }
  #services .services-grid .service-card:nth-child(-n+3) { grid-column: span 1; }
  #services .services-grid .service-card:nth-child(n+4),
  #services .services-grid .service-card.featured { grid-column: span 3; }
}
@media (max-width: 768px) {
  #services .services-grid { grid-template-columns: 1fr !important; }
  #services .services-grid .service-card:nth-child(-n+3),
  #services .services-grid .service-card:nth-child(n+4),
  #services .services-grid .service-card.featured { grid-column: span 1; }
  .service-card.featured { flex-direction: column !important; }
  .trust-inner { flex-direction: column; gap: 28px; align-items: flex-start; }
  .trust-milestones { flex-wrap: wrap; gap: 20px; }
  .platform-pillars { grid-template-columns: 1fr; }
  #industries .industries-grid { grid-template-columns: repeat(3,1fr); }
  .video-modal-box { width: 95vw; }
}
@media (max-width: 480px) {
  #industries .industries-grid { grid-template-columns: repeat(2,1fr); }
  .commercial-items { grid-template-columns: 1fr; }
}
