@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
@import url("https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css");

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Por si hay desbordamiento horizontal */
    height: auto;
}

.footer {
    width: 100vw;
    margin: 0 !important;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(180deg, #03355c 0%, #03355c 100%);
    color: #fff;
    font-family: "Inter", sans-serif;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

/* --- Contenedor principal --- */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* --- Logo y descripción --- */
.footer-logo img {
    width: 180px;
    margin-bottom: 1rem;
}

.footer-terms {
    display: inline-block;
    font-size: 0.85rem;
    color: #a7c4ff;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer-terms:hover {
    color: #ffffff;
}

/* --- Enlaces --- */
.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin: 0.6rem 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #a7c4ff;
}

/* --- Contacto --- */
.footer-contact p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    color: #a7c4ff;
    font-size: 1.2rem;
    margin-right: 6px;
    vertical-align: middle;
}

/* --- Redes sociales --- */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-socials a:hover {
    background: #ffffff;
    color: #1e3e7a;
    transform: translateY(-3px);
}

/* --- Línea inferior --- */
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}