
/* ============================================================
   CURSOR PERSONALIZADO (punto + anillo magnético) — ver assets/cursor.js
   ============================================================ */
.ts-cursor-on, .ts-cursor-on * { cursor: none !important; }
.ts-cur { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999; opacity: 0; transition: opacity .25s ease; }
.ts-cur__dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 10px rgba(255,107,53,.65); }
.ts-cur__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(0,180,216,.85); box-shadow: 0 0 0 1px rgba(255,255,255,.06); transition: border-color .2s ease, background .2s ease; }
.ts-cur__ring.is-active { border-color: var(--naranja); background: rgba(255,107,53,.10); }
.ts-cur__fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99998; }
@media (pointer: coarse), (hover: none) { .ts-cur, .ts-cur__fx { display: none !important; } .ts-cursor-on, .ts-cursor-on * { cursor: auto !important; } }

/* ============================================================
   TOKENS DE MARCA — Te Servimos S.A.S
   Fuente: Guía de Identidad Visual oficial
   ============================================================ */
:root {
  /* Paleta cromática oficial */
  --purpura:     #3E4095;  /* Color principal · títulos · texto de marca */
  --purpura-dk:  #2C2E73;  /* Fondos premium oscuros */
  --rojo:        #ED3237;  /* "T" del logo · CTAs secundarios · alertas */
  --verde:       #00A859;  /* Punto "T." · confirmaciones · positivo */
  --cian-dec:    #9BD5E8;  /* Patrón de rombos · marcas de agua */
  --cian-claro:  #D8EEF6;  /* Fondos de sección · tarjetas */
  --naranja:     #E85513;  /* CTAs principales · iconos de servicio · highlights */
  --naranja-lt:  #FF7A3D;
  --gris:        #5C5C66;  /* Texto secundario · labels · contacto */
  --negro:       #1C1918;  /* Cuerpo de texto · tagline */
  --blanco:      #FFFFFF;

  /* Colores de línea de servicio */
  --svc-aseo:    #1BA7C9;  /* cian — Aseo & Limpieza */
  --svc-mant:    #2F6BC4;  /* azul — Mantenimiento & Resguardo */
  --svc-verde:   #00A859;  /* verde — Áreas Verdes */
  --svc-log:     #ED3237;  /* rojo — Soluciones Logísticas */

  /* Gradientes */
  --grad-hero:   linear-gradient(135deg, #2C2E73 0%, #3E4095 50%, #4F66C2 100%);
  --grad-purp:   linear-gradient(135deg, #3E4095, #2C2E73);
  --grad-naranja:linear-gradient(135deg, #E85513, #FF7A3D);

  --sombra-card: 0 4px 24px rgba(62,64,149,0.12);
  --sombra-hover:0 18px 42px rgba(62,64,149,0.22);
  --sombra-nav:  0 2px 18px rgba(62,64,149,0.12);

  --radio-card:  16px;
  --radio-btn:   8px;

  --font-display:'Montserrat', system-ui, sans-serif;
  --font-body:   'Nunito', system-ui, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* Resguardo responsive: al fijar width/height intrinsecos en el HTML (anti-CLS),
   height:auto mantiene la proporcion cuando max-width reduce el ancho.
   Las reglas mas especificas con object-fit conservan su alto propio. */
img { height: auto; }

/* ============================================================
   ACCESIBILIDAD — skip link + estados de error del formulario
   ============================================================ */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100000;
  background: var(--purpura);
  color: var(--blanco);
  padding: 10px 16px;
  border-radius: var(--radio-btn);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

.form-error {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--rojo);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}
/* Contenedor del widget Cloudflare Turnstile (lo inserta form.js) */
.ts-box { grid-column: 1 / -1; min-height: 65px; }
.ts-box:empty { min-height: 0; }
.form .is-invalid {
  border-color: var(--rojo) !important;
  box-shadow: 0 0 0 3px rgba(237,50,55,0.14);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; color: var(--purpura); }
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 48px 0; position: relative; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--gris); font-size: 18px; }

/* Patrón decorativo de rombos cian (de la identidad) */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%239BD5E8' fill-opacity='0.5'%3E%3Cpath d='M15 8l2.4 5.1L23 15.5l-5.6 2.4L15 23l-2.4-5.1L7 15.5l5.6-2.4z'/%3E%3Cpath d='M42 35l1.8 3.8L48 40.5l-4.2 1.8L42 46l-1.8-3.7L36 40.5l4.2-1.7z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radio-btn);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--naranja);
  color: var(--blanco);
  box-shadow: 0 8px 22px rgba(232,85,19,0.32);
}
.btn-primary:hover { background: #d04a10; transform: scale(1.02); box-shadow: 0 12px 28px rgba(232,85,19,0.42); }
.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: scale(1.02); }
.btn-purp {
  background: var(--purpura);
  color: var(--blanco);
}
.btn-purp:hover { background: var(--purpura-dk); transform: scale(1.02); }

/* ============================================================
   LOGO — marca Te Servimos (SVG inline)
   T roja + punto verde + estrellas + "servimos" púrpura
   ============================================================ */
.ts-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ts-logo img { display: block; height: 48px; width: auto; object-fit: contain; }
.footer-logo-wrap img { display: block; height: 64px; width: auto; object-fit: contain; }

/* ============================================================
   1. TOP BAR
   ============================================================ */
.topbar {
  background: var(--negro);
  color: var(--blanco);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; opacity: 0.92; }
.topbar-item:hover { opacity: 1; color: var(--cian-dec); }
.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-right { display: inline-flex; align-items: center; gap: 7px; color: var(--cian-dec); font-weight: 700; }
.topbar-right svg { width: 14px; height: 14px; color: var(--naranja-lt); }
/* END TOPBAR */

