/* ============================================================
   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 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  cursor: pointer;
}
.nav__logo span { color: var(--color-accent); }

/* ── 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;
}

/* 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;
  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/hero-bg.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((100% - var(--max-width)) / 2 + 60px));
  width: min(44%, 500px);
  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: 0;
  width: 52%;
  /* La curva blanca del fondo ocupa ~14% inferior → el visual termina antes */
  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: 0.3%;
  right: 21%;
  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: 200px;
}

/* 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;
}

/* Títulos de sección: NUESTROS SERVICIOS, VENTAJAS, USOS EN — mismo estándar */
.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  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;
}

/* 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: linear-gradient(135deg, #1a20c8 0%, #2a35e0 50%, #1e26d4 100%);
}
.nosotros-banner__bg {
  position: absolute;
  inset: 0;
  background: url('../images/nosotros-bg.png') center/cover no-repeat;
}
.nosotros-banner__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  padding-left: 5%;
  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: 900;
  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__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Cada pin = ícono GPS arriba + etiqueta abajo */
.nosotros-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
}
.nosotros-pin__icon {
  width: clamp(22px, 2.8vw, 38px);
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.nosotros-pin__label {
  height: clamp(24px, 3vw, 40px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
/* Posiciones calibradas sobre el mapa */
.nosotros-pin--usa     { top: 30%; left: 34%; }
.nosotros-pin--peru    { top: 56%; left: 43%; }
.nosotros-pin--francia { top: 20%; left: 67%; }

/* ── Sección contacto ── */
.contacto {
  background: #f0f4ff;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 40px;
  overflow: hidden;
}
.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;
}
.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(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  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 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.footer__logo span { color: var(--color-accent); }

.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);
}

/* ============================================================
   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; }

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

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nosotros-hero__inner { flex-direction: column; }
  .nosotros-hero__text { max-width: 100%; }
  .nosotros-hero__form-wrap { max-width: 100%; width: 100%; }
}

@media (max-width: 960px) {
  .hero { height: auto; min-height: 100svh; }
  .slide__text {
    position: relative;
    top: auto; left: auto; bottom: auto;
    width: 100%;
    max-width: 100%;
    padding: calc(var(--nav-height) + 40px) 24px 20px;
    text-align: center;
    align-items: center;
  }
  .slide__visual {
    position: relative;
    top: auto; right: auto;
    width: 100%; height: auto;
  }
  .slide__visual img { height: auto; max-height: 55vw; }

  .nav__switch { display: none; }   /* simplificar en móvil – o añadir hamburger */
  .nav__inner  { justify-content: space-between; }

  .footer__bar { padding: 20px 24px; }
}

@media (max-width: 640px) {
  .nav__actions { gap: 8px; }
  .btn--nav-contact, .btn--nav-login { padding: 8px 14px; font-size: 0.72rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}
