/**
 * Hero de conversión + calculadora en Home.
 */

.ib-hero--video.hero-video-section {
    height: auto;
    min-height: min(88vh, 760px);
}

.ib-hero--video .video-hero-container {
    background: #0a3161;
}

.ib-hero--video .ib-hero-media {
    min-height: min(88vh, 760px);
    background: #0a3161;
}

.ib-hero--video .ib-hero-overlay {
    background: linear-gradient(90deg, rgba(10, 49, 97, 0.78) 0%, rgba(10, 49, 97, 0.45) 55%, rgba(10, 49, 97, 0.28) 100%);
}

.ib-hero--video .ib-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 640px;
    padding: 6.5rem 0 4.5rem;
    color: #fff;
    transform: none;
    height: auto;
    justify-content: center;
}

.ib-hero--video .ib-hero-title,
.ib-hero--video h1.ib-h1,
.ib-hero--video .ib-lead,
.ib-hero--video .ib-hero-lead,
.ib-hero--video .ib-hero-route,
.ib-hero--video .ib-hero-price-kicker,
.ib-hero--video .ib-hero-price-value,
.ib-hero--video .ib-hero-price-unit {
    color: #fff !important;
    text-shadow: 0 1px 12px rgba(10, 49, 97, 0.35);
}

.ib-hero--video .ib-kicker {
    color: #ffc56a !important;
}

.ib-hero--static {
    background: #f4f6f9;
    padding: 5.5rem 0 4rem;
    min-height: min(82vh, 720px);
    display: flex;
    align-items: center;
}

.ib-hero-static-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: center;
}

.ib-hero-title {
    letter-spacing: -0.035em;
}

.ib-hero-route {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.06em;
}

.ib-hero--static .ib-hero-route {
    background: #fff;
    border: 1px solid var(--ib-line);
    color: var(--ib-navy-dark);
}

.ib-hero-route-arrow {
    opacity: 0.7;
}

.ib-hero-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    margin: 0 0 1.75rem;
}

.ib-hero-price-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
}

.ib-hero-price-value {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ib-hero-price-unit {
    font-size: 1.05rem;
    font-weight: 550;
    opacity: 0.8;
}

.ib-hero-price--on-light .ib-hero-price-value {
    color: var(--ib-navy-dark);
}

.ib-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ib-hero--video .ib-btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.ib-hero--video .ib-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Hero noche: azul sólido a la izquierda que se funde con la imagen de la derecha */
.ib-hero--night {
    --ib-hero-night: #0a1f3d;
    position: relative;
    overflow: hidden;
    background: var(--ib-hero-night);
    color: #fff;
}

/* Imagen a todo el ancho: un archivo 1920×720 calza 1:1; el 40% izquierdo queda bajo el azul */
.ib-hero-bg {
    position: absolute;
    inset: 0;
}

.ib-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}

.ib-hero-slide.is-active {
    opacity: 1;
}

.ib-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.ib-hero-dots {
    position: absolute;
    right: max(1.5rem, calc((100vw - 1200px) / 2));
    bottom: 5.25rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.ib-hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.ib-hero-dot:hover,
.ib-hero-dot:focus-visible {
    background: rgba(255, 255, 255, 0.8);
}

.ib-hero-dot:focus-visible {
    outline: 2px solid #ffb347;
    outline-offset: 3px;
}

.ib-hero-dot.is-active {
    width: 28px;
    background: var(--ib-orange);
}

@media (prefers-reduced-motion: reduce) {
    .ib-hero-slide,
    .ib-hero-dot {
        transition: none;
    }
}

.ib-hero-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            var(--ib-hero-night) 0%,
            var(--ib-hero-night) 36%,
            rgba(10, 31, 61, 0.82) 48%,
            rgba(10, 31, 61, 0.35) 62%,
            rgba(10, 31, 61, 0) 78%),
        linear-gradient(0deg, rgba(10, 31, 61, 0.55) 0%, rgba(10, 31, 61, 0) 30%);
}

.ib-hero--night .ib-hero-static-grid {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ib-hero--night .ib-hero-copy {
    max-width: 36rem;
}

.ib-hero--night .ib-kicker {
    color: #ffb347;
}

.ib-hero--night .ib-hero-title,
.ib-hero--night h1.ib-h1 {
    color: #fff !important;
}

.ib-hero--night .ib-hero-lead {
    color: rgba(255, 255, 255, 0.8);
}

.ib-hero--night .ib-hero-route {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ib-hero--night .ib-hero-price-kicker,
.ib-hero--night .ib-hero-price-unit {
    color: rgba(255, 255, 255, 0.75);
}

.ib-hero--night .ib-hero-price-value {
    color: #fff;
}

.ib-hero-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.55rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--ib-line);
    font-size: 0.78rem;
    color: var(--ib-text-muted);
}

.ib-hero-compare a {
    color: var(--ib-navy);
    text-decoration: none;
    font-weight: 650;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.ib-hero-compare a.is-active {
    background: var(--ib-navy-dark);
    color: #fff;
}

/* Calculadora Home */
.ib-home-calc {
    background: #fff;
}

.ib-home-calc-header {
    max-width: 36rem;
    margin-bottom: 2rem;
}

.ib-home-calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}

.ib-home-calc .calculator-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ib-home-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ib-home-calc .form-group {
    width: 100%;
    min-width: 0;
    margin-bottom: 1.1rem;
}

.ib-home-calc .ib-input {
    min-height: 52px;
    font-size: 1.05rem;
    width: 100%;
}

.ib-home-calc .btn-calculate {
    width: 100%;
    margin-top: 0.25rem;
}

.ib-home-calc .ib-home-calc-result {
    min-height: 320px;
}

.ib-home-calc .route-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ib-home-calc .route-card {
    border: 1px solid var(--ib-line);
    border-radius: 12px;
    padding: 0.9rem;
    cursor: pointer;
    background: #fff;
}

.ib-home-calc .route-card.active {
    border-color: var(--ib-orange);
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.18);
}

