/* ========================= */
/* FOOTER GENERAL */
/* ========================= */

.footer{

background:#f5f5f5;

font-family:Arial, Helvetica, sans-serif;

margin-top:40px;

}

/* ========================= */
/* NEWSLETTER */
/* ========================= */

.footer-newsletter{
    background:#f5f5f5;
    border-top:1px solid #e3e3e3;
    border-bottom:1px solid #e3e3e3;
    padding:14px 0;
}

.newsletter-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
    min-height:48px;
}

.newsletter-box span{

font-size:16px;

color:#333;

font-weight:600;

}

/* FORM */

.newsletter-form{

display:flex;

gap:10px;

flex-wrap:wrap;

}

.newsletter-form input{

padding:10px 14px;

border:1px solid #ccc;

border-radius:6px;

font-size:14px;

min-width:200px;

}

.newsletter-form button{

background:linear-gradient(
90deg,
#7b2cff,
#c433ff
);

border:none;

color:#fff;

padding:10px 16px;

border-radius:6px;

cursor:pointer;

font-size:14px;

font-weight:600;

transition:.2s;

}

.newsletter-form button:hover{

opacity:.9;

}

/* ========================= */
/* SOCIAL */
/* ========================= */

.social{

display:flex;

align-items:center;

gap:10px;

}

.social i{

color:#666;

font-size:16px;

cursor:pointer;

transition:.2s;

}

.social i:hover{

color:#0010FF;

}


/* ========================= */
/* LINKS */
/* ========================= */

.footer-links{

display:flex;

justify-content:space-between;

padding:30px 0;

flex-wrap:wrap;

gap:20px;

}

.footer-links .col{

min-width:200px;

}

.footer-links h4{

font-size:14px;

margin-bottom:10px;

color:#000;

font-weight:700;

}

.footer-links a{

display:block;

font-size:13px;

color:#555;

margin-bottom:6px;

text-decoration:none;

transition:.2s;

}

.footer-links a:hover{

color:#0010FF;

}


/* ========================= */
/* FOOTER BOTTOM */
/* ========================= */

.footer-bottom{

border-top:1px solid #ddd;

padding:20px 0;

display:flex;

justify-content:space-between;

align-items:center;

flex-wrap:wrap;

gap:15px;

}

.footer-text p{

font-size:12px;

color:#555;

margin:5px 0;

}

.footer-logo img{
width:90px;
max-width:100%;
height:auto;
display:block;
object-fit:contain;
opacity:.9;
}


/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:768px){

.newsletter-box{

flex-direction:column;

align-items:flex-start;

}

.newsletter-form{

width:100%;

}

.newsletter-form input{

width:100%;

}

.footer-links{

flex-direction:column;

}

.footer-bottom{

flex-direction:column;

align-items:flex-start;

}

.footer-logo img{
width:100px;
}

}


.copy-link{
    color:inherit;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.copy-link:hover{
    color:#0010FF;
    text-decoration:underline;
}

/* ========================= */
/* FOOTER LEGAL */
/* ========================= */

.footer-legal{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    padding:16px 18px;
    border-top:1px solid #ddd;
    font-size:12.5px;
    color:#555;
}

.footer-legal-item{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#555;
    text-decoration:none;
    transition:.2s;
}

a.footer-legal-item:hover{
    color:#0010FF;
}

.footer-legal-item i{
    color:#0010FF;
    font-size:12px;
}

.footer-legal-texto{
    color:#555;
    flex-wrap:wrap;
}

.footer-legal-texto a{
    color:#0010FF;
    text-decoration:underline;
    font-weight:600;
}

.footer-legal-texto a:hover{
    color:#8b1fd6;
}

.footer-legal-divider{
    width:1px;
    height:14px;
    background:#ddd;
}

@media(max-width:768px){

.footer-legal{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    text-align:left;
}

.footer-legal-divider{
    display:none;
}

}

/* ========================= */
/* NEWSLETTER PROFESIONAL */
/* ========================= */

.newsletter-box{
    min-height:64px;
}

.newsletter-box > span{
    color:#111;
    font-size:16px;
    line-height:1.35;
    letter-spacing:.1px;
    font-weight:600;
}

.newsletter-form{
    position:relative;
    display:grid;
    grid-template-columns:minmax(230px,320px) auto;
    gap:10px;
    align-items:center;
}

.newsletter-form input[type="email"]{
    width:100%;
    min-width:0;
    height:42px;
    padding:0 15px;
    color:#171717;
    background:#fff;
    border:1px solid #cfcfcf;
    border-radius:8px;
    outline:none;
    font-size:14px;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.newsletter-form input[type="email"]::placeholder{
    color:#888;
}

.newsletter-form input[type="email"]:focus{
    border-color:#0010FF;
    box-shadow:0 0 0 3px rgba(183,32,235,.14);
}

.newsletter-form input[type="email"].is-invalid{
    border-color:#ef4444;
    box-shadow:0 0 0 3px rgba(239,68,68,.14);
}

.newsletter-form button{
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:0 18px;
    background:#0010FF;
    border:none;
    color:#fff;
    border-radius:8px;
    box-shadow:0 6px 16px rgba(183,32,235,.18);
    cursor:pointer;
    font-size:14px;
    font-weight:700;
    transition:
        background .2s,
        transform .2s,
        box-shadow .2s;
}

.newsletter-form button:hover:not(:disabled){
    opacity:1;
    transform:translateY(-1px);
    background:#a518d6;
}

.newsletter-form button:disabled{
    cursor:not-allowed;
    opacity:.7;
}

.newsletter-mensaje{
    grid-column:1 / -1;
    margin:0;
    padding:8px 11px;
    border-radius:7px;
    font-size:13px;
    line-height:1.35;
}

.newsletter-mensaje.exito{
    color:#166534;
    background:#dcfce7;
    border:1px solid #86efac;
}

.newsletter-mensaje.error{
    color:#991b1b;
    background:#fee2e2;
    border:1px solid #fca5a5;
}

.newsletter-honeypot{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.footer-newsletter .social a{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d7d7d7;
    border-radius:50%;
    text-decoration:none;
    background:#fff;
    transition:background .2s,border-color .2s,transform .2s;
}

.footer-newsletter .social i{
    color:#555;
}

.footer-newsletter .social a:hover{
    background:#0010FF;
    border-color:#0010FF;
    transform:translateY(-2px);
}

.footer-newsletter .social a:hover i{
    color:#fff;
}

@media(max-width:900px){
    .newsletter-box{
        align-items:flex-start;
    }

    .newsletter-form{
        order:3;
        width:100%;
        grid-template-columns:1fr auto;
    }
}

@media(max-width:560px){
    .footer-newsletter{
        padding:20px 0;
    }

    .newsletter-form{
        grid-template-columns:1fr;
    }

    .newsletter-form button{
        width:100%;
    }

    .newsletter-mensaje{
        grid-column:1;
    }
}
/* ========================= */
/* FIX: PADDING LATERAL DEL FOOTER */
/* (footer-links y footer-bottom usan "padding:Npx 0", que pone
   el padding izquierdo/derecho en 0 y le gana en la cascada al
   padding lateral que da la clase .container, porque este
   archivo se carga después de header.css. Reforzamos acá el
   padding lateral para que el contenido no quede pegado al
   borde de la pantalla.) */
/* ========================= */

.footer-links,
.footer-bottom,
.footer-legal{
    padding-left:18px;
    padding-right:18px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
}

@media(max-width:420px){
    .footer-links,
    .footer-bottom,
    .footer-legal{
        padding-left:14px;
        padding-right:14px;
    }
}
