/* ==========================================================================
   INTAXWEB — ENTERPRISE DIGITAL DESIGN SYSTEM v1.0
   División de desarrollo digital, software y consultoría de Grupo ARCII
   Tipografía: Exo 2 (heads) + Source Sans 3 (body) + JetBrains Mono (data)
   Colores: Navy #070D1A · Azul #0055B8 · Naranja #FF7A00
   Composición: estilo Grupo ARCII — plano, rectangular, sin blobs ni radios
   ========================================================================== */

:root {
  --blue-ink:     #070D1A;   /* fondo más oscuro */
  --blue-deep:    #0E1E38;   /* ink */
  --blue-mid:     #0B2D78;   /* azul corporativo profundo */
  --blue:         #0055B8;   /* azul primario (brand) */
  --blue-bright:  #007CE8;   /* hover / énfasis */
  --blue-light:   #E6F0FB;   /* superficie tenue azul */
  --blue-glow:    rgba(0,85,184,0.08);

  --orange:       #FF7A00;   /* naranja primario (accent principal) */
  --orange-deep:  #CC5500;   /* hover naranja */
  --orange-light: #FFF3E5;   /* superficie tenue naranja */

  --surface:      #FFFFFF;
  --surface-2:    #F4F7FC;   /* fondo alterno azulado */
  --surface-3:    #EBF1FA;
  --border:       #D0DDEF;
  --border-strong:#9FB4D6;

  --text-primary: #091729;
  --text-body:    #2C4162;
  --text-muted:   #4A6A96;
  --text-faint:   #7A9BC4;

  /* Gradiente de marca: navy → azul → naranja (refleja el logo) */
  --grad-brand: linear-gradient(90deg, #070D1A 0%, #0B2D78 28%, #0055B8 55%, #CC5500 78%, #FF7A00 100%);

  --font-head:  "Exo 2", sans-serif;
  --font-body:  "Source Sans 3", sans-serif;
  --font-mono:  "JetBrains Mono", monospace;

  --radius-xs:  4px;
  --container:  1340px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), 94vw); margin: 0 auto; }

/* --------------------------------------------------------------------------
   AMBIENT GLOW — desactivado (estilo ARCII: sin efectos decorativos flotantes)
   -------------------------------------------------------------------------- */
.ambient-glow { display: none; }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}

.header-wrap {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; min-height: 76px; gap: 24px;
}

.header-wrap .brand { min-width: 160px; }
.brand img { width: 160px; height: auto; }

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.main-nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 2px; position: relative;
}

.main-nav > a {
  color: var(--text-body);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.main-nav > a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.main-nav > a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Mega menu trigger — debe verse idéntico a un nav link normal */
.main-nav .mega-trigger {
  color: var(--text-body);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap; text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav .mega-trigger:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item-mega.is-open .mega-trigger { color: var(--blue); border-bottom-color: var(--blue); }

.lang-switch { display: inline-flex; gap: 6px; margin-left: 12px; }
.lang-switch a {
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 700;
  border: 1px solid var(--border-strong);
  padding: 5px 12px; color: var(--text-body); transition: all 0.2s;
}
.lang-switch a:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch a.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

.menu-btn {
  display: none; flex-direction: column; gap: 5px;
  border: none; background: transparent; cursor: pointer; padding: 6px;
}
.menu-btn span { width: 22px; height: 2px; background: var(--blue-deep); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-xs); padding: 13px 24px;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; font-size: 0.85rem;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  cursor: pointer; white-space: nowrap; border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-mid); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }

.btn-ghost {
  background: var(--surface); color: var(--blue-deep);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.65); }

/* --------------------------------------------------------------------------
   KICKER / EYEBROW — estilo ARCII: texto plano, sin pill ni animación
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-block; margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
}
.kicker-dark { color: var(--blue); }

/* --------------------------------------------------------------------------
   HEADINGS & TEXT
   -------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-head); letter-spacing: 0.02em; text-transform: uppercase; margin-top: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.04; margin-bottom: 16px; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.08; margin-bottom: 18px; font-weight: 800; }
h3 { font-size: 1.12rem; line-height: 1.2; margin-bottom: 10px; font-weight: 700; }
.lead { font-size: 1.1rem; max-width: 62ch; color: var(--text-body); line-height: 1.75; }

/* Gradiente tricolor de marca IntaxWeb */
.section-title { position: relative; padding-bottom: 16px; margin-bottom: 22px; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 140px; height: 3px;
  background: var(--grad-brand);
}
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* --------------------------------------------------------------------------
   SEPARADORES
   -------------------------------------------------------------------------- */
