/*
Theme Name: Ojanco Web
Theme URI: https://ojancopublicidad.cl
Description: Tema personalizado para OJANCO.
Version: 1.0
Text Domain: ojanco
*/


/*==============================
        RESET GENERAL
===============================*/
/*=============================
        GENERALES
=============================*/

.container{

    width:90%;
    max-width:1320px;
    margin:auto;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat', sans-serif;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button{
    border:none;
    cursor:pointer;
    font-family:inherit;
}

section{
    width:100%;
}

/*==============================
        VARIABLES
===============================*/

:root{

    --verde:#8CCB00;
    --negro:#1F2430;
    --gris:#666666;
    --gris-claro:#F5F5F5;
    --blanco:#FFFFFF;

    --radio:22px;

    --sombra:0 10px 30px rgba(0,0,0,.08);

}

/*=============================
            HEADER
=============================*/

.header{

    width:100%;
    background:#1f2430;
    position:sticky;
    top:0;
    z-index:999;

}

.header .container{

    height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo img {
    width: 170px;      /* Más pequeño */
    margin-top: 1px; /* Baja el logo */
}

.menu{

    display:flex;

    gap:45px;

}

.menu a{

    color:#fff;

    font-size:15px;

    font-weight:700;

    transition:.3s;

    position:relative;

}

.menu a:hover{

    color:var(--verde);

}

.menu a.active{

    color:var(--verde);

}

.menu a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    background:var(--verde);

    border-radius:20px;

}

.btn-whatsapp{

    background:var(--verde);

    color:#fff;

    padding:15px 28px;

    border-radius:15px;

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:700;

    transition:.3s;

}

.btn-whatsapp:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(0,0,0,.18);

}

/*====================================

            HERO

=====================================*/

#hero{

    padding:90px 0;

}

.hero-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;

}

.hero-gallery .wide{
    grid-column: span 2;
    height:130px; /* o el valor que quieras */
}


.subtitle{

    color:var(--verde);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.hero-text h1{

    margin:20px 0;

    font-size:78px;

    line-height:0.95;

    font-weight:900;

    color:#1f2430;

}

.hero-text span{

    color:var(--verde);

}

.hero-text p{

    margin:35px 0;

    max-width:520px;

    font-size:19px;

    color:#666;

    line-height:1.7;

}

.btn-principal{

    display:inline-block;

    background:var(--verde);

    color:white;

    padding:18px 34px;

    border-radius:16px;

    font-weight:700;

    transition:.3s;

}

.btn-principal:hover{

    transform:translateY(-5px);

}

.hero-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.hero-gallery img{

    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:20px;
    transition:.4s;
    box-shadow:var(--sombra);

}

.hero-gallery img:hover{

    transform:scale(1.05);

}

.hero-gallery .wide{

    grid-column:span 2;
    height:130px;

}

#hero{
    padding:50px 0;
    background:white;

    scroll-margin-top:10px;
}

/*====================================

        SOBRE OJANCO

=====================================*/

#nosotros-home{

    padding:120px 0;

    background:white;

}

.nosotros-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.nosotros-img img{

    width:100%;

    border-radius:30px;

    display:block;

    box-shadow:var(--sombra);

    object-fit:cover;

    height:620px;

}

.nosotros-info h2{

    margin:18px 0 35px;

    font-size:60px;

    line-height:1;

    color:#20252f;

}

.nosotros-info strong{

    color:var(--verde);

}

.nosotros-info p{

    margin-bottom:25px;

    font-size:19px;

    line-height:1.8;

    color:#666;

}

.nosotros-info blockquote{

    margin-top:45px;

    padding-left:25px;

    border-left:5px solid var(--verde);

    font-size:22px;

    font-weight:700;

    color:#20252f;

    font-style:italic;

}

#nosotros{
    padding:70px 0;
    background:white;

    scroll-margin-top:10px;
}

/*====================================

        SERVICIOS

=====================================*/

