/* ============================================================
   INVENTUM · Design System v4.0
   Concepto: "Hoja de datos hecha obra"
   Prefijo: iv-  |  Fuente: Montserrat
   Tokens de marca: #ED6E1E (naranja), #6F8BA0 (gris-acero), #0d1b26 (dark)
   ============================================================ */

/* ── FUENTE ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── TOKENS CORRECTOS ────────────────────────────────────── */
:root {
  --iv-orange:    #ED6E1E;
  --iv-orange-dk: #c95a10;
  --iv-orange-lt: rgba(237,110,30,.12);
  --iv-steel:     #6F8BA0;
  --iv-steel-lt:  #8fa8bc;
  --iv-steel-bg:  rgba(111,139,160,.08);
  --iv-dark:      #0d1b26;
  --iv-dark2:     #132233;
  --iv-dark3:     #1a2f45;
  --iv-white:     #ffffff;
  --iv-light:     #f7f8fa;
  --iv-warm:      #f5f3ef;
  --iv-text:      #1a2535;
  --iv-muted:     #5a6a7a;
  --iv-border:    #dde3e9;
  --iv-font:      'Montserrat', -apple-system, sans-serif;
  --iv-ease:      cubic-bezier(.25,.46,.45,.94);
  --iv-radius:    4px;
  --iv-r1:        4px;
  --iv-r2:        8px;
  --iv-r3:        16px;

  /* Gradientes */
  --iv-grad-blue: linear-gradient(135deg, #0d1b26 0%, #1a2f45 100%);

  /* Backgrounds extra */
  --iv-bg2:       #f0f4f8;

  /* Legacy compat (sobreescriben design.css anterior) */
  --iv-blue:     #0d1b26;
  --iv-blue2:    #132233;
  --iv-blue3:    #1a2f45;
  --iv-fh:       'Montserrat', sans-serif;
  --iv-fb:       'Montserrat', sans-serif;
}

/* ── RESET GLOBAL ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--iv-font);
  color: var(--iv-text);
  background: var(--iv-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TIPOGRAFÍA ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--iv-font);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}

/* ── BOTONES ─────────────────────────────────────────────── */
.iv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .22s var(--iv-ease);
  border: 1.5px solid transparent;
  text-decoration: none;
}
.iv-btn--primary {
  background: var(--iv-orange);
  color: var(--iv-white);
  border-color: var(--iv-orange);
}
.iv-btn--primary:hover {
  background: var(--iv-orange-dk);
  border-color: var(--iv-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237,110,30,.35);
}
.iv-btn--ghost {
  background: transparent;
  color: var(--iv-white);
  border-color: rgba(255,255,255,.35);
}
.iv-btn--ghost:hover {
  border-color: var(--iv-orange);
  color: var(--iv-orange);
}
.iv-btn--dark {
  background: var(--iv-dark);
  color: var(--iv-white);
  border-color: var(--iv-dark);
}
.iv-btn--dark:hover {
  background: var(--iv-dark2);
  transform: translateY(-2px);
}

/* ── HERO ────────────────────────────────────────────────── */
.iv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--iv-dark);
}
.iv-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 50%, rgba(111,139,160,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 80%, rgba(237,110,30,.08) 0%, transparent 50%),
    var(--iv-dark);
}
.iv-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111,139,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,139,160,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.iv-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: 1;
}
.iv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,38,.92) 0%, rgba(13,27,38,.7) 55%, rgba(13,27,38,.5) 100%);
  z-index: 2;
}
.iv-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.iv-hero__content { max-width: 560px; }

/* ── EYEBROW ─────────────────────────────────────────────── */
.iv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--iv-steel-lt);
  margin-bottom: 24px;
}
.iv-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--iv-orange);
  flex-shrink: 0;
}

/* ── HERO TITLE ──────────────────────────────────────────── */
.iv-hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--iv-white);
  margin: 0 0 24px;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.iv-hero__title span { color: var(--iv-orange); }

.iv-hero__sub {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
  margin: 0 0 36px;
  max-width: 420px;
}
.iv-hero__sub strong { color: rgba(255,255,255,.9); font-weight: 600; }

.iv-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── HERO VISUAL ─────────────────────────────────────────── */
.iv-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.iv-hero__badge-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  min-width: 240px;
}
.iv-hero__badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.iv-hero__badge-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--iv-orange);
  line-height: 1;
  min-width: 70px;
}
.iv-hero__badge-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.35;
}

/* ── BARRA LOGOS ─────────────────────────────────────────── */
.iv-logos {
  background: var(--iv-steel);
  padding: 24px;
  border-bottom: 3px solid var(--iv-orange);
}
.iv-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.iv-logos__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.iv-logos__items {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.iv-logos__item {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .05em;
  white-space: nowrap;
}

/* ── CONTENEDOR Y SECCIONES ──────────────────────────────── */
.iv-section { padding: 96px 24px; }
.iv-section--dark  { background: var(--iv-dark);  color: var(--iv-white); }
.iv-section--dark2 { background: var(--iv-dark2); color: var(--iv-white); }
.iv-section--light { background: var(--iv-white); }
.iv-section--warm  { background: var(--iv-warm);  }
.iv-container { max-width: 1200px; margin: 0 auto; }

.iv-section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--iv-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.iv-section-label::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--iv-orange);
  flex-shrink: 0;
}
.iv-section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.iv-section-title--dark  { color: var(--iv-white); }
.iv-section-title--light { color: var(--iv-dark);  }
.iv-section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--iv-muted);
  max-width: 540px;
  margin: 0 0 52px;
}
.iv-section-sub--dark { color: rgba(255,255,255,.58); }

