/* ================= VARIABLES Y RESET ================= */
:root {
    /* Paleta de Colores Elegante */
    --primary-color: #CFB997; /* Tono dorado/beige para acentos */
    --secondary-color: #1A2B3C; /* Azul marino profundo para textos y fondos oscuros */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #F9F8F4; /* Un crema muy suave para fondos claros */
    --white: #ffffff;
    
    /* Tipografías */
    --font-heading: 'Playfair Display', serif; /* Elegante para títulos */
    --font-body: 'Montserrat', sans-serif; /* Limpia para lectura */
    
    /* Espaciado y Layout */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Tipografía General */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

p.lead-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
}

/* Utilidades de Layout */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.narrow-container {
    max-width: 800px;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); }
.text-white { color: var(--text-light) !important; }
.text-white-50 { color: rgba(255,255,255,0.7) !important; }
.text-center { text-align: center; }

/* ================= BOTONES ================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #bda380; /* Un tono más oscuro al hover */
}

.btn-nav {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ================= NAVBAR ================= */
#navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95); /* Ligeramente transparente */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

nav a:not(.btn) {
    margin-left: 25px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ================= HERO SECTION (Específico para tu imagen) ================= */
.hero-section {
    padding-top: 140px; /* Espacio para el navbar fijo */
    padding-bottom: 50px;
    position: relative;
    overflow: hidden; /* Para que la imagen no se salga si es muy grande */
    min-height: 90vh; /* Ocupa casi toda la pantalla inicial */
    display: flex;
    align-items: center;
}

/* Fondo decorativo */
.hero-background-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    /* Degradado suave que se verá detrás de tu PNG transparente */
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8e0d5 100%);
    z-index: -1; /* Detrás del contenido */
    border-bottom-left-radius: 200px; /* Forma curva opcional */
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1; /* Toma el espacio disponible */
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-cta-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.scarcity-text {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* ESTILOS PARA TU IMAGEN DEL HERO */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Alinea la imagen a la derecha */
    position: relative;
    
}
.tamanoImagen{
    max-width: 100%;
};

/* Esta clase se aplicará a tu etiqueta <img> cuando la pongas */
.mentor-full-body {
    max-width: 100%;
    height: auto;
    /* Altura máxima sugerida para que no sea gigante en pantallas grandes */
    max-height: 700px; 
    display: block;
    /* Un pequeño filtro de sombra puede ayudar a que resalte del fondo */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}
/* Guía temporal (borrar luego) */
.image-placeholder-guide span { display: block; }


/* ================= OTRAS SECCIONES ================= */

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pain-point {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pain-point h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Bio Grid */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bio-placeholder-img {
    border-radius: 8px;
}

/* Método Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.method-step {
    position: relative;
    padding: 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(207, 185, 151, 0.2); /* Color primario muy transparente */
    position: absolute;
    top: -20px;
    left: 10px;
    z-index: 0;
}

.method-step h3, .method-step p {
    position: relative;
    z-index: 1;
}

/* Testimonios */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.author-info p {
    font-size: 0.85rem;
    color: #666;
}

/* CTA Final - Offer Box */
.offer-box {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.benefits-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 30px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.small-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 40px 0;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

/* ================= MEDIA QUERIES (Adaptación a Móviles) ================= */
@media (max-width: 968px) {
    nav a{ display: none; } /* Ocultar enlaces simples en menú móvil y este :not(.btn)  */
    
    .hero-grid, .bio-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        text-align: center;
    }

    .hero-section {
        /* En móvil, invertimos el orden: primero texto, luego imagen abajo */
        align-items: flex-start; 
        padding-top: 100px;
    }
    
    /* OPCIONAL: Si prefieres que en móvil la imagen salga PRIMERO que el texto, 
       descomenta las siguientes líneas */
    /* .hero-grid {
        flex-direction: column-reverse; 
    } */
    

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-cta-group {
        align-items: center; /* Centrar botón en móvil */
    }

    .hero-image-container {
        justify-content: center; /* Centrar imagen en móvil */
        width: 100%;
    }

    .mentor-full-body {
        max-height: 400px; /* Limitar altura en móvil */
        width: 90%; /*Cambia el anchomdel movil*/
        height: auto;     /* Mantiene la proporción */
        object-fit: contain; /* Asegura que la imagen quepa completa */
    }
    
    .hero-background-shape {
        width: 100%; /* Fondo completo en móvil */
        height: 100%; /* Solo la mitad inferior */
        top: auto;
        bottom: 0;
        border-bottom-left-radius: 0;
    }

    h1 { font-size: 2rem; }
    h2.section-title { font-size: 1.8rem; }
}