/* ===== FOOTER ===== */
.footer {
    background: #1a3b5d;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    margin: 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NEWSLETTER ===== */
.footer-newsletter {
    background: #2c7a7b;
    border-radius: 16px;
    padding: 35px 40px;
    margin-bottom: 45px;
    margin-top: -30px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.footer-newsletter .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -15px;
}

.footer-newsletter .col-12 {
    padding: 0 15px;
}

.newsletter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: #ffffff;
}

.newsletter-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.25);
}

.newsletter-btn {
    background: #ffffff;
    color: #1a3b5d;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f0f4f8;
}

/* ===== FOOTER GRID ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding: 10px 0 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col-description {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #baf4df;
}

/* ===== CONTACTOS ===== */
.footer-contact p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.contact-item {
    display: block;
}

/* ===== COPYRIGHT ===== */
.footer-bottom {
    padding: 20px 0 15px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-newsletter {
        padding: 30px 30px;
        margin-top: -20px;
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        padding: 25px 20px;
        border-radius: 12px;
        margin-top: -15px;
        margin-bottom: 35px;
    }

    .footer-newsletter .row {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-title {
        font-size: 1rem;
        text-align: center;
    }

    .newsletter-box {
        align-items: center;
    }

    .newsletter-label {
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-btn {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-col-title {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .footer-col-description {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-contact p {
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .footer-newsletter {
        padding: 20px 15px;
        border-radius: 10px;
        margin-top: -10px;
        margin-bottom: 30px;
    }

    .newsletter-title {
        font-size: 0.9rem;
    }

    .newsletter-label {
        font-size: 0.65rem;
    }

    .newsletter-input {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .newsletter-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 25px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-contact p {
        text-align: center;
    }

    .footer-bottom {
        padding: 15px 0 12px 0;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .footer-newsletter {
        padding: 15px 12px;
    }

    .newsletter-title {
        font-size: 0.8rem;
    }

    .newsletter-input {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .newsletter-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .footer-col-title {
        font-size: 0.7rem;
    }

    .footer-col-description {
        font-size: 0.75rem;
    }

    .footer-links a {
        font-size: 0.75rem;
    }

    .footer-contact p {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.6rem;
    }
}