h2{
    text-transform: uppercase;
}
h3{
    text-transform: uppercase;
}
.left-header{
    display:flex;
    align-items:center;
    gap:25px;
}

.btn-home{
    background:#5dc1b9;
    color:#000;

    padding:14px 22px;

    border-radius:5px;

    text-decoration:none;

    font-size:12px;
    font-weight:700;

    letter-spacing:1px;
    text-transform:uppercase;

    transition:0.3s;
}

.btn-home:hover{
    background:#79d8d1;
    transform:translateY(-3px);
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;

  text-decoration:none !important;
  color:#000;

  cursor:pointer;
}

.logo span{
  text-decoration:none !important;
}
a{
  text-decoration:none;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;   /* ← AUMENTA ESTE VALOR */
    width: auto;    /* ← mejor para no deformar */
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 55px;
    font-family: 'Montserrat', sans-serif;

    background: #231f20; /* FONDO NEGRO */
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* NAV alineado a la derecha */
.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo span {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0b1c3d;
    font-family: 'Montserrat', sans-serif;

}
.nav {
    position: relative;
    display: flex;
    justify-content: center; /* centra los enlaces */
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 500;
}

.nav a:hover {
    color: #5dc1b9;
}

/* BOTÓN AMARILLO */
.nav .btn {
    background: #5dc1b9;
    color: #000;
    padding: 10px 18px;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav .btn:hover {
    background: #000;
    color: #fff;
}

/* PORTADA */

.hero-section{
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.img-slider{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 1;
}

/* CAPA OSCURA SOBRE TODO EL CARRUSEL */
.img-slider::after{
    content:"";
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background: rgba(0,0,0,0.65);

    z-index:2;

    pointer-events:none;
}
.img-track{
    display:flex;
    width:100%;
    height:100%;

    transition: transform 0.8s ease-in-out;

    will-change: transform;
}

.img-slide{
    min-width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    flex-shrink: 0;
}
.hero{
    position: relative;
    z-index: 2;

    max-width: 950px;

    color: white;
    font-family: 'Montserrat', sans-serif;

}

.hero h1{
  font-size:65px;
  margin-bottom:20px;
  text-transform:uppercase;
    font-family: 'Montserrat', sans-serif;

}

.hero p{
  font-size:22px;
  line-height:1.8;
  margin-bottom:35px;
}
/* BOTONES */

.btn{
  display:inline-block;
  padding:15px 35px;
  background:#5dc1b9;
  color:#111;
  text-decoration:none;
  border-radius:8px;
  transition:0.3s;
  font-weight:bold;
}

.btn:hover{
  transform:translateY(-5px);
  background:#5dc1b9;
}

/* SECCIONES */

section{
  padding:90px 10%;
  
}

.titulo{
  text-align:center;
  margin-bottom:60px;
    font-family: 'Montserrat', sans-serif;
  
  
}

.titulo h2{
  font-size:42px;
  margin-bottom:15px;
  color:#5dc1b9;
  
}

.titulo p{
  font-size:18px;
  color:#000000;
  
}

/* CARDS */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
  
}

.card{
  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,0.1);
  transition:0.3s;
  
}

.card:hover{
  transform:translateY(-10px);
}

.card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.card-content{
  padding:25px;
}

.card-content h3{
  margin-bottom:15px;
  color:#000000;
  font-size:25px;
    font-family: 'Montserrat', sans-serif;
   text-align: justify;

}

.card-content p{
  line-height:1.8;
  margin-bottom:20px;
  color:#444;
}

/* INFORMACIÓN */

.informacion{
  background:white;
}

.info-contenido{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.texto p{
  margin-bottom:25px;
  line-height:1.9;
  font-size:22px;
  color:#000000;
    font-family: 'Montserrat', sans-serif;
text-align: justify;

}

.imagen-info img{
  width:100%;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

/* BENEFICIOS */

.beneficios{
  background:#111;
  color:white;
}

.beneficios .titulo p{
  color:#ccc;
}

.beneficios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:25px;
  
}

.beneficio-box{
  background:#1f1f1f;
  padding:35px;
  border-radius:15px;
  transition:0.3s;
  
}

.beneficio-box:hover{
  transform:translateY(-10px);
}

.beneficio-box h3{
  margin-bottom:20px;
  color:#ffffff;
  font-size:24px;
    font-family: 'Montserrat', sans-serif;


}

.beneficio-box p{
  line-height:1.8;
  color:#ddd;
}

/* ESTADÍSTICAS */

.estadisticas{
  background:#f0f0f0;
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:30px;
}

.stat-box{
  background:white;
  padding:45px 25px;
  text-align:center;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  transition:0.3s;
}

.stat-box:hover{
  transform:translateY(-8px);
}

.stat-box h3{
  font-size:50px;
  color:#5dc1b9;
  margin-bottom:15px;
    font-family: 'Montserrat', sans-serif;
  
}

.stat-box p{
  font-size:18px;
  color:#555;
}

/* TESTIMONIOS */

.testimonios{
  background:white;
}

.testimonios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
}

.testimonio{
  background:#f7f7f7;
  padding:35px;
  border-radius:15px;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  transition:0.3s;
}

.testimonio:hover{
  transform:translateY(-8px);
}

.testimonio p{
  line-height:1.8;
  margin-bottom:20px;
    font-family: 'Montserrat', sans-serif;
  
  color:#444;
}

.testimonio h4{
  color:#000000;
}

/* YOUTUBE */

.youtube{
  background:#111;
  color:white;
  text-align:center;
}

.youtube .titulo p{
  color:#ccc;
}

.videos{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(350px,1fr));
  gap:35px;
  margin-top:40px;
}

