:root {
    --primary: #FCD34D; /* Amarillo tránsito */
    --primary-hover: #FBBF24;
    --dark: #1F2937; /* Gris asfalto oscuro */
    --darker: #111827;
    --light: #F9FAFB;
    --bg-color: #F8F7F3; /* Fondo cremita suave */
    --text-main: #374151;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Tipografía */
h1, h2, h3, h4 { color: var(--darker); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 0.875rem; font-weight: 600; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem; }

/* Botones */
.btn-primary {
    background-color: var(--primary);
    color: var(--darker);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 500; }
.btn-outline-dark { border: 1px solid var(--dark); padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; display: inline-block; margin-top: 1rem; }
.btn-text { font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-text i { transition: transform 0.2s; }
.btn-text:hover i { transform: translateX(4px); }

/* Navegación */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; max-width: 1400px; margin: 0 auto; position: relative; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--darker); display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--primary); font-size: 1.5rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--dark); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--darker);
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-only { display: none; }
.desktop-only { display: inline-block; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 5% 6rem; max-width: 1400px; margin: 0 auto; align-items: center; }
.badge { display: inline-block; background: white; border: 1px solid var(--border); padding: 0.35rem 0.75rem; border-radius: 2rem; font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-bottom: 3rem; }
.social-proof { display: flex; align-items: center; gap: 1rem; }
.avatars { display: flex; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.875rem; border: 2px solid var(--bg-color); margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.social-proof p { font-size: 0.875rem; line-height: 1.2; margin: 0; }

.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 1rem; object-fit: cover; aspect-ratio: 4/3; }
.floating-badge { position: absolute; background: white; padding: 1rem; border-radius: 1rem; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 0.75rem; bottom: -20px; left: -20px; }
.floating-badge i { color: var(--primary); font-size: 2rem; }
.badge-title { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.badge-text { font-weight: 600; color: var(--darker); }
.badge-right { bottom: 40px; left: auto; right: -20px; background: var(--primary); flex-direction: column; text-align: center; gap: 0; padding: 1rem; }
.badge-right strong { font-size: 1.25rem; }

/* Secciones Generales */
section { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }

/* Sobre Mí */
.sobre-mi-section { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.sobre-mi-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sobre-mi-image { position: relative; }
/* AQUÍ ESTÁ LA CORRECCIÓN: aspect-ratio: 3/4 */
.sobre-mi-image img {
    width: 100%;
    max-height: 600px; /* Podés bajar este número (ej: 400px o 350px) para achicarla más */
    border-radius: 1.5rem;
    object-fit: cover;
    object-position: center top; /* Asegura que la cara y la mano queden siempre a la vista */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--darker); padding: 1rem 1.25rem; border-radius: 1rem; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.experience-badge strong { display: block; font-size: 1.75rem; line-height: 1; }
.experience-badge span { font-size: 0.8rem; font-weight: 700; }
.sobre-mi-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.sobre-mi-stats { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.stat-item strong { display: block; font-size: 1.75rem; color: var(--darker); }
.stat-item span { font-size: 0.875rem; color: var(--text-muted); }

/* Metodología (Fondo Oscuro) */
.metodo-section { background-color: var(--dark); color: white; max-width: 100%; padding: 6rem 5%; }
.metodo-header { max-width: 1400px; margin: 0 auto 4rem; }
.metodo-header h2 { color: white; }
.metodo-header p { color: #9CA3AF; max-width: 600px; font-size: 1.125rem; }
.metodo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; max-width: 1400px; margin: 0 auto; }
.metodo-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 2rem 2rem 4.5rem 2rem; border-radius: 1rem; position: relative; overflow: hidden; }
.metodo-card i { color: var(--primary); font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.metodo-card h3 { color: white; font-size: 1.25rem; margin-bottom: 0.75rem; }
.metodo-card p { color: #9CA3AF; font-size: 0.95rem; }
.card-number { position: absolute; bottom: 1.5rem; left: 2rem; font-weight: 700; color: var(--primary); opacity: 0.5; }

/* Videoteca */
.videos-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.video-card { background: white; border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s; cursor: pointer; }
.video-card:hover { transform: translateY(-5px); }
.video-thumbnail { height: 200px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.video-thumbnail::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.play-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); border: none; color: var(--darker); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: transform 0.2s; }
.video-card:hover .play-btn { transform: scale(1.1); }
.video-duration { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.7); color: white; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; z-index: 2; font-weight: 500; }
.video-info { padding: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.video-info h4 { font-size: 1rem; margin: 0; }
.video-info i { color: var(--primary-hover); }

/* Testimonios */
.section-center { text-align: center; margin-bottom: 3rem; }
.rating-overall { display: inline-flex; align-items: center; gap: 0.75rem; background: white; padding: 0.5rem 1rem; border-radius: 2rem; border: 1px solid var(--border); font-size: 0.875rem; font-weight: 500; margin-top: 1rem; }
.stars { color: var(--primary-hover); display: flex; gap: 0.25rem; }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonio-card { background: white; padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); }
.testimonio-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.badge-success { font-size: 0.75rem; color: var(--success); display: flex; align-items: center; gap: 0.25rem; font-weight: 600; }
.testimonio-card p { font-style: italic; margin: 1rem 0; color: var(--text-main); }
.testimonio-author strong { display: block; color: var(--darker); }
.testimonio-author span { font-size: 0.875rem; color: var(--text-muted); }

/* FAQ */
.faq-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem; background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--darker); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { transition: transform 0.3s ease; color: var(--primary-hover); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--bg-color); }
.faq-answer p { padding: 0 1.25rem 1.25rem; color: var(--text-muted); }

/* Footer */
.footer { background-color: var(--darker); color: white; padding: 4rem 5% 2rem; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { color: #9CA3AF; font-size: 0.875rem; margin-bottom: 1.5rem; max-width: 250px; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: white; font-size: 1.5rem; opacity: 0.8; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 1; color: var(--primary); }
.footer-links h4, .footer-contact h4 { font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: #9CA3AF; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact p { color: #9CA3AF; font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; color: #6B7280; font-size: 0.875rem; }

/* Botón WhatsApp */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.15); z-index: 100; transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 1024px) {
    .hero, .faq-section, .sobre-mi-container { grid-template-columns: 1fr; gap: 2.5rem; }
    h1 { font-size: 2.5rem; }
    .hero-image { margin-top: 2rem; }
    .experience-badge { right: 10px; bottom: -15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .desktop-only { display: none; }
    .mobile-only { display: block; width: 100%; margin-top: 0.5rem; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1.5rem 5%;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
        gap: 1.25rem;
        z-index: 99;
    }

    .nav-links.active { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .videos-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
/* Modal Reproductor de Video */
.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.85);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal-content {
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-header h4 {
    color: white;
    margin: 0;
    font-size: 1.05rem;
}

.video-modal-close {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.video-modal-close:hover {
    color: var(--primary);
}

#modal-video-player {
    width: 100%;
    max-height: 75vh;
    display: block;
    background: black;
}
.video-thumbnail video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-thumbnail::after {
    z-index: 1;
}
.videos-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
}

.videos-disclaimer i {
    color: var(--text-muted);
    font-size: 1rem;
}