/* ── TARJETAS LÍNEAS DE NEGOCIO ──────────────────────────── */
.iv-lineas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-linea {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--iv-border);
  border-left: 4px solid var(--iv-orange);
  background: var(--iv-white);
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-linea:hover {
  box-shadow: 0 12px 40px rgba(13,27,38,.1);
  transform: translateY(-4px);
}
.iv-linea__num {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(13,27,38,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.iv-linea__icon {
  width: 46px; height: 46px;
  border-radius: var(--iv-radius);
  background: var(--iv-orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.iv-linea__icon svg { width: 22px; height: 22px; fill: var(--iv-orange); }
.iv-linea__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--iv-dark);
  margin: 0 0 10px;
}
.iv-linea__desc {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--iv-muted);
  margin: 0 0 18px;
}
.iv-linea__link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--iv-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap .2s;
}
.iv-linea:hover .iv-linea__link { gap: 10px; }

/* ── STATS ───────────────────────────────────────────────── */
.iv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}
.iv-stat {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.iv-stat:last-child { border-right: none; }
.iv-stat__num {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--iv-orange);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.iv-stat__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}

/* ── POR QUÉ ─────────────────────────────────────────────── */
.iv-porque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.iv-porque__list { display: flex; flex-direction: column; gap: 24px; }
.iv-porque__item {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--iv-border);
}
.iv-porque__item:last-child { border-bottom: none; padding-bottom: 0; }
.iv-porque__icon {
  width: 44px; height: 44px;
  border-radius: var(--iv-radius);
  background: var(--iv-orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iv-porque__icon svg { width: 20px; height: 20px; fill: var(--iv-orange); }
.iv-porque__text h4 {
  font-size: .9rem; font-weight: 800;
  color: var(--iv-dark); margin: 0 0 5px;
}
.iv-porque__text p {
  font-size: .82rem; line-height: 1.65;
  color: var(--iv-muted); margin: 0;
}
.iv-porque__image-block {
  position: relative;
  border-radius: var(--iv-radius);
  overflow: hidden;
  min-height: 400px;
  background: var(--iv-dark);
}
.iv-porque__tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--iv-orange);
  color: var(--iv-white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
}

/* ── PRODUCTOS ───────────────────────────────────────────── */
.iv-productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.iv-producto {
  background: var(--iv-white);
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius);
  overflow: hidden;
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-producto:hover {
  box-shadow: 0 12px 40px rgba(13,27,38,.1);
  transform: translateY(-4px);
}
.iv-producto__img {
  height: 200px;
  background: var(--iv-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.iv-producto__img img { object-fit: contain; height: 160px; padding: 20px; }
.iv-producto__body { padding: 24px; }
.iv-producto__tag {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--iv-orange); margin-bottom: 7px;
}
.iv-producto__name {
  font-size: .95rem; font-weight: 800;
  color: var(--iv-dark); margin: 0 0 8px;
}
.iv-producto__desc {
  font-size: .8rem; line-height: 1.6;
  color: var(--iv-muted); margin: 0 0 18px;
}
.iv-producto__link {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--iv-orange);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: gap .2s;
}
.iv-producto:hover .iv-producto__link { gap: 10px; }

/* ── LEAD MAGNET ─────────────────────────────────────────── */
.iv-lead {
  background: var(--iv-orange);
  padding: 80px 24px;
}
.iv-lead__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.iv-lead__label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 12px;
}
.iv-lead__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900; color: var(--iv-white);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px;
}
.iv-lead__desc {
  font-size: .9rem; line-height: 1.65;
  color: rgba(255,255,255,.8); margin: 0;
}
.iv-lead__form {
  display: flex; flex-direction: column; gap: 10px; min-width: 280px;
}
.iv-lead__input {
  padding: 12px 16px;
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem;
  color: var(--iv-dark); outline: none;
  background: var(--iv-white);
}
.iv-lead__input::placeholder { color: #9aacb9; }
.iv-lead__input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.iv-lead__submit {
  padding: 13px 22px;
  background: var(--iv-dark); color: var(--iv-white);
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem; font-weight: 700;
  letter-spacing: .06em; cursor: pointer;
  transition: background .2s, transform .2s;
}
.iv-lead__submit:hover { background: var(--iv-dark2); transform: translateY(-2px); }

/* ── CTA FINAL ───────────────────────────────────────────── */
.iv-cta-final {
  background: var(--iv-dark);
  padding: 96px 24px;
  text-align: center;
}
.iv-cta-final__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--iv-white);
  letter-spacing: -.025em; margin: 0 0 14px;
}
.iv-cta-final__sub {
  font-size: 1rem; color: rgba(255,255,255,.52);
  margin: 0 auto 36px; max-width: 480px;
}
.iv-cta-final__actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .iv-hero__inner  { grid-template-columns: 1fr; gap: 40px; padding: 100px 24px 80px; }
  .iv-hero__visual { display: none; }
  .iv-lineas       { grid-template-columns: 1fr; }
  .iv-stats        { grid-template-columns: repeat(2, 1fr); }
  .iv-stat         { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .iv-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .iv-porque       { grid-template-columns: 1fr; gap: 40px; }
  .iv-porque__image-block { min-height: 260px; order: -1; }
  .iv-productos    { grid-template-columns: 1fr; }
  .iv-lead__inner  { grid-template-columns: 1fr; gap: 36px; }
  .iv-lead__form   { min-width: 0; }
}
@media (max-width: 600px) {
  .iv-section   { padding: 72px 16px; }
  .iv-hero__inner { padding: 90px 16px 72px; }
}

/* ── ACCESIBILIDAD ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── AOS TIMING OVERRIDE ─────────────────────────────────── */
[data-aos] { transition-timing-function: var(--iv-ease) !important; }