#servicios{

    padding:70px 0;
    background:#fafafa;

}

.section-title{

    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-bottom:70px;
    gap:50px;

}

.section-title span{

    color:var(--verde);
    font-weight:700;

}

.section-title h2{

    margin-top:10px;
    font-size:55px;
    line-height:1;
    color:#1f2430;

}

.section-title strong{

    color:var(--verde);

}

.section-title p{

    max-width:420px;
    color:#666;
    line-height:1.7;

}

/*----------------------------

    Tarjetas

-----------------------------*/

.cards-servicios{

    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;

}

.card{

    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:var(--sombra);
    transition:.35s;
    position:relative;

    display:flex;
    flex-direction:column;

}

.card:hover{

    transform:translateY(-12px);

}

/*----------------------------

    Icono

-----------------------------*/

.icono{

    width:70px;
    height:70px;

    border-radius:50%;
    background:white;

    position:absolute;
    top:15px;
    right:15px;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 8px 20px rgba(0,0,0,.1);

    z-index:20;

}

.icono img{

    width:75%;
    height:75%;
    object-fit:contain;
    display:block;

}

/*----------------------------

    Imagen normal

-----------------------------*/

.card > img{

    width:100%;
    height:220px;
    object-fit:cover;
    display:block;

}

/*----------------------------

    Slider Diseño Gráfico

-----------------------------*/

.slider-card{

    position:relative;
    width:100%;
    height:220px;
    overflow:hidden;

}

.slider-card img{

    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    opacity:0;

    transition:opacity .5s ease,
               transform .4s ease;

}

.slider-card img.active{

    opacity:1;

}

.card:hover .slider-card img.active{

    transform:scale(1.05);

}

/*----------------------------

    Contenido

-----------------------------*/

.contenido{

    padding:28px;

    flex:1;

    display:flex;
    flex-direction:column;

}

.contenido h3{

    margin-bottom:15px;
    font-size:22px;

}

.contenido p{

    color:#666;
    line-height:1.7;

}

/*----------------------------

    Botón

-----------------------------*/

.servicios-boton{

    margin-top:60px;
    text-align:center;

}

/*====================================

        CLIENTES

=====================================*/

#clientes-tipo{

    padding:70px 0;

    background:#fafafa;

}

.cliente-item{

    display:grid;

    grid-template-columns:1.1fr 1fr;

    align-items:center;

    gap:70px;

    margin-bottom:90px;

}

.cliente-item:last-child{

    margin-bottom:0;

}

.cliente-item.reverse{

    grid-template-columns:1fr 1.1fr;

}

.cliente-item.reverse .cliente-img{

    order:2;

}

.cliente-item.reverse .cliente-info{

    order:1;

}

.cliente-img{

    overflow:hidden;

    border-radius:30px;

    box-shadow:var(--sombra);

}

.cliente-img img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.5s;

}

.cliente-item:hover img{

    transform:scale(1.08);

}

.cliente-info span{

    display:inline-block;

    color:var(--verde);

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:15px;

}

.cliente-info h3{

    font-size:42px;

    line-height:1.1;

    margin-bottom:25px;

    color:#1f2430;

}

.cliente-info p{

    font-size:18px;

    line-height:1.8;

    color:#666;

    margin-bottom:35px;

    max-width:520px;

}

/*====================================

        ESTADÍSTICAS

=====================================*/

#estadisticas{

    background:#1f2430;

    padding:60px 0;

    color:white;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

}

.stat{

    display:flex;

    align-items:center;

    gap:20px;

    border-right:1px solid rgba(255,255,255,.15);

    padding-right:25px;

}

.stat:last-child{

    border-right:none;

}

.stat svg{
    width:100px;
    height:100px;
}

.stat-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:rgba(140,203,0,.15);

    color:var(--verde);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

}

.stat h3{

    font-size:38px;

    margin-bottom:5px;

}

.stat p{

    color:#cfcfcf;

}

/*====================================

        CTA

=====================================*/

