/* ==========================================
   RESET GENERAL
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#eceff1;
    color:#2f2f2f;
    line-height:1.6;
}

/* ==========================================
   CONTENEDOR
========================================== */

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(12,12,12,.92);
    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

    box-shadow:0 4px 20px rgba(0,0,0,.25);

    transition:.3s;
}

/* ================= NAV ================= */

nav{
    max-width:1400px;
    margin:0 auto;
    padding:8px 60px;

    display:flex;
    align-items:center;
}

/* ================= LOGO ================= */

.logo{
    flex:1;
    display:flex;
    align-items:center;
}

.logo img{
    height:90px;
    width:auto;
    display:block;
    object-fit:contain;

    transition:.3s;
}

.logo img:hover{
    transform:scale(1.05);
}

/* ================= MENÚ ================= */

nav ul{
    display:flex;
    align-items:center;
    gap:38px;

    list-style:none;
}

nav ul li a{
    color:#fff;
    text-decoration:none;

    font-size:1rem;
    font-weight:600;

    position:relative;

    transition:.3s;
}

nav ul li a::after{
    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:#c9a64d;

    transition:.3s;
}

nav ul li a:hover,
nav ul li a.activo{
    color:#c9a64d;
}

nav ul li a:hover::after,
nav ul li a.activo::after{
    width:100%;
}

/* ==========================================
   HERO
========================================== */

.hero{
    position:relative;

    height:100vh;

    overflow:hidden;

    margin-top:120px;
}

/* ==========================================
   SLIDER
========================================== */

.slider{
    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    z-index:1;
}

.slide{
    position:absolute;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;

    transition:opacity 1s ease;
}

.slide.active{
    opacity:1;
}

/* ==========================================
   OVERLAY
========================================== */

.overlay{
    position:relative;

    z-index:2;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:20px;
}

.overlay h1{
    font-size:clamp(42px,7vw,80px);

    margin-bottom:20px;

    letter-spacing:2px;
}

.overlay p{
    font-size:22px;

    max-width:700px;
}

/* ==========================================
   BOTONES
========================================== */

.boton{
    display:inline-block;

    margin-top:30px;

    background:#c9a64d;
    color:white;

    text-decoration:none;

    padding:16px 35px;

    border:none;
    border-radius:8px;

    cursor:pointer;

    font-size:16px;
    font-weight:600;

    transition:.3s;
}

.boton:hover{
    background:#b89234;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,.20);
}

/* ==========================================
   SECCIONES GENERALES
========================================== */

section{
    padding:100px 0;
}

h2{
    text-align:center;

    font-size:42px;

    color:#111;

    margin-bottom:50px;
}
/* ==========================================
   NOSOTROS
========================================== */

#nosotros{
    background:#d9dde0;
    padding:100px 0;
}

#nosotros h2{
    text-align:center;
    margin-bottom:60px;
}

.nosotros-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.nosotros-imagen img{
    width:100%;
    height:500px;

    object-fit:cover;

    display:block;

    border-radius:15px;

    box-shadow:0 20px 45px rgba(0,0,0,.18);

    transition:.4s;
}

.nosotros-imagen img:hover{
    transform:scale(1.02);
}

.etiqueta{
    display:inline-block;

    color:#c9a64d;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:15px;
}

.nosotros-texto h3{
    font-size:42px;

    margin-bottom:25px;

    color:#222;
}

.nosotros-texto p{
    font-size:18px;

    line-height:1.9;

    color:#4a4a4a;

    margin-bottom:25px;
}

.nosotros-texto ul{
    list-style:none;

    display:grid;

    gap:15px;
}

.nosotros-texto li{
    background:#eef1f3;

    padding:18px 22px;

    border-radius:14px;

    font-size:17px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* ==========================================
   ¿POR QUÉ SIPZA?
========================================== */

#ventajas{
    background:#eceff1;
}

.beneficios{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;
}

.beneficio{
    background:#dde3e6;

    padding:40px 30px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 5px 20px rgba(0,0,0,.10);

    transition:.3s;
}

.beneficio:hover{
    transform:translateY(-8px);

    box-shadow:0 12px 25px rgba(0,0,0,.15);
}

.beneficio i{
    font-size:50px;

    color:#c9a64d;

    margin-bottom:20px;
}

.beneficio h3{
    margin-bottom:15px;

    color:#111;
}

.beneficio p{
    color:#555;
}

/* ==========================================
   SERVICIOS
========================================== */

#servicios{
    background:#eceff1;
}

.servicios-intro{
    text-align:center;

    max-width:700px;

    margin:0 auto 50px;

    color:#555;

    font-size:18px;
}

/* ==========================================
   TARJETAS
========================================== */

.cards{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;
}

.card{
    position:relative;

    height:280px;

    border-radius:20px;

    overflow:hidden;

    background-size:cover;
    background-position:center;

    text-decoration:none;

    color:inherit;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);

    box-shadow:0 15px 30px rgba(0,0,0,.20);
}

.card-overlay{
    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.80),
        rgba(0,0,0,.15)
    );

    display:flex;

    align-items:flex-end;

    padding:25px;
}