/* ============================================================
   LEGACY CLASS SYSTEM — compatibilidad con páginas existentes
   Todas las clases usan los nuevos tokens de marca.
   ============================================================ */

/* ── CONTENEDOR ──────────────────────────────────────────── */
.iv-w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO GRAD ───────────────────────────────────────────── */
.iv-hero-grad {
  background: linear-gradient(135deg, var(--iv-dark) 0%, var(--iv-dark3) 100%);
  position: relative;
  overflow: hidden;
}
.iv-hero-grad::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(111,139,160,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(237,110,30,.07) 0%, transparent 50%);
  pointer-events: none;
}
.iv-hero-grad-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .iv-hero-grad-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ── TIPOGRAFÍA HERO ─────────────────────────────────────── */
.iv-hero-title-white {
  font-family: var(--iv-font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--iv-white);
  margin: 0 0 20px;
  text-wrap: balance;
}
.iv-hero-sub-white {
  font-family: var(--iv-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
  margin: 0 0 32px;
  max-width: 480px;
}
.iv-h2 {
  font-family: var(--iv-font);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--iv-dark);
  margin: 0 0 16px;
  text-wrap: balance;
}

/* ── SECCIONES ───────────────────────────────────────────── */
.iv-section-white {
  background: var(--iv-white);
}
.iv-section-light {
  background: var(--iv-warm);
}
.iv-section-blue {
  background: var(--iv-dark);
  color: var(--iv-white);
}
.iv-section-blue .iv-h2 { color: var(--iv-white); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.iv-divider-orange {
  border: none;
  border-top: 3px solid var(--iv-orange);
  margin: 0;
}

/* ── BADGES/CHIPS ────────────────────────────────────────── */
.iv-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 2px;
  font-family: var(--iv-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.iv-badge-white {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.22);
}
.iv-badge-orange {
  background: rgba(237,110,30,.12);
  color: var(--iv-orange);
  border: 1px solid rgba(237,110,30,.25);
}
.iv-badge-blue {
  background: rgba(13,27,38,.08);
  color: var(--iv-dark);
  border: 1px solid rgba(13,27,38,.15);
}

/* ── LABELS DE SECCIÓN ───────────────────────────────────── */
.iv-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--iv-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.iv-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.iv-label-orange { color: var(--iv-orange); }
.iv-label-blue   { color: var(--iv-steel);  }

/* ── CARD TITLE ──────────────────────────────────────────── */
.iv-card-title {
  font-family: var(--iv-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--iv-dark);
  line-height: 1.3;
  margin: 0 0 8px;
}
.iv-section-blue .iv-card-title { color: var(--iv-white); }

/* ── BOTONES LEGACY ──────────────────────────────────────── */
.iv-btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--iv-orange);
  background: var(--iv-orange);
  color: var(--iv-white);
  transition: background .22s var(--iv-ease), transform .22s var(--iv-ease), box-shadow .22s var(--iv-ease);
}
.iv-btn-o:hover {
  background: var(--iv-orange-dk);
  border-color: var(--iv-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237,110,30,.35);
}
.iv-btn-b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--iv-dark);
  background: var(--iv-dark);
  color: var(--iv-white);
  transition: background .22s var(--iv-ease), transform .22s var(--iv-ease);
}
.iv-btn-b:hover {
  background: var(--iv-dark2);
  border-color: var(--iv-dark2);
  transform: translateY(-2px);
}

/* ── REVEAL (GSAP / AOS fallback) ───────────────────────── */
.iv-reveal {
  opacity: 1;
}

/* ============================================================
   LEGACY EXT — clases usadas en Blog, Productos, Servicios,
   Clientes, Contacto
   ============================================================ */

/* ── UTILIDADES DE COLOR ─────────────────────────────────── */
.iv-orange { color: var(--iv-orange); }
.iv-blue   { color: var(--iv-dark);   }
.iv-muted  { color: var(--iv-muted);  }
.iv-text   { color: var(--iv-text);   }

/* ── UTILIDADES DE FONDO ─────────────────────────────────── */
.iv-bg       { background: var(--iv-light); }
.iv-bg-blue  { background: var(--iv-dark);  }
.iv-grad-blue{ background: var(--iv-grad-blue); }

/* ── FUENTE ──────────────────────────────────────────────── */
.iv-fh { font-family: var(--iv-font); font-weight: 700; }
.iv-fb { font-family: var(--iv-font); }
.iv-fm { font-family: 'Courier New', monospace; font-size: .82em; }

/* ── RADIO / BORDER ──────────────────────────────────────── */
.iv-r      { border-radius: var(--iv-r2); }
.iv-border { border: 1px solid var(--iv-border); }

/* ── CONTENEDOR ANGOSTO ──────────────────────────────────── */
.iv-w-xs {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECCIÓN NARANJA ─────────────────────────────────────── */
.iv-section-orange {
  background: var(--iv-orange);
  color: var(--iv-white);
}
.iv-section-orange .iv-h2,
.iv-section-orange h2 { color: var(--iv-white); }

/* ── HEADING GENÉRICO ────────────────────────────────────── */
.iv-h {
  font-family: var(--iv-font);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--iv-dark);
}

/* ── LABEL BLANCO ────────────────────────────────────────── */
.iv-label-white { color: rgba(255,255,255,.72); }
.iv-label-white::before { background: rgba(255,255,255,.72); }

/* ── HERO STATS ──────────────────────────────────────────── */
.iv-hero-stat-val {
  font-family: var(--iv-font);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--iv-orange);
  line-height: 1;
  letter-spacing: -.04em;
}
.iv-hero-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}