/* ============================================================
   2. NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanco);
  padding: 14px 0;
  transition: padding .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid rgba(155,213,232,0.5);
}
.navbar.scrolled { padding: 9px 0; box-shadow: var(--sombra-nav); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-links {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: var(--purpura);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--naranja);
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--naranja); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; font-size: 13.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span {
  position: relative; display: block; width: 22px; height: 2px; background: var(--purpura); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--purpura); border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }
/* END NAVBAR */

/* ============================================================
   3. HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: heroShift 20s ease-in-out infinite;
  color: var(--blanco);
  padding: 64px 0 76px;
  overflow: hidden;
}
@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; pointer-events: none;
}
.hero::before { width: 440px; height: 440px; background: var(--cian-dec); top: -140px; right: -90px; }
.hero::after  { width: 360px; height: 360px; background: var(--naranja); bottom: -150px; left: -90px; opacity: 0.25; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(0,168,89,0.3); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.2vw, 54px);
  color: var(--blanco);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cian-dec); }
/* Home: línea keyword pequeña encima del eslogan grande */
.hero h1.hero-kw {
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--cian-dec);
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-slogan {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 5.2vw, 54px);
  color: var(--blanco);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero-slogan .accent { color: var(--cian-dec); }
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Cuña publicitaria (botón reproductor) */
.cuna {
  display: inline-flex; align-items: center; gap: 13px;
  margin-top: 18px; padding: 9px 18px 9px 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cuna:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.cuna-ico {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--naranja);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(255,107,53,0.45);
}
.cuna-ico svg { width: 18px; height: 18px; }
.cuna .ic-pause { display: none; }
.cuna.playing .ic-play { display: none; }
.cuna.playing .ic-pause { display: block; }
.cuna-txt { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.cuna-label { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: #fff; letter-spacing: .01em; }
.cuna-bar { width: 130px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.28); overflow: hidden; }
.cuna-bar i { display: block; height: 100%; width: 0%; background: var(--naranja); border-radius: 999px; transition: width .1s linear; }
.cuna--center { display: flex; width: fit-content; margin: 16px auto 0; }

/* Hero visual card */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 70px rgba(20,15,60,0.4);
}
.hero-card-photo {
  border-radius: 14px;
  height: 250px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 14px, rgba(255,255,255,0.02) 14px 28px),
    linear-gradient(135deg, #4F66C2, var(--cian-dec));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.5);
}
.hero-card-photo.has-photo {
  background: none;
  border: 0;
  overflow: hidden;
  padding: 0;
}
.hero-card-photo.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
/* Carrusel de fotos del hero */
.hero-carousel { position: relative; width: 100%; height: 100%; }
.hero-track {
  display: flex; height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-track img.hero-slide {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  /* Fondo transparente para que las franjas que deja "contain" en las fotos
     verticales tomen el color del hero de cada pagina, en vez de un blanco
     que corta visualmente la tarjeta. */
  background: transparent;
  border-radius: 14px;
  display: block;
  scroll-snap-align: center;
}
.hero-track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #013a68, #024b86);
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--naranja);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  cursor: pointer; z-index: 4;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.hero-arrow:hover { background: #e85d2a; transform: translateY(-50%) scale(1.1); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 7px; z-index: 4;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.hero-dots button.active { background: var(--naranja); transform: scale(1.3); }
.hero-card-row { display: flex; justify-content: space-between; margin-top: 18px; gap: 12px; }
.hero-mini {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 14px;
}
.hero-mini .k { font-family: var(--font-display); font-weight: 800; color: var(--blanco); font-size: 19px; }
.hero-mini .l { font-size: 11.5px; color: rgba(255,255,255,0.72); }
.hero-tag {
  position: absolute; top: -16px; right: -14px;
  background: var(--naranja);
  color: var(--blanco);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(232,85,19,0.5);
  transform: rotate(4deg);
  overflow: hidden;
  z-index: 5;
}
.hero-tag::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  transform: translateX(-220%) skewX(-18deg);
  animation: tagSheen 3.6s ease-in-out infinite;
}
@keyframes tagSheen {
  0%   { transform: translateX(-220%) skewX(-18deg); }
  55%  { transform: translateX(320%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tag::after { animation: none; display: none; }
}

/* Hero badges row */
.hero-badges {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge:nth-child(2) { animation-delay: -2s; }
.hero-badge:nth-child(3) { animation-delay: -4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-badge .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(155,213,232,0.22);
  color: var(--cian-dec);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge .icon svg { width: 24px; height: 24px; }
.hero-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--blanco); line-height: 1; }
.hero-badge .lab { font-size: 13px; color: rgba(255,255,255,0.78); }
/* END HERO */

/* ============================================================
   4. SERVICIOS
   ============================================================ */
.servicios { background: var(--blanco); }
.servicios-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid rgba(155,213,232,0.55);
  border-radius: var(--radio-card);
  padding: 34px 26px 28px;
  box-shadow: var(--sombra-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent, var(--naranja));
  transform: translateY(-4px);
  transition: transform .25s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); border-color: var(--accent); }
.svc-card:hover::before { transform: translateY(0); }
.svc-icon {
  position: relative;
  width: 66px; height: 66px;
  margin: 0 auto 20px;
}
.svc-icon img { width: 66px; height: 66px; display: block; }
.svc-card h3 {
  font-size: 19px;
  color: var(--purpura);
  margin-bottom: 10px;
  line-height: 1.2;
  text-align: center;
}
.svc-card p { color: var(--gris); font-size: 14.5px; margin-bottom: 16px; flex-grow: 1; }
.svc-badge {
  display: inline-block;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, white);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--naranja);
  transition: gap .2s ease;
}
.svc-link:hover { gap: 12px; }
/* END SERVICIOS */

/* ============================================================
   5. SECTORES + DIFERENCIADORES
   ============================================================ */