.separador-intax {
  height: 3px; width: 100%;
  background: var(--grad-brand); margin: 24px 0;
}
.separador-nodos {
  display: flex; align-items: center; justify-content: center; margin: 24px 0;
}
.separador-nodos::before, .separador-nodos::after {
  content: ""; flex: 1; height: 1.5px; background: var(--blue);
}
.separador-nodos .nodo {
  width: 12px; height: 12px; background: var(--orange);
  border: 3px solid var(--blue-deep); border-radius: 50%; margin: 0 14px;
}

/* --------------------------------------------------------------------------
   HERO — fondo oscuro, sin gradientes decorativos
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue-deep);
  border-bottom: 3px solid var(--orange);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  min-height: 580px;
}

.hero-copy {
  padding: 80px 52px 80px 0; display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.hero-copy h1 { color: #fff; }
.hero-copy .lead { color: rgba(255,255,255,0.72); }
.hero-copy .kicker { color: var(--orange); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

/* Hero metrics */
.hero-metrics {
  list-style: none; display: flex; gap: 0; padding: 0;
  border: 1px solid rgba(255,255,255,0.12); overflow: hidden; background: rgba(255,255,255,0.04);
}
.hero-metrics li {
  flex: 1; padding: 16px 18px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-metrics li:last-child { border-right: none; }
.hero-metrics strong {
  display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
  color: var(--orange); margin-bottom: 3px; line-height: 1;
}
.hero-metrics span { color: rgba(255,255,255,0.5); font-size: 0.84rem; }

/* Hero media — imagen derecha con overlay oscuro */
.hero-media {
  position: relative; overflow: hidden;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,30,56,0.72) 0%, rgba(14,30,56,0.2) 100%);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75);
}
.hero-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(7,13,26,0.90);
  color: #fff; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  border-left: 4px solid var(--orange); padding: 10px 16px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   TRUST STRIP — 3-col bajo el hero, plano
   -------------------------------------------------------------------------- */
.trust-strip { padding: 0 0 32px; }
.trust-grid {
  background: var(--surface); padding: 28px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border);
}
.trust-grid article {
  position: relative; padding-right: 24px; margin-right: 24px;
  border-right: 1px solid var(--border);
}
.trust-grid article:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.trust-grid h3 { margin-bottom: 6px; color: var(--blue-deep); font-size: 1rem; }
.trust-grid p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }
.trust-icon {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: var(--blue-light); color: var(--blue);
  border: 1px solid rgba(0,85,184,0.18); font-size: 1rem;
}

/* --------------------------------------------------------------------------
   LOGOS / MARQUEE — plano, sin radio
   -------------------------------------------------------------------------- */
