.footer {
    position: relative;
    padding-top: 90px;
    background: #092a49;
}

.footer p, .footer a {
    color: rgb(213, 224, 233);
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 60px;
    color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after,
.footer .footer-newsletter h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0796fe;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #0796fe;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 18px;
    color: white;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #999999;
}

.footer .footer-newsletter .form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    height: 60px;
    border: 2px solid #1d2434;
    border-radius: 0;
}

.footer .footer-newsletter .btn:hover {
    color: #0796fe;
    background: #092a49;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright p {
    margin: 0;
    color: #999999;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
}

.footer .copyright p a:hover {
    color: #0796fe;
}

.form-check-label a {
    color: rgb(178, 178, 178);
}

.form-check-label a:hover {
    color: #dfdfdf; 
}

@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

/* ============ NEWSLETTER ============ */

.footer-newsletter {
    height: auto; 
    overflow: visible; 
}

.newsletter-wrapper {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* Estilo del Input */
.newsletter-input {
    position: relative;
    height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    padding-left: 15px;
    flex-grow: 1;
}

/* Estilo del Botón */
.newsletter-btn {
    position: absolute;
    right: 5px;
    bottom: 5px;
    height: 50px;
    border-radius: 8px;
    padding: 0 20px;
    white-space: nowrap;
    margin-left: -1px;
    background-color: #008aec;
    border: 1px solid #0796fe;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-btn:hover {
    background-color: #057ecc;
}

.newsletter-btn:disabled {
    background-color: #555;
    border-color: #555;
    cursor: not-allowed;
}

.newsletter-btn:disabled,
.newsletter-btn[disabled] {
    background-color: #555 !important;
    border-color: #555 !important;
    color: rgb(255, 255, 255) !important;
    transform: none !important;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }
}