/* ============================================================
   1. ESTILOS GENERALES Y BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* ============================================================
   2. NAVEGACIÓN (MENÚ)
   ============================================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

/* El botón hamburguesa está oculto en PC */
.menu-toggle {
    display: none;
}

/* ============================================================
   3. ESTILO TIPO FUNDACIÓN (SERVICIOS)
   ============================================================ */
.hero-service {
    background-color: #fdfaf8;
    padding: 120px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid #f2efed;
}

.hero-service h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.hero-service p {
    font-size: 1rem;
    color: #bc937e;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.content-grid {
    display: flex;
    gap: 80px;
    margin-top: 60px;
    align-items: flex-start;
}

.text-side { flex: 1.2; }
.image-side { flex: 0.8; }

.image-side img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pregunta-titulo {
    font-size: 1.8rem;
    font-weight: 400;
    color: #bc937e;
    margin: 45px 0 20px 0;
}

.text-side p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

/* ============================================================
   4. FORMULARIO Y BOTONES
   ============================================================ */
.form-completo {
    max-width: 500px;
    margin: 40px auto 0;
}

input, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.btn-black {
    display: inline-block;
    padding: 18px 60px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
}

/* ============================================================
   5. RESPONSIVO (MÓVIL) - AQUÍ ESTABA EL ERROR
   ============================================================ */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row; /* Asegura que logo y menú estén en la misma línea */
        justify-content: space-between;
        padding: 15px 5%;
    }

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: #000;
        transition: 0.3s;
    }

    /* Menú lateral móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto */
        width: 85%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0; /* Aparece */
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul li {
        margin: 20px 0;
    }

    .nav-menu ul li a {
        font-size: 1.4rem;
    }

    /* Ajustes de contenido en móvil */
    .hero-service h1 { font-size: 2.2rem; }
    .content-grid { flex-direction: column-reverse; gap: 40px; }
    .text-side p { text-align: left; }
}