.logos-showcase { padding-top: 0; }
.logos-stack { display: grid; gap: 1px; background: var(--border); }
.logos-card {
  background: var(--surface);
  border: none; padding: 22px; overflow: hidden;
}
.logos-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.logos-head h3 { margin: 0; font-size: 0.93rem; color: var(--blue-deep); text-transform: none; }
.logos-head span {
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.logos-marquee {
  position: relative; overflow: hidden; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex; align-items: center; gap: 1px;
  width: max-content; animation: logosScroll 36s linear infinite; will-change: transform;
  background: var(--border);
}
.logos-track--slow { animation-duration: 48s; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-pill {
  flex: 0 0 180px; width: 180px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; background: var(--surface);
}
.logo-pill img { width: 100%; height: 100%; object-fit: contain; }
@keyframes logosScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   SECCIONES GENÉRICAS
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--surface-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   SPLIT FEATURE — plano, sin radio
   -------------------------------------------------------------------------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-feature-media {
  overflow: hidden;
  border: 1px solid var(--border);
}
.split-feature-media img { min-height: 340px; object-fit: cover; filter: saturate(0.8); }

/* --------------------------------------------------------------------------
   SERVICES GRID — gap-px estilo ARCII
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid; gap: 1px; background: var(--border);
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.service-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--border); }

.service-card {
  background: var(--surface);
  border: none; padding: 26px 24px;
  min-height: 190px; position: relative; overflow: hidden;
  transition: background 0.22s;
}
.service-card:hover { background: var(--surface-2); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 0.98rem; margin-bottom: 10px; color: var(--blue-deep); }
.service-card p { margin: 0; color: var(--text-muted); font-size: 0.91rem; line-height: 1.65; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 16px; color: var(--blue); font-weight: 700;
  font-family: var(--font-head); font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: gap 0.2s, color 0.2s;
}
.service-link::after { content: "→"; }
.service-link:hover { color: var(--orange); gap: 9px; }
.services-cta-wrap { margin-top: 28px; }

/* --------------------------------------------------------------------------
   SECTORES / VERTICALES — gap-px estilo ARCII
   -------------------------------------------------------------------------- */
.verticals-grid {
  display: grid; gap: 1px; background: var(--border);
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 40px;
}
.vertical-card {
  background: var(--surface);
  border: none; padding: 28px 24px; position: relative; overflow: hidden;
  transition: background 0.22s;
  cursor: pointer;
}
.vertical-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-brand); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}
.vertical-card:hover { background: var(--surface-2); }
.vertical-card:hover::after { transform: scaleY(1); }
.vertical-icon {
  width: 48px; height: 48px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-light);
  color: var(--blue); font-size: 1.3rem;
  border: 1px solid rgba(0,85,184,0.15);
}
.vertical-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--blue-deep); }
.vertical-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.65; }
.vertical-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase;
  transition: gap 0.2s;
}
.vertical-link::after { content: "→"; }
.vertical-link:hover { gap: 10px; color: var(--orange); }

/* --------------------------------------------------------------------------
   VALUE / ¿POR QUÉ INTAXWEB?
   -------------------------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.value-media-stack { display: grid; gap: 1px; background: var(--border); }
.value-media-stack img {
  min-height: 210px; object-fit: cover;
  filter: saturate(0.7);
}
.value-points { display: grid; gap: 1px; background: var(--border); }
.value-points article {
  background: var(--surface); padding: 18px 20px;
  border-left: 4px solid var(--blue);
  transition: border-left-color 0.25s, background 0.22s;
}
.value-points article:hover { border-left-color: var(--orange); background: var(--surface-2); }
.value-points h3 { margin-bottom: 4px; font-size: 0.97rem; color: var(--blue-deep); }
.value-points p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   LISTA SERVICIOS
   -------------------------------------------------------------------------- */
.lista-servicios { list-style: none; padding: 0; }
.lista-servicios li {
  position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 1rem;
  color: var(--text-body);
}
.lista-servicios li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--blue-deep);
}

/* --------------------------------------------------------------------------
   SECTORES (list style, páginas internas)
   -------------------------------------------------------------------------- */
.sectors-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.sectors-media img {
  min-height: 440px; object-fit: cover;
  border: 1px solid var(--border);
  filter: saturate(0.7); transition: filter 0.4s;
}
.sectors-media img:hover { filter: saturate(1); }
.sector-list { list-style: none; padding: 0; margin: 20px 0 0; }
.sector-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 1rem; color: var(--text-body); font-weight: 500;
}
.sector-list li:last-child { border-bottom: none; }
.sector-list li::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--blue-deep);
}

/* --------------------------------------------------------------------------
   PROYECTOS — CASOS DE ÉXITO: gap-px estilo ARCII
   -------------------------------------------------------------------------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--border); }
.project-card {
  position: relative; overflow: hidden;
  min-height: 210px;
  transition: filter 0.4s;
}
.project-card:hover { filter: brightness(1.06); }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75); }
.project-card .overlay {
  position: absolute; inset: 0; display: grid; align-content: end; padding: 18px;
  color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.8));
}
.project-card .overlay strong {
  font-family: var(--font-head); font-size: 0.93rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   TIMELINE / METODOLOGÍA — plano, sin radio, sin lift
   -------------------------------------------------------------------------- */
