@font-face {
  font-family: 'Hector';
  src: url('/assets/fonts/hector-regular.otf') format('otf');
}
:root {
  --main-bg: #000000;
  --main-white: #fff;
  --main-radius: 2rem;
  --nav-height: 72px;
  --menu-gap: 28px;
}
html, body {
  margin: 0;
  background: #f5f5f5;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  max-width: 100vw;
  overflow-x: hidden; /* 🔒 quita scroll lateral */
  background-image: linear-gradient(to bottom, #f5f5f5 100%);
}

/* Corrige cálculo de anchos */
*,
*::before,
*::after {
  box-sizing: border-box;

}
.wayggo-header {
  position: fixed;;   /* CAMBIE de relative a fixed; */
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;       /* 🔒 nunca más ancho que la pantalla */
  z-index: 1001;
  background: rgba(0, 0, 0, 0.95);
  border-bottom-left-radius: var(--main-radius);
  border-bottom-right-radius: var(--main-radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  min-height: var(--nav-height);
}
.wayggo-header__container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--nav-height);
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 36px;
}
.wayggo-logo img {
  height: 34px;
  display: block;
}
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.main-menu {
  display: flex;
  align-items: center;
  gap: var(--menu-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-item {
  position: relative;
  z-index: 1;
}
.menu-item a {
  font-family: 'Hector', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--main-white);
  text-decoration: none;
  padding: 0 4px;
  line-height: var(--nav-height);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.15s;
}
.menu-item a:hover,
.menu-item a:focus {
  color: #ededed;
  text-decoration: underline;
}
/* Sin icono flecha en categorías escritorio */
.menu-item.has-sub > a::after {
  content: none;
}
/* Submenús horizontales */
.menu-item .submenu-list {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: var(--main-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 5px 0 5px 22px;
  margin: 0;
  gap: 20px;
  flex-direction: row;
  list-style: none;
}
.menu-item:hover .submenu-list,
.menu-item:focus-within .submenu-list {
  display: flex;
}
.submenu-list li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.submenu-list li a {
  font-family: 'Hector', Arial, sans-serif;
  font-size: 1.03rem;
  color: var(--main-white);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.13s, color 0.15s;
}
.submenu-list li a:hover,
.submenu-list li a:focus {
  background: var(--main-white);
  color: var(--main-bg);
  text-decoration: underline;
}
.download-btn {
  background: var(--main-white);
  color: var(--main-bg);
  font-family: 'Hector', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 8px 24px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 0.5px 9px rgba(0, 0, 0, 0.06);
  margin-left: 18px;
  cursor: pointer;
  white-space: nowrap;
}
.download-btn:hover,
.download-btn:focus {
  background: #ffd7d7;
  color: var(--main-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}
.wayggo-header__actions {
  display: flex;;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}
.lang-select {
  display: flex;
  align-items: center;
  position: relative;
  font-family: 'Hector', Arial, Helvetica, sans-serif;
  color: var(--main-white);
  font-weight: 500;
  font-size: 1.02rem;
  cursor: pointer;
  gap: 6px;
  padding: 0 8px;
  height: 46px;
}
.lang-icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.lang-label {
  padding: 0 4px;
}
.lang-arrow {
  font-size: 1.13em;
  margin-left: 0.07em;
  color: #fff;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.12s;
}
.lang-select:hover .lang-arrow,
.lang-select:focus .lang-arrow {
  color: var(--main-bg);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 120px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-radius: 0 0 12px 12px;
  padding: 0.7em 1em 0.8em 1.1em;
  z-index: 999;
  list-style: none;
}
.lang-select:hover .lang-dropdown,
.lang-select:focus-within .lang-dropdown {
  display: block;
}
.lang-dropdown li a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Hector', Arial, sans-serif;
  display: block;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.11s, color 0.11s;
}
.lang-dropdown li a:hover {
  background: #f4f4f4;
  color: var(--main-bg);
}
.menu-toggle {
  background: none;
  border: none;
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 9999;
}
.menu-bar {
  width: 32px;
  height: 3.5px;
  background: var(--main-white);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
}
/* ----------- MOVIL / HAMBURGUESA ----------- */
@media (max-width: 950px) {
  .main-nav,
  .wayggo-header__actions {
    display: none !important;
  }

  /* Topbar móvil: Logo - App - Hamburguesa */
  .wayggo-header__container {
    justify-content: flex-start;
    max-width: 100%;   /* ✅ ya no intenta ocupar 1300px */
    padding: 0 20px;
    height: var(--nav-height);
  }

  .wayggo-logo {
    margin-right: 8px;
    flex: 0 0 auto;
  }

  .download-btn.header-app-btn {
    display: inline-block;
    margin-right: 10px;
    margin-left: 0;
    padding: 4px 11px;
    font-size: .99rem;
    min-width: 92px;
    max-width: 137px;
    height: 36px;
    border-radius: 25px;
  }

  .menu-toggle {
    display: flex !important;
    position: relative;
    margin-left: auto;
    margin-right: 0;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  .menu-bar {
    width: 32px;
    height: 3.5px;
  }

  /* Menú hamburguesa lateral derecho */
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;                /* Cambia de right: 0 a left: 0 */
    right: auto;            /* Importante: desactiva right */
    width: 300px;
    height: 100vh;
    background: var(--main-bg);
    box-shadow: 5px 0 24px rgba(0,0,0,0.13); /* Sombra a la derecha */
    border-top-right-radius: var(--main-radius);
    border-bottom-right-radius: var(--main-radius);
    border-top-left-radius: 0;      /* Esquinas izquierdas sin curva */
    border-bottom-left-radius: 0;
    transform: translateX(-100%);   /* Inicia oculto a la izquierda */
    transition: transform 0.22s cubic-bezier(.89,0,.17,1);
    z-index: 3004;
    overflow-y: auto;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav-inner {
    padding: 18px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .mobile-nav .wayggo-logo {
    margin-bottom: 20px;
  }
  .mobile-nav .wayggo-logo img {
    height: 30px;
    display: block;
  }
    /* Menú principal: categorías bien juntas */
  .mobile-nav .main-menu {
    gap: 1px !important;
    padding: 0;
    margin: 0 0 10px 0;
    flex-direction: column;
    list-style: none;
  }

  .mobile-nav .menu-item > a {
    font-family: 'Hector', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.07rem;
    color: #fff;
    text-decoration: none;
    padding: 7px 0 7px 0;
    display: flex;
    justify-content: space-between;
    align-items: left;
    background: none;
    border: none;
    border-radius: 0;
    width: 100%;
    cursor: pointer;
    margin: 0;
      line-height: 2.50;
  }

  /* Flechita: solo categorías con submenús */
  .mobile-nav .menu-item.has-sub > a::after {
    content: '▼';
    margin-left: 8px;
    font-size: 1.07rem;
    color: #fff;
    transition: transform 0.2s;
  }
  .mobile-nav .menu-item.open > a::after {
    transform: rotate(180deg);
  }

  /* Listado subcategorías (listado vertical normal, alineado a la izquierda) */
  .mobile-nav .submenu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    padding-left: 15px !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    position: static !important; /* asegúrate de que no se posicione absoluto */
  }
  .mobile-nav .menu-item:not(.open) > .submenu-list {
    display: none !important;
  }
  .mobile-nav .submenu-list li {
    margin: 0;
    padding: 0;
  }
  .mobile-nav .submenu-list li a {
    font-family: 'Hector', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    padding: 3px 0 3px 0;
    margin: 0;
    background: none;
    border-radius: 0;
    text-decoration: none;
    width: 100%;
    display: block;
    text-align: left;
    line-height: 2.50;
  }
}
  /* Mostrar subitems solo cuando se clickea */
  .mobile-nav .menu-item:not(.open) > .submenu-list {
    display: none !important;
  }
  /* Subitems con estilo simple y alineados */
  .mobile-nav .submenu-list li a {
    font-family: 'Hector', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    padding: 6px 0 !important;
    margin-left: 0 !important;
    border-radius: 0 !important;
    white-space: normal;
  }
  .mobile-nav .submenu-list li a:hover,
  .mobile-nav .submenu-list li a:focus {
    color: #ffd7d7;
    text-decoration: underline;
    background: none;
  }
  /* Botón grande de descarga dentro menú lateral */
  .mobile-nav .download-btn {
    margin-top: auto;
    width: 100%;
    padding: 14px 0;
    border-radius: 32px;
    font-weight: 700;
    font-size: 1.09rem;
    background: var(--main-white);
    color: var(--main-bg);
    border: none;
    cursor: pointer;
    text-align: center;
  }
  .mobile-nav .download-btn:hover,
  .mobile-nav .download-btn:focus {
    background: #ffd7d7;
    color: var(--main-bg);
  }
  .mobile-nav .lang-select {
    margin-top: 22px;
    font-size: 1rem;
    color: var(--main-white);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .mobile-nav .lang-select svg {
    width: 20px;
    height: 20px;
  }
  .mobile-nav .lang-select:hover,
  .mobile-nav .lang-select:focus {
    text-decoration: underline;
  }








  /* footer.css — estilos del footer Wayggo */

/* Variables (ajusta si quieres) */
:root{
  --wg-bg: #000;         /* fondo principal del footer */
  --wg-contrast: #fff;   /* texto */
  --wg-accent: #276EF1;  /* color acento para carro / botones */
  --wg-strip-h: 90px;    /* altura de la franja donde va la animación */
}

/* Footer general */
.wg-footer{
  background: var(--wg-bg);
  color: var(--wg-contrast);
  font-family: "YS Text", Arial, sans-serif;
  overflow: hidden;
  border-top-left-radius: 20px;   /* esquina superior izquierda */
  border-top-right-radius: 20px;  /* esquina superior derecha */
  overflow: hidden;               /* para que nada sobresalga */
}

/* Contenedor interior */
.wg-footer__container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* Brand */
.wg-footer__brand{
  display: flex;
  flex-direction: column; /* apila logo y badges verticalmente */
  align-items: flex-start; /* alinea a la izquierda, puedes cambiar a center si quieres centrado */
  gap: 12px; /* espacio entre logo y badges */
}

.wg-logo-img{
  width: 200px;
  height: auto;
  display: block;
}

/* Badges */
.wg-store-badges{
  display: flex;
  gap: 12px; /* espacio entre badges */
  flex-wrap: nowrap;
}

.wg-store-badges img{
  width: 120px;
  height: auto;
  display:block;
}

/* Columns */
.wg-footer__cols{
    display: flex;              /* usamos flex para distribuir columnas */
  flex-wrap: wrap;            /* que bajen a la siguiente línea en móvil */
  gap: 40px;                  /* espacio entre columnas */
  flex: 1;                    /* que ocupe el espacio restante al lado del logo */
  margin-left: 40px;          /* separa las columnas del logo */
}

/* Cada columna */
.wg-col {
  flex: 1;                 /* cada columna ocupa el mismo ancho disponible */
  display: flex;
  flex-direction: column;   /* apila título y lista */
}

.wg-col h4{
  font-size: 14px;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--wg-contrast);
}

.wg-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.wg-col a{
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
  transition: color .18s ease;
}

.wg-col a:hover{ color: var(--wg-accent); }

/* Social / legal area */
.wg-footer__bottom-left{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap:wrap;
}

.wg-social {
  display: flex;
  gap: 12px;           /* espacio entre íconos */
  align-items: center;  /* alineación vertical */
  margin-right: 8px;
}

.wg-social a {
  display: inline-block;
}


.wg-social-icon {
  width: 32px;  /* tamaño del ícono */
  height: 32px;
  display: block;
  transition: transform 0.2s;
}
.wg-social-icon:hover {
  transform: scale(1.1); /* pequeño efecto hover */
}


/* En pantallas grandes (ej. PC) aumentar tamaño */
@media (min-width: 1024px) {
  .wg-social-icon {
    width: 42px;   /* más grande */
    height: 42px;
  }
}


.wg-country-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wg-contrast);
}

.wg-country-icon {
  width: 24px;
  height: 24px;
  color: var(--wg-contrast);
}

.wg-country-dropdown {
  position: relative;
}

.wg-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--wg-contrast);
  cursor: pointer;
  font-size: 14px;
}

