/* ============================================================
   ING COLD PERU — styles.css
   Display: Saira · Body: Barlow
   ============================================================ */

:root {
  /* Color tokens */
  --navy-900: #0B1B33;
  --navy-800: #102544;
  --navy-700: #16335C;
  --orange-500: #F47A20;
  --orange-600: #D9641A;
  --whatsapp-500: #18A85B;
  --whatsapp-600: #128A4A;
  --ice-400: #5BC7E6;
  --ice-100: #E6F6FB;
  --gray-50: #F5F7FA;
  --gray-200: #D7DEE8;
  --gray-300: #C2CCDA;
  --gray-600: #5A6678;
  --steel-700: #25364A;
  --steel-900: #07111F;
  --ink: #0E1726;
  --white: #FFFFFF;

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing / layout */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 3px rgba(11, 27, 51, .08), 0 1px 2px rgba(11, 27, 51, .06);
  --shadow-md: 0 10px 30px rgba(11, 27, 51, .12);
  --shadow-lg: 0 24px 60px rgba(11, 27, 51, .22);
  --ring: 0 0 0 3px rgba(91, 199, 230, .55);
}

/* ============================================================
   SOLUTION FINDER REDESIGN 2026-06-15
   Visual diagnosis with contextual photography and clear scope.
   ============================================================ */

.solution-finder {
  color: #fff;
  background:
    radial-gradient(circle at 92% 4%, rgba(91,199,230,.13), transparent 28%),
    linear-gradient(135deg, #06101d 0%, #0a1c31 58%, #0d2439 100%);
}
.solution-finder::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.solution-finder__inner {
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(72px, 8vw, 118px);
}
.solution-finder__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .55fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 60px);
}
.solution-finder__intro .section__eyebrow {
  grid-column: auto;
  margin-bottom: 20px;
  color: var(--orange-500);
}
.solution-finder__intro h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5.6vw, 5.9rem);
}
.solution-finder__intro-copy {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.2);
}
.solution-finder__intro-copy p {
  max-width: 43ch;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
}
.solution-finder__intro-copy span {
  display: block;
  color: var(--ice-400);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.solution-finder__workspace {
  display: grid;
  grid-template-columns: minmax(230px, .28fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(2,9,18,.5);
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
}
.solution-picker {
  display: flex;
  flex-direction: column;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.14);
}
.solution-option {
  position: relative;
  flex: 1;
  min-height: 118px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 22px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: transparent;
}
.solution-option:last-child { border-bottom: 0; }
.solution-option::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
}
.solution-option:hover { background: rgba(255,255,255,.055); }
.solution-option.is-active {
  background: linear-gradient(90deg, rgba(244,122,32,.16), rgba(255,255,255,.055));
  box-shadow: none;
}
.solution-option.is-active::after { background: var(--orange-500); }
.solution-option__code {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  color: rgba(255,255,255,.36);
  font-size: .72rem;
}
.solution-option.is-active .solution-option__code { color: var(--orange-500); }
.solution-option strong {
  margin: 0 0 6px;
  font-size: .96rem;
}
.solution-option small {
  max-width: 22ch;
  color: rgba(255,255,255,.52);
}
.solution-result {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #f2f0e9;
}
.solution-result__visual {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #10243a;
}
.solution-result__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4,12,22,.72) 100%);
  pointer-events: none;
}
.solution-result__visual img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center;
  transition: opacity .2s ease, transform .6s ease;
}
.solution-result:hover .solution-result__visual img { transform: scale(1.025); }
.solution-result__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  color: #fff;
}
.solution-result__visual figcaption span {
  color: rgba(255,255,255,.64);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.solution-result__visual figcaption strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.solution-result__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 64px);
  border-top: 6px solid var(--orange-500);
}
.solution-result__topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  color: var(--gray-600);
}
.solution-result__topline span {
  display: inline;
  margin: 0;
}
.solution-result__topline span:first-child { color: var(--orange-600); }
.solution-result h3 {
  max-width: 13ch;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.solution-result__content > p {
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--gray-600);
}
.solution-result__scope {
  padding-top: 22px;
  border-top: 1px solid var(--gray-300);
}
.solution-result__scope > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gray-600);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.solution-result ul {
  gap: 10px;
  margin: 0 0 30px;
  color: var(--ink);
}
.solution-result li { font-size: .92rem; }
.solution-result__action {
  display: flex;
  align-items: center;
  gap: 18px;
}
.solution-result__action .btn {
  width: auto;
  min-height: 52px;
  padding-inline: 24px;
}
.solution-result__action small {
  max-width: 14ch;
  color: var(--gray-600);
  line-height: 1.3;
}

@media (max-width: 980px) {
  .solution-finder__intro { grid-template-columns: 1fr .65fr; }
  .solution-finder__workspace { grid-template-columns: 1fr; }
  .solution-picker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-direction: initial;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .solution-option {
    min-height: 108px;
    display: block;
    padding: 20px 16px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 0;
  }
  .solution-option:last-child { border-right: 0; }
  .solution-option::after {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 4px;
  }
  .solution-option__code { margin-bottom: 10px; }
  .solution-option small { display: none; }
  .solution-result {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    min-height: 520px;
  }
  .solution-result__visual,
  .solution-result__visual img {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  .solution-finder__inner {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .solution-finder__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .solution-finder__intro h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .solution-finder__intro-copy { padding-left: 18px; }
  .solution-finder__workspace {
    margin-right: -18px;
    margin-left: -18px;
    border-right: 0;
    border-left: 0;
  }
  .solution-picker { grid-template-columns: 1fr 1fr; }
  .solution-option {
    width: auto;
    min-height: 86px;
    padding: 16px 18px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .solution-option:nth-child(even) { border-right: 0; }
  .solution-option:nth-child(n+3) { border-bottom: 0; }
  .solution-option strong { font-size: .86rem; }
  .solution-option__code { margin-bottom: 5px; }
  .solution-result {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .solution-result__visual {
    min-height: 330px;
    order: 0;
  }
  .solution-result__visual img { min-height: 330px; }
  .solution-result__content {
    order: 1;
    padding: 34px 22px 38px;
  }
  .solution-result__topline {
    flex-direction: row;
    margin-bottom: 24px;
  }
  .solution-result h3 { font-size: clamp(2rem, 10vw, 3rem); }
  .solution-result__action {
    align-items: stretch;
    flex-direction: column;
  }
  .solution-result__action .btn { width: 100%; }
  .solution-result__action small {
    max-width: none;
    text-align: center;
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .4em; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.container--narrow { max-width: var(--maxw-narrow); }
.muted { color: var(--gray-600); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--orange-500); color: var(--navy-900); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 4px; min-height: 46px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; min-height: 54px; }
.btn--block { display: flex; width: 100%; }
.btn--wa { --btn-bg: var(--whatsapp-500); --btn-fg: var(--white); box-shadow: 0 8px 20px rgba(24,168,91,.32); }
.btn--wa:hover { --btn-bg: var(--whatsapp-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); }
.ico-wa { flex: none; }

/* ---------- Header ---------- */
.contact-strip { color: var(--navy-800); background: var(--white); border-bottom: 1px solid var(--gray-200); }
.contact-strip__inner { min-height: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.contact-strip__item { display: flex; align-items: center; gap: 12px; color: var(--gray-600); font-size: .95rem; }
.contact-strip__item strong, .contact-strip__item a { color: var(--navy-800); font-weight: 800; text-decoration: none; }
.contact-strip__item a:hover { color: var(--whatsapp-600); }
.contact-strip__ico { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid rgba(91,199,230,.55); color: var(--ice-400); border-radius: 50%; font-family: var(--font-display); font-weight: 800; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #F7F3EA;
  border-bottom: 2px solid rgba(214,107,42,.72);
  color: var(--navy-900);
  box-shadow: 0 8px 30px rgba(7,20,42,.12);
}
.header__inner { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand__logo { display: block; width: 230px; height: auto; }
.nav { margin-left: auto; }
.nav__menu { display: flex; gap: 22px; list-style: none; }
.nav__menu a { text-decoration: none; color: var(--navy-800); font-weight: 600; font-size: .96rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav__menu a:hover { color: var(--orange-600); border-bottom-color: var(--orange-500); }
.header__cta { margin-left: 4px; }
.nav__toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--navy-900); overflow: hidden; }
.hero--field { min-height: calc(100vh - 84px); display: grid; align-items: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(7,17,31,.96) 0%, rgba(7,17,31,.88) 38%, rgba(7,17,31,.46) 70%, rgba(7,17,31,.68) 100%),
    radial-gradient(circle at 70% 42%, rgba(91,199,230,.2), transparent 32%);
  background-size: cover;
  background-position: 68% 44%;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(244,122,32,.85) 0 4px, transparent 4px 100%),
    linear-gradient(rgba(91,199,230,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,199,230,.08) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
  opacity: .38;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .82fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding: clamp(70px, 8vw, 110px) 0 clamp(50px, 6vw, 78px); }
.hero__content { max-width: 760px; }
.hero__brand-signal { display: flex; align-items: center; gap: 12px; width: fit-content; margin-bottom: 18px; color: var(--ice-400); font-family: var(--font-display); font-size: .68rem; letter-spacing: .12em; }
.hero__brand-signal span { padding: 5px 7px; color: var(--navy-900); background: var(--orange-500); font-weight: 800; }
.hero__brand-signal strong { font-size: inherit; white-space: nowrap; }
.hero__brand-signal i { display: block; width: 44px; height: 1px; background: linear-gradient(90deg, var(--ice-400), transparent); }
.hero__eyebrow { color: var(--ice-400); font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: none; font-size: .9rem; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.55rem, 5.1vw, 5rem); font-weight: 800; max-width: 12ch; text-transform: none; letter-spacing: 0; }
.hero__lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: rgba(255,255,255,.84); max-width: 62ch; margin-top: 14px; }
.hero__proofline { display: flex; flex-wrap: wrap; gap: 0; width: fit-content; margin-top: 18px; border: 1px solid rgba(91,199,230,.32); background: rgba(7,17,31,.56); }
.hero__proofline span { padding: 8px 12px; color: rgba(255,255,255,.82); font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; border-right: 1px solid rgba(91,199,230,.24); }
.hero__proofline span:last-child { border-right: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.hero__pills li { font-size: .88rem; font-weight: 600; color: var(--ice-100); border: 1px solid rgba(91,199,230,.36); background: rgba(7,17,31,.52); padding: 7px 12px; border-radius: 3px; text-transform: none; letter-spacing: 0; }
.hero__stamp { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65); font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.hero__stamp span { color: var(--orange-500); font-size: 1.65rem; line-height: 1; letter-spacing: 0; }

.hero__panel { position: relative; }
.hero__media { position: relative; margin: 0; border: 1px solid rgba(255,255,255,.18); background: rgba(7,17,31,.68); box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% 91%, 88% 100%, 0 100%); }
.hero__media::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(91,199,230,.42); pointer-events: none; z-index: 1; }
.hero__media::after { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 5px; background: linear-gradient(90deg, var(--ice-400), var(--orange-500)); z-index: 4; }
.hero__media img { width: 100%; height: clamp(330px, 46vw, 540px); object-fit: cover; object-position: 50% 42%; filter: contrast(1.05) saturate(.95); }
.hero__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 16px; background: rgba(7,17,31,.82); color: rgba(255,255,255,.82); font-size: .88rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.hero__media-code { position: absolute; top: 28px; right: -18px; z-index: 3; padding: 10px 12px; color: var(--navy-900); background: var(--ice-400); font-family: var(--font-display); font-size: .63rem; font-weight: 800; line-height: 1.2; letter-spacing: .08em; box-shadow: 8px 8px 0 var(--orange-500); }
.hero__stats { position: relative; margin-top: -34px; margin-left: 28px; margin-right: 18px; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: rgba(7,17,31,.9); border: 1px solid rgba(244,122,32,.38); backdrop-filter: blur(8px); }
.stat { padding: 14px 12px; background: rgba(255,255,255,.045); border-top: 2px solid rgba(244,122,32,.65); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--white); line-height: 1; }
.stat__label { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.72); }
.hero__note { position: relative; margin: 12px 4px 0; font-size: .72rem; color: rgba(255,255,255,.5); }

/* ---------- Cotización directa ---------- */

/* Focus ring for interactive SF / filter / process elements */
.solution-option:focus-visible, .filter-chip:focus-visible, .step:focus-visible { outline: 3px solid var(--ice-400); outline-offset: -3px; }

