/* ========================= */
/*        RESET BASICO       */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
}



/* ===== HEADER NUEVO ===== */

.header {
    width: 100%;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: #4cc9f0;
}

.phone {
    color: #ffffff;
    font-size: 14px;
}

.phone strong {
    color: #4cc9f0;
}



/* ========================= */
/*          HERO             */
/* ========================= */
.contact-hero {
    width: 100%;
    text-align: center;
    padding: 80px 20px;
    background: url("/img/hero2.png") no-repeat center center/cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.8;
}






/* ========================= */
/*    CONTENEDOR CONTACTO    */
/* ========================= */
.contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}



/* ========================= */
/*      INFO DE CONTACTO     */
/* ========================= */
.contact-info {
    background: #111;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-info h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.info-block {
    margin-bottom: 25px;
}

.info-title {
    font-size: 16px;
    color: #4cc9f0;
    margin-bottom: 6px;
}

.contact-info p {
    margin-bottom: 4px;
    opacity: 0.9;
}



/* ========================= */
/*        FORMULARIO         */
/* ========================= */
.contact-form {
    background: #111;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-form h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    opacity: 0.9;
}

input, textarea {
    width: 100%;
    padding: 12px;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: #4cc9f0;
    box-shadow: 0 0 8px rgba(76, 201, 240, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: #4cc9f0;
    border: none;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-submit:hover {
    background: #38a8cf;
}



/* ========================= */
/*  BOTÓN FLOTANTE WHATSAPP  */
/* ========================= */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: 0.3s ease;
}

.whatsapp-button img {
    width: 35px;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}



/* ========================= */
/*         RESPONSIVE        */
/* ========================= */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .header .container {
        flex-direction: column;
        gap: 10px;
    }

    .navbar a {
        margin-left: 15px;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 16px;
    }
}

/* ===== MENÚ RESPONSIVE ===== */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Para móviles */
@media (max-width: 900px) {

    /* Ocultar teléfono */
    .phone {
        display: none;
    }

    /* Botón hamburguesa visible */
    .menu-toggle {
        display: block;
    }

    /* Navbar pasa a menú vertical */
    .navbar {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: rgba(10,10,10,0.95);
        padding: 25px 0;
        display: none;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .navbar a {
        font-size: 18px;
    }

    /* Cuando esté activo */
    .navbar.active {
        display: block;
        animation: fadeMenu 0.3s ease;
    }

    @keyframes fadeMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Logo más pequeño */
    .logo img {
        height: 42px;
    }
}