.porque { background: var(--cian-claro); }
.porque-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.sectores-card {
  background: var(--blanco);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--sombra-card);
}
.sectores-card h3 { color: var(--purpura); font-size: 24px; margin-bottom: 8px; }
.sectores-card > p { color: var(--gris); font-size: 15px; margin-bottom: 24px; }
.sectores-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sector-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--cian-claro);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--purpura);
}
.sector-chip .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--blanco); display: flex; align-items: center; justify-content: center; color: var(--naranja); flex-shrink: 0; }
.sector-chip .ic svg { width: 20px; height: 20px; }
.porque-intro h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.porque-intro p { color: var(--gris); font-size: 17px; }

.porque-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.porque-item {
  background: var(--blanco);
  border-radius: 14px;
  padding: 30px 24px;
  border: 1px solid rgba(155,213,232,0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.porque-item:hover { transform: translateY(-4px); box-shadow: var(--sombra-card); }
.porque-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad-purp);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.porque-icon svg { width: 27px; height: 27px; }
.porque-item h3, .porque-item h4 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 17px; color: var(--purpura); margin-bottom: 8px;
}
.porque-item p { color: var(--gris); font-size: 14.5px; }
/* END SECTORES */

/* ============================================================
   6. MÉTRICAS
   ============================================================ */
.metricas {
  background: var(--grad-purp);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.metricas::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 14% 30%, rgba(155,213,232,0.2), transparent 42%),
    radial-gradient(circle at 86% 72%, rgba(232,85,19,0.2), transparent 46%);
  pointer-events: none;
}
.metricas-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  text-align: center;
}
.metric .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 56px);
  color: var(--naranja-lt);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.metric .lab { font-family: var(--font-body); font-weight: 400; font-size: 16px; color: rgba(255,255,255,0.85); }
.metric .divider { width: 36px; height: 2px; background: var(--cian-dec); margin: 14px auto 0; opacity: 0.5; }
/* END METRICAS */

/* ============================================================
   7. MODALIDADES
   ============================================================ */
.modalidades { background: var(--blanco); }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mod-card {
  position: relative;
  border: 1px solid rgba(155,213,232,0.55);
  border-radius: var(--radio-card);
  padding: 30px 26px;
  background: var(--blanco);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-hover); }
.mod-num {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: 38px; color: var(--cian-dec); line-height: 1; margin-bottom: 14px;
}
.mod-card h3, .mod-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--purpura); margin-bottom: 10px; }
.mod-card p { color: var(--gris); font-size: 14.5px; }
/* END MODALIDADES */

/* ============================================================
   8. METODOLOGÍA
   ============================================================ */
.metodologia { background: var(--cian-claro); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline::before {
  content: ""; position: absolute;
  top: 32px; left: 9%; right: 9%; height: 2px;
  background: repeating-linear-gradient(to right, var(--cian-dec) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--purpura);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 22px rgba(62,64,149,0.3);
  position: relative; z-index: 2;
  border: 4px solid var(--cian-claro);
  transition: transform .25s ease, background .25s ease;
}
.step:hover .step-num { transform: scale(1.08); background: var(--naranja); box-shadow: 0 12px 28px rgba(232,85,19,0.4); }
.step h3, .step h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--purpura); margin-bottom: 6px; }
.step p { color: var(--gris); font-size: 14px; }
/* END METODOLOGIA */

/* ============================================================
   9. MISIÓN / VISIÓN
   ============================================================ */
.mv { background: var(--blanco); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  position: relative;
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
  color: var(--blanco);
}
.mv-card.mision { background: var(--grad-purp); }
.mv-card.vision { background: linear-gradient(135deg, var(--svc-aseo), var(--svc-mant)); }
.mv-card .mv-ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mv-card .mv-ic svg { width: 26px; height: 26px; color: var(--blanco); }
.mv-card h3 { color: var(--blanco); font-size: 24px; margin-bottom: 12px; }
.mv-card p { color: rgba(255,255,255,0.9); font-size: 15.5px; }
.mv-card p + p { margin-top: 14px; }
/* END MV */

/* ============================================================
   VALORES CORPORATIVOS (bajo Misión/Visión)
   ============================================================ */
.valores { margin-top: 52px; }
.valores-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.valores-head h3 { color: var(--purpura); font-size: clamp(22px, 2.6vw, 30px); margin-top: 6px; }
.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.valor-item {
  background: var(--blanco);
  border: 1px solid rgba(155,213,232,0.55);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--sombra-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.valor-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,78,137,0.14); }
.valor-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--grad-purp);
  color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.valor-icon svg { width: 26px; height: 26px; }
.valor-item h4 { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--purpura); margin-bottom: 8px; }
.valor-item p { color: var(--gris); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1024px) { .valores-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .valores-grid { grid-template-columns: 1fr; } }
/* END VALORES */

/* ============================================================
   10. TESTIMONIO
   ============================================================ */
