/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#f5f5f5;
    color:#222;
}

/* =========================
   HEADER
========================= */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 40px;

    background:#ffffff;

    position:sticky;
    top:0;

    z-index:999;

    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

.contenedor-logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.contenedor-logo img{
    width:80px;
}

.logo-texto h1{
    font-family:'Cinzel',serif;
    color:#08152E;
    font-size:2rem;
}

.logo-texto p{
    color:#D76B2F;
    font-size:.8rem;
    letter-spacing:2px;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#08152E;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#D76B2F;
}

.btn-header{
    text-decoration:none;

    background:#D76B2F;
    color:white;

    padding:12px 20px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;
}

.btn-header:hover{
    background:#bb5d25;
}

/* =========================
   HERO
========================= */

.hero{
    position: relative;

    height: 750px;

    overflow: hidden;
}

@media(max-width:768px){

    .hero{
        min-height:100vh;
        height:auto;
    }

    .hero-texto{
        text-align:center;
    }

    .hero-texto h2{
        font-size:3rem;
    }

    .linea{
        margin:25px auto;
    }

}

.hero-imagen{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center center;
}

.hero{
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

@media(max-width:768px){

    .hero{
        min-height:100vh;
        height:auto;
    }

}


.hero-overlay{
    position:absolute;
    inset:0;

    background:rgba(8,21,46,0.75);
}

.hero-contenido{
    width:90%;
    max-width:1200px;

    margin:auto;
    height:100%;

    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
}

.hero-texto{
    max-width:700px;
    color:white;
}

.hero-texto h2{
    font-size:4rem;
    line-height:1.1;
}

.hero-texto span{
    display:block;
    color:#D76B2F;
}

.linea{
    width:120px;
    height:5px;

    background:#D76B2F;

    margin:25px 0;
}

.hero-texto p{
    font-size:1.2rem;
    line-height:1.8;

    margin-bottom:30px;
}

.btn-principal{
    display:inline-block;

    text-decoration:none;

    background:#D76B2F;
    color:white;

    padding:18px 35px;

    border-radius:12px;

    font-weight:700;

    transition:.3s;
}

.btn-principal:hover{
    transform:translateY(-3px);
}

/* =========================
   SERVICIOS
========================= */

.servicios{
    width:90%;
    max-width:1300px;

    margin:80px auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.servicio-card{
    background:white;

    border-radius:20px;

    padding:40px 25px;

    text-align:center;

    box-shadow:
    0 5px 20px rgba(0,0,0,.05);

    transition:.3s;
}

.servicio-card:hover{
    transform:translateY(-8px);

    box-shadow:
    0 10px 30px rgba(0,0,0,.12);
}

.servicio-card img{
    width:90px;

    margin-bottom:20px;

    transition:.3s;
}

.servicio-card:hover img{
    transform:scale(1.1);
}

.servicio-card h3{
    color:#08152E;

    margin-bottom:15px;

    font-family:'Cinzel',serif;
}

.servicio-card p{
    line-height:1.6;
}

/* =========================
   NOSOTROS
========================= */

.nosotros{
    width:90%;
    max-width:1200px;

    margin:100px auto;

    display:flex;
    align-items:center;
    gap:40px;
}

.nosotros img{
    width:400px;
    border-radius:15px;
}

.nosotros h2{
    font-family:'Cinzel',serif;

    color:#08152E;

    margin-bottom:20px;
}

.nosotros p{
    line-height:1.8;
}

/* =========================
   CTA
========================= */

.cta{
    width:90%;
    max-width:1200px;

    margin:80px auto;

    background:#08152E;

    border-radius:20px;

    padding:50px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cta h2{
    color:white;

    margin-bottom:10px;
}

.cta p{
    color:#d8d8d8;
}

.btn-whatsapp{
    text-decoration:none;

    background:#25D366;
    color:white;

    padding:18px 30px;

    border-radius:12px;

    font-weight:bold;

    transition:.3s;
}

.btn-whatsapp:hover{
    transform:scale(1.05);
}

/* =========================
   FOOTER
========================= */

footer{
    background:#08152E;

    text-align:center;

    padding:40px 20px;

    margin-top:80px;
}

.redes-sociales{
    display:flex;
    justify-content:center;

    gap:20px;

    margin-bottom:20px;
}

.redes-sociales img{
    width:55px;

    transition:.3s;
}

.redes-sociales img:hover{
    transform:scale(1.15);
}

footer p{
    color:white;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-float{
    position:fixed;

    bottom:25px;
    right:25px;

    width:70px;
    height:70px;

    border-radius:50%;

    background:#25D366;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:
    0 0 15px rgba(37,211,102,.6),
    0 0 30px rgba(37,211,102,.4);

    z-index:9999;
}

.whatsapp-float img{
    width:38px;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){

    header{
        flex-direction:column;
        gap:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-texto h2{
        font-size:2.8rem;
    }

    .nosotros{
        flex-direction:column;
        text-align:center;
    }

    .cta{
        flex-direction:column;
        gap:25px;
        text-align:center;
    }
}

@media(max-width:600px){

    .contenedor-logo{
        flex-direction:column;
        text-align:center;
    }

    .hero{
        height:auto;
        padding:100px 20px;
    }

    .hero-texto h2{
        font-size:2.2rem;
    }

    .hero-texto p{
        font-size:1rem;
    }

    .nosotros img{
        width:100%;
    }

    .btn-principal,
    .btn-whatsapp{
        width:100%;
        text-align:center;
    }

    .whatsapp-float{
        width:65px;
        height:65px;
    }

    .whatsapp-float img{
        width:35px;
    }
}
.btn-header,
.btn-principal{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.btn-header img,
.btn-principal img{
    width:30px;
    height:auto;
}
.btn-header img,
.btn-principal img{
    width:24px;
    height:24px;
    filter: brightness(0) invert(1);
}

.btn-whatsapp{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:12px;

    text-decoration:none;

    background:#6ECC67;

    color:white;

    padding:18px 30px;

    border-radius:12px;

    font-weight:700;

    transition:all .3s ease;

    box-shadow:
        0 0 10px rgba(37,211,102,.3);
}

.btn-whatsapp img{
    width:28px;
    height:28px;

    filter:brightness(0) invert(1);
}

.btn-whatsapp:hover{

    background:#25D366;

    transform:translateY(-3px);

    box-shadow:
        0 0 15px rgba(215,107,47,.5),
        0 0 30px rgba(215,107,47,.3);
}

.btn-whatsapp:active{

    background:#D76B2F;

    box-shadow:
        0 0 25px #D76B2F,
        0 0 50px #D76B2F,
        0 0 80px #D76B2F,
        0 0 120px #D76B2F;

    transform:scale(1.08);
}

.btn-whatsapp{
    animation: respirar 2.5s infinite;
}

@keyframes respirar{

    0%,100%{
        box-shadow:
            0 0 10px rgba(37,211,102,.3);
    }

    50%{
        box-shadow:
            0 0 20px rgba(37,211,102,.6);
    }
}
.btn-header,
.btn-principal{
    animation: respirarNaranjo 3s infinite;
}

@keyframes respirarNaranjo{

    0%,100%{
        box-shadow:
            0 0 5px rgba(215,107,47,.3);
    }

    50%{
        box-shadow:
            0 0 15px rgba(215,107,47,.6),
            0 0 30px rgba(215,107,47,.3);
    }
}

.btn-header:hover,
.btn-principal:hover{

    transform: translateY(-3px);

    box-shadow:
        0 0 20px rgba(215,107,47,.7),
        0 0 40px rgba(215,107,47,.4);
}

.btn-header:active,
.btn-principal:active{

    box-shadow:
        0 0 25px #D76B2F,
        0 0 50px #D76B2F,
        0 0 80px #D76B2F,
        0 0 120px #D76B2F;

    transform: scale(1.08);
}

.cta{
    background:#08152E;
}
.cta{
    width:90%;
    max-width:1200px;

    margin:80px auto;

    padding:50px;

    border-radius:20px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background-image:url("../img/Columnas.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    position:relative;
    overflow:hidden;
}
.cta::before{
    content:"";

    position:absolute;
    inset:0;

    background:rgba(8,21,46,.80);
}

.cta > *{
    position:relative;
    z-index:1;
}

.btn-whatsapp{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    text-decoration:none;

    color:white;

    padding:18px 35px;

    border-radius:12px;

    font-weight:700;
    font-size:1.1rem;

    background:linear-gradient(
        180deg,
        #8ED16F 0%,
        #69B64E 50%,
        #5A9E46 100%
    );

    border:2px solid rgba(255,255,255,.35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        0 0 10px rgba(37,211,102,.25);

    transition:all .3s ease;

    animation:respirarWhatsApp 3s infinite;
}
.btn-whatsapp img{
    width:28px;
    height:28px;

    filter:brightness(0) invert(1);
}
.btn-whatsapp:hover{

    background:linear-gradient(
        180deg,
        #7EE17E,
        #25D366,
        #1EA952
    );

    transform:translateY(-3px);

    box-shadow:
        0 0 20px rgba(37,211,102,.7),
        0 0 40px rgba(37,211,102,.5);
}
.btn-whatsapp:active{

    box-shadow:
        0 0 25px #25D366,
        0 0 50px #25D366,
        0 0 80px #25D366,
        0 0 120px #25D366;

    transform:scale(1.06);
}

@media(max-width:768px){

    nav{
        display:none;
    }

    .btn-header{
        display:none;
    }

}
@media(max-width:768px){

    .hero{
        min-height:80vh;
    }

    .hero-texto{
        text-align:center;
    }

    .hero-texto h2{
        font-size:3rem;
    }

    .linea{
        margin:25px auto;
    }

}
@media (max-width: 768px){

    nav{
        display: none !important;
    }

    .btn-header{
        display: none !important;
    }

}

@media (max-width: 768px){

    .contenedor-logo{
        display:flex;
        flex-direction:row !important;

        align-items:center;
        justify-content:center;

        gap:15px;

        text-align:left;
    }

    .contenedor-logo img{
        width:70px;
    }

    .logo-texto h1{
        font-size:2rem;
    }

    .logo-texto p{
        font-size:.75rem;
    }

}

@media (max-width: 768px){

    header{
        padding:15px;
    }

    .logo-texto h1{
        font-size:1.8rem;
    }

    .logo-texto p{
        letter-spacing:1px;
    }

}

.logo-texto h1{
    font-family:'Cinzel', serif;
    font-size:36px;
    font-weight:600;
    letter-spacing:1px;
    color:#071C36;
}
@media (max-width:768px){

    .logo-texto h1{
        font-size:2rem;
    }

}