html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
      font-family: 'Open Sans', sans-serif;

}

.icono-flotante {
  position: fixed;
  right: 10px;
  z-index: 1000;
  font-size: 30px;
  color: white;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.icono-flotante:hover {
  transform: scale(1.1);
  background-color: #25D366; 
}
.whatsapp {
  bottom: 50px;
}

.header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 2;
    transition: all 0.4s ease-in-out;
}

.header-bar:hover {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px) brightness(1.2);
    -webkit-backdrop-filter: blur(8px) brightness(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.logo {
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    cursor: pointer;
}

.video-fondo {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-fondo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.section-overlay {
    position: relative;
    z-index: 1;
    color: white;
    font-family: 'Playfair Display', serif;
    text-align: center;
    padding: 3rem 2rem 2rem;
    max-width: 900px; 
    margin: 0 auto;
}

.titulo-principal {
    margin-top: 90px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
      font-family: 'Open Sans', sans-serif;
}

.texto-secundario {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 750px; 
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
          font-family: 'Open Sans', sans-serif;

}

.tercer-texto {
    font-size: 1.8rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 2rem;
    opacity: 0.9;
    text-transform: capitalize;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
          font-family: 'Open Sans', sans-serif;

}

.titulo-principal::before {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: white;
    margin: 0 auto 1rem auto;
    opacity: 0.8;
}

.tercer-texto::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: white;
    margin: 1rem auto 0 auto;
    opacity: 0.8;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    background-color: #1e1e1e;
    color: white;
    justify-items: center;
}

.promo-card {
    position: relative; /* Necesario para que el badge se posicione dentro */
    width: 350px;
    height: 280px;
    background-color: #2c2c2c;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Para evitar desbordes si acaso */
}
.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.808);
}

.promo-card img {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.promo-card img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transform: rotate(-3deg) scale(1.1);
}


.promo-card .logo1 {
    width: 260px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.promo-card .logo1:hover {
    transform: rotate(-3deg) scale(1.1);
}

.promo-card .logo2 {
    width: 300px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.promo-card .logo2:hover {
    transform: rotate(-3deg) scale(1.1);
}

.promo-card .logo3 {
    width: 340px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.promo-card .logo3:hover {
    transform: rotate(-3deg) scale(1.1);
}


.promo-card .logo4 {
    width: 370px;
    height: 190px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.promo-card .logo4:hover {
    transform: rotate(-3deg) scale(1.1);
}


.promo-card .logo5 {
    width: 420px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.promo-card .logo5:hover {
    transform: rotate(-3deg) scale(1.1);
}

.promo-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.promo-badge:hover {
    background-color: #cc0000;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.promo-text {
    font-style: italic;
    color: #ffa447;
    font-size: 0.9rem;
}


.promo-btn {
    position: relative; /* Necesario para que z-index funcione */
    z-index: 9999;       /* Muy alto para que quede encima de todo */
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background-color: #fc4949;
    transform: scale(1.05);
    box-shadow: 0 0 12px white;
}

.promo-icon-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ff0000;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.promo-icon-btn:hover {
    background-color: #fc4949;
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 2.5rem 2.5rem;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 70vh; 
    overflow-y: auto;
    box-shadow: 0 0 30px #fc4949;
    text-align: left;
    position: relative;
    transform: scale(0.95);
    animation: modalFadeIn 0.4s ease forwards;
    scrollbar-width: thin;
    scrollbar-color: #ff4d4d transparent;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: #ff4d4d;
    border-radius: 4px;
}

@keyframes modalFadeIn {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-accent {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #b80000, #ff4d4d, #ff9999);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-icon {
    width: 60px;
    margin-top: 1.5rem;
    opacity: 0.8;
}

.modal-content h2 {
    color: #ff4d4d; 
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.modal-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: #eee;
}

ol {
  list-style-type: none;
  padding-left: 0; 
}

li{
    text-align: left;
}
.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.7rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s ease;
}

.close:hover {
    color: #ff5c00;
}

.div-terminos{
      background-color: #111111;
}

.terminos {
  max-width: 1200px;
  margin-inline: auto;
  margin-block-end: 80px; 
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.titulo-terminos {
  font-size: 0.8rem;
  color: #ff4d4d;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  border-bottom: 1px solid #ff4d4d;
  padding-bottom: 10px;
}

.lista-terminos {
  list-style: disc inside;
  padding: 0;
  margin: 0;
}

.texto-terminos {
  color: white;
  font-size: 0.7rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 10px;
}


.resaltado {
  font-weight: 600;
  color: #ff4d4d;
}

a{
  text-decoration: none;
  color: #ff4d4d;
}



@media (max-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .titulo-principal {
    font-size: 2rem;
  }

  .texto-secundario {
    font-size: 1.1rem;
  }

  .tercer-texto {
    font-size: 1.5rem;
  }

  .modal-content {
    max-width: 80%;
    padding: 2rem;
    margin-right: 20px;
  }

  .terminos {
    padding: 30px;
    margin-block-end: 60px;
  }

  .titulo-terminos {
  font-size: 0.8rem;
  }

  .texto-terminos {
  font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .promo-card {
    width: 90%;
    height: auto;
    padding: 2rem 1rem;
  }

  .promo-card .logo1 {
    width: 180px;
    height: 60px;
  }

  .promo-card .logo2 {
    width: 200px;
    height: 80px;
  }

  .promo-card .logo3 {
    width: 220px;
    height: 100px;
  }

  .promo-card .logo4 {
    width: 240px;
    height: 120px;
  }

  .promo-card .logo5 {
    width: 240px;
    height: 120px;
  }

  .promo-badge{
    margin-top: 50px;
  }

  .titulo-principal {
    font-size: 2rem;
    margin-top: 70px;
  }

  .texto-secundario {
    font-size: 1.1rem;
  }

  .tercer-texto {
    font-size: 1.3rem;
  }

  .header-bar {
    height: 100px;
  }

  .logo {
    height: 70px;
  }


  .modal-content {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    border-radius: 20px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .modal-content p {
    font-size: 1rem;
  }

  .terminos {
    padding: 20px;
    margin-block-end: 50px;
  }

  .titulo-terminos {
    font-size: 0.8rem;
    padding-bottom: 8px;
  }

  .texto-terminos {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
    .promo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }
  .titulo-principal {
    font-size: 1.6rem;
  }

  .texto-secundario,
  .tercer-texto {
    font-size: 1rem;
  }

  .promo-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }


  .modal-content {
    max-width: 70%;
    padding: 1.5rem;
    border-radius: 16px;
    margin-right: 20px;
  }


  .modal-icon {
    width: 50px;
  }

  .close {
    top: 0.7rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .promo-badge {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .terminos {
    padding: 16px;
    margin-block-end: 40px;
  }

  .titulo-terminos {
    font-size: 0.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #ff4d4d;
  }

  .texto-terminos {
    font-size: 0.7rem;
  }
}
