/* ===== RESET GENERAL ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f4f6f9;
    color:#333;
    padding-top:100px;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===== HEADER ===== */
.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#0f2a44;
    padding:15px 0;
    z-index:1000;
}

.header-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    height:70px;
}

nav{
    display:flex;
    align-items:center;
}

nav a{
    color:white;
    margin:0 15px;
    text-decoration:none;
    font-weight:500;
}

/* ===== BOTONES ===== */
.btn{
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    margin-left:10px;
    display:inline-block;
}

.btn-primary{
    background:#25D366;
    color:white;
}

.btn-secondary{
    background:white;
    color:#0f2a44;
}

.big{
    padding:14px 22px;
}

/* ===== HERO ===== */
.hero{
    background:url('hero.png') center/cover no-repeat;
    height:100vh;
    display:flex;
}

.overlay{
    background:rgba(15,42,68,0.85);
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-content{
    color:white;
    text-align:center;
}

/* ===== SECCIONES ===== */
.section{
    padding:100px 0; /* ligeramente más aire */
    text-align:center;
}

.alt{
    background:#eef2f7;
}

/* ===== TITULOS DE CATEGORÍA ===== */
.categoria-titulo{
    font-size:32px;
    color:#0b1f3a;
    margin-top:90px;   /* espacio antes del título */
    margin-bottom:25px; /* espacio debajo del título */
    position:relative;
}

/* Línea azul decorativa */
.categoria-titulo::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:#1e73be;
    margin:15px auto 0 auto;
    border-radius:2px;
}

/* Evita margen extra en el primer título */
.section .categoria-titulo:first-child{
    margin-top:0;
}

/* ===== SERVICIOS ===== */
.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
    margin-bottom:60px; /* ESTE ES EL ESPACIO CLAVE ENTRE BLOQUES */
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    transition:0.4s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,0.12);
}

/* ===== PROYECTOS ===== */
.projects{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin-top:40px;
}

.project img{
    width:100%;
    border-radius:12px;
}

/* ===== VALORES ===== */
.valores{
    list-style:none;
    padding:0;
    margin-top:20px;
}

/* ===== TESTIMONIOS PREMIUM ===== */
.testimonios{
    padding:80px 20px;
    background-color:#f5f7fa;
}

.testimonios h2{
    text-align:center;
    font-size:32px;
    color:#0b1f3a;
    margin-bottom:50px;
}

.testimonios-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.testimonio-card{
    background:#ffffff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
    transition:0.3s ease;
}

.testimonio-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(0,0,0,0.1);
}

.estrellas{
    color:#f5b301;
    font-size:18px;
    margin-bottom:15px;
    letter-spacing:2px;
}

.testimonio-card p{
    font-size:16px;
    line-height:1.6;
    color:#444;
    margin-bottom:20px;
}

.cliente strong{
    display:block;
    color:#0b1f3a;
    font-size:15px;
}

.cliente span{
    font-size:14px;
    color:#777;
}

/* ===== SEO SECTION ===== */
.seo-section{
    padding:80px 20px;
    background-color:#f8f9fb;
}

/* ===== BOTÓN FLOTANTE ===== */
.float{
    position:fixed;
    bottom:25px;
    right:25px;
    background:#25D366;
    color:white;
    padding:15px 20px;
    border-radius:50px;
    text-decoration:none;
    z-index:999;
}

/* ===== ANIMACIONES ===== */
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

    body{
        padding-top:80px;
    }

    .header{
        padding:10px 0;
    }

    .header-content{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .logo{
        height:50px;
    }

    nav{
        display:flex;
        gap:12px;
    }

    nav a{
        margin:0;
        font-size:14px;
    }

    .btn{
        padding:8px 12px;
        font-size:13px;
        margin-left:6px;
    }

    .projects{
        grid-template-columns:1fr;
    }

    .hero{
        height:85vh;
    }

    .float{
        bottom:20px;
        right:20px;
        padding:14px 18px;
    }
}
/* ===== BOTÓN CHIMENEA ===== */
.chimenea-btn{
    display:inline-block;
    margin-top:30px;
    box-shadow:0 8px 20px rgba(37,211,102,0.25);
    transition:0.3s ease;
}

.chimenea-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(37,211,102,0.35);
}