/* ---------- Sections ---------- */
.section { padding: clamp(54px, 8vw, 96px) 0; }
.section--alt { background: var(--gray-50); }
.section--dark {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.82) 48%, rgba(5,14,27,.58) 100%),
    linear-gradient(180deg, rgba(5,14,27,.68), rgba(5,14,27,.46) 48%, rgba(5,14,27,.9)),
    url("../img/generated/section-dark-industrial-ai-v2.webp") center / cover no-repeat,
    var(--navy-900);
}
.section--blueprint {
  background:
    linear-gradient(90deg, rgba(11,27,51,.035) 1px, transparent 1px),
    linear-gradient(rgba(11,27,51,.035) 1px, transparent 1px),
    #F8FAFD;
  background-size: 42px 42px;
}
.section--cases {
  background:
    linear-gradient(135deg, rgba(7,17,31,.88) 0%, rgba(7,17,31,.70) 60%, rgba(7,17,31,.82) 100%),
    url("../img/generated/client-cases-v2/client-case-trebol-market-v2.webp");
  background-size: cover;
  background-position: center;
}
.section--cert {
  background:
    linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.65)),
    radial-gradient(circle at 76% 28%, rgba(91,199,230,.18), transparent 34%);
  background-size: cover;
  background-position: center;
}
.section--coverage {
  background:
    linear-gradient(135deg, rgba(7,17,31,.88) 0%, rgba(7,17,31,.58) 60%, rgba(7,17,31,.80) 100%),
    radial-gradient(circle at 72% 24%, rgba(91,199,230,.18), transparent 28%);
  background-size: cover;
  background-position: 50% 38%;
}
.section__head { max-width: 60ch; margin-bottom: 38px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(280px, .65fr); gap: clamp(24px, 5vw, 70px); align-items: end; }
.section__eyebrow { color: var(--orange-600); font-family: var(--font-body); font-weight: 700; letter-spacing: .03em; text-transform: none; font-size: .95rem; margin-bottom: 10px; }
.section--dark .section__eyebrow { color: var(--ice-400); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section__intro { color: var(--gray-600); font-size: 1.06rem; }
.section--dark .section__intro { color: rgba(255,255,255,.78); }
.section__foot { margin-top: 22px; font-size: .85rem; color: var(--gray-600); }
.section--dark .section__foot { color: rgba(255,255,255,.6); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--cards { grid-template-columns: repeat(3, 1fr); }
.grid--two { grid-template-columns: repeat(2, 1fr); }
.grid--gallery { grid-template-columns: repeat(3, 1fr); }
.grid--cases { grid-template-columns: repeat(2, 1fr); }

/* ---------- Filtros ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.filter-chip { min-height: 42px; padding: 9px 16px; color: var(--navy-800); background: rgba(255,255,255,.8); border: 1px solid var(--gray-300); font: 700 .82rem var(--font-display); cursor: pointer; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.filter-chip:hover { border-color: var(--orange-500); }
.filter-chip.is-active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); box-shadow: inset 0 -3px 0 var(--orange-500); }
.filter-bar--dark .filter-chip { color: rgba(255,255,255,.82); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18); }
.filter-bar--dark .filter-chip.is-active { color: var(--navy-900); background: var(--ice-400); border-color: var(--ice-400); box-shadow: inset 0 -3px 0 var(--orange-500); }
.is-filtered-out { display: none !important; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ice-400); }
.card__ico { width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 12px; background: var(--ice-100); color: var(--navy-800); margin-bottom: 14px; }
.card h3 { font-size: 1.22rem; }
.card__list { list-style: none; margin-top: 12px; }
.card__list li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: .95rem; color: var(--gray-600); }
.card__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--orange-500); border-radius: 2px; transform: rotate(45deg); }
.card--plain { box-shadow: none; }

/* ---------- Industrial service board ---------- */
.service-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  position: relative; overflow: hidden; min-height: 330px;
  background: rgba(255,255,255,.94); border: 1px solid var(--gray-200);
  border-top: 4px solid var(--steel-700);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.service-card::after { content: ""; position: absolute; right: -24px; bottom: -28px; width: 120px; height: 120px; border: 1px solid rgba(11,27,51,.08); transform: rotate(45deg); }
.service-card--primary { background: var(--navy-900); color: var(--white); border-color: rgba(91,199,230,.28); border-top-color: var(--orange-500); }
.service-card--primary p,
.service-card--primary .card__list li { color: rgba(255,255,255,.84); }
.service-card--image {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7,17,31,.82), rgba(7,17,31,.98)),
    var(--service-img);
  background-size: cover;
  background-position: center;
  border-color: rgba(255,255,255,.12);
  border-top-color: var(--orange-500);
}
.service-card--image p,
.service-card--image .card__list li { color: rgba(255,255,255,.86); }
.service-card__tag { display: inline-block; margin-bottom: 14px; color: var(--orange-500); font-family: var(--font-display); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.service-card--primary .service-card__tag,
.service-card--image .service-card__tag { color: var(--ice-400); }
.service-card .card__ico { border-radius: 4px; background: rgba(91,199,230,.13); color: var(--navy-800); }
.service-card--primary .card__ico,
.service-card--image .card__ico { color: var(--ice-400); background: rgba(91,199,230,.12); border: 1px solid rgba(91,199,230,.28); }
.service-card .card__ico svg { width: 28px; height: 28px; }
.service-card h3 { position: relative; z-index: 1; font-size: 1.28rem; }
.service-card p,
.service-card ul { position: relative; z-index: 1; }

/* ---------- Servicios editoriales ---------- */
.services-editorial {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 18px;
}
.service-feature {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  isolation: isolate;
}
.service-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.service-feature:hover > img { transform: scale(1.035); }
.service-feature__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,17,31,.08) 16%, rgba(7,17,31,.94) 82%);
}
.service-feature__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(28px, 4vw, 48px);
}
.service-feature__eyebrow {
  margin-bottom: 9px;
  color: var(--orange-500);
  font-size: .8rem;
  font-weight: 700;
}
.service-feature h3 {
  max-width: 14ch;
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}
.service-feature__content > p:not(.service-feature__eyebrow) {
  max-width: 52ch;
  color: rgba(255,255,255,.8);
}
.service-feature__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}
.service-feature__uses span {
  padding: 7px 10px;
  background: rgba(7,17,31,.62);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  font-weight: 700;
}
.service-feature__content > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-600);
  font-weight: 800;
  text-decoration: none;
}
.service-feature__content > a span { color: var(--orange-500); transition: transform .18s ease; }
.service-feature__content > a:hover span { transform: translateX(5px); }
.services-editorial__side { display: grid; gap: 18px; }
.service-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 331px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.service-panel--reverse { grid-template-columns: .85fr 1.15fr; }
.service-panel--reverse .service-panel__copy { order: 2; }
.service-panel__copy { padding: clamp(22px, 3vw, 34px); }
.service-panel h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); }
.service-panel p:not(.service-feature__eyebrow) { color: var(--gray-600); font-size: .91rem; }
.service-panel ul { display: grid; gap: 7px; margin-top: 16px; list-style: none; }
.service-panel li { position: relative; padding-left: 17px; color: var(--ink); font-size: .82rem; font-weight: 700; }
.service-panel li::before { content: ""; position: absolute; left: 0; top: .48em; width: 7px; height: 7px; background: var(--orange-500); }
.service-panel img {
  width: 100%;
  height: 100%;
  min-height: 331px;
  object-fit: cover;
  transition: transform .7s ease;
}
.service-panel:hover img { transform: scale(1.04); }
.service-maintenance {
  display: grid;
  grid-template-columns: .9fr 1.15fr auto;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 3.5vw, 38px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,17,31,.96), rgba(7,17,31,.82)),
    url("../img/generated/field-evaporador-camara.webp") center / cover;
}
.service-maintenance h3 { color: var(--white); font-size: clamp(1.35rem, 2.2vw, 2rem); }
.service-maintenance p { margin: 0; color: rgba(255,255,255,.76); }

/* ---------- Feature split ---------- */
.feature-split { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(26px, 5vw, 70px); align-items: center; margin-bottom: 30px; }
.feature-split__copy { position: relative; z-index: 2; background: rgba(255,255,255,.93); padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow-md); backdrop-filter: blur(8px); }
.feature-split__copy::after { content: ""; position: absolute; right: 24px; top: 24px; width: 54px; height: 54px; border-top: 1px solid rgba(240,104,35,.42); border-right: 1px solid rgba(240,104,35,.42); pointer-events: none; }
.feature-split__copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: none; max-width: 14ch; }
.feature-split__lead { color: var(--gray-600); font-size: 1.04rem; line-height: 1.72; }
.feature-split__image { margin: 0; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.feature-split__image::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(7,17,31,.34)); }
.feature-split__image img { width: 100%; height: clamp(390px, 48vw, 580px); object-fit: cover; object-position: center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.feature-split__image:hover img { transform: scale(1.045); }
.feature-split__image figcaption { position: absolute; z-index: 3; left: 18px; bottom: 18px; display: grid; gap: 3px; padding: 11px 14px; color: var(--white); background: rgba(7,17,31,.86); }
.feature-split__image figcaption span { color: var(--ice-400); font-size: .66rem; font-weight: 700; }
.feature-split__image figcaption strong { font-size: 1rem; line-height: 1.2; }
.feature-split__scan { position: absolute; z-index: 2; left: 0; right: 0; top: -10%; height: 2px; opacity: .7; background: linear-gradient(90deg, transparent, var(--ice-400), transparent); box-shadow: 0 0 16px rgba(91,199,230,.7); animation: fabrication-scan 5.8s ease-in-out infinite; pointer-events: none; }
.temperature-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.temperature-range span { display: grid; gap: 3px; padding: 13px 14px; color: var(--gray-600); background: #F2F7FA; border: 1px solid var(--gray-200); font-size: .76rem; font-weight: 700; }
.temperature-range strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1.04rem; }
.proof-list { list-style: none; display: grid; gap: 13px; margin-top: 18px; }
.proof-list li { position: relative; display: grid; gap: 2px; padding-left: 26px; }
.proof-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; background: var(--orange-500); transform: rotate(45deg); transition: transform .2s ease; }
.proof-list li:hover::before { transform: rotate(135deg) scale(1.15); }
.proof-list strong { color: var(--ink); font-size: .92rem; }
.proof-list small { color: var(--gray-600); font-size: .8rem; line-height: 1.45; }
.feature-split__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--navy-900); font-weight: 800; text-decoration: none; }
.feature-split__link span { color: var(--orange-500); font-size: 1.2rem; transition: transform .18s ease; }
.feature-split__link:hover span { transform: translateX(5px); }

.badge { display: inline-block; margin-left: 6px; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); background: var(--ice-400); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

@keyframes fabrication-scan {
  0%, 12% { top: -5%; opacity: 0; }
  24% { opacity: .7; }
  70% { top: 102%; opacity: .55; }
  82%, 100% { top: 102%; opacity: 0; }
}

/* ---------- Industrias ---------- */
.section--industries {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(60px, 9vw, 120px);
  background:
    linear-gradient(90deg, rgba(6,18,33,.94) 0%, rgba(6,18,33,.84) 42%, rgba(6,18,33,.6) 100%),
    linear-gradient(180deg, rgba(6,18,33,.88) 0%, rgba(6,18,33,.62) 45%, rgba(6,18,33,.96) 100%),
    radial-gradient(circle at 86% 10%, rgba(91,199,230,.18), transparent 30%),
    url("../img/generated/sectores-background-industrial-ai-v1.webp") center / cover no-repeat,
    linear-gradient(145deg, #0B1B33 0%, #101F36 54%, #081526 100%);
}
.section--industries::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(91,199,230,.03) 1px, transparent 1px),
    radial-gradient(circle at 46% 18%, rgba(244,122,32,.08), transparent 24%);
  background-size: 25% 100%, auto;
  background-repeat: repeat, no-repeat;
}
.section--industries .container { position: relative; z-index: 1; }
.industries__head { margin-bottom: 34px; }
.industries__head h2 { max-width: 18ch; font-size: clamp(2rem, 4.1vw, 3.45rem); line-height: 1.03; }
.industries__head .section__intro { max-width: 52ch; }
.industries__featured {
  display: grid;
  grid-template-columns: 1.15fr .925fr .925fr;
  gap: clamp(20px, 2.8vw, 36px);
}
.industry-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--steel-900);
  isolation: isolate;
}
.industry-card:first-child { min-height: 500px; }
.industry-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.industry-card:hover img { transform: scale(1.035); }
.industry-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5,13,24,.08) 10%, rgba(5,13,24,.92) 88%);
}
.industry-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 5px;
  background: var(--orange-500);
}
.industry-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(22px, 3vw, 34px);
}
.industry-card__kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ice-400);
  font-size: .78rem;
  font-weight: 700;
}
.industry-card h3 {
  max-width: 15ch;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}
.industry-card p {
  max-width: 42ch;
  margin-bottom: 18px;
  color: rgba(255,255,255,.76);
  font-size: .94rem;
}
.industry-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}
.industry-card li {
  padding: 6px 10px;
  color: rgba(255,255,255,.86);
  background: rgba(7,17,31,.62);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .74rem;
  font-weight: 700;
}
.industries__support {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
  margin-top: 14px;
}
.industries__more,
.industries__response {
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid rgba(91,199,230,.18);
}
.industries__more { background: rgba(255,255,255,.045); }
.industries__response {
  background: linear-gradient(135deg, rgba(91,199,230,.13), rgba(255,255,255,.045));
}