.timeline { display: grid; gap: 1px; background: var(--border); grid-template-columns: repeat(4, minmax(0,1fr)); }
.timeline article, .timeline > div {
  background: var(--surface);
  border: none; padding: 22px; position: relative; overflow: hidden;
  transition: background 0.22s;
}
.timeline article:hover, .timeline > div:hover { background: var(--surface-2); }
.timeline article::before, .timeline > div::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.timeline span {
  display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 900;
  color: rgba(0,85,184,0.12); line-height: 1; margin-bottom: 12px;
}
.timeline h3 { margin: 0 0 8px; color: var(--blue-deep); font-size: 0.97rem; }
.timeline p { margin: 0; color: var(--text-muted); font-size: 0.89rem; }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-wrap { display: grid; gap: 1px; background: var(--border); grid-template-columns: 1fr 1fr; }
.contact-card, .contact-form-card {
  background: var(--surface);
  border: none; padding: 34px;
}
.contact-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.contact-card li { margin-bottom: 10px; color: var(--text-body); font-size: 0.96rem; }
.contact-card a:hover { color: var(--orange); }
.contact-form-card p { margin-top: 0; color: var(--text-muted); }
.contact-form-shell { min-height: 210px; }

.social-links { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
  border: 1px solid var(--border-strong);
  padding: 8px 16px; font-size: 0.88rem; color: var(--text-body); transition: all 0.22s;
}
.social-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* --------------------------------------------------------------------------
   INNER HERO (páginas internas) — oscuro, plano
   -------------------------------------------------------------------------- */
.inner-hero {
  padding: 88px 0 56px; background: var(--blue-deep);
  border-bottom: 3px solid var(--orange); position: relative; overflow: hidden;
}
.inner-hero > .container { position: relative; z-index: 1; }
.inner-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.inner-hero h1, .inner-hero h2 { color: #fff; }
.inner-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.inner-hero .kicker { color: var(--orange); }  /* DESPUÉS de .inner-hero p — especificidad mayor */
.inner-hero-media img {
  min-height: 380px; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  filter: saturate(0.7);
}

.crumbs {
  padding: 13px 0; font-size: 0.86rem;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--text-primary); font-weight: 600; }

/* --------------------------------------------------------------------------
   DETAIL CARDS (páginas de servicio) — plano
   -------------------------------------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.detail-card {
  background: var(--surface); border: none; padding: 26px;
  transition: background 0.22s;
}
.detail-card:hover { background: var(--surface-2); }
.detail-card h3 { margin-bottom: 12px; color: var(--blue-deep); }
.detail-card ul { margin: 0; padding-left: 18px; }
.detail-card li { margin-bottom: 8px; color: var(--text-body); font-size: 0.93rem; }

/* --------------------------------------------------------------------------
   PROCESS GRID (páginas de servicio)
   -------------------------------------------------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--border); }
.process-grid article, .process-grid > div {
  background: var(--surface); color: var(--blue-deep);
  padding: 22px;
  border-top: 3px solid var(--blue);
  transition: background 0.22s;
}
.process-grid article:hover, .process-grid > div:hover { background: var(--surface-2); }
.process-grid span {
  display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 900;
  color: rgba(0,85,184,0.13); line-height: 1; margin-bottom: 12px;
}
.process-grid h3 { color: var(--blue-deep); margin: 0 0 8px; font-size: 0.95rem; }
.process-grid p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   STAT BAND — plano
   -------------------------------------------------------------------------- */
.stat-band {
  background: var(--surface); color: var(--blue-deep);
  border: 1px solid var(--border); padding: 30px;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px;
  position: relative; overflow: hidden;
  background: var(--border);
}
.stat-band > * { background: var(--surface); padding: 24px; }
.stat-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.stat-band h3 { font-size: 2.4rem; font-weight: 900; color: var(--blue); margin: 0 0 4px; }
.stat-band p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   ABOUT LAYOUT — plano
   -------------------------------------------------------------------------- */