.testimonio { background: var(--cian-claro); }
.test-card {
  max-width: 880px; margin: 0 auto;
  background: var(--blanco);
  border-radius: 20px;
  padding: 56px 60px;
  box-shadow: var(--sombra-card);
  position: relative;
  text-align: center;
}
.test-card::before {
  content: "“";
  position: absolute; top: 14px; left: 30px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 130px; color: rgba(155,213,232,0.55); line-height: 1;
}
.test-stars { color: var(--naranja); display: inline-flex; gap: 2px; margin-bottom: 22px; }
.test-stars svg { width: 22px; height: 22px; }
.test-quote {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  font-size: 20px;
  color: var(--purpura);
  line-height: 1.55;
  margin-bottom: 32px;
}
.test-author { display: inline-flex; align-items: center; gap: 14px; }
.test-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-purp);
  color: var(--blanco);
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(62,64,149,0.25);
}
.test-meta { text-align: left; }
.test-name { font-family: var(--font-display); font-weight: 700; color: var(--negro); font-size: 16px; }
.test-role { color: var(--gris); font-size: 14px; }
/* Carrusel de reseñas — todas del mismo tamaño */
.test-carousel { position: relative; max-width: 1140px; margin: 0 auto; }
.test-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 4px;
}
.test-track::-webkit-scrollbar { display: none; }
.test-mini {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--blanco);
  border: 1px solid rgba(155,213,232,0.55);
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: var(--sombra-card);
  display: flex; flex-direction: column;
  text-align: left;
  min-height: 280px;
}
.test-mini .test-stars { margin-bottom: 14px; }
.test-mini .test-stars svg { width: 17px; height: 17px; }
.test-mini p {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  font-size: 15.5px; color: var(--purpura); line-height: 1.5;
  margin-bottom: 20px; flex-grow: 1;
}
.test-mini .test-author { display: flex; align-items: center; gap: 12px; }
.test-mini .test-avatar { width: 46px; height: 46px; font-size: 15px; box-shadow: 0 5px 12px rgba(0,78,137,0.2); }
.test-mini .test-name { font-size: 15px; }
.test-mini .test-role { font-size: 13px; }
.test-avatar.av-aseo  { background: linear-gradient(135deg,var(--svc-aseo),#157E98); }
.test-avatar.av-mant  { background: linear-gradient(135deg,var(--svc-mant),#234E90); }
.test-avatar.av-verde { background: linear-gradient(135deg,var(--svc-verde),#067a42); }
.test-avatar.av-log   { background: linear-gradient(135deg,var(--svc-log),#b0151a); }
/* Flechas */
.test-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--purpura);
  box-shadow: 0 6px 18px rgba(0,78,137,0.22);
  cursor: pointer; z-index: 4;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.test-arrow:hover { background: var(--cian-claro); transform: translateY(-50%) scale(1.08); }
.test-arrow svg { width: 22px; height: 22px; }
.test-arrow.prev { left: -10px; }
.test-arrow.next { right: -10px; }
/* END TESTIMONIO */

/* ============================================================
   11. CONTACTO
   ============================================================ */
.contacto {
  background: var(--grad-hero);
  background-size: 180% 180%;
  animation: heroShift 22s ease-in-out infinite;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.contacto::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(155,213,232,0.22), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(232,85,19,0.22), transparent 48%);
  pointer-events: none;
}
.contacto-head { position: relative; text-align: center; max-width: 720px; margin: 0 auto 44px; }
.contacto-head .eyebrow { color: var(--cian-dec); }
.contacto-head h2 { color: var(--blanco); font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.contacto-head p { color: rgba(255,255,255,0.92); font-size: 18px; }

.form {
  position: relative;
  max-width: 940px; margin: 0 auto;
  background: var(--blanco);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(20,15,60,0.3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
.form--wide { grid-template-columns: 1fr 0.78fr 1fr 1.35fr; }
.form textarea {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1.5px solid rgba(0,180,216,0.34);
  border-radius: var(--radio-btn);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea:focus {
  outline: 0;
  border-color: var(--purpura);
  box-shadow: 0 0 0 4px rgba(62,64,149,0.14);
}
.form-foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
  margin-top: 2px;
}
.consent {
  display: flex; align-items: flex-start; gap: 11px;
  flex: 1 1 360px; min-width: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.45;
  color: var(--gris);
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px; height: 22px; margin: 0;
  border: 1.5px solid rgba(0,180,216,0.55);
  border-radius: 6px;
  background: var(--blanco);
  cursor: pointer;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.consent input[type="checkbox"]:hover { border-color: var(--purpura); }
.consent input[type="checkbox"]:checked {
  background: var(--naranja); border-color: var(--naranja);
}
.consent input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--purpura); outline-offset: 2px; }
.consent a { color: var(--purpura); font-weight: 700; text-decoration: underline; }
.consent a:hover { color: var(--naranja); }
.form-foot .btn-primary { height: 54px; padding: 0 30px; flex: 0 0 auto; }
.form-foot .btn-primary:disabled {
  background: #B9C2CC; color: #fff;
  box-shadow: none; cursor: not-allowed; transform: none;
  opacity: 1;
}
.form input, .form select {
  width: 100%;
  height: 54px;
  border: 1.5px solid rgba(155,213,232,0.8);
  border-radius: var(--radio-btn);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--negro);
  background: var(--blanco);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus {
  outline: 0;
  border-color: var(--purpura);
  box-shadow: 0 0 0 4px rgba(62,64,149,0.14);
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233E4095' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 38px; }
.form button.btn-primary { height: 54px; padding: 0 28px; }
.form-success {
  position: relative;
  max-width: 940px; margin: 18px auto 0;
  background: rgba(255,255,255,0.96);
  color: #0a7a4f;
  border-left: 4px solid var(--verde);
  border-radius: 10px;
  padding: 16px 22px;
  font-weight: 700;
  display: none;
  align-items: center; gap: 10px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--verde); }
/* Estado de error del panel de envío (form.js añade .is-error) */
.form-success.is-error { color: var(--rojo); border-left-color: var(--rojo); }
.form-success.is-error svg { color: var(--rojo); }

/* Honeypot anti-spam: oculto a la vista pero accesible a los bots que
   autocompletan campos. No usar display:none (algunos bots lo evitan). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.contact-alt {
  position: relative;
  max-width: 940px; margin: 28px auto 0;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.contact-alt a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--blanco);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  border-radius: var(--radio-btn);
  transition: background .2s ease, transform .2s ease;
}
.contact-alt a:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }
.contact-alt a.wa:hover { background: var(--verde); border-color: var(--verde); }
.contact-alt svg { width: 18px; height: 18px; }
/* END CONTACTO */

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--negro);
  color: rgba(255,255,255,0.76);
  padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 1fr 1.15fr; gap: 40px; padding-bottom: 48px; }
.footer h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--blanco);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.76); transition: color .15s ease; }
.footer a:hover { color: var(--cian-dec); }
.footer-logo-wrap { display: inline-block; background: var(--blanco); padding: 12px 16px; border-radius: 12px; }
.footer-tagline { margin: 16px 0 22px; font-size: 14.5px; color: rgba(255,255,255,0.72); max-width: 320px; }
.socials { display: flex; gap: 10px; flex-wrap: nowrap; }
.soc {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  flex: 0 0 auto;
  background: var(--blanco);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--net, var(--purpura)) inset;
  transition: transform .2s ease, box-shadow .2s ease;
}
.soc img { width: 30px; height: 30px; display: block; }
.soc:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--net) inset, 0 8px 18px rgba(0,0,0,0.4); }
/* Red social aún no disponible: deshabilitada */
.soc--soon { opacity: 0.4; filter: grayscale(1); cursor: default; pointer-events: none; }
.soc--soon:hover { transform: none; box-shadow: none; }
.soc-badge {
  position: absolute; right: -2px; bottom: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--net);
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--negro);
}
.soc-badge svg { width: 9px; height: 9px; color: var(--blanco); }
.footer-contact { font-size: 14.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--cian-dec); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 7px 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.footer-bottom .nit { color: var(--cian-dec); font-weight: 700; }
.footer-nap { color: rgba(255,255,255,0.78); font-weight: 600; flex-basis: 100%; text-align: center; margin-bottom: 2px; }
.footer-nap a { color: var(--cian-dec); text-decoration: none; }
.footer-nap a:hover { text-decoration: underline; }
/* Enlace legal en linea propia y centrada, entre la linea del NAP y la del
   copyright. Abre la politica en el modal (clase .pol-open). */