.wg-country-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.wg-country-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wg-bg);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  width: 100%;
  z-index: 10;
}

.wg-country-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  cursor: pointer;
}

.wg-country-list li:hover {
  background: rgba(255,255,255,0.1);
}




.wg-copyright{
  width: 100%;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* Franja negra inferior — AQUÍ va la animación (solo en esta franja) */
.wg-footer__strip{
  height: var(--wg-strip-h);
  background: #0b0b0b; /* más oscuro para la franja */
  position: relative;
  overflow: hidden;
}

/* Skyline (se mueve hacia la izquierda) */
.wg-skyline{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px; /* levanta un poco el skyline */
  transform-origin: left center;
  pointer-events: none;
  width: 200%;  /* el svg contiene dos grupos (duplicados) para bucle */
}

.wg-skyline-svg{
  display:block;
  width: 200%;
  height: calc(var(--wg-strip-h) * 0.55);
  fill: rgba(255,255,255,0.08); /* color del skyline (sutil) */
}

/* animación del skyline */
@keyframes wg-skyline-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.wg-skyline-svg { 
  animation: wg-skyline-move 26s linear infinite;
  will-change: transform;
}

/* Carro (en primer plano) */
.wg-car-wrap{
  position: absolute;
  bottom: 6px;
  left: -20%;
  width: 200px;
  height: auto;
  pointer-events: none;
  transform-origin: left bottom;
}

.wg-car{
  width: 14vw;
  max-width: 160px;
  min-width: 80px;
  height: auto;
  display:block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6));
  transform: translateX(0);
}

/* animación del carro: cruza de izq a der */
@keyframes wg-car-drive {
  0%   { transform: translateX(0) translateY(0) rotate(0deg); }
  10%  { transform: translateX(8vw) translateY(-2px) rotate(-1deg); }
  50%  { transform: translateX(70vw) translateY(0) rotate(0deg); }
  90%  { transform: translateX(120vw) translateY(-2px) rotate(1deg); }
  100% { transform: translateX(140vw) translateY(0) rotate(0deg); }
}

.wg-car { animation: wg-car-drive 10s linear infinite; will-change: transform; }

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  .wg-skyline-svg, .wg-car { animation: none !important; }
}