.about-layout { display: grid; gap: 1px; background: var(--border); }
.about-block {
  background: var(--surface);
  border: none; padding: 30px;
  transition: background 0.22s;
}
.about-block:hover { background: var(--surface-2); }
.about-block h2 { font-size: 1.4rem; margin-bottom: 18px; }
.about-block p { margin: 0 0 12px; color: var(--text-body); font-size: 0.97rem; line-height: 1.78; }
.about-block p:last-child { margin-bottom: 0; }
.about-block strong { color: var(--blue-deep); }

.about-highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.about-highlights article, .about-highlights > div {
  background: var(--surface);
  border: none; padding: 22px; position: relative; overflow: hidden;
  transition: background 0.22s;
}
.about-highlights article::before, .about-highlights > div::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.about-highlights article:hover, .about-highlights > div:hover { background: var(--surface-2); }
.about-highlights h3 { font-size: 2.1rem; font-weight: 900; color: var(--blue); margin: 0 0 10px; }
.about-highlights p { margin: 0; color: var(--text-muted); font-size: 0.91rem; }

/* --------------------------------------------------------------------------
   CTA PANEL (inline)
   -------------------------------------------------------------------------- */
.cta-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 28px; display: grid; gap: 10px;
}
.cta-panel h3 { font-size: 1.3rem; color: var(--blue-deep); margin-bottom: 4px; }
.cta-panel p { color: var(--text-muted); margin: 0; font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   CTA BAND — oscuro sólido, sin círculo decorativo
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--blue-ink);
  padding: 80px 0; text-align: center;
  position: relative;
  border-top: 3px solid var(--orange);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   NUMBERS BAND — fondo oscuro sólido, grid gap-px
   -------------------------------------------------------------------------- */
.numbers-band {
  background: var(--blue-ink);
  padding: 64px 0; position: relative;
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid rgba(0,85,184,0.2);
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: rgba(255,255,255,0.08);
}
.number-item {
  background: rgba(7,13,26,0.95);
  padding: 38px 20px; text-align: center;
  transition: background 0.25s;
}
.number-item:hover { background: rgba(0,85,184,0.14); }
.number-item strong {
  display: block; font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  color: var(--orange); line-height: 1; margin-bottom: 8px;
}
.number-item span {
  font-size: 0.82rem; color: rgba(230,240,251,0.7);
  line-height: 1.45; display: block;
}