#contacto{

    padding:60px 0;

    background:#ffffff;

}

.cta{

    background:linear-gradient(135deg,var(--verde),#7ab400);

    border-radius:25px;

    padding:70px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    position:relative;

    overflow:hidden;

    margin-bottom:-60px;

}

/* Barras decorativas */

.cta::before{

    content:"";

    position:absolute;

    right:-50px;

    top:-50px;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.cta::after{

    content:"";

    position:absolute;

    right:80px;

    bottom:-60px;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.cta-text{

    max-width:650px;

    position:relative;

    z-index:2;

}

.cta-text span{

    color:white;

    font-weight:700;

    letter-spacing:2px;

}

.cta-text h2{

    margin:20px 0;

    font-size:58px;

    line-height:1;

    color:white;

}

.cta-text p{

    color:white;

    line-height:1.8;

    opacity:.9;

}

.btn-dark{

    display:inline-block;

    padding:20px 38px;

    background:#1f2430;

    color:white;

    border-radius:18px;

    font-weight:700;

    transition:.3s;

    position:relative;

    z-index:2;

}

.btn-dark:hover{

    transform:translateY(-5px);

    background:#111;

}

/*====================================

            FOOTER

=====================================*/

footer{

    background:#1f2430;

    color:white;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:60px;

    padding:80px 0;

}

.footer-logo{

    width:170px;

    margin-bottom:25px;

}

.footer-col p{

    color:#bfbfbf;

    line-height:1.8;

}

.footer-col h4{

    margin-bottom:20px;

    font-size:20px;

}

.footer-col ul{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-col a{

    color:#bfbfbf;

    transition:.3s;

}

.footer-col a:hover{

    color:var(--verde);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-copy{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 0;

}

.footer-copy p{

    color:#bfbfbf;

}

.redes{

    display:flex;

    gap:25px;

}

.redes a{

    color:white;

    transition:.3s;

}

.redes a:hover{

    color:var(--verde);

}

.footer-contacto li img{
    width:22px;
    height:22px;
    flex-shrink:0;
    object-fit:contain;
    margin-right:10px;
    
}

footer li img{
    width:20px;
    height:20px;
    margin-right:10px;
    vertical-align:middle;
}

.footer-contacto li{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

/*=====================================

        MODAL CONTACTO

======================================*/

.modal-contacto{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.65);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:9999;

    padding:25px;

}

.modal-contacto.active{

    display:flex;

}

.modal-box{

    background:white;

    width:100%;
    max-width:600px;

    border-radius:25px;

    padding:45px;

    position:relative;

    animation:aparecer .3s ease;

}

@keyframes aparecer{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.modal-box small{

    color:#8CD600;

    font-weight:700;

    letter-spacing:2px;

}

.modal-box h2{

    font-size:48px;

    margin:15px 0;

    color:#202430;

}

.modal-box p{

    color:#666;

    margin-bottom:30px;

    line-height:1.7;

}

.modal-box form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.modal-box input,

.modal-box textarea{

    border:1px solid #ddd;

    border-radius:12px;

    padding:18px;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.modal-box input:focus,

.modal-box textarea:focus{

    border-color:#8CD600;

}

.modal-box button{

    background:#8CD600;

    color:white;

    border:none;

    border-radius:12px;

    padding:18px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.modal-box button:hover{

    background:#78bb00;

}

.cerrar{

    position:absolute;

    top:20px;

    right:25px;

    font-size:35px;

    cursor:pointer;

    color:#999;

}

.cerrar:hover{

    color:#222;

}

/*=============================
     Page-planificar pedido
=============================*/

#planificar-pedido{

    padding:120px 0;

}

.hero-pedido{

    text-align:center;
    margin-bottom:70px;

}

.hero-pedido span{

    color:var(--verde);
    font-weight:700;

}

.hero-pedido h1{

    margin-top:15px;
    font-size:56px;

}

.hero-pedido p{

    max-width:700px;
    margin:25px auto 0;

}