.industries__label {
  margin-bottom: 17px;
  color: var(--ice-400);
  font-size: .82rem;
  font-weight: 700;
}
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}
.industry-tags li {
  padding: 9px 12px;
  color: rgba(255,255,255,.84);
  background: rgba(7,17,31,.5);
  border: 1px solid rgba(255,255,255,.13);
  font-size: .86rem;
  font-weight: 600;
}
.industries__capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.industries__capabilities span {
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,.86);
  font-size: .82rem;
  font-weight: 700;
}
.industries__capabilities strong {
  color: var(--orange-500);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* ---------- Cases ---------- */
.case { position: relative; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.15); border-radius: 0; padding: 24px; min-height: 230px; display: grid; align-content: start; }
.case__sector { display: block; margin-bottom: 14px; color: var(--ice-400); font-family: var(--font-display); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.case h3 { font-size: 1.18rem; color: var(--white); padding-left: 0; }
.case h3::before { content: none; }
.case p { margin: 0; color: rgba(255,255,255,.86); }
.case__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 0; }
.case__facts div { padding: 10px 11px; background: rgba(7,17,31,.42); border: 1px solid rgba(91,199,230,.2); }
.case__facts dt { margin: 0 0 2px; color: var(--ice-400); font-family: var(--font-display); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case__facts dd { margin: 0; color: rgba(255,255,255,.84); font-size: .86rem; line-height: 1.25; }
.testimonials-placeholder { margin-top: 28px; padding: 18px 22px; border: 1px dashed rgba(91,199,230,.5); border-radius: var(--radius); background: rgba(91,199,230,.06); color: rgba(255,255,255,.85); }
.testimonials-placeholder p { margin: 0; font-size: .95rem; }

.case-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 1.12fr) minmax(320px, .88fr);
  gap: 18px;
  align-items: stretch;
}
.case-showcase .case {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  isolation: isolate;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.case-showcase .case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--case-img) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
}
.case-showcase .case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,17,31,.16) 0%, rgba(7,17,31,.68) 54%, rgba(7,17,31,.94) 100%),
    linear-gradient(90deg, rgba(7,17,31,.60), rgba(7,17,31,.08));
}
.case-showcase .case:hover::before { transform: scale(1.07); filter: saturate(1.05) contrast(1.04); }
.case-showcase .case:nth-child(1) { --case-img: url("../img/generated/client-cases-v2/client-case-trebol-market-v2.webp"); min-height: 520px; }
.case-showcase .case:nth-child(2) { --case-img: url("../img/generated/client-cases-v2/client-case-parroquia-angeles-v2.webp"); }
.case-showcase .case:nth-child(3) { --case-img: url("../img/generated/client-cases-v2/client-case-inmaculada-market-v2.webp"); }
.case-showcase .case:nth-child(4) { --case-img: url("../img/generated/client-cases-v2/client-case-padua-school-v2.webp"); }
.case-showcase .case:nth-child(n+2) { min-height: 162px; }
.case-showcase .case:nth-child(1) { grid-row: span 3; align-content: end; }
.case-showcase .case:nth-child(n+2) { align-content: end; }
.case-showcase .case > span,
.case-showcase .case > h3,
.case-showcase .case > p,
.case-showcase .case > dl {
  position: relative;
  z-index: 1;
  margin-left: clamp(18px, 3vw, 34px);
  margin-right: clamp(18px, 3vw, 34px);
}
.case-showcase .case > span { margin-top: auto; padding-top: 28px; }
.case-showcase .case > h3 { max-width: 18ch; font-size: clamp(1.35rem, 2.4vw, 2rem); text-shadow: 0 3px 16px rgba(0,0,0,.36); }
.case-showcase .case:nth-child(1) > h3 {
  font-size: 0;
}
.case-showcase .case:nth-child(1) > h3::after {
  content: "Mercado El Trebol";
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  max-width: 16ch;
}
.case-showcase .case:nth-child(n+2) > h3 { max-width: 24ch; font-size: 1.05rem; }
.case-showcase .case > p { max-width: 42ch; margin-bottom: clamp(18px, 3vw, 30px); color: rgba(255,255,255,.9); }
.case-showcase .case:nth-child(n+2) > p { font-size: .92rem; margin-bottom: 20px; }
.case-showcase .case__facts { display: none; }
.case-showcase .case__sector {
  color: var(--ice-400);
  letter-spacing: .04em;
  text-transform: none;
  font-family: var(--font-body);
  font-size: .83rem;
}
.testimonials-placeholder {
  margin-top: 18px;
  border: 0;
    border-radius: 0;
  background: rgba(255,255,255,.08);
}

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.brands--logos {
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.brand-chip {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em;
  color: var(--navy-800); background: var(--white);
  padding: 28px 16px; transition: background-color .15s ease, color .15s ease;
}
.brand-chip:hover { background: var(--navy-900); color: var(--white); }
.brands--logos .brand-chip {
  min-height: 118px;
  padding: 16px 22px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brands--logos .brand-chip:hover {
  background: var(--white);
  border-color: var(--ice-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.brands--logos img {
  width: 100%;
  max-width: 190px;
  height: 78px;
  object-fit: contain;
}

.tech-proof {
  background: rgba(255,255,255,.88); border: 1px solid var(--gray-200);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md);
}
.tech-proof--dark { background: rgba(7,17,31,.88); color: var(--white); border-color: rgba(7,17,31,.92); border-left-color: var(--ice-400); }
.tech-proof--dark p { color: rgba(255,255,255,.78); }
.tech-proof--dark .muted { color: rgba(255,255,255,.6); }
.tech-proof--seal { position: relative; }
.tech-proof__seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em;
  color: var(--navy-900); background: var(--orange-500);
  border-radius: 50%; box-shadow: 0 6px 18px rgba(244,122,32,.35);
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps > li { display: flex; }
.step { background: var(--white); border: 1px solid var(--gray-200); border-radius: 0; padding: 22px 18px; position: relative; box-shadow: var(--shadow-sm); border-top: 4px solid var(--navy-900); }
.steps--interactive .step { width: 100%; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.steps--interactive .step:hover { transform: translateY(-3px); border-color: var(--ice-400); }
.steps--interactive .step.is-active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); border-top-color: var(--orange-500); box-shadow: 0 18px 34px rgba(11,27,51,.2); }
.steps--interactive .step.is-active p { color: rgba(255,255,255,.7); }
.steps--interactive .step.is-active .step__n { color: var(--navy-900); background: var(--orange-500); }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.step h3 { font-size: 1.02rem; }
.step p { margin: 0; font-size: .9rem; color: var(--gray-600); }
.process-detail { display: grid; grid-template-columns: .65fr 1.5fr .85fr; gap: 26px; align-items: center; margin-top: 22px; padding: 26px; color: var(--white); background: linear-gradient(115deg, var(--navy-900), #142D4D); }
.process-detail__code { color: var(--ice-400); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .09em; }
.process-detail h3 { font-size: 1.2rem; }
.process-detail p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.process-detail > strong { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); color: var(--orange-500); font-family: var(--font-display); font-size: .88rem; }

/* ---------- Cobertura ---------- */
.cobertura { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.cobertura__badge { text-align: center; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); border-radius: 0; padding: 38px 24px; display: grid; gap: 6px; }
.cobertura__pin { display: inline-grid; place-items: center; justify-self: center; width: 62px; height: 62px; border: 1px solid rgba(91,199,230,.5); color: var(--ice-400); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.cobertura__badge strong { font-family: var(--font-display); font-size: 2.25rem; letter-spacing: .1em; color: var(--white); }
.cobertura__badge span:last-child { color: rgba(255,255,255,.72); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 4px 4px; box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-body);
  font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--orange-500); font-size: 1.5rem; font-weight: 700; line-height: 1; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; }
.faq__a p { margin: 0; color: var(--gray-600); }
.faq__item summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---------- Contacto ---------- */
.contacto { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.contacto__list { list-style: none; display: grid; gap: 14px; margin-top: 10px; }
.contacto__list li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-200); }
.contacto__k { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); font-weight: 600; }
.contacto__v { font-size: 1.12rem; font-weight: 600; text-decoration: none; color: var(--ink); }
a.contacto__v:hover { color: var(--orange-600); }
.contacto__cta { background: linear-gradient(135deg, var(--navy-900), var(--steel-900)); color: var(--white); border-radius: 0; padding: 30px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--orange-500); }
.contacto__cta h3 { color: var(--white); font-size: 1.3rem; }
.contacto__cta p { color: rgba(255,255,255,.78); }
.contacto__cta .btn { margin-bottom: 12px; }
.contacto__rucnote { margin: 8px 0 0; font-size: .78rem; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #07142A; color: rgba(255,255,255,.8); padding-top: 54px; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.site-footer__brand .brand__logo { width: 230px; }
.brand--footer { width: fit-content; }
.site-footer__brand p { margin-top: 12px; font-size: .92rem; max-width: 40ch; }
.site-footer__col h4 { font-family: var(--font-display); color: var(--white); font-size: .95rem; text-transform: none; letter-spacing: 0; margin-bottom: 12px; }
.site-footer__col p { margin: 0 0 8px; font-size: .92rem; }
.site-footer__col a { text-decoration: none; color: var(--ice-400); }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; }
.site-footer__legal p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  min-height: 54px; border-radius: 999px;
  background: var(--whatsapp-500); color: var(--white);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 13px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(24,168,91,.38); transition: transform .15s;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------- Reveal animation (failsafe: solo oculta si hay JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero--field { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__panel { max-width: 520px; }
  .grid--cards, .grid--gallery, .service-board { grid-template-columns: repeat(2, 1fr); }
  .section__head--split, .feature-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cobertura, .contacto { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .solution-finder__workspace { grid-template-columns: 1fr; }
  .solution-result { border-left: 0; }
  .services-editorial { grid-template-columns: 1fr; }
  .service-feature { min-height: 570px; }
  .services-editorial__side { grid-template-columns: 1fr 1fr; }
  .service-panel,
  .service-panel--reverse { grid-template-columns: 1fr; }
  .service-panel--reverse .service-panel__copy { order: initial; }
  .service-panel img { min-height: 220px; height: 220px; }
  .service-maintenance { grid-template-columns: 1fr 1fr; }
  .service-maintenance .btn { width: fit-content; }
  .process-detail { grid-template-columns: 1fr 1.5fr; }
  .process-detail > strong { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .contact-strip__inner { grid-template-columns: 1fr; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .contact-strip__item { font-size: .9rem; }
}

/* Navegación: hamburguesa en tablet/móvil para evitar desborde del header */
@media (max-width: 900px) {
  .header__cta { display: none; }
  .nav__toggle { display: flex; order: 3; }
  .nav__menu {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy-900); border-top: 1px solid rgba(91,199,230,.18);
    overflow: hidden;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px); transform-origin: top;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__menu li { border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__menu a { display: block; padding: 15px 24px; color: rgba(255,255,255,.9); }
  .nav__menu a:hover { color: var(--white); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header__inner { min-height: 68px; }
  .brand { border-right: 0; box-shadow: none; }
  .brand__logo { width: 184px; }
  .nav__menu { top: 68px; }
  .section { padding: 48px 0; }
  .contact-strip { display: none; }
  .solution-finder__intro { grid-template-columns: 1fr; gap: 10px; }
  .solution-finder__intro .section__eyebrow { grid-column: auto; margin-bottom: 0; }
  .solution-picker { grid-template-columns: 1fr; }
  .solution-option { min-height: 92px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1) !important; padding: 18px; }
  .solution-option:last-child { border-bottom: 0 !important; }
  .solution-result { min-height: 0; padding: 26px 20px; }
  .solution-result__topline { flex-direction: column; gap: 4px; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: thin; }
  .filter-chip { flex: 0 0 auto; }
  .hero__bg {
    background:
      linear-gradient(90deg, rgba(7,17,31,.99) 0%, rgba(7,17,31,.96) 48%, rgba(7,17,31,.86) 100%),
      radial-gradient(circle at 58% 24%, rgba(91,199,230,.18), transparent 30%);
    background-size: cover;
    background-position: 65% 40%;
  }
  .hero__inner { padding: 46px 0 34px; }
  .hero__brand-signal { gap: 8px; font-size: .58rem; }
  .hero__brand-signal i { width: 22px; }
  .hero__brand-signal strong:last-child { display: none; }
  .hero__eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .hero h1 { max-width: 12.8ch; font-size: clamp(2.05rem, 10.5vw, 2.85rem); }
  .hero__lead { padding-left: 14px; }
  .hero__proofline { width: 100%; }
  .hero__proofline span { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid rgba(91,199,230,.24); }
  .hero__proofline span:last-child { border-bottom: 0; }
  .hero__cta { margin: 22px 0 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__pills { gap: 8px; }
  .hero__pills li { font-size: .74rem; padding: 6px 9px; }
  .hero__pills li:nth-child(n+3) { display: none; }
  .hero__stamp { margin-top: 18px; font-size: .6rem; letter-spacing: .07em; }
  .hero__stamp span { font-size: 1.35rem; }
  .hero__panel { display: none; }
  .hero__stats { margin: -14px 10px 0; grid-template-columns: 1fr 1fr; }
  .stat { padding: 11px 10px; }
  .stat__num { font-size: 1.42rem; }
  .stat__label { font-size: .74rem; }
  .hero__media img { height: 320px; }
  .hero__media-code { right: 8px; top: 18px; box-shadow: 5px 5px 0 var(--orange-500); }
  .grid--cards, .grid--gallery, .grid--two, .grid--cases, .service-board { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card .card__list li:nth-child(n+3) { display: none; }
  .service-feature { min-height: 520px; }
  .service-feature__content { padding: 26px 22px; }
  .services-editorial__side { grid-template-columns: 1fr; }
  .service-panel { min-height: auto; }
  .service-maintenance { grid-template-columns: 1fr; }
  .service-maintenance .btn { width: 100%; }
  .case-showcase { grid-template-columns: 1fr; gap: 12px; }
  .case-showcase .case:nth-child(1) { min-height: 390px; grid-row: auto; }
  .case-showcase .case:nth-child(n+2) { min-height: 210px; }
  .case { min-height: auto; }
  .case__facts { grid-template-columns: 1fr; }
  .feature-split__copy h2 { max-width: 14ch; }
  .steps { grid-template-columns: 1fr; }
  .steps--interactive { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; gap: 10px; padding-bottom: 10px; scroll-snap-type: x proximity; }
  .steps--interactive > li { scroll-snap-align: start; }
  .process-detail { grid-template-columns: 1fr; }
  .process-detail > strong { grid-column: auto; }
  .industries__featured { grid-template-columns: 1fr; }
  .industry-card,
  .industry-card:first-child { min-height: 380px; }
  .industries__support { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .shot img { height: 220px; }
  .wa-float { width: 50px; min-height: 50px; height: 50px; right: 12px; bottom: 12px; padding: 0; justify-content: center; border-radius: 50%; }
  .wa-float span { display: none; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 400px) {
  .temperature-range { grid-template-columns: 1fr; }
  .industry-card,
  .industry-card:first-child { min-height: 350px; }
  .industry-card__content { padding: 22px; }
  .industries__capabilities { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__media img { height: 315px; }
}

/* Mobile hero hardening: keep the first screen readable on iPhone widths. */
@media (max-width: 640px) {
  .hero--field,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    padding: 38px 20px 28px;
  }

  .hero__content {
    max-width: 100%;
    padding: 0;
  }

  .hero h1 {
    max-width: 10.6ch;
    font-size: clamp(2.65rem, 12.2vw, 3.45rem);
    line-height: .94;
    letter-spacing: 0;
    overflow-wrap: normal;
    transform: none;
  }

  .hero h1 .line {
    overflow: visible;
    line-height: .98;
  }

  .hero__eyebrow {
    max-width: 32ch;
    letter-spacing: 0;
    line-height: 1.25;
  }

  .hero__lead {
    max-width: 33ch;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero__proofline {
    max-width: 100%;
  }

  .hero__pills,
  .hero__stamp {
    display: none;
  }

  .hero__cta {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(2.35rem, 11.6vw, 3rem);
    max-width: 11ch;
  }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--steel-900);
  border-top: 1px solid rgba(91,199,230,.12);
  border-bottom: 4px solid var(--orange-500);
}
.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sband-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(91,199,230,.18);
  text-align: center;
}
.sband-item:last-child { border-right: 0; }
.sband-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1;
  letter-spacing: 0;
}
.sband-label {
  font-family: var(--font-body);
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

@media (max-width: 760px) {
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .sband-item { padding: 22px 12px; border-bottom: 1px solid rgba(91,199,230,.12); }
  .sband-item:nth-child(2) { border-right: 0; }
  .sband-item:nth-child(3), .sband-item:nth-child(4) { border-bottom: 0; }
  .sband-num { font-size: 1.9rem; }
}

/* ---------- Peru coverage map ---------- */
.cobertura__map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.cobertura__map svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.45));
}
.peru-fill {
  fill: rgba(91,199,230,.08);
  stroke: rgba(91,199,230,.6);
  stroke-width: 1.5;
}
.peru-city { transition: r .2s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .wa-float:hover { transform: none; }
  .feature-split__scan { animation: none !important; }
  .feature-split__image:hover img { transform: none; }
}

/* ============================================================
   VISUAL DIRECTION 2026-06-14
   Less UI, more field photography, editorial rhythm and proof.
   ============================================================ */

body { background: #f3f0e9; }
.section { background: #f3f0e9; }
.section--dark {
  background:
    linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.82) 48%, rgba(5,14,27,.58) 100%),
    linear-gradient(180deg, rgba(5,14,27,.68), rgba(5,14,27,.46) 48%, rgba(5,14,27,.9)),
    url("../img/generated/section-dark-industrial-ai-v2.webp") center / cover no-repeat,
    var(--navy-900);
}
.section--cases { background:
  linear-gradient(110deg, rgba(5,14,27,.97), rgba(5,14,27,.9)),
  url("../img/generated/client-cases-v2/client-case-trebol-market-v2.webp") center / cover fixed; }
.section h2,
.solution-finder h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.section__head { max-width: 72ch; margin-bottom: clamp(36px, 6vw, 76px); }
.section__head--split { grid-template-columns: 1.15fr .55fr; align-items: start; }
.section__eyebrow { display: flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 800; }
.section__eyebrow::before { content: ""; width: 38px; height: 3px; background: var(--orange-500); }

/* Hero: one scene, no floating dashboard. */
.hero--field { min-height: 82vh; }
.hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 82vh; }
.hero__content { max-width: 900px; padding: 40px 0; }
.hero h1 { max-width: 10.8ch; font-size: clamp(3.4rem, 7.5vw, 7.6rem); line-height: .88; letter-spacing: -.055em; }
.hero__lead { max-width: 52ch; font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
.hero__panel { display: none; }
.hero__bg {
  background:
    linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.86) 36%, rgba(5,14,27,.46) 62%, rgba(5,14,27,.28) 100%),
    linear-gradient(180deg, rgba(5,14,27,.42), rgba(5,14,27,.2) 46%, rgba(5,14,27,.82)),
    url("../img/generated/hero-background-industrial-ai-v2.webp") center 44% / cover;
}
.hero__bg::after { background: linear-gradient(90deg, var(--orange-500) 0 7px, transparent 7px); opacity: 1; }
.hero__proofline { border: 0; border-left: 1px solid rgba(255,255,255,.28); background: transparent; }
.hero__pills { max-width: 760px; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.hero__pills li { flex: 1 1 220px; border: 0; border-right: 1px solid rgba(255,255,255,.2); background: transparent; padding: 13px 18px 10px 0; }

/* Quote routes: a photographic triptych, not three detached cards. */

/* Diagnostic: horizontal conversation, no software control panel. */
.solution-finder {
  background:
    linear-gradient(90deg, rgba(6,16,29,.98) 0%, rgba(6,16,29,.9) 38%, rgba(6,16,29,.68) 100%),
    linear-gradient(180deg, rgba(6,16,29,.94) 0%, rgba(6,16,29,.68) 50%, rgba(6,16,29,.96) 100%),
    radial-gradient(circle at 92% 4%, rgba(91,199,230,.16), transparent 28%),
    url("../img/generated/diagnostico-background-industrial-ai-v1.webp") center / cover no-repeat,
    #07111f;
}
.solution-finder::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(91,199,230,.12), transparent 34%);
  background-size: 64px 64px, 64px 64px, auto;
}
.solution-finder__intro { grid-template-columns: 1.1fr .6fr; }
.solution-finder__intro h2 { max-width: 12ch; }
.solution-finder__workspace { display: block; border: 0; box-shadow: none; background: transparent; }
.solution-picker { display: flex; flex-direction: row; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.solution-option { min-height: 0; display: block; flex: 1; padding: 22px 18px; border: 0; border-right: 1px solid rgba(255,255,255,.15); cursor: pointer; }
.solution-option:last-child { border-right: 0; }
.solution-option__code { display: none; }
.solution-option strong { font-size: 1rem; color: #fff; }
.solution-option small { max-width: 22ch; color: rgba(255,255,255,.56); }
.solution-option.is-active { box-shadow: inset 0 -4px 0 var(--orange-500); background: rgba(255,255,255,.06); }
.solution-option.is-active strong { color: #fff; }
.solution-result { min-height: 0; display: grid; grid-template-columns: .44fr 1fr; gap: 0; align-items: stretch; padding: 0; color: #fff; background: transparent; border: 0; }
.solution-result__visual { min-height: 420px; }
.solution-result__topline { display: block; color: rgba(255,255,255,.5); }
.solution-result__topline span { display: block; margin-bottom: 8px; }
.solution-result h3 { max-width: 19ch; font-size: clamp(1.7rem, 3vw, 3rem); color: #fff; }
.solution-result > p,
.solution-result__content > p { color: rgba(255,255,255,.68); }
.solution-result ul { color: rgba(255,255,255,.84); }
.solution-result__scope > span { color: rgba(255,255,255,.5); }
.solution-result__scope { border-top-color: rgba(255,255,255,.14); }
.solution-result__content { border-top: 0; padding-top: clamp(28px, 4vw, 52px); }
.solution-result__action small { color: rgba(255,255,255,.6); }
.solution-result .btn { width: fit-content; }

/* Services become one continuous editorial composition. */
.section--blueprint { background: #fff; }
.services-editorial { gap: 0; }
.service-feature { min-height: 760px; }
.services-editorial__side { gap: 0; }
.service-panel { min-height: 380px; border: 0; }
.service-panel__copy { padding: 42px; }
.service-maintenance { margin-top: 0; border: 0; border-top: 6px solid var(--orange-500); padding: 42px; }

/* Fabrication feature (now inside Servicios) */
.feature-split { grid-template-columns: .72fr 1.28fr; margin-bottom: 0; }
.feature-split__image img { min-height: 690px; }
.temperature-range span { padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(11,27,51,.22); }
.proof-list li { border-bottom: 1px solid rgba(11,27,51,.18); padding-bottom: 14px; }

/* Industries: full-width photographic chapters. */
.section--industries { padding-bottom: clamp(60px, 9vw, 120px); }
.industries__head {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .42fr) minmax(220px, .5fr);
  gap: clamp(24px, 3.2vw, 46px);
  align-items: center;
  min-height: clamp(430px, 42vw, 610px);
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,14,27,.68) 0%, rgba(5,14,27,.28) 44%, rgba(5,14,27,.04) 100%),
    linear-gradient(180deg, rgba(5,14,27,.24) 0%, rgba(5,14,27,.02) 48%, rgba(5,14,27,.40) 100%),
    url("../img/generated/industries-head-background-ai-v2.webp") center / cover no-repeat,
    #07111f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(91,199,230,.16);
}
.industries__head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,14,27,.88) 0%, rgba(5,14,27,.62) 44%, rgba(5,14,27,.22) 100%),
    linear-gradient(180deg, rgba(5,14,27,.50) 0%, rgba(5,14,27,.08) 48%, rgba(5,14,27,.72) 100%),
    linear-gradient(90deg, rgba(91,199,230,.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(244,122,32,.16), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(91,199,230,.16), transparent 30%);
  background-size: auto, auto, 76px 76px, auto, auto;
}
.industries__head::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 74px;
  height: 5px;
  background: var(--orange-500);
  z-index: 2;
}
.industries__head > * { position: relative; z-index: 1; }
.industries__visual {
  position: relative;
  min-height: clamp(230px, 24vw, 330px);
  overflow: hidden;
  border: 1px solid rgba(91,199,230,.18);
  background: #07111f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 28px 70px rgba(0,0,0,.18);
}
.industries__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,17,31,.06), rgba(7,17,31,.48)),
    linear-gradient(90deg, rgba(91,199,230,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(91,199,230,.045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  z-index: 1;
}
.industries__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange-500), var(--ice-400));
  z-index: 2;
}
.industries__visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(.86) contrast(1.06);
}
.industries__stories { display: block; }
.industry-card,
.industry-card:first-child { min-height: 470px; width: 100%; }
.industry-card:nth-child(even) .industry-card__content { margin-left: auto; }
.industry-card__shade { background: linear-gradient(90deg, rgba(4,13,25,.94), rgba(4,13,25,.55) 48%, rgba(4,13,25,.08)); }
.industry-card:nth-child(even) .industry-card__shade { background: linear-gradient(270deg, rgba(4,13,25,.94), rgba(4,13,25,.55) 48%, rgba(4,13,25,.08)); }
.industry-card__content { max-width: 610px; padding: clamp(38px, 6vw, 82px); }
.industry-card h3 { font-size: clamp(2.3rem, 4vw, 4.5rem); letter-spacing: -.04em; }
.industry-card ul { display: flex; flex-wrap: wrap; gap: 20px; }
.industries__support {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: 0;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(91,199,230,.2);
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(7,17,31,.28);
  box-shadow: 0 32px 80px rgba(0,0,0,.17);
}
.industries__more,
.industries__response {
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
  border: 0;
}
.industries__more {
  background:
    linear-gradient(90deg, rgba(91,199,230,.045) 1px, transparent 1px),
    linear-gradient(rgba(91,199,230,.035) 1px, transparent 1px);
  background-size: 58px 58px;
}
.industries__response {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 86% 12%, rgba(244,122,32,.15), transparent 32%),
    linear-gradient(145deg, rgba(91,199,230,.11), rgba(255,255,255,.025));
  border-left: 1px solid rgba(91,199,230,.18);
}
.industries__response::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 4px;
  height: 34%;
  background: var(--orange-500);
}
.industries__label {
  margin-bottom: 24px;
  color: var(--ice-400);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.industry-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(91,199,230,.17);
  border: 1px solid rgba(91,199,230,.17);
}
.industry-tags li {
  position: relative;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px 18px 18px;
  overflow: hidden;
  color: rgba(255,255,255,.9);
  background:
    radial-gradient(circle at 18% 22%, rgba(91,199,230,.13), transparent 34%),
    linear-gradient(145deg, rgba(11,29,50,.98), rgba(6,18,33,.94));
  border: 0;
  font-size: .86rem;
}
.industry-tags li > span:last-child {
  position: relative;
  z-index: 1;
  align-self: stretch;
  max-width: 13.5ch;
  font-weight: 800;
  line-height: 1.18;
}
.industry-tag__drawing {
  position: relative;
  z-index: 1;
  width: min(96px, 60%);
  height: 62px;
  color: var(--ice-400);
  opacity: .96;
}
.industry-tag__drawing svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.industry-tag__drawing path,
.industry-tag__drawing rect,
.industry-tag__drawing circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.industry-tag__drawing--store,
.industry-tag__drawing--food { color: rgba(244,122,32,.95); }
.industry-tag__drawing--corp,
.industry-tag__drawing--tech { color: rgba(111,214,242,.98); }
.industry-tag__drawing--edu { color: rgba(255,255,255,.82); }
.industry-tags li::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 68px;
  height: 44px;
  opacity: .42;
  background:
    linear-gradient(90deg, rgba(91,199,230,.18) 1px, transparent 1px),
    linear-gradient(rgba(91,199,230,.14) 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: linear-gradient(135deg, transparent, #000 32%, #000);
}
.industries__capabilities {
  position: relative;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 30px;
}
.industries__capabilities::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 18px;
  width: 1px;
  background: linear-gradient(var(--orange-500), var(--ice-400));
}
.industries__capabilities span {
  position: relative;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  color: rgba(255,255,255,.88);
}
.industries__capabilities strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid var(--orange-500);
  border-radius: 50%;
  font-size: .82rem;
}
.industries__response .btn {
  width: 100%;
  min-height: 56px;
  justify-content: center;
}

