/* ==========================================================================
   SISTEMA DE DISEÑO — Holística Empresarial S.A.C.
   Basado en brandbook.md (paleta, tipografía, proporciones 60-30-10)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colores de capa (4 piezas del logo) */
  --vio: #8B2FC9;      /* Estrategia */
  --azu: #1E6BFF;      /* Procesos */
  --esm: #0FA86B;      /* Tecnología */
  --nar: #FF7A1A;      /* Personas */
  --cian: #00E0C6;     /* IA · núcleo inteligente */
  --cian-oscuro: #00796d;  /* cian accesible para texto sobre fondo claro */

  /* Neutros (el todo) */
  --grafito: #1F2430;
  --gris: #5A6474;
  --offwhite: #FAF8F3;
  --blanco: #FFFFFF;

  /* Tipografía */
  --fuente-titulos: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fuente-cuerpo: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Radios y sombras */
  --radio: 12px;
  --radio-boton: 10px;
  --sombra: 0 4px 16px rgba(31, 36, 48, 0.08);
  --sombra-hover: 0 8px 28px rgba(31, 36, 48, 0.14);

  /* Espaciado */
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fuente-cuerpo);
  color: var(--grafito);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--fuente-titulos); line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.6vw, 26px); }
h4 { font-size: 20px; font-weight: 600; }
p { font-size: 16px; color: var(--gris); }
.sub { font-size: 18px; color: var(--gris); }

/* ---------- Utilidades ---------- */
.contenedor { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.seccion { padding: clamp(48px, 7vw, 96px) 0; }
.seccion-offwhite { background: var(--offwhite); }
.seccion-oscura { background: var(--grafito); color: var(--blanco); }
.seccion-oscura p { color: #C9CEDE; }
.titulo-seccion { margin-bottom: 12px; }
.sub-seccion { max-width: 640px; margin-bottom: 40px; }

/* Etiqueta pequeña */
.tag {
  display: inline-block;
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tag-violeta { background: rgba(139,47,201,0.12); color: var(--vio); }
.tag-azul { background: rgba(30,107,255,0.12); color: var(--azu); }
.tag-esmeralda { background: rgba(15,168,107,0.12); color: var(--esm); }
.tag-naranja { background: rgba(255,122,26,0.12); color: var(--nar); }
.tag-grafito { background: rgba(255,255,255,0.14); color: var(--blanco); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radio-boton);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--azu); outline-offset: 2px; }

.btn-grafito { background: var(--grafito); color: var(--blanco); }
.btn-grafito:hover { box-shadow: var(--sombra-hover); }
.btn-blanco { background: var(--blanco); color: var(--grafito); }
.btn-blanco:hover { box-shadow: var(--sombra-hover); }
.btn-violeta { background: var(--vio); color: var(--blanco); }
.btn-azul { background: var(--azu); color: var(--blanco); }
.btn-esmeralda { background: var(--esm); color: var(--blanco); }
.btn-naranja { background: var(--nar); color: var(--blanco); }
.btn-contorno { background: transparent; border-color: currentColor; }
.btn-contorno-blanco { background: transparent; border-color: var(--blanco); color: var(--blanco); }
.btn-contorno-grafito { background: transparent; border-color: var(--grafito); color: var(--grafito); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanco);
  border-bottom: 1px solid rgba(31,36,48,0.08);
}
.header-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.header-logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--grafito); position: relative; padding: 8px 0; }
.nav a:hover { color: var(--vio); }
.nav a.activo { color: var(--vio); }
.nav a.activo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--vio);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Desplegable */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: var(--blanco); border-radius: var(--radio);
  box-shadow: var(--sombra-hover); padding: 8px; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.dropdown-menu a:hover { background: var(--offwhite); color: var(--vio); }
.dropdown-menu a small { display: block; font-weight: 400; font-size: 12px; color: var(--gris); margin-top: 2px; }
.dropdown-menu a.dd-violeta:hover { background: rgba(139,47,201,0.08); color: var(--vio); }
.dropdown-menu a.dd-esmeralda:hover { background: rgba(15,168,107,0.08); color: var(--esm); }
.dropdown-menu a.dd-naranja:hover { background: rgba(255,122,26,0.08); color: var(--nar); }
.dropdown-menu a.dd-cian:hover { background: rgba(0,224,198,0.10); color: var(--cian-oscuro); }

