.texto{
    text-align: justify;
}
H2{
    text-transform: uppercase;
}
h3{
    text-transform: uppercase;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;

  text-decoration:none;
  color:#000;

  cursor:pointer;
}

.logo img{
  height:40px;
  width:auto;
}
html, body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    background-color: #0b0f14 !important;
    color: #fff;
}


/* por si algún contenedor tapa el fondo */
header, section, div {
    background-color: transparent;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: 40px;          /* fuerza proporción uniforme */
    object-fit: contain;  /* evita que se deforme */
    display: block;
}
.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;
}
/* SECCIÓN */
.empresa{
  padding:100px 10%;
  background:#f5f5f5;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:50px;
  flex-wrap:wrap;
}

/* CONTENEDOR IZQUIERDO */
.empresa-info{
  flex:1;
  min-width:320px;

  display:flex;
  flex-direction:column;
  gap:25px;
}

/* RECTÁNGULOS */
.box{
  background:white;
  padding:30px;
  border-radius:25px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);

  transition:0.3s;
}

.box:hover{
  transform:translateX(10px);
}

/* TITULOS */
.box h3{
  font-size:34px;
  margin-bottom:5px;
  color:#5dc1b9;
font-family: 'Montserrat', sans-serif;
}

/* TEXTOS */
.box p{
  color:#000000;
  line-height:2.1;
  font-size:17px;
}

/* IMAGEN */
.empresa-img{
  flex:1;
  min-width:320px;
}

.empresa-img img{
  width:100%;
  height:650px;
  object-fit:cover;

  border-radius:30px;
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media(max-width:900px){

  .empresa{
    flex-direction:column;
  }

  .empresa-img img{
    height:400px;
  }

}
/* 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;
}

/* idiomas arriba a la derecha */
.lang {
    position: absolute;
    right: 40px;
    top: 0;
    font-size: 11px;
    letter-spacing: 1px;
    color: #ffffff;
font-family: 'Montserrat', sans-serif;
}
/* ===== HERO ===== */
  
.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
font-family: 'Montserrat', sans-serif;
    
}

.hero-content p {
    font-size: 19px;
    max-width: 700px;
    margin: auto;
    opacity: 0.9;

}
.hero{
    position: relative;
    height: 90vh;
    overflow: hidden;
}
.hero-section{
    height:100vh;
    position:relative;
    overflow:hidden;
}
.hero-slider{
    position: absolute;
    inset: 0;
}

.hero-track{
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
}

