/* Modern Dashboard Footer - Hosting a Medida */

:root {
    --prefooter-bg: #001d3d;
    --footer-bg: #000814;
    --footer-text: #e0e6ed;
    --footer-secondary: #94a3b8;
    --accent-orange: #f44611;
    --glass-white: rgba(255, 255, 255, 0.1);
}

.main-dashboard-footer {
    width: 100%;
    margin-top: 50px;
    font-family: 'Outfit', sans-serif;
}

/* Prefooter Section */
.prefooter {
    background-color: var(--prefooter-bg);
    color: var(--footer-text);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.prefooter::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 70, 17, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.prefooter .container {
    position: relative;
    z-index: 1;
}

.footer-brand-section {
    padding-right: 30px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 25px;
    display: block;
}

.footer-info-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-icons {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer-contact-icons li a {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.footer-contact-icons li i:first-child {
    color: var(--light-orange);
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

.accordion-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.footer-contact-icons li a:not(.collapsed) .accordion-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-orange);
}

.service-description {
    font-size: 0.85rem;
    color: var(--footer-secondary);
    line-height: 1.5;
    padding-left: 32px; /* icon width + margin */
    border-left: 1px solid rgba(244, 70, 17, 0.2);
    margin-left: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer-contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact-info li i {
    color: var(--light-orange);
    width: 16px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(244, 70, 17, 0.4);
}

/* Vertical Separator */
.prefooter .row>div {
    position: relative;
}

.footer-v-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
}

.footer-column-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: var(--footer-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: white;
    transform: translateX(5px);
}

.ssl-badge-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.google-review-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 30px;
}

.ssl-badge-img {
    max-width: 180px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.google-reviews-img {
    max-width: 180px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

/* Footer Bottom Section */
.footer-bottom {
    background-color: var(--footer-bg);
    color: var(--footer-secondary);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright-text {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-legal-links {
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-legal-links a {
    color: var(--footer-secondary);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: white;
}

.payment-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-methods-ribbon {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.bancolombia-info {
    font-size: 0.6rem;
    color: var(--footer-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bancolombia-info strong {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .ssl-badge-container {
        justify-content: center;
        margin-top: 30px;
    }

    .google-review-container {
        justify-content: center;
        margin-top: 30px;
    }

    .payment-section {
        align-items: center;
        margin-top: 30px;
        text-align: center;
    }

    .footer-v-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .prefooter {
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-contact-info li {
        justify-content: center;
    }

    .footer-column-title {
        margin-top: 40px;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .footer-copyright-text {
        text-align: center;
    }
}

/* WhatsApp Footer Button - Elegant & Professional */
.whatsapp-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(37, 211, 102, 0.05); /* Very subtle WhatsApp green */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px; /* Professional rectangular look */
    color: var(--footer-text) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 5px;
    width: auto;
}

.whatsapp-footer-btn i {
    color: #25D366; /* Vibrant WhatsApp icon */
    font-size: 1.2rem;
}

.whatsapp-footer-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-footer-btn:hover i {
    transform: scale(1.1);
}

/* Legal Modals - Global Styles */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-modal-content {
    background-color: #222;
    margin: 5% auto;
    padding: 35px;
    border: 1px solid #444;
    width: 70%;
    max-width: 850px;
    border-radius: 15px;
    color: #eee;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.close-legal-modal {
    color: #888;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-legal-modal:hover {
    color: #f44611;
    transform: rotate(90deg);
}

.legal-scroll-content {
    max-height: 55vh;
    overflow-y: auto;
    margin-top: 25px;
    padding-right: 15px;
}

.legal-scroll-content h3 {
    color: #f44611;
    font-size: 18px;
    margin-top: 25px;
    font-weight: 600;
}

.legal-scroll-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 15px;
}

/* Custom scrollbar */
.legal-scroll-content::-webkit-scrollbar {
    width: 8px;
}

.legal-scroll-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.legal-scroll-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.legal-scroll-content::-webkit-scrollbar-thumb:hover {
    background: #f44611;
}