/* Responsive: apilar y reducir columnas en móvil */
@media (max-width: 1024px){
  .wg-footer__cols { grid-template-columns: repeat(2,1fr); }
  :root { --wg-strip-h: 80px; }
  .wg-car { animation-duration: 9s; }
  .wg-skyline-svg { animation-duration: 20s; }
}

@media (max-width: 600px){
  .wg-footer__container { padding: 28px 16px 12px; }
  .wg-footer__cols { grid-template-columns: 1fr; gap:18px; }
  .wg-logo-img { width: 120px; }
  :root { --wg-strip-h: 72px; }
  .wg-car { animation-duration: 8.5s; width: 30vw; max-width: 140px; }
  .wg-skyline-svg { animation-duration: 16s; }
}

/* pequeños ajustes visuales */
.wg-col h4, .wg-col a { letter-spacing: 0; }



.wg-moto-wrap{
  position: absolute;
  bottom: 6px;
  left: -20%;
  width: 140px;
  height: auto;
  pointer-events: none;
  transform-origin: left bottom;
}

.wg-moto{
  width: 12vw;
  max-width: 140px;
  min-width: 60px;
  height: auto;
  display:block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6));
  transform: translateX(0);
}

@keyframes wg-moto-drive {
  0%   { transform: translateX(0) translateY(0) rotate(0deg); }
  10%  { transform: translateX(6vw) translateY(-1px) rotate(-1deg); }
  50%  { transform: translateX(60vw) translateY(0) rotate(0deg); }
  90%  { transform: translateX(120vw) translateY(-1px) rotate(1deg); }
  100% { transform: translateX(140vw) translateY(0) rotate(0deg); }
}

.wg-moto { 
  animation: wg-moto-drive 8s linear infinite; 
  will-change: transform; 
}

@media (max-width: 1024px){
  .wg-moto { animation-duration: 7s; }
}
@media (max-width: 600px){
  .wg-moto { animation-duration: 6.5s; width: 25vw; max-width: 100px; }
}




.wg-motorcycle-wrap{
  position: absolute;
  bottom: 6px;
  left: -25%;
  width: 140px;
  height: auto;
  pointer-events: none;
  transform-origin: left bottom;
}

.wg-motorcycle{
  width: 12vw;
  max-width: 140px;
  min-width: 60px;
  height: auto;
  display:block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6));
  transform: translateX(0);
}

/* Animación de moto más lenta */
@keyframes wg-motorcycle-drive {
  0%   { transform: translateX(0) translateY(0) rotate(0deg); }
  10%  { transform: translateX(4vw) translateY(-1px) rotate(-1deg); }
  50%  { transform: translateX(50vw) translateY(0) rotate(0deg); }
  90%  { transform: translateX(110vw) translateY(-1px) rotate(1deg); }
  100% { transform: translateX(130vw) translateY(0) rotate(0deg); }
}

.wg-motorcycle { 
  animation: wg-motorcycle-drive 14s linear infinite; 
  will-change: transform; 
}

/* Responsive */
@media (max-width: 1024px){
  .wg-motorcycle { animation-duration: 12s; }
}
@media (max-width: 600px){
  .wg-motorcycle { animation-duration: 10s; width: 25vw; max-width: 100px; }
}



#scrollTopBtn {
  position: fixed;
  bottom: 30px;         /* distancia desde el fondo */
  right: 30px;          /* distancia desde el borde derecho */
  z-index: 1000;        /* que quede encima de todo */
  background-color: var(--wg-accent, #276EF1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  display: none;        /* oculto por defecto */
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #276EF1;
  transform: scale(1.1);
}
























/* === SECCIÓN PRINCIPAL SOBRE WAYGGO === */
.about-wayggo-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background: url('/assets/images/hero-wayggo.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border-radius: 0 0 25px 25px;
  box-shadow: 0 4px 25px -10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Capa oscura sobre el fondo */
.about-wayggo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

/* Contenedor */
.about-wayggo-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

/* Título principal */
.about-wayggo-hero h1 {
  font-family: "Yango Headline", Helvetica, Arial, sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 15px;

}

/* Palabra Wayggo con fuente Hector + efecto brillante */
.about-wayggo-highlight {
  font-family: "Hector", sans-serif;
  background: linear-gradient(90deg, #00af19, #1eff76, #00af19);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aboutWayggoGradient 5s ease infinite;
}

@keyframes aboutWayggoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Subtítulo SEO */
.about-wayggo-sub {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #f0f0f0;
  margin: 0 auto;
  max-width: 700px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .about-wayggo-hero {
    height: 360px;
    border-radius: 0 0 15px 15px;
    padding-top: 60px; /* 🔥 separa el texto del header */
  }

  .about-wayggo-hero h1 {
    font-size: 2.8rem;
  }

  .about-wayggo-sub {
    font-size: 1rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .about-wayggo-hero {
    height: 320px;
    padding-top: 70px; /* 🔥 más espacio en pantallas pequeñas */
  }

  .about-wayggo-hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }
}




/* === BLOQUE INFORMATIVO === */
.wg-info-section {
  background: #fff;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
}

.wg-info-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  gap: 50px;
}

.wg-image-wrap {
  position: relative;
  flex: 1 1 45%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.wg-image {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
  object-fit: cover;
}

.wg-image-wrap:hover .wg-image {
  transform: scale(1.05);
}

/* Efecto brillo */
.wg-image-sheen {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 1s ease;
}
.wg-image-wrap:hover .wg-image-sheen {
  left: 125%;
}

.wg-text-wrap {
  flex: 1 1 45%;
  text-align: left;
}

/* === TÍTULO WAYGGO ESTILO CORPORATIVO === */
.wg-title {
  font-size: 3rem; /* más grande en escritorio */
  font-weight: 800;
  color: #000;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
  position: relative;
  line-height: 1.1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: none;
  transition: all 0.35s ease;
}

/* Línea de acento animada con los colores de Wayggo */
.wg-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 130px;
  height: 5px;
  background: linear-gradient(90deg, #276ef1, #28a745);
  border-radius: 6px;
  transition: all 0.4s ease;
}

/* Efecto elegante al pasar el cursor */
.wg-title:hover {
  color: #276ef1;
  transform: translateY(-3px);
}

.wg-title:hover::after {
  width: 180px;
}

/* Vista móvil: más compacto */
@media (max-width: 768px) {
  .wg-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .wg-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
  }
}


.wg-paragraph {
  color: #000000;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

/* === BOTÓN FLOTANTE NETXIPEDIA === */
.wg-wiki-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 25px rgba(0, 119, 204, 0.4);
  border: 3px solid #276ef1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s ease;
  overflow: visible;
}

.wg-wiki-float-btn img {
  width: 38px;
  height: 38px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.wg-wiki-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 119, 204, 0.6);
  background: #e9f5ff;
}

.wg-wiki-float-btn:hover img {
  transform: rotate(10deg);
}

/* Tooltip */
.wg-tooltip {
  position: absolute;
  right: 80px;
  background: #0077cc;
  color: #fff;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.wg-wiki-float-btn:hover .wg-tooltip {
  opacity: 1;
  transform: translateY(0);
}


