/* ============================================
   CONTACTO - MODERN STYLES
   VALLE DEL SOL
   ============================================ */

/* Hero Section */
.hero-section {
    height: 65vh;
    min-height: 450px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: rgba(251, 240, 54, 0.95);
    color: #003180;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Cards */
.contact-info-section {
    padding: 6rem 2rem;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 25px;
    border: 3px solid #e9ecef;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #61bd98, #4CAF50);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #61bd98;
    box-shadow: 0 20px 60px rgba(97, 189, 152, 0.2);
}

.contact-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #61bd98, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(97, 189, 152, 0.3);
    transition: all 0.4s ease;
}

.whatsapp-card .contact-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.phone-card .contact-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.email-card .contact-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.location-card .contact-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.6rem;
    color: #003180;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.contact-card > p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    font-size: 0.9rem;
    color: #61bd98;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #003180;
    transform: scale(1.05);
}

.contact-card small {
    color: #999;
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule-section {
    padding: 6rem 2rem;
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.schedule-info h2 {
    font-size: 2.5rem;
    color: #003180;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.schedule-info h2 i {
    color: #61bd98;
}

.schedule-info > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.schedule-list {
    margin-bottom: 2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    border-color: #61bd98;
    transform: translateX(10px);
}

.schedule-item.closed {
    opacity: 0.6;
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.schedule-day i {
    color: #61bd98;
    font-size: 1.3rem;
}

.schedule-day strong {
    color: #003180;
    font-size: 1.1rem;
}

.schedule-time {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
}

.schedule-note {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #61bd98;
    border-radius: 15px;
    display: flex;
    gap: 1rem;
}

.schedule-note i {
    color: #61bd98;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.schedule-note p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.schedule-image {
    position: relative;
}

.schedule-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.emergency-contact {
    position: absolute;
    top: 250px;
    left: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.emergency-contact i {
    font-size: 2rem;
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.emergency-contact strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.emergency-contact p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 2rem;
    background: white;
}

.form-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.form-intro h2 {
    font-size: 2.5rem;
    color: #003180;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-intro h2 i {
    color: #61bd98;
}

.form-intro p {
    font-size: 1.1rem;
    color: #666;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 3px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #003180;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-label i {
    color: #61bd98;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #61bd98;
    background: white;
    box-shadow: 0 0 0 4px rgba(97, 189, 152, 0.1);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: white;
    border-color: #61bd98;
}

.radio-label input[type="radio"] {
    cursor: pointer;
    accent-color: #61bd98;
}

.radio-label input[type="radio"]:checked + span {
    color: #003180;
    font-weight: 600;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #61bd98;
}

.form-checkbox label {
    color: #666;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #61bd98, #4CAF50);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(97, 189, 152, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(97, 189, 152, 0.6);
}

/* Form Success Message */
.form-success {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(97, 189, 152, 0.1);
    border: 2px solid #61bd98;
    border-radius: 15px;
    text-align: center;
    animation: slideDown 0.5s ease;
}

.form-success.show {
    display: block;
}

.form-success i {
    color: #61bd98;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success p {
    color: #003180;
    margin: 0;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: #61bd98;
    box-shadow: 0 10px 30px rgba(97, 189, 152, 0.2);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: #003180;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: #61bd98;
}

.sidebar-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sidebar-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.sidebar-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.sidebar-btn.download {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.sidebar-btn.download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

/* Social Card */
.sidebar-card.social .social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-link {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-link.tiktok {
    background: #000000;
}

.social-link.youtube {
    background: #FF0000;
}

.social-link:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
}

.map-info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #61bd98;
    min-width: 300px;
}

.map-info-card h3 {
    font-size: 1.5rem;
    color: #003180;
    margin-bottom: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-info-card h3 i {
    color: #61bd98;
}

.map-info-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #61bd98, #4CAF50);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(97, 189, 152, 0.4);
}

/* Quick FAQ Section */
.quick-faq-section {
    padding: 6rem 2rem;
}

.quick-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: #61bd98;
    box-shadow: 0 15px 40px rgba(97, 189, 152, 0.2);
}

.faq-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #61bd98, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.faq-card h3 {
    font-size: 1.3rem;
    color: #003180;
    margin-bottom: 1rem;
    font-weight: 800;
}

.faq-card p {
    color: #666;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #003180, #036da7, #61bd98);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    font-weight: 900;
}

.cta-content > p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn.phone {
    background: white;
    color: #003180;
}

.cta-btn.email {
    background: #fbf036;
    color: #003180;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .schedule-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-grid,
    .quick-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .map-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .map-info-card {
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* @media (max-width: 576px) {
    .sidebar-card.social .social-links {
        grid-template-columns: 3fr;
    }
} */
















/* ============================================
   HERO SECTION - ESTILOS COMPLETOS
   ============================================ */

/* Hero Section Base */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 450px;
    margin-top: 0px; /* Espacio para el navbar */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Hero Overlay (capa oscura sobre la imagen) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    
    z-index: 2;
}


/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 2rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: rgba(251, 240, 54, 0.95);
    color: #003180;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Title */
.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Paragraph */
.hero-content p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Hero Button */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid transparent;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #61bd98, #4CAF50);
    color: white;
}

.hero-btn.primary:hover {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(97, 189, 152, 0.5);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}







/* Sección de Introducción */
.intro-section {
    padding: 80px 0;
    background:    radial-gradient(circle at 30% 70%, #61bd98, #3a9d7a);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Contenedor personalizado */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contenido de introducción */
.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Etiqueta superior (eyebrow) */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.section-eyebrow i {
    font-size: 1rem;
}

/* Título principal */
.section-title-main {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 20px 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Texto con degradado */
.gradient-text {
    background: #003180;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transform: scaleX(0);
    animation: scaleIn 0.8s ease 0.6s forwards;
}

/* Descripción */
.section-description {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    margin: 30px 0 0 0;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-section {
        padding: 60px 0;
    }
    
    .section-title-main {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .section-eyebrow {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-title-main {
        font-size: 1.75rem;
    }
    
    .intro-section::before {
        width: 300px;
        height: 300px;
    }
}














/* ============================================
   RESPONSIVE MOBILE - Horarios + Formulario
   ============================================ */

@media (max-width: 570px) {

  /* --- CONTENEDOR GENERAL --- */
  .container-custom {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ===========================
     SECCIÓN HORARIOS
     =========================== */
  .schedule-section {
    padding: 40px 0;
  }

  /* El wrapper de dos columnas pasa a una sola */
  .schedule-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .schedule-info,
  .schedule-image {
    width: 100%;
    max-width: 100%;
  }

  .schedule-info h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .schedule-info > p {
    text-align: center;
  }

  /* Cada item de horario: stack vertical en pantallas muy pequeñas */
  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 12px 15px;
  }

  @media (max-width: 400px) {
    .schedule-item {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }

  .schedule-time {
    font-size: 0.95rem;
  }

  /* Nota informativa */
  .schedule-note {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 10px;
  }

  /* Imagen de horario */
  .schedule-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* Contacto de emergencia */
  .emergency-contact {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 10px;
  }

  /* ===========================
     SECCIÓN FORMULARIO CONTACTO
     =========================== */
  .contact-form-section {
    padding: 40px 0;
  }

  .form-intro {
    padding: 0 5px;
    text-align: center;
  }

  .form-intro h2 {
    font-size: 1.5rem;
  }

  /* Wrapper form + sidebar: una sola columna */
  .contact-form-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .contact-form,
  .contact-sidebar {
    width: 100%;
    max-width: 100%;
  }

  /* Filas de dos campos pasan a una columna */
  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-field {
    width: 100%;
  }

  /* Inputs y selects */
  .form-control {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Evita zoom en iOS */
  }

  /* Radio buttons: stack vertical */
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .radio-label {
    width: 100%;
  }

  /* Botón enviar: ancho completo */
  .btn-submit {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }

  /* Sidebar cards */
  .contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sidebar-card {
    padding: 20px;
    text-align: center;
  }

  .sidebar-btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  /* ===========================
     FORMULARIO PERSONALIZADO (archivo subido)
     =========================== */
  .custom-form-section {
    padding: 40px 0;
    overflow-x: hidden;
  }

  .form-section {
    padding: 15px;
  }

  .form-section h3 {
    font-size: 1.2rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn-submit-custom {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }

  .form-checkbox {
    align-items: flex-start;
  }

  .form-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Para pantallas aún más pequeñas */
@media (max-width: 380px) {
  .container-custom {
    padding-left: 10px;
    padding-right: 10px;
  }

  .schedule-info h2,
  .form-intro h2 {
    font-size: 1.3rem;
  }

  .schedule-item {
    padding: 10px 12px;
  }

  .form-section {
    padding: 12px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 570px) {

  /* Social links en fila horizontal */
  .social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}







@media (max-width: 800px) {

 .emergency-contact {

    top: 310px;
    left: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
}







@media (max-width: 576px) {

  /* Contenedor: forzar column normal */
  .schedule-image {
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    width: 100%;
  }

  /* IMAGEN: arriba */
  .schedule-image img {
    position: relative !important;  /* Quita cualquier position */
    order: -1 !important;           /* Fuerza primero */
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* EMERGENCY CONTACT: abajo - quitar position absolute */
  .schedule-image .emergency-contact {
    position: relative !important;   /* ← CLAVE: quita absolute */
    bottom: auto !important;         /* ← Resetea bottom */
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;      /* ← Quita translate si lo tiene */
    order: 2 !important;             /* Fuerza segundo */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .emergency-contact > i {
    font-size: 1.8rem;
    flex-shrink: 0;
  }

  .emergency-contact > div {
    flex: 1;
    min-width: 0;
  }
}