/* Cases: turn the list into a vertical project ledger. */
.case-showcase { display: block; border-top: 1px solid rgba(255,255,255,.25); }
.case-showcase .case,
.case-showcase .case:nth-child(1) {
  min-height: 0;
  display: grid;
  grid-template-columns: .7fr 1.35fr 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  isolation: auto;
}
.case::before, .case::after { display: none; }
.case h3 { font-size: clamp(1.35rem, 2.2vw, 2.2rem); }
.case-showcase .case:nth-child(1) > h3 { font-size: clamp(1.35rem, 2.2vw, 2.2rem); }
.case-showcase .case:nth-child(1) > h3::after { display: none; }
.case p { color: rgba(255,255,255,.68); }
.case__facts { display: none; }
.testimonials-placeholder { border: 0; background: transparent; padding-left: 22px; }

/* Brands: one continuous equipment wall. */
#marcas { overflow: hidden; background: #fff; }
#marcas .section__head { margin-bottom: 32px; }
.brands-stage { margin-left: 0; margin-right: 0; }
.brands-stage__statement { max-width: 720px; margin: 0 auto 36px; padding: 0 24px; color: var(--gray-600); font-size: 1.1rem; }
.brands--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px); width: 100%; border: 0; box-shadow: none; border-radius: 0; background: transparent; align-items: center; padding: 28px 0; }
.brands--logos .brand-chip { width: 100%; min-height: 96px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.brands--logos .brand-chip:hover { background: transparent; box-shadow: none; transform: none; }
.brands--logos .brand-chip:nth-child(even) { transform: none; }
.brands--logos img { max-width: 158px; height: 70px; filter: none; opacity: 1; transition: transform .18s ease; }
.brands--logos .brand-chip:hover img { transform: translateY(-2px); }

/* Certification: AI-backed technical proof composition. */
.section--cert {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(220,232,236,.96) 0%, rgba(220,232,236,.9) 45%, rgba(11,27,51,.7) 100%),
    url("../img/generated/ai-placeholder-sala-electrica.webp") right center / cover no-repeat;
}
.section--cert::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 26%, rgba(91,199,230,.22), transparent 30%),
    linear-gradient(90deg, rgba(11,27,51,.05) 1px, transparent 1px),
    linear-gradient(rgba(11,27,51,.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}
.section--cert .container {
  position: relative;
  z-index: 1;
}
.section--cert .section__head { margin-bottom: clamp(42px, 6vw, 78px); }
.section--cert h2 { color: var(--ink); }
.section--cert .section__intro { color: rgba(14,23,38,.82); }
.cert-story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 0;
  align-items: stretch;
  box-shadow: 0 34px 90px rgba(11,27,51,.22);
}
.cert-brands {
  position: relative;
  margin-top: clamp(42px, 6vw, 72px);
  padding: clamp(34px, 5vw, 58px) 0 clamp(30px, 4vw, 48px);
  color: var(--ink);
  isolation: isolate;
}
.cert-brands::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    radial-gradient(circle at 18% 24%, rgba(91,199,230,.16), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(11,27,51,.08),
    0 28px 70px rgba(11,27,51,.12);
}
.cert-brands .section__eyebrow {
  color: var(--orange-600);
}
.cert-brands h3 {
  color: var(--navy-900);
}
.cert-brands .section__foot,
.cert-brands .brands-stage__statement {
  color: rgba(14,23,38,.72);
}
.tech-proof { border: 0; border-radius: 0; box-shadow: none; }
.tech-proof--seal {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 42px;
  align-items: center;
  padding: clamp(42px, 6vw, 78px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    radial-gradient(circle at 10% 10%, rgba(244,122,32,.12), transparent 28%);
  backdrop-filter: blur(10px);
}
.tech-proof__seal {
  width: 150px;
  height: 150px;
  font-size: 2.7rem;
  border: 2px solid var(--orange-500);
  box-shadow: 0 20px 45px rgba(244,122,32,.25);
}
.tech-proof--seal h3 { font-size: clamp(2rem, 3.7vw, 4rem); letter-spacing: -.04em; }
.cert-story__kicker { color: var(--orange-600); font-weight: 800; }
.cert-proofline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  list-style: none;
  background: rgba(11,27,51,.12);
  border: 1px solid rgba(11,27,51,.12);
}
.cert-proofline li {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  color: var(--navy-900);
  font-size: .82rem;
  font-weight: 800;
}
.cert-proofline span {
  color: var(--orange-600);
  font-family: var(--font-display);
  font-size: .78rem;
}
.tech-proof--dark {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: start;
  min-height: 460px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 52px);
  background:
    radial-gradient(circle at 78% 18%, rgba(91,199,230,.18), transparent 30%),
    linear-gradient(180deg, rgba(11,27,51,.88), rgba(7,17,31,.98));
}
.tech-proof--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(91,199,230,.08) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.tech-proof--dark > * {
  position: relative;
  z-index: 1;
}
.cert-story__number {
  color: var(--ice-400);
  font: 800 4rem/1 var(--font-display);
}
.cert-cold-symbol {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: var(--ice-400);
  border: 1px solid rgba(91,199,230,.28);
  border-radius: 50%;
  background: rgba(91,199,230,.06);
  box-shadow: 0 0 28px rgba(91,199,230,.1);
}
.cert-cold-symbol img { width: 50px; height: 50px; }
.tech-proof__content {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 31ch;
  padding: clamp(34px, 5vh, 58px) 0 clamp(12px, 2vh, 24px);
}
.tech-proof__content h3 { margin-top: 0; }
.tech-proof__content p:last-child { margin-bottom: 0; }

/* Process: a real timeline rather than five cards. */
#proceso { background: #fff; }
.steps { position: relative; display: flex; gap: 0; border-top: 1px solid var(--gray-300); }
.steps::before { content: ""; position: absolute; top: -3px; left: 0; width: 20%; height: 5px; background: var(--orange-500); }
.steps li { flex: 1; }
.step { min-height: 230px; padding: 30px 18px 24px 0; border: 0; border-right: 1px solid var(--gray-200); background: transparent; text-align: left; }
.step__n { width: auto; height: auto; place-items: start; color: var(--orange-600); background: transparent; font-size: 2rem; }
.step.is-active { box-shadow: none; background: linear-gradient(180deg, rgba(244,122,32,.09), transparent); }
.process-detail { margin-top: 0; padding: 40px; }

/* Coverage and contact: large closing moments. */
.section--coverage {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.84) 42%, rgba(5,14,27,.92) 100%),
    radial-gradient(circle at 72% 45%, rgba(91,199,230,.18), transparent 30%),
    radial-gradient(circle at 45% 52%, rgba(244,122,32,.14), transparent 22%),
    url("../img/generated/realista-planta-industrial-background-v2.webp") center / cover no-repeat,
    linear-gradient(135deg, #071321 0%, #0B1B33 56%, #06101d 100%);
}
.section--coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,14,27,.64), rgba(5,14,27,.18) 46%, rgba(5,14,27,.74)),
    linear-gradient(90deg, rgba(91,199,230,.035) 1px, transparent 1px),
    linear-gradient(rgba(91,199,230,.025) 1px, transparent 1px);
  background-size: 100% 100%, 76px 76px, 76px 76px;
  pointer-events: none;
}
.section--coverage::after { content: "PERÚ"; position: absolute; right: -2vw; bottom: -8vw; color: rgba(255,255,255,.035); font: 800 clamp(10rem, 28vw, 28rem)/.75 var(--font-display); letter-spacing: -.08em; pointer-events: none; }
.cobertura {
  grid-template-columns: minmax(340px, .72fr) minmax(540px, 1.28fr);
  gap: clamp(34px, 5.2vw, 82px);
}
.cobertura > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.cobertura h2 { max-width: 9ch; }
.cobertura__map {
  position: relative;
  min-height: 0;
  width: fit-content;
  margin: 0 auto;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.cobertura__map::before {
  content: "";
  position: absolute;
  inset: -18% -18% -18% -34%;
  z-index: -1;
  background:
    radial-gradient(circle at 53% 54%, rgba(244,122,32,.22), transparent 9%),
    radial-gradient(ellipse at 54% 50%, rgba(91,199,230,.18), transparent 50%);
  filter: drop-shadow(0 34px 70px rgba(0,0,0,.48));
}
.cobertura__map::after {
  content: "";
  position: absolute;
  inset: clamp(8px, 1.4vw, 18px);
  z-index: -2;
  border: 1px solid rgba(91,199,230,.24);
  background:
    linear-gradient(135deg, rgba(7,17,31,.92), rgba(7,17,31,.62)),
    radial-gradient(circle at 48% 52%, rgba(91,199,230,.14), transparent 58%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 28px 80px rgba(0,0,0,.34);
}
.cobertura__map-image {
  display: block;
  width: clamp(380px, 33vw, 480px) !important;
  inline-size: clamp(380px, 33vw, 480px);
  max-width: none;
  height: clamp(440px, 40vw, 580px);
  object-fit: cover;
  object-position: 81% 46%;
  margin: 0 auto;
  border-radius: 14px;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.45)) saturate(1.08) contrast(1.05);
}
/* Heat-map overlay — glow over Lima (central-west coast) */
.cobertura__heat {
  position: absolute;
  z-index: 1;
  top: 60%;
  left: 44%;
  transform: translate(-50%, -50%);
  width: clamp(140px, 15vw, 200px);
  aspect-ratio: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .85;
  background:
    radial-gradient(circle, rgba(255,86,0,.62) 0%, rgba(255,150,20,.34) 22%, rgba(255,205,40,.16) 42%, transparent 70%);
}
.contact-closing { position: relative; color: #fff; background:
  linear-gradient(90deg, rgba(5,14,27,.97), rgba(5,14,27,.83)),
  url("../img/generated/field-tableros-control.webp") center / cover; }