/* Tooltip con vista previa */
.wg-tooltip {
  position: absolute;
  right: 80px;
  background: #fff;
  color: #276ef1;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.wg-wiki-float-btn:hover .wg-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* === MODAL NETXIPEDIA === */
.netxipedia-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(3px);
  animation: fadeInBackground 0.4s ease forwards;
}

.netxipedia-modal-content {
  background: #ffffff;
  margin: 4% auto;
  border-radius: 14px;
  width: 85%;
  max-width: 950px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
  overflow: hidden;
}

.netxipedia-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(90deg, #f8f9fa, #eaeef2);
  padding: 18px 20px;
  border-bottom: 1px solid #ddd;
}

.netxipedia-logo-wordmark {
  height: 42px;
  max-width: 200px;
}

.closeModal {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}
.closeModal:hover {
  color: #000;
  transform: scale(1.1);
}

.netxipedia-preview {
  height: 520px;
  background: #f9fafb;
  overflow: hidden;
}
.netxipedia-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.netxipedia-footer {
  padding: 16px 25px;
  text-align: right;
  background: #f8f9fa;
  border-top: 1px solid #ddd;
}

.readMoreBtn {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.readMoreBtn:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Animaciones */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInBackground {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(15, 15, 15, 0.85);
  }
}








/* ============================
   CRECIMIENTO A GRAN ESCALA
   ============================ */
.wg-growth-section {
  background: #ffffff;
  color: #000;
  text-align: center;
  padding: 70px 20px;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

.wg-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ======== TÍTULO ======== */
.wg-growth-title {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #000;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  line-height: 1.2; /* 🔥 Reduce el espacio entre líneas */
  letter-spacing: -0.5px; /* 🔥 Ajuste fino del espaciado entre letras */
}

.wg-growth-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #276ef1, #28a745);
  border-radius: 3px;
}

/* ======== DESCRIPCIÓN ======== */
.wg-growth-text {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 50px;
}

.wg-growth-text strong {
  color: #276ef1;
}

/* ======== BLOQUES DE DATOS ======== */
.wg-growth-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  row-gap: 30px;
}

.wg-stat {
  background: linear-gradient(145deg, #f9f9f9, #ffffff);
  border-radius: 18px;
  padding: 35px 25px;
  width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-top: 6px solid #276ef1;
}

.wg-stat:hover {
  transform: translateY(-8px);
  border-top-color: #28a745;
  box-shadow: 0 15px 35px rgba(39, 110, 241, 0.15);
}

.wg-stat h3 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #000;
}

.wg-stat p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* ======== ICONOS DECORATIVOS ======== */
.wg-icon-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #276ef1, #28a745);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(39, 110, 241, 0.3);
  transition: all 0.3s ease;
}

.wg-stat:hover .wg-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(39, 110, 241, 0.4);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
  .wg-growth-title {
    font-size: 3rem;
  }
  .wg-growth-text {
    font-size: 1.05rem;
  }

  .wg-growth-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .wg-stat {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .wg-growth-stats {
    grid-template-columns: 1fr;
  }

  .wg-stat {
    width: 100%;
    padding: 30px 20px;
  }

  .wg-stat h3 {
    font-size: 2rem;
  }

  .wg-growth-title {
    font-size: 2.3rem;
  }

  .wg-growth-text {
    font-size: 0.95rem;
  }
}











/* ======== SECCIÓN SERVICIOS ======== */
.wg-services-section {
  background: #ffffff;
  color: #000;
  font-family: "Poppins", sans-serif;
  padding: 30px 0; /* compactado */
  margin: 0; /* sin márgenes */
}

/* ======== CONTENEDOR ======== */
.wg-services-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

/* ======== TÍTULO ======== */
.wg-services-title {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #000;
  margin: 0 0 10px 0; /* reducido */
  position: relative;
  display: inline-block;
}

.wg-services-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #276ef1, #28a745);
  border-radius: 2px;
}

/* ======== TEXTO ======== */
.wg-services-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  max-width: 720px;
  margin: 18px auto 0 auto; /* más ajustado */
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
  .wg-services-title {
    font-size: 2.6rem;
  }
  .wg-services-text {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .wg-services-section {
    padding: 20px 10px; /* compacto para móvil */
  }

  .wg-services-title {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }

  .wg-services-title::after {
    width: 80px;
    height: 3px;
    bottom: -6px;
  }

  .wg-services-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 12px;
    text-align: justify; /* mejor lectura en pantallas pequeñas */
  }
}










.wayggo-movilidad {
  background-color: #fff;
  color: #222;
  padding: 80px 0;
  font-family: "Poppins", sans-serif;
}

.container-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content {
  text-align: left;
}

  
.titulo {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #111;
  opacity: 0;
   margin: 0 0 10px 0; 
  transform: translateY(40px);
  text-transform: none;
  transition: all 0.35s ease; 
  line-height: 1.2; /* 🔥 Reduce el espacio entre líneas */
  letter-spacing: -0.5px; /* 🔥 Ajuste fino del espaciado entre letras */
}

.descripcion {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
}

@media (max-width: 768px) {
  .titulo {
    font-size: 1.3rem;
  }

  .descripcion {
    font-size: 1rem;
  }
}





/* ======== SECCIÓN CEO ======== */
.wg-ceo-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 20px 20px;
  min-height: 67vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0; /* ✅ crea contexto para el z-index del fondo */
}

/* Fondo con imagen estática y efecto oscuro */
.wg-ceo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/wayggo_img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.35); /* 🔥 efecto oscuro */
  z-index: -1; /* ✅ queda detrás del contenido pero visible */
}

/* Contenido */
.wg-ceo-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======== TÍTULO ======== */
.wg-ceo-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #fff;
  text-transform: uppercase;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 6px #276ef1, 0 0 10px #28a745;
  }
  to {
    text-shadow: 0 0 25px #276ef1, 0 0 45px #28a745;
  }
}

/* ======== TEXTO ======== */
.wg-ceo-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f2f2f2;
  margin-bottom: 35px;
}

/* ======== BOTÓN ======== */
.wg-ceo-btn {
  background: linear-gradient(90deg, #276ef1, #28a745);
  padding: 14px 34px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(39, 110, 241, 0.4);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

/* Pulso animado (activado por JS) */
.wg-ceo-btn.active {
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 110, 241, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(39, 110, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 110, 241, 0);
  }
}

.wg-ceo-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px rgba(39, 110, 241, 0.6);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .wg-ceo-title {
    font-size: 2rem;
  }
  .wg-ceo-text {
    font-size: 1rem;
  }
  .wg-ceo-section {
    padding: 100px 15px;
  }
}




/* === Ventana Modal === */
.wg-letter-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.wg-letter-modal.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* === Caja de Carta === */
.wg-letter-box {
  position: relative;
  width: 600px;
  max-width: 90%;
  background: #f8f2de;
  border: 1px solid #d1b97c;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 40px 50px;
  font-family: 'Cormorant Garamond', serif;
  background-image: url('/assets/images/paper-texture.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  color: #3b2e1a;
  position: relative;
  overflow: hidden;
}

/* === Botón Cerrar === */
.wg-letter-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 26px;
  color: #3b2e1a;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s;
  font-family: 'Georgia', serif;
}
.wg-letter-close:hover {
  transform: scale(1.2);
  color: #a33;
}

