/* ============================================================
   FONTS – Poppins (local)
============================================================ */
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Thin.otf');        font-weight: 100; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-ExtraLight.otf');  font-weight: 200; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Light.otf');       font-weight: 300; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.otf');     font-weight: 400; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.otf');      font-weight: 500; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.otf');    font-weight: 600; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Bold.otf');        font-weight: 700; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-ExtraBold.otf');   font-weight: 800; font-style: normal; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Black.otf');       font-weight: 900; font-style: normal; }

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
  --color-primary:      #1e26d4;
  --color-primary-dark: #1219a8;
  --color-accent:       #00e5ff;
  --color-white:        #ffffff;
  --color-footer-bg:    #0a0b24;
  --color-footer-text:  #8a8fb0;
  --color-footer-head:  #ffffff;
  --color-whatsapp:     #25d366;

  --hero-gradient: linear-gradient(130deg, #1219a8 0%, #2b3ee6 45%, #1a6edc 100%);

  --font-family: 'Poppins', sans-serif;
  --max-width: 1280px;
  --nav-height: 80px;
  --radius-btn: 50px;

  /* Velocidad de la animación de transición entre páginas */
  --page-transition: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET / BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: var(--color-white);
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAVEGACIÓN
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  height: var(--nav-height);
  background: var(--color-primary);
}

.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  /* Logo izq | switch centrado absoluto | acciones der */
  position: relative;
}

/* Logo */
.nav__logo {
  flex-shrink: 0;
  cursor: pointer;
  height: 105px;
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 100%;
  width: auto;
}

/* ── SEGMENTED CONTROL – centrado absoluto ── */
.nav__switch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-btn);
  padding: 5px;
  gap: 2px;
}