/* ── CARD ────────────────────────────────────────────────── */
.iv-card {
  background: var(--iv-white);
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-r2);
  overflow: hidden;
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-card:hover {
  box-shadow: 0 10px 32px rgba(13,27,38,.1);
  transform: translateY(-3px);
}
.iv-card-body { padding: 24px; }
.iv-card-glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--iv-r2);
  backdrop-filter: blur(6px);
}

/* ── GRIDS ESPECÍFICOS ───────────────────────────────────── */
.iv-bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-cl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .iv-bl-grid, .iv-prod-grid { grid-template-columns: 1fr 1fr; }
  .iv-cl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .iv-bl-grid, .iv-prod-grid, .iv-cl-grid { grid-template-columns: 1fr; }
}

/* ── BOTONES EXTRA ───────────────────────────────────────── */
.iv-btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.iv-btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.35);
  background: transparent; color: var(--iv-white);
  transition: border-color .2s, color .2s;
}
.iv-btn-w:hover { border-color: var(--iv-white); color: var(--iv-white); }
.iv-btn-ow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--iv-orange);
  background: transparent; color: var(--iv-orange);
  transition: background .2s, color .2s;
}
.iv-btn-ow:hover { background: var(--iv-orange); color: var(--iv-white); }

/* ── TABS / FILTROS ──────────────────────────────────────── */
.iv-bl-tab, .iv-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.iv-bl-search {
  position: relative;
  margin-bottom: 32px;
}
.iv-bl-search input {
  width: 100%; padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--iv-border);
  border-radius: var(--iv-r2);
  font-family: var(--iv-font); font-size: .9rem;
  color: var(--iv-text); outline: none;
  transition: border-color .2s;
}
.iv-bl-search input:focus { border-color: var(--iv-orange); }
.iv-filter-btn {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: 40px;
  font-family: var(--iv-font); font-size: .75rem;
  font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  border: 1.5px solid var(--iv-border);
  background: transparent; color: var(--iv-muted);
  transition: all .18s;
}
.iv-filter-btn:hover,
.iv-filter-btn.active {
  border-color: var(--iv-orange);
  background: var(--iv-orange);
  color: var(--iv-white);
}

/* ── SNAV (sub-navegación interna) ───────────────────────── */
.iv-snav {
  position: sticky; top: 68px; z-index: 40;
  background: var(--iv-white);
  border-bottom: 1px solid var(--iv-border);
  display: flex; gap: 0;
  overflow-x: auto;
}
.iv-snav a {
  padding: 14px 20px;
  font-family: var(--iv-font); font-size: .8rem;
  font-weight: 700; letter-spacing: .04em;
  color: var(--iv-muted); text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .18s, border-color .18s;
}
.iv-snav a:hover,
.iv-snav a.active {
  color: var(--iv-orange);
  border-bottom-color: var(--iv-orange);
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.iv-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.iv-marquee-track {
  display: inline-flex;
  animation: iv-marquee 28s linear infinite;
  gap: 48px;
}
.iv-marquee-wrap:hover .iv-marquee-track { animation-play-state: paused; }
@keyframes iv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.iv-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.iv-marquee-name {
  font-family: var(--iv-font); font-weight: 700;
  font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ── CONTADOR ────────────────────────────────────────────── */
.iv-count  { font-variant-numeric: tabular-nums; }
.iv-suffix { display: inline; }

/* ── ANIMACIÓN DELAY (GSAP) ──────────────────────────────── */
[data-iv-delay] { opacity: 0; }
.iv-animated    { opacity: 1 !important; }

/* ── FORMULARIO CONTACTO ─────────────────────────────────── */
.iv-contact-form { display: flex; flex-direction: column; gap: 14px; }
.iv-contact-form input,
.iv-contact-form textarea,
.iv-contact-form select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--iv-border);
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .9rem;
  color: var(--iv-text); background: var(--iv-white);
  outline: none; transition: border-color .2s;
}
.iv-contact-form input:focus,
.iv-contact-form textarea:focus { border-color: var(--iv-orange); }
.iv-contact-form textarea { min-height: 140px; resize: vertical; }
.iv-form-btn {
  align-self: flex-start;
  padding: 13px 28px;
  background: var(--iv-orange); color: var(--iv-white);
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; cursor: pointer;
  transition: background .2s, transform .2s;
}
.iv-form-btn:hover { background: var(--iv-orange-dk); transform: translateY(-2px); }
.iv-form-err {
  font-size: .75rem; color: #e53e3e;
  margin-top: -8px; display: none;
}
.iv-nl-email {
  padding: 12px 16px;
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem;
  color: var(--iv-text); outline: none; width: 100%;
}
.iv-nl-msg {
  font-size: .78rem; margin-top: 8px;
  color: rgba(255,255,255,.7); display: none;
}

/* ── CLASES RESIDUALES ───────────────────────────────────── */
.iv-badge-green {
  background: rgba(34,197,94,.12);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,.25);
}
.iv-blue-a { color: var(--iv-steel); text-decoration: none; }
.iv-blue-a:hover { color: var(--iv-orange); }
/* iv-delay: usado por GSAP como selector; no requiere estilos propios */
.iv-delay { opacity: 0; }
/* ============================================================
   INVENTUM · Design System v4.0
   Concepto: "Hoja de datos hecha obra"
   Prefijo: iv-  |  Fuente: Montserrat
   Tokens de marca: #ED6E1E (naranja), #6F8BA0 (gris-acero), #0d1b26 (dark)
   ============================================================ */