.footer-legal { flex-basis: 100%; text-align: center; margin: 2px 0 4px; }
.footer-legal a { color: var(--cian-dec); text-decoration: none; font-weight: 600; }
.footer-legal a:hover { text-decoration: underline; }
.footer-legal a:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }
/* Ajuste fino columna "Servicios": correr a la izquierda y bajar un punto */
@media (min-width: 1025px) {
  .footer-grid > div:nth-child(2) { padding-top: 0; }
  .footer-grid > div:nth-child(3) { margin-left: -16px; padding-top: 0; }
  .footer-grid > div:nth-child(4) { margin-left: -16px; padding-top: 0; }
}
/* END FOOTER */

/* ============================================================
   ANIMATIONS — REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* Respeta la preferencia de menos movimiento (accesibilidad — mareo/vértigo). */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 460px; margin: 0 auto; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .test-mini { flex: 0 0 calc((100% - 24px) / 2); }
  .porque-top { grid-template-columns: 1fr; gap: 32px; }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .metricas-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { display: none; }
  .step { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 18px; text-align: left; }
  .step-num { margin: 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form { grid-template-columns: 1fr 1fr; }
  .form select { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blanco); padding: 24px;
    border-top: 1px solid rgba(155,213,232,0.5);
    box-shadow: var(--sombra-nav);
    gap: 18px; align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .topbar { font-size: 12px; }
  .topbar-left { gap: 14px; }
  .hero { padding: 52px 0 60px; }
  .hero h1 { text-align: center; }
  .hero-slogan { font-size: clamp(30px, 7vw, 40px); text-align: center; }
  .hero p.lead { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-eyebrow { margin-left: 50%; transform: translateX(-50%); }
  .hero-badges { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .sectores-list { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .metricas-grid { grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .test-card { padding: 40px 24px; }
  .test-card::before { left: 14px; font-size: 90px; }
  .test-mini { flex: 0 0 100%; min-height: 0; }
  .test-arrow.prev { left: 2px; }
  .test-arrow.next { right: 2px; }
  .mv-card { padding: 30px 26px; }
  .form { grid-template-columns: 1fr; padding: 16px; }
  .form-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .form-foot .consent { flex: 0 0 auto; }
  .form-foot .btn-primary { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPÁGINA DE SERVICIO (helpers)
   ============================================================ */
/* Barra de acento — los 4 colores de las líneas de servicio.
   Se coloca al final del hero (primera sección) de cada página.
   4 segmentos iguales + reflejo que recorre la barra. */
.accentbar {
  position: relative;
  display: flex;
  height: 6px; width: 100%;
  overflow: hidden;
}
.accentbar i { display: block; flex: 1; }
.accentbar .c1 { background: var(--svc-aseo); }
.accentbar .c2 { background: var(--svc-mant); }
.accentbar .c3 { background: var(--svc-verde); }
.accentbar .c4 { background: var(--svc-log); }
.accentbar::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 22%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
  transform: translateX(-160%);
  animation: accentSheen 4.5s ease-in-out infinite;
}
@keyframes accentSheen {
  0%   { transform: translateX(-160%); }
  86%  { transform: translateX(620%); }
  100% { transform: translateX(620%); }
}
@media (prefers-reduced-motion: reduce) {
  .accentbar::after { animation: none; display: none; }
}
.lead-band { max-width: 940px; margin: 0 auto; text-align: center; }
.lead-band p { font-family: var(--font-body); font-weight: 600; font-size: clamp(19px, 2.2vw, 26px); color: var(--purpura); line-height: 1.5; }
/* Dos servicios lado a lado (Mantenimiento + Resguardo) */
.svc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1040px; margin: 0 auto; }
.svc-duo-item { background: var(--blanco); border: 1px solid rgba(0,119,182,0.14); border-radius: 16px; padding: 30px 30px 32px; box-shadow: 0 4px 24px rgba(0,78,137,0.08); }
.svc-duo-item h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); color: var(--purpura); margin: 8px 0 12px; }
.svc-duo-item p { color: var(--gris); font-size: 15.5px; line-height: 1.65; }
.svc-duo-item p.sub { margin-top: 12px; font-size: 14.5px; color: var(--gris); opacity: 0.92; }
@media (max-width: 768px) { .svc-duo { grid-template-columns: 1fr; gap: 18px; } }
.svc-trio { grid-template-columns: 1fr 1fr 1fr; max-width: 1100px; }
@media (max-width: 920px) { .svc-trio { grid-template-columns: 1fr; } }
.lead-band .sub { margin-top: 18px; font-weight: 400; font-size: 17px; color: var(--gris); }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proc-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proc-grid::before { content:""; position:absolute; top:32px; left:11%; right:11%; height:2px; background: repeating-linear-gradient(to right, var(--cian-dec) 0 8px, transparent 8px 14px); }
.nav-links a.active { color: var(--naranja); }
.nav-links a.active::after { transform: scaleX(1); }
.svc-breadcrumb { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.svc-breadcrumb a:hover { color: var(--cian-dec); }
@media (max-width:1024px){ .aud-grid{grid-template-columns:repeat(2,1fr);} .proc-grid{grid-template-columns:1fr; gap:22px;} .proc-grid::before{display:none;} }
@media (max-width:768px){ .aud-grid{grid-template-columns:1fr;} }

/* ============================================================
   CLIENTES / ALIADOS (prueba social)
   ============================================================ */
.clientes { background: var(--blanco); }
.logos-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.logos-grid img { width: 100%; height: 88px; border-radius: 12px; background: #fff; border: 1px solid rgba(155,213,232,0.55); padding: 10px; object-fit: contain; display: block; box-sizing: border-box; }
/* Fotos de carrusel convertidas de <image-slot> a <img> */
/* Las fotos de los carruseles por servicio son verticales y el marco es
   apaisado: con "cover" se recortaba a una franja y no se apreciaba a la
   persona. Con "contain" se ve la foto completa, igual que en el carrusel
   de la portada. El fondo va transparente para que las franjas laterales
   tomen el color del hero de cada pagina (cian, azul o verde) en lugar de
   un blanco que parte visualmente la tarjeta. */
.photo-carousel img { object-fit: contain; background: transparent; display: block; }
.aliados-row { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(155,213,232,0.5); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.aliados-label { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
.logos-grid--sm { grid-template-columns: repeat(4, 1fr); }
.logos-grid--sm img { height: 66px; padding: 8px; }
/* Aliados: alto fijo, ancho según proporción del logo (lo fija JS) */
.aliados-track { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.aliados-track img.aliado-logo {
  height: 66px; width: auto; max-width: 220px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(155,213,232,0.55);
  border-radius: 12px;
  padding: 8px;
  display: block;
}
@media (max-width: 1024px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } .aliados-row { grid-template-columns: 1fr; gap: 18px; } .logos-grid--sm { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .logos-grid { grid-template-columns: repeat(2, 1fr); } .logos-grid--sm { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PÁGINA DE POLÍTICA / DOCUMENTO LEGAL
   ============================================================ */
.pol-top { background: var(--blanco); border-bottom: 1px solid rgba(155,213,232,0.55); padding: 16px 0; }
.pol-top .container { display: flex; align-items: center; }
.pol-logo { display: inline-flex; align-items: center; }
.pol-logo img { display: block; height: 46px; width: auto; }
.pol-foot { border-top: 1px solid rgba(155,213,232,0.55); background: var(--cian-claro); margin-top: 30px; }
.pol-foot .container { padding: 24px 0 32px; color: var(--gris); font-family: var(--font-body); font-size: 13.5px; line-height: 1.7; }
.pol-foot strong { color: var(--purpura); }
/* Cuando la política se muestra dentro del modal, ocultar cromo redundante */
body.pol-embed .pol-top { display: none; }
body.pol-embed .totop { display: none; }
.pol-hero { background: var(--grad-purp); color: var(--blanco); position: relative; overflow: hidden; padding: 54px 0 60px; }
.pol-hero::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--cian-dec); opacity: 0.18; filter: blur(90px); top: -120px; right: -80px; pointer-events: none; }
.pol-hero .eyebrow { color: var(--cian-dec); }
.pol-hero h1 { color: var(--blanco); font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.02em; margin-bottom: 10px; }
.pol-hero .sub { color: rgba(255,255,255,0.84); font-size: 16px; }
.pol-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.pol-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.24); color: var(--blanco); padding: 8px 15px; border-radius: 999px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; }
.pol-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 3px rgba(0,168,89,0.3); }

.pol-layout { width: min(1200px, 92%); margin: 0 auto; padding: 48px 0 24px; display: grid; grid-template-columns: 256px 1fr; gap: 52px; align-items: start; }
.pol-index { position: sticky; top: 92px; }
.pol-index h2 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; font-weight: 800; }
.pol-index ol { list-style: none; margin: 0; padding: 0; counter-reset: idx; }
.pol-index li { counter-increment: idx; }
.pol-index a { display: flex; gap: 10px; align-items: baseline; color: var(--gris); font-family: var(--font-body); font-size: 13.5px; line-height: 1.4; padding: 7px 10px; border-radius: 8px; border-left: 2px solid transparent; transition: background .15s ease, color .15s ease; }
.pol-index a::before { content: counter(idx); font-family: var(--font-display); font-weight: 800; color: var(--purpura); font-size: 12px; min-width: 18px; }
.pol-index a:hover { background: var(--cian-claro); color: var(--negro); }
.pol-index a.active { background: var(--cian-claro); color: var(--purpura); border-left-color: var(--naranja); font-weight: 700; }

.pol-content { min-width: 0; }
.pol-content section { scroll-margin-top: 92px; padding-bottom: 12px; margin-bottom: 12px; }
.pol-content section + section { border-top: 1px solid rgba(155,213,232,0.55); padding-top: 26px; }
.pol-content h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--purpura); margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.pol-content h2 .num { color: var(--naranja); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.pol-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--negro); margin: 20px 0 8px; }
.pol-content p { margin-bottom: 12px; color: var(--negro); font-size: 15.5px; }
.pol-content ul { margin: 0 0 12px; padding-left: 22px; }
.pol-content ul li { margin-bottom: 7px; font-size: 15.5px; }
.pol-content ol.lettered { margin: 0 0 12px; padding-left: 26px; }
.pol-content ol.lettered li { margin-bottom: 7px; font-size: 15.5px; }
.pol-content .lead { color: var(--gris); }
.pol-content a { color: var(--purpura); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pol-content a:hover { color: var(--naranja); }

.id-table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 14.5px; box-shadow: var(--sombra-card); border-radius: var(--radio-card); overflow: hidden; }
.id-table th, .id-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(155,213,232,0.5); vertical-align: top; }
.id-table tr:last-child th, .id-table tr:last-child td { border-bottom: 0; }
.id-table th { background: var(--cian-claro); color: var(--purpura); font-weight: 700; width: 38%; font-family: var(--font-display); }
.id-table td { color: var(--negro); }