.ib-home-calc .route-header {
    text-align: left;
    margin-bottom: 0.35rem;
}

.ib-home-calc .route-flag-title {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    font-weight: 650;
}

.ib-home-calc .route-flag {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.ib-home-calc .route-title {
    font-size: 0.92rem;
    line-height: 1.25;
    color: var(--ib-navy-dark) !important;
    letter-spacing: 0;
    font-weight: 650;
}

.ib-home-calc .price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ib-text-muted);
    margin-top: 0.55rem;
}

.ib-home-calc .price-value {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--ib-navy-dark);
}

.ib-home-calc .ib-home-calc-result {
    min-height: 320px;
    background: #f7f5f1;
    border: 0;
    box-shadow: none;
}

.ib-home-calc .calculator-results {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.ib-ref {
    width: 100%;
    text-align: center;
    padding: 0.35rem 0.4rem 0.15rem;
}

.ib-ref-label {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--ib-text-muted);
}

.ib-ref-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.45rem;
    color: var(--ib-navy-dark);
    line-height: 1;
}

.ib-ref-currency {
    font-size: 1.35rem;
    font-weight: 700;
}

.ib-ref-number {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 750;
    letter-spacing: -0.045em;
}

.ib-ref-unit {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ib-text-muted);
}

.ib-ref-route {
    margin: 0 0 1.15rem;
    font-size: 0.92rem;
    color: var(--ib-text-muted);
}

.ib-ref-taxline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--ib-navy-dark);
}

.ib-ref-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.ib-ref-badge--ok {
    background: #e7f6ec;
    color: #1f7a45;
}

.ib-ref-badge--tax {
    background: #fff1dc;
    color: #b25a00;
}

.ib-ref-badge--muted {
    background: #eceff4;
    color: var(--ib-navy);
}

.ib-ref-taxnote {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    color: var(--ib-text-muted);
}

.ib-ref-split {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    color: var(--ib-text-muted);
}

.ib-ref-note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ib-text-muted);
}

.ib-ref--done .ib-quote-cta {
    margin-top: 1.25rem;
}

.ib-home-calc .route-time {
    font-size: 0.78rem;
    color: var(--ib-text-muted);
    margin: 0.15rem 0 0.4rem;
}

.ib-home-calc .route-card:focus-visible {
    outline: 3px solid var(--ib-orange);
    outline-offset: 2px;
}

.ib-how-header {
    max-width: 36rem;
    margin-bottom: 2.5rem;
}

.ib-how.how-it-works {
    background: var(--ib-bg-soft);
    padding: var(--ib-space-section) 0;
    overflow: visible;
}

.ib-how.how-it-works::before {
    content: none;
    display: none;
}

.ib-how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: none;
}

.ib-how-step {
    --how-ink: #0a3161;
    --how-paper: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1.5rem;
    border-radius: var(--ib-radius-lg);
    background: #fff;
    border: 1px solid var(--ib-line);
    box-shadow: 0 10px 28px rgba(10, 49, 97, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ib-how-step::before {
    content: "";
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--ib-orange), #ffb347);
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ib-how-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 49, 97, 0.14);
}

.ib-how-step:hover::before {
    transform: scaleX(1);
}

.ib-how-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 62%, #ffe9c7 0%, #fff6e8 48%, #fffaf3 100%);
}