/* ── FUENTE ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── TOKENS CORRECTOS ────────────────────────────────────── */
:root {
  --iv-orange:    #ED6E1E;
  --iv-orange-dk: #c95a10;
  --iv-orange-lt: rgba(237,110,30,.12);
  --iv-steel:     #6F8BA0;
  --iv-steel-lt:  #8fa8bc;
  --iv-steel-bg:  rgba(111,139,160,.08);
  --iv-dark:      #0d1b26;
  --iv-dark2:     #132233;
  --iv-dark3:     #1a2f45;
  --iv-white:     #ffffff;
  --iv-light:     #f7f8fa;
  --iv-warm:      #f5f3ef;
  --iv-text:      #1a2535;
  --iv-muted:     #5a6a7a;
  --iv-border:    #dde3e9;
  --iv-font:      'Montserrat', -apple-system, sans-serif;
  --iv-ease:      cubic-bezier(.25,.46,.45,.94);
  --iv-radius:    4px;
  --iv-r1:        4px;
  --iv-r2:        8px;
  --iv-r3:        16px;

  /* Gradientes */
  --iv-grad-blue: linear-gradient(135deg, #0d1b26 0%, #1a2f45 100%);

  /* Backgrounds extra */
  --iv-bg2:       #f0f4f8;

  /* Legacy compat (sobreescriben design.css anterior) */
  --iv-blue:     #0d1b26;
  --iv-blue2:    #132233;
  --iv-blue3:    #1a2f45;
  --iv-fh:       'Montserrat', sans-serif;
  --iv-fb:       'Montserrat', sans-serif;
}

/* ── RESET GLOBAL ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--iv-font);
  color: var(--iv-text);
  background: var(--iv-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TIPOGRAFÍA ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--iv-font);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}

/* ── BOTONES ─────────────────────────────────────────────── */
.iv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .22s var(--iv-ease);
  border: 1.5px solid transparent;
  text-decoration: none;
}
.iv-btn--primary {
  background: var(--iv-orange);
  color: var(--iv-white);
  border-color: var(--iv-orange);
}
.iv-btn--primary:hover {
  background: var(--iv-orange-dk);
  border-color: var(--iv-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237,110,30,.35);
}
.iv-btn--ghost {
  background: transparent;
  color: var(--iv-white);
  border-color: rgba(255,255,255,.35);
}
.iv-btn--ghost:hover {
  border-color: var(--iv-orange);
  color: var(--iv-orange);
}
.iv-btn--dark {
  background: var(--iv-dark);
  color: var(--iv-white);
  border-color: var(--iv-dark);
}
.iv-btn--dark:hover {
  background: var(--iv-dark2);
  transform: translateY(-2px);
}

/* ── HERO ────────────────────────────────────────────────── */
.iv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--iv-dark);
}
.iv-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 50%, rgba(111,139,160,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 30% 80%, rgba(237,110,30,.08) 0%, transparent 50%),
    var(--iv-dark);
}
.iv-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111,139,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,139,160,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.iv-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: 1;
}
.iv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,38,.92) 0%, rgba(13,27,38,.7) 55%, rgba(13,27,38,.5) 100%);
  z-index: 2;
}
.iv-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.iv-hero__content { max-width: 560px; }

/* ── EYEBROW ─────────────────────────────────────────────── */
.iv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--iv-steel-lt);
  margin-bottom: 24px;
}
.iv-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--iv-orange);
  flex-shrink: 0;
}

/* ── HERO TITLE ──────────────────────────────────────────── */
.iv-hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--iv-white);
  margin: 0 0 24px;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.iv-hero__title span { color: var(--iv-orange); }

.iv-hero__sub {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
  margin: 0 0 36px;
  max-width: 420px;
}
.iv-hero__sub strong { color: rgba(255,255,255,.9); font-weight: 600; }

.iv-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── HERO VISUAL ─────────────────────────────────────────── */
.iv-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.iv-hero__badge-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  min-width: 240px;
}
.iv-hero__badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.iv-hero__badge-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--iv-orange);
  line-height: 1;
  min-width: 70px;
}
.iv-hero__badge-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.35;
}

/* ── BARRA LOGOS ─────────────────────────────────────────── */
.iv-logos {
  background: var(--iv-steel);
  padding: 24px;
  border-bottom: 3px solid var(--iv-orange);
}
.iv-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.iv-logos__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.iv-logos__items {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.iv-logos__item {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .05em;
  white-space: nowrap;
}

/* ── CONTENEDOR Y SECCIONES ──────────────────────────────── */
.iv-section { padding: 96px 24px; }
.iv-section--dark  { background: var(--iv-dark);  color: var(--iv-white); }
.iv-section--dark2 { background: var(--iv-dark2); color: var(--iv-white); }
.iv-section--light { background: var(--iv-white); }
.iv-section--warm  { background: var(--iv-warm);  }
.iv-container { max-width: 1200px; margin: 0 auto; }

.iv-section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--iv-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.iv-section-label::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--iv-orange);
  flex-shrink: 0;
}
.iv-section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.iv-section-title--dark  { color: var(--iv-white); }
.iv-section-title--light { color: var(--iv-dark);  }
.iv-section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--iv-muted);
  max-width: 540px;
  margin: 0 0 52px;
}
.iv-section-sub--dark { color: rgba(255,255,255,.58); }

/* ── TARJETAS LÍNEAS DE NEGOCIO ──────────────────────────── */
.iv-lineas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-linea {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--iv-border);
  border-left: 4px solid var(--iv-orange);
  background: var(--iv-white);
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-linea:hover {
  box-shadow: 0 12px 40px rgba(13,27,38,.1);
  transform: translateY(-4px);
}
.iv-linea__num {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(13,27,38,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.iv-linea__icon {
  width: 46px; height: 46px;
  border-radius: var(--iv-radius);
  background: var(--iv-orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.iv-linea__icon svg { width: 22px; height: 22px; fill: var(--iv-orange); }
.iv-linea__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--iv-dark);
  margin: 0 0 10px;
}
.iv-linea__desc {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--iv-muted);
  margin: 0 0 18px;
}
.iv-linea__link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--iv-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap .2s;
}
.iv-linea:hover .iv-linea__link { gap: 10px; }