iframe{
  width:100%;
  height:280px;
  border:none;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

/* CONTACTO */

.contacto{
  background:white;
  text-align:center;
}

.contacto p{
  max-width:750px;
  margin:auto;
  line-height:1.9;
  margin-bottom:35px;
  font-size:18px;
  color:#444;
}

/* FOOTER */

footer{
  background:#000;
  color:white;
  text-align:center;
  padding:30px;
}

footer p{
  letter-spacing:1px;
}

/* RESPONSIVE */

@media(max-width:900px){

  .info-contenido{
    grid-template-columns:1fr;
  }

}

@media(max-width:768px){

  header{
    height:auto;
    padding:120px 20px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:18px;
  }

  .titulo h2{
    font-size:34px;
  }

  .videos{
    grid-template-columns:1fr;
  }

  iframe{
    height:230px;
  }

}
/* ventana flotante */
.contacto-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px;
  background: #f5f5f5;
}

.card-info {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card-info:hover {
  transform: translateY(-5px);
}

.card-info h2 {
  margin-bottom: 15px;
  color: #333;
  font-size: 22px;
}

.card-info p {
  color: #666;
  margin: 5px 0;
  line-height: 1.5;
}
/* ===== POPUP MINIMALISTA ===== */

.popup{
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);

    width: 160px;

    background: #ffffff;

    padding: 20px;

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.12);

    z-index: 9999;

    transition: 0.4s ease;

    font-family: Arial, sans-serif;
}

/* MINIMIZADO */
.popup.minimized{
    left: -210px;
}

/* BOTÓN PEQUEÑO LATERAL */
.popup-toggle{
    position: absolute;

    right: -45px;
    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    background: #5dc1b9;

    border-radius: 0 12px 12px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

    color: white;

    font-size: 22px;

    font-weight: bold;
}

/* CERRAR */
.cerrar{
    position: absolute;

    top: 8px;
    right: 12px;

    font-size: 18px;

    cursor: pointer;

    color: #666;
}

/* TITULO */
.popup h2{
    font-size: 18px;

    color: #111;

    margin-bottom: 10px;

    line-height: 1.3;
}

/* TEXTO */
.popup p{
    font-size: 14px;

    color: #555;

    line-height: 1.5;

    margin-bottom: 18px;
}

/* BOTÓN */
.popup-btn{
    display: block;

    text-align: center;

    background: #5dc1b9;

    color: white;

    padding: 12px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    transition: 0.3s;
}

.popup-btn:hover{
    transform: scale(1.03);
}

/* RESPONSIVE */
@media(max-width:768px){

    .popup{
        width: 220px;
    }

}
/* ================= CHAT IA ================= */

.chat-container{
    position:fixed;
    bottom:100px;
    right:20px;
    z-index:9999;
    font-family:Arial, Helvetica, sans-serif;
}