/* ── Submenú SERVICIOS ── */
.nav__tab-wrap {
  position: relative;
}
.nav__tab--has-sub {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav__tab-arrow {
  transition: transform 0.2s;
  opacity: 0.8;
}
.nav__tab--has-sub[aria-expanded="true"] .nav__tab-arrow {
  transform: rotate(180deg);
}
.nav__submenu {
  position: absolute;
  top: 100%;         /* justo debajo del nav completo */
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(30,38,212,0.18), 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
  display: flex;
  gap: 0;
  width: min(1000px, 94vw);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: visible;  /* necesario para que la viñeta se vea por encima */
}
.nav__submenu.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* Viñeta triangular apuntando al tab SERVICIOS — posición ajustada por JS */
.nav__submenu-arrow {
  position: absolute;
  top: -8px;
  left: 50%;          /* JS sobreescribe este valor */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #fff;
  filter: drop-shadow(0 -2px 2px rgba(30,38,212,0.10));
  pointer-events: none;
}
/* Borde interno de los items — overflow:hidden para aplicar border-radius al contenedor */
.nav__submenu-items-clip {
  display: contents;
}
.nav__submenu-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 40px 44px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #1a1a2e;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
  transition: background 0.18s, color 0.18s;
  border-radius: 0;
}
.nav__submenu-item:first-of-type { border-radius: 18px 0 0 18px; }
.nav__submenu-item:last-child     { border-radius: 0 18px 18px 0; }
.nav__submenu-item:hover {
  background: #f0f4ff;
  color: #1e26d4;
}
.nav__submenu-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Pastilla blanca que se desliza */
.nav__switch-indicator {
  position: absolute;
  top: 5px;
  left: 5px;                         /* JS ajusta left y width */
  height: calc(100% - 10px);
  background: var(--color-white);
  border-radius: var(--radius-btn);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Botones de tab */
.nav__tab {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  font-family: var(--font-family);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  border-radius: var(--radius-btn);
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  white-space: nowrap;
  user-select: none;
}
.nav__tab.is-active {
  color: var(--color-primary);
}
.nav__tab:not(.is-active):hover {
  color: var(--color-white);
}

/* Acciones del nav – ancladas a la derecha */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;           /* empuja todo el grupo a la derecha */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* CONTÁCTANOS – relleno blanco, texto azul oscuro */
.btn--nav-contact {
  background: var(--color-white);
  color: #0d1460;
  padding: 10px 26px;
  border-color: var(--color-white);
}
.btn--nav-contact:hover {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}

/* LOGIN – solo contorno blanco, texto blanco */
.btn--nav-login {
  background: transparent;
  color: var(--color-white);
  padding: 8px 24px;
  border-color: rgba(255,255,255,0.75);
}
.btn--nav-login:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

/* ============================================================
   SISTEMA DE PÁGINAS CON DESLIZAMIENTO
============================================================ */

/* Contenedor externo: oculta lo que está fuera del viewport */
.pages-viewport {
  overflow: hidden;
  width: 100%;
}

/* Track: flex row, 4 paneles */
.pages-track {
  display: flex;
  align-items: flex-start;
  width: 400%;
  transition: transform var(--page-transition);
  will-change: transform;
}

.pages-track.show-servicios { transform: translateX(-25%); }
.pages-track.show-nosotros  { transform: translateX(-50%); }
.pages-track.show-contacto  { transform: translateX(-75%); }

/* Cada página ocupa exactamente el ancho del viewport */
.page {
  width: 25%;
  flex-shrink: 0;
}

/* Paneles ocultos no generan altura */
.page[aria-hidden="true"] {
  max-height: 0;
  overflow: hidden;
}


/* ============================================================
   HERO – CARRUSEL DE BANNERS
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
}

/* Track: 4 slides en fila */
.hero__track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Cada slide ocupa el 25% del track = 100% del hero */
.hero__slide {
  position: relative;
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ── SLIDE 1: fondo azul ── */
.hero__slide--1 {
  background-image: url('../images/01-HOME-bg1.png');
}

/* ── SLIDES 2, 3 y 4: fondo blanco con blobs ── */
.hero__slide--2,
.hero__slide--3,
.hero__slide--4 {
  background-image: url('../images/banner2-bg.png');
  background-color: #ffffff;
}

/* ── Texto de cada slide (columna izquierda) ── */
.slide__text {
  position: absolute;
  top: var(--nav-height);
  bottom: 0;
  left: max(60px, calc(50% - 520px));
  width: min(56%, 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
  z-index: 2;
}

/* Slide 1 – tipografía blanca */
.slide__text h1 {
  font-size: clamp(1.8rem, 2.6vw, 2.9rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.18;
  margin-bottom: 14px;
}
.hero__highlight { color: var(--color-accent); }

.hero__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Slide 2 – tipografía oscura */
.slide__text--dark h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.9rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.18;
  margin-bottom: 14px;
}
.hero__sub--dark {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* CTA flechas del slide 2 */
.slide__cta-arrows {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  transition: letter-spacing 0.2s;
}
.slide__cta-arrows:hover { letter-spacing: 0.16em; }

/* Botón de video */
.btn-video {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-block;
  width: fit-content;
  transition: transform 0.25s;
}
.btn-video:hover { transform: scale(1.07); }
.btn-video img   { display: block; }

/* ── Visual de cada slide (columna derecha) ── */
.slide__visual {
  position: absolute;
  top: 0;
  right: max(40px, calc(50% - 540px));
  width: 46%;
  bottom: 14%;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.slide__visual img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* Slides 2-4: fondo blanco sin curva → ocupan todo el alto */
.slide__visual--light {
  bottom: 0;        /* sobreescribe el bottom: 14% del slide 1 */
  align-items: center;
}
.slide__visual--light img {
  height: 78%;
  object-position: center center;
}

/* Slide 1: el visual ocupa TODO el alto del hero.
   La ola blanca (hero__wave) queda por encima como overlay y
   corta visualmente a la persona en los pies — efecto "persona parada en la curva". */
.hero__slide--1 .slide__visual {
  bottom: clamp(2%, 8vh, 10%);
  right: 10%;
  width: 45%;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.hero__slide--1 .slide__visual img {
  height: 95%;
  width: auto;
  max-width: none;
  object-fit: unset;
  object-position: bottom center;
}

/* Ola blanca: overlay por encima del visual de slide 1 */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(80px, 20vh, 200px);
  margin-bottom: -2px;
}

/* Slide 4: centrado igual que slides 2 y 3 */
.hero__slide--4 .slide__visual {
  align-items: center;
}

/* Texto inline dentro del h2 del slide 3 */
.slide__inline-text {
  font-size: 0.82rem;
  font-weight: 400;
  color: #555;
  line-height: 1.65;
  display: block;
  margin-top: 8px;
}

/* ── Flechas de carrusel ── */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s, border-color 0.2s;
}
/* Slide 1 (azul) → flechas blancas */
.hero__slide--1 ~ .hero__arrow,
.hero__arrow {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
}
.hero__arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: var(--color-white);
}
/* Flechas oscuras cuando está en slide 2 */
.hero.slide-2-active .hero__arrow {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.2);
  color: #333;
}
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

/* ── Flecha scroll inferior ── */
.hero__scroll-btn {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(30,38,212,0.75);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  animation: bounce-down 2.2s ease-in-out infinite;
  z-index: 10;
  cursor: pointer;
}
@keyframes bounce-down {
  0%,100% { transform: translateX(-50%) translateY(0);  }
  50%      { transform: translateX(-50%) translateY(7px);}
}

/* ============================================================
   NUESTROS SERVICIOS
============================================================ */
.servicios {
  background: #ffffff;
}

/* Título — fondo blanco limpio */
.servicios__header {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  background: #fff;
  text-align: center;
}

/* ── Menú de navegación de servicios ── */
.servicios__nav {
  position: relative;
  display: inline-flex;
  gap: 0;
  background: #f0f4ff;
  border-radius: 50px;
  padding: 5px;
  margin: 28px auto 0;
  overflow: hidden;
}
.servicios__nav-btn {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}
.servicios__nav-btn.is-active { color: #fff; }
.servicios__nav-btn:hover:not(.is-active) { color: #1e26d4; }
.servicios__nav-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 50px;
  background: #1e26d4;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1), width 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
  pointer-events: none;
}

/* Desktop: trigger oculto, panel siempre visible como tabs */
.servicios__nav-trigger { display: none; }
.servicios__nav-panel {
  display: flex;
  position: static;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.servicios__nav-panel .servicios__nav-btn { display: inline-flex; }

/* Separador eliminado */
.servicios__header::after { display: none; }

/* Títulos de sección: NUESTROS SERVICIOS, VENTAJAS, USOS EN — mismo estándar */
.section-title {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

/* Área de items — con imagen de fondo */
.servicios__body {
  background-image: url('../images/servicios-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 80px;
}

.servicios__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 60px;
}

/* Sin divisores */
.servicio__divider { display: none; }

/* Fila de cada servicio */
.servicio {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 20px;
  padding: 60px 0;
}
.servicio--reverse {
  grid-template-columns: 1.5fr 1fr;
}

.servicio__text h3 {
  font-size: clamp(2.5rem, 3.3vw, 3.8rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 14px;
}
.servicio__text p {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.8;
}
.servicio__text p strong { color: #111; font-weight: 700; }

/* Imagen — más grande, sin límite restrictivo */
.servicio__img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.servicio__img img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}

/* Pantallas grandes (≥1400px): texto e imagen más juntos al centro */
@media (min-width: 1400px) {
  .hero__slide--2 .slide__text {
    left: 22%;
    width: 36%;
  }
  .hero__slide--3 .slide__text,
  .hero__slide--4 .slide__text {
    left: 22%;
    width: 26%;
  }
  .hero__slide--2 .slide__visual,
  .hero__slide--3 .slide__visual,
  .hero__slide--4 .slide__visual {
    right: 8%;
    width: 44%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .servicio {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .servicio--reverse { direction: ltr; }
  .servicios__inner { padding: 0 24px; }
}

/* ============================================================
   PÁGINA 2 · QUIENES SOMOS
============================================================ */

/* ── Banner mapa mundial ── */
.nosotros-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #3839d2;
}
.nosotros-banner__bg {
  position: absolute;
  inset: 0;
  background: url('../images/nosotros-bg.png') center/100% 100% no-repeat;
}
.nosotros-banner__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: calc(var(--nav-height) + clamp(40px, 15vh, 250px));
  display: flex;
  align-items: center;
  padding-left: 18%;
  padding-right: 5%;
}
.nosotros-banner__text {
  max-width: 300px;
  flex-shrink: 0;
  color: #fff;
}
.nosotros-banner__lideres {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 20px;
}
.nosotros-banner__text p {
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  margin: 0;
}
.nosotros-banner__map-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nosotros-banner__map-img {
  display: none;
}
.nosotros-banner__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Pin: icono GPS a la izquierda, etiqueta a la derecha */
.nosotros-pin {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  transform: translate(-10px, -50%);
}
.nosotros-pin__icon {
  width: clamp(20px, 2.4vw, 32px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.nosotros-pin__label {
  height: clamp(22px, 2.6vw, 34px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
/* Posiciones: top/left apuntan al centro del país */
.nosotros-pin--usa     { top: 22%; left: 41%; }
.nosotros-pin--peru    { top: 65%; left: 49%; }
.nosotros-pin--francia { top: 20%; left: 79%; }

/* ── Sección contacto ── */
.contacto {
  background: #f0f4ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 40px;
  overflow: visible;
}
.contacto__inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-height);
}
.contacto__heading {
  text-align: center;
  margin-bottom: 20px;
}
.contacto__title {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}
.contacto__subtitle {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}
.contacto__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Columna izquierda: formulario ocupa toda la altura */
.contacto__col-form {
  display: flex;
  flex-direction: column;
}
/* Honeypot: fuera de pantalla, invisible para humanos */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.contacto__col-form .contact-form--light {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contacto__col-form .contact-form--light .contacto__submit-wrap {
  margin-top: auto;
  padding-top: 14px;
}

.contact-form--light {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(30,38,212,0.08);
}
.contact-form--light .form-row { margin-bottom: 12px; gap: 12px; }
.contact-form--light .form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}
.req { color: var(--color-primary); }
.contact-form--light .form-group input,
.contact-form--light .form-group textarea {
  background: #fff;
  border: 1.5px solid #c8d0f0;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.83rem;
}
.contact-form--light .form-group textarea { resize: none; }
.contact-form--light .form-group input:focus,
.contact-form--light .form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,38,212,0.08);
}
.contact-form--light .form-group--full { margin-bottom: 14px; }
.contacto__submit-wrap {
  display: flex;
  justify-content: center;
}
.btn--enviar {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 11px 56px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn--enviar:hover { opacity: 0.88; transform: translateY(-1px); }

/* Columna derecha */
.contacto__col-right { display: flex; flex-direction: column; gap: 14px; }
.contacto__info-sub {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
  text-align: center;
}
.contacto__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contacto__card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 14px rgba(30,38,212,0.07);
}
.contacto__card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contacto__card-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 2px;
}
.contacto__card-desc {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.35;
}

/* Calendario */
.cal {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 3px 14px rgba(30,38,212,0.07);
}
.cal__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.cal__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal__month-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}
.cal__arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 2px 8px;
  line-height: 1;
}
.cal__arrow:hover { color: var(--color-accent); }
.cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 4px;
}
.cal__weekdays span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #999;
  padding: 2px 0;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal__day {
  text-align: center;
  padding: 5px 2px;
  font-size: 0.75rem;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cal__day:hover { background: #e8ecff; color: var(--color-primary); }
.cal__day--today { font-weight: 700; color: var(--color-primary); }
.cal__day--selected { background: var(--color-primary); color: #fff; }
.cal__day--empty { cursor: default; }
.cal__day--past { color: #ccc; cursor: default; }
.cal__tz {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #888;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.nosotros-hero__label {
  display: inline-block;
  background: rgba(0,229,255,0.15);
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.nosotros-hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nosotros-hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.feat-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,229,255,0.2);
  border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Tarjeta del formulario */
.contact-form {
  background: rgba(255,255,255,0.97);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.contact-form__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.contact-form__sub {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full {
  margin-bottom: 24px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-family);
  font-size: 0.88rem;
  color: #222;
  background: #f5f6fb;
  border: 1.5px solid #e0e3f0;
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,38,212,0.1);
  background: #fff;
}

/* Botón submit */
.btn--submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--hero-gradient);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 12px;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(30,38,212,0.35);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn--submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(30,38,212,0.45);
}
.btn--submit:active {
  transform: translateY(0);
}

/* ============================================================
   VENTAJAS
============================================================ */
.ventajas {
  background: #ffffff;
  padding: 80px 0 100px;
}

.ventajas__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* UN SOLO cuadro blanco con sombra — título y contenido dentro */
.ventajas__grid {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.10);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

/* Título dentro del cuadro, centrado, ocupa las 3 columnas */
.ventajas__title {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-family);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Items sin tarjeta propia */
.ventaja {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.ventaja img {
  display: block;
  margin: 0 auto;
}

/* VENTAJAS: viewBox grande (234×232) con whitespace — necesita más px para verse igual */
#ventajas .ventaja img {
  height: 130px;
  width: auto;
}

/* USOS EN: viewBox pequeño (55×84) lleno — se ve grande con menos px */
#usos-en .ventaja img {
  height: 70px;
  width: auto;
}

.ventaja p {
  font-size: 0.85rem;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.5;
  text-align: center;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* USOS EN: subtítulo azul igual que ventajas, descripción en gris */
#usos-en .ventaja p {
  font-size: 0.82rem;
  font-weight: 400;
  color: #555;
  text-align: center;
}
#usos-en .ventaja p strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Última fila: 2 items centrados dentro del grid */
.ventajas__last-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.ventajas__last-row .ventaja {
  width: 180px;
}

@media (max-width: 640px) {
  .ventajas__grid { grid-template-columns: repeat(2, 1fr); padding: 30px 20px; }
  .ventajas__last-row { gap: 20px; }
  .ventajas__last-row .ventaja { width: 140px; }
}

/* ============================================================
   CUMPLIMIENTO
============================================================ */
.cumplimiento {
  background-image: url('../images/cumplimiento-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 160px 40px 150px;
}

.cumplimiento__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cumplimiento__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 40px;
}

/* Fila 1: 3 logos */
.cumplimiento__row1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
}

/* Fila 2: 2 logos centrados */
.cumplimiento__row2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.cumplimiento__row1 img,
.cumplimiento__row2 img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--color-footer-bg);
}