.contact-closing .section__intro,
.contact-closing .muted { color: rgba(255,255,255,.68); }
.contact-closing h2 { max-width: 13ch; }
.contacto__list li { border-color: rgba(255,255,255,.16); }
.contact-closing .contacto__v { color: rgba(255,255,255,.68); }
.contact-closing a.contacto__v:hover { color: var(--ice-400); }
.contacto__cta { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 70px); border: 0; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }

@media (max-width: 900px) {
  .section__head--split,
  .solution-finder__intro,
  .feature-split,
  .cert-story { grid-template-columns: 1fr; }
  .section--cert {
    background:
      linear-gradient(180deg, rgba(220,232,236,.96), rgba(11,27,51,.82));
  }
  .cert-brands {
    margin-top: 34px;
    padding: 30px 0 34px;
  }
  .cert-brands::before {
    background: rgba(255,255,255,.94);
  }
  .industries__head { gap: 22px; }
  .industries__head {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 22px;
    background:
      linear-gradient(90deg, rgba(5,14,27,.68) 0%, rgba(5,14,27,.28) 44%, rgba(5,14,27,.04) 100%),
      linear-gradient(180deg, rgba(5,14,27,.24) 0%, rgba(5,14,27,.02) 48%, rgba(5,14,27,.40) 100%),
      url("../img/generated/industries-head-background-ai-v2.webp") 62% center / cover no-repeat,
      #07111f;
  }
  .industries__head h2 { max-width: 11ch; }
  .industries__head .section__intro { max-width: 38ch; }
  .industries__visual { min-height: 230px; }
  .industries__support { grid-template-columns: 1fr; }
  .industries__response {
    border-top: 1px solid rgba(91,199,230,.18);
    border-left: 0;
  }
  .industries__response::before {
    width: 34%;
    height: 4px;
    top: -1px;
    left: 0;
  }
  .solution-result { grid-template-columns: 1fr; }
  .solution-result .btn { width: 100%; }
  .feature-split__image img { min-height: 480px; }
  .case-showcase .case,
  .case-showcase .case:nth-child(1) { grid-template-columns: .7fr 1.3fr; }
  .case p { grid-column: 2; }
  .steps { overflow-x: auto; }
  .steps li { min-width: 220px; }
}

@media (max-width: 640px) {
  .section h2,
  .solution-finder h2 { font-size: clamp(2.15rem, 12vw, 3.4rem); }
  .hero h1 { max-width: 10.8ch; font-size: clamp(2.45rem, 11.4vw, 3.05rem); line-height: .98; }
  .hero h1 .line { overflow: visible; line-height: .98; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(5,14,27,.88) 0%, rgba(5,14,27,.76) 48%, rgba(5,14,27,.96) 100%),
      linear-gradient(90deg, rgba(5,14,27,.78), rgba(5,14,27,.42)),
      url("../img/generated/hero-background-industrial-ai-v2.webp") 64% 36% / cover;
  }
  .hero__brand-signal strong:last-child,
  .hero__brand-signal i { display: none; }
  .solution-picker { display: block; }
  .solution-option { width: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .solution-result { grid-template-columns: 1fr; gap: 18px; }
  .solution-result .btn { grid-column: auto; }
  .industry-card,
  .industry-card:first-child { min-height: 560px; }
  .industries__visual { min-height: 190px; }
  .industries__more,
  .industries__response { padding: 30px 20px; }
  .industry-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-tags li {
    min-height: 112px;
    padding: 54px 14px 14px;
    font-size: .8rem;
  }
  .industry-tags li::before { top: 16px; left: 14px; }
  .industry-card:nth-child(even) .industry-card__shade { background: linear-gradient(180deg, transparent, rgba(4,13,25,.96)); }
  .industry-card__shade { background: linear-gradient(180deg, transparent, rgba(4,13,25,.96)); }
  .industry-card__content { align-self: end; padding: 28px 22px; }
  .case-showcase .case,
  .case-showcase .case:nth-child(1) { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .case p { grid-column: auto; }
  .brands-stage { margin-left: 0; margin-right: 0; overflow: visible; }
  .brands--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .brands--logos .brand-chip:nth-child(even) { transform: none; }
  .tech-proof--seal { grid-template-columns: 1fr; }
  .tech-proof__seal { width: 100px; height: 100px; font-size: 2rem; }
  .cert-proofline { grid-template-columns: 1fr; }
  .cert-proofline li {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    align-items: center;
  }
  .tech-proof--dark { min-height: 420px; }
  .cert-cold-symbol {
    width: 68px;
    height: 68px;
  }
  .cert-cold-symbol img { width: 44px; height: 44px; }
  .process-detail { padding: 28px 22px; }
  .section--coverage { min-height: auto; }
  .cobertura { grid-template-columns: 1fr; }
  .cobertura__map { min-height: min(92vw, 620px); }
  .cobertura__map::before {
    inset: -10% -14% -4% -14%;
    background:
      linear-gradient(180deg, rgba(11,27,51,.9) 0%, rgba(11,27,51,.08) 32%, rgba(11,27,51,.72) 100%),
      radial-gradient(circle at 48% 56%, rgba(244,122,32,.22), transparent 12%),
      linear-gradient(135deg, rgba(91,199,230,.1), rgba(244,122,32,.08));
  }
  .cobertura__map::after { inset: 8%; }
  .cobertura__map-image {
    width: min(440px, 82vw) !important;
    inline-size: min(440px, 82vw);
    height: min(560px, 104vw);
    max-height: none;
    object-fit: cover;
    object-position: 81% 46%;
  }
  .cobertura__heat { width: min(190px, 34vw); }
}

/* ================================================================
   GSAP MOTION — support styles
   (clip-path, line reveal, marquee, map pulse)
================================================================ */

/* Hero H1 line reveal */
.hero h1 .line {
  display: block;
  overflow: hidden;
  line-height: 1;
}
.hero h1 .line-inner {
  display: block;
}

/* Marquee */
@keyframes ic-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-stage {
  overflow: hidden;
  padding: 32px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: max-content;
  animation: ic-marquee 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
.marquee-stage:hover .marquee__track,
.marquee__track:hover {
  animation-play-state: running;
}
.marquee__track .brand-chip {
  flex: 0 0 auto;
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.marquee__track img {
  width: auto;
  max-width: 130px;
  height: 52px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(5%);
  transition: opacity 0.25s, filter 0.25s;
}
.marquee__track .brand-chip:hover img {
  opacity: 1;
  filter: none;
}

/* Map city pulse (CSS — ongoing after GSAP entrance) */
@keyframes ic-city-pulse {
  0%, 100% { r: var(--base-r, 5); opacity: 1; }
  50%       { r: calc(var(--base-r, 5) * 1.9); opacity: 0.3; }
}
.peru-city {
  transform-box: fill-box;
  transform-origin: center;
}

/* GSAP clip-path initial states for elements that need it */
.js .industry-card,
.js .feature-split__image,
.js .service-feature {
  will-change: clip-path;
}

/* FAQ smooth open animation */
@keyframes faq-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
details[open] > :not(summary) {
  animation: faq-slide-in 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
  details[open] > :not(summary) { animation: none; }
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  transition: color 0.18s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { color: var(--orange-500); }

/* Client previews: visual work gallery + modal. */
#clientes { scroll-margin-top: 112px; }
.section--cases .container { position: relative; }
.section--cases .section__head {
  position: relative;
  z-index: 1;
  max-width: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .82fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  min-height: 0;
  margin-bottom: 28px;
}
.section--cases .section__head > div:first-child {
  position: relative;
  z-index: 2;
}
.cases-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  align-content: start;
  padding-top: 6px;
}
.cases-visual .section__intro {
  position: relative;
  z-index: 2;
  max-width: 34ch;
  margin: 0;
  padding: 24px 28px;
  background: linear-gradient(90deg, rgba(4,13,25,.74), rgba(4,13,25,.28));
  backdrop-filter: blur(3px);
}
.cases-visual__board {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: .9;
  border: 1px solid rgba(91,199,230,.12);
  background: #07111f;
}
.cases-visual__board::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,13,25,.72), rgba(4,13,25,.2) 58%, rgba(4,13,25,.68)),
    linear-gradient(180deg, rgba(4,13,25,.04), rgba(4,13,25,.84));
  pointer-events: none;
}
.cases-visual__board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.84) contrast(1.08);
}
.cases-visual__stats {
  position: absolute;
  left: clamp(16px, 2.4vw, 32px);
  right: clamp(16px, 2.4vw, 32px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(91,199,230,.16);
  background: rgba(91,199,230,.16);
}
.cases-visual__stats span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  color: rgba(255,255,255,.76);
  background: rgba(4,13,25,.66);
  font: 800 .72rem/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cases-visual__stats strong {
  color: var(--ice-400);
  font-size: 1.85rem;
  line-height: .9;
  letter-spacing: -.03em;
}
.case-proof {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(91,199,230,.22);
  background:
    radial-gradient(circle at 92% 24%, rgba(91,199,230,.2), transparent 30%),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.case-proof span {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 14px 18px;
  background: rgba(4,13,25,.38);
}
.case-proof strong {
  color: var(--ice-400);
  font: 800 clamp(1.5rem, 2vw, 2.2rem)/.9 var(--font-display);
  letter-spacing: -.04em;
}
.case-proof small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .78rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.case-showcase {
  display: block !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-top: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.16);
}
.case-track {
  display: flex;
  width: max-content;
  animation: ic-cases-marquee 34s linear infinite;
}
.case-showcase:hover .case-track,
.case-showcase:focus-within .case-track {
  animation-play-state: paused;
}
@keyframes ic-cases-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.case-showcase .case,
.case-showcase .case:nth-child(1) {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  color: #fff;
  border: 0;
  border-bottom: 0;
  background: #07111f var(--case-img) center / cover no-repeat !important;
  box-shadow: none;
  flex: 0 0 clamp(280px, 25vw, 360px);
  cursor: pointer;
  scroll-snap-align: start;
  isolation: isolate;
}
.case-showcase .case:nth-child(4n+1) { --case-img: url("../img/generated/client-cases-v2/client-case-trebol-market-v2.webp"); }
.case-showcase .case:nth-child(4n+2) { --case-img: url("../img/generated/client-cases-v2/client-case-parroquia-angeles-v2.webp"); }
.case-showcase .case:nth-child(4n+3) { --case-img: url("../img/generated/client-cases-v2/client-case-inmaculada-market-v2.webp"); }
.case-showcase .case:nth-child(4n+4) { --case-img: url("../img/generated/client-cases-v2/client-case-padua-school-v2.webp"); }
.case-showcase .case::before,
.case-showcase .case::after {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}
.case-showcase .case::before {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,13,25,.08) 0%, rgba(4,13,25,.56) 50%, rgba(4,13,25,.96) 100%),
    linear-gradient(90deg, rgba(4,13,25,.5), transparent);
  transition: background .25s ease;
}
.case-showcase .case::after {
  left: 0;
  right: auto;
  top: 0;
  width: 5px;
  height: 72px;
  background: var(--orange-500);
}
.case-showcase .case:hover::before,
.case-showcase .case:focus-visible::before {
  background:
    linear-gradient(180deg, rgba(4,13,25,.02) 0%, rgba(4,13,25,.42) 44%, rgba(4,13,25,.94) 100%),
    linear-gradient(90deg, rgba(4,13,25,.38), transparent);
}
.case-showcase .case:focus-visible {
  outline: 3px solid var(--ice-400);
  outline-offset: -3px;
}
.case-showcase .case > span,
.case-showcase .case > h3,
.case-showcase .case > p {
  position: relative;
  z-index: 1;
}
.case-showcase .case__sector {
  margin-bottom: 0;
  color: var(--ice-400);
}
.case-showcase .case h3,
.case-showcase .case:nth-child(1) > h3 {
  max-width: 14ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 2.2vw, 2.55rem);
  line-height: .98;
  text-shadow: 0 3px 18px rgba(0,0,0,.38);
}
.case-showcase .case p,
.case-showcase .case:nth-child(n+2) > p {
  max-width: 30ch;
  margin: 0;
  color: rgba(255,255,255,.78);
}
.case__cta {
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(7,17,31,.58);
  font: 800 .72rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: clamp(18px, 4vw, 54px);
}
.case-modal.is-open { display: grid; place-items: center; }
.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,9,18,.76);
  backdrop-filter: blur(10px);
}
.case-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(760px, 92vh);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(91,199,230,.24);
  background: linear-gradient(135deg, #07111f, #102544);
  box-shadow: 0 34px 120px rgba(0,0,0,.55);
}
.case-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(7,17,31,.72);
  font: 800 .75rem var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.case-modal__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(30px, 5vw, 62px);
}
.case-modal__sector {
  color: var(--ice-400);
  font: 800 .76rem var(--font-display);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.case-modal h3 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.case-modal p {
  max-width: 52ch;
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
}
.case-modal__impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 8px 0 0;
  background: rgba(255,255,255,.14);
}
.case-modal__impact div {
  padding: 16px;
  background: rgba(2,9,18,.46);
}
.case-modal__impact dt {
  margin-bottom: 6px;
  color: var(--orange-500);
  font: 800 .72rem var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-modal__impact dd {
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.35;
}
.case-modal__media {
  position: relative;
  min-height: 580px;
  margin: 0;
  background: #07111f;
}
.case-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.08);
}

/* Video de labores: pieza única, no reutilizada como fondo ni card. */
.section--labores {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(91,199,230,.18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #102544 58%, #081320 100%);
}
.section--labores::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(91,199,230,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
}
.section--labores .container {
  position: relative;
  z-index: 1;
}
.section--labores .section__intro {
  color: rgba(255,255,255,.72);
}
.section--labores h2 {
  color: #fff;
  max-width: 12ch;
}
.labores__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 1px;
  border: 1px solid rgba(91,199,230,.22);
  background: rgba(255,255,255,.14);
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
}
.labores__video {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: #020912;
}
.labores__video::after {
  content: "VIDEO REFERENCIAL";
  position: absolute;
  left: 22px;
  bottom: 20px;
  padding: 8px 11px;
  color: rgba(255,255,255,.82);
  background: rgba(7,17,31,.72);
  font: 800 .68rem var(--font-display);
  letter-spacing: .08em;
  pointer-events: none;
}
.labores__video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.labores__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,.12);
}
.labores__list span {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 105px;
  padding: 24px;
  color: rgba(255,255,255,.82);
  background: rgba(7,17,31,.72);
  font-weight: 800;
  line-height: 1.18;
}
.labores__list strong {
  color: var(--orange-500);
  font-family: var(--font-display);
  font-size: .8rem;
}

