/* ===========================
   PROFESSIONAL FOOTER STYLES
   Modern & Clean Design
   =========================== */

.footer {
    background: linear-gradient(180deg, #0a0e27 0%, #1a1e3a 100%);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Wave Effect at Top */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: #ffffff;
}

/* Newsletter Section */
.footer-newsletter {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.newsletter-form {
    flex: 1;
    max-width: 500px;
}

.newsletter-form .input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-form .input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.1);
}

.newsletter-form .input-group i {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 12px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 15px;
    padding: 12px 16px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    margin-left: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    white-space: nowrap;
    gap: 8px;
}

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding: 80px 0 60px;
}

/* Footer About Column */
.footer-about {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 119, 190, 0.3));
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Certifications */
.footer-certifications {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: help;
    flex: 1;
}

.cert-badge:hover {
    background: rgba(0, 119, 190, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.cert-badge i {
    font-size: 24px;
    color: var(--accent-color);
}

.cert-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-link.email:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer Columns */
.footer-col h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Footer Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 6px 0;
}

.footer-links-list a i {
    font-size: 10px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.footer-links-list a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links-list a:hover i {
    transform: translateX(4px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item > div {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Trust Indicators */
.footer-trust {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 32px;
    color: var(--accent-color);
}

.trust-item span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copyright strong {
    color: white;
}

.footer-legal {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal li:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 24px;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-credit .tm-digital-brand {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-credit .tm-digital-brand::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff 0%, #0099ff 50%, #0066ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-credit:hover .tm-digital-brand::before {
    transform: scaleX(1);
}

.footer-credit:hover .tm-digital-brand {
    transform: translateY(-2px);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-wave svg {
        height: 40px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
    }
    
    .newsletter-form .btn {
        width: 100%;
        margin: 8px 0 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
    }
    
    .footer-certifications {
        flex-wrap: wrap;
    }
    
    .cert-badge {
        min-width: calc(33.333% - 12px);
    }
    
    .footer-trust {
        padding: 32px 0;
    }
    
    .trust-item {
        min-width: calc(50% - 10px);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-legal li:not(:last-child) {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .footer-newsletter {
        padding: 40px 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cert-badge {
        min-width: 100%;
    }
    
    .trust-item {
        min-width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .footer-wave svg {
        fill: #0a0a0a;
    }
}