.ib-how-step:nth-child(even) .ib-how-art {
    background: radial-gradient(circle at 50% 62%, #dbe6fa 0%, #eef2f9 48%, #f6f8fc 100%);
}

.ib-how-art svg {
    width: 100%;
    max-width: 190px;
    height: auto;
    overflow: visible;
    transition: transform 0.35s ease;
}

.ib-how-step:hover .ib-how-art svg {
    transform: scale(1.06) rotate(-1.5deg);
}

.ib-how-num {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ib-navy-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transform: rotate(-8deg);
    box-shadow: 2px 3px 0 var(--ib-orange);
}

.ib-how-art .k {
    fill: none;
    stroke: var(--how-ink);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ib-how-art .thin { stroke-width: 1.6; }
.ib-how-art .p { fill: var(--how-paper); }
.ib-how-art .o { fill: #f39200; }
.ib-how-art .s { fill: #ffd08a; }
.ib-how-art .b { fill: #bcd3ff; }
.ib-how-art .g { fill: #38a169; }
.ib-how-art .n { fill: var(--how-ink); }
.ib-how-art .sh { fill: var(--how-ink); opacity: 0.1; }
.ib-how-art .w { stroke: #fff; }
.ib-how-art .trail { stroke: #f39200; stroke-dasharray: 3 7; }

.ib-how-art .a-pin { animation: ib-how-bounce 2.4s ease-in-out infinite; }

.ib-how-art .a-flag {
    transform-box: fill-box;
    transform-origin: 0% 100%;
    animation: ib-how-flag 3.2s ease-in-out infinite;
}

.ib-how-art .a-spark {
    transform-box: fill-box;
    transform-origin: center;
    stroke: #f39200;
    animation: ib-how-twinkle 2s ease-in-out infinite;
}

.ib-how-art .a-spark--late { animation-delay: -1s; }

.ib-how-art .a-drop { animation: ib-how-drop 3.2s ease-in infinite; }
.ib-how-art .a-drop--late { animation-delay: 0.45s; }

.ib-how-art .a-lines { animation: ib-how-lines 1.2s ease-in-out infinite; }

.ib-how-art .a-cloud { animation: ib-how-drift 5s ease-in-out infinite alternate; }
.ib-how-art .a-cloud--late { animation-delay: -2.5s; }

.ib-how-art .a-plane { animation: ib-how-fly 3s ease-in-out infinite; }
.ib-how-art .a-trail { animation: ib-how-dash 0.9s linear infinite; }

.ib-how-art .a-box { animation: ib-how-deliver 3.6s ease-in-out infinite; }

.ib-how-art .a-check {
    transform-box: fill-box;
    transform-origin: center;
    animation: ib-how-pop 3.6s ease-in-out infinite;
}

@keyframes ib-how-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes ib-how-flag {
    0%, 15% { transform: rotate(90deg); }
    35%, 80% { transform: rotate(0deg); }
    100% { transform: rotate(90deg); }
}

@keyframes ib-how-twinkle {
    0%, 100% { transform: scale(0.6); opacity: 0.35; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes ib-how-drop {
    0% { transform: translateY(-34px); opacity: 0; }
    12% { opacity: 1; }
    32% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    48%, 82% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 0; }
}

@keyframes ib-how-lines {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    50% { transform: translateX(-4px); opacity: 1; }
}

@keyframes ib-how-drift {
    from { transform: translateX(0); }
    to { transform: translateX(12px); }
}

@keyframes ib-how-fly {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -6px); }
}

@keyframes ib-how-dash {
    to { stroke-dashoffset: -20; }
}

@keyframes ib-how-deliver {
    0% { transform: translateX(26px); opacity: 0; }
    20% { transform: translateX(0); opacity: 1; }
    26% { transform: translate(0, -5px); }
    32%, 86% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes ib-how-pop {
    0%, 30% { transform: scale(0); }
    40% { transform: scale(1.18); }
    48%, 86% { transform: scale(1); }
    100% { transform: scale(0); }
}

.ib-how-body {
    padding: 1.1rem 0.4rem 0;
}

.ib-how-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ib-orange-dark);
}

.ib-how-arrow {
    position: absolute;
    z-index: 2;
    top: calc(1rem + 60px);
    right: calc(-0.75rem - 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ib-line);
    color: var(--ib-orange-dark);
    box-shadow: 0 4px 12px rgba(10, 49, 97, 0.08);
}

.ib-how-arrow svg {
    animation: ib-how-nudge 1.6s ease-in-out infinite;
}

@keyframes ib-how-nudge {
    0%, 100% { transform: translateX(-1px); }
    50% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
    .ib-how-step,
    .ib-how-step::before,
    .ib-how-art svg {
        transition: none;
    }

    .ib-how-step:hover,
    .ib-how-step:hover .ib-how-art svg {
        transform: none;
    }

    .ib-how-art *,
    .ib-how-arrow svg {
        animation: none !important;
    }
}

.ib-how-title {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ib-navy-dark) !important;
    line-height: 1.25;
}

.ib-how-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ib-text-muted);
}

.ib-how-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.ib-routes {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ib-bg);
}

.ib-routes-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 58%;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(270deg, transparent 0%, #000 45%);
}

.ib-routes-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: -110px 0;
}

.ib-routes .ib-route-card {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
}

.ib-routes .ib-route-card.is-soon {
    background-color: rgba(247, 248, 250, 0.94);
}

@media (max-width: 900px) {
    .ib-routes-bg {
        bottom: auto;
        width: 100%;
        height: 340px;
        opacity: 0.45;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    }

    .ib-routes-bg img {
        object-position: 25% 0%;
    }
}

.ib-routes-header {
    max-width: 38rem;
    margin-bottom: 2.25rem;
}

.ib-routes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.ib-route-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.ib-route-card.is-soon {
    opacity: 0.72;
    background: var(--ib-bg-soft);
}

.ib-route-soon {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ib-orange);
}

.ib-route-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    margin: 0 0 1rem;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--ib-navy-dark);
}

.ib-route-path img {
    display: block;
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px var(--ib-line);
}

.ib-route-arrow {
    opacity: 0.55;
}

.ib-route-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.45rem;
}

.ib-route-price-kicker {
    width: 100%;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ib-text-muted);
}

.ib-route-price-value {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    color: var(--ib-navy-dark);
    line-height: 1;
}

.ib-route-price-unit {
    font-size: 1rem;
    color: var(--ib-text-muted);
}

.ib-route-meta,
.ib-route-note {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ib-text-muted);
}

.ib-route-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.ib-import-header {
    max-width: 40rem;
    margin-bottom: 2.25rem;
}

.ib-import-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.ib-import-item {
    --how-ink: #0a3161;
    --how-paper: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0.85rem 1.3rem;
    border-radius: var(--ib-radius-lg, 16px);
    background: #fff;
    border: 1px solid var(--ib-line);
    box-shadow: 0 10px 26px rgba(10, 49, 97, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ib-import-item::after {
    content: "";
    position: absolute;
    left: 1.2rem;
    bottom: 0;
    width: 2.25rem;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--ib-orange);
    transition: width 0.3s ease;
}

.ib-import-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 49, 97, 0.14);
}

.ib-import-item:hover::after {
    width: calc(100% - 2.4rem);
}

.ib-import-art {
    height: 128px;
}

.ib-import-art svg {
    max-width: 170px;
}

.ib-import-item:nth-child(even) .ib-how-art {
    background: radial-gradient(circle at 50% 62%, #dbe6fa 0%, #eef2f9 48%, #f6f8fc 100%);
}

.ib-import-item:hover .ib-how-art svg {
    transform: scale(1.06) rotate(-1.5deg);
}

.ib-how-art .glow { fill: #ffd08a; }
.ib-how-art .hand { stroke: #f39200; stroke-width: 1.8; }

.ib-how-art .a-type {
    transform-box: fill-box;
    transform-origin: left center;
    animation: ib-cat-type 2.8s ease-in-out infinite;
}

.ib-how-art .a-type--2 { animation-delay: 0.35s; }
.ib-how-art .a-type--3 { animation-delay: 0.7s; }

.ib-how-art .a-wave { animation: ib-cat-pulse 1.8s ease-in-out infinite; }
.ib-how-art .a-wave--2 { animation-delay: 0.45s; }

.ib-how-art .a-wobble {
    transform-box: fill-box;
    transform-origin: center;
    animation: ib-cat-wobble 2.6s ease-in-out infinite;
}

.ib-how-art .a-blink { animation: ib-cat-pulse 1.4s ease-in-out infinite; }
.ib-how-art .a-blink--2 { animation-delay: 0.45s; }
.ib-how-art .a-blink--3 { animation-delay: 0.9s; }

.ib-how-art .a-swing {
    transform-box: view-box;
    transform-origin: 80px 12px;
    animation: ib-cat-swing 3s ease-in-out infinite;
}

.ib-how-art .a-glow { animation: ib-cat-glow 2.4s ease-in-out infinite; }

.ib-how-art .a-spin {
    transform-box: view-box;
    transform-origin: 80px 60px;
    animation: ib-cat-spin 6s linear infinite;
}

@keyframes ib-cat-type {
    0% { transform: scaleX(0); opacity: 1; }
    40%, 82% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

@keyframes ib-cat-pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}

@keyframes ib-cat-wobble {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-4px); }
}

@keyframes ib-cat-swing {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(6deg); }
}

