/* =========================================================
   JN GENESIS — FOOTER FINAL
========================================================= */

.jn-footer,
.jn-footer * {
    box-sizing: border-box;
}

.jn-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: #fff;
}

.jn-footer-container {
    width: min(1410px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   CTA SUPERIOR
========================================================= */

.jn-footer-cta {
    background: #f4f7fb;
    color: #082748;
    border-top: 1px solid #e1e8f0;
}

.jn-footer-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 60px;
    align-items: center;
    padding-top: 46px;
    padding-bottom: 46px;
}

.jn-footer-cta-copy h2 {
    margin: 0 0 12px;
    color: #082748;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.jn-footer-cta-copy p {
    max-width: 760px;
    margin: 0;
    color: #53667a;
    font-size: 16px;
    line-height: 1.7;
}

.jn-footer-cta-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
}

.jn-footer-cta-button,
.jn-footer-cta-button:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 6px;
    background: #136fe8;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.jn-footer-cta-button:hover,
.jn-footer-cta-button:focus {
    background: #0f5fc8;
    color: #fff;
    transform: translateY(-1px);
}

.jn-footer-cta-note {
    color: #718194;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}


/* =========================================================
   CUERPO PRINCIPAL
========================================================= */

.jn-footer-main {
    position: relative;
    overflow: hidden;
    padding: 58px 0 88px;
    background:
        radial-gradient(
            circle at 45% 40%,
            rgba(14, 88, 154, 0.35),
            transparent 38%
        ),
        linear-gradient(
            110deg,
            #082748 0%,
            #07325a 47%,
            #082748 100%
        );
}


/* =========================================================
   MONTAÑAS INFERIORES
========================================================= */

.jn-footer-main::before,
.jn-footer-main::after {
    content: "";
    position: absolute;
    left: -2%;
    bottom: 0;
    width: 104%;
    pointer-events: none;
}

.jn-footer-main::before {
    height: 105px;
    background: rgba(3, 28, 52, 0.72);

    clip-path: polygon(
        0 50%,
        7% 35%,
        11% 46%,
        17% 31%,
        22% 44%,
        28% 20%,
        32% 6%,
        37% 29%,
        42% 47%,
        49% 45%,
        55% 58%,
        63% 27%,
        69% 45%,
        76% 56%,
        84% 46%,
        91% 58%,
        97% 37%,
        100% 45%,
        100% 100%,
        0 100%
    );
}

.jn-footer-main::after {
    height: 65px;
    background: rgba(2, 22, 42, 0.74);

    clip-path: polygon(
        0 45%,
        9% 58%,
        18% 41%,
        27% 57%,
        36% 49%,
        45% 61%,
        55% 45%,
        66% 57%,
        76% 49%,
        88% 62%,
        100% 48%,
        100% 100%,
        0 100%
    );
}


/* =========================================================
   GRID DE 4 COLUMNAS
========================================================= */

.jn-footer-widgets {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(300px, 1.55fr)
        minmax(190px, 1fr)
        minmax(190px, 1fr)
        minmax(240px, 1.15fr);

    gap: 62px;
    align-items: start;
}

.jn-footer-column {
    min-width: 0;
    text-align: left;
}

.jn-footer-column .widget {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}


/* =========================================================
   TÍTULOS
========================================================= */

.jn-footer-column .widget-title,
.jn-footer-links .widget-title {
    position: relative;
    margin: 0 0 28px;
    padding: 0 0 19px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;

    text-align: left;
}

.jn-footer-column .widget-title::after,
.jn-footer-links .widget-title::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 39px;
    height: 4px;

    border-radius: 5px;

    background: #3da0ff;
}


/* =========================================================
   PRIMERA COLUMNA — MARCA
========================================================= */

.jn-footer-column-1 {
    padding-right: 20px;
}

.jn-footer-brand {
    text-align: left;
}

.jn-footer-brand-logo {
    margin: 0 0 35px;
    text-align: left;
}

.jn-footer-brand-logo a {
    display: inline-block;
}

.jn-footer-brand-logo img {
    display: block;

    width: auto;
    max-width: 365px;
    max-height: 90px;

    margin: 0;

    object-fit: contain;
    object-position: left center;
}


/*
 * Esto hace visible el logo actual sobre fondo oscuro.
 * Si después colocamos la versión blanca oficial,
 * podemos quitar el filtro.
 */

.jn-footer-brand-logo img {
    filter: brightness(0) invert(1);
}

.jn-footer-brand-text {
    max-width: 390px;

    margin: 0 0 25px !important;

    color: #f1f5fa !important;

    font-size: 17px !important;
    font-weight: 400;
    line-height: 1.7 !important;

    text-align: left !important;
}

.jn-footer-location {
    position: relative;

    margin: 0 0 23px !important;
    padding-left: 35px;

    color: #f1f5fa !important;

    font-size: 15px !important;

    text-align: left !important;
}

.jn-footer-location::before {
    content: "●";

    position: absolute;
    left: 4px;
    top: -3px;

    color: #40a4ff;

    font-size: 24px;
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.jn-footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 12px;

    margin-top: 20px;
}

.jn-footer-social a,
.jn-footer-social a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff !important;

    font-size: 20px !important;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition: 0.2s ease;
}

.jn-footer-social a:hover,
.jn-footer-social a:focus {
    background: #136fe8;
    border-color: #136fe8;
    transform: translateY(-2px);
}


/* =========================================================
   MENÚS
========================================================= */

.jn-footer-column ul,
.jn-footer-column .menu,
.jn-footer-links ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.jn-footer-column li,
.jn-footer-column .menu-item,
.jn-footer-links li {
    margin: 0;
    padding: 0;

    border: 0;
}


/*
 * Cada enlace ocupa el ancho de su columna.
 */

.jn-footer-column .menu a,
.jn-footer-links a {
    position: relative;

    display: block;

    padding: 10px 27px 10px 0;

    color: #f5f8fc !important;

    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.45;

    text-align: left;

    text-decoration: none !important;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}


/* Flecha a la derecha */

.jn-footer-column .menu a::after,
.jn-footer-links a::after {
    content: "›";

    position: absolute;
    right: 0;
    top: 50%;

    transform: translateY(-54%);

    color: #ffffff;

    font-size: 29px;
    font-weight: 300;
    line-height: 1;
}

.jn-footer-column .menu a:hover,
.jn-footer-links a:hover {
    color: #72b9ff !important;
    transform: translateX(3px);
}


/* =========================================================
   TEXTO NORMAL
========================================================= */

.jn-footer-column p,
.jn-footer-column .textwidget,
.jn-footer-column .custom-html-widget {
    color: #d3deea;

    font-size: 15px;
    line-height: 1.7;

    text-align: left;
}


/* =========================================================
   CUARTA COLUMNA — CONTACTO DIRECTO
========================================================= */

.jn-footer-contact {
    margin-top: 24px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.jn-footer-contact-title {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.jn-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 13px;

    margin: 0 0 13px;

    color: #f5f8fc;

    font-size: 15px;
    line-height: 1.45;
}

.jn-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;

    color: #40a4ff;

    font-size: 21px;
}


/* =========================================================
   FRANJA INFERIOR
========================================================= */

.jn-footer-bottom {
    padding: 19px 0;

    background: #061f3a;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jn-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.jn-footer-copy {
    color: #bdcada;

    font-size: 12px;
    line-height: 1.5;
}

.jn-footer-legal {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 20px;
}

.jn-footer-legal a,
.jn-footer-legal a:visited {
    color: #bdcada;

    font-size: 12px;

    text-decoration: none;
}

.jn-footer-legal a:hover {
    color: #fff;
}


/* =========================================================
   LIMPIEZA GENESIS
========================================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;

    text-align: left;
}

.site-footer > .wrap {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}

.footer-widgets {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .jn-footer-container {
        width: min(100% - 50px, 1000px);
    }

    .jn-footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .jn-footer-column-1 {
        padding-right: 0;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 680px) {

    .jn-footer-container {
        width: calc(100% - 34px);
    }

    .jn-footer-cta-inner {
        grid-template-columns: 1fr;
        gap: 25px;

        padding-top: 35px;
        padding-bottom: 35px;
    }

    .jn-footer-cta-copy h2 {
        font-size: 26px;
    }

    .jn-footer-main {
        padding-top: 45px;
    }

    .jn-footer-widgets {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .jn-footer-brand-logo img {
        max-width: 285px;
    }

    .jn-footer-brand-text {
        font-size: 15px !important;
    }

    .jn-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

    .jn-footer-legal {
        justify-content: flex-start;
    }
}

/* =========================================================
   FOOTER — NEWSLETTER
========================================================= */

.jn-footer-newsletter {
    width: 100%;
}

.jn-footer-newsletter-text {
    margin: 0 0 18px !important;
    color: #d3deea !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.jn-footer-newsletter-form {
    width: 100%;
}

.jn-footer-newsletter-form form {
    width: 100%;
}

.jn-footer-newsletter-form input[type="email"],
.jn-footer-newsletter-form input[type="text"] {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 0 10px !important;
    padding: 11px 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.jn-footer-newsletter-form input::placeholder {
    color: #b9c8d8 !important;
}

.jn-footer-newsletter-form button,
.jn-footer-newsletter-form input[type="submit"] {
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 15px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #136fe8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

.jn-footer-newsletter-form button:hover,
.jn-footer-newsletter-form input[type="submit"]:hover {
    background: #0f5fc8 !important;
}

.jn-footer-newsletter-note {
    margin: 10px 0 0 !important;
    color: #9fb1c4 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

/* =========================================================
   MAILERLITE — COMPACTAR FORMULARIO DEL FOOTER
========================================================= */

.jn-footer-newsletter-form .ml-form-embedContent,
.jn-footer-newsletter-form .ml-form-successContent {
    display: none !important;
}

.jn-footer-newsletter-form .ml-form-embedWrapper {
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.jn-footer-newsletter-form .ml-form-embedBody {
    padding: 0 !important;
}

.jn-footer-newsletter-form .ml-form-formContent {
    margin: 0 !important;
}

.jn-footer-newsletter-form .ml-field-group {
    margin: 0 0 10px !important;
}

.jn-footer-newsletter-form input[type="email"] {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
}

.jn-footer-newsletter-form .ml-form-embedSubmit {
    margin: 0 !important;
}

.jn-footer-newsletter-form .ml-form-embedSubmit button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    border-radius: 5px !important;
    background: #136fe8 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.jn-footer-newsletter-form .ml-form-embedSubmit button:hover {
    background: #0f5fc8 !important;
}
