/* =========================================================
   JACHIN — HOME
   Estilos exclusivos de index.php
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root{
    --jachin-dorado:#C28436;
    --jachin-dorado-claro:#EBB567;
    --jachin-dorado-oscuro:#96560D;

    --jachin-oscuro:#0E0704;
    --jachin-crema:#F6F2E4;
    --jachin-gris:#5B5753;

    --jachin-blanco:#FFFFFF;
}


/* =========================================================
   BASE
========================================================= */

body{
    color:var(--jachin-oscuro);
    background:#fff;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar-custom{
    min-height:82px;
}

.marca-jachin{
    text-decoration:none;
    color:var(--jachin-oscuro);
}

.marca-jachin-principal{
    display:block;
    font-size:1.35rem;
    letter-spacing:.16rem;
    line-height:1;
    font-weight:800;
}

.marca-jachin-secundaria{
    display:block;
    margin-top:5px;
    font-size:.65rem;
    letter-spacing:.12rem;
    color:var(--jachin-dorado);
}

.navbar-custom .nav-link{
    font-weight:600;
    color:#403b36;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active{
    color:var(--jachin-dorado);
}


/* =========================================================
   BOTONES
========================================================= */

.btn-jachin{
    background:var(--jachin-dorado);
    border:1px solid var(--jachin-dorado);
    color:#fff;

    padding:12px 25px;
    border-radius:4px;

    font-weight:700;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.btn-jachin:hover{
    background:var(--jachin-oscuro);
    border-color:var(--jachin-oscuro);
    color:#fff;

    transform:translateY(-1px);
}

.btn-jachin-outline{
    background:transparent;
    border:1px solid var(--jachin-dorado);
    color:var(--jachin-dorado);

    padding:12px 25px;
    border-radius:4px;

    font-weight:700;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.btn-jachin-outline:hover{
    background:var(--jachin-dorado);
    color:#fff;

    transform:translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

/* =========================================================
   HERO
========================================================= */

.hero-jachin{
    position:relative;

    background:
        linear-gradient(
            90deg,
            #f6f2e4 0%,
            #f6f2e4 48%,
            #eee7d8 100%
        );

    overflow:hidden;
}

.hero-jachin .swiper-slide{
    display:flex;
    align-items:center;

    padding:42px 0 28px;
}

.hero-jachin .container{
    position:relative;
    z-index:2;
}

.hero-jachin-imagen{
    width:100%;
    height:420px;

    object-fit:cover;
    display:block;

    box-shadow:
        0 20px 50px
        rgba(14,7,4,.16);
}

.hero-jachin-contenido{
    padding:10px 25px 10px 0;
    max-width:650px;
}

.hero-jachin-etiqueta{
    display:inline-block;

    color:var(--jachin-dorado);

    font-size:.78rem;
    font-weight:800;

    letter-spacing:.22rem;
    text-transform:uppercase;

    margin-bottom:20px;

    position:relative;
    padding-left:42px;
}

.hero-jachin-etiqueta::before{
    content:"";

    position:absolute;

    left:0;
    top:50%;

    width:30px;
    height:2px;

    background:var(--jachin-dorado);

    transform:translateY(-50%);
}

.hero-jachin h1{
    font-size:
        clamp(
            3rem,
            5.2vw,
            5.4rem
        );

    line-height:.94;

    font-weight:800;

    letter-spacing:-.045em;

    margin-bottom:24px;

    color:var(--jachin-oscuro);
}

.hero-jachin p{
    color:var(--jachin-gris);

    font-size:1.05rem;

    line-height:1.7;

    max-width:560px;

    margin-bottom:28px;
}

.hero-jachin .btn{
    min-width:185px;
    text-align:center;
}

.hero-jachin .swiper-navigation{
    position:relative;

    z-index:5;

    height:38px;

    margin-top:0 !important;
}


/* =========================================================
   HERO — DESKTOP
========================================================= */

@media(min-width:992px){

    .hero-jachin .swiper-slide{
        padding:38px 0 22px;
    }

}


/* =========================================================
   HERO — TABLET
========================================================= */

@media(max-width:991px){

    .hero-jachin .swiper-slide{
        padding:40px 0 35px;
    }

    .hero-jachin-contenido{
        padding:10px 0;
    }

    .hero-jachin-imagen{
        height:380px;
    }

}


/* =========================================================
   HERO — MOBILE
========================================================= */

@media(max-width:576px){

    .hero-jachin .swiper-slide{
        padding:30px 0 25px;
    }

    .hero-jachin h1{
        font-size:
            clamp(
                2.65rem,
                12vw,
                4rem
            );
    }

    .hero-jachin p{
        font-size:1rem;
        line-height:1.65;
    }

    .hero-jachin-imagen{
        height:300px;
    }

    .hero-jachin .btn{
        width:100%;
    }

}


/* =========================================================
   SECCIONES
========================================================= */

.seccion-jachin{
    padding-top:90px;
    padding-bottom:90px;
}

.titulo-seccion{
    font-weight:800;
    line-height:1.05;
}

.subtitulo-seccion{
    color:var(--jachin-gris);
    max-width:650px;
}


/* =========================================================
   CATEGORÍAS
========================================================= */

.categoria-jachin{
    position:relative;
    overflow:hidden;
    background:#eee;
}

.categoria-jachin img{
    width:100%;
    height:300px;

    object-fit:cover;

    transition:
        transform .4s ease;
}

.categoria-jachin:hover img{
    transform:scale(1.04);
}

.categoria-overlay{
    position:absolute;
    inset:0;

    display:flex;
    align-items:flex-end;

    padding:25px;

    background:
        linear-gradient(
            transparent 35%,
            rgba(0,0,0,.75)
        );
}

.categoria-overlay h3{
    color:#fff;

    margin:0;

    font-weight:800;
}


/* =========================================================
   PERSONALIZACIÓN
========================================================= */

.personaliza-jachin{
    background:var(--jachin-crema);
}

.personaliza-jachin h2{
    font-weight:800;
}

.personaliza-lista{
    list-style:none;

    padding:0;
    margin:25px 0;
}

.personaliza-lista li{
    margin-bottom:12px;
    font-weight:600;
}

.personaliza-lista i{
    color:var(--jachin-dorado);
    margin-right:8px;
}


/* =========================================================
   PROYECTOS
========================================================= */

.proyecto-jachin{
    overflow:hidden;
}

.proyecto-jachin img{
    width:100%;
    height:330px;

    object-fit:cover;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-jachin{
    background:var(--jachin-oscuro);
    color:#fff;
}

.footer-jachin a{
    color:#ddd;
    text-decoration:none;

    transition:
        color .2s ease;
}

.footer-jachin a:hover{
    color:#fff;
}


/* =========================================================
   RESPONSIVE — HERO
========================================================= */

@media(max-width:991px){

    .hero-jachin .swiper-slide{
        min-height:auto;
        padding:45px 0 60px;
    }

    .hero-jachin-contenido{
        padding:15px 0 10px;
    }

    .hero-jachin-imagen{
        height:420px;
    }

}


@media(max-width:576px){

    .hero-jachin .swiper-slide{
        padding:30px 0 45px;
    }

    .hero-jachin h1{
        font-size:
            clamp(
                2.65rem,
                12vw,
                4rem
            );
    }

    .hero-jachin p{
        font-size:1rem;
        line-height:1.65;
    }

    .hero-jachin-imagen{
        height:300px;
    }

    .hero-jachin .btn{
        width:100%;
    }

}