/* =========================
🌍 CONTROL GLOBAL RESPONSIVE
========================= */

html, body {
  max-width: 100%;
  overflow-x: hidden; /* 🔥 evita scroll lateral */
}

* {
  max-width: 100%;
}

/* =========================
RESET Y BASE
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #1e293b;
  font-size: 16px;
  
  padding-bottom: 80px;

}

/* =========================
HEADER
========================= */
.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 15px 20px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 🔥 AGRUPAR LOGO + TEXTO */
.header img.logo {
  margin-right: 10px;
}

/* 🔥 EMPUJAR MENÚ A LA DERECHA */
nav {
  margin-left: auto;
}
.logo {
  width: 70px;
}

.brand {
  font-weight: 700;
}

/* =========================
MENÚ
========================= */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
}

nav a:hover {
  color: #2563eb;
}

/* =========================
REDES
========================= */
.redes {
  display: flex;
  gap: 10px;
}

/* =========================
HERO
========================= */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url('https://res.cloudinary.com/dfamkwhre/image/upload/v1776708947/WhatsApp_Image_2026-04-19_at_10.57.04_AM_1_vx8m2o.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 26px;
}

.hero h2 {
  font-size: 22px;
}

/* =========================
SECCIONES
========================= */
.section {
  padding: 60px 20px;
  text-align: center;
}

.bg-light {
  background: #f1f5f9;
}

/* =========================
GRID
========================= */
.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* =========================
CARDS
========================= */
.card {
  width: 100%;
  max-width: 320px;
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 auto;
}

/* =========================
RESEÑAS (FORMULARIO CENTRADO)
========================= */
#reseñas .card {
  margin: 0 auto;
  text-align: center;
}

/* INPUTS */
#reseñas input,
#reseñas textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* =========================
🔥 LISTA DE RESEÑAS EN FILA
========================= */
#lista-reseñas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* tarjetas de reseñas */
#lista-reseñas .card {
  max-width: 280px;
}

/* =========================
IMÁGENES
========================= */
img {
  max-width: 100%;
  display: block;
  margin: auto;
}

.nosotros-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.nosotros-grid img {
  max-width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

/* =========================
CARRUSEL
========================= */
.carousel {
  max-width: 500px;
  margin: auto;
}

.carousel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;

transition: opacity 0.8s ease-in-out;
}

/* =========================
BOTONES
========================= */
button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: white;
  cursor: pointer;
}

/* =========================
ESTRELLAS
========================= */
.stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 28px;
  margin-bottom: 10px;
  cursor: pointer;
}

.stars i {
  color: #ccc;
}

.stars i.active {
  color: #fbbf24;
}


/* =========================
CONTACTO
========================= */
.contacto {
  background: #0f172a;
  color: white;
  padding: 60px 20px;
}

/* =========================
FOOTER
========================= */
footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 15px;
}

/* =========================
WHATSAPP
========================= */
/* =========================
📲 WHATSAPP FLOAT FIX
========================= */
/* =========================
📲 WHATSAPP FLOAT PRO + URGENCIA
========================= */

/* =========================
📲 WHATSAPP FLOAT PRO + URGENCIA (FIX)
========================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: calc(100% - 30px); /* 🔥 evita que se salga */
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 999;
  text-decoration: none;
  animation: pulse 1.5s infinite;
}

/* ICONO */
.whatsapp-float i {
  font-size: 18px;
}

/* TEXTO */
.whatsapp-float span {
  font-weight: bold;
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 10px;
    padding: 10px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }
}
/* ICONO */
.whatsapp-float i {
  font-size: 20px;
}

/* TEXTO */
.whatsapp-float span {
  font-weight: bold;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* 🔥 ANIMACIÓN PULSO */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 12px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none; /* 🔥 solo icono */
  }

  .whatsapp-float i {
    font-size: 22px;
  }
}


/*📱 MOBILE MENU PRO*/

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  #nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    padding: 20px 0;

    transform: translateY(-120%);
    transition: 0.3s ease;

    z-index: 1000;
  }

  #nav.active {
    transform: translateY(0);
  }

  #nav a {
    font-size: 18px;
  }

  .redes {
    display: none;
  }

  .btn-whatsapp {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* =========================
TABLET
========================= */
@media (min-width: 768px) {
  .grid {
    flex-direction: row;
    justify-content: center;
  }

  .nosotros-grid {
    flex-direction: row;
  }

  .nosotros-grid img {
    width: 48%;
  }
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
}
.header-right {
  display: flex;
  align-items: center;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  background: #1ebe5d;
}
@media (max-width: 768px) {
  .btn-whatsapp {
    padding: 8px 12px;
    font-size: 14px;
  }
}
/* =========================

/* =========================
🚨 CONTADOR ULTRA PRO
========================= */
.contador-box {
  margin-top: 20px;
  padding: 20px 25px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.65);
  display: inline-block;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* TITULO */
.contador-titulo {
  font-size: 18px;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* TIEMPO GRANDE */
.contador-tiempo {
  font-size: 32px;
  font-weight: 800;
  color: #facc15;
  margin: 10px 0;
  letter-spacing: 2px;
}

/* TEXTO CUPOS */
.contador-sub {
  font-size: 16px;
  font-weight: 600;
}

.contador-sub span {
  color: #facc15;
  font-size: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contador-tiempo {
    font-size: 26px;
  }

  .contador-titulo {
    font-size: 16px;
  }
}




.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* =========================
📈 RESULTADOS PRO
========================= */
.resultados {
  background: #0f172a;
  color: white;
}

.resultados h2 {
  margin-bottom: 30px;
}

.resultados-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.resultado-card {
  background: rgba(255,255,255,0.05);
  padding: 30px 20px;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  transition: 0.3s;
}

.resultado-card:hover {
  transform: scale(1.05);
}

.resultado-card h3 {
  font-size: 36px;
  color: #facc15;
  margin-bottom: 10px;
}

.resultado-card p {
  font-size: 14px;
}
/* =========================
SECCIÓN EVIDENCIAS PRO
========================= */

.section {
  padding: 80px 20px;
  text-align: center;
}

.bg-light {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.titulo {
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #1e293b;
}
/* =========================
🎥 VIDEOS RESPONSIVE PRO (ÚNICO)
========================= */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.video-card {
  width: 100%;
  aspect-ratio: 9/16; /* 🔥 PROPORCIÓN PERFECTA */
  overflow: hidden;
  border-radius: 16px;
  background: black;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}






/* RESPONSIVE */
@media (max-width: 768px) {
  .titulo {
    font-size: 1.6rem;
  }
}