.card-overlay h3{
    color:white;

    font-size:24px;

    line-height:1.3;
}

.card::after{
    content:"Ver detalles";

    position:absolute;

    top:20px;
    right:20px;

    background:rgba(255,255,255,.95);

    color:#111;

    padding:8px 14px;

    border-radius:20px;

    font-size:14px;
    font-weight:600;

    opacity:0;

    transition:.3s;
}

.card:hover::after{
    opacity:1;
}

/* ==========================================
   DETALLE SERVICIOS
========================================== */

#detalle-servicios{
    background:#eceff1;
    padding:100px 0;
}

#detalle-servicios h2{
    text-align:center;

    font-size:42px;

    color:#111;

    margin-bottom:70px;
}

.detalle-servicio{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

    margin-bottom:80px;

    scroll-margin-top:120px;
}

.reverso .detalle-imagen{
    order:2;
}

.reverso .detalle-contenido{
    order:1;
}

.detalle-imagen{
    overflow:hidden;

    border-radius:20px;
}

.detalle-imagen img{
    width:100%;

    height:350px;

    object-fit:cover;

    display:block;

    border-radius:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    transition:transform .4s ease;
}

.detalle-imagen img:hover{
    transform:scale(1.04);
}

.detalle-contenido{
    background:#dde3e6;

    padding:40px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

    border-left:6px solid #c9a64d;
}

.detalle-contenido h3{
    font-size:32px;

    color:#111;

    margin-bottom:20px;
}

.detalle-contenido p{
    font-size:17px;

    line-height:1.8;

    color:#4f4f4f;

    margin-bottom:25px;
}

.detalle-contenido ul{
    list-style:none;
}

.detalle-contenido li{
    margin-bottom:14px;

    font-size:16px;

    color:#444;
}

.detalle-contenido li::before{
    content:"✓";

    color:#c9a64d;

    font-weight:bold;

    margin-right:12px;
}
/* ==========================================
   COTIZACIÓN
========================================== */

#cotizacion{
    background:#dde3e6;
    padding:100px 0;
}

.cotizacion-intro{
    max-width:700px;
    margin:0 auto 40px;

    text-align:center;

    color:#555;

    font-size:18px;
}

.formulario{
    max-width:800px;

    margin:0 auto;

    display:grid;

    gap:20px;
}

.formulario input,
.formulario textarea{
    width:100%;

    padding:16px;

    border:1px solid #c7cdd1;

    border-radius:12px;

    background:#f5f7f8;

    color:#333;

    font-size:16px;

    outline:none;

    transition:.3s;
}

.formulario textarea{
    resize:vertical;
    min-height:160px;
}

.formulario input:focus,
.formulario textarea:focus{
    border-color:#c9a64d;

    box-shadow:0 0 0 3px rgba(201,166,77,.15);
}

/* ==========================================
   CONTACTO
========================================== */

#contacto{
    background:#111;

    color:white;

    text-align:center;

    padding:80px 0;
}

#contacto h2{
    color:white;
}

#contacto p{
    margin:18px 0;

    font-size:18px;
}

#contacto i{
    color:#c9a64d;

    margin-right:10px;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    background:#0b0b0b;

    color:#bdbdbd;

    text-align:center;

    padding:25px 0;

    font-size:15px;
}

/* ==========================================
   WHATSAPP
========================================== */

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:32px;

    z-index:9999;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width:992px){

    .nosotros-grid,
    .detalle-servicio{
        grid-template-columns:1fr;
    }

    .reverso .detalle-imagen,
    .reverso .detalle-contenido{
        order:initial;
    }

    .beneficios{
        grid-template-columns:1fr 1fr;
    }
}

/* ==========================================
   RESPONSIVE CELULAR
========================================== */

@media (max-width:768px){

    header{
        position:relative;
    }

    nav{
        flex-direction:column;
        padding:15px 20px;
    }

    .logo{
        justify-content:center;
        margin-bottom:15px;
    }

    .logo img{
        height:65px;
    }

    nav ul{
        gap:15px;
        flex-wrap:wrap;
        justify-content:center;
    }

    nav ul li a{
        font-size:15px;
    }

    .hero{
        margin-top:0;
        height:80vh;
    }

    .overlay h1{
        font-size:38px;
    }

    .overlay p{
        font-size:17px;
    }

    h2{
        font-size:32px;
    }

    .nosotros-texto h3{
        font-size:30px;
    }

    .nosotros-imagen img{
        height:300px;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .beneficios{
        grid-template-columns:1fr;
    }

    .detalle-imagen img{
        height:250px;
    }

    .detalle-contenido{
        padding:25px;
    }
}

/* ==========================================
   CELULARES PEQUEÑOS
========================================== */

@media (max-width:480px){

    .overlay h1{
        font-size:30px;
    }

    .overlay p{
        font-size:15px;
    }

    .boton{
        width:100%;
        text-align:center;
    }

    .whatsapp{
        width:58px;
        height:58px;
        font-size:28px;
    }

    nav ul{
        gap:10px;
    }

    nav ul li a{
        font-size:14px;
    }
}