.pol-note { background: var(--cian-claro); border-left: 4px solid var(--cian-dec); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 6px 0 12px; font-size: 14.5px; color: var(--negro); }

.totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--purpura); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease, background .2s ease; box-shadow: var(--sombra-card); z-index: 90; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--naranja); transform: translateY(-2px); }

@media (max-width: 880px) {
  .pol-layout { grid-template-columns: 1fr; gap: 24px; }
  .pol-index { position: static; border: 1px solid rgba(155,213,232,0.55); border-radius: var(--radio-card); padding: 16px; background: var(--cian-claro); }
  .pol-index ol { columns: 2; column-gap: 14px; }
}
@media (max-width: 560px) { .pol-index ol { columns: 1; } .id-table th { width: 46%; } }

/* ============================================================
   MODAL DE POLÍTICA (popup)
   ============================================================ */
.pol-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.pol-modal.open { display: block; }
.pol-modal__overlay { position: absolute; inset: 0; background: rgba(28,25,24,0.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.pol-modal.open .pol-modal__overlay { opacity: 1; }
.pol-modal__dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(.98);
  width: min(960px, 94vw); height: min(86vh, 900px);
  background: var(--blanco); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(20,15,60,0.4);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.pol-modal.open .pol-modal__dialog { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pol-modal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid rgba(155,213,232,0.55);
  background: var(--blanco); flex: 0 0 auto;
}
.pol-modal__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--purpura); display: flex; align-items: center; gap: 10px; }
.pol-modal__title svg { width: 18px; height: 18px; color: var(--naranja); }
.pol-modal__close {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--cian-claro); color: var(--purpura); cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.pol-modal__close:hover { background: var(--naranja); color: #fff; transform: rotate(90deg); }
.pol-modal__close svg { width: 20px; height: 20px; }
.pol-modal__frame { flex: 1 1 auto; border: 0; width: 100%; }
.pol-modal__foot { padding: 12px 18px; border-top: 1px solid rgba(155,213,232,0.55); display: flex; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.pol-modal__foot .btn { padding: 11px 22px; }
body.pol-modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .pol-modal__dialog { width: 100vw; height: 100vh; border-radius: 0; top: 0; left: 0; transform: none; }
  .pol-modal.open .pol-modal__dialog { transform: none; }
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gal-hero { background: var(--grad-purp); color: #fff; position: relative; overflow: hidden; padding: 52px 0 58px; }
.gal-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--cian-dec); opacity: 0.18; filter: blur(90px); top: -130px; right: -70px; pointer-events: none; }
.gal-hero .container { position: relative; }
.gal-hero .eyebrow { color: var(--cian-dec); }
.gal-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.02em; margin-bottom: 12px; }
.gal-hero .sub { color: rgba(255,255,255,0.86); font-size: 17px; max-width: 620px; }