@media (max-width: 900px) {
  .section--cases .section__head {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cases-visual {
    min-height: 260px;
    align-content: start;
    padding-top: 0;
  }
  .cases-visual .section__intro {
    max-width: 54ch;
    margin-bottom: 18px;
  }
  .cases-visual__board {
    position: relative;
    inset: auto;
    min-height: 188px;
    margin-top: 4px;
    mask-image: none;
  }
  .cases-visual__stats {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cases-visual__stats span {
    min-height: 64px;
    padding: 12px;
    font-size: .64rem;
  }
  .cases-visual__stats strong {
    font-size: 1.38rem;
  }
  .case-proof {
    margin-left: 0;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .case-showcase .case { flex-basis: min(78vw, 340px); }
  .case-modal__dialog {
    grid-template-columns: 1fr;
    max-height: 96vh;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .case-modal__dialog::-webkit-scrollbar { display: none; }
  .case-modal__media {
    min-height: 220px;
    order: -1;
  }
  .case-modal__impact { grid-template-columns: 1fr; }
  .labores__stage {
    grid-template-columns: 1fr;
  }
  .labores__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cases-visual { min-height: auto; }
  .cases-visual__board { min-height: 230px; }
  .cases-visual__stats {
    grid-template-columns: 1fr;
    width: min(190px, calc(100% - 28px));
    right: auto;
    left: 14px;
  }
  .cases-visual__stats span {
    min-height: 48px;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 10px;
  }
  .case-proof { grid-template-columns: 1fr; }
  .case-proof span {
    min-height: 58px;
    grid-template-columns: 74px 1fr;
    align-items: center;
    padding: 11px 15px;
  }
  .case-proof strong { font-size: clamp(2rem, 12vw, 3.2rem); }
  .case-proof small { margin-top: 0; font-size: .74rem; }
  .case-showcase .case,
  .case-showcase .case:nth-child(1) { min-height: 390px; }
  .case-modal { padding: 12px; }
  .case-modal__copy { padding: 28px 22px; }
  .case-modal h3 { font-size: clamp(2.15rem, 13vw, 3.6rem); }
  .labores__video,
  .labores__video video {
    min-height: 260px;
  }
  .labores__list {
    grid-template-columns: 1fr;
  }
  .labores__list span {
    min-height: 82px;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-track { animation: none; }
}

/* Process redesign: darker operational story with AI visual background. */
#proceso {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 112px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.86) 52%, rgba(5,14,27,.62) 100%),
    url("../img/generated/ai-placeholder-mantenimiento-tecnico.webp") center / cover no-repeat;
}
#proceso::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(91,199,230,.18), transparent 28%),
    linear-gradient(90deg, rgba(91,199,230,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 25% 100%, 88px 88px;
  pointer-events: none;
}
#proceso::after {
  content: "PROCESO";
  position: absolute;
  right: -3vw;
  bottom: -2vw;
  color: rgba(255,255,255,.035);
  font: 800 clamp(7rem, 18vw, 19rem)/.75 var(--font-display);
  letter-spacing: -.08em;
  pointer-events: none;
}
#proceso > .container {
  position: relative;
  z-index: 1;
}
#proceso .section__head {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(320px, .7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(34px, 5vw, 58px);
}
#proceso .section__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
  color: var(--ice-400);
}
#proceso h2 {
  max-width: 10ch;
  color: #fff;
  text-shadow: 0 5px 28px rgba(0,0,0,.34);
}
#proceso .section__intro {
  max-width: 48ch;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}
#proceso .steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-top: 4px solid var(--orange-500);
  background: rgba(255,255,255,.14);
}
#proceso .steps::before { content: none; }
#proceso .steps li { min-width: 0; flex: none; }
#proceso .step {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: clamp(20px, 2.5vw, 32px);
  color: rgba(255,255,255,.78);
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.84);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
#proceso .steps--interactive .step {
  color: var(--navy-900);
}
#proceso .steps--interactive .step:hover {
  transform: none;
  background: rgba(255,255,255,.94);
}
#proceso .steps--interactive .step.is-active {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(244,122,32,.24), transparent 42%),
    rgba(7,17,31,.94);
  border: 0;
  box-shadow: inset 0 4px 0 var(--orange-500);
}
#proceso .step__n {
  width: auto;
  height: auto;
  place-items: start;
  margin: 0;
  color: var(--orange-600);
  background: transparent;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: .8;
}
#proceso .steps--interactive .step.is-active .step__n {
  color: var(--orange-500);
  background: transparent;
}
#proceso .step h3 {
  max-width: 16ch;
  color: inherit;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.08;
}
#proceso .step p {
  color: rgba(11,27,51,.66);
  font-size: .9rem;
}
#proceso .steps--interactive .step.is-active p {
  color: rgba(255,255,255,.68);
}
#proceso .process-detail {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: .6fr 1.4fr .8fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  margin: 0;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  color: #fff;
  border: 0;
  background: rgba(7,17,31,.92);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
#proceso .process-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 20%, rgba(244,122,32,.14), transparent 28%),
    linear-gradient(90deg, rgba(91,199,230,.055) 1px, transparent 1px);
  background-size: auto, 25% 100%;
  pointer-events: none;
}
#proceso .process-detail > * {
  position: relative;
  z-index: 1;
}
#proceso .process-detail__code {
  color: var(--ice-400);
}
#proceso .process-detail h3 {
  max-width: 24ch;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.04em;
}
#proceso .process-detail p {
  max-width: 56ch;
  margin-top: 10px;
  color: rgba(255,255,255,.68);
}
#proceso .process-detail > strong {
  padding: 0 0 0 24px;
  border-left: 1px solid rgba(255,255,255,.18);
  color: var(--orange-500);
}
.process-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: rgba(255,255,255,.14);
}
.process-proof span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.07);
  font: 800 .8rem var(--font-display);
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  #proceso .section__head,
  #proceso .process-detail {
    grid-template-columns: 1fr;
  }
  #proceso .section__eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }
  #proceso .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  #proceso .steps li {
    min-width: min(78vw, 320px);
    scroll-snap-align: start;
  }
  #proceso .process-detail > strong {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .process-proof {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #proceso {
    background-position: 56% center;
  }
  #proceso .step {
    min-height: 245px;
  }
  .process-proof {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEAD CAPTURE + TRUST SCAFFOLDING 2026-06-19
   ============================================================ */
.testimonials {
  background: #f3f0e9;
}
.testimonial-ledger {
  border-top: 1px solid var(--gray-300);
}
.testimonial-entry {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1.2fr) minmax(200px, .55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--gray-300);
}
.testimonial-entry > span {
  color: var(--orange-600);
  font: 800 .78rem var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.testimonial-entry blockquote {
  margin: 0;
  color: var(--navy-900);
  font: 700 clamp(1.35rem, 2.2vw, 2.15rem)/1.2 var(--font-display);
  letter-spacing: -.025em;
}
.testimonial-entry p {
  margin: 0;
  color: var(--gray-600);
  font-size: .92rem;
}
.contacto__form-panel { justify-content: flex-start; }
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 12px;
}
.lead-form__field { display: grid; gap: 7px; }
.lead-form__field--wide,
.lead-form > .btn,
.lead-form__status { grid-column: 1 / -1; }
.lead-form label { color: var(--white); font-size: .84rem; font-weight: 700; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  color: var(--white);
  background: rgba(3,10,19,.48);
  font: inherit;
}
.lead-form textarea { min-height: 132px; resize: vertical; }
.lead-form select { color-scheme: dark; }
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,.46); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { outline: 3px solid rgba(91,199,230,.45); border-color: var(--ice-400); }
.lead-form input[aria-invalid="true"],
.lead-form select[aria-invalid="true"],
.lead-form textarea[aria-invalid="true"] { border-color: #ff9f6a; }
.lead-form small { color: rgba(255,255,255,.58); font-size: .76rem; }
.lead-form__status { min-height: 24px; margin: 0; color: var(--ice-400) !important; font-weight: 700; }
.lead-form__status.is-error { color: #ffb08a !important; }
.lead-form__status.is-success { color: #8ee6b5 !important; }
.contacto__fallback {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .86rem;
}
.contacto__fallback span { color: rgba(255,255,255,.58); }
.contacto__fallback a { color: var(--ice-400); font-weight: 800; }
body > [inert] { pointer-events: none; user-select: none; }

@media (max-width: 900px) {
  .testimonial-entry { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .lead-form { grid-template-columns: 1fr; }
  .lead-form__field--wide,
  .lead-form > .btn,
  .lead-form__status { grid-column: auto; }
  .contacto__cta { padding: 28px 20px; }
  .contacto__fallback { flex-direction: column; }
}

.lead-form__field { align-content: start; }


/* ============================================================
   VISUAL POLISH 2026-06-19
   ============================================================ */
.stat-unit { min-width: 0; }
.stat-unit :is(.stat__num, strong) {
  display: block; color: var(--ice-400); font-family: var(--font-display);
  font-weight: 800; line-height: .9; letter-spacing: -.045em;
}
.stat-unit :is(.stat__label, small) {
  display: block; color: rgba(255,255,255,.74); font-family: var(--font-display);
  font-size: .72rem; font-weight: 800; line-height: 1.25;
  letter-spacing: .065em; text-transform: uppercase;
}
@media (min-width: 1100px) {
  .hero--field, .hero__inner { min-height: 84vh; }
  .hero__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .58fr);
    gap: clamp(42px, 5vw, 84px);
  }
  .hero__content { max-width: 760px; }
  .hero h1 { max-width: 11ch; font-size: clamp(4.25rem, 6.25vw, 6.85rem); }
  .hero__panel {
    display: block; align-self: center; padding: 1px;
    background: linear-gradient(145deg, rgba(91,199,230,.56), rgba(255,255,255,.08) 55%, rgba(244,122,32,.54));
    box-shadow: 0 28px 70px rgba(0,0,0,.3);
  }
  .hero__media { display: none; }
  .hero__stats {
    margin: 0; padding: 12px; gap: 1px; border: 0;
    background: rgba(5,14,27,.74); backdrop-filter: blur(16px) saturate(1.1);
  }
  .hero__stats::before {
    content: "CAPACIDAD TÉCNICA"; grid-column: 1 / -1; padding: 10px 10px 16px;
    color: rgba(255,255,255,.58); font: 800 .66rem var(--font-display); letter-spacing: .14em;
  }
  .hero__stats .stat {
    min-height: 132px; display: grid; align-content: end; padding: 20px 18px;
    border: 0; background: rgba(255,255,255,.045);
  }
  .hero__stats .stat:nth-child(2n) { background: rgba(255,255,255,.075); }
  .hero__stats .stat__num { font-size: clamp(2rem, 2.8vw, 3rem); }
  .hero__stats .stat__label { margin-top: 10px; }
}
.hero__proofline {
  overflow: hidden; border: 1px solid rgba(255,255,255,.2);
  border-left: 4px solid var(--orange-500); background: rgba(5,14,27,.5);
  backdrop-filter: blur(8px);
}
.hero__proofline span {
  position: relative; padding: 10px 14px; border-right: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.8); font-size: .76rem; font-weight: 750; letter-spacing: .035em;
}
.case-proof { gap: 1px; }
.case-proof .stat-unit {
  grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px;
  align-content: center; min-height: 104px; padding: 16px 18px;
}
.case-proof .stat-unit strong { font-size: clamp(1.8rem, 2.35vw, 2.65rem); }
.case-proof .stat-unit small { margin: 0; }

.section { position: relative; isolation: isolate; }
.section + .section { box-shadow: inset 0 1px rgba(11,27,51,.1); }
.section--dark + .section,
.section + .section--dark {
  box-shadow: inset 0 1px rgba(255,255,255,.14), 0 -18px 44px rgba(5,14,27,.06);
}
.section__eyebrow {
  display: flex; align-items: center; gap: 12px; font-size: .78rem;
  font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.section__eyebrow::before {
  flex: 0 0 38px; width: 38px; height: 3px; background: var(--orange-500);
}
.section--dark .section__eyebrow::before { background: var(--ice-400); }

.service-feature, .service-panel, .industry-card,
.case-showcase .case, .testimonial-card {
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.service-feature, .service-panel, .industry-card { overflow: hidden; }
.service-feature > img, .service-panel img, .industry-card img {
  filter: saturate(.82) contrast(1.06) brightness(.94);
  transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.service-feature:hover, .service-panel:hover, .industry-card:hover {
  transform: translateY(-6px); border-color: rgba(244,122,32,.45);
  box-shadow: 0 22px 46px rgba(5,14,27,.16);
}
.service-feature:hover > img, .service-panel:hover img, .industry-card:hover img {
  transform: scale(1.045); filter: saturate(.94) contrast(1.07) brightness(.98);
}
.case-showcase .case:hover,
.case-showcase .case:focus-visible { transform: translateY(-5px); }
.case-showcase .case::before { transition: background .35s ease, backdrop-filter .35s ease; }
.btn {
  transition: transform .18s ease, box-shadow .18s ease,
  background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, .case:focus-visible, .industry-card:focus-within {
  outline: 3px solid var(--ice-400); outline-offset: 3px;
}

.testimonials { background: linear-gradient(135deg, #f5f2eb, #eef4f6); }
.testimonial-ledger {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px); border: 0;
}
.testimonial-card {
  position: relative; display: grid; grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto; gap: 24px; min-height: 340px;
  padding: clamp(28px, 3vw, 40px); overflow: hidden;
  border: 1px solid rgba(11,27,51,.14); background: rgba(255,255,255,.78);
  box-shadow: 0 14px 35px rgba(11,27,51,.07);
}
.testimonial-card::before {
  content: "“"; position: absolute; top: 3px; right: 18px;
  color: rgba(244,122,32,.16); font: 800 7.5rem/.9 Georgia, serif;
}
.testimonial-card::after {
  content: ""; align-self: end; justify-self: end; width: 86px; height: 34px;
  border: 1px dashed rgba(11,27,51,.2);
  background: linear-gradient(135deg, rgba(11,27,51,.025), rgba(91,199,230,.08));
}
.testimonial-card blockquote {
  position: relative; z-index: 1; font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}
.testimonial-card:hover {
  transform: translateY(-6px); border-color: rgba(244,122,32,.42);
  box-shadow: 0 24px 52px rgba(11,27,51,.12);
}

.wa-float {
  right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px);
  z-index: 50; max-width: min(280px, calc(100vw - 28px));
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.wa-float.is-near-contact {
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px);
}

@media (max-width: 900px) {
  .hero__panel { display: none; }
  .testimonial-ledger { grid-template-columns: 1fr; }
  .testimonial-card { min-height: 0; }
}
@media (max-width: 640px) {
  .hero__proofline { width: 100%; }
  .hero__proofline span { flex: 1 1 auto; padding: 8px 10px; font-size: .68rem; }
  .case-proof { grid-template-columns: 1fr; }
  .case-proof .stat-unit {
    grid-template-columns: minmax(78px, .32fr) minmax(0, 1fr);
    grid-template-rows: 1fr; align-items: center; gap: 16px;
    min-height: 68px; padding: 12px 16px;
  }
  .case-proof .stat-unit strong { font-size: clamp(2rem, 10vw, 2.7rem); }
  .case-proof .stat-unit small { font-size: .68rem; }
  .wa-float {
    width: 46px; min-height: 46px; height: 46px;
    right: 14px; bottom: 14px; padding: 0;
  }
  .wa-float svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-feature, .service-panel, .industry-card, .case-showcase .case,
  .testimonial-card, .btn, .wa-float, .service-feature > img,
  .service-panel img, .industry-card img { transition: none !important; }
  .service-feature:hover, .service-panel:hover, .industry-card:hover,
  .case-showcase .case:hover, .testimonial-card:hover,
  .btn:hover, .btn:active { transform: none !important; }
  .service-feature:hover > img, .service-panel:hover img,
  .industry-card:hover img { transform: none !important; }
}

/* ============================================================
   THERMAL ENGINEERING DIRECTION 2026-06-19
   Blueprint document, open editorial stats and cold material.
   ============================================================ */
:root {
  --ice: #67d7f3;
  --orange: #f47a20;
  --frost: #edfaff;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", monospace;
  --blueprint-line: rgba(103, 215, 243, .08);

  /* Motion tokens (single source of truth for new timeline work) */
  --motion-fast: .22s;
  --motion-medium: .5s;
  --motion-slow: .9s;
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
}

.section__eyebrow,
.hero__brand-signal,
.hero__proofline,
.stat-unit :is(.stat__label, small),
.sband-label,
.case__sector,
.process-detail__code {
  font-family: var(--font-mono);
}

.section__eyebrow {
  letter-spacing: .13em;
  font-size: .72rem;
}
.section__eyebrow::before {
  width: 44px;
  height: 1px;
  background: currentColor;
}

.section--blueprint,
.solution-finder,
#proceso {
  background-image:
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Hero: one photographic field, no dashboard card. */
.hero--field {
  position: relative;
  min-height: min(900px, calc(100svh - 84px));
  overflow: hidden;
}
.hero__inner {
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: clamp(42px, 6vh, 72px);
  padding-bottom: clamp(150px, 19vh, 190px);
}
.hero__content { max-width: 740px; }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(3.5rem, 5vw, 5.4rem);
  line-height: .9;
}
.hero__lead { font-size: clamp(1rem, 1.35vw, 1.12rem); }
.hero__cta { margin-block: 22px 16px; }
.hero__pills,
.hero__stamp { display: none; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,215,243,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,215,243,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .17;
  mix-blend-mode: screen;
}
.hero__proofline {
  border: 0;
  border-left: 1px solid var(--orange);
  background: transparent;
  backdrop-filter: none;
}
.hero__proofline span { padding-block: 5px; }
.hero__panel {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  right: clamp(76px, 8vw, 120px);
  bottom: clamp(34px, 5vh, 64px);
  display: block;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.hero__media { display: none; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: radial-gradient(circle at 50% 100%, rgba(5,14,27,.62), transparent 72%);
  backdrop-filter: none;
}
.hero__stats::before { content: none; }
.hero__stats .stat {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 18px clamp(18px, 2.6vw, 38px);
  border: 0;
  border-left: 1px solid rgba(255,255,255,.28);
  background: transparent !important;
}
.hero__stats .stat:first-child { border-left-color: var(--ice); }
.hero__stats .stat__num {
  flex: 0 0 auto;
  color: var(--frost);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: .82;
}
.hero__stats .stat__label {
  max-width: 16ch;
  margin: 0 0 2px;
  font: 700 clamp(.61rem, .78vw, .75rem)/1.3 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__blueprint {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  color: rgba(210,247,255,.72);
  font: 600 .62rem var(--font-mono);
  letter-spacing: .08em;
}
.hero__dimension {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__dimension::before,
.hero__dimension::after {
  content: "";
  display: block;
  width: clamp(28px, 5vw, 84px);
  height: 1px;
  background: currentColor;
  clip-path: polygon(0 50%, 6px 0, 6px 40%, calc(100% - 6px) 40%, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, calc(100% - 6px) 60%, 6px 60%, 6px 100%);
}
.hero__dimension--temp { top: 18%; right: 12%; }
.hero__dimension--ruc { top: 42%; right: 8%; }
.hero__dimension--place { top: 58%; right: 18%; }
.hero__review-seal {
  position: absolute;
  top: 28%;
  right: 29%;
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid rgba(103,215,243,.5);
  border-radius: 50%;
  transform: rotate(-9deg);
  text-align: center;
}
.hero__review-seal b { display: block; color: var(--ice); font-size: 1.25rem; }

.hero__temperature-rail {
  position: absolute;
  z-index: 3;
  top: 5%;
  right: clamp(18px, 2.2vw, 36px);
  bottom: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
  color: rgba(255,255,255,.72);
  font: 600 .62rem var(--font-mono);
}
.hero__temperature-rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--orange), #f0d5b9 42%, var(--ice) 72%, #dffaff);
}
.hero__temperature-rail span { position: relative; }
.hero__temperature-rail span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 8px;
  height: 1px;
  background: currentColor;
}
.hero__temperature-marker {
  position: absolute;
  z-index: 2;
  top: 35%;
  right: -6px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--navy-900);
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 18px rgba(103,215,243,.75);
}

/* One open stat language across hero band and clients. */
.stats-band { border-block: 1px solid rgba(103,215,243,.18); }
.stats-band__inner,
.case-proof {
  background: transparent;
  border: 0;
}
.sband-item,
.case-proof .stat-unit {
  --stat-line: 0;
  position: relative;
  min-height: 106px;
  padding: 20px clamp(16px, 2.4vw, 32px);
  border: 0;
  border-left: 1px solid rgba(103,215,243,.28);
  background: transparent;
}
.sband-item::after,
.case-proof .stat-unit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--ice), transparent);
  transform: scaleX(var(--stat-line));
  transform-origin: left;
}
.sband-num,
.case-proof .stat-unit strong {
  color: var(--ice);
  font-size: clamp(2.1rem, 3.6vw, 4rem);
}

