:root{
    --morado:#543979;
    --gris:#F0F1F1;
    --dorado:#F1A91C;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--gris);
    color:var(--morado);
}



.container{
    max-width:1400px;
    margin:auto;
}
/* =========================
   HEADER
========================= */

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:70px;
    width:auto;
    display:block;
}

.header{
    position:fixed;
    top:0;
    width:100%;
    padding:25px 8%;
    background:#543979;
    border-bottom:1px solid #F1A91C;
    z-index:1000;
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    max-width:1400px;
    margin:auto;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:#F1A91C;
    text-decoration:none;
    font-weight:600;
}

.btn-nav{
    background:#F1A91C;
    color:#543979;
    padding:14px 22px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
}

/* =========================
   BOTONES
========================= */

.btn-nav,
.btn-primary{
    background:var(--dorado);
    color:var(--morado);
    padding:14px 22px;
    border-radius:14px;
    text-decoration:none;
    margin-left:40px;
    font-weight:600;
    transition:.3s;
}

.btn-nav:hover,
.btn-primary:hover{
    background:#d89618;
}

.btn-secondary{
    border:2px solid var(--morado);
    color:var(--morado);
    background:var(--morado);
    padding:16px 28px;
    border-radius:16px;
    text-decoration:none;
}
/* =========================
   HERO
========================= */

.hero{
    padding:130px 20px 120px;
    text-align:center;
    max-width:1000px;
    margin:auto;
}

.tag{
    background:var(--morado);
    color:var(--dorado);
    padding:10px 18px;
    border-radius:999px;
    display:inline-block;
    font-weight:600;
}

.hero h1{
    font-size:4rem;
    margin:30px 0;
    line-height:1.1;
}

.hero p{
    font-size:1.2rem;
    color:var(--morado);
    line-height:1.7;
}

/* =========================
   ESTADISTICAS
========================= */

.numbers{
    max-width:1200px;
    margin:auto;
    padding:30px 20px 100px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.number-card{
    background:white;
    padding:30px;
    border-radius:24px;
    text-align:center;
    box-shadow:0 15px 30px rgba(0,0,0,.05);
    transition:.3s;
}

.number-card:hover{
    transform:translateY(-8px);
}

.number-card h2{
    font-size:3rem;
    color:var(--dorado);
}

/* =========================
   NOSOTROS
========================= */

.about{
    max-width:1500px;
    margin:auto;
    padding:30px 20px;
    display:grid;
    grid-template-columns: 2fr 2fr;
    gap:120px;
    align-items:center;
}

.about h2{
    font-size:3rem;
    margin-bottom:10px;
}

.about p{
    color:var(--morado);
    margin-bottom:20px;
    line-height:1.8;
    align-items:justify;
}



.glass-card{
    background:rgba(255, 255, 255, 0.897);
    backdrop-filter:blur(20px);
    padding:125px;
    border-radius:24px;
    color:var(--morado);
    width:80%;
}
.image-container{
    border-radius:25px;
    overflow:hidden;
    width:100%;
}
.image1{
    width:100%;
    max-width:600px;
    height:auto;
    display:block;
    border-radius:25px;
}




/* =========================
   VALORES
========================= */

.values{
    padding:120px 20px;
    max-width:1200px;
    margin:auto;
}

.values h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:60px;
}

