/* ===== RESET BÁSICO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #f7f7f7;
    color: #333;
}

/* ============================================================
   HEADER PRINCIPAL
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ===== EFECTO SHRINK AL HACER SCROLL ===== */
.header.shrink {
    padding: 8px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.shrink .logo-text {
    font-size: 1.6em;
}

.header.shrink .sub-text {
    font-size: 0.75em;
}

/* ===== LOGO COB ===== */
.logo-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3em;
    font-weight: 700;
    color: #007BBD;
    letter-spacing: 2px;
    transition: font-size 0.3s ease;
}

.sub-text {
    font-size: 0.9em;
    color: #555;
    margin-top: -4px;
    transition: font-size 0.3s ease;
}

/* ===== MENÚ ===== */
.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li a {
    text-decoration: none;
    font-size: 1em;
    color: #007BBD;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #005F8D;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    margin-top: 120px;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #e8f6ff, #ffffff);
}

.hero h2 {
    font-size: 2.5em;
    color: #007BBD;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
    color: #444;
}

/* ============================================================
   FOOTER CONTACTO
   ============================================================ */
.contacto {
    background: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #ddd;
}

.contacto h2 {
    font-size: 1.8em;
    color: #007BBD;
}

.contacto p {
    margin-top: 8px;
    font-size: 1em;
}

/* ============================================================
   BOTÓN WHATSAPP (SVG OPTIMIZADO)
   ============================================================ */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp img {
    width: 70%;
    height: 70%;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* ============================================================
   RESPONSIVE COMPLETO
   ============================================================ */
@media (max-width: 768px) {

    .header {
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
    }

    .header.shrink {
        padding: 6px 20px;
    }

    .logo-box {
        align-items: center;
    }

    .menu ul {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

    .logo-text {
        font-size: 2em;
    }

    .sub-text {
        font-size: 0.85em;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .whatsapp {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp img {
        width: 28px;
        height: 28px;
    }
}