/* Barra de filtros */
.gal-filters { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(155,213,232,0.55); }
.gal-filters .wrap { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 14px 0; }
.gal-fbtn { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(62,64,149,0.22); color: var(--purpura); background: #fff; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; display: inline-flex; align-items: center; gap: 8px; }
.gal-fbtn .c { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.gal-fbtn:hover { border-color: var(--purpura); background: var(--cian-claro); transform: translateY(-1px); }
.gal-fbtn.active { color: #fff; border-color: transparent; }
.gal-fbtn.active[data-cat="todos"] { background: var(--purpura); }
.gal-fbtn.active[data-cat="limpieza"] { background: var(--svc-aseo); }
.gal-fbtn.active[data-cat="mantenimiento"] { background: var(--svc-mant); }
.gal-fbtn.active[data-cat="areas"] { background: var(--svc-verde); }
.gal-fbtn.active[data-cat="logistica"] { background: var(--svc-log); }

/* Sección de categoría */
.g-cat { padding: 46px 0; }
.g-cat + .g-cat { border-top: 1px solid rgba(155,213,232,0.5); }
.g-cat[hidden] { display: none; }
.g-cathead { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.g-cathead .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 auto; box-shadow: var(--sombra-card); }
.g-cathead .ic svg { width: 27px; height: 27px; }
.g-cathead h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3vw, 28px); color: var(--purpura); margin: 0; }
.g-cathead .count { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; color: var(--gris); background: var(--cian-claro); padding: 5px 12px; border-radius: 999px; }

/* Masonry */
.g-grid { columns: 4 250px; column-gap: 16px; }
@media (max-width: 1100px) { .g-grid { columns: 3 230px; } }
@media (max-width: 760px) { .g-grid { columns: 2 150px; } }
@media (max-width: 460px) { .g-grid { columns: 1; } }
.g-item { break-inside: avoid; margin: 0 0 16px; border-radius: 14px; overflow: hidden; position: relative; box-shadow: var(--sombra-card); background: var(--cian-claro); }
.g-photo { display: block; cursor: zoom-in; position: relative; }
.g-photo img { width: 100%; height: auto; display: block; transition: transform .35s ease; background: var(--cian-claro); }
.g-item:hover .g-photo img { transform: scale(1.04); }
.g-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(28,25,24,0.82)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.01em; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.g-ov .tag { display: inline-flex; align-items: center; gap: 7px; }
.g-ov .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cian-dec); }
.g-item:hover .g-ov { opacity: 1; transform: none; }
@media (hover: none) { .g-ov { opacity: 1; transform: none; } }

