/* ===== RESPONSIVE GENERAL ===== */
@media (max-width: 1200px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .about-content,
    .booty90-content,
    .contact-content,
    .plan-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-container {
        text-align: center;
    }
    
    .values-grid,
    .booty90-features,
    .plan-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MÓVIL (≤768px) ===== */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    section {
        padding: 80px 0;
    }
    
    h1 { 
        font-size: 2.8rem; 
        line-height: 1.1;
    }
    h2 { 
        font-size: 2.3rem; 
        margin-bottom: 2rem;
    }
    h3 { font-size: 2rem; }
    .hero h1 { font-size: 3rem; }
    .slogan { 
        font-size: 1.6rem; 
        letter-spacing: 2px;
    }
    
    .hero {
        min-height: 600px;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    .values-grid,
    .booty90-features,
    .plan-features {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card,
    .booty90-plan,
    .plan-details {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .plan-price {
        font-size: 2.8rem;
    }
    
    .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }
    
    .hero-video-container::after {
        opacity: 0.3;
    }
    
    section:first-of-type {
        padding-top: 90px;
    }
    
    /* ===== HEADER EN MÓVIL ===== */
    header {
        height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav-container {
        display: grid;
        grid-template-columns: 40px 1fr 100px;
        align-items: center;
        gap: 10px;
        height: 80px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    /* 1. Menú hamburguesa a la IZQUIERDA */
    .menu-toggle {
        display: block;
        grid-column: 1;
        justify-self: start;
        font-size: 1.5rem;
    }
    
    /* 2. Logo en el CENTRO */
    .logo-container {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }
    
    .logo-img {
        height: 50px;
        max-width: 100px;
        object-fit: contain;
    }
    
    /* 3. Switch tema a la DERECHA */
    .theme-switch-container {
        grid-column: 3;
        justify-self: end;
        margin: 0;
        min-width: auto;
    }
    
    .theme-switch-header {
        padding: 5px 8px;
        transform: scale(0.9);
    }
    
    /* Navegación móvil - Menú desplegable (SIN ESPACIO DEBAJO) */
    .nav-center {
        position: fixed;
        top: 80px; /* Justo debajo del header, sin espacio */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primario);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    body.modo-claro .nav-center {
        background: var(--bg-secundario);
    }
    
    .nav-center.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 300px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    body.modo-claro .nav-links li {
        border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    }
    
    .nav-links a {
        display: block;
        padding: 20px 15px;
        font-size: 1.1rem;
        letter-spacing: 2px;
        text-align: center;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover {
        background: rgba(255, 215, 0, 0.1);
    }
    
    body.modo-claro .nav-links a:hover {
        background: rgba(184, 134, 11, 0.1);
    }
    
    .btn-contacto {
        margin: 20px auto 0;
        display: block;
        width: 200px;
        text-align: center;
    }
    
    header.scrolled {
        height: 70px;
    }
    
    header.scrolled .logo-img {
        height: 45px;
    }
    
    /* Ajustar el padding del body cuando el header está scrolleado */
    body.scrolled {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { 
        font-size: 2.3rem; 
        margin-bottom: 1rem;
    }
    h2 { 
        font-size: 2rem; 
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    h3 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.5rem; }
    .slogan { 
        font-size: 1.4rem; 
        letter-spacing: 2px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
        max-width: 280px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column a:hover {
        padding-left: 0;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .slogan {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes adicionales del header para móvil pequeño */
    .nav-container {
        padding: 0 10px;
        grid-template-columns: 35px 1fr 90px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 90px;
    }
    
    .menu-toggle {
        font-size: 1.3rem;
    }
    
    .theme-switch-header {
        padding: 4px 6px;
        transform: scale(0.85);
    }
    
    .theme-switch-header i {
        font-size: 0.8rem;
    }
    
    .switch {
        width: 40px;
        height: 20px;
    }
    
    .slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .slider:before {
        transform: translateX(22px);
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 18px 15px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE PARA HERO ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero .lead {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* Ajuste para landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* ===== RESPONSIVE PARA SOBRE MÍ ===== */
@media (max-width: 1200px) {
    .about-content {
        gap: 40px;
    }
    
    .about-text h3 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
        margin: 0 auto;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about h2 {
        margin-bottom: 30px;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
}

/* Ajuste para modo claro en móviles */
@media (max-width: 768px) {
    body.modo-claro .about {
        background: linear-gradient(135deg, var(--dorado-calido) 0%, var(--dorado) 100%);
    }
}

/* ===== RESPONSIVE PARA PLANES ===== */
@media (max-width: 1200px) {
    .plan-content,
    .booty90-content {
        gap: 40px;
    }
    
    .plan-text h3 {
        font-size: 1.8rem;
    }
    
    .plan-details h3,
    .booty90-plan h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .plan-detalle,
    .booty90 {
        padding: 80px 0;
    }
    
    .plan-content,
    .booty90-content {
        text-align: center;
    }
    
    .plan-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .plan-detalle,
    .booty90 {
        padding: 60px 0;
    }
    
    .plan-header h2,
    .booty90-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .plan-header .lead,
    .booty90-header .lead {
        font-size: 1.1rem;
    }
}

/* Ajuste para modo claro en móviles */
@media (max-width: 768px) {
    body.modo-claro .plan-detalle,
    body.modo-claro .booty90 {
        background: linear-gradient(135deg, var(--dorado-calido) 0%, var(--dorado) 100%);
    }
    
    body.modo-claro .plan-feature-item,
    body.modo-claro .feature-item {
        background: rgba(255, 255, 255, 0.95);
    }
    
    body.modo-claro .plan-details,
    body.modo-claro .booty90-plan {
        background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,240,240,0.98));
    }
}

/* ===== RESPONSIVE PARA BOOTY90 ===== */
@media (max-width: 1200px) {
    .booty90-content {
        gap: 40px;
    }
    
    .booty90-text h3 {
        font-size: 1.8rem;
    }
    
    .booty90-plan h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .booty90 {
        padding: 80px 0;
    }
    
    .booty90-content {
        text-align: center;
    }
    
    .booty90-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .booty90 {
        padding: 60px 0;
    }
    
    .booty90-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .booty90-header .lead {
        font-size: 1.1rem;
    }
}

/* Ajuste para modo claro en móviles - Booty90 */
@media (max-width: 768px) {
    body.modo-claro .booty90 {
        background: linear-gradient(135deg, var(--dorado-calido) 0%, var(--dorado) 100%);
    }
    
    body.modo-claro .feature-item {
        background: rgba(255, 255, 255, 0.95);
    }
    
    body.modo-claro .booty90-plan {
        background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,240,240,0.98));
    }
}

/* ===== RESPONSIVE PARA TESTIMONIOS ===== */
@media (max-width: 1200px) {
    .testimonials-slider {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 992px) {
    .testimonials {
        text-align: center;
    }
}

/* Ajuste para modo claro en móviles */
@media (max-width: 768px) {
    body.modo-claro .testimonials {
        background: linear-gradient(135deg, var(--negro-profundo) 0%, var(--negro) 100%);
    }
    
    body.modo-claro .testimonial-card {
        background: rgba(0, 0, 0, 0.85);
    }
}

/* ===== RESPONSIVE PARA CONTACTO ===== */
@media (max-width: 1200px) {
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .contact {
        text-align: center;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

/* Ajuste para modo claro en móviles */
@media (max-width: 768px) {
    body.modo-claro .contact {
        background: linear-gradient(135deg, var(--dorado-calido) 0%, var(--dorado) 100%);
    }
    
    body.modo-claro .contact-method {
        background: rgba(255, 255, 255, 0.95);
    }
    
    body.modo-claro .contact-form {
        background: rgba(255, 255, 255, 0.95);
    }
    
    body.modo-claro .contact-icon {
        background: linear-gradient(135deg, var(--negro), var(--gris-oscuro));
        color: var(--dorado);
    }
}