@keyframes ib-cat-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.85; }
}

@keyframes ib-cat-spin {
    to { transform: rotate(360deg); }
}

.ib-import-body {
    padding: 1rem 0.35rem 0;
}

.ib-import-title {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ib-navy-dark) !important;
    line-height: 1.25;
}

.ib-import-text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--ib-text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .ib-import-item,
    .ib-import-item::after {
        transition: none;
    }

    .ib-import-item:hover,
    .ib-import-item:hover .ib-how-art svg {
        transform: none;
    }
}

.ib-import-note {
    margin: 1.5rem 0 0;
    max-width: 40rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ib-text-muted);
}

.ib-import-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.ib-rewards {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 70%);
    scroll-margin-top: calc(var(--ib-nav-height) + 12px);
}

.ib-rewards-glow {
    position: absolute;
    top: -8rem;
    right: -10rem;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 146, 0, 0.16) 0%, rgba(243, 146, 0, 0) 65%);
    pointer-events: none;
}

.ib-rewards .ib-container {
    position: relative;
}

.ib-rewards-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
    gap: 2.5rem 4rem;
    align-items: center;
}

.ib-rewards-copy {
    max-width: 35rem;
}

.ib-rewards-copy .ib-h2 {
    margin-bottom: 0.75rem;
}

.ib-rewards-accent {
    background: linear-gradient(90deg, #f39200, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ib-rewards-steps {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.ib-rewards-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.ib-rewards-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 48px;
    bottom: -1.1rem;
    border-left: 2px dashed rgba(243, 146, 0, 0.35);
}

.ib-rewards-step-icon {
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff1d9, #ffe0ad);
    color: var(--ib-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(243, 146, 0, 0.25);
}

.ib-rewards-step-title {
    margin: 0.1rem 0 0.2rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ib-navy-dark) !important;
}

.ib-rewards-step-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ib-text-muted);
}

.ib-rewards-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.ib-rewards-visual {
    position: relative;
    padding: 2.5rem 0.5rem 3rem;
}

.ib-rewards-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #0a3161 0%, #17437f 55%, #325aa6 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(10, 49, 97, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transform: rotate(-2deg);
    transition: transform 0.35s ease;
}

.ib-rewards-visual:hover .ib-rewards-card {
    transform: rotate(0deg) translateY(-4px);
}

.ib-rewards-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -25%;
    width: 75%;
    height: 120%;
    background: radial-gradient(circle, rgba(243, 146, 0, 0.35) 0%, rgba(243, 146, 0, 0) 65%);
    pointer-events: none;
}

.ib-rewards-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.09) 48%, rgba(255, 255, 255, 0) 60%);
    transform: translateX(-100%);
    animation: ib-rewards-sheen 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ib-rewards-sheen {
    0%, 55% {
        transform: translateX(-100%);
    }
    80%, 100% {
        transform: translateX(100%);
    }
}

.ib-rewards-card-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ib-rewards-card-brand {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.ib-rewards-card-brand strong {
    color: #ffbd3a;
}

.ib-rewards-card-chip {
    width: 38px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, #ffe7a3, #f39200 60%, #b86200);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ib-rewards-card-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin: 1.4rem 0 1.35rem;
}

.ib-rewards-medal {
    flex: 0 0 96px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
    animation: ib-rewards-medal 5s ease-in-out infinite;
}

@keyframes ib-rewards-medal {
    0%, 100% {
        transform: translateY(0) rotate(-4deg);
    }
    50% {
        transform: translateY(-6px) rotate(4deg);
    }
}

.ib-rewards-card-label {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    opacity: 0.78;
}

.ib-rewards-card-value {
    margin: 0;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #ffbd3a;
}

.ib-rewards-card-value small {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    opacity: 0.85;
}

.ib-rewards-card-stats {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.ib-rewards-card-stats li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ib-rewards-card-stats strong {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.ib-rewards-card-stats span {
    font-size: 0.72rem;
    line-height: 1.3;
    opacity: 0.72;
}

.ib-rewards-coin {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe7a3 0%, #ffbd3a 45%, #d97a00 100%);
    box-shadow: inset 0 0 0 3px rgba(255, 241, 196, 0.55), 0 8px 16px rgba(217, 122, 0, 0.3);
    animation: ib-rewards-float 6s ease-in-out infinite;
}

.ib-rewards-coin--a {
    top: 0.25rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
}

.ib-rewards-coin--b {
    top: 45%;
    left: -1rem;
    width: 30px;
    height: 30px;
    animation-delay: -2s;
}

.ib-rewards-coin--c {
    bottom: 0.5rem;
    right: -0.5rem;
    width: 36px;
    height: 36px;
    animation-delay: -4s;
}

@keyframes ib-rewards-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(12deg);
    }
}

.ib-rewards-toast {
    position: absolute;
    z-index: 2;
    left: -0.75rem;
    bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.95rem 0.6rem 0.6rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(10, 49, 97, 0.18);
    animation: ib-rewards-bob 7s ease-in-out infinite;
}

@keyframes ib-rewards-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.ib-rewards-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.35rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffb347, #f39200);
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
}

