/* =====================================================
   REDWORK - ESTILOS RESPONSIVOS
   ===================================================== */

/* Tablets grandes (992px - 1200px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .membership-card .price {
        font-size: 2rem;
    }
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .hero-image-wrapper {
        max-width: 450px;
        margin-top: 2rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .membership-card.featured {
        transform: scale(1);
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Móviles grandes (576px - 768px) */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .hero-badge .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-stats .stat {
        flex: 1;
        text-align: center;
    }
    
    .hero-image-wrapper {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    /* Ocultar elementos flotantes en móviles */
    .float-1, .float-2, .float-3 {
        display: none !important;
    }
    
    /* Secciones */
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h4 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    /* Membership Cards */
    .membership-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .membership-card.featured {
        transform: scale(1);
        margin-bottom: 1rem;
    }
    
    .membership-card .price {
        font-size: 1.75rem;
    }
    
    .membership-card h3 {
        font-size: 1.25rem;
    }
    
    .membership-card .features-list li {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .btn-membership {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Cómo funciona */
    .bg-gradient.rounded-circle {
        width: 80px !important;
        height: 80px !important;
    }
    
    .bg-gradient.rounded-circle i {
        font-size: 2rem !important;
    }
    
    .col-lg-4 h4 {
        font-size: 1.25rem;
        margin-top: 1rem;
    }
    
    .col-lg-4 p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    
    /* Stats */
    .display-4 {
        font-size: 2rem;
    }
    
    /* Call to Action */
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section .lead {
        font-size: 0.95rem;
    }
    
    .d-flex.justify-content-center {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .d-flex.justify-content-center .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    footer .col-lg-4, 
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        margin-top: 0.5rem;
    }
    
    /* Map */
    #map {
        height: 300px;
    }
    
    /* Sidebar */
    .sidebar {
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    /* Formularios */
    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Móviles pequeños (menos de 576px) */
@media (max-width: 576px) {
    /* Hero */
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-badge .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }
    
    .hero-features {
        gap: 0.4rem;
    }
    
    .feature-item {
        font-size: 0.7rem;
    }
    
    .hero-stats .stat-number {
        font-size: 0.9rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-image-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.55rem;
    }
    
    /* Secciones */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1rem;
    }
    
    .service-card i {
        font-size: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 0.9rem;
    }
    
    .service-card p {
        font-size: 0.75rem;
    }
    
    /* Membership Cards */
    .membership-card {
        padding: 1rem;
    }
    
    .membership-card .icon {
        width: 60px;
        height: 60px;
    }
    
    .membership-card .icon i {
        font-size: 1.75rem;
    }
    
    .membership-card h3 {
        font-size: 1.1rem;
    }
    
    .membership-card .price {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .membership-card .price small {
        font-size: 0.7rem;
    }
    
    .membership-card .card-text {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .membership-card .features-list li {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }
    
    .btn-membership {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Cómo funciona */
    .bg-gradient.rounded-circle {
        width: 70px !important;
        height: 70px !important;
    }
    
    .bg-gradient.rounded-circle i {
        font-size: 1.5rem !important;
    }
    
    .col-lg-4 h4 {
        font-size: 1.1rem;
    }
    
    .col-lg-4 p {
        font-size: 0.8rem;
    }
    
    /* Stats */
    .display-4 {
        font-size: 1.5rem;
    }
    
    /* CTA */
    .cta-section h2 {
        font-size: 1.25rem;
    }
    
    .cta-section .lead {
        font-size: 0.85rem;
    }
    
    .d-flex.justify-content-center .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Footer */
    footer {
        padding: 30px 0 15px;
    }
    
    footer h5 {
        font-size: 1rem;
    }
    
    footer p, 
    footer li {
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    
    /* Tablas responsivas */
    .table-responsive {
        font-size: 0.8rem;
    }
    
    /* Formularios */
    .form-container {
        padding: 1rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .form-control {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Tablets horizontales (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .hero-image-wrapper {
        max-width: 400px;
    }
}

/* Estilos para impresión */
@media print {
    .navbar, 
    .footer, 
    .btn, 
    .hero-buttons, 
    .social-links,
    .hero-wave {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 20px 0 !important;
    }
    
    .hero-title,
    .hero-title .text-gradient {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    .section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }
    
    .service-card, 
    .membership-card {
        background: white !important;
        border: 1px solid #ccc !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .service-card i,
    .membership-card .price {
        color: #f97316 !important;
    }
}

/* Soporte para dispositivos con pantallas muy grandes */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-image-wrapper {
        max-width: 350px;
    }
    
    .section {
        padding: 30px 0;
    }
}

/* Accesibilidad - Preferencia de movimiento reducido */
@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;
    }
}