/* Comparador antes/después */
.g-compare { cursor: default; }
.cmp { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; user-select: none; touch-action: pan-y; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp .cmp-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.cmp .cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp .cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.18); }
.cmp .cmp-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%233E4095' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.cmp .cmp-lab { position: absolute; top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: 999px; background: rgba(28,25,24,0.62); pointer-events: none; }
.cmp .cmp-lab--before { left: 12px; }
.cmp .cmp-lab--after { right: 12px; background: rgba(0,168,89,0.82); }

/* Mini-CTA por categoría */
.g-minicta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--cian-claro); border: 1px solid rgba(155,213,232,0.6); border-radius: var(--radio-card); padding: 20px 26px; }
.g-minicta p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--purpura); }
.g-minicta .btn { padding: 12px 22px; }

/* CTA final */
.gal-cta { background: var(--grad-purp); color: #fff; text-align: center; }
.gal-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.gal-cta p { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 560px; margin: 0 auto 26px; }

/* Lightbox */
.glb { position: fixed; inset: 0; z-index: 1000; display: none; }
.glb.open { display: block; }
.glb__bg { position: absolute; inset: 0; background: rgba(15,12,30,0.92); opacity: 0; transition: opacity .25s ease; }
.glb.open .glb__bg { opacity: 1; }
.glb__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 4vh 5vw; }
.glb__img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); opacity: 0; transform: scale(.97); transition: opacity .25s ease, transform .25s ease; object-fit: contain; }
.glb.open .glb__img { opacity: 1; transform: none; }
.glb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,0.9); font-family: var(--font-display); font-weight: 700; font-size: 14px; z-index: 3; }
.glb__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 4; transition: background .18s ease, transform .18s ease; }
.glb__btn:hover { background: rgba(255,255,255,0.26); }
.glb__btn svg { width: 26px; height: 26px; }
.glb__btn.prev { left: 14px; }
.glb__btn.next { right: 14px; }
.glb__close { position: absolute; top: 16px; right: 18px; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: background .18s ease, transform .18s ease; }
.glb__close:hover { background: var(--naranja); transform: rotate(90deg); }
.glb__close svg { width: 22px; height: 22px; }
.glb__count { position: absolute; top: 22px; left: 22px; color: rgba(255,255,255,0.8); font-family: var(--font-display); font-weight: 700; font-size: 14px; z-index: 5; }
body.glb-open { overflow: hidden; }
@media (max-width: 560px) { .glb__btn { width: 44px; height: 44px; } .glb__btn.prev { left: 6px; } .glb__btn.next { right: 6px; } }

/* ============================================================
   FOCO VISIBLE — accesibilidad por teclado (WCAG AA)
   Solo con :focus-visible (teclado), no afecta el clic con ratón.
   El naranja de marca contrasta sobre fondos claros y oscuros.
   ============================================================ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--naranja);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   BANNER DE COOKIES — aviso de consentimiento (assets/cookies.js)
   El marcado lo inyecta el JS; aqui solo viven los estilos.
   Boton principal en purpura de marca y no en naranja: blanco sobre
   #3E4095 da ~9.5:1 de contraste (AAA), mientras que sobre el naranja
   #E85513 se queda en 3.7:1, por debajo del minimo AA para texto.
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: var(--blanco);
  border-top: 4px solid var(--purpura);
  box-shadow: 0 -6px 28px rgba(28,25,24,0.18);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner:focus { outline: none; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-msg { flex: 1 1 420px; }
.cookie-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--purpura);
  margin: 0 0 4px;
  font-size: 1rem;
}
.cookie-msg p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--negro);
}
.cookie-msg a { color: var(--purpura); text-decoration: underline; }

.cookie-acciones {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.cookie-btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  /* 44px de alto minimo: objetivo tactil comodo (WCAG 2.5.5) */
  min-height: 44px;
}
.cookie-btn-si {
  background: var(--purpura);
  color: var(--blanco);
  border: 2px solid var(--purpura);
}
.cookie-btn-si:hover { background: var(--purpura-dk); border-color: var(--purpura-dk); }
.cookie-btn-no {
  background: var(--blanco);
  color: var(--purpura);
  border: 2px solid var(--purpura);
}
.cookie-btn-no:hover { background: var(--cian-claro); }

@media (max-width: 700px) {
  .cookie-inner { padding: 16px; gap: 14px; }
  .cookie-acciones { width: 100%; }
  .cookie-btn { flex: 1 1 0; padding: 12px 12px; }
}

/* Quien pidio menos animacion recibe el banner ya colocado. */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

/* ============================================================
   ENLACE DE EMPLEO EN LA BARRA SUPERIOR (Trabaja con Nosotros)
   Se oculta por debajo de 900px: en movil la barra ya lleva
   telefono y correo, y un cuarto elemento la desborda. Quien
   entra desde el celular llega por el QR o por el menu.
   ============================================================ */
.topbar-jobs { color: var(--blanco); font-weight: 700; text-decoration: none; margin-left: 4px; border-bottom: 1px dotted rgba(255,255,255,.6); }
.topbar-jobs:hover { border-bottom-style: solid; }
@media (max-width: 900px) { .topbar-jobs { display: none; } }