/* === Encabezado === */
.wg-letter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.wg-letter-logo {
  width: 120px;
  opacity: 0.9;
  filter: sepia(25%) contrast(90%);
}

.wg-letter-date {
  font-size: 0.95rem;
  color: #5e4b28;
  font-style: italic;
  text-align: right;
}

/* === Marca de Agua === */
.wg-letter-watermark {
  position: absolute;
  inset: 0;
  background: url('/assets/images/Logo\ WayGGO_negro.svg') center center no-repeat;
  background-size: 180px;
  opacity: 0.06;
  pointer-events: none;
}

/* === Cuerpo === */
.wg-letter-body p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  text-align: justify;
}

/* === Firma === */
.wg-letter-signature {
  margin-top: 45px;
}
.wg-letter-signature img {
  width: 130px;
  opacity: 0.85;
  margin-bottom: -7px;
}
.wg-letter-signature p {
  font-size: 1rem;
  color: #3a2e1a;
}

/* === Responsive === */
@media (max-width: 600px) {
  .wg-letter-box {
    padding: 30px 25px;
  }
  .wg-letter-logo {
    width: 100px;
  }
  .wg-letter-body p {
    font-size: 1rem;
  }
}







/* === SECCIÓN SOSTENIBILIDAD === */
.wg-sostenibilidad {
  background-color: transparent;
  padding: 80px 8%;
  color: #222;
  position: relative;
  overflow: hidden;
}

.wg-sostenibilidad-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* === Texto === */
.wg-sostenibilidad-text {
  flex: 1 1 500px;
  animation: fadeInUp 1.2s ease both;
}

.wg-sostenibilidad-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  animation: slideInLeft 1s ease forwards;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #111;
  opacity: 0;
   margin: 0 0 10px 0; 
  transform: translateY(40px);
  text-transform: none;
  transition: all 0.35s ease; 
  line-height: 1.2; /* 🔥 Reduce el espacio entre líneas */
  letter-spacing: -0.5px; /* 🔥 Ajuste fino del espaciado entre letras */
}

.wg-sostenibilidad-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  animation: fadeIn 2s ease both;
}

/* === Imagen === */
.wg-sostenibilidad-image {
  flex: 1 1 450px;
  text-align: center;
  animation: fadeInRight 1.2s ease both;
}

.wg-sostenibilidad-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.8s ease;
}

.wg-sostenibilidad-image img:hover {
  transform: scale(1.05);
}

/* === Botón === */
.wg-sostenibilidad-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #1e73be;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.4s ease, transform 0.3s ease;
  animation: fadeInUp 2.2s ease both;
}

.wg-sostenibilidad-btn:hover {
  background-color: #155a96;
  transform: translateY(-4px);
}

/* === Animaciones === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Responsive === */
@media (max-width: 900px) {
  .wg-sostenibilidad-container {
   
    text-align: center;
  }

  .wg-sostenibilidad-title {
    font-size: 2.2rem;
  }

  .wg-sostenibilidad-image img {
    max-width: 400px;
  }
}





/* === SECCIÓN MOVILIDAD === */
.wg-movilidad {
  background-color: transparent;
  padding: 80px 8%;
  color: #222;
  position: relative;
  overflow: hidden;
}

.wg-movilidad-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* === Texto === */
.wg-movilidad-text {
  flex: 1 1 500px;
  animation: fadeInUp 1.2s ease both;
}

.wg-movilidad-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #111;
  opacity: 0;
  transform: translateY(40px);
  text-transform: none;
  transition: all 0.45s ease;
  line-height: 1.2;
}

.wg-movilidad-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeIn 2s ease both 0.5s;
}

/* === Imagen === */
.wg-movilidad-image {
  flex: 1 1 450px;
  text-align: center;
  opacity: 0;
  animation: fadeInRight 1.3s ease both 0.4s;
}

.wg-movilidad-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.8s ease;
}

.wg-movilidad-image img:hover {
  transform: scale(1.05);
}

/* === Botón === */
.wg-movilidad-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #0072ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.4s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1.8s ease both 0.7s;
}

.wg-movilidad-btn:hover {
  background-color: #004aad;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

/* === Animaciones base === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Responsive === */
@media (max-width: 900px) {
  .wg-movilidad-container {
    
    text-align: center;
  }

  .wg-movilidad-title {
    font-size: 2.2rem;
  }

  .wg-movilidad-image img {
    max-width: 400px;
  }
}





/* === SECCIÓN SEGURIDAD === */
.wg-seguridad {
  background-color: transparent;
  padding: 80px 8%;
  color: #222;
  position: relative;
  overflow: hidden;
}

/* 🧱 Contenedor principal */
.wg-seguridad-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-direction: row; /* 🔥 Imagen a la izquierda, texto a la derecha */
}

/* === Texto === */
.wg-seguridad-text {
  flex: 1 1 500px;
  animation: fadeInUp 1.2s ease both;
}

.wg-seguridad-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.5px;
  color: #111;
  opacity: 0;
  transform: translateY(40px);
  text-transform: none;
  transition: all 0.45s ease;
  line-height: 1.2;
}

.wg-seguridad-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeIn 2s ease both 0.5s;
}

/* === Imagen === */
.wg-seguridad-image {
  flex: 1 1 450px;
  text-align: center;
  opacity: 0;
  animation: fadeInLeft 1.3s ease both 0.4s; /* 🔥 Animación desde la izquierda */
}

.wg-seguridad-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.8s ease;
}

.wg-seguridad-image img:hover {
  transform: scale(1.05);
}

/* === Botón === */
.wg-seguridad-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #0072ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.4s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1.8s ease both 0.7s;
}

.wg-seguridad-btn:hover {
  background-color: #004aad;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

/* === Animaciones === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Responsive === */
@media (max-width: 900px) {
  .wg-seguridad-container {
    text-align: center;
  }

  .wg-seguridad-image img {
    max-width: 400px;
  }
}


 .wg-seguridad-image img {
    max-height: 260px;         /* limita altura para que no deje hueco */
  }


    .wg-seguridad-title {
    font-size: 1.9rem;
    margin: 8px 0 6px 0;       /* título pegado razonablemente a la imagen */
  }
  
  .wg-seguridad-image {
    margin-bottom: 0 !important; /* 🔥 quita espacio debajo de la imagen */
    padding-bottom: 0 !important;
  }


  
  .wg-seguridad-text {
    margin-top: 0 !important; /* 🔥 elimina espacio antes del texto */
    padding-top: 0 !important;
  }









  /* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Contenedor general */
#wayggo-historia {
  padding: 60px 20px;
}