.ib-rewards-toast-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ib-rewards-toast-text strong {
    font-size: 0.85rem;
    color: var(--ib-navy-dark);
}

.ib-rewards-toast-text small {
    font-size: 0.74rem;
    color: var(--ib-text-muted);
}

.ib-rewards-note {
    margin: 2.25rem auto 0;
    max-width: 44rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ib-text-muted);
}

.ib-rewards-note strong {
    color: var(--ib-navy-dark);
}

@media (max-width: 600px) {
    .ib-rewards-visual {
        padding: 2rem 0 3.25rem;
    }

    .ib-rewards-card {
        padding: 1.25rem 1.1rem 1.1rem;
        transform: none;
    }

    .ib-rewards-medal {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .ib-rewards-card-value {
        font-size: 2.2rem;
    }

    .ib-rewards-card-stats li {
        padding: 0.55rem 0.5rem;
    }

    .ib-rewards-card-stats strong {
        font-size: 0.78rem;
    }

    .ib-rewards-toast {
        left: 0.5rem;
        bottom: 0.25rem;
    }

    .ib-rewards-coin--b {
        left: -0.35rem;
    }

    .ib-rewards-coin--c {
        right: 0.25rem;
    }

    .ib-rewards-note {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-rewards-card,
    .ib-rewards-card::after,
    .ib-rewards-medal,
    .ib-rewards-coin,
    .ib-rewards-toast {
        animation: none;
        transition: none;
    }
}

.ib-app {
    background: var(--ib-navy-dark);
    color: #fff;
    overflow: hidden;
    scroll-margin-top: calc(var(--ib-nav-height) + 12px);
}

.ib-app .ib-h2,
.ib-app h2.ib-h2 {
    color: #fff !important;
}

.ib-app .ib-lead {
    color: #fff;
    opacity: 0.88;
}

.ib-app-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: 2.75rem 4rem;
    align-items: end;
}

.ib-app-copy {
    max-width: 34rem;
}

.ib-app-copy .ib-h2 {
    margin-bottom: 0.75rem;
}

.ib-app-copy .ib-lead {
    margin-bottom: 1.35rem;
}

.ib-app-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.ib-app-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
}

.ib-app-list li::before {
    content: "";
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--ib-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

.ib-app-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.ib-app-badge {
    display: inline-flex;
    line-height: 0;
    transition: transform var(--ib-ease);
}

.ib-app-badge:hover,
.ib-app-badge:focus-visible {
    transform: translateY(-2px);
}

.ib-app-badge img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 220px;
}

.ib-app.ib-section {
    padding-bottom: 0;
}

.ib-app-copy {
    align-self: center;
    padding-bottom: 4.5rem;
}

.ib-phone {
    --ib-phone-w: 380px;
    position: relative;
    margin: 0;
    justify-self: center;
    align-self: end;
    width: var(--ib-phone-w);
    max-width: 100%;
    height: calc(var(--ib-phone-w) * 1.62);
}

.ib-phone::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8%;
    width: 170%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, rgba(243, 146, 0, 0.42) 0%, rgba(243, 146, 0, 0.12) 28%, rgba(10, 49, 97, 0) 55%),
        radial-gradient(circle at 50% 50%, rgba(80, 130, 230, 0.35) 0%, rgba(10, 49, 97, 0) 65%);
    filter: blur(8px);
    pointer-events: none;
    animation: ib-phone-glow 6s ease-in-out infinite;
}

.ib-phone-ring {
    position: absolute;
    left: 50%;
    top: 14%;
    width: 150%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 60px rgba(255, 255, 255, 0.025),
        0 0 0 120px rgba(255, 255, 255, 0.015);
    pointer-events: none;
}

@keyframes ib-phone-glow {
    0%, 100% {
        opacity: 0.85;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.06);
    }
}

.ib-phone-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem 0.6rem 0.6rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    color: var(--ib-navy-dark);
    white-space: nowrap;
    animation: ib-chip-float 5s ease-in-out infinite;
}

.ib-phone-chip--left {
    top: 30%;
    left: -22%;
}

.ib-phone-chip--right {
    top: 62%;
    right: -20%;
    animation-delay: -2.5s;
}

.ib-phone-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--ib-orange);
    color: #fff;
    flex-shrink: 0;
}

.ib-phone-chip-icon--ok {
    background: #16a34a;
}

