/* ========================================
   CONTACTO PAGE STYLES
   ======================================== */

/* Hero Section */
.contacto-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.contacto-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
}

/* Contact Info Cards */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E3A8A 0%, #10B981 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.15);
}

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

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card h5 {
    color: #1E3A8A;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.info-card p a {
    color: #1F2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card p a:hover {
    color: #10B981;
}

.info-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #6B7280;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.form-header i {
    font-size: 50px;
    margin-bottom: 15px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
}

/* Contact Form */
.contact-form {
    padding: 40px 30px;
}

.contact-form .form-label {
    color: #1F2937;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Contact Sidebar */
.contact-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: white;
}

.sidebar-card h4 {
    color: #1E3A8A;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Schedule */
.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.schedule-item:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.schedule-item .day {
    font-weight: 600;
    color: #1F2937;
}

.schedule-item .time {
    color: #6B7280;
    font-weight: 500;
}

.emergency-notice {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.emergency-notice i {
    color: #F59E0B;
    margin-top: 2px;
}

.emergency-notice strong {
    color: #78350F;
}

/* Transport Info */
.transport-info {
    margin-top: 20px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #1F2937;
    font-size: 14px;
}

.transport-item i {
    color: #10B981;
    font-size: 18px;
    width: 24px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn.linkedin {
    background: #0A66C2;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: white;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: white;
}

.sidebar-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.sidebar-cta h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
}

#map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-width: 350px;
    z-index: 1000;
}

.overlay-content h4 {
    color: #1E3A8A;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overlay-content p {
    color: #6B7280;
    margin-bottom: 15px;
}

/* Coverage Section */
.coverage-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.coverage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.coverage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
}

.coverage-card h4 {
    color: #1E3A8A;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 20px;
}

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.coverage-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #1F2937;
    font-size: 15px;
}

.coverage-list i {
    color: #10B981;
    font-size: 14px;
}

.coverage-stat {
    background: #EFF6FF;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border-top: 3px solid #3B82F6;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #6B7280;
    font-weight: 600;
}

.coverage-note {
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
    border-radius: 8px;
    padding: 20px;
    font-size: 15px;
    color: #1E3A8A;
}

.coverage-note i {
    color: #3B82F6;
    margin-right: 8px;
}

/* Section Titles */
.section-title {
    color: #1E3A8A;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6B7280;
    font-size: 16px;
    margin-bottom: 0;
}

/* FAQ Accordion */
.faq-section .accordion-item {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background: white;
    color: #1E3A8A;
    font-weight: 600;
    padding: 20px 25px;
    font-size: 16px;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #EFF6FF;
    color: #1E3A8A;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: #1E3A8A;
}

.faq-section .accordion-body {
    padding: 25px;
    background: white;
}

.faq-section .accordion-body a {
    color: #1E3A8A;
    font-weight: 600;
}

/* Alert Messages */
#contactSuccessMessage,
#contactErrorMessage {
    margin-bottom: 30px;
    display: none;
}

#contactSuccessMessage.show,
#contactErrorMessage.show {
    display: flex;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-sidebar {
        position: static;
        margin-top: 30px;
    }

    .map-overlay {
        position: static;
        margin: 20px;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .contacto-hero {
        padding: 100px 0 50px;
    }

    .contact-form-container {
        border-radius: 12px;
    }

    .form-header {
        padding: 30px 20px;
    }

    .form-header h3 {
        font-size: 24px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .map-container {
        height: 350px;
    }

    .info-card {
        margin-bottom: 20px;
    }
}

/* patch footer logo and top contact icons */
.footer-logo, .footer img{max-height:72px;width:auto;display:block}
.top-bar .contact-info i{margin-right:6px}
.top-bar .contact-info a{white-space:nowrap}
