/* ===============================================
   RESPONSIVE.CSS - Estilos para dispositivos móviles
   =============================================== */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .doctor-info {
        padding-left: 1rem;
    }
    
    .hero-content {
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: 3.25rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-section {
        min-height: 90vh;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .doctor-info {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }
    
    .doctor-image {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .process-card {
        margin-bottom: 2rem;
    }
    
    .consultation-form {
        padding: 2.5rem 2rem;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    /* Navegación móvil */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .nav-link::before {
        display: none;
    }
    
    /* Hero móvil */
    .hero-section {
        min-height: 85vh;
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Cards móvil */
    .process-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .process-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        top: -6px;
        right: -6px;
    }
    
    .process-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    /* Servicios móvil */
    .service-item {
        padding: 1rem;
        margin-bottom: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .service-item i {
        margin-right: 0;
        margin-bottom: 0.75rem;
        font-size: 1.5rem;
    }
    
    /* Doctor section móvil */
    .doctor-info h2 {
        font-size: 2rem;
    }
    
    .doctor-info h4 {
        font-size: 1.125rem;
    }
    
    .doctor-info p {
        font-size: 1rem;
    }
    
    .credentials {
        margin-top: 1.5rem;
    }
    
    .credential-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .credential-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    /* Precios móvil */
    .pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .price {
        font-size: 2.25rem;
    }
    
    .pricing-header h4 {
        font-size: 1.25rem;
    }
    
    .timing {
        font-size: 1rem;
    }
    
    /* Servicios adicionales móvil */
    .additional-service {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .additional-service i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .payment-info {
        padding: 1.5rem 1rem;
    }
    
    .payment-info i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ móvil */
    .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.25rem 1.5rem 1.75rem;
        font-size: 0.95rem;
    }
    
    /* Formulario móvil */
    .consultation-form {
        padding: 2rem 1.5rem;
    }
    
    .form-control, .form-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .consent-section {
        padding: 1.5rem;
    }
    
    .consent-text {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Contacto móvil */
    .contact-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card i {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }
    
    /* Footer móvil */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand h5 {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    
    .footer-brand p {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-brand {
    text-align: center;
    }

    .footer-brand img {
        display: block;
        margin: 0 auto 1rem auto;
    }

    .footer h6 {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer hr {
        margin: 2rem 0 1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    /* Hero extra pequeño */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Cards extra pequeño */
    .process-card {
        padding: 1.5rem 1.25rem;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .process-card h4 {
        font-size: 1.125rem;
    }
    
    .process-card p {
        font-size: 0.95rem;
    }
    
    /* Doctor extra pequeño */
    .doctor-info h2 {
        font-size: 1.75rem;
    }
    
    .doctor-info h4 {
        font-size: 1rem;
    }
    
    .doctor-info p {
        font-size: 0.95rem;
    }
    
    /* Precios extra pequeño */
    .pricing-card {
        padding: 1.5rem 1.25rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .pricing-header h4 {
        font-size: 1.125rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
    
    /* FAQ extra pequeño */
    .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem 1.25rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Formulario extra pequeño */
    .consultation-form {
        padding: 1.5rem 1.25rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-control, .form-select {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .consent-section {
        padding: 1.25rem;
    }
    
    .consent-text {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    /* Contacto extra pequeño */
    .contact-card {
        padding: 1.5rem 1.25rem;
    }
    
    .contact-card i {
        font-size: 2.25rem;
    }
    
    .contact-card h5 {
        font-size: 1.125rem;
    }
    
    .contact-card p {
        font-size: 0.95rem;
    }
}

/* Móviles extra pequeños */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .process-card {
        padding: 1.25rem 1rem;
    }
    
    .pricing-card {
        padding: 1.25rem 1rem;
    }
    
    .consultation-form {
        padding: 1.25rem 1rem;
    }
    
    .contact-card {
        padding: 1.25rem 1rem;
    }
}

/* Landscape móvil */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 60px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* PWA - Standalone mode */
@media (display-mode: standalone) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    @media (max-width: 768px) {
        body {
            padding-top: 50px;
        }
        
        .navbar {
            padding: 0.5rem 0;
        }
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Mantenemos los colores claros para el contexto médico */
    /* pero podríamos ajustar algunos elementos si fuera necesario */
}

/* Reduce motion para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }
    
    .form-control,
    .form-select {
        border-width: 3px;
    }
    
    .process-card,
    .pricing-card,
    .contact-card {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .navbar,
    .footer,
    .btn,
    .hero-buttons,
    .consultation-form {
        display: none !important;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .hero-section {
        background: none;
        color: #000;
        min-height: auto;
    }
    
    .process-card,
    .pricing-card,
    .contact-card {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    p {
        color: #000;
    }
    
    .section-title {
        font-size: 18pt;
    }
    
    .doctor-info h2 {
        font-size: 16pt;
    }
    
    .pricing-card .price {
        font-size: 14pt;
    }
}

/* Utilities responsive */
.d-mobile-none {
    display: block;
}

.d-mobile-block {
    display: none;
}

@media (max-width: 768px) {
    .d-mobile-none {
        display: none !important;
    }
    
    .d-mobile-block {
        display: block !important;
    }
    
    .text-mobile-center {
        text-align: center !important;
    }
}