/* --------------------------------------------------------------------------
   TECHNOLOGY PARTNERS — plano, sin radio
   -------------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--border); margin-top: 36px;
}
.partner-pill {
  background: var(--surface);
  border: none; padding: 22px 14px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; text-align: center;
  transition: background 0.22s;
}
.partner-pill:hover { background: var(--surface-2); }
.partner-pill i { font-size: 1.7rem; color: var(--text-muted); }
.partner-pill strong {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep);
  display: block;
}
.partner-badge {
  font-family: var(--font-mono); font-size: 0.59rem;
  color: var(--blue); background: var(--blue-light);
  border: 1px solid rgba(0,85,184,0.2);
  padding: 2px 8px;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   CASOS DE ÉXITO — gap-px estilo ARCII
   -------------------------------------------------------------------------- */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px; background: var(--border); margin-top: 36px;
}
.case-card {
  background: var(--surface); border: none;
  transition: background 0.22s;
  display: flex; flex-direction: column;
}
.case-card:hover { background: var(--surface-2); }
.case-img { position: relative; height: 196px; overflow: hidden; }
.case-img img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7);
  transition: filter 0.4s var(--ease);
}
.case-card:hover .case-img img { filter: saturate(0.92); }
.case-sector {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue); color: #fff;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px;
}
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-metric {
  font-family: var(--font-head); font-size: 2.3rem; font-weight: 900;
  color: var(--blue); line-height: 1; margin-bottom: 8px;
}
.case-body h3 { font-size: 0.97rem; margin-bottom: 10px; color: var(--blue-deep); }
.case-body p {
  font-size: 0.87rem; color: var(--text-muted);
  flex: 1; margin: 0; line-height: 1.65;
}
.case-footer {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag {
  font-family: var(--font-mono); font-size: 0.59rem;
  color: var(--text-faint); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--surface-2); padding: 3px 9px;
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   TESTIMONIOS — gap-px estilo ARCII
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px; background: var(--border); margin-top: 40px;
}
.testimonial-card {
  background: var(--surface); border: none;
  padding: 28px 28px 24px;
  position: relative; overflow: hidden;
  transition: background 0.22s;
  display: flex; flex-direction: column;
}
.testimonial-card:hover { background: var(--surface-2); }
.testimonial-mark {
  font-family: Georgia, serif; font-size: 5.5rem; line-height: 0.75;
  color: var(--blue-light); position: absolute; top: 12px; right: 18px;
  pointer-events: none; user-select: none;
}
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 16px; color: #F59E0B; font-size: 0.78rem;
}
.testimonial-quote {
  font-size: 0.95rem; color: var(--text-body); line-height: 1.77;
  font-style: italic; flex: 1; margin-bottom: 22px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-light); border: 2px solid rgba(0,85,184,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.05rem;
}
.testimonial-meta strong {
  display: block; font-family: var(--font-head); font-size: 0.86rem;
  font-weight: 700; color: var(--blue-deep); margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.testimonial-meta span { font-size: 0.78rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   FAQ — plano, sin radio
   -------------------------------------------------------------------------- */
.faq-layout { max-width: 900px; margin: 40px auto 0; display: grid; gap: 1px; background: var(--border); }
.faq-item {
  background: var(--surface); overflow: hidden;
  transition: background 0.22s;
}
.faq-item:hover { background: var(--surface-2); }
.faq-item.is-open { background: var(--surface); border-left: 3px solid var(--blue); }
.faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  font-family: var(--font-head); font-size: 0.94rem; font-weight: 700;
  text-align: left; color: var(--blue-deep); text-transform: uppercase;
  letter-spacing: 0.04em; transition: color 0.22s;
}
.faq-q:hover { color: var(--blue); }
.faq-item.is-open .faq-q { color: var(--blue); }
.faq-chevron {
  flex-shrink: 0; width: 30px; height: 30px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.7rem;
  transition: transform 0.3s var(--ease), border-color 0.22s, background 0.22s, color 0.22s;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg); border-color: var(--blue);
  background: var(--blue-light); color: var(--blue);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.42s var(--ease);
  padding: 0 22px;
}
.faq-a.is-open { max-height: 500px; }
.faq-a-inner { padding-bottom: 22px; }
.faq-a p { margin: 0 0 10px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.74; }
.faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   MODAL — plano
   -------------------------------------------------------------------------- */
.info-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 300; }
.info-modal.is-open { display: flex; }
.info-modal-backdrop { position: absolute; inset: 0; background: rgba(7,13,26,0.78); }
.info-modal-panel {
  position: relative; width: min(880px, 94vw); max-height: 90vh; overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border); padding: 30px;
  animation: fadeUp 0.22s var(--ease) both;
  border-top: 3px solid var(--blue);
}
.info-modal-head {
  display: flex; justify-content: space-between; align-items: start;
  gap: 16px; margin-bottom: 14px;
}
.info-modal-head h3 { margin: 0; font-size: clamp(1.3rem, 2.8vw, 2rem); }
.info-modal-head p { margin: 6px 0 0; color: var(--text-muted); }
.info-modal-close {
  border: 1px solid var(--border-strong); background: var(--surface);
  width: 36px; height: 36px;
  font-size: 1.2rem; line-height: 1; cursor: pointer; transition: border-color 0.2s;
}
.info-modal-close:hover { border-color: var(--orange); color: var(--orange); }
.info-modal-form { min-height: 220px; }
body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   ECOSISTEMA GRUPO ARCII — banda oscura
   -------------------------------------------------------------------------- */