/* Services become an editorial engineering index. */
.services-editorial,
.services-editorial__side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-feature,
.service-panel,
.service-panel--reverse {
  position: relative;
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--gray-300);
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.service-feature::before,
.service-panel::before {
  position: absolute;
  z-index: 4;
  top: 28px;
  left: 24px;
  color: var(--orange);
  font: 700 .72rem var(--font-mono);
}
.service-feature::before { content: "01 / FRÍO"; color: var(--ice); }
.service-panel[data-service-category="clima"]::before { content: "02 / CLIMA"; color: var(--ice); }
.service-panel[data-service-category="energia"]::before { content: "03 / ENERGÍA"; }
.service-feature::after,
.service-panel::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ice);
}
.service-panel[data-service-category="energia"]::after { background: var(--orange); }
.service-feature > img,
.service-panel img {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 58%);
  opacity: .84;
}
.service-feature__shade {
  z-index: -1;
  background: linear-gradient(90deg, var(--gray-50) 0 54%, rgba(245,247,250,.8) 68%, transparent);
}
.service-feature__content,
.service-panel__copy,
.service-panel--reverse .service-panel__copy {
  position: relative;
  z-index: 2;
  order: initial;
  width: 58%;
  max-width: none;
  padding: 72px clamp(28px, 5vw, 72px) 34px;
}
.service-feature h3,
.service-panel h3 {
  max-width: 15ch;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: -.045em;
}
.service-feature__eyebrow { font-family: var(--font-mono); }
.service-feature:hover,
.service-panel:hover { transform: none; box-shadow: none; }
.service-feature:hover > img,
.service-panel:hover img { clip-path: inset(0); transform: scale(1.035); }

/* Cold matter in sectors. */
.section--industries { overflow: hidden; }
.section--industries::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -8%;
  background: url("../img/generated/textures/frost-overlay.webp") center var(--frost-y, 0px) / 720px auto repeat;
  mix-blend-mode: screen;
  opacity: .16;
  pointer-events: none;
}
.section--industries > .container { position: relative; z-index: 2; }

/* Clients as an engineering dossier. */
.case-proof { align-self: stretch; }
.case-showcase .case::after {
  content: "CONFORME";
  inset: auto 18px 20px auto;
  width: auto;
  height: auto;
  padding: 7px 10px;
  color: rgba(103,215,243,.82);
  border: 1px solid rgba(103,215,243,.56);
  background: rgba(5,14,27,.28);
  transform: rotate(-7deg);
  font: 700 .62rem var(--font-mono);
  letter-spacing: .12em;
}
.case-showcase .case::marker { content: none; }
.case-showcase .case[data-project-code] .case__sector::before {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 7px;
  color: var(--frost);
  border: 1px solid rgba(255,255,255,.24);
  font: 600 .6rem var(--font-mono);
  letter-spacing: .08em;
}
.case-showcase .case:nth-child(4n+1) .case__sector::before { content: "IC-FRIO/01"; }
.case-showcase .case:nth-child(4n+2) .case__sector::before { content: "IC-MEP/02"; }
.case-showcase .case:nth-child(4n+3) .case__sector::before { content: "IC-MANT/03"; }
.case-showcase .case:nth-child(4n+4) .case__sector::before { content: "IC-AUTO/04"; }

/* Process becomes a refrigerant line, not five cards. */
#proceso { --tube-fill: 0%; }
.steps--interactive {
  position: relative;
  grid-template-columns: 1fr !important;
  gap: 0;
  padding-left: 62px;
  overflow: visible !important;
}
.steps--interactive::before,
.steps--interactive::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 6px;
  height: calc(100% - 48px);
  border-radius: 99px;
}
.steps--interactive::before {
  background: linear-gradient(90deg, #536071, #d5dde4 45%, #4c5968);
  box-shadow: inset 0 0 0 1px rgba(11,27,51,.28);
}
.steps--interactive::after {
  height: var(--tube-fill);
  background: linear-gradient(var(--ice), #dffaff);
  box-shadow: 0 0 18px rgba(103,215,243,.55);
}
.steps--interactive li { position: relative; }
.steps--interactive li::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: -48px;
  top: 30px;
  width: 24px;
  height: 24px;
  border: 5px double var(--navy-700);
  border-radius: 50%;
  background: var(--gray-50);
}
.steps--interactive .step {
  min-height: 0;
  display: grid;
  grid-template-columns: 64px minmax(220px, .7fr) 1fr;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  background: transparent;
  text-align: left;
}
.step__n { font-family: var(--font-mono); color: var(--orange); }

.testimonials {
  background: linear-gradient(180deg, #edfaff, #f7fbfd);
}
.testimonial-card {
  border: 1px solid rgba(103,215,243,.28);
  background:
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(224,244,250,.48)),
    url("../img/generated/textures/frost-overlay.webp") center / 520px auto;
  background-blend-mode: normal, screen;
  backdrop-filter: blur(14px) saturate(.9);
  box-shadow: 0 18px 46px rgba(11,27,51,.09);
}

/* Thermal seam between light and dark sections. */
.section::after {
  content: "";
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 10px;
  background: linear-gradient(90deg, var(--orange), var(--ice));
  clip-path: polygon(0 74%, 46% 74%, 48% 0, 52% 100%, 54% 74%, 100% 74%, 100% 86%, 54% 86%, 52% 100%, 48% 14%, 46% 86%, 0 86%);
  opacity: .72;
  pointer-events: none;
}

@media (max-width: 1099px) {
  .hero__blueprint,
  .hero__temperature-rail { display: none; }
  .hero__inner { padding-bottom: 72px; }
  .hero__panel { display: none; }
}

@media (max-width: 760px) {
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .case-proof .stat-unit { min-height: 68px; }
  .service-feature,
  .service-panel,
  .service-panel--reverse { min-height: 460px; }
  .service-feature > img,
  .service-panel img { inset: 0; width: 100%; height: 100%; clip-path: none; opacity: .62; }
  .service-feature__shade { background: linear-gradient(180deg, rgba(5,14,27,.24), rgba(5,14,27,.95)); }
  .service-feature__content,
  .service-panel__copy,
  .service-panel--reverse .service-panel__copy {
    align-self: end;
    width: 100%;
    padding: 76px 24px 30px;
  }
  .service-feature h3,
  .service-panel h3,
  .service-panel p:not(.service-feature__eyebrow),
  .service-panel li { color: var(--white); }
  .steps--interactive { padding-left: 44px; }
  .steps--interactive::before,
  .steps--interactive::after { left: 13px; }
  .steps--interactive li::before { left: -42px; }
  .steps--interactive .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .steps--interactive .step p { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  #proceso { --tube-fill: 100%; }
  .sband-item,
  .case-proof .stat-unit { --stat-line: 1; }
  .hero__temperature-marker { top: calc(100% - 13px); }
  .section--industries::before { background-position-y: 0 !important; }
}

/* ============================================================
   UI AUDIT CORRECTIONS — 2026-06-19
   Final overrides intentionally neutralize legacy high-specificity rules.
   ============================================================ */

section[id] { scroll-margin-top: 112px; }

.solution-finder {
  background:
    linear-gradient(90deg, rgba(6,16,29,.98) 0%, rgba(6,16,29,.9) 42%, rgba(6,16,29,.68) 100%),
    linear-gradient(180deg, rgba(6,16,29,.9), rgba(6,16,29,.66) 52%, rgba(6,16,29,.96)),
    url("../img/generated/diagnostico-background-industrial-ai-v1.webp") center / cover no-repeat,
    #07111f;
}

.solution-option {
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 14px;
  align-content: center;
}
.solution-option strong,
.solution-option small {
  display: block;
  grid-column: 2;
  min-width: 0;
}
.solution-option strong { margin: 0 0 7px; line-height: 1.18; }
.solution-option small { line-height: 1.45; }

.service-feature > img,
.service-panel img { z-index: 0; }
.service-feature__shade { z-index: 1; }
.service-feature__content,
.service-panel__copy,
.service-panel--reverse .service-panel__copy { z-index: 2; }
.service-feature__content > p:not(.service-feature__eyebrow) { color: var(--gray-600); }

.case-showcase { overflow: hidden; }
.case-track {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  animation: none;
  transform: none;
}
.case-track .case {
  min-width: 0;
  min-height: 420px !important;
  height: 420px;
  grid-row: auto !important;
  flex: none;
}
.case-track .case:nth-child(n+5) { display: none !important; }

.wa-float {
  width: 54px;
  height: 54px;
  min-height: 54px;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  transition: width .25s ease, padding .25s ease, gap .25s ease, transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.wa-float span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width .25s ease, opacity .2s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  width: 254px;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 18px 10px 13px;
  transform: none;
}
.wa-float:hover span,
.wa-float:focus-visible span { max-width: 190px; opacity: 1; }

#proceso { --tube-progress: 0; }
#proceso h2 {
  max-width: 12ch;
  color: var(--navy-900);
  text-shadow: none;
}
#proceso .section__intro { color: var(--gray-600); }
#proceso .section__eyebrow { color: var(--orange-600); }
#proceso .steps {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0;
  padding-left: 62px;
  overflow: visible !important;
  border: 0;
  border-top: 0;
  background: transparent;
}
#proceso .steps::before {
  content: "";
  display: block;
}
#proceso .steps::after {
  height: calc(100% - 48px);
  transform: scaleY(var(--tube-progress));
  transform-origin: top center;
  will-change: transform;
}