.historia-wrap {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* Título */
.historia-titulo {
  font-size: 40px;
  margin-bottom: 40px;
  color: #000000;
  text-transform: uppercase;
  font-weight: 900;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  
}



/* Slider fechas */
.historia-fechas {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.historia-fecha {
  padding: 15px 20px;
  background: #111;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 0 5px #276EF1;
}

.historia-fecha.active {
  background: #276EF1;
  color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 15px #276EF1;
}

/* Slider contenido */
.historia-contenido {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.historia-bloque {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.6s ease;
}

.historia-bloque.active {
  left: 0;
  opacity: 1;
}

.historia-bloque h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #00AF19;
}

.historia-bloque p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.historia-icono {
  font-size: 48px;
  margin-top: 20px;
  animation: float 2s ease-in-out infinite;
}

/* Botones de navegación */
.historia-nav {
  margin-top: 30px;
}


.historia-nav button {
  background: #111; /* Añadido punto y coma aquí */
  color: #ffffff;
  border: 2px solid #276EF1;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.historia-nav button:hover {
  background: #276EF1;
  color: #fff;
  transform: scale(1.1);
}

/* Animación flotante iconos */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}












/* ======================
   CSS para el HTML provisto
   (usa exactamente las mismas clases/selectores)
   ====================== */

/* variables de color */
:root{
  --wayggo-blue: #276EF1;
  --wayggo-green: #ffffff;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.06);
  --muted: rgba(255,255,255,0.85);
}

/* No tocar fondo del html/body: no hay reglas aquí para body/html */

/* Contenedor principal (section con id #fundadores) */
#fundadores{
  position: relative;
  padding: 70px 18px;
  overflow: hidden; /* para que canvas y efectos no salgan */
  color: #fff;      /* texto en la sección */
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* canvas de partículas (está en tu HTML con id fondoparticulas) */
#fondoparticulas {
  position: absolute;
  inset: 0;            /* top:0;left:0;right:0;bottom:0 */
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* no bloquear interacción */
  opacity: 0.9;
}

/* wrapper centrado */
#fundadores .fundadores-wrap{
  position: relative;
  z-index: 1; /* por encima del canvas */
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 20px;
}

#fundadores .fundadores-titulo {
  font-size: 55px;
  margin-bottom: 42px;
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s ease-out forwards;
  text-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}


/* tarjetas contenedor */
#fundadores .fundadores-cards{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

/* tarjeta individual */
#fundadores .fundador-card{
  position: relative;
  width: 380px;                /* tamaño que pediste grande */
  background: #000000;  /* fondo solo del cuadro */
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 34px 26px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.9,.3,1), box-shadow .45s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* hover / elevate */
#fundadores .fundador-card:hover{
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 30px 60px rgba(39,110,241,0.08), 0 8px 30px rgba(0,0,0,0.6);
}

/* foto circular */
#fundadores .fundador-foto{
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--wayggo-blue);
  margin-bottom: 18px;
  transition: transform .6s ease;
  z-index: 1;
}

/* efecto sobre la foto al hover de la tarjeta */
#fundadores .fundador-card:hover .fundador-foto{
  transform: rotate(12deg) scale(1.08);
}

/* nombre y verificado (mantener la apariencia que tenías) */
#fundadores .fundador-nombre{
  font-size: 22px;
  font-weight: 700;
  color: var(--wayggo-green);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  z-index: 1;
}

/* insignia verificado: mantener SVG tal como lo pusiste, darle alineación */
#fundadores .verificado svg{
  display:inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
  color: #00AF19;
}

/* nacionalidad / bandera */
#fundadores .fundador-nacionalidad{
  margin-bottom: 14px;
  z-index: 1;
}

/* la clase en tu HTML es .bandera */
#fundadores .bandera{
  width: 35px;
  height: 25px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* animación sutil tipo balanceo (mantenerla) */
@keyframes swing {
  0% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}
#fundadores .bandera {
  animation: swing 2.4s ease-in-out infinite;
}

/* breve bio */
#fundadores .fundador-bio-breve{
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin: 8px 0 18px 0;
  min-height: 48px;
  z-index: 1;
}

/* redes sociales: contenedor y estilo de cada icono
   Se respeta .social-icon en tu HTML */
#fundadores .fundador-socials{
  display:flex;
  gap:14px;
  justify-content:center;
  margin-bottom:18px;
  z-index: 1;
}

/* icono contenedor */
#fundadores .social-icon{
  display:flex;
  justify-content:center;
  align-items:center;
  width:50px;
  height:50px;
  border-radius:12px;
  background: rgb(255, 255, 255); /* sutil para ver los iconos */
  transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s;
  cursor:pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* tamaño SVG dentro */
#fundadores .social-icon svg{
  width:24px;
  height:24px;
  display:block;
  transition: transform .35s, filter .35s;
}

/* icon redes */
.icon-redes {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover */
.icon-redes:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}




/* hover en iconos: levanta y resalta */
#fundadores .social-icon:hover{
  transform: translateY(-8px) scale(1.12);
  box-shadow: 0 10px 30px rgba(39,110,241,0.12), 0 4px 14px rgba(0,0,0,0.6);
}

/* cuando haces hover rellenar el svg de blanco para contraste (JS también aplica glow) */
#fundadores .social-icon:hover svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}


/* botón bio (leer bio completa) */
#fundadores .bio-btn-popup {
  padding: 12px 26px;
  border-radius: 12px;
  border: none;
  color: #ffffff; /* Texto blanco */
  background: #007aff; /* Azul principal */
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* Efecto hover y clic */
#fundadores .bio-btn-popup:hover,
#fundadores .bio-btn-popup:focus {
  background: #00AF19; /* Verde */
  color: #000000; /* Texto negro */
  transform: scale(1.06);
  box-shadow: 0 4px 15px rgba(0, 200, 81, 0.4);
}





/* === Botón activo === */
#fundadores .bio-btn-popup:active {
  transform: scale(0.97);
}

/* === POPUP PRINCIPAL === */
.bio-popup-unique {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(6px);
  transition: opacity 0.4s ease;
}