/* ── STATS ───────────────────────────────────────────────── */
.iv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}
.iv-stat {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.iv-stat:last-child { border-right: none; }
.iv-stat__num {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--iv-orange);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.iv-stat__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}

/* ── POR QUÉ ─────────────────────────────────────────────── */
.iv-porque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.iv-porque__list { display: flex; flex-direction: column; gap: 24px; }
.iv-porque__item {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--iv-border);
}
.iv-porque__item:last-child { border-bottom: none; padding-bottom: 0; }
.iv-porque__icon {
  width: 44px; height: 44px;
  border-radius: var(--iv-radius);
  background: var(--iv-orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.iv-porque__icon svg { width: 20px; height: 20px; fill: var(--iv-orange); }
.iv-porque__text h4 {
  font-size: .9rem; font-weight: 800;
  color: var(--iv-dark); margin: 0 0 5px;
}
.iv-porque__text p {
  font-size: .82rem; line-height: 1.65;
  color: var(--iv-muted); margin: 0;
}
.iv-porque__image-block {
  position: relative;
  border-radius: var(--iv-radius);
  overflow: hidden;
  min-height: 400px;
  background: var(--iv-dark);
}
.iv-porque__tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--iv-orange);
  color: var(--iv-white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
}

/* ── PRODUCTOS ───────────────────────────────────────────── */
.iv-productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.iv-producto {
  background: var(--iv-white);
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-radius);
  overflow: hidden;
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-producto:hover {
  box-shadow: 0 12px 40px rgba(13,27,38,.1);
  transform: translateY(-4px);
}
.iv-producto__img {
  height: 200px;
  background: var(--iv-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.iv-producto__img img { object-fit: contain; height: 160px; padding: 20px; }
.iv-producto__body { padding: 24px; }
.iv-producto__tag {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--iv-orange); margin-bottom: 7px;
}
.iv-producto__name {
  font-size: .95rem; font-weight: 800;
  color: var(--iv-dark); margin: 0 0 8px;
}
.iv-producto__desc {
  font-size: .8rem; line-height: 1.6;
  color: var(--iv-muted); margin: 0 0 18px;
}
.iv-producto__link {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--iv-orange);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: gap .2s;
}
.iv-producto:hover .iv-producto__link { gap: 10px; }

/* ── LEAD MAGNET ─────────────────────────────────────────── */
.iv-lead {
  background: var(--iv-orange);
  padding: 80px 24px;
}
.iv-lead__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.iv-lead__label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 12px;
}
.iv-lead__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900; color: var(--iv-white);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px;
}
.iv-lead__desc {
  font-size: .9rem; line-height: 1.65;
  color: rgba(255,255,255,.8); margin: 0;
}
.iv-lead__form {
  display: flex; flex-direction: column; gap: 10px; min-width: 280px;
}
.iv-lead__input {
  padding: 12px 16px;
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem;
  color: var(--iv-dark); outline: none;
  background: var(--iv-white);
}
.iv-lead__input::placeholder { color: #9aacb9; }
.iv-lead__input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.iv-lead__submit {
  padding: 13px 22px;
  background: var(--iv-dark); color: var(--iv-white);
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem; font-weight: 700;
  letter-spacing: .06em; cursor: pointer;
  transition: background .2s, transform .2s;
}
.iv-lead__submit:hover { background: var(--iv-dark2); transform: translateY(-2px); }

/* ── CTA FINAL ───────────────────────────────────────────── */
.iv-cta-final {
  background: var(--iv-dark);
  padding: 96px 24px;
  text-align: center;
}
.iv-cta-final__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--iv-white);
  letter-spacing: -.025em; margin: 0 0 14px;
}
.iv-cta-final__sub {
  font-size: 1rem; color: rgba(255,255,255,.52);
  margin: 0 auto 36px; max-width: 480px;
}
.iv-cta-final__actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .iv-hero__inner  { grid-template-columns: 1fr; gap: 40px; padding: 100px 24px 80px; }
  .iv-hero__visual { display: none; }
  .iv-lineas       { grid-template-columns: 1fr; }
  .iv-stats        { grid-template-columns: repeat(2, 1fr); }
  .iv-stat         { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .iv-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .iv-porque       { grid-template-columns: 1fr; gap: 40px; }
  .iv-porque__image-block { min-height: 260px; order: -1; }
  .iv-productos    { grid-template-columns: 1fr; }
  .iv-lead__inner  { grid-template-columns: 1fr; gap: 36px; }
  .iv-lead__form   { min-width: 0; }
}
@media (max-width: 600px) {
  .iv-section   { padding: 72px 16px; }
  .iv-hero__inner { padding: 90px 16px 72px; }
}

/* ── ACCESIBILIDAD ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── AOS TIMING OVERRIDE ─────────────────────────────────── */
[data-aos] { transition-timing-function: var(--iv-ease) !important; }

/* ============================================================
   LEGACY CLASS SYSTEM — compatibilidad con páginas existentes
   Todas las clases usan los nuevos tokens de marca.
   ============================================================ */