.ecosistema-band {
  background: var(--blue-ink);
  padding: 80px 0;
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}
.ecosistema-band h2 { color: #fff; }
.ecosistema-band .kicker { color: var(--orange); }
.ecosistema-band .lead { color: rgba(230,240,251,0.65); }
.ecosistema-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: rgba(255,255,255,0.08); margin-top: 40px;
}
.ecosistema-item {
  background: rgba(7,13,26,0.95);
  padding: 28px 24px;
  border-top: 3px solid transparent;
  transition: background 0.22s, border-color 0.22s;
}
.ecosistema-item.is-current { border-top-color: var(--orange); background: rgba(0,85,184,0.10); }
.ecosistema-item:hover { background: rgba(0,85,184,0.10); }
.ecosistema-item h3 { color: #fff; font-size: 0.97rem; margin-bottom: 8px; }
.ecosistema-item p { color: rgba(230,240,251,0.55); font-size: 0.87rem; margin: 0; line-height: 1.65; }
.ecosistema-tag {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px;
  background: rgba(0,85,184,0.25); color: rgba(230,240,251,0.7);
  border: 1px solid rgba(0,85,184,0.3);
}

/* --------------------------------------------------------------------------
   FOOTER — identidad IntaxWeb, estructura oscura
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-ink);
  border-top: 3px solid var(--orange);
  color: #D4E0F0; padding: 80px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 50px; margin-bottom: 44px;
}
.site-footer img { width: 160px; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-brand-desc {
  margin: 18px 0 22px; color: rgba(212,224,240,0.5);
  font-size: 0.9rem; max-width: 310px; line-height: 1.72;
}
.footer-social { display: flex; gap: 10px; }
.f-social-btn {
  display: inline-flex; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(0,85,184,0.28);
  color: rgba(212,224,240,0.6); transition: all 0.22s;
}
.f-social-btn:hover { border-color: var(--orange); color: #fff; background: rgba(255,122,0,0.16); }
.footer-col-title {
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; margin: 0 0 16px;
}
.footer-links { display: grid; gap: 7px; }
.footer-links a {
  font-size: 0.88rem; color: rgba(212,224,240,0.55);
  transition: color 0.2s, transform 0.2s; display: inline-block;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact-item { margin-bottom: 13px; }
.fci-label {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em;
  color: rgba(180,200,230,0.5); text-transform: uppercase; margin-bottom: 3px;
}
.fci-val, .fci-val a { font-size: 0.88rem; color: rgba(212,224,240,0.72); }
.fci-val a:hover { color: #fff; }
.footer-topline { height: 2px; background: var(--grad-brand); margin-bottom: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: rgba(212,224,240,0.35); font-size: 0.8rem; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: rgba(212,224,240,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(212,224,240,0.75); }

/* --------------------------------------------------------------------------
   ABOUT — CERTIFICATIONS — plano
   -------------------------------------------------------------------------- */
.certs-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: var(--border); margin-top: 32px;
}
.cert-card {
  background: var(--surface);
  border: none; padding: 22px 18px;
  text-align: center;
  transition: background 0.22s;
}
.cert-card:hover { background: var(--surface-2); }
.cert-card i { font-size: 1.9rem; color: var(--blue); margin-bottom: 12px; display: block; }
.cert-card strong {
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-deep);
  display: block; margin-bottom: 4px;
}
.cert-card span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; display: block; }

/* --------------------------------------------------------------------------
   ABOUT — DIFFERENTIATORS — plano
   -------------------------------------------------------------------------- */
.diff-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px; background: var(--border); margin-top: 32px;
}
.diff-item {
  background: var(--surface);
  border: none; padding: 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: background 0.25s;
}
.diff-item:hover { background: var(--surface-2); }
.diff-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--blue-light);
  border: 1px solid rgba(0,85,184,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.15rem;
}
.diff-item h3 { font-size: 0.93rem; margin-bottom: 6px; color: var(--blue-deep); }
.diff-item p { font-size: 0.87rem; color: var(--text-muted); margin: 0; line-height: 1.68; }