/* Botón hamburguesa */
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 3px; background: var(--grafito); margin: 5px 0; border-radius: 3px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grafito);
  color: var(--blanco);
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-logo img { height: 88px; width: auto; margin-bottom: 24px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .destacado { color: var(--nar); }
.hero p.sub { color: #C9CEDE; margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Acentos decorativos del hero — 4 elementos con rotación y dirección individual */
.hero-accentos { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-accentos .ac {
  position: absolute;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.hero-accentos .ac path { pointer-events: auto; }

/* Círculo violeta — esquina sup-izquierda (hacia arriba-derecha) */
.ac-1 {
  --c-ac: #8B2FC9;
  --rot: 0deg;
  --dx: 18px;
  --dy: -22px;
  width: 240px; height: 240px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 50%;
  opacity: 0.16;
  top: -100px; left: -80px;
  filter: blur(2px);
  animation: deriva 22s ease-in-out infinite alternate;
}
/* Rombo azul — superior-derecha (hacia arriba-izquierda) */
.ac-2 {
  --c-ac: #1E6BFF;
  --rot: 17deg;
  --dx: -20px;
  --dy: -14px;
  width: 160px; height: 160px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 12px;
  opacity: 0.14;
  top: -60px; right: 8%;
  animation: deriva 26s ease-in-out infinite alternate;
}
/* Pétalo del logo naranja — inferior-izquierda (hacia abajo-izquierda) */
.ac-3 {
  --c-ac: #FF7A1A;
  --rot: -32deg;
  --dx: -16px;
  --dy: 18px;
  width: 110px; height: 110px;
  opacity: 0.22;
  bottom: 6%; left: 12%;
  animation: deriva 24s ease-in-out infinite alternate;
}
.ac-3 path { fill: color-mix(in srgb, var(--nar) 50%, transparent) !important; }
/* Cuadrado redondeado esmeralda — inferior-derecha (hacia abajo-derecha) */
.ac-4 {
  --c-ac: #0FA86B;
  --rot: 43deg;
  --dx: 22px;
  --dy: 16px;
  width: 70px; height: 70px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 16px;
  opacity: 0.18;
  bottom: 10%; right: 10%;
  animation: deriva 18s ease-in-out infinite alternate;
}
/* Círculo pequeño naranja — centro-superior */
.ac-5 {
  --c-ac: #FF7A1A;
  --rot: 0deg;
  --dx: 12px;
  --dy: -18px;
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 50%;
  opacity: 0.24;
  top: 22%; left: 42%;
  animation: deriva 16s ease-in-out infinite alternate;
}
/* Rombo violeta — centro-izquierda */
.ac-6 {
  --c-ac: #8B2FC9;
  --rot: 28deg;
  --dx: -20px;
  --dy: 14px;
  width: 90px; height: 90px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 12px;
  opacity: 0.20;
  top: 30%; left: 6%;
  animation: deriva 20s ease-in-out infinite alternate;
}
/* Pétalo del logo esmeralda — centro-derecha */
.ac-7 {
  --c-ac: #0FA86B;
  --rot: -18deg;
  --dx: 16px;
  --dy: -12px;
  width: 100px; height: 100px;
  opacity: 0.22;
  top: 24%; right: 6%;
  animation: deriva 22s ease-in-out infinite alternate;
}
.ac-7 path { fill: color-mix(in srgb, var(--esm) 50%, transparent) !important; }
/* Cuadrado redondeado azul — inferior-centro */
.ac-8 {
  --c-ac: #1E6BFF;
  --rot: 12deg;
  --dx: 14px;
  --dy: 16px;
  width: 64px; height: 64px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 18px;
  opacity: 0.20;
  bottom: 20%; left: 48%;
  animation: deriva 19s ease-in-out infinite alternate;
}
/* Círculo azul — superior-centro */
.ac-9 {
  --c-ac: #1E6BFF;
  --rot: 0deg;
  --dx: -14px;
  --dy: -16px;
  width: 40px; height: 40px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 50%;
  opacity: 0.28;
  top: 10%; left: 60%;
  animation: deriva 14s ease-in-out infinite alternate;
}
/* Círculo esmeralda — izquierda-media */
.ac-10 {
  --c-ac: #0FA86B;
  --rot: 0deg;
  --dx: 18px;
  --dy: 20px;
  width: 84px; height: 84px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 50%;
  opacity: 0.18;
  top: 40%; left: 16%;
  animation: deriva 21s ease-in-out infinite alternate;
}
/* Círculo violeta — derecha-media */
.ac-11 {
  --c-ac: #8B2FC9;
  --rot: 0deg;
  --dx: -20px;
  --dy: 16px;
  width: 60px; height: 60px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 50%;
  opacity: 0.24;
  top: 38%; right: 16%;
  animation: deriva 17s ease-in-out infinite alternate;
}
/* Círculo naranja — inferior-izquierda */
.ac-12 {
  --c-ac: #FF7A1A;
  --rot: 0deg;
  --dx: 16px;
  --dy: -14px;
  width: 34px; height: 34px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 50%;
  opacity: 0.30;
  bottom: 32%; left: 24%;
  animation: deriva 13s ease-in-out infinite alternate;
}
/* Círculo azul — inferior-derecha */
.ac-13 {
  --c-ac: #1E6BFF;
  --rot: 0deg;
  --dx: -16px;
  --dy: -18px;
  width: 74px; height: 74px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 50%;
  opacity: 0.20;
  bottom: 26%; right: 24%;
  animation: deriva 23s ease-in-out infinite alternate;
}
/* Círculo esmeralda — superior-izquierda */
.ac-14 {
  --c-ac: #0FA86B;
  --rot: 0deg;
  --dx: 20px;
  --dy: 12px;
  width: 46px; height: 46px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 50%;
  opacity: 0.26;
  top: 14%; left: 28%;
  animation: deriva 15s ease-in-out infinite alternate;
}
/* Círculo naranja — superior-derecha */
.ac-15 {
  --c-ac: #FF7A1A;
  --rot: 0deg;
  --dx: -18px;
  --dy: 14px;
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 50%;
  opacity: 0.24;
  top: 8%; right: 30%;
  animation: deriva 19s ease-in-out infinite alternate;
}
/* Círculo violeta — centro */
.ac-16 {
  --c-ac: #8B2FC9;
  --rot: 0deg;
  --dx: 14px;
  --dy: -20px;
  width: 38px; height: 38px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 50%;
  opacity: 0.28;
  top: 50%; left: 50%;
  animation: deriva 16s ease-in-out infinite alternate;
}
/* Círculo azul — esquina sup-izquierda (zona libre) */
.ac-17 {
  --c-ac: #1E6BFF;
  --rot: 0deg;
  --dx: 16px;
  --dy: 14px;
  width: 30px; height: 30px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 50%;
  opacity: 0.30;
  top: 6%; left: 8%;
  animation: deriva 12s ease-in-out infinite alternate;
}
/* Rombo esmeralda — sup-izquierda */
.ac-18 {
  --c-ac: #0FA86B;
  --rot: 36deg;
  --dx: -18px;
  --dy: 12px;
  width: 58px; height: 58px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 10px;
  opacity: 0.20;
  top: 16%; left: 2%;
  animation: deriva 20s ease-in-out infinite alternate;
}
/* Círculo violeta — sup-centro */
.ac-19 {
  --c-ac: #8B2FC9;
  --rot: 0deg;
  --dx: 14px;
  --dy: -16px;
  width: 26px; height: 26px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 50%;
  opacity: 0.32;
  top: 4%; left: 50%;
  animation: deriva 11s ease-in-out infinite alternate;
}
/* Cuadrado redondeado naranja — sup-derecha */
.ac-20 {
  --c-ac: #FF7A1A;
  --rot: 24deg;
  --dx: -16px;
  --dy: 14px;
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 12px;
  opacity: 0.24;
  top: 14%; right: 4%;
  animation: deriva 18s ease-in-out infinite alternate;
}
/* Círculo esmeralda — sup-derecha */
.ac-21 {
  --c-ac: #0FA86B;
  --rot: 0deg;
  --dx: 18px;
  --dy: -12px;
  width: 32px; height: 32px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 50%;
  opacity: 0.28;
  top: 6%; right: 14%;
  animation: deriva 13s ease-in-out infinite alternate;
}
/* Rombo violeta — centro-izquierda */
.ac-22 {
  --c-ac: #8B2FC9;
  --rot: 30deg;
  --dx: -14px;
  --dy: -16px;
  width: 66px; height: 66px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 10px;
  opacity: 0.18;
  top: 32%; left: 2%;
  animation: deriva 22s ease-in-out infinite alternate;
}
/* Círculo azul — centro-izquierda */
.ac-23 {
  --c-ac: #1E6BFF;
  --rot: 0deg;
  --dx: 16px;
  --dy: 14px;
  width: 28px; height: 28px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 50%;
  opacity: 0.30;
  top: 26%; left: 10%;
  animation: deriva 14s ease-in-out infinite alternate;
}
/* Cuadrado redondeado esmeralda — centro-derecha */
.ac-24 {
  --c-ac: #0FA86B;
  --rot: -20deg;
  --dx: -16px;
  --dy: 14px;
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 14px;
  opacity: 0.22;
  top: 30%; right: 6%;
  animation: deriva 19s ease-in-out infinite alternate;
}
/* Círculo naranja — centro-derecha */
.ac-25 {
  --c-ac: #FF7A1A;
  --rot: 0deg;
  --dx: -12px;
  --dy: -14px;
  width: 34px; height: 34px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 50%;
  opacity: 0.26;
  top: 24%; right: 12%;
  animation: deriva 15s ease-in-out infinite alternate;
}
/* Rombo azul — inferior-izquierda */
.ac-26 {
  --c-ac: #1E6BFF;
  --rot: 42deg;
  --dx: 18px;
  --dy: 12px;
  width: 54px; height: 54px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 10px;
  opacity: 0.22;
  bottom: 14%; left: 4%;
  animation: deriva 21s ease-in-out infinite alternate;
}
/* Círculo esmeralda — inferior-izquierda */
.ac-27 {
  --c-ac: #0FA86B;
  --rot: 0deg;
  --dx: -14px;
  --dy: 16px;
  width: 30px; height: 30px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 50%;
  opacity: 0.28;
  bottom: 8%; left: 18%;
  animation: deriva 13s ease-in-out infinite alternate;
}
/* Cuadrado redondeado violeta — inferior-centro */
.ac-28 {
  --c-ac: #8B2FC9;
  --rot: 18deg;
  --dx: 14px;
  --dy: -14px;
  width: 42px; height: 42px;
  background: color-mix(in srgb, var(--vio) 50%, transparent);
  border-radius: 12px;
  opacity: 0.24;
  bottom: 6%; left: 46%;
  animation: deriva 17s ease-in-out infinite alternate;
}
/* Círculo naranja — inferior-derecha */
.ac-29 {
  --c-ac: #FF7A1A;
  --rot: 0deg;
  --dx: -16px;
  --dy: 14px;
  width: 36px; height: 36px;
  background: color-mix(in srgb, var(--nar) 50%, transparent);
  border-radius: 50%;
  opacity: 0.26;
  bottom: 18%; right: 6%;
  animation: deriva 14s ease-in-out infinite alternate;
}
/* Pétalo del logo violeta — inferior-derecha */
.ac-30 {
  --c-ac: #8B2FC9;
  --rot: -30deg;
  --dx: 18px;
  --dy: -12px;
  width: 80px; height: 80px;
  opacity: 0.20;
  bottom: 4%; right: 16%;
  animation: deriva 23s ease-in-out infinite alternate;
}
.ac-30 path { fill: color-mix(in srgb, var(--vio) 50%, transparent) !important; }
/* Rombo azul — inferior-derecha */
.ac-31 {
  --c-ac: #1E6BFF;
  --rot: 26deg;
  --dx: -14px;
  --dy: 16px;
  width: 40px; height: 40px;
  background: color-mix(in srgb, var(--azu) 50%, transparent);
  border-radius: 8px;
  opacity: 0.24;
  bottom: 30%; right: 4%;
  animation: deriva 16s ease-in-out infinite alternate;
}
/* Círculo esmeralda — centro */
.ac-32 {
  --c-ac: #0FA86B;
  --rot: 0deg;
  --dx: 16px;
  --dy: 14px;
  width: 24px; height: 24px;
  background: color-mix(in srgb, var(--esm) 50%, transparent);
  border-radius: 50%;
  opacity: 0.32;
  top: 44%; left: 58%;
  animation: deriva 12s ease-in-out infinite alternate;
}

/* Hover: luminosidad tipo logo, con el color propio de cada figura */
.hero-accentos .ac:hover {
  opacity: 0.5;
  filter: brightness(1.4)
          drop-shadow(0 0 20px var(--c-ac))
          drop-shadow(0 0 40px var(--c-ac));
}

/* Deriva genérica con dirección individual (transform-only) */
@keyframes deriva {
  from { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  to   { transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(calc(var(--rot, 0deg) + 8deg)); }
}

/* Hero de página de pilar (color dominante) */
.hero-pilar { padding: clamp(56px, 7vw, 96px) 0; color: var(--blanco); }
.hero-pilar h1 { margin-bottom: 16px; }

/* Banner técnico compartido: mismo lenguaje visual que el hero del index
   (cuadrícula, crosshair, ticks y figuras laterales) */
.hero-cian { background: linear-gradient(135deg, #00665c, #00A894 55%, #00C4A8); }
.hero-pilar .contenedor { position: relative; z-index: 1; }
.banner-figs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.banner-figs .bf {
  position: absolute;
  width: clamp(90px, 14vw, 170px);
  height: auto;
  opacity: 0.16;
  animation: deriva 11s ease-in-out infinite alternate;
}
.banner-figs .bf-1 { top: -34px; right: 3vw; --dx: -14px; --dy: 16px; }
.banner-figs .bf-2 { bottom: -44px; left: 1.5vw; --dx: 16px; --dy: -12px; animation-delay: -5.5s; }

/* ---------- Hero a pantalla completa (solo inicio) ---------- */
.es-inicio .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}
.es-inicio .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  flex: 1 0 auto;
  margin: 0;
  align-self: center;
}
.es-inicio .hero-menu {
  margin-top: clamp(16px, 3vh, 24px);
  margin-bottom: clamp(24px, 5vh, 48px);
  flex-shrink: 0;
}

/* Menú técnico (tabla de ingeniería) dentro del hero */
.hero-menu {
  position: relative;
  left: auto; right: auto;
  bottom: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  align-items: stretch;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  margin-top: clamp(24px, 4vh, 48px);
  margin-bottom: clamp(16px, 3vh, 32px);
  background: rgba(15, 23, 42, 0.55);
  border-top: 2px dashed rgba(30, 107, 255, 0.7);
  border-bottom: 2px dashed rgba(30, 107, 255, 0.7);
  z-index: 40;
  overflow: hidden;
}
.hm-celda {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  min-height: 68px;
  transition: all 0.25s ease;
  position: relative;
}
.hm-celda:not(:last-child) { border-right: 2px dashed rgba(30, 107, 255, 0.4); }
.hm-celda:nth-child(1){ --c-celda: #8B2FC9; }
.hm-celda:nth-child(2){ --c-celda: #1E6BFF; }
.hm-celda:nth-child(3){ --c-celda: #0FA86B; }
.hm-celda:nth-child(4){ --c-celda: #FF7A1A; }
.hm-celda:nth-child(5){ --c-celda: #8B2FC9; }
.hm-celda:nth-child(6){ --c-celda: #1E6BFF; }
.hm-celda::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hm-celda:hover {
  background: var(--c-celda, var(--grafito));
  box-shadow:
    inset 0 0 0 1px var(--c-celda),
    0 0 24px var(--c-celda),
    0 0 48px color-mix(in srgb, var(--c-celda, var(--grafito)) 60%, transparent);
}
.hm-celda:hover::after { opacity: 1; }
.hm-inner { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.hm-logo { justify-content: flex-start; }
.hm-svg { width: 34px; height: 34px; display: block; flex-shrink: 0; }
.hm-svg svg { width: 100%; height: 100%; display: block; }
.hm-nombre {
  font-family: var(--fuente-titulos);
  font-size: 15px;
  color: var(--blanco);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hm-nombre small {
  display: block;
  font-family: var(--fuente-cuerpo);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}
.hm-link {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--blanco);
  text-decoration: none;
  padding: 8px 10px;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.hm-link:hover {
  color: var(--c-celda, var(--esm));
  text-decoration: underline;
  filter: brightness(1.5) drop-shadow(0 0 14px var(--c-celda, var(--esm))) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}
.hm-cta {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--blanco);
  text-decoration: none;
  padding: 11px 20px;
  background: var(--nar);
  white-space: nowrap;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.hm-cta span { display: inline-block; }
.hm-cta:hover {
  color: var(--c-celda, var(--nar));
  filter: brightness(1.5) drop-shadow(0 0 14px var(--c-celda, var(--nar))) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

/* Mobile (≤820px): se oculta el menú técnico y se usa el header con hamburguesa */
@media (max-width: 820px) {
  .hero-menu { display: none; }
  /* Header siempre visible con hamburguesa en mobile */
  .es-inicio .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 8px 30px rgba(31, 36, 48, 0.10);
  }
  /* Hero apilado en mobile: título arriba, logo abajo */
  .es-inicio .hero { justify-content: center; }
  .es-inicio .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 84px;
    padding-bottom: 24px;
  }
  .hero-texto { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-icono { width: 100%; }
}
.hero-pilar p.sub { color: rgba(255,255,255,0.85); max-width: 640px; }
.hero-violeta { background: linear-gradient(135deg, #6B23A0, #8B2FC9 55%, #A952D9); }
.hero-esmeralda { background: linear-gradient(135deg, #0B8A5C, #0FA86B 55%, #25C787); }
.hero-naranja { background: linear-gradient(135deg, #E2650A, #FF7A1A 55%, #FF9548); }

/* ---------- Tarjetas ---------- */
.grid-pilares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tarjeta {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px 28px;
  border: 1px solid rgba(31,36,48,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: var(--sombra-hover); }
.tarjeta .borde-sup { position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.borde-violeta { background: var(--vio); }
.borde-azul { background: var(--azu); }
.borde-esmeralda { background: var(--esm); }
.borde-naranja { background: var(--nar); }

.tarjeta-icono {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px; color: var(--blanco);
}
.icono-violeta { background: var(--vio); }
.icono-azul { background: var(--azu); }
.icono-esmeralda { background: var(--esm); }
.icono-naranja { background: var(--nar); }
.icono-grafito { background: var(--grafito); }

.tarjeta h3 { margin-bottom: 10px; }
.tarjeta p { font-size: 15px; margin-bottom: 20px; }
.tarjeta .enlace {
  font-family: var(--fuente-titulos); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.enlace-violeta { color: var(--vio); }
.enlace-esmeralda { color: var(--esm); }
.enlace-naranja { color: var(--nar); }
.enlace-grafito { color: var(--grafito); }
.tarjeta .enlace:hover { gap: 10px; }

/* ---------- IA · núcleo inteligente ---------- */
.badge-ia {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: #032e29; background: var(--cian);
  border-radius: 999px; padding: 3px 10px; text-transform: uppercase;
}
.icono-cian { background: var(--cian); color: #032e29; }
.borde-cian { background: var(--cian); }
.enlace-cian { color: var(--cian-oscuro); }

/* ---------- Tarjetas módulo (blueprint) ---------- */
.tarjeta-modulo { padding: 36px 28px 28px; display: flex; flex-direction: column; }
.tarjeta-modulo .etiq-pilar {
  display: block; font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--gris); margin-bottom: 18px; text-transform: uppercase;
}
.tarjeta-modulo .tarjeta-esquina {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid rgba(31,36,48,0.25); pointer-events: none;
}
.tarjeta-modulo .esq-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.tarjeta-modulo .esq-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.tarjeta-modulo .esq-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.tarjeta-modulo .esq-br { bottom: 0; right: 0; border-left: none; border-top: none; }
.tarjeta-modulo .icono-svg { width: 30px; height: 30px; }
.tarjeta-modulo .lista-capacidades {
  list-style: none; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
}
.tarjeta-modulo .lista-capacidades li {
  font-size: 13px; color: var(--gris); padding-left: 18px; position: relative;
}
.tarjeta-modulo .lista-capacidades li::before {
  content: "▸"; position: absolute; left: 0; color: var(--c-pilar, var(--vio)); font-weight: 700;
}
.tarjeta-modulo .enlace { margin-top: auto; }
.tarjeta-modulo[data-pilar="01"] { --c-pilar: var(--vio); }
.tarjeta-modulo[data-pilar="02"] { --c-pilar: var(--esm); }
.tarjeta-modulo[data-pilar="03"] { --c-pilar: var(--nar); }
.tarjeta-modulo:hover { box-shadow: 0 8px 28px rgba(31,36,48,0.14), 0 0 32px color-mix(in srgb, var(--c-pilar) 25%, transparent); }
.tarjeta-modulo:hover .etiq-pilar { color: var(--c-pilar); }

/* ---------- Diagrama de capas (holismo) ---------- */
.diagrama-capas { position: relative; max-width: 460px; margin: 0 auto; }
.diagrama-capas svg { display: block; width: 100%; height: auto; }
.diagrama-capas .capa-pieza { transition: fill 0.3s ease, filter 0.3s ease; cursor: pointer; }
.diagrama-capas .capa-pieza:hover,
.diagrama-capas .capa-pieza.activa {
  filter: brightness(1.5) drop-shadow(0 0 14px var(--c-capa, #8B2FC9));
}
.diagrama-capas .capa-p1 { --c-capa: #8B2FC9; } .diagrama-capas .capa-p2 { --c-capa: #1E6BFF; }
.diagrama-capas .capa-p3 { --c-capa: #0FA86B; } .diagrama-capas .capa-p4 { --c-capa: #FF7A1A; }
.diagrama-capas .nota {
  position: absolute; font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px; letter-spacing: 0.06em; color: var(--gris);
}
.diagrama-capas .nota-tl { top: -14px; left: 0; }
.diagrama-capas .nota-tr { top: -14px; right: 0; }
.diagrama-capas .nota-bl { bottom: -14px; left: 0; }
.diagrama-capas .nota-br { bottom: -14px; right: 0; }
.capa-leyenda { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 24px; font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 11px; }
.capa-leyenda span::before { content: "▪"; margin-right: 8px; }
.capa-leyenda .ley-1::before { color: #8B2FC9; } .capa-leyenda .ley-2::before { color: #1E6BFF; }
.capa-leyenda .ley-3::before { color: #0FA86B; } .capa-leyenda .ley-4::before { color: #FF7A1A; }

/* ---------- Metodología: 3 fases en bloques ---------- */
.metodologia-wrap { position: relative; }
.nota-metodo {
  display: block; font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px; letter-spacing: 0.08em; color: var(--gris); text-transform: uppercase;
  margin-bottom: 32px; text-align: center;
}
.fase {
  position: relative;
  background: var(--offwhite);
  border: 1px solid rgba(31,36,48,0.08);
  border-radius: var(--radio);
  padding: 24px 24px 28px;
  margin-bottom: 24px;
  overflow: hidden;
}
.fase-linea { position: absolute; top: 0; left: 0; width: 100%; height: 6px; }
.fase-titulo {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.fase-titulo small { font-weight: 500; font-size: 10px; color: var(--gris); letter-spacing: 0.06em; }
.fase-a .fase-titulo { color: var(--vio); }
.fase-b .fase-titulo { color: var(--esm); }
.fase-c .fase-titulo { color: var(--vio); }
.fase-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tl-nodo {
  position: relative;
  background: var(--blanco); border: 1px solid rgba(31,36,48,0.06);
  border-radius: var(--radio); box-shadow: var(--sombra);
  padding: 18px 20px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tl-nodo:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover); }
.tl-nodo .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 10px;
  border-radius: 50%;
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-weight: 700; font-size: 12px;
  color: var(--blanco); background: var(--grafito);
  box-shadow: 0 0 0 2px rgba(31,36,48,0.12);
}
.tl-nodo h4 { font-size: 15px; margin-bottom: 4px; }
.tl-nodo p { font-size: 13px; margin: 0; }
.tl-nodo.paso-violeta .n { background: var(--vio); }
.tl-nodo.paso-azul .n { background: var(--azu); }
.tl-nodo.paso-esmeralda .n { background: var(--esm); }
.tl-nodo.paso-naranja .n { background: var(--nar); }

/* ---------- Metodología: grid legacy (nosotros.html) ---------- */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.paso {
  background: var(--blanco); border-radius: var(--radio); padding: 24px 20px;
  border: 1px solid rgba(31,36,48,0.06); box-shadow: var(--sombra);
  position: relative; padding-top: 44px;
}
.paso .n { position: absolute; top: 14px; left: 20px; font-family: var(--fuente-titulos); font-weight: 800; font-size: 34px; line-height: 1; }
.paso.paso-violeta .n { color: var(--vio); }
.paso.paso-azul .n { color: var(--azu); }
.paso.paso-esmeralda .n { color: var(--esm); }
.paso.paso-naranja .n { color: var(--nar); }
.paso h4 { font-size: 16px; margin-bottom: 6px; }
.paso p { font-size: 13px; margin: 0; }

/* ---------- Lista de servicios (página pilar) ---------- */
.servicio {
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 32px 28px;
  border: 1px solid rgba(31,36,48,0.06);
  margin-bottom: 20px;
  border-left: 5px solid var(--grafito);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.servicio:hover { transform: translateX(4px); box-shadow: var(--sombra-hover); }
.servicio-violeta { border-left-color: var(--vio); }
.servicio-esmeralda { border-left-color: var(--esm); }
.servicio-naranja { border-left-color: var(--nar); }
.servicio h3 { margin-bottom: 8px; }
.servicio .codigo { font-family: var(--fuente-titulos); font-weight: 700; font-size: 13px; color: var(--gris); display: block; margin-bottom: 6px; }
.servicio p { margin-bottom: 14px; }
.servicio .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--offwhite); color: var(--grafito);
}

/* ---------- Odoo flagship ---------- */
.bloque-odoo {
  background: var(--grafito); color: var(--blanco);
  border-radius: 20px; padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.bloque-odoo h2 { margin-bottom: 16px; }
.bloque-odoo p { color: #C9CEDE; max-width: 640px; }
.bloque-odoo .odoo-modos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.modo { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radio); padding: 24px; }
.modo h4 { margin-bottom: 10px; color: var(--blanco); }
.modo ul { list-style: disc; padding-left: 20px; color: #C9CEDE; font-size: 14px; }
.modo ul li { margin-bottom: 6px; }
.modo-badge {
  display: inline-block; font-family: var(--fuente-titulos); font-weight: 700;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--esm); color: var(--blanco); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.bloque-odoo .accent { position: absolute; border-radius: 50%; opacity: 0.12; }
.bloque-odoo .accent.ae { width: 240px; height: 240px; background: var(--esm); top: -80px; right: -60px; }
.bloque-odoo .accent.av { width: 160px; height: 160px; background: var(--vio); bottom: -60px; left: -40px; }
.eco-ecosistema { position: relative; margin: 36px 0; }
.eco-nota { position: absolute; top: -18px; font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.eco-n-tl { left: 0; } .eco-n-tr { right: 0; }
.eco-svg { width: 100%; height: auto; display: block; }
.eco-capa { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.14); stroke-width: 1.5; stroke-dasharray: 6 5; }
.eco-linea { stroke: rgba(255,255,255,0.25); stroke-width: 1.5; stroke-dasharray: 4 5; }
.eco-nodo { fill: var(--vio); --c-nodo: var(--vio); }
.eco-nodo.eco-c1-violeta { fill: var(--vio); --c-nodo: #8B2FC9; }
.eco-nodo.eco-c1-azul { fill: var(--azu); --c-nodo: #1E6BFF; }
.eco-nodo.eco-c1-esmeralda { fill: var(--esm); --c-nodo: #0FA86B; }
.eco-nodo.eco-c1-naranja { fill: var(--nar); --c-nodo: #FF7A1A; }
.eco-nodo.eco-c2-violeta { fill: var(--vio); --c-nodo: #8B2FC9; }
.eco-nodo.eco-c3-app { fill: var(--esm); --c-nodo: #0FA86B; }
.eco-nodo.eco-c3-int { fill: var(--azu); --c-nodo: #1E6BFF; }
.eco-core { fill: var(--esm); stroke: #25C787; stroke-width: 2; --c-nodo: #0FA86B; }
.eco-a { fill: rgba(139,47,201,0.25); stroke: var(--vio); stroke-width: 1.5; stroke-dasharray: 3 3; --c-nodo: #8B2FC9; }
.eco-app { fill: none; stroke: #25C787; stroke-width: 1.5; stroke-dasharray: 3 3; --c-nodo: #0FA86B; }
.eco-int { fill: none; stroke: var(--azu); stroke-width: 1.5; stroke-dasharray: 3 3; --c-nodo: #1E6BFF; }
.eco-t { fill: #C9CEDE; font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 12px; text-anchor: middle; }
.eco-core-t { fill: #fff; font-family: Manrope, monospace; font-weight: 800; font-size: 16px; text-anchor: middle; }
.eco-a-t, .eco-app-t, .eco-int-t { font-size: 10px; }
.eco-a-t { fill: #D6A6F0; } .eco-app-t { fill: #9FE8C8; } .eco-int-t { fill: #A8C8FF; }

/* ---------- Ecosistema IA ---------- */
.ecosistema-ia { position: relative; margin: 36px 0; }
.eia-nota { position: absolute; top: -18px; font-family: 'JetBrains Mono','Courier New',monospace; font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.eia-n-tl { left: 0; } .eia-n-tr { right: 0; }
.eia-svg { width: 100%; height: auto; display: block; }
.eia-linea { stroke: rgba(255,255,255,0.25); stroke-width: 1.5; stroke-dasharray: 4 5; }
.eia-nodo { fill: var(--cian); }
.eia-core { fill: var(--cian); stroke: var(--cian); stroke-width: 2; }
.eia-t { fill: #C9CEDE; font-family: 'JetBrains Mono','Courier New',monospace; font-size: 12px; text-anchor: middle; }
.eia-core-t { fill: #032e29; font-family: Manrope,monospace; font-weight: 800; font-size: 15px; text-anchor: middle; }

/* ---------- Sección IA (bloque destacado) ---------- */
.bloque-ia {
  background: var(--grafito); color: var(--blanco);
  border-radius: 20px; padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
  border-top: 4px solid var(--cian);
}
.bloque-ia h2 { margin-bottom: 16px; }
.bloque-ia p { color: #C9CEDE; max-width: 640px; }
.bloque-ia .servicios-ia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.servicio-ia {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(0,224,198,0.25);
  border-radius: var(--radio); padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.servicio-ia:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,224,198,0.2); }
.servicio-ia .n { color: var(--cian); font-family: 'JetBrains Mono','Courier New',monospace; font-size: 11px; font-weight: 700; display: block; margin-bottom: 8px; }
.servicio-ia h4 { font-size: 15px; margin-bottom: 6px; color: var(--blanco); }
.servicio-ia p { font-size: 13px; margin: 0; color: #C9CEDE; }

/* ---------- 4º pilar IA ---------- */
.tarjeta-modulo[data-pilar="04"] { --c-pilar: var(--cian); }
.ley-5::before { color: #00E0C6; }

/* ---------- CTA final ---------- */
.cta-tecnica { position: relative; overflow: hidden; }
.cta-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.cta-crosshair {
  position: absolute; top: 50%; left: 50%; width: 300px; height: 300px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, transparent 59%, rgba(255,255,255,0.12) 60%, transparent 61%),
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.12) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.12) 50%, transparent 50.5%);
  pointer-events: none;
}
.cta-etiqueta {
  display: inline-block; font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px; letter-spacing: 0.1em; color: var(--nar);
  text-transform: uppercase; margin-bottom: 16px;
}
.cta-accentos { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-accentos .ac { --c-ac: #FF7A1A; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c-ac) 50%, transparent); pointer-events: auto; cursor: pointer; }
.cta-accentos .ac-cta-1 { top: 18%; left: 12%; }
.cta-accentos .ac-cta-2 { top: 22%; right: 14%; --c-ac: #0FA86B; }
.cta-accentos .ac-cta-3 { bottom: 20%; left: 22%; --c-ac: #1E6BFF; }
.cta-accentos .ac-cta-4 { bottom: 16%; right: 20%; --c-ac: #8B2FC9; }
.cta-tecnica .cta-final { position: relative; z-index: 2; }
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p.sub { margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-final .cta-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-final .contacto-mini { margin-top: 20px; font-size: 14px; color: #C9CEDE; }
.cta-final .contacto-mini a { color: var(--nar); font-weight: 600; }

/* ---------- Contacto ---------- */
.pagina-contacto { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.formulario { background: var(--blanco); border-radius: 16px; box-shadow: var(--sombra); padding: 32px; border: 1px solid rgba(31,36,48,0.06); }
.campo { margin-bottom: 20px; }
.campo label { display: block; font-family: var(--fuente-titulos); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(31,36,48,0.15);
  border-radius: 8px; font-family: var(--fuente-cuerpo); font-size: 15px; background: var(--offwhite);
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--esm); background: var(--blanco);
  box-shadow: 0 0 0 3px rgba(15,168,107,0.15);
}
.campo textarea { min-height: 120px; resize: vertical; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.tarjeta-contacto { background: var(--grafito); color: var(--blanco); border-radius: 16px; padding: 32px; }
.tarjeta-contacto h3 { margin-bottom: 20px; }
.tarjeta-contacto ul li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 15px; color: #C9CEDE; }
.tarjeta-contacto ul li .ico { font-size: 18px; flex-shrink: 0; }
.tarjeta-contacto ul li a { color: var(--blanco); font-weight: 600; }
.tarjeta-contacto .horario { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: #C9CEDE; }

/* ---------- Valores (Nosotros) ---------- */
.valor { text-align: left; }

/* ---------- Footer ---------- */
.footer { background: var(--grafito); color: var(--blanco); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-logo p { color: #C9CEDE; font-size: 14px; max-width: 260px; }
.footer h4 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blanco); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #C9CEDE; font-size: 14px; }
.footer ul a:hover { color: var(--nar); }
.footer-contacto li { display: flex; align-items: center; gap: 10px; color: #C9CEDE; font-size: 14px; }
.footer-contacto a { color: var(--blanco); }
.footer-inferior {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #9AA3B2;
}
.footer-inferior a { color: #C9CEDE; }
.footer-inferior a:hover { color: var(--nar); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-pilares, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .fase-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .pagina-contacto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bloque-ia .servicios-ia { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: 76px; right: 0; bottom: 0; width: 300px;
    background: var(--blanco); flex-direction: column; align-items: flex-start;
    padding: 32px 28px; gap: 20px;
    transform: translateX(100%); transition: transform 0.25s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,0.1);
  }
  .nav.abierto { transform: translateX(0); }
  .nav a { font-size: 18px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 8px 0 0 12px; }
  .header-cta .btn { display: none; }
  .grid-pilares, .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr; }
  .fase-cards { grid-template-columns: 1fr; }
  .fase { padding: 20px 16px 24px; }
  .bloque-odoo .odoo-modos { grid-template-columns: 1fr; }
  .bloque-ia .servicios-ia { grid-template-columns: 1fr; }
  .fila-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-logo img { height: 60px; }
}