.case-showcase:hover .case-track,
.case-showcase:focus-within .case-track {
  animation-play-state: running;
}
#proceso .steps li { min-width: 0; min-height: 0; }
#proceso .steps--interactive .step,
#proceso .steps--interactive .step:hover,
#proceso .steps--interactive .step.is-active {
  min-height: 0;
  display: grid;
  grid-template-columns: 64px minmax(220px, .7fr) minmax(0, 1fr);
  flex-direction: initial;
  justify-content: initial;
  align-items: center;
  gap: 26px;
  padding: 24px 0;
  color: var(--navy-900);
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}
#proceso .steps--interactive .step.is-active {
  padding-left: 18px;
  background: rgba(103,215,243,.08);
  box-shadow: inset 3px 0 var(--ice);
}
#proceso .step__n,
#proceso .steps--interactive .step.is-active .step__n {
  color: var(--orange-600);
  font-size: clamp(2rem, 4vw, 3.5rem);
}
#proceso .step h3 { max-width: 20ch; font-size: clamp(1.05rem, 1.7vw, 1.45rem); }
#proceso .step p,
#proceso .steps--interactive .step.is-active p { color: var(--gray-600); }

.hero__temperature-marker { will-change: transform; }

#proceso .step,
#proceso .step__n {
  transition: color .28s ease, background-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
#proceso .steps--interactive .step.is-active .step__n { transform: translateX(6px); }
#proceso .steps--interactive li::before { transition: border-color .28s ease, background-color .28s ease, box-shadow .28s ease; }
#proceso .steps--interactive li:has(.step.is-active)::before {
  border-color: var(--ice);
  background: var(--navy-900);
  box-shadow: 0 0 0 6px rgba(103,215,243,.13), 0 0 20px rgba(103,215,243,.38);
}
#proceso .steps--interactive li:has(.step.is-complete)::before {
  border-color: var(--ice);
  background: var(--ice);
  box-shadow: 0 0 0 4px rgba(103,215,243,.1);
}

#proceso .process-detail {
  min-height: 220px;
  grid-template-columns: 150px minmax(0, 1.4fr) minmax(240px, .72fr);
  gap: 0;
  padding: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(244,122,32,.14), transparent 30%),
    linear-gradient(120deg, #0b1929, #101f31 64%, #171d28);
}
#proceso .process-detail__index,
#proceso .process-detail__message,
#proceso .process-detail__outcome {
  position: relative;
  z-index: 2;
}
#proceso .process-detail__index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
#proceso .process-detail__index span {
  color: var(--ice);
  font: 700 clamp(4.4rem, 7vw, 6.2rem)/.8 var(--font-mono);
  letter-spacing: -.08em;
}
#proceso .process-detail__index small {
  margin-top: 16px;
  color: rgba(255,255,255,.42);
  font: 600 .72rem var(--font-mono);
  letter-spacing: .12em;
}
#proceso .process-detail__message { padding: 42px clamp(30px, 4vw, 56px); }
#proceso .process-detail__kicker,
#proceso .process-detail__outcome > span {
  display: block;
  margin-bottom: 13px;
  color: var(--ice);
  font: 700 .68rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
#proceso .process-detail__outcome {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-left: 1px solid rgba(255,255,255,.12);
}
#proceso .process-detail__outcome strong {
  color: var(--white);
  font: 700 1.05rem/1.35 var(--font-display);
}
#proceso .process-detail__outcome small {
  margin-top: 12px;
  color: rgba(255,255,255,.44);
  font-size: .72rem;
}
#proceso .process-detail__timer {
  height: 3px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}
#proceso .process-detail__timer i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ice), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 760px) {
  section[id] { scroll-margin-top: 82px; }
  .solution-option {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
  }
  .solution-option__code { grid-row: 1 / span 2; margin: 1px 0 0; }
  .solution-option strong,
  .solution-option small { grid-column: 2; }

  .case-showcase {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .case-track {
    width: max-content;
    grid-template-columns: repeat(4, minmax(280px, 82vw));
  }
  .case-track .case {
    min-height: 390px !important;
    height: 390px;
    scroll-snap-align: start;
  }

  .wa-float:hover,
  .wa-float:focus-visible {
    width: 46px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .wa-float:hover span,
  .wa-float:focus-visible span { max-width: 0; opacity: 0; }

  #proceso .steps { padding-left: 44px; }
  #proceso .steps--interactive .step,
  #proceso .steps--interactive .step:hover,
  #proceso .steps--interactive .step.is-active {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }
  #proceso .steps--interactive .step.is-active { padding-left: 12px; }
  #proceso .steps--interactive .step p { grid-column: 2; }
  #proceso .process-detail {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  #proceso .process-detail__index {
    min-height: 112px;
    flex-direction: row;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  #proceso .process-detail__index span { font-size: 3.8rem; }
  #proceso .process-detail__index small { margin-top: 16px; }
  #proceso .process-detail__message { padding: 28px 22px; }
  #proceso .process-detail__outcome { padding: 24px 22px; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #proceso { --tube-progress: 1; }
  .wa-float,
  .wa-float span { transition: none !important; }
  .hero__temperature-marker { transform: translateY(calc(100% - 13px)); }
  #proceso .step,
  #proceso .step__n,
  #proceso .steps--interactive li::before { transition: none !important; }
  #proceso .process-detail__timer i { transform: scaleX(1); }
}

/* Contact form: balanced technical intake. */
.contacto {
  grid-template-columns: minmax(300px, .76fr) minmax(620px, 1.24fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.contacto__form-panel {
  padding: clamp(36px, 4vw, 58px);
}
.contacto__form-panel > h3 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  line-height: 1.02;
}
.contacto__form-panel > p { max-width: 52ch; }
.lead-form {
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 30px;
}
.lead-form__group {
  min-width: 0;
  margin: 0;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.lead-form__group legend {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-bottom: 18px;
  color: var(--white);
  font: 700 .78rem var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lead-form__group legend span {
  color: var(--ice);
  font-family: var(--font-mono);
}
.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.lead-form__field--wide { grid-column: 1 / -1; }
.lead-form__field { grid-template-rows: auto minmax(54px, auto); }
.lead-form label { line-height: 1.2; }
.lead-form input,
.lead-form select {
  height: 54px;
  min-height: 54px;
}
.lead-form textarea {
  min-height: 150px;
  line-height: 1.45;
}
.lead-form > .btn {
  grid-column: auto;
  min-height: 56px;
  margin: 0;
}
.lead-form__status { grid-column: auto; }

/* Services: core imagery must remain visible at every breakpoint. */
.service-feature > img,
.service-panel img {
  clip-path: none;
  object-position: center;
}
.service-feature > img {
  left: auto;
  right: 0;
}
.service-feature:hover > img,
.service-panel:hover img { clip-path: none; }

@media (max-width: 1100px) {
  .contacto { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .contacto__form-panel { padding: 30px 20px; }
  .lead-form__grid { grid-template-columns: 1fr; gap: 17px; }
  .lead-form__field--wide { grid-column: auto; }
}

/* Shared surfaces: one header material and one photographic contrast. */
:root {
  --header-surface: #f7f3ea;
  --scene-overlay-x: linear-gradient(90deg, rgba(5,14,27,.96) 0%, rgba(5,14,27,.86) 36%, rgba(5,14,27,.46) 62%, rgba(5,14,27,.28) 100%);
  --scene-overlay-y: linear-gradient(180deg, rgba(5,14,27,.42), rgba(5,14,27,.2) 46%, rgba(5,14,27,.82));
}
.contact-strip,
.site-header { background: var(--header-surface); }
.contact-strip {
  border-bottom: 1px solid rgba(11,27,51,.09);
}
.site-header {
  border-top: 0;
  box-shadow: 0 10px 30px rgba(7,20,42,.1);
}
.hero__bg {
  background:
    var(--scene-overlay-x),
    var(--scene-overlay-y),
    url("../img/generated/hero-background-industrial-ai-v2.webp") center 44% / cover no-repeat;
}
.solution-finder {
  background:
    var(--scene-overlay-x),
    var(--scene-overlay-y),
    url("../img/generated/diagnostico-background-industrial-ai-v1.webp") center / cover no-repeat;
}

/* Process detail belongs to the light engineering surface. */
#proceso .process-detail {
  color: var(--navy-900);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  background: linear-gradient(90deg, rgba(103,215,243,.09), rgba(255,255,255,.48));
  box-shadow: none;
}
#proceso .process-detail::after {
  background:
    radial-gradient(circle at 92% 18%, rgba(103,215,243,.13), transparent 30%),
    linear-gradient(90deg, rgba(11,27,51,.035) 1px, transparent 1px);
  opacity: 1;
}
#proceso .process-detail__index { border-color: rgba(11,27,51,.13); }
#proceso .process-detail__index span { color: var(--orange-600); }
#proceso .process-detail__index small { color: var(--gray-600); }
#proceso .process-detail h3 { color: var(--navy-900); }
#proceso .process-detail p { color: var(--gray-600); }
#proceso .process-detail__kicker,
#proceso .process-detail__outcome > span { color: var(--orange-600); }
#proceso .process-detail__outcome { border-color: rgba(11,27,51,.13); }
#proceso .process-detail__outcome strong { color: var(--navy-900); }
#proceso .process-detail__outcome small { color: var(--gray-600); }
#proceso .process-detail__timer { background: rgba(11,27,51,.12); }

@media (max-width: 760px) {
  #proceso .process-detail__index,
  #proceso .process-detail__outcome { border-color: rgba(11,27,51,.13); }
}

/* Animated "thermal seam": an energy->cold pulse travels along the conduit. */
.scene-seam {
  position: relative;
  z-index: 12;
  height: 0;
  overflow: visible;
  background: transparent;
}
.scene-seam::before {
  content: none;
}
.scene-seam__rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, rgba(11,27,51,.16) 14%, rgba(11,27,51,.16) 86%, transparent);
}
.scene-seam__rail::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -12%;
  width: clamp(120px, 18vw, 240px);
  height: 4px;
  border-radius: 4px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--orange) 28%, #fff 50%, var(--ice) 72%, transparent);
  box-shadow: 0 0 16px 2px rgba(91,199,230,.5);
  animation: seam-flow 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes seam-flow {
  0% { left: -12%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { left: 112%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-seam__rail::after {
    animation: none;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Services: the first visual follows the same clean split as the next rows. */
@media (min-width: 761px) {
  .service-feature__shade { display: none; }
  .service-feature > img {
    opacity: .84;
    object-position: 58% center;
  }
}

/* Client cases: seamless perpetual project reel. */
.case-showcase { overflow: hidden; }
.case-track {
  width: max-content;
  display: flex;
  grid-template-columns: none;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
  animation: cases-perpetual-reel 34s linear infinite;
  will-change: transform;
}
.case-track .case,
.case-track .case:nth-child(n+5) {
  display: flex !important;
  width: clamp(280px, 25vw, 360px);
  min-height: 420px !important;
  height: 420px;
  flex: 0 0 clamp(280px, 25vw, 360px);
}
.case-track .case.is-filtered-out {
  display: none !important;
}
@keyframes cases-perpetual-reel {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px) {
  .case-track .case,
  .case-track .case:nth-child(n+5) {
    width: 82vw;
    min-height: 390px !important;
    height: 390px;
    flex-basis: 82vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-track {
    animation: none;
    transform: none !important;
  }
}

/* Hero metrics: four equal, readable technical columns. */
@media (min-width: 1100px) {
  .hero__stats .stat {
    min-width: 0;
    min-height: 128px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 22px clamp(22px, 2.4vw, 36px);
  }
  .hero__stats .stat__num {
    max-width: 100%;
    font-size: clamp(2.75rem, 3.8vw, 4.25rem);
    line-height: .86;
    white-space: nowrap;
  }
  .hero__stats .stat__label {
    max-width: 22ch;
    min-height: 2.6em;
    margin: 0;
  }
}

/* ============================================================
   PREMIUM NAVIGATION 2026-06-19
   Page scroll progress + active chapter indicator in the header.
   ============================================================ */
.site-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  pointer-events: none;
}
.site-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--orange), var(--ice));
  box-shadow: 0 0 10px rgba(103, 215, 243, .55);
  will-change: transform;
}
.site-progress__chapter {
  position: absolute;
  left: 50%;
  bottom: 5px;
  display: none;
  font: 700 .64rem/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-600);
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.site-header.is-scrolled .site-progress__chapter { opacity: .92; transform: translateX(-50%); }

/* Active section highlight on the desktop nav. */
.nav__menu a[aria-current="page"] {
  color: var(--orange-600);
  border-bottom-color: var(--orange-500);
}

/* Mobile: nav is collapsed, so surface the active chapter as a label. */
@media (max-width: 900px) {
  .site-progress__chapter { display: block; }
}

/* Perf: stop continuous loops while their section is off-screen. */
.case-track.is-paused,
.marquee__track.is-paused { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .site-progress__chapter { transition: none; }
}

/* ============================================================
   STORYTELLING ENHANCEMENTS 2026-06-20 (additive, no rip-replace)
   Realza el índice de servicios, focos en sectores, centro del
   carrusel y apertura del preview — sin tocar la estructura previa.
   ============================================================ */

/* (1) Servicios índice: la fila activa (hover o centrada en viewport)
   adelanta su imagen-peek; las demás se atenúan. Solo en desktop. */
@media (min-width: 1100px) {
  .service-feature > img,
  .service-panel img {
    transition: opacity var(--motion-medium) var(--ease-premium),
                transform var(--motion-slow) var(--ease-premium);
  }
  /* Atenúa las filas no enfocadas; la activa recupera brillo y zoom sutil.
     SIN clip-path: el encuadre de la foto no se recorta. */
  .services-editorial:hover .service-feature:not(:hover) > img,
  .services-editorial:hover .service-panel:not(:hover) img { opacity: .6; }
  .service-feature:hover > img,
  .service-panel:hover img,
  .service-feature.is-active > img,
  .service-panel.is-active img {
    opacity: 1;
    transform: scale(1.03);
  }
}

/* (2) Sectores: focos interactivos — spotlight sobre la card enfocada
   y marcador "+" que reacciona a hover/teclado. */
.industry-card { transition: filter var(--motion-medium) var(--ease-premium); }
.industries__stories:hover .industry-card:not(:hover),
.industries__stories:focus-within .industry-card:not(:focus-within) {
  filter: brightness(.68) saturate(.9);
}
.industry-card__content { position: relative; }
.industry-card__content::after {
  content: "+";
  position: absolute;
  top: clamp(38px, 6vw, 82px);
  right: clamp(20px, 3vw, 44px);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font: 700 1.25rem/1 var(--font-mono);
  color: var(--ice);
  border: 1px solid rgba(103, 215, 243, .5);
  border-radius: 50%;
  opacity: .45;
  transition: opacity var(--motion-medium) var(--ease-premium),
              transform var(--motion-medium) var(--ease-premium);
}
.industry-card:hover .industry-card__content::after,
.industry-card:focus-within .industry-card__content::after {
  opacity: 1;
  transform: scale(1.12) rotate(90deg);
}

/* (3) Clientes: énfasis del centro del carrusel (bordes en penumbra). */
.case-showcase { position: relative; }
.case-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(7, 17, 31, .6) 0%, transparent 16%,
    transparent 84%, rgba(7, 17, 31, .6) 100%);
}

/* (4) Preview de trabajos: apertura fluida (fade backdrop + pop dialog). */
.case-modal.is-open .case-modal__backdrop { animation: case-fade var(--motion-medium) var(--ease-premium); }
.case-modal.is-open .case-modal__dialog {
  will-change: transform, opacity;
  animation: case-pop var(--motion-medium) var(--ease-premium);
}
@keyframes case-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes case-pop {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .service-feature > img,
  .service-panel img,
  .industry-card,
  .industry-card__content::after { transition: none; }
  .industries__stories:hover .industry-card:not(:hover),
  .industries__stories:focus-within .industry-card:not(:focus-within) { filter: none; }
  .case-modal.is-open .case-modal__backdrop,
  .case-modal.is-open .case-modal__dialog { animation: none; }
}