.hero-track .slide{
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;

    background-size: cover;
    background-position: center;
    position: relative;
}
/* overlay oscuro */
.hero-track .slide::after{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

/* contenido encima */
.hero-content{
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 1000px;

    text-align: center;
}
.hero-btn {
    margin-top: 25px;
    display: inline-block;
    background: #5dc1b9;
    color: black;
    padding: 15px 25px;
font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
}
.img-slider{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.img-track{
    display:flex;
    height:100%;
    transition: transform 0.8s ease-in-out;
}

.img-slide{
    min-width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
}

/* overlay oscuro */
.img-slider::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}
/* ===== SERVICIOS ===== */
.services {
    padding: 80px 20px;
    background: #f7f7f7;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #0b1c3d;
font-family: 'Montserrat', sans-serif;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
}

.card {
    background: white;
    width: 350px;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 29px;
    margin-bottom: 40px;
font-family: 'Montserrat', sans-serif;
    color: #1c2331;
}

.card p {
    font-size: 20px;
    color: #555;
font-family: 'Montserrat', sans-serif;
}

/* ===== ABOUT SECTION (ESTILO MODERNO) ===== */
.about {
    padding: 80px 20px;
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    max-width: 1200px;
    margin: auto;
}

/* IMAGEN */
.about-image img {
    width: 100%;
    max-width: 600px;
    height: 500px;
    object-fit: cover;
}

/* TEXTO */
.about-text {
    max-width: 500px;
}

.small-title {
    font-size: 12px;
    letter-spacing: 3px;
    color: #5dc1b9;
}

.about-text h2 {
    font-size: 34px;
    color: #0b1c3d;
    margin: 15px 0 25px;
    font-weight: 500;
    line-height: 1.3;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* BOTÓN */
.about-btn {
    display: inline-block;
    margin-top: 20px;
    background: #5dc1b9;
    color: black;
    padding: 12px 22px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        height: auto;
    }
}
/* ===== FORMULARIO ===== */
.contact-form {
    padding: 80px 20px;
    background: #f7f7f7;
    display: flex;
    justify-content: center;
}

.form-container {
    background: white;
    padding: 40px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-container h2 {
    text-align: center;
    font-size: 28px;
    color: #0b1c3d;
    
    margin-bottom: 10px;
}

.form-container p {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

/* CAMPOS */
.form-group {
    margin-bottom: 15px;
    font-style: italic;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #333;
    font-style: italic;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-style: italic;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

input:focus, select:focus {
    border-color: #5dc1b9;
}

/* BOTÓN */
button {
    width: 100%;
    padding: 15px;
    background: #5dc1b9;
    border: none;
    font-weight: bold;
    font-style: italic;
    font-size: 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

button:hover {
    background: #8edadd;
    border: #25d366;
}

/* RESPONSIVE */
@media(max-width: 600px) {
    .form-container {
        padding: 25px;
    }
}
/* ===== FOOTER ===== */
.footer {
    background: #0b1c3d;
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

/* LOGO */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.footer-logo .logo-box {
    width: 18px;
    height: 18px;
    background: #0b1c3d;
    transform: rotate(45deg);
}

/* INFO */
.footer-info p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

/* LINKS */
.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #0b1c3d;
}

/* BOTON WHATSAPP */
.footer-social a:first-of-type {
    color: #25d366;
    font-weight: bold;
}

/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    font-size: 12px;
    color: #aaa;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}
/* ===== PROYECTOS / CARRUSEL ===== */

.project-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 🔥 clave */
}
.projects{
    background: #f3f3f3;
    padding: 80px 0;
    overflow: visible;
}

.projects-header{
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 70px;
    margin-bottom: 40px;
}

.projects-header h2{
    font-size: 22px;
    color: #0b1c3d;
    white-space: nowrap;
    letter-spacing: 1px;
}

.projects-header .line{
    width: 100%;
    height: 1px;
    background: #0b1c3d;
}

.projects-wrapper{
    overflow:hidden;
    position:relative;
}

.projects-slider{
    display:flex;
    gap:20px;
    padding:20px 80px;

    will-change: transform;
    transform: translate3d(0,0,0);

    backface-visibility:hidden;
    perspective:1000px;
}
.projects-slider::-webkit-scrollbar{
    display:none;
}
.projects-slider::-webkit-scrollbar-thumb{
    background: #c7c7c7;
    border-radius: 20px;
}

.project-card{
    flex: 0 0 calc((80% - 60px) / 3); /* 👈 3 en pantalla */
    aspect-ratio: 1 / 1;              /* cuadradas */
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.project-card:hover{
    transform:translateY(-8px);
}

.project-info{
    text-align: center;
    padding-top: 25px;
}

.project-info h3{
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-style: italic;
    font-weight: 500;
    color: #111;
    margin-bottom: 18px;
}

.project-info p{
    color: #9a9a9a;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.project-info span{
    color: #b0b0b0;
    font-size: 16px;
    font-style: italic;
}

/* RESPONSIVE */
@media(max-width: 900px){

    .projects-header{
        padding: 0 25px;
    }

    .projects-slider{
        padding: 0 25px 20px;
        gap: 20px;
    }

    .project-card{
        min-width: 90%;
    }

    .project-card img{
        height: 280px;
    }

    .project-info h3{
        font-size: 26px;
    }

}
/* ===== CONTROLES DEL CARRUSEL ===== */

.projects-controls{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-right: 70px;
}

.projects-controls span{
    font-size: 16px;
    font-weight: 600;
    color: #0b1c3d;
}

/* CONTENEDOR FLECHAS */
.arrows{
    display: flex;
    align-items: center;
    gap: 25px;
}

/* BOTONES */
.arrow-btn{
    position: relative;
    width: 70px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

/* LINEA */
.arrow-btn::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 45px;
    height: 1.5px;
    background: #111;
    transform: translateY(-50%);
}

/* PUNTA DERECHA */
.arrow-right::after{
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 1.5px solid #111;
    border-right: 1.5px solid #111;
    transform: translateY(-50%) rotate(45deg);
}

/* PUNTA IZQUIERDA */
.arrow-left::after{
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 1.5px solid #111;
    border-left: 1.5px solid #111;
    transform: translateY(-50%) rotate(-45deg);
}

/* HOVER */
.arrow-btn:hover{
    opacity: 0.6;
}
/* ===== FLECHAS LATERALES ===== */

.projects-wrapper{
    position:relative;
}

.side-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    background:white;
    cursor:pointer;
    z-index:10;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* FLECHAS */
.side-arrow::before{
    content:"";
    width:14px;
    height:14px;
    border-top:3px solid #111;
}

.side-arrow.left::before{
    border-left:3px solid #111;
    transform:rotate(-45deg);
    margin-left:5px;
}

.side-arrow.right::before{
    border-right:3px solid #111;
    transform:rotate(45deg);
    margin-right:5px;
}

/* POSICIONES */
.side-arrow.left{
    left:20px;
}

.side-arrow.right{
    right:20px;
}

/* HOVER */
.side-arrow:hover{
    background:#0b1c3d;
}

.side-arrow:hover::before{
    border-color:white;
}
/* ===== DOTS ===== */

.carousel-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:35px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#cfcfcf;
    cursor:pointer;
    transition:0.3s;
}

/* ACTIVO */
.dot.active{
    width:35px;
    border-radius:20px;
    background:#0b1c3d;
}
/* ===== EXPERIENCE SECTION ===== */

.experience{
    background: #f3f3f3;
    padding: 100px 30px;
}

.experience-container{
    max-width: 1600px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 90px;
}

/* IMAGEN */
.experience-image{
    flex: 1;
}

.experience-image img{
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
}

/* TEXTO */
.experience-content{
    flex: 1;
    max-width: 620px;
}

.experience-subtitle{
    display: block;
    color: #0b1c3d;
    letter-spacing: 6px;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    top: 45px;
}

.experience-content h2{
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-style: italic;
    font-weight: 500;
    color: #111;
    line-height: 1.15;
    margin-bottom: 45px;
}

.experience-content p{
    font-size: 18px;
    line-height: 2;
    color: #333;
    margin-bottom: 39px;
    text-align: left;
}

/* BOTÓN */
.experience-btn{
    display: inline-block;
    background: #5dc1b9;
    color: #111;
    text-decoration: none;
    padding: 18px 42px;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.experience-btn:hover{
    background: #111;
    color: white;
}

/* RESPONSIVE */
@media(max-width: 1100px){

    .experience-container{
        flex-direction: column;
        gap: 50px;
    }

    .experience-image img{
        height: auto;
    }

    .experience-content{
        max-width: 100%;
    }

    .experience-content h2{
        font-size: 48px;
    }

}

@media(max-width: 768px){

    .experience{
        padding: 70px 20px;
    }

    .experience-content h2{
        font-size: 38px;
    }

    .experience-content p{
        font-size: 16px;
        line-height: 1.8;
    }

}
/* ===== AVISO FINAL ===== */

.final-notice{
    background: #0b1c3d;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-notice-container{
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* TEXTO SUPERIOR */
.notice-tag{
    display: inline-block;
    color: #5dc1b9;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 25px;
}

/* TITULO */
.final-notice h2{
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 35px;
    color: white;
}

/* PARRAFOS */
.final-notice p{
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

/* BOTON */
.notice-btn{
    display: inline-block;
    margin-top: 25px;
    background: #5dc1b9;
    color: #111;
    text-decoration: none;
    padding: 18px 40px;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.notice-btn:hover{
    background: white;
}

/* EFECTO FONDO */
.final-notice::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(245,196,0,0.06);
    border-radius: 50%;
    top: -150px;
    right: -120px;
}

.final-notice::after{
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -150px;
    left: -120px;
}

/* RESPONSIVE */
@media(max-width: 768px){

    .final-notice{
        padding: 80px 20px;
    }

    .final-notice h2{
        font-size: 38px;
    }

    .final-notice p{
        font-size: 16px;
        line-height: 1.8;
    }

}
/* 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: 40%;
    left: 15px;
    transform: translateY(-50%);

    width: 160px;

    background: #ffffff;

    padding: 19px;

    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 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;
}