.footer__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  height: 75px;
  display: flex;
  align-items: center;
}
.footer__logo img {
  height: 100%;
  width: auto;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  transition: background 0.2s, color 0.2s;
}
.footer__social-link:hover {
  background: var(--color-accent);
  color: var(--color-footer-bg);
}

/* ============================================================
   MODAL DE VIDEO
============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.video-modal__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.video-modal.is-open .video-modal__container {
  transform: scale(1);
}
.video-modal__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  max-height: 85vh;
  object-fit: contain;
}
.video-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal__close:hover { background: rgba(0,0,0,0.85); }

/* ============================================================
   BOTÓN COMPARTIR FLOTANTE
============================================================ */
.share-fab {
  position: fixed;
  bottom: 96px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.share-fab__toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1e26d4;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.2s;
  color: #fff;
}
.share-fab__toggle svg { width: 22px; height: 22px; }
.share-fab__toggle:hover { background: #2d38c8; transform: scale(1.08); }
.share-fab__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.share-fab__menu.is-open {
  max-height: 200px;
  opacity: 1;
}
.share-fab__item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  text-decoration: none;
}
.share-fab__item:hover { transform: scale(1.1); }
.share-fab__item--wa  { background: #25d366; }
.share-fab__item--wa img { width: 28px; height: 28px; }
.share-fab__item--fb  { background: #1877f2; color: #fff; }
.share-fab__item--li  { background: #0a66c2; color: #fff; }
.share-fab__item--fb svg,
.share-fab__item--li svg { width: 22px; height: 22px; }

/* ── reCAPTCHA badge: solo visible en panel contacto ── */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: opacity 0.3s;
}
.show-recaptcha .grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
}
.recaptcha-notice {
  font-size: 0.7rem;
  color: #888;
  margin-top: 8px;
  text-align: center;
}
.recaptcha-notice a { color: #1e26d4; text-decoration: none; }
.recaptcha-notice a:hover { text-decoration: underline; }

/* ============================================================
   WHATSAPP FLOTANTE
============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  display: block;
  line-height: 0;
  transition: transform 0.2s;
  filter: drop-shadow(0 4px 12px rgba(37,211,102,0.45));
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 18px rgba(37,211,102,0.6));
}
.whatsapp-btn img { display: block; width: 64px; height: 64px; }

/* ============================================================
   HAMBURGUESA + MENÚ MOBILE
============================================================ */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 4px;
  transition: background 0.2s;
}
.nav__hamburger:hover { background: rgba(255,255,255,0.2); }
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
}
.nav__hamburger span:nth-child(1) { width: 18px; }
.nav__hamburger span:nth-child(2) { width: 12px; }
.nav__hamburger span:nth-child(3) { width: 18px; }
/* Animación X */
.nav__hamburger.is-open span:nth-child(1) { width: 18px; transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { width: 18px; transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  height: calc(100svh - var(--nav-height));
  background: linear-gradient(160deg, #0d13a0 0%, #1e26d4 40%, #1533e8 100%);
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  z-index: 199;
  padding: 24px 0;
  /* Oculto con clip-path animado */
  display: flex;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.nav__mobile-menu.is-open {
  clip-path: inset(0 0 0% 0);
  pointer-events: all;
}
.nav__mobile-item {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 20px 36px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
}
.nav__mobile-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--color-accent);
  border-radius: 0 3px 3px 0;
  transition: transform 0.2s;
}
.nav__mobile-item:hover,
.nav__mobile-item.is-active {
  color: #fff;
  padding-left: 44px;
}
.nav__mobile-item:hover::before,
.nav__mobile-item.is-active::before {
  transform: translateY(-50%) scaleY(1);
}

/* Sub-acordeón SERVICIOS en mobile */
.nav__mobile-item--has-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__mobile-arrow {
  opacity: 0.7;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.nav__mobile-item--has-sub.is-open .nav__mobile-arrow {
  transform: rotate(180deg);
}
.nav__mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 0 16px;
}
.nav__mobile-sub.is-open {
  max-height: 480px;
  padding: 8px 16px 16px;
}
.nav__mobile-subitem {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 32px;
  gap: 20px;
  background: rgba(0,0,0,0.15);
  border: none;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
  transition: color 0.2s, background 0.2s;
}
.nav__mobile-subitem img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.nav__mobile-subitem:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   SCROLL: clase para el nav
============================================================ */
/* JS agrega .is-scrolled cuando scroll > 10px */

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .contacto__cols { grid-template-columns: 1fr; }
  .contacto__col-right { display: flex; flex-direction: column; gap: 14px; }
}