.ib-phone-chip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ib-phone-chip-text strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.ib-phone-chip-text small {
    font-size: 0.72rem;
    color: var(--ib-text-muted, #64748b);
}

@keyframes ib-chip-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@supports (animation-timeline: view()) {
    .ib-phone-frame {
        animation: ib-phone-rise linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
}

@keyframes ib-phone-rise {
    from {
        transform: translateY(18%);
    }
    to {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-phone::before,
    .ib-phone-chip,
    .ib-phone-frame {
        animation: none;
    }
}

.ib-phone-frame {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 12px 12px 0;
    border-radius: 54px 54px 0 0;
    background: linear-gradient(180deg, #3a4558 0%, #111826 100%);
    box-shadow:
        0 -10px 60px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(243, 146, 0, 0.18),
        inset 0 0 0 2px rgba(255, 255, 255, 0.12),
        inset 0 0 0 5px #05080f;
}

.ib-phone-island {
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 2;
    width: 30%;
    height: 26px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #05080f;
}

.ib-phone-screen {
    height: 100%;
    overflow: hidden;
    border-radius: 42px 42px 0 0;
    background: #f4f6fb;
}

.ib-phone-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.ib-track {
    background: var(--ib-bg-soft);
    scroll-margin-top: calc(var(--ib-nav-height) + 12px);
}

.ib-track-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    gap: 2.5rem 3rem;
    align-items: center;
}

.ib-track-copy {
    max-width: 34rem;
}

.ib-track-copy .ib-h2 {
    margin-bottom: 0.75rem;
}

.ib-track-copy .ib-lead {
    margin-bottom: 0;
}

.ib-track-form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ib-track-form .ib-input {
    min-height: 52px;
    margin-bottom: 0.65rem;
}

.ib-track-form .ib-btn {
    margin-top: 0.25rem;
}

.ib-track-hint {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--ib-text-muted);
}

.ib-track-panel .tracking-result {
    margin-top: 1.25rem;
}

.ib-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Tarjetas de confianza montadas sobre el borde inferior del hero */
.ib-hero--static {
    padding-bottom: 7.5rem;
}

.ib-trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -4.25rem;
}

.ib-trust-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ib-trust-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0;
    padding: 1.35rem 1.25rem;
    isolation: isolate;
    background: linear-gradient(135deg, #ffa31a 0%, #f39200 45%, #e07800 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--ib-radius-lg);
    box-shadow:
        0 16px 34px rgba(224, 120, 0, 0.32),
        0 3px 8px rgba(10, 31, 61, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ib-trust-item::before {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -48px;
    z-index: -1;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.06);
    transition: transform 0.4s ease;
}

.ib-trust-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.ib-trust-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 22px 44px rgba(224, 120, 0, 0.4),
        0 4px 10px rgba(10, 31, 61, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ib-trust-item:hover::before {
    transform: scale(1.18);
}

.ib-trust-item:hover::after {
    transform: translateX(120%);
}

.ib-trust-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--ib-orange);
    background: #fff;
    box-shadow: 0 6px 14px rgba(150, 70, 0, 0.25);
    transition: transform 0.25s ease, color 0.25s ease;
}

.ib-trust-item:hover .ib-trust-icon {
    transform: rotate(-6deg) scale(1.06);
    color: var(--ib-navy-dark);
}

.ib-trust-body {
    min-width: 0;
}

.ib-trust-title {
    margin: 0.1rem 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff !important;
}

.ib-trust-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .ib-trust-item,
    .ib-trust-item::before,
    .ib-trust-item::after,
    .ib-trust-icon {
        transition: none;
    }

    .ib-trust-item:hover {
        transform: none;
    }
}

.ib-faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
    scroll-margin-top: calc(var(--ib-nav-height) + 12px);
}

.ib-faq-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 64%;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}

.ib-faq-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.ib-faq .faq-item {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .ib-faq-bg {
        bottom: auto;
        width: 100%;
        height: 360px;
        opacity: 0.35;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
    }

    .ib-faq-bg img {
        object-position: 80% center;
    }
}

.ib-faq-header {
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.ib-faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 44rem;
}

.ib-faq .faq-item {
    margin: 0;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius);
    box-shadow: none;
}

.ib-faq .faq-item:hover {
    transform: none;
    box-shadow: none;
}

.ib-faq .faq-question {
    padding: 1.1rem 1.15rem;
    font-family: var(--ib-font);
    font-size: 1rem;
    color: var(--ib-navy-dark);
}

.ib-faq .faq-answer p {
    padding: 0 1.15rem 1.15rem;
}

.ib-faq .faq-item.active .faq-answer {
    max-height: 22rem;
}

.ib-faq .ib-link {
    display: inline;
}

/* Tiendas */
.ib-stores {
    background: var(--ib-bg);
    overflow: hidden;
}

.ib-stores-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ib-stores-header > div {
    max-width: 36rem;
}

.ib-stores-header .ib-lead {
    margin-bottom: 0;
}

.ib-stores-header .ib-btn {
    flex-shrink: 0;
}

.ib-stores .ib-stores-marquee {
    margin-top: 0;
}

.ib-stores .carousel-wrapper::before,
.ib-stores .carousel-wrapper::after {
    display: none;
}

.ib-stores .carousel-wrapper,
.ib-clients .gallery-grid {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

.ib-stores .carousel-track {
    gap: 1rem;
    padding: 0.35rem 0;
}

.ib-stores .store-logo {
    width: 148px;
    height: 84px;
    padding: 1.1rem 1.35rem;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
}

.ib-stores .store-logo:hover {
    transform: none;
    background-color: #fff !important;
    border-color: var(--ib-navy);
    box-shadow: var(--ib-shadow-md);
}

.ib-stores .store-logo img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.ib-stores .store-logo:hover img {
    filter: none;
    opacity: 1;
    transform: none;
}

/* Clientes */
.ib-clients.customer-gallery-section {
    padding: var(--ib-space-section) 0;
    background: var(--ib-bg-soft);
}

.ib-clients.customer-gallery-section::before {
    display: none;
}

.ib-clients-header {
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.ib-clients .ib-clients-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.ib-clients .stat-item {
    padding: 1.15rem 1.15rem 1.05rem;
    text-align: left;
    color: var(--ib-text);
}

.ib-clients .stat-number {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    color: var(--ib-navy-dark);
    text-shadow: none;
}

.ib-clients .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ib-text-muted);
    opacity: 1;
}

.ib-clients .gallery-grid {
    margin-bottom: 0;
    padding: 0.35rem 0 0.75rem;
}

.ib-clients .gallery-track {
    gap: 1rem;
    animation-duration: 45s;
}

.ib-clients .customer-card {
    width: 240px;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
}

.ib-clients .customer-card:hover {
    transform: none;
    box-shadow: var(--ib-shadow-md);
}

.ib-clients .customer-card:hover .customer-image {
    transform: none;
}

.ib-clients .customer-image-wrapper {
    padding-top: 115%;
    background: var(--ib-navy-soft);
}

.ib-clients .verified-badge {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    background: var(--ib-success);
    box-shadow: none;
}

/* themes.css pinta todo i.fas de naranja con :not() encadenados; el ID gana esa especificidad */
#clientes-satisfechos .verified-badge i.fas,
#contacto .contact-item i.fas {
    color: #fff !important;
}

.ib-clients .customer-overlay {
    padding: 1.5rem 1rem 0.9rem;
    background: linear-gradient(to top, rgba(10, 49, 97, 0.88), rgba(10, 49, 97, 0));
}

