.ajf-rutas-hero,
.ajf-rutas-hero * {
    box-sizing: border-box;
}

.ajf-rutas-hero {
    --ajf-navy: #071431;
    --ajf-gold: #d88b09;
    --ajf-gold-dark: #c57a05;
    --ajf-soft-line: rgba(7, 20, 49, 0.14);
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    color: var(--ajf-navy);
    isolation: isolate;
    padding: 0;
}

.ajf-rutas-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1672px;
    min-height: 800px;
    margin: 0 auto;
    padding: 0 76px;
}

.ajf-rutas-hero__content {
    position: relative;
    z-index: 3;
    width: min(760px, 52%);
    padding-top: 30px;
}

.ajf-rutas-hero__title {
    margin: 0 0 24px;
    color: var(--ajf-navy);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(58px, 5.25vw, 92px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.ajf-rutas-hero__title span {
    display: inline-block;
}

.ajf-rutas-hero__title-highlight {
    color: var(--ajf-gold);
}

.ajf-rutas-hero__lead {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--ajf-navy);
    font-family: inherit;
    font-size: clamp(23px, 1.55vw, 28px);
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.ajf-rutas-hero__description {
    max-width: 690px;
    margin: 0 0 42px;
    color: var(--ajf-navy);
    font-size: clamp(18px, 1.18vw, 22px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.ajf-rutas-hero__actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0 0 72px;
}

.ajf-rutas-hero__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border-radius: 8px;
    padding: 20px 44px;
    color: var(--ajf-navy);
    font-size: 18px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    white-space: nowrap;
}

.ajf-rutas-hero__button:hover,
.ajf-rutas-hero__button:focus {
    transform: translateY(-1px);
    color: var(--ajf-navy);
    text-decoration: none !important;
}

.ajf-rutas-hero__button--primary {
    min-width: 320px;
    justify-content: space-between;
    gap: 26px;
    border: 1px solid rgba(197, 122, 5, 0.55);
    background: linear-gradient(180deg, #f8c65e 0%, var(--ajf-gold) 100%);
    box-shadow: 0 14px 32px rgba(216, 139, 9, 0.18);
}

.ajf-rutas-hero__button--primary:hover,
.ajf-rutas-hero__button--primary:focus {
    box-shadow: 0 18px 38px rgba(216, 139, 9, 0.26);
}

.ajf-rutas-hero__button--secondary {
    min-width: 360px;
    gap: 22px;
    border: 1.5px solid var(--ajf-gold);
    background: rgba(255, 255, 255, 0.92);
}

.ajf-rutas-hero__button--secondary:hover,
.ajf-rutas-hero__button--secondary:focus {
    border-color: var(--ajf-gold-dark);
    background: #fffaf0;
}

.ajf-rutas-hero__button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 400;
    line-height: 0.6;
    transform: translateY(-1px);
}

.ajf-rutas-hero__button-compass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ajf-gold);
}

.ajf-rutas-hero__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: min(890px, calc(100vw - 120px));
}

.ajf-rutas-hero__feature {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    min-height: 104px;
    padding: 0 28px 0 0;
}

.ajf-rutas-hero__feature + .ajf-rutas-hero__feature {
    padding-left: 34px;
    border-left: 1px solid var(--ajf-soft-line);
}

.ajf-rutas-hero__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1.5px solid var(--ajf-gold);
    border-radius: 8px;
    color: var(--ajf-gold);
    background: rgba(255, 255, 255, 0.84);
}

.ajf-rutas-hero__feature-icon svg {
    width: 34px;
    height: 34px;
}

.ajf-rutas-hero__feature-copy h3 {
    margin: 0 0 9px;
    color: var(--ajf-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.26;
    letter-spacing: -0.01em;
}

.ajf-rutas-hero__feature-copy p {
    margin: 0;
    color: var(--ajf-navy);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.ajf-rutas-hero__visual {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -24px;
    width: min(53vw, 910px);
    max-width: 930px;
    pointer-events: none;
}

.ajf-rutas-hero__visual::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 28%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 24%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.ajf-rutas-hero__visual::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    height: 16%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.ajf-rutas-hero__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    user-select: none;
}

@media (max-width: 1280px) {
    .ajf-rutas-hero__inner {
        min-height: 720px;
        padding-right: 42px;
        padding-left: 42px;
    }

    .ajf-rutas-hero__content {
        width: min(700px, 56%);
    }

    .ajf-rutas-hero__visual {
        right: -90px;
        width: 61vw;
    }

    .ajf-rutas-hero__features {
        width: min(780px, calc(100vw - 84px));
    }

    .ajf-rutas-hero__feature {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 18px;
        padding-right: 20px;
    }

    .ajf-rutas-hero__feature + .ajf-rutas-hero__feature {
        padding-left: 24px;
    }
}

@media (max-width: 1024px) {
    .ajf-rutas-hero__inner {
        min-height: auto;
        align-items: flex-start;
        padding-top: 70px;
        padding-bottom: 54px;
    }

    .ajf-rutas-hero__content {
        width: 58%;
        padding-top: 0;
    }

    .ajf-rutas-hero__actions {
        gap: 18px;
        flex-wrap: wrap;
        margin-bottom: 48px;
    }

    .ajf-rutas-hero__button,
    .ajf-rutas-hero__button--primary,
    .ajf-rutas-hero__button--secondary {
        min-width: 285px;
        min-height: 64px;
        padding: 18px 30px;
    }

    .ajf-rutas-hero__visual {
        top: 42px;
        right: -170px;
        width: 68vw;
        opacity: 0.92;
    }

    .ajf-rutas-hero__features {
        grid-template-columns: 1fr;
        width: min(420px, 100%);
        gap: 18px;
    }

    .ajf-rutas-hero__feature,
    .ajf-rutas-hero__feature + .ajf-rutas-hero__feature {
        min-height: auto;
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .ajf-rutas-hero__inner {
        display: block;
        padding: 46px 22px 34px;
    }

    .ajf-rutas-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .ajf-rutas-hero__title {
        margin-bottom: 20px;
        font-size: clamp(42px, 13vw, 58px);
        line-height: 1.02;
    }

    .ajf-rutas-hero__lead {
        font-size: 21px;
        line-height: 1.42;
    }

    .ajf-rutas-hero__description {
        margin-bottom: 30px;
        font-size: 17px;
    }

    .ajf-rutas-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 34px;
    }

    .ajf-rutas-hero__button,
    .ajf-rutas-hero__button--primary,
    .ajf-rutas-hero__button--secondary {
        width: 100%;
        min-width: 0;
        min-height: 60px;
        padding: 17px 22px;
        font-size: 16px;
    }

    .ajf-rutas-hero__features {
        width: 100%;
        gap: 20px;
    }

    .ajf-rutas-hero__feature {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
    }

    .ajf-rutas-hero__feature-icon {
        width: 52px;
        height: 52px;
    }

    .ajf-rutas-hero__feature-copy h3 {
        font-size: 17px;
    }

    .ajf-rutas-hero__feature-copy p {
        font-size: 15px;
    }

    .ajf-rutas-hero__visual {
        position: relative;
        top: auto !important;
        right: auto !important;
        width: min(118%, 560px) !important;
        margin: 22px -12% -28px auto;
        opacity: 0.92;
    }

    .ajf-rutas-hero__visual::before {
        width: 16%;
    }
}

@media (max-width: 420px) {
    .ajf-rutas-hero__inner {
        padding-right: 18px;
        padding-left: 18px;
    }

    .ajf-rutas-hero__title {
        font-size: 41px;
    }

    .ajf-rutas-hero__lead {
        font-size: 19px;
    }
}