/* ── CONTENEDOR ──────────────────────────────────────────── */
.iv-w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO GRAD ───────────────────────────────────────────── */
.iv-hero-grad {
  background: linear-gradient(135deg, var(--iv-dark) 0%, var(--iv-dark3) 100%);
  position: relative;
  overflow: hidden;
}
.iv-hero-grad::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(111,139,160,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(237,110,30,.07) 0%, transparent 50%);
  pointer-events: none;
}
.iv-hero-grad-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .iv-hero-grad-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ── TIPOGRAFÍA HERO ─────────────────────────────────────── */
.iv-hero-title-white {
  font-family: var(--iv-font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--iv-white);
  margin: 0 0 20px;
  text-wrap: balance;
}
.iv-hero-sub-white {
  font-family: var(--iv-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
  margin: 0 0 32px;
  max-width: 480px;
}
.iv-h2 {
  font-family: var(--iv-font);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--iv-dark);
  margin: 0 0 16px;
  text-wrap: balance;
}

/* ── SECCIONES ───────────────────────────────────────────── */
.iv-section-white {
  background: var(--iv-white);
}
.iv-section-light {
  background: var(--iv-warm);
}
.iv-section-blue {
  background: var(--iv-dark);
  color: var(--iv-white);
}
.iv-section-blue .iv-h2 { color: var(--iv-white); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.iv-divider-orange {
  border: none;
  border-top: 3px solid var(--iv-orange);
  margin: 0;
}

/* ── BADGES/CHIPS ────────────────────────────────────────── */
.iv-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 2px;
  font-family: var(--iv-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.iv-badge-white {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.22);
}
.iv-badge-orange {
  background: rgba(237,110,30,.12);
  color: var(--iv-orange);
  border: 1px solid rgba(237,110,30,.25);
}
.iv-badge-blue {
  background: rgba(13,27,38,.08);
  color: var(--iv-dark);
  border: 1px solid rgba(13,27,38,.15);
}

/* ── LABELS DE SECCIÓN ───────────────────────────────────── */
.iv-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--iv-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.iv-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.iv-label-orange { color: var(--iv-orange); }
.iv-label-blue   { color: var(--iv-steel);  }

/* ── CARD TITLE ──────────────────────────────────────────── */
.iv-card-title {
  font-family: var(--iv-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--iv-dark);
  line-height: 1.3;
  margin: 0 0 8px;
}
.iv-section-blue .iv-card-title { color: var(--iv-white); }

/* ── BOTONES LEGACY ──────────────────────────────────────── */
.iv-btn-o {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--iv-orange);
  background: var(--iv-orange);
  color: var(--iv-white);
  transition: background .22s var(--iv-ease), transform .22s var(--iv-ease), box-shadow .22s var(--iv-ease);
}
.iv-btn-o:hover {
  background: var(--iv-orange-dk);
  border-color: var(--iv-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237,110,30,.35);
}
.iv-btn-b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--iv-dark);
  background: var(--iv-dark);
  color: var(--iv-white);
  transition: background .22s var(--iv-ease), transform .22s var(--iv-ease);
}
.iv-btn-b:hover {
  background: var(--iv-dark2);
  border-color: var(--iv-dark2);
  transform: translateY(-2px);
}

/* ── REVEAL (GSAP / AOS fallback) ───────────────────────── */
.iv-reveal {
  opacity: 1;
}

/* ============================================================
   LEGACY EXT — clases usadas en Blog, Productos, Servicios,
   Clientes, Contacto
   ============================================================ */

/* ── UTILIDADES DE COLOR ─────────────────────────────────── */
.iv-orange { color: var(--iv-orange); }
.iv-blue   { color: var(--iv-dark);   }
.iv-muted  { color: var(--iv-muted);  }
.iv-text   { color: var(--iv-text);   }

/* ── UTILIDADES DE FONDO ─────────────────────────────────── */
.iv-bg       { background: var(--iv-light); }
.iv-bg-blue  { background: var(--iv-dark);  }
.iv-grad-blue{ background: var(--iv-grad-blue); }

/* ── FUENTE ──────────────────────────────────────────────── */
.iv-fh { font-family: var(--iv-font); font-weight: 700; }
.iv-fb { font-family: var(--iv-font); }
.iv-fm { font-family: 'Courier New', monospace; font-size: .82em; }

/* ── RADIO / BORDER ──────────────────────────────────────── */
.iv-r      { border-radius: var(--iv-r2); }
.iv-border { border: 1px solid var(--iv-border); }

/* ── CONTENEDOR ANGOSTO ──────────────────────────────────── */
.iv-w-xs {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECCIÓN NARANJA ─────────────────────────────────────── */
.iv-section-orange {
  background: var(--iv-orange);
  color: var(--iv-white);
}
.iv-section-orange .iv-h2,
.iv-section-orange h2 { color: var(--iv-white); }

/* ── HEADING GENÉRICO ────────────────────────────────────── */
.iv-h {
  font-family: var(--iv-font);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--iv-dark);
}

/* ── LABEL BLANCO ────────────────────────────────────────── */
.iv-label-white { color: rgba(255,255,255,.72); }
.iv-label-white::before { background: rgba(255,255,255,.72); }

/* ── HERO STATS ──────────────────────────────────────────── */
.iv-hero-stat-val {
  font-family: var(--iv-font);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--iv-orange);
  line-height: 1;
  letter-spacing: -.04em;
}
.iv-hero-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}

/* ── CARD ────────────────────────────────────────────────── */
.iv-card {
  background: var(--iv-white);
  border: 1px solid var(--iv-border);
  border-radius: var(--iv-r2);
  overflow: hidden;
  transition: box-shadow .25s var(--iv-ease), transform .25s var(--iv-ease);
}
.iv-card:hover {
  box-shadow: 0 10px 32px rgba(13,27,38,.1);
  transform: translateY(-3px);
}
.iv-card-body { padding: 24px; }
.iv-card-glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--iv-r2);
  backdrop-filter: blur(6px);
}

/* ── GRIDS ESPECÍFICOS ───────────────────────────────────── */
.iv-bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.iv-cl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .iv-bl-grid, .iv-prod-grid { grid-template-columns: 1fr 1fr; }
  .iv-cl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .iv-bl-grid, .iv-prod-grid, .iv-cl-grid { grid-template-columns: 1fr; }
}