.ib-clients .customer-name {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.15rem;
    color: #fff !important;
    text-shadow: none;
}

.ib-clients .customer-location {
    font-size: 0.82rem;
}

.ib-clients .customer-location i {
    color: var(--ib-orange);
}

.ib-clients .ib-clients-actions {
    margin-top: 2rem;
    text-align: left;
}

@media (max-width: 1100px) {
    .ib-import-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ib-hero-static-grid,
    .ib-home-calc-grid,
    .ib-home-calc-row,
    .ib-home-calc .route-options {
        grid-template-columns: 1fr;
    }

    .ib-how-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .ib-how-arrow {
        display: none;
    }

    .ib-trust-grid,
    .ib-clients .ib-clients-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ib-stores-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ib-routes-grid {
        grid-template-columns: 1fr;
    }

    .ib-import-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .ib-import-item:last-child {
        grid-column: 1 / -1;
    }

    .ib-rewards-grid,
    .ib-app-grid,
    .ib-track-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ib-phone {
        --ib-phone-w: 300px;
        order: 2;
        margin-top: 0.5rem;
    }

    .ib-app-copy {
        padding-bottom: 0;
    }

    .ib-hero--static {
        padding: 4.5rem 0 6rem;
        min-height: 0;
    }

    .ib-trust-strip {
        margin-top: -3.5rem;
    }

    .ib-hero--video .ib-hero-copy {
        padding: 5.5rem 0 3rem;
    }

    .ib-hero-dots {
        right: 50%;
        transform: translateX(50%);
        bottom: 4.25rem;
    }

    .ib-hero-fade {
        background:
            linear-gradient(90deg, rgba(10, 31, 61, 0.94) 0%, rgba(10, 31, 61, 0.8) 60%, rgba(10, 31, 61, 0.55) 100%),
            linear-gradient(0deg, rgba(10, 31, 61, 0.7) 0%, rgba(10, 31, 61, 0) 40%);
    }

    .ib-hero-actions .ib-btn,
    .ib-how-actions .ib-btn,
    .ib-route-actions .ib-btn,
    .ib-import-actions .ib-btn,
    .ib-rewards-actions .ib-btn,
    .ib-track-form .ib-btn {
        width: 100%;
        min-height: 52px;
    }

    .ib-app-badge img {
        height: 56px;
    }
}

@media (max-width: 600px) {
    .ib-section {
        padding: 3.25rem 0;
    }

    .ib-hero--static {
        padding: 4.75rem 0 5rem;
    }

    .ib-hero-slide img {
        object-position: 78% center;
    }

    .ib-trust-strip {
        margin-top: -3rem;
    }

    .ib-trust-grid {
        gap: 0.65rem;
    }

    .ib-trust-item {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem 0.9rem;
    }

    .ib-trust-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .ib-trust-title {
        font-size: 0.92rem;
    }

    .ib-trust-text {
        font-size: 0.8rem;
    }

    .ib-app-badges {
        gap: 0.6rem;
    }

    .ib-app-badge img {
        height: 52px;
    }

    .ib-phone-chip {
        gap: 0.45rem;
        padding: 0.45rem 0.65rem 0.45rem 0.45rem;
        border-radius: 12px;
    }

    .ib-phone-chip--left {
        left: -14%;
    }

    .ib-phone-chip--right {
        right: -12%;
    }

    .ib-phone-chip-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .ib-phone-chip-text strong {
        font-size: 0.74rem;
    }

    .ib-phone-chip-text small {
        font-size: 0.64rem;
    }

    .ib-phone {
        --ib-phone-w: 270px;
        height: calc(var(--ib-phone-w) * 1.45);
    }

    .ib-phone-frame {
        padding: 10px 10px 0;
        border-radius: 44px 44px 0 0;
    }

    .ib-phone-screen {
        border-radius: 34px 34px 0 0;
    }

    .ib-phone-island {
        top: 20px;
        height: 22px;
    }

    .ib-clients.customer-gallery-section {
        padding: 3.25rem 0;
    }

    .ib-stores-header .ib-btn,
    .ib-clients .ib-clients-actions .ib-btn {
        width: 100%;
    }

    .ib-stores .store-logo {
        width: 118px;
        height: 68px;
        padding: 0.85rem 1rem;
    }

    .ib-clients .customer-card {
        width: 200px;
    }

    .ib-clients .stat-item {
        padding: 0.95rem;
    }
}

@media (max-width: 430px) {
    .ib-home-calc .ib-input {
        min-height: 56px;
        font-size: 1.1rem;
    }

    .ib-how-steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ib-how-art {
        height: 135px;
    }

    .ib-how-art svg {
        max-width: 170px;
    }
}

/* ========================================
   SERVICIO VIAJERO
   ======================================== */

.ib-trip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 75%);
    scroll-margin-top: calc(var(--ib-nav-height) + 12px);
}

