/* ====== Prefooter ====== */
.prefooter {
    position: relative;
    background-image: var(--prefooter-bg);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 24px 0px;
    /* margin-top: 40px; */
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;

}

.prefooter__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.prefooter__title {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 28px;
    margin: 0 0 21px;
    text-transform: none;
    color: var(--white);
    text-align: center;
    letter-spacing: -0.5px;
}

.prefooter__content {
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
}

.prefooter__content a {
    color: var(--white);
    text-decoration: underline;
}



/* FORMULARIO */

/* Contenedor del campo email */
.newsletter-form .gfield.input-email {
    position: relative;
    max-width: 387px;
    margin: auto;
    width: 100%;
}

.newsletter-form .gfield.input-email>label.gfield_label.gform-field-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* transform: translateY(0); */
    transition: all .18s ease;
    /* font-weight: 800; */
    font-size: 19.25px;
    color: var(--texto-4);
    text-align: center;
    margin-bottom: 0px;
}

/* Input estilo “pastilla” */
.newsletter-form .ginput_container_email input[type="email"] {
    border-radius: 999px;
    text-align: center;
    color: var(--texto-4);
}

/* Cuando el input tiene foco o contenido → el label sube (posición “normal”) */
.newsletter-form .gfield.input-email:has(input:focus)>label.gfield_label.gform-field-label,
.newsletter-form .gfield.input-email:has(input:not(:placeholder-shown))>label.gfield_label.gform-field-label,
.newsletter-form .gfield.input-email.is-filled>label.gfield_label.gform-field-label {
    /* position: static;
    margin: 0 0 8px 0;
    color: var(--white);
    justify-content: flex-start;
    text-align: left;
    transform: none; */
    display: none;
}

/* Contenedor del botón (centrado) */
.newsletter-form .gform_footer {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* Botón "Enviar" */
input#gform_submit_button_1 {
    background-color: var(--color-2);
    font-size: 19.25px;
    width: 228px;
    font-weight: 500;
    border: 2px solid var(--white) !important;
    /* borde blanco */
    border-radius: 23px;

}

/* Hover / focus */
.newsletter-form .gform_footer .gform_button:hover,
.newsletter-form .gform_footer .gform_button:focus {
    background: var(--color-1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    outline: none;
}

/* Active (click) */
.newsletter-form .gform_footer .gform_button:active {
    transform: translateY(1px);
}

/* Estado deshabilitado (por validación/envío) */
.newsletter-form .gform_footer .gform_button[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.newsletter-form div#validation_message_1_5,
.newsletter-form div#gform_1_validation_container,
.newsletter-form h2.gform_submission_error.hide_summary,
.prefooter__content .gform-theme--framework .gform_validation_errors .gform_submission_error {
    /* color: var(--white) !important; */
    display: none !important;

}

div#gform_1_validation_container {
    /* padding-top: 0px !important;
    margin-bottom: 0px !important;
    border: unset !important; */
    display: none !important;

}

.prefooter__content .gform-theme--framework .gform_validation_errors .gform-icon::before,
.prefooter__content span.gform-icon.gform-icon--circle-error {
    /* color: var(--white) !important; */
    display: none !important;

}

.prefooter__content span.gform-icon.gform-icon--circle-error {
    border-color: var(--white);
}











/* FOOTER */
/* ===== Footer base ===== */
.c-footer {
    --bg: var(--footer-bg, #D41568);
    background: var(--bg);
    color: #fff;
    font-family: var(--font-base);
}

.c-footer a {
    color: #fff;
    text-decoration: none;
    opacity: .9;
    font-size: 14px;
}

.c-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Top */
.c-footer__top {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 36px 16px 24px;
    text-align: center;
}

.c-footer__brand img {
    max-width: 180px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}

.c-footer__contact p {
    margin: 6px 0;
    font-weight: 700;
}

.c-footer__sep {
    max-width: var(--container-max);
    margin: 18px auto 24px;
    border: 0;
    border-top: 2px solid var(--white);
}
.c-footer__sep:not(:first-child){
    margin-bottom: 2em;
    
}
/* Nav columns */
.c-footer__nav {
    max-width: calc(var(--container-max) + 80px);
    margin: 0 auto;
    padding: 8px 16px 28px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
 
}

.c-footer__col-title,
.c-footer__col h4 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .02em;
    text-align: center;
}

.c-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.c-footer__list li::before {
    content: "–";
    /* guion como en el diseño */
    position: absolute;
    left: 0;
    top: 0;
    opacity: .9;
}

/* WYSIWYG cols: normaliza listas */
.c-footer__col ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.c-footer__col li {
    /* margin: 6px 0; */
    margin: 0px 0;
    position: relative;


    /* padding-left: 16px; */
    text-align: center;
}

.c-footer__col li::before {
    content: "–";
    position: relative;
    padding-right: 6px;
    opacity: .9;
}

/* Partners row */
.c-footer__partners {
    max-width: var(--container-max);
    padding: 0 16px;

    /* margin: 10px auto 22px; */
    margin: 10px auto 0px;
    padding-bottom: 22px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.c-footer__partners img {

    width: auto;
    display: block;
}
.c-footer__partners img:first-of-type {
    width: 74px;
    height: 74px;
}
.c-footer__partners img:not(:first-child) {
    width: 149px;
    height: 56px;
}


/* Bottom kit strip */
.c-footer__kit {
    background: var(--footer-bottom-bg, #7C1644);
    /* usa --color-4 */
    color: #fff;
}

.c-footer__kit-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 36px 15px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 24px;
    flex-wrap: wrap;
    flex-flow: column;
}

.c-footer__kit-text {
    font-weight: 400;
    text-align: center;
    
    font-size: 14px;
}

.c-footer__kit-logos {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
}

.c-footer__kit-logos img:first-of-type {
    width: 256px;
    height: 42px;
}
.c-footer__kit-logos img:not(:first-of-type) {
    width: 182px;
    height: 43px;
}

.c-footer__contact-item.c-footer__contact-item--address {
    margin: 1.2em auto;
}
.c-footer__contact-item.c-footer__contact-item--phone{
    margin-bottom: 1.2em;
}