.values-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.value-card{
    background:white;
    padding:35px;
    border-radius:24px;
    text-align:center;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.value-card:hover{
    transform:translateY(-10px);
}

.icon{
    font-size:3rem;
    margin-bottom:20px;
}

/* =========================
   Estados financieros
========================= */
.financials{
    padding:80px 20px;
    background:#fff;
}

.financials-content{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.financials-image{
    flex:1;
    min-width:300px;
}

.financials-image img{
    width:100%;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.financials-text{
    flex:1;
    min-width:300px;
}

.financials-text h2{
    color:var(--morado);
    margin-bottom:20px;
    font-size:2rem;
}

.financials-text p{
    margin-bottom:25px;
    line-height:1.7;
    color:#555;
}

.btn-financial{
    display:inline-block;
    background:var(--dorado);
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.btn-financial:hover{
    transform:translateY(-2px);
}
/* =========================
   EQUIPO
========================= */

.team{
    padding:120px 20px;
    max-width:1200px;
    margin:auto;
}

.team h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:60px;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.member{
    background:white;
    padding:35px;
    border-radius:24px;
    text-align:center;
}

.avatar{
    width:120px;
    height:120px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        var(--dorado),
        var(--morado)
    );
    margin:auto auto 20px;
}

/* =========================
   CTA
========================= */
.cta{
    margin-top:120px;
    text-align:center;
    padding:40px 20px;
    background:var(--morado);
}

.cta h2{
    color:var(--dorado);
    font-size:3rem;
    margin-bottom:20px;
}

.cta p{
    color:var(--gris);
    margin-bottom:30px;
    font-size:1.1rem;
}

.cta a{
    display:block;
    width:fit-content;
    margin:0 auto;
    padding:18px 35px;
    background:var(--dorado);
    color:white;
    text-decoration:none;
    border-radius:16px;
    font-weight:600;
}


.cta button{
    background:var(--dorado);
    border:none;
    padding:18px 35px;
    border-radius:16px;
    color:white;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.cta button:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,.25);
}


.footer{
    background: var(--morado);
    color: var(--gris);
    text-align: center;
    padding: 10px 10px 25px 10px;
    
}

.footer p{
    margin:0px;
    font-size: 0.9rem;
}

.social{
    margin-top: 10px;
}

.social a{
    color: var(--dorado);
    text-decoration: none;
    margin: 0 10px;
}

.social a:hover{
    text-decoration: underline;
}


.footer{
    position: relative;
    background: var(--morado);
    color: var(--gris);
    text-align: center;
    padding: 25px;
}

.footer-super{
    position: absolute;
    left:40px;
    top: 50%;
    transform: translateY(-50%);

       display: flex;
    flex-direction: column;
    align-items: flex-start; /* izquierda */
}

.footer-logo{
    position: absolute;
    left: 60px;      /* distancia al borde izquierdo */
    top: -150px;       /* ajusta según necesites */
    width: 200px;
    height: auto;
    object-fit: contain;
   
}

.footer-super p{
    margin-top:-85px;
    left: 80px;
    font-size: 1.2rem;
    max-width: 15px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .about,
    .numbers,
    .values-grid,
    .timeline-container,
    .team-grid{
        grid-template-columns:1fr;
    }

    .hero{
        padding:150px 20px 80px;
    }

    .hero h1{
        font-size:2.8rem;
    }

    nav{
        display:none;
    }

    .btn-nav{
        display:none;
    }

    .logo img{
        height:55px;
    }
}


 /*whatsapp*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  text-decoration: none !important;
  color: #FFF;
}


/* Contenedor general */
.whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}


/* Popup del asistente */
.assistant-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 220px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Imagen */
.assistant-popup img {
  width: 105%;
  border-radius: 15px;
  box-shadow: 0 20px 34px rgba(0,0,0,0.25);
}

/* Mostrar al hacer hover */
.whatsapp-container:hover .assistant-popup {
  opacity: 1;
  transform: translateY(0);

}

@media (max-width: 768px) {
  .assistant-popup {
    width: 180px;
    bottom: 70px;
  }
}



/* =========================
   MENU HAMBURGUESA
========================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:#F0F1F1;
    font-size:32px;
    cursor:pointer;
}

/* TABLETS Y MOVILES */
@media(max-width:768px){

    .header{
        padding:15px 20px;
    }

    .header .container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        position:relative;
        width:100%;
    }

    .logo{
        flex:1;
    }

    .logo img{
        height:55px;
        width:auto;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        width:auto !important;
        min-width:auto !important;
        padding:0 !important;
        margin:0 !important;
        position:absolute;
        right:0;
        top:50%;
        transform:translateY(-50%);
        z-index:1001;
    }

    .btn-nav{
        display:none;
    }

    nav{
        display:none;
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        gap:0;
        padding:15px 20px;
        border-radius:0 0 15px 15px;
        box-shadow:0 10px 25px rgba(0,0,0,.15);
        z-index:1000;
    }

    nav.active{
        display:flex;
    }

    nav a{
        color:var(--morado);
        padding:15px 0;
        border-bottom:1px solid #e5e5e5;
    }

    nav a:last-child{
        border-bottom:none;
    }
}
/* =========================
   FOOTER RESPONSIVE
========================= */

@media (max-width:768px){

    .footer{
        padding:30px 20px;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:20px;
    }

    .footer-super{
        position:static;
        transform:none;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        order:3; /* Lo coloca al final */
        margin-top:15px;
    }

    .footer-logo{
        position:static;
        width:160px;
        height:auto;
        margin-top:8px;
    }

    .footer-super p{
        margin:0;
        font-size:1rem;
        text-align:center;
        max-width:none;
        white-space:normal;
    }

    .footer-copy{
        order:1;
        text-align:center;
    }

    .social{
        order:2;
        margin-top:15px;
    }

}