/* ── BOTONES EXTRA ───────────────────────────────────────── */
.iv-btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.iv-btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.35);
  background: transparent; color: var(--iv-white);
  transition: border-color .2s, color .2s;
}
.iv-btn-w:hover { border-color: var(--iv-white); color: var(--iv-white); }
.iv-btn-ow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--iv-orange);
  background: transparent; color: var(--iv-orange);
  transition: background .2s, color .2s;
}
.iv-btn-ow:hover { background: var(--iv-orange); color: var(--iv-white); }

/* ── TABS / FILTROS ──────────────────────────────────────── */
.iv-bl-tab, .iv-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.iv-bl-search {
  position: relative;
  margin-bottom: 32px;
}
.iv-bl-search input {
  width: 100%; padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--iv-border);
  border-radius: var(--iv-r2);
  font-family: var(--iv-font); font-size: .9rem;
  color: var(--iv-text); outline: none;
  transition: border-color .2s;
}
.iv-bl-search input:focus { border-color: var(--iv-orange); }
.iv-filter-btn {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  border-radius: 40px;
  font-family: var(--iv-font); font-size: .75rem;
  font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  border: 1.5px solid var(--iv-border);
  background: transparent; color: var(--iv-muted);
  transition: all .18s;
}
.iv-filter-btn:hover,
.iv-filter-btn.active {
  border-color: var(--iv-orange);
  background: var(--iv-orange);
  color: var(--iv-white);
}

/* ── SNAV (sub-navegación interna) ───────────────────────── */
.iv-snav {
  position: sticky; top: 68px; z-index: 40;
  background: var(--iv-white);
  border-bottom: 1px solid var(--iv-border);
  display: flex; gap: 0;
  overflow-x: auto;
}
.iv-snav a {
  padding: 14px 20px;
  font-family: var(--iv-font); font-size: .8rem;
  font-weight: 700; letter-spacing: .04em;
  color: var(--iv-muted); text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .18s, border-color .18s;
}
.iv-snav a:hover,
.iv-snav a.active {
  color: var(--iv-orange);
  border-bottom-color: var(--iv-orange);
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.iv-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.iv-marquee-track {
  display: inline-flex;
  animation: iv-marquee 28s linear infinite;
  gap: 48px;
}
.iv-marquee-wrap:hover .iv-marquee-track { animation-play-state: paused; }
@keyframes iv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.iv-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.iv-marquee-name {
  font-family: var(--iv-font); font-weight: 700;
  font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ── CONTADOR ────────────────────────────────────────────── */
.iv-count  { font-variant-numeric: tabular-nums; }
.iv-suffix { display: inline; }

/* ── ANIMACIÓN DELAY (GSAP) ──────────────────────────────── */
[data-iv-delay] { opacity: 0; }
.iv-animated    { opacity: 1 !important; }

/* ── FORMULARIO CONTACTO ─────────────────────────────────── */
.iv-contact-form { display: flex; flex-direction: column; gap: 14px; }
.iv-contact-form input,
.iv-contact-form textarea,
.iv-contact-form select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--iv-border);
  border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .9rem;
  color: var(--iv-text); background: var(--iv-white);
  outline: none; transition: border-color .2s;
}
.iv-contact-form input:focus,
.iv-contact-form textarea:focus { border-color: var(--iv-orange); }
.iv-contact-form textarea { min-height: 140px; resize: vertical; }
.iv-form-btn {
  align-self: flex-start;
  padding: 13px 28px;
  background: var(--iv-orange); color: var(--iv-white);
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .875rem;
  font-weight: 700; cursor: pointer;
  transition: background .2s, transform .2s;
}
.iv-form-btn:hover { background: var(--iv-orange-dk); transform: translateY(-2px); }
.iv-form-err {
  font-size: .75rem; color: #e53e3e;
  margin-top: -8px; display: none;
}
.iv-nl-email {
  padding: 12px 16px;
  border: none; border-radius: var(--iv-radius);
  font-family: var(--iv-font); font-size: .85rem;
  color: var(--iv-text); outline: none; width: 100%;
}
.iv-nl-msg {
  font-size: .78rem; margin-top: 8px;
  color: rgba(255,255,255,.7); display: none;
}

/* ── CLASES RESIDUALES ───────────────────────────────────── */
.iv-badge-green {
  background: rgba(34,197,94,.12);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,.25);
}
.iv-blue-a { color: var(--iv-steel); text-decoration: none; }
.iv-blue-a:hover { color: var(--iv-orange); }
/* iv-delay: usado por GSAP como selector; no requiere estilos propios */
.iv-delay { opacity: 0; }

/* ── BLOG TOKENS — override Frontix defaults ─────────────── */
:root {
  --blog-accent:        #ED6E1E;
  --blog-accent-light:  rgba(237,110,30,0.2);
  --blog-accent-bg:     rgba(237,110,30,0.06);
  --blog-accent-border: rgba(237,110,30,0.25);
  --blog-heading:       #0d1b26;
  --blog-heading-2:     #1a2e3d;
  --blog-body-color:    #2e4457;
  --blog-muted:         #5a7a8e;
  --blog-muted-2:       #8aa0b0;
  --blog-border:        rgba(13,27,38,0.12);
  --blog-row-alt:       rgba(237,110,30,0.04);
  --blog-code-bg:       #f0f4f7;
  --blog-code-color:    #0d1b26;
  --blog-pre-bg:        #0d1b26;
  --blog-pre-color:     #e2eaf0;
  --blog-blockquote-bg: rgba(237,110,30,0.05);
}