/* === CONTENEDOR INTERNO === */
.bio-popup-content-unique {
  position: relative;
  width: 90%;
  max-width: 950px;
  height: 80%;
  background: #0f1116;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  animation: popupShow 0.5s ease forwards;

  /* Borde degradado igual que antes */
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  background-image: linear-gradient(#0f1116, #0f1116),
                    linear-gradient(135deg, #007bff, #00c851);
}

@keyframes popupShow {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* === ENCABEZADO (IGUAL AL ANTERIOR, SOLO LOGO CENTRADO) === */
.bio-header-unique {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #007bff, #00c851);
  padding: 12px 20px;
  color: #fff;
  position: relative;
}

/* === LOGO CENTRADO === */
.bio-logo-unique {
  width: 200px;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

/* === NUEVA X: simple, elegante y moderna === */
.bio-close-unique {
  position: absolute;
  right: 18px;
  top: 8px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #000000;
  background: rgba(255, 255, 255, 0.944);
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bio-close-unique:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.05);
}

/* === IFRAME === */
.bio-iframe-unique {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  background: #000;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .bio-popup-content-unique {
    width: 96%;
    height: 88%;
  }

  .bio-logo-unique {
    width: 150px;
  }
}


/* RESPONSIVE: dispositivos móviles */
@media (max-width: 900px){
  #fundadores .fundador-card { width: 92%; padding: 26px; }
  #fundadores .fundador-foto { width: 150px; height: 150px; }
  #fundadores .fundadores-titulo { font-size: 28px; margin-bottom: 28px; }
  #fundadores .social-icon { width:46px; height:46px; }
  .bio-popup .bio-popup-content { height: 85%; width: 96%; padding: 12px; }
  .bio-popup .bio-close { font-size: 28px; top:8px; right:12px; }
}

/* accesibilidad: foco en elementos interactivos */
#fundadores .social-icon:focus,
#fundadores .bio-btn:focus,
.bio-popup .bio-close:focus {
  outline: 3px solid rgba(39,110,241,0.35);
  outline-offset: 3px;
}

/* compatibilidad: evitar cambios globales no pedidos */
:where(#fundadores) * { box-sizing: border-box; }












/* FAQ */
.faq {
  background: #fdfbe8;
  padding: 80px 40px;
  border-radius: 20px;
  background-color: #ffffff !important; /* fondo blanco */
}

.faq__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #000;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq__item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq__item:hover {
  transform: translateY(-5px);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq__icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
  color: #276EF1;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  padding: 15px 20px 25px;
}

/* Botón */
.faq__btn-container {
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  background: #276EF1;
  color: #fff;
  padding: 12px 25px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #276EF1;
  transform: scale(1.05);
}

/* Modal */
.faq-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.faq-modal__content {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  position: relative;
  animation: zoomIn 0.5s ease;
}


@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.faq-modal__close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}



.faq-modal h3 {
  position: relative;
  top: -16px; /* súbelo ajustando este valor */
  margin: 0; /* elimina cualquier margen por defecto */
}






.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fafafa;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group label {
  position: absolute;
  top: -8px;
  left: 15px;
  font-size: 14px;
  background: #fff;
  padding: 0 6px;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .faq-modal__content {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 15px;
    box-sizing: border-box;
    overflow-x: hidden; /* Evita el scroll lateral */
  }



  .faq-modal__form select {
  width: 100%;        /* Que ocupe todo el ancho del contenedor */
  max-width: 100%;    /* No más ancho que su padre */
  box-sizing: border-box;
  white-space: nowrap; /* Evita que las opciones rompan el layout */
}

/* Bloquear cualquier desbordamiento lateral en el modal */
.faq-modal {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Select siempre al 100% */
.faq-modal__form select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


#topic {
  display: block;
  width: 100%;        /* ocupa todo el ancho del bloque */
  max-width: 100%;    /* nunca más ancho que su padre */
  box-sizing: border-box;
  overflow: hidden;   /* evita que se salga */
  text-overflow: ellipsis; /* corta texto largo con ... */
  white-space: nowrap; /* evita salto de línea extraño */
  -webkit-appearance: none; /* quita estilos raros en iOS */
  -moz-appearance: none; 
  appearance: none;
}



  .form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fafafa;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}



#topic {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}
}


/* Modal de éxito */
.success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.success-modal__content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.4s ease;
}

.success-modal__content h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #28a745;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.8);}
  to {opacity: 1; transform: scale(1);}
}






/* Contenedor general */
.download-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: transparent; /* No ocupa todo el contenedor con color */
}

/* Bloque centrado */
.download-block {
  background: #276EF1; /* Fondo Wayggo (bloque en rojo) */
  border-radius: 40px;
  padding: 40px 66px;
  max-width: 750px; /* El bloque no ocupa todo el ancho */
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  animation: fadeInUp 0.8s ease;
}

/* QR */
.download-qr img {
  width: 210px;
  height: 210px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Título */
.download-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

/* Subtítulo */
.download-subtitle {
  font-size: 16px;
  color: #f5f5f5;
  margin-bottom: 25px;
}

/* Botón */
.btn-download1 {
  display: inline-block;
  background: #fff;
  color: #276EF1;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-download1:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

/* Animación */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .download-block {
    padding: 30px 20px;
    max-width: 90%;
    border-radius: 25px;
  }

  .download-title {
    font-size: 24px;
  }

  .download-subtitle {
    font-size: 14px;
  }

  .download-qr img {
    width: 150px;
    height: 150px;
  }
}





#scrollTopBtn {
  position: fixed;
  bottom: 99px;         /* distancia desde el fondo */
  right: 36px;          /* distancia desde el borde derecho */
  z-index: 1000;        /* que quede encima de todo */
  background-color: var(--wg-accent, #276EF1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  display: none;        /* oculto por defecto */
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #276EF1;
  transform: scale(1.1);
}











/* --- Banner Promocional Wayggo --- */
.promo-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 25px 35px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: fit-content;
  max-width: 95%;
  z-index: 9999;
  font-family: "YS Text", Helvetica, Arial, sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.promo-banner.show {
  opacity: 1;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-text {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 15px 0;
}

.promo-badge {
  background-color: #28a745;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 16px;
}

.promo-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.promo-btn {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 40px;
  transition: all 0.3s ease;
  text-align: center;
}

.promo-btn-primary {
  background-color: #276EF1;
  color: #fff;
}

.promo-btn-primary:hover {
  background-color: #28a745;
}

.promo-btn-secondary {
  background-color: #fff;
  color: #000;
}

.promo-btn-secondary:hover {
  background-color: #f5f5f5;
}

/* --- Botón Cerrar --- */
.promo-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.promo-close:hover {
  color: #276EF1;
}

/* --- Móvil --- */
@media (max-width: 768px) {
  .promo-banner {
    bottom: 0;
    left: 0;
    transform: translateY(30px);
    width: 100%; /* ocupa todo el ancho */
    border-radius: 25px 25px 0 0;
    padding: 20px;
    max-width: none; /* quita el límite */
  }

  .promo-banner.show {
    transform: translateY(0);
  }

  .promo-text {
    font-size: 16px;
    margin-bottom: 12px;
    padding: 0 10px;
  }

  .promo-btn-secondary {
    display: none;
  }

  .promo-btn-primary {
    width: 100%;
  }

  .promo-close {
    top: 10px;
    right: 16px; /* margen consistente en móvil */
    font-size: 24px;
  }
}












/* ===== HERO USUARIO PROFESIONAL ===== */
.hero-usuario {
  position: relative;
  width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

/* Fondo */
.hero-usuario .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-usuario .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}

/* Contenido */
.hero-usuario .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1350px;
  width: 90%;
  margin: 0 auto;
  color: #fff;
}

/* Texto izquierda */
.hero-usuario .hero-left {
  flex: 1;
  padding-left: 30px;
}

.hero-usuario .hero-title {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-usuario .hero-title span {
  color: #276EF1;
}

.hero-usuario .hero-desc {
  font-size: 1.18rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
  opacity: 0.95;
}

/* Botones */
.hero-usuario .btn-primary1 {
  background: #276EF1;
  color: #fff;
  border-radius: 50px;
  padding: 15px 38px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}
.hero-usuario .btn-primary1:hover {
  background: #28a745;
}

.hero-usuario .btn-secondary {
  background: #fff;
  color: #222;
  border-radius: 50px;
  padding: 15px 38px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hero-usuario .btn-secondary:hover {
  background: #f3f3f3;
}

/* --- Tiendas --- */
.hero-usuario .hero-stores {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.hero-usuario .hero-stores img {
  height: 44px;
  filter: brightness(0.95);
  transition: transform 0.3s ease;
}
.hero-usuario .hero-stores img:hover {
  transform: scale(1.06);
}

/* --- Derecha con animación JS --- */
.hero-usuario .hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 25px;
}

/* Slider promocional */
.promo-slider {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 32px 40px;
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  max-width: 480px;
  width: 100%;
  color: #fff;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.promo-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.promo-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.promo-item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.promo-item p {
  font-size: 1.15rem;
}
.promo-item p span {
  color: #28a745;
  font-weight: 700;
}

/* QR */
/* ==== ORBITA DE BENEFICIOS ALREDEDOR DEL QR ==== */
.qr-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.promo-qr:hover .qr-orbit {
  opacity: 1;
   transform: translateY(70px) rotateY(15deg) rotateX(5deg) scale(1.05);
}

.promo-qr {
  transform: translateY(70px); /* ← aquí bajas el QR visualmente */
  position: relative;
  top: 30px; 
}



/* Itens orbitando (beneficios) */
.orbit-item {
  position: absolute;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(39, 110, 241, 0.92);
  padding: 8px 14px;
  border-radius: 30px;
  box-shadow: 0 0 18px #28a745;
  backdrop-filter: blur(4px);
  transform-origin: center center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.4s;
}

/* Al pasar el mouse se activan */
.promo-qr:hover .orbit-item {
  transform: scale(1);
  opacity: 1;
}

/* Posiciones alrededor (tipo Omnitrix) */
.orbit-1 { top: -40px; left: 50%; transform: translateX(-50%) scale(0); }
.orbit-2 { bottom: -40px; left: 50%; transform: translateX(-50%) scale(0); }
.orbit-3 { right: -160px; top: 50%; transform: translateY(-50%) scale(0); }

/* Pequeña animación flotante */
@keyframes floatOrbit {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}
.promo-qr:hover .orbit-item {
  animation: floatOrbit 3s ease-in-out infinite;
}

/* Mantener QR visible encima */
.qr-center {
  position: relative;
  z-index: 3;
}
.qr-glow {
  z-index: 2;
}
.omnitrix-zone {
  position: relative;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, #000 0%, #0a0a0a 100%);
  border-radius: 50%;
  box-shadow: 0 0 25px #28a745, inset 0 0 30px rgba(0,255,128,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: all 0.4s ease;
 background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);

  padding: 32px 40px;
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  
 

}
.omnitrix-zone:hover {
  transform: scale(1.05);
}

.qr-core {
  position: relative;
  z-index: 3;
}
.qr-core canvas {
  border-radius: 14px;
}
.core-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, #28a745 0%, transparent 20%);
  filter: blur(12px);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s ease;
}
.omnitrix-zone:hover .core-pulse {
  opacity: 1;
  transform: scale(1.2);
}

/* Energía radial */
.omni-energy {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,128,0.2);
  box-shadow: 0 0 40px #28a745;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.5s ease;
  z-index: 1;
}
.omnitrix-zone.active .omni-energy {
  opacity: 1;
  transform: scale(1.3);
  animation: spinEnergy 2.8s linear infinite;
}
@keyframes spinEnergy {
  from { transform: rotate(0deg) scale(1.3); }
  to { transform: rotate(360deg) scale(1.3); }
}

/* Beneficios distribuidos */
.omni-benefit {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1.3px solid #28a745;
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 30px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
  text-align: center;
  cursor: pointer;
}
.omnitrix-zone:hover .omni-benefit {
  opacity: 1;
  transform: scale(1);
}
.omni-benefit.active {
  background: #00ff8038;
  box-shadow: 0 0 15px #28a745;
  transform: scale(1.15);
}

/* === AJUSTE DE CENTRADO DE TEXTO SUPERIOR E INFERIOR === */
.omni-top {
  top: -50px;                /* un poco más arriba para equilibrio visual */
  left: 20%;                 /* centrado real */
  transform: translateX(-50%) scale(0);
}

.omni-bottom {
  bottom: -50px;             /* igual que el top */
  left: 20%;                 /* centrado real */
  transform: translateX(-50%) scale(0);
}

/* === LADOS IGUALES (se mantienen) === */
.omni-left {
  left: -190px;
  top: 50%;
  transform: translateY(-50%) scale(0);
}

.omni-right {
  right: -190px;
  top: 50%;
  transform: translateY(-50%) scale(0);
}


/* --- Ocultar hero desktop en móvil --- */
@media (max-width: 700px) {
  .hero-usuario {
    display: none !important;
  }
}












/* =======================
   PROMO WAYGGO - ESCRITORIO
======================= */

.promo-wayggo-desktop {
  position: relative;
  width: 90%; /* 🔹 Deja espacio a los lados */
  margin: 40px auto; /* 🔹 Centrado con espacio arriba y abajo */
  min-height: 420px; /* 🔹 Más compacto */
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Fondo */
.promo-wayggo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.promo-wayggo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

/* Contenido */
.promo-wayggo-content {
  position: relative;
  z-index: 2;
  background: #276EF1;
  color: #fff;
  max-width: 700px; /* 🔹 Un poco más angosto */
  padding: 25px 54px; /* 🔹 Menos alto */
  border-radius: 26px;
  box-shadow: 0 0px 30px rgba(0,0,0,0.25);
  margin-left: 50px;
}

.promo-wayggo-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.promo-wayggo-desc {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-bottom: 32px;
}

/* QR Box */
.promo-wayggo-qrbox {
  display: flex;
  align-items: center;
  gap: 18px;
}
.promo-wayggo-qr img {
  width: 135px;
  height: 135px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-wayggo-qr img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255,255,255,0.6);
}
.promo-wayggo-text h3 {
  font-size: 1.4rem;
  margin: 0 0 6px 0;
}
.promo-wayggo-text p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}


/* =======================
   PROMO WAYGGO - MÓVIL
======================= */
/* ====== BLOQUE MÓVIL WAYGGO ====== */
.promo-wayggo-mobile {
  display: none; /* se muestra solo en pantallas pequeñas */
  width: 92%;
  max-width: 420px;
  margin: 40px auto;
  border-radius: 22px;
  overflow: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.promo-mobile-img img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-mobile-box {
  background: #276EF1;
  color: #fff;
  padding: 25px 20px 35px;
  text-align: left;
}

.promo-mobile-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.promo-mobile-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.promo-mobile-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.promo-mobile-btn:hover {
  background: #f7f7f7;
  transform: scale(1.03);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .promo-wayggo-desktop {
    display: none; /* Ocultar versión escritorio */
  }

  .promo-wayggo-mobile {
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 40px auto;
    border-radius: 22px;
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  }

  .promo-wayggo-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }

  .promo-wayggo-mobile .promo-wayggo-content {
    background: #276EF1;
    color: #fff;
    padding: 30px 25px;
    border-radius: 22px 22px 0 0;
    text-align: left;
  }

  .promo-wayggo-mobile .promo-wayggo-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .promo-wayggo-mobile .promo-wayggo-desc {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 25px;
  }

  .promo-wayggo-mobile .promo-wayggo-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    font-weight: 600;
    padding: 14px 34px; /* 🔹 Aumentado ligeramente */
    border-radius: 30px;
    text-decoration: none;
    font-size: 5.05rem; /* 🔹 Más grande */
    transition: all 0.3s ease;
  }

  .promo-wayggo-mobile .promo-wayggo-btn:hover {
    background: #f7f7f7;
    transform: scale(1.05);
  }
}