/* ===================================
   Lucero Zambrano - Responsive Styles
   =================================== */

/* === LARGE DESKTOP (≥ 1200px) === */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* === TABLET (576px - 991px) === */
@media (max-width: 991px) {
    /* Header */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    /* Sections */
    section {
        padding: var(--section-padding-mobile) 0;
    }

    /* Banner Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    /* Banner Quién Soy */
    .profile-image-wrapper {
        margin-bottom: 30px;
    }

    .certifications {
        justify-content: center;
    }

    /* Timeline */
    .timeline::before {
        left: 35px;
    }

    .timeline-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    /* Espacios Cards */
    .espacio-card {
        margin-bottom: 20px;
    }

    /* Testimonios */
    .testimonio-card {
        padding: 30px;
    }

    /* Recursos Form */
    .recursos-form .col-md-5,
    .recursos-form .col-md-2 {
        width: 100%;
    }

    .recursos-form .btn {
        width: 100%;
        margin-top: 10px;
    }

    /* Footer */
    .footer-main {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 30px;
    }

    .social-links {
        justify-content: center;
    }
}

/* === MOBILE (< 576px) === */
@media (max-width: 575px) {
    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    /* Header */
    .navbar-brand .logo {
        height: 40px;
    }

    /* Banner Hero */
    .banner-hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Banner Quién Soy */
    .bio-content p {
        font-size: 1rem;
    }

    .cert-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* Método Cards */
    .metodo-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .metodo-icon {
        font-size: 2.5rem;
    }

    /* Perfil Cards */
    .perfil-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .perfil-icon {
        font-size: 2.5rem;
    }

    .perfil-card h3 {
        font-size: 1.3rem;
    }

    /* Espacios Cards */
    .espacio-image {
        height: 200px;
    }

    .espacio-content {
        padding: 20px;
    }

    .espacio-content h3 {
        font-size: 1.3rem;
    }

    .espacio-footer {
        flex-direction: column;
        gap: 15px;
    }

    .espacio-footer .btn {
        width: 100%;
    }

    /* Testimonios */
    .testimonio-card {
        padding: 20px;
    }

    .testimonio-photo img {
        width: 100px;
        height: 100px;
    }

    .testimonio-text p {
        font-size: 1rem;
    }

    /* Timeline */
    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content {
        padding: 20px;
    }

    /* Recursos */
    .recursos-box {
        padding: 30px 20px;
    }

    .recurso-item {
        font-size: 0.95rem;
    }

    .form-control {
        padding: 10px 15px;
    }

    /* FAQ */
    .accordion-button {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .accordion-body {
        padding: 20px;
        font-size: 0.95rem;
    }

    /* Contacto */
    .contacto-intro {
        font-size: 1.1rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .calendly-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .contact-item {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .social-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-logo .logo {
        height: 40px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* === VERY SMALL MOBILE (< 400px) === */
@media (max-width: 399px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .recursos-form .btn {
        font-size: 0.85rem;
    }
}

/* === LANDSCAPE MOBILE === */
@media (max-height: 500px) and (orientation: landscape) {
    .banner-hero {
        height: auto;
        min-height: 400px;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* === PRINT STYLES === */
@media print {
    .header-main,
    .footer-main,
    .scroll-indicator,
    .btn,
    .social-links,
    .recursos-form {
        display: none;
    }

    .banner-hero {
        height: auto;
        page-break-after: always;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        display: none;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-outline-primary {
        border: 3px solid currentColor;
    }

    .metodo-card,
    .perfil-card,
    .espacio-card,
    .testimonio-card {
        border: 2px solid currentColor;
    }
}

/* === DARK MODE (if supported) === */
@media (prefers-color-scheme: dark) {
    /* Future implementation for dark mode */
    /* Currently the design uses specific gradients that don't support dark mode */
}
