/* =========================================
   ESTILOS PÁGINA NOSOTROS (MOCKUP REPLICADO)
   ========================================== */

/* GENERALES DE LA PÁGINA */
.badge-subtitulonosotros {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;  
  text-transform: uppercase;  
  margin: 25px 0 10px 0;
  display: inline-block;
  color: #f97316;
  font-size: 1.1rem;
}

.badge-subtitulonosotros.orange-text {
  color: #f97316;
}

.texto-naranja {
  color: #f97316;
}

/* 1. HERO NOSOTROS CON VIDEO A LA DERECHA */
.nosotros-hero-v2 {
  background-color: #0f172a;
  padding: 60px 40px 40px 20px; /* Mayor padding inferior para alojar la mitad de la tarjeta */
  position: relative;
}

.container-hero {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ==============================================================================
   EFECTO DE HAZ DE LUZ / BRILLO PASANTE PARA EL TÍTULO "20 AÑOS"
   ============================================================================== */
.hero-left-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  padding: 20px 0 10px 0;
  
  /* Fondo con gradiente: texto blanco con un destello brillante y sutil que recorre el texto */
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    #f97316 50%, /* Destello de luz cálido/brillante (puedes cambiarlo a blanco puro si lo prefieres totalmente cristalino) */
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Animación continua que desplaza el haz de luz de un extremo a otro */
  animation: textShimmer 5.5s linear infinite;
}

@keyframes textShimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.hero-left-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left-content p {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 30px;
  
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-orange-primary {
  background-color: #f97316;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s ease;
}

.btn-orange-primary:hover {
  background-color: #ea580c;
}

.btn-link-arrow {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-link-arrow:hover {
  color: #f97316;
}

/* MARCO DEL VIDEO DERECHA */
.hero-right-media {
  width: 100%;
}

.hero-video-box {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #0f172a;
  padding: 20px 0;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. CONTADORES SOBREPUESTOS (CARD FLOTANTE) */
.seccion-malla-stats {
  position: relative;
  z-index: 20;
  margin-top: -45px;    /* Monta la mitad superior de la tarjeta sobre la Sección 1 */
  margin-bottom: -95px; /* Monta la mitad inferior sobre la Sección 3 */
  padding: 0 20px;
}

.container-stats-card {
  max-width: 90%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
}

.container-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Divisores verticales en versión escritorio */
.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

.stat-icon {
  font-size: 1.6rem;
  color: #f97316;
  margin-bottom: 8px;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.stat-prefix,
.stat-suffix {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  color: #64748b;
  font-size: 0.88rem;
  margin-top: 6px;
  font-weight: 600;
}
/* 3. NUESTRA DIFERENCIA */
.seccion-diferencia {
  background-color: #ffffff;
  padding-top: 130px; /* Compensación para que el flotante no encimé el título */
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 10;
}

.container-diferencia {
  max-width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: start;
}

.diferencia-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 10px 0 20px 0;
}

.diferencia-left p {
  color: #475569;  
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: .80px;
}

/* GRID DE TARJETAS DE DIFERENCIA */
.diferencia-right-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* TARJETA INDIVIDUAL CON FONDO DE IMAGEN */
.dif-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden; /* Recorta la imagen a los bordes redondeados */
  width: 100%;
  height: 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  isolation: isolate; /* Mantiene el recorte perfecto durante las animaciones */
}

.dif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

/* IMAGEN DE FONDO CON EFECTO ZOOM AL HOVER */
.dif-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

.dif-card:hover .dif-card-bg {
  transform: scale(1.08);
}

/* CAPA OSCURA DEGRADADA (CORREGIDA) */
.dif-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente corregido: 0% arriba suave (0.25) y 80%-100% oscuro abajo (0.92) */
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.0) 0%, rgba(15, 23, 42, 0.52) 100%);
  z-index: 2;
}

/* CONTENEDOR DE CONTENIDO (ÍCONO Y TEXTO) */
.dif-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%; 
  box-sizing: border-box;
}

/* ÍCONO ARRIBA A LA IZQUIERDA */
.dif-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: #f97316;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* TEXTO SOBRE LA IMAGEN */
.dif-text-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.dif-text-box p {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
  margin: 0;
}

/* 4. SECCIÓN HOTELES */
.seccion-hoteles {
  background-color: #f8fafc;
  padding: 40px 20px 40px 20px;
}

.container-hoteles {
  max-width: 90%;
  margin: 0 auto;
}

.hoteles-grid-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.hoteles-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 10px 0 20px 0;
  line-height: 1.25;
}