.ib-trip-sky {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ib-trip-sky-path {
    fill: none;
    stroke: #c9daf6;
    stroke-width: 2;
    stroke-dasharray: 2 12;
    stroke-linecap: round;
    animation: ib-trip-dash 30s linear infinite;
}

@keyframes ib-trip-dash { to { stroke-dashoffset: -400; } }

.ib-trip .ib-container { position: relative; }

.ib-trip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.ib-trip-new {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--ib-orange, #f39200);
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
    vertical-align: 1px;
}

.ib-trip-accent {
    color: var(--ib-orange, #f39200);
    background: linear-gradient(transparent 68%, rgba(243, 146, 0, .18) 68%);
}

.ib-trip-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.ib-trip-step {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--ib-line, #e5e7eb);
    border-radius: 16px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ib-trip-step:hover {
    transform: translateY(-3px);
    border-color: #bcd3ff;
    box-shadow: 0 12px 26px rgba(50, 90, 166, .1);
}

.ib-trip-step-num {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ib-navy, #325aa6);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.ib-trip-step:nth-child(2) .ib-trip-step-num { background: var(--ib-orange, #f39200); }
.ib-trip-step:nth-child(3) .ib-trip-step-num { background: #16a34a; }

.ib-trip .ib-trip-step-title {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--ib-navy-dark, #0a3161) !important;
}

.ib-trip-step-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ib-text-muted, #6b7280);
}

.ib-trip-rates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ib-trip-rate {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px 7px 10px;
    border: 1px solid #dbe5f5;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.ib-trip-rate::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #eef4ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23325aa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.ib-trip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.ib-trip-visual {
    position: relative;
    padding: 44px 10px 100px 30px;
}

.ib-trip-bag {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100px;
    height: 110px;
    transform-origin: 50% 100%;
    animation: ib-trip-roll 4.5s ease-in-out infinite;
}

@keyframes ib-trip-roll {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-6px); }
}

.ib-trip-ink {
    fill: none;
    stroke: #0a3161;
    stroke-width: 4;
    stroke-linecap: round;
}

.ib-trip-bag-body { fill: var(--ib-orange, #f39200); stroke: #0a3161; stroke-width: 4; }
.ib-trip-wheel { fill: #0a3161; }
.ib-trip-tag { fill: #fff; stroke: #0a3161; stroke-width: 3; }

.ib-trip-pass {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 112px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(10, 49, 97, .16);
    transform: rotate(-1.5deg);
    transition: transform .35s ease;
}

.ib-trip-pass:hover { transform: rotate(0deg) translateY(-4px); }

.ib-trip-pass-main {
    padding: 22px 24px;
    border-radius: 22px 0 0 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(243, 146, 0, .35), transparent 40%),
        linear-gradient(150deg, var(--ib-navy, #325aa6), var(--ib-navy-dark, #0a3161));
    color: #fff;
}

.ib-trip-pass-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.ib-trip-pass-brand { opacity: .85; }
.ib-trip-pass-brand strong { font-weight: 800; }

.ib-trip-pass-type {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-weight: 700;
}

.ib-trip-route {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 22px 0 18px;
}

.ib-trip-city strong {
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}

.ib-trip-city span { font-size: 13px; opacity: .75; }
.ib-trip-city--end { text-align: right; }

.ib-trip-flight svg { display: block; width: 100%; height: 40px; overflow: visible; }

.ib-trip-flight-path {
    fill: none;
    stroke: rgba(255, 255, 255, .5);
    stroke-width: 2;
    stroke-dasharray: 4 6;
}

.ib-trip-plane path {
    fill: none;
    stroke: #ffb648;
    stroke-width: 3;
    stroke-linecap: round;
}

.ib-trip-plane {
    offset-path: path("M6 32 Q 80 -8 154 32");
    offset-rotate: auto;
    animation: ib-trip-fly 4s ease-in-out infinite;
}

@keyframes ib-trip-fly {
    0% { offset-distance: 0%; opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

.ib-trip-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, .3);
}

.ib-trip-dates dt { font-size: 12px; opacity: .7; }

.ib-trip-dates dd {
    margin: 3px 0 0;
    font-size: 15px;
    font-weight: 800;
    text-transform: capitalize;
}

.ib-trip-pass-note { margin: 12px 0 0; font-size: 12.5px; opacity: .8; }

.ib-trip-soon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, .3);
}

.ib-trip-soon strong { display: block; font-size: 16px; }
.ib-trip-soon span { font-size: 13px; opacity: .78; }

.ib-trip-soon-dot {
    flex: 0 0 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: #ffb648;
    animation: ib-trip-blink 1.6s ease-in-out infinite;
}

@keyframes ib-trip-blink { 50% { opacity: .25; } }

.ib-trip-pass-stub {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 18px 10px;
    border-left: 2px dashed #d6dfee;
    text-align: center;
}

.ib-trip-pass-stub::before,
.ib-trip-pass-stub::after {
    content: "";
    position: absolute;
    left: -11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f5f9ff;
}

.ib-trip-pass-stub::before { top: -10px; }
.ib-trip-pass-stub::after { bottom: -10px; }

.ib-trip-stub-label { font-size: 11px; color: #64748b; font-weight: 600; }

.ib-trip-stub-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--ib-orange, #f39200);
}

.ib-trip-barcode {
    width: 70px;
    height: 34px;
    margin-top: 12px;
    background: repeating-linear-gradient(90deg, #0a3161 0 2px, transparent 2px 4px, #0a3161 4px 7px, transparent 7px 9px);
    opacity: .8;
}

@media (max-width: 991px) {
    .ib-trip-grid { grid-template-columns: 1fr; }
    .ib-trip-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
    .ib-trip-steps { grid-template-columns: 1fr; }
    .ib-trip-step { grid-template-columns: 30px 1fr; align-items: start; gap: 12px; }
    .ib-trip-actions .ib-btn { width: 100%; }
    .ib-trip-visual { padding: 54px 0 84px; }
    .ib-trip-pass { grid-template-columns: 1fr; transform: none; }
    .ib-trip-pass-main { border-radius: 22px 22px 0 0; padding: 20px; }
    .ib-trip-city strong { font-size: 28px; }
    .ib-trip-pass-stub {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        border-left: 0;
        border-top: 2px dashed #d6dfee;
        padding: 14px 18px;
    }
    .ib-trip-pass-stub::before,
    .ib-trip-pass-stub::after { top: -11px; left: auto; bottom: auto; }
    .ib-trip-pass-stub::before { left: -10px; }
    .ib-trip-pass-stub::after { right: -10px; }
    .ib-trip-stub-value { font-size: 18px; }
    .ib-trip-barcode { margin: 0 0 0 auto; height: 26px; }
    .ib-trip-bag { left: 4px; bottom: 0; width: 84px; height: 92px; }
    .ib-trip-dates { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .ib-trip *, .ib-trip-sky-path { animation: none !important; }
    .ib-trip-plane { offset-distance: 50%; }
}