/* ── MÓVIL ≤ 768px ── */
@media (max-width: 768px) {

  /* NAV */
  .nav__switch { display: none; }
  .nav__inner  { justify-content: space-between; }
  .nav__actions { gap: 6px; }
  .btn--nav-contact { display: none; }
  .nav__hamburger { display: flex; }
  .btn--nav-login { padding: 8px 16px; font-size: 0.75rem; }

  /* HERO */
  .hero { height: auto; overflow: hidden; }
  .hero__track { height: auto; }
  .hero__slide {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
  }
  .slide__text {
    position: relative;
    top: auto; left: auto; bottom: auto; right: auto;
    width: 100%;
    max-width: 100%;
    padding: calc(var(--nav-height) + 16px) 24px 12px;
    text-align: left;
    align-items: flex-start;
    order: 1;
  }
  .slide__text--dark {
    padding: calc(var(--nav-height) + 10px) 20px 8px;
  }
  .slide__text h1,
  .slide__text h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    margin-bottom: 8px;
  }
  .hero__sub,
  .hero__sub--dark { font-size: 0.78rem; line-height: 1.4; }
  .btn-video img { width: 80px; height: 80px; }
  .slide__text { z-index: 2; }
  .slide__visual {
    position: relative !important;
    top: auto !important; right: auto !important;
    bottom: auto !important; left: auto !important;
    width: 100% !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2;
    overflow: hidden !important;
    z-index: 1;
  }
  .slide__visual img {
    height: 100%;
    width: auto;
    max-width: none;
    margin: 0 auto;
    display: block;
  }
  /* Banner 1 únicamente */
  .hero__slide--1 .slide__text {
    z-index: 10;
    padding-bottom: 32px;
  }
  .hero__slide--1 .slide__visual {
    overflow: visible !important;
  }
  .hero__slide--1 .slide__visual img {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    height: 155% !important;
    width: auto !important;
    max-width: none !important;
  }
  /* Banners 2, 3, 4 */
  .slide__visual--light {
    padding: 0;
    align-items: flex-end;
    min-height: 52vw;
  }
  .slide__visual--light img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    margin: 0 auto;
    display: block;
  }
  .hero__wave svg { height: 60px; }
  .hero__scroll-btn { display: none; }

  /* SECTION TITLES */
  .ventajas__title,
  .cumplimiento__title { font-size: clamp(1.6rem, 6vw, 2.2rem); letter-spacing: 0.05em; }
  .section-title { font-size: clamp(2.4rem, 9vw, 3rem); letter-spacing: 0.05em; }

  /* SERVICIOS header */
  .servicios__header { padding: calc(var(--nav-height) + 24px) 0 0; }
  /* Mobile: segmented control */
  .servicios__nav {
    display: flex;
    overflow: visible;
    background: #eef1fb;
    padding: 4px;
    gap: 0;
    border-radius: 12px;
    box-shadow: none;
    margin: 16px 16px 0;
    position: relative;
  }
  .servicios__nav-trigger { display: none; }
  .servicios__nav-panel {
    display: flex;
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    gap: 0;
  }
  .servicios__nav-panel .servicios__nav-btn {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 10px 4px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    background: none;
    color: #888;
    border: none;
    border-radius: 9px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
  }
  .servicios__nav-panel .servicios__nav-btn.is-active {
    color: #1e26d4;
    font-weight: 700;
    background: none;
    box-shadow: none;
  }
  /* Pastilla blanca deslizante */
  .servicios__nav-indicator {
    display: block;
    position: absolute;
    top: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: left 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
  }

  /* SERVICIOS articles */
  .servicio {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px;
  }
  .servicio--reverse { direction: ltr; }
  .servicio__text { padding: 0 0 16px; }
  .servicio__text h3 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .servicio__text p  { font-size: 0.85rem; }
  .servicio__img {
    width: 100%;
    height: 55vw;
    border-radius: 16px;
    overflow: hidden;
  }
  .servicio__img img { width: 100%; height: 100%; object-fit: cover; }

  /* VENTAJAS */
  .ventajas { padding: 48px 0 60px; }
  .ventajas__inner { padding: 0 16px; }
  .ventajas__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }
  .ventajas__last-row {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .ventajas__last-row .ventaja { width: 100%; }
  #ventajas .ventaja img { height: 80px; }
  #usos-en  .ventaja img { height: 50px; }
  .ventaja p { font-size: 0.75rem; max-width: 200px; }
  #usos-en .ventaja p { max-width: 260px; }

  /* CUMPLIMIENTO */
  .cumplimiento { padding: 24px 20px; }
  .cumplimiento__inner {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    place-items: center;
  }
  .cumplimiento__title {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
  .cumplimiento__row1,
  .cumplimiento__row2 { display: contents; }
  .cumplimiento__row1 img:nth-child(3) { order: 4; }
  .cumplimiento__row2 img:nth-child(1) { order: 3; }
  .cumplimiento__row2 img:last-child {
    order: 5;
    grid-column: 1 / -1;
    justify-self: center;
  }
  .cumplimiento__row1 img,
  .cumplimiento__row2 img { height: 50px; width: auto; }

  /* FOOTER */
  .footer__bar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    text-align: center;
  }

  /* CONTACTO */
  .contacto { padding: calc(var(--nav-height) + 32px) 20px 40px; height: auto; }
  .contacto__cols { grid-template-columns: 1fr; gap: 20px; }
  .contacto__cards { grid-template-columns: 1fr; }
  .contacto__title { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form--light { padding: 20px 16px; }

  /* QUIENES SOMOS */
  .nosotros-banner { height: auto; min-height: auto; overflow: hidden; }
  .nosotros-banner__bg { display: none; }
  .nosotros-banner__overlay {
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 20px) 6% 0;
    align-items: flex-start;
  }
  .nosotros-banner__text { max-width: 88%; }
  .nosotros-banner__lideres {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    margin-bottom: 10px;
  }
  .nosotros-banner__text p { font-size: 0.82rem; line-height: 1.5; }
  /* Map wrap: rompe el padding del overlay y llena todo el ancho */
  .nosotros-banner__map-wrap {
    position: relative;
    width: calc(100% + 12%);
    margin-left: -6%;
    margin-right: -6%;
    display: block;
    pointer-events: none;
  }
  .nosotros-banner__map-img {
    display: block;
    width: 100%;
    height: auto;
  }
  .nosotros-banner__pins { position: absolute; inset: 0; z-index: 3; }
  .nosotros-pin__label { height: 16px; }
  .nosotros-pin__icon  { width: 14px; }
  .nosotros-pin--usa     { top: 22%; left: 41%; }
  .nosotros-pin--peru    { top: 65%; left: 49%; }
  .nosotros-pin--francia { top: 20%; left: 79%; }
}

/* ── Pantallas muy pequeñas (≤ 420px) ── */
@media (max-width: 420px) {
  .slide__text {
    padding: calc(var(--nav-height) + 8px) 20px 8px;
  }
  .slide__text h1,
  .slide__text h2 {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    margin-bottom: 6px;
  }
  .hero__sub,
  .hero__sub--dark { font-size: 0.72rem; }
  .btn-video img   { width: 64px; height: 64px; }
}