/* BOTÓN FLOTANTE */

.chat-toggle{
    width:65px;
    height:65px;
    background:linear-gradient(135deg,#1e88ff,#005eff);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
    transition:0.3s;
    animation:pulse 2s infinite;
}

.chat-toggle:hover{
    transform:scale(1.08);
}
.chat-footer input{
    flex:1;
    height:55px;
    border:none;
    outline:none;
    background:#f1f5f9;
    border-radius:30px;
    padding:0 20px;
    font-size:15px;
}
/* VENTANA */

.chat-box{
    width:350px;
    height:560px;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    display:none;
    flex-direction:column;
    box-shadow:0 15px 40px rgba(0,0,0,0.20);
    animation:showChat 0.3s ease;
}
.chat-body{
    flex:1;
    background:#f4f7fb;
    padding:20px;
    overflow-y:auto;
}

/* HEADER */

.chat-header{
    background:linear-gradient(135deg,#1e88ff,#005eff);
    padding:22px;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}
.chat-footer button{
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#1e88ff,#005eff);
    color:#fff;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:0.3s;
    padding:0;
}

.chat-footer button:hover{
    transform:scale(1.08);
    box-shadow:0 8px 20px rgba(0,94,255,0.35);
}
.chat-header::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-40px;
    right:-40px;
}

/* INFO */

.header-info{
    display:flex;
    align-items:center;
    gap:14px;
    z-index:2;
}

/* ICONO BOT */

.header-info::before{
    content:"🎧";
    width:52px;
    height:52px;
    background:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    color:#0066ff;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* TEXTO */

.header-info h3{
    font-size:22px;
    font-weight:700;
    line-height:1;
}

.header-info p{
    font-size:14px;
    margin-top:8px;
    opacity:0.9;
}

/* ESTADO */

.status{
    width:10px;
    height:10px;
    background:#00ff66;
    border-radius:50%;
    position:absolute;
    left:63px;
    top:67px;
    border:2px solid #1e88ff;
}

/* BOTÓN CERRAR */

.close-chat{
    background:rgba(255,255,255,0.12);
    border:none;
    width:45px;
    height:45px;
    border-radius:15px;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    transition:0.3s;
    z-index:2;
}

.close-chat:hover{
    background:rgba(255,255,255,0.22);
    transform:scale(1.05);
}

/* BODY */

.chat-body{
    flex:1;
    background:#f4f7fb;
    padding:18px;
    overflow-y:auto;
}

/* MENSAJE BOT */

.bot-message{
    background:#fff;
    padding:18px;
    border-radius:22px 22px 22px 8px;
    max-width:250px;
    line-height:1.6;
    font-size:15px;
    color:#333;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    animation:fadeIn 0.4s ease;
}

/* FOOTER */

.chat-footer{
    background:#fff;
    padding:14px;
    display:flex;
    align-items:center;
    gap:10px;
    border-top:1px solid #e5e7eb;
}

/* INPUT */

.chat-footer input{
    flex:1;
    height:52px;
    border:none;
    outline:none;
    background:#f1f5f9;
    border-radius:30px;
    padding:0 18px;
    font-size:15px;
    transition:0.3s;
}

.chat-footer input:focus{
    background:#eaf2ff;
}

/* BOTÓN */

.chat-footer button{
    border:none;
    height:52px;
    padding:0 24px;
    border-radius:30px;
    background:linear-gradient(135deg,#1e88ff,#005eff);
    color:#fff;
    font-size:15px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.chat-footer button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,94,255,0.35);
}

/* ANIMACIONES */

@keyframes showChat{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes pulse{
    0%{
        box-shadow:0 0 0 0 rgba(30,136,255,0.5);
    }

    70%{
        box-shadow:0 0 0 18px rgba(30,136,255,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(30,136,255,0);
    }
}
.user-message{
    background:linear-gradient(135deg,#1e88ff,#005eff);
    color:#fff;
    padding:14px 18px;
    border-radius:20px 20px 5px 20px;
    margin-left:auto;
    margin-top:15px;
    width:fit-content;
    max-width:250px;
    line-height:1.5;
    font-size:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    animation:fadeIn 0.3s ease;
}

/* MENSAJE BOT */

.bot-message{
    margin-top:15px;
}