.hoteles-left p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* GALERÍA DE 6 IMÁGENES (GRID 3 COLUMNAS X 2 FILAS) */
.hoteles-right-gallery {
  width: 100%;
}

.hotel-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hotel-img-grid img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-img-grid img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ==============================================================================
   PASARELA / CARRUSEL INFINITO DE LOGOS DE HOTELES
   ============================================================================== */
.hoteles-logos-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 45px;
  padding: 10px 0;
  background: transparent;
  /* Efecto de desvanecimiento elegante en los extremos izquierdo y derecho */
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hoteles-logos-track {
  display: flex;
  align-items: center;
  gap: 55px;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
}

/* Pausa el movimiento de la pasarela al colocar el cursor encima */
.hoteles-logos-container:hover .hoteles-logos-track {
  animation-play-state: paused;
}

.logo-img {
  height: 90px;
  max-width: 130px;
  object-fit: contain;  
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.logo-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* 5. PRESENCIA INTERNACIONAL */
.seccion-presencia-v2 {
  background-color: #f8fafc;
  color: #1e293b;
  padding: 40px 0px 40px 0px;
}

.container-presencia-v2 {
  max-width: 100%;
  margin: 0 auto;
}

/* GRID PRINCIPAL: ALINEADO AL TOPE SUPERIOR */
.presencia-v2-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: flex-start; /* Hace que el texto inicie al ras del planeta */
  margin-bottom: 0;       /* Eliminamos espacio inferior para permitir el traslape */
}

.mapa-globe-box {
  width: 100%;
  height: 550px;
  position: relative;
  overflow: hidden;
}

.mapa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  mask-image: radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0) 100%);
}
.mapa-globe-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, transparent 70%, #f8fafc 100%),
    linear-gradient(to right, transparent 75%, #f8fafc 100%);
  pointer-events: none;
}

/* COLUMNA DE TEXTO: SUBIDA Y ALINEADA */
.presencia-info-col {
  padding-top: 10px; /* Ajuste fino para pegar al tope superior */
}

.presencia-info-col .badge-subtitulo.orange-text {
  color: #f97316;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}

.presencia-info-col h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.presencia-info-col p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* ESTADÍSTICAS */
.presencia-stats-row {
  display: flex;
  align-items: center;
  gap: 45px;
}

.p-stat h3 {
  font-size: 1.8rem;
  color: #0f172a;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.p-stat span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
}

.p-stat-divider {
  width: 1px;
  height: 45px;
  background-color: #cbd5e1;
}

/* TIRA DE BANDERAS: TRASLAPADA ENCIMA DEL PLANETA Y MÁS JUNTAS */
.paises-flags-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 100px;                  /* Distancia más estrecha entre banderas */
  position: relative;
  z-index: 10;                 /* Las coloca por encima de la imagen del planeta */
  margin-top: -45px;           /* SUBE LAS BANDERAS SOBRE EL PLANETA */
  margin-bottom: 5px;
  padding-left: 10px;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 76px;                /* Ancho más compacto */
}

/* MARCO BLANCO CIRCULAR SÓLIDO */
.flag-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #ffffff;  /* Marco blanco prominente */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* Recorta cualquier esquina cuadrada */
}

/* CORRECCIÓN DE BANDERAS: OBLIGA A QUE EL SVG/ICONO SEA 100% CIRCULAR */
.flag-icon .fi {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  line-height: 1;
  object-fit: cover;
  transform: scale(1.4);     /* Escala la bandera para eliminar bordes rectangulares */
}

.flag-item span {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.2;
}


/* 6. MISIÓN Y VISIÓN (TARJETAS) */
.seccion-mision-vision-v2 {
  background-color: #f8fafc;
  padding: 0 20px 30px 20px;
}

.container-mv-v2 {
  max-width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card-v2 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 30px 30px 30px;
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.mv-icon {
  width: 68px;
  height: 68px;
  background-color: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.0rem;
  
}

.mv-title {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1.2px;
  color: #ea580c;
}

.mv-card-v2 p {
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.6;
  letter-spacing: 1.3px;
  padding-left:80px;
}

/* 7. BANNER DE CIERRE CON ACCIÓN */
.seccion-cta-bottom {
  min-height: 480px;
  background: linear-gradient(rgba(7, 14, 32, 0.35), rgba(7, 14, 32, 0.65)), 
              url('../img/tecnico-tablet-hotel.png') center bottom /cover no-repeat;
  color: #ffffff;
  padding: 80px 20px;
}

.container-cta-bottom {
  max-width: 100%;
  margin: 0 auto;
}

.seccion-cta-bottom h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.seccion-cta-bottom p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-orange-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-orange-outline:hover {
  border-color: #f97316;
  color: #f97316;
}

