/* ============================================
   MODAL DE CONTACTO - INFORMACIÓN COMPLETA
   ============================================ */

/* Grid principal del modal */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Columna de información */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tarjetas de información */
.contact-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #507090 0%, #3a5269 100%);
    color: white;
}

.contact-card-header svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-card-content {
    padding: 20px;
}

.contact-card-content p {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
}

.contact-card-content p:last-child {
    margin-bottom: 0;
}

.contact-description {
    color: #6c757d !important;
    font-style: italic;
}

.contact-note {
    color: #868e96 !important;
    font-size: 0.9rem !important;
}

.contact-link {
    color: #507090;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #3a5269;
    text-decoration: underline;
}

/* Horarios */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #507090;
}

.schedule-day {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.schedule-hours {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Botones de acción */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.contact-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 14px 20px;
}

.contact-actions .btn svg {
    flex-shrink: 0;
}

/* Sección del mapa */
.contact-map-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
}

/* Ajustes del modal principal */
.modal__content {
    max-width: 1100px !important;
}

/* Widget de Calendly */
#booking-widget {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SELECTOR DE TIPO DE VISITA
   ============================================ */

.appointment-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-type-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.appointment-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #507090 0%, #3a5269 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.appointment-type-card:hover::before {
    transform: scaleX(1);
}

.appointment-type-card:hover {
    border-color: #507090;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(80, 112, 144, 0.15);
}

.appointment-type-icon {
    margin-bottom: 20px;
    color: #507090;
}

.appointment-type-card h4 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 700;
}

.appointment-type-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        gap: 20px;
        margin-top: 20px;
    }

    .contact-card-header {
        padding: 14px 16px;
    }

    .contact-card-header h3 {
        font-size: 0.95rem;
    }

    .contact-card-content {
        padding: 16px;
    }

    .contact-map-container {
        height: 300px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .contact-actions .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .appointment-type-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .appointment-type-card {
        padding: 25px 18px;
    }

    .appointment-type-card h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-card-content p {
        font-size: 0.9rem;
    }

    .map-caption {
        font-size: 0.85rem;
        padding: 8px;
    }
}