/* Nosotros / Representación Jurídica + Valores — v1.0.0
   Baseline visual tuned against the supplied 1559x782 desktop reference. */

.nrjv,
.nrjv * {
    box-sizing: border-box;
}

.nrjv {
    width: 100%;
    background: #ffffff;
    color: #071a35;
    overflow: hidden;
}

.nrjv__container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.nrjv__top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 82px;
    width: 100%;
}

.nrjv__content {
    flex: 0 0 48%;
    width: 48%;
    min-width: 0;
    text-align: left;
}

.nrjv__image {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.nrjv__eyebrow {
    margin: 0 0 16px;
    color: #c17a1c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.nrjv__title {
    margin: 0;
    max-width: 610px;
    color: #001a3a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 49px;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.5px;
}

.nrjv__separator {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 16px 0 24px;
    min-height: 8px;
}

.nrjv__separator-line {
    display: block;
    width: 82px;
    height: 2px;
    background: #c98b38;
}

.nrjv__separator-diamond {
    display: block;
    width: 6px;
    height: 6px;
    background: #c98b38;
    transform: rotate(45deg);
    flex: 0 0 6px;
}

.nrjv__text {
    color: #071a35;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.62;
}

.nrjv__text p {
    margin: 0;
}

.nrjv__text p + p {
    margin-top: 0.8em;
}

.nrjv__text--secondary {
    margin-top: 19px;
}

.nrjv__button-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 17px;
}

.nrjv__button {
    width: 287px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    background: #021837;
    color: #fff;
    border-radius: 2px;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.nrjv__button:hover,
.nrjv__button:focus {
    background: #c98b38;
    color: #fff;
}

.nrjv__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.nrjv__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nrjv__button-icon i {
    font-size: .86em;
}

.nrjv__button-icon svg {
    width: .9em;
    height: .9em;
    fill: currentColor;
}

.nrjv__image img {
    display: block;
    width: 100%;
    height: 307px;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: 0 5px 24px rgba(0,0,0,.10);
}

.nrjv__values {
    margin-top: 32px;
    width: 100%;
}

.nrjv__values-heading {
    text-align: center;
    color: #c17a1c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.nrjv__values-line {
    display: block;
    width: 74px;
    height: 2px;
    margin: 11px auto 22px;
    background: #c98b38;
}

.nrjv__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.nrjv__card {
    min-height: 205px;
    padding: 28px 20px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--nrjv-item-bg, #fff);
    border: 1px solid var(--nrjv-item-border, #e3ddd3);
    border-radius: 0;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nrjv__card-icon {
    margin-bottom: 20px;
    color: var(--nrjv-item-icon, #d58c2a);
    line-height: 1;
}

.nrjv__card-icon i {
    font-size: 36px;
}

.nrjv__card-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.nrjv__card-title {
    margin: 0 0 14px;
    color: var(--nrjv-item-title, #001837);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.nrjv__card-description {
    max-width: 230px;
    color: var(--nrjv-item-text, #1a2a42);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.45;
}

/* Elementor tablet breakpoint default. */
@media (max-width: 1024px) {
    .nrjv__top {
        flex-direction: column;
        align-items: stretch;
        gap: 38px;
    }

    .nrjv__content {
        width: 100%;
        flex-basis: 100%;
    }

    .nrjv__title {
        font-size: 41px;
        line-height: 1.10;
    }

    .nrjv__text {
        font-size: 17px;
    }

    .nrjv__image img {
        height: 340px;
    }

    .nrjv__values {
        margin-top: 44px;
    }

    .nrjv__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Elementor mobile breakpoint default. */
@media (max-width: 767px) {
    .nrjv__top {
        gap: 32px;
    }

    .nrjv__title {
        max-width: 100%;
        font-size: 35px;
        line-height: 1.10;
        letter-spacing: -0.25px;
    }

    .nrjv__eyebrow {
        font-size: 14px;
    }

    .nrjv__text {
        font-size: 16px;
    }

    .nrjv__button-wrap {
        align-items: stretch;
    }

    .nrjv__button {
        width: 100%;
    }

    .nrjv__image img {
        height: 240px;
    }

    .nrjv__values {
        margin-top: 42px;
    }

    .nrjv__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nrjv__card {
        min-height: 190px;
        padding: 26px 22px;
    }

    .nrjv__card-icon i {
        font-size: 34px;
    }

    .nrjv__card-icon svg {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .nrjv__title {
        font-size: 33px;
    }

    .nrjv__image img {
        height: 225px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nrjv__button,
    .nrjv__card {
        transition: none;
    }
}