/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.scroll-animate {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.scroll-animate.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   MEGA MENU
   -------------------------------------------------------------------------- */
.nav-item-mega {
  position: relative; display: inline-flex; align-items: center;
}
.mega-trigger {
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px; position: relative;
}
.mega-trigger::after {
  content: "";
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4.5px solid currentColor;
  opacity: 0.55; transition: transform 0.22s;
}
.nav-item-mega.is-open .mega-trigger::after { transform: rotate(180deg); opacity: 1; }
.mega-menu {
  display: none; position: absolute;
  top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  width: min(860px, 94vw);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10); padding: 28px;
  z-index: 1000; animation: megaIn 0.2s ease both;
}
.nav-item-mega.is-open .mega-menu { display: block; }
@keyframes megaIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 28px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col + .mega-col { border-left: 1px solid var(--border); padding-left: 28px; }
.mega-title {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 0 0 10px;
}
.mega-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 10px; text-decoration: none; transition: background 0.15s;
}
.mega-link:hover { background: var(--blue-light); }
.mega-link strong { font-size: 0.86rem; font-weight: 600; color: var(--blue-deep); line-height: 1.3; }
.mega-link span { font-size: 0.75rem; color: var(--text-muted); line-height: 1.45; }
.mega-cta {
  margin-top: 16px; background: var(--blue-light);
  border: 1px solid rgba(0,85,184,0.18); padding: 16px;
}
.mega-cta h4 {
  font-family: var(--font-head); font-size: 0.87rem; font-weight: 700;
  color: var(--blue); margin-bottom: 6px;
}
.mega-cta p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.mega-cta a {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 0.78rem; font-weight: 600; padding: 7px 14px;
  border-radius: 4px; text-decoration: none; transition: background 0.2s;
}
.mega-cta a:hover { background: var(--blue-mid); }

.mega-menu--contact { width: min(480px, 94vw); left: auto; right: 0; transform: none; }
@keyframes megaInRight {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-menu--contact { animation: megaInRight 0.2s ease both; }
.mega-contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mega-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.83rem;
}
.mega-contact-item:last-of-type { border-bottom: none; }
.mega-contact-item i { color: var(--blue); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.mega-contact-item a { color: var(--blue-deep); text-decoration: none; }
.mega-contact-item a:hover { color: var(--blue); }
.mega-contact-item span { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   ANNOUNCE BAR
   -------------------------------------------------------------------------- */
.announce-bar {
  position: relative; z-index: 210;
  background: var(--blue-mid);
  color: rgba(255,255,255,0.88);
  padding: 9px 0; text-align: center;
  font-family: var(--font-head); font-size: 0.78rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
.announce-bar a {
  color: #fff; text-decoration: underline;
  text-underline-offset: 3px; margin-left: 10px;
  font-weight: 800; white-space: nowrap;
}
.announce-bar a:hover { opacity: 0.8; }

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: fadeUp 0.65s var(--ease) both; }
  .hero-media { animation: fadeUp 0.65s 0.1s var(--ease) both; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ecosistema-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1040px) {
  .hero-grid, .split-feature, .sectors-wrap, .value-grid,
  .inner-hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; padding-right: 0; }
  .hero-media { min-height: 300px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-list-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-highlights { grid-template-columns: repeat(2,1fr); }
  .inner-hero-media img { min-height: 280px; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .partners-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .certs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px; flex-direction: column; align-items: flex-start;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { border-bottom: none; padding: 10px 0; width: 100%; }
  .lang-switch { margin-left: 0; }
  .mega-menu {
    position: static; transform: none; width: 100%;
    box-shadow: none; border: none;
    border-top: 1px solid var(--border); padding: 12px 0; animation: none;
  }
  .mega-menu--contact { right: auto; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-col + .mega-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
  .mega-contact-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 48px 0 32px; }
  .hero-media { min-height: 260px; }
  .hero-metrics { flex-direction: column; }
  .hero-metrics li { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-metrics li:last-child { border-bottom: none; }
  .trust-grid { grid-template-columns: 1fr; padding: 20px; }
  .trust-grid article { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
  .trust-grid article:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
  .services-grid, .service-list-grid, .verticals-grid,
  .projects-grid, .timeline, .process-grid,
  .about-highlights, .certs-grid, .ecosistema-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .logos-track { gap: 1px; animation-duration: 28s; }
  .logos-track--slow { animation-duration: 36s; }
  .logo-pill { flex-basis: 140px; width: 140px; height: 78px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .info-modal-panel { padding: 18px; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .announce-bar { font-size: 0.7rem; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track, .logos-track--slow {
    animation: none; transform: none; width: 100%; flex-wrap: wrap;
  }
}
