html,
body {
    /* Las decoraciones animadas nunca deben crear desplazamiento horizontal. */
    max-width: 100%;
    overflow-x: hidden;
}

.home-page {
    background: var(--white);
    overflow: hidden;
}

.home-hero {
    animation: hero-background-drift 18s ease-in-out infinite alternate;
    background-color: var(--primary-blue);
    background-image:
        radial-gradient(ellipse at 13% 88%, rgba(19, 165, 56, 0.22), transparent 30%),
        radial-gradient(circle at 14% 72%, rgba(251, 187, 33, 0.2), transparent 23%),
        radial-gradient(circle at 89% 15%, rgba(161, 205, 255, 0.16), transparent 27%),
        linear-gradient(118deg, #102e70 0%, #1b3f92 52%, #2e62ba 100%);
    background-position: 0 0, 0 0, 100% 100%, center;
    background-size: 125% 125%, 125% 125%, 130% 130%, 100% 100%;
    isolation: isolate;
    overflow: hidden;
    padding: 5.75rem 0 5rem;
    position: relative;
    z-index: 0;
}

/* Cierre ondulado decorativo: queda siempre detrás del contenido y cotizador. */
.home-hero::before {
    animation: hero-wave-flow 18s cubic-bezier(0.45, 0.05, 0.25, 0.95) infinite alternate;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f8ff' d='M0 94C122 150 252 42 420 82c176 42 262 102 430 52 168-50 265-154 432-96 72 25 111 58 158 48v134H0Z'/%3E%3C/svg%3E") 0 bottom / 116% 100% no-repeat;
    box-shadow: 0 12px 0 #f5f8ff;
    content: '';
    bottom: -8px;
    height: clamp(170px, 19vw, 300px);
    left: 0;
    pointer-events: none;
    position: absolute;
    right: auto;
    transform-origin: center bottom;
    width: 100%;
    z-index: 1;
}

@keyframes hero-wave-flow {
    0% { background-position: 0% 100%; transform: scaleY(1); }
    48% { background-position: 52% 100%; transform: scaleY(1.025); }
    100% { background-position: 100% 100%; transform: scaleY(1.01); }
}

@keyframes hero-background-drift {
    from {
        background-position: 0 0, 0 0, 100% 100%, center;
    }

    to {
        background-position: 7% 5%, 5% 4%, 93% 95%, center;
    }
}

.home-hero::after {
    animation: market-trails 14s ease-in-out infinite alternate;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 620' preserveAspectRatio='none'%3E%3Cpath d='M-40 480C115 395 214 502 348 420s196-29 336-132 203-119 338-46 204 18 346-75 183-70 272-18' fill='none' stroke='%2396dcff' stroke-opacity='.34' stroke-width='3'/%3E%3Cpath d='M-45 535C105 460 220 555 371 467s199-50 336-120 204-100 335-36 190 22 326-57 203-56 294-9' fill='none' stroke='%23ffd66a' stroke-opacity='.26' stroke-width='2'/%3E%3Cpath d='M-20 420c156-52 250 67 396-20s186-159 338-97 228 88 365 20 207-155 336-90 206 69 348 0' fill='none' stroke='%236de0ac' stroke-opacity='.22' stroke-width='2'/%3E%3C/svg%3E") 0% center / 122% 92% no-repeat,
        radial-gradient(ellipse at 30% 80%, rgba(38, 196, 109, 0.2), transparent 32%),
        linear-gradient(117deg, transparent 0 20%, rgba(184, 223, 255, 0.06) 34%, transparent 48%),
        linear-gradient(117deg, transparent 45%, rgba(251, 187, 33, 0.12) 61%, transparent 76%);
    border: 0;
    border-radius: 0;
    content: '';
    height: 115%;
    opacity: 0.8;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: -8%;
    width: 100%;
    z-index: 0;
}

@keyframes market-trails {
    from { background-position: 0% center, 30% 80%, 0 0, 0 0; opacity: 0.56; transform: scaleY(1.01); }
    50% { background-position: 52% center, 34% 76%, 3% 0, -2% 0; opacity: 0.82; transform: scaleY(1.025); }
    to { background-position: 100% center, 28% 82%, -3% 0, 2% 0; opacity: 0.62; transform: scaleY(1.04); }
}

.home-hero .container,
.home-hero__grid {
    position: relative;
    z-index: 2;
}

.home-hero__grid {
    align-items: center;
    display: grid;
    column-gap: clamp(3rem, 7vw, 7rem);
    row-gap: 1.4rem;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
}

.home-hero__details {
    grid-column: 2;
    min-width: 0;
}

.home-hero__details .home-hero__lead {
    margin: 0 0 1rem;
}

.home-hero__details .home-hero__proof {
    max-width: none;
}

/* Extiende el color del hero bajo la misma onda, sin cambiar su trazado. */
@media (min-width: 768px) {
    .home-hero { padding-bottom: 9rem; }
    .trust-strip { margin-top: -4rem; }
}

@media (min-width: 992px) {
    .home-hero__grid {
        align-items: stretch;
    }

    .home-hero__content {
        display: contents;
    }

    .home-hero__status {
        align-self: end;
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0.8rem;
    }

    .home-hero h1 {
        grid-column: 1;
        grid-row: 2;
    }

    .home-hero__calculator {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .home-hero__details {
        align-self: start;
        grid-column: 1;
        grid-row: 3;
        margin-top: 0.35rem;
    }
}

.home-hero__status {
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 500;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.home-hero__status::before {
    background: var(--ternary-green);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(19, 165, 56, 0.18);
    content: '';
    height: 9px;
    width: 9px;
}

.home-hero h1 {
    color: var(--white);
    font-size: clamp(2.65rem, 4.2vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin: 0;
    max-width: 720px;
    text-shadow: 0 8px 26px rgba(8, 25, 64, 0.24);
}

.home-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.75;
    margin: 1.5rem 0 2rem;
    max-width: 620px;
}

.home-hero__proof {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 600px;
}

.proof-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 0.8rem;
    min-height: 74px;
    padding: 0.75rem 0.9rem;
}

.proof-item + .proof-item {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0.9rem;
}

.proof-item__icon {
    align-items: center;
    animation: icon-float 3.4s ease-in-out infinite;
    background: linear-gradient(145deg, #fff5bb 0%, var(--second-yellow) 55%, #e39e00 100%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: var(--primary-blue);
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(179, 121, 0, 0.28), 0 9px 16px rgba(3, 21, 60, 0.22);
    width: 42px;
}

.proof-item > div {
    min-width: 0;
}

.proof-item strong,
.proof-item > div > span {
    display: block;
}

.proof-item__icon i {
    display: block;
    line-height: 1;
    margin: 0;
}

.proof-item strong {
    color: var(--white);
    font-size: 0.86rem;
}

.proof-item > div > span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    margin-top: 0.15rem;
}

.home-hero__calculator .operation-selector-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 22px 50px rgba(4, 20, 55, 0.28);
    transition: box-shadow 260ms ease, transform 260ms ease;
}

.home-hero__calculator .operation-selector-card:hover {
    box-shadow: 0 28px 58px rgba(4, 20, 55, 0.38);
    transform: translateY(-6px);
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-5px) rotate(4deg);
    }
}

.trust-strip {
    background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 44%);
    isolation: isolate;
    margin-top: 0;
    overflow: visible;
    padding: 1.25rem 0 3.25rem;
    position: relative;
    z-index: 4;
}

.trust-strip::before {
    animation: trust-trails 15s ease-in-out infinite alternate;
    background:
        radial-gradient(ellipse at 14% 18%, rgba(19, 165, 56, 0.1), transparent 27%),
        radial-gradient(ellipse at 86% 32%, rgba(251, 187, 33, 0.13), transparent 24%),
        linear-gradient(115deg, transparent 16%, rgba(98, 159, 234, 0.08) 30%, transparent 42%),
        linear-gradient(115deg, transparent 58%, rgba(251, 187, 33, 0.09) 69%, transparent 81%);
    content: '';
    inset: 0;
    opacity: 0.8;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

@keyframes trust-trails {
    from { transform: translate3d(-2%, 1%, 0) scale(1.02); }
    to { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

.trust-strip__content {
    display: grid;
    gap: 0.85rem;
    /* Las métricas superiores están ocultas: no reservar su espacio. */
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.trust-strip__grid {
    border: 1px solid rgba(27, 63, 146, 0.11);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    padding: 0;
}

.transfer-option {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    min-height: 214px;
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    position: relative;
    transition: filter 240ms ease, transform 240ms ease;
}

.transfer-option > * {
    position: relative;
    z-index: 2;
}

.transfer-option > div {
    min-width: 0;
}

.transfer-option::before {
    animation: transfer-streak 8s ease-in-out infinite alternate;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: '';
    height: 220px;
    opacity: 0.46;
    pointer-events: none;
    position: absolute;
    right: -62px;
    top: -96px;
    width: 220px;
}

.transfer-option::after {
    background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
    content: '';
    height: 180%;
    left: -80%;
    position: absolute;
    top: -40%;
    transform: rotate(12deg);
    transition: left 700ms ease;
    width: 34%;
}

.transfer-option:hover::after {
    left: 125%;
}

.transfer-option:hover {
    filter: saturate(1.08);
    transform: translateY(-3px);
}

.transfer-option--instant {
    background:
        radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.16), transparent 23%),
        linear-gradient(125deg, #067b40 0%, #05994a 48%, #17b760 100%);
    color: var(--white);
}

.transfer-option--interbank {
    background:
        radial-gradient(circle at 86% 22%, rgba(255, 255, 255, 0.3), transparent 23%),
        linear-gradient(125deg, #efa607 0%, var(--second-yellow) 48%, #ffd45c 100%);
    color: var(--ink);
}

.transfer-option__icon {
    align-items: center;
    animation: icon-float 3.8s ease-in-out infinite;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.9rem;
    height: 78px;
    justify-content: center;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.32), inset 0 -5px 0 rgba(0, 0, 0, 0.12), 0 9px 18px rgba(0, 0, 0, 0.14);
    width: 78px;
}

.transfer-option__icon i {
    animation: transfer-icon-pulse 2.4s ease-in-out infinite;
}

.transfer-option__icon--brand {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    height: 62px;
    padding: 0.45rem;
    width: 92px;
}

.transfer-option__icon--brand img {
    height: auto;
    max-height: 42px;
    max-width: 100%;
    width: 100%;
}

.transfer-option__icon--instant {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    color: #ffffff;
}

.transfer-option--interbank .transfer-option__icon {
    background: linear-gradient(145deg, #fff7cc, #f4d143);
    border-color: rgba(27, 63, 146, 0.26);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(175, 119, 0, 0.2), 0 9px 18px rgba(87, 57, 0, 0.2);
}

.transfer-option__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.transfer-option h2 {
    font-size: clamp(1.35rem, 2vw, 1.82rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.transfer-option p {
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0.75rem 0 0;
    max-width: 430px;
}

.transfer-option__banks {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.transfer-bank-logo {
    background: #ffffff;
    border-radius: 7px;
    display: block;
    height: 32px;
    object-fit: contain;
    padding: 0.32rem 0.46rem;
    width: 76px;
}

.transfer-bank-logo--bcp { background: #003a70; }
.transfer-bank-logo--bcp,
.transfer-bank-logo--bbva {
    height: 46px;
    width: 110px;
}

.transfer-bank-logo--bbva { padding-inline: 0.65rem; }
.transfer-bank-logo--interbank {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.72);
    height: 46px;
    margin-top: 0.85rem;
    padding: 0;
    width: auto;
}

.trust-stats {
    background:
        radial-gradient(circle at 12% 120%, rgba(251, 187, 33, 0.22), transparent 35%),
        linear-gradient(105deg, #082f70 0%, #124796 58%, #1d58b0 100%);
    border: 1px solid rgba(27, 63, 146, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 38px rgba(15, 54, 118, 0.24), 0 4px 12px rgba(15, 54, 118, 0.14);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    transform: none;
    z-index: 3;
}

.trust-stats::after {
    animation: stats-sheen 9s ease-in-out infinite;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-115%);
}

@keyframes stats-sheen {
    0%, 46% { transform: translateX(-115%); }
    66%, 100% { transform: translateX(115%); }
}

.trust-stat {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-height: 92px;
    padding: 1.1rem 1.35rem;
    position: relative;
    z-index: 1;
}

.trust-stat > * {
    position: relative;
    z-index: 1;
}

.trust-stat + .trust-stat::before {
    background: rgba(255, 255, 255, 0.18);
    content: '';
    height: 44px;
    left: 0;
    position: absolute;
    top: calc(50% - 22px);
    width: 1px;
}

.trust-stat__icon {
    align-items: center;
    background: linear-gradient(145deg, #fff7ce, var(--second-yellow));
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.7), inset 0 -4px 0 rgba(172, 112, 0, 0.22), 0 7px 15px rgba(2, 19, 55, 0.2);
    color: var(--primary-blue);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 38px;
    justify-content: center;
    width: 38px;
    animation: stat-icon-float 4s ease-in-out infinite;
}

.trust-stat:nth-child(2) .trust-stat__icon { animation-delay: 180ms; }
.trust-stat:nth-child(3) .trust-stat__icon { animation-delay: 360ms; }

@keyframes stat-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.trust-stat span:not(.trust-stat__icon),
.trust-stat strong {
    display: block;
}

.trust-stat span:not(.trust-stat__icon) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
}

.trust-stat strong {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.transfer-option.is-visible .transfer-option__eyebrow,
.transfer-option.is-visible h2,
.transfer-option.is-visible p {
    animation: transfer-copy-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.transfer-option.is-visible h2 { animation-delay: 90ms; }
.transfer-option.is-visible p { animation-delay: 180ms; }
.transfer-option--interbank.is-visible .transfer-option__eyebrow { animation-delay: 120ms; }
.transfer-option--interbank.is-visible h2 { animation-delay: 210ms; }
.transfer-option--interbank.is-visible p { animation-delay: 300ms; }

@keyframes transfer-streak {
    from { transform: translate3d(-12px, 8px, 0) scale(0.92); }
    to { transform: translate3d(12px, -8px, 0) scale(1.06); }
}

@keyframes transfer-copy-in {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes transfer-icon-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

.home-section {
    background: var(--white);
    padding: 6rem 0;
}

.home-section--soft {
    background: var(--white);
}

.section-heading {
    margin-bottom: 3rem;
    max-width: 700px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading__eyebrow {
    align-items: center;
    color: var(--primary-blue);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-heading__eyebrow::before {
    background: var(--second-yellow);
    border-radius: 999px;
    content: '';
    height: 4px;
    margin-right: 0.65rem;
    width: 28px;
}

.section-heading h2 {
    color: var(--ink);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin: 0;
}

.section-heading p {
    color: var(--muted);
    margin: 1rem 0 0;
}

.steps-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}

#como-funciona {
    background:
        radial-gradient(circle at 13% 22%, rgba(251, 187, 33, 0.3), transparent 18%),
        radial-gradient(circle at 88% 14%, rgba(103, 230, 198, 0.25), transparent 21%),
        radial-gradient(circle at 72% 88%, rgba(115, 176, 255, 0.3), transparent 29%),
        linear-gradient(125deg, #1767b7 0%, #244d9b 48%, #117d72 100%);
    background-size: 145% 145%;
    animation: process-background-shift 15s ease-in-out infinite alternate;
    overflow: hidden;
    padding-top: 3.75rem;
    position: relative;
}

#como-funciona::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 720' preserveAspectRatio='none'%3E%3Cpath d='M-50 500C110 388 236 555 414 445s224-56 393-154 248-75 372 15 227 80 475-48' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='3'/%3E%3Cpath d='M-20 580c174-104 303 19 463-77s225-61 371-123 212-54 378 27 247 52 460-69' fill='none' stroke='%23ffd66a' stroke-opacity='.35' stroke-width='2'/%3E%3Ccircle cx='180' cy='146' r='58' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2'/%3E%3Ccircle cx='1370' cy='182' r='95' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E") center / 115% 115% no-repeat;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    animation: process-pattern-drift 18s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes process-background-shift {
    0% { background-position: 0% 20%, 100% 0%, 70% 100%, 0% 50%; }
    100% { background-position: 18% 0%, 82% 18%, 92% 76%, 100% 50%; }
}

@keyframes process-pattern-drift {
    0% { background-position: center; transform: scale(1); }
    100% { background-position: 54% 46%; transform: scale(1.04); }
}

#como-funciona .container {
    position: relative;
    z-index: 1;
}

#como-funciona .section-heading__eyebrow,
#como-funciona .section-heading p {
    color: rgba(255, 255, 255, 0.82);
}

#como-funciona .section-heading h2 {
    color: var(--white);
}

.step-item {
    background: var(--white);
    border: 1px solid #dce6f5;
    border-radius: 18px;
    box-shadow: none;
    clip-path: none;
    filter: drop-shadow(0 13px 15px rgba(251, 187, 33, 0.2)) drop-shadow(0 6px 10px rgba(27, 63, 146, 0.08));
    min-height: 250px;
    overflow: visible;
    padding: 1.45rem;
    position: relative;
    z-index: 1;
    transition: border-color 260ms ease, filter 260ms ease, transform 260ms ease;
}

.step-item:not(:last-child)::before {
    border-bottom: 22px solid transparent;
    border-left: 22px solid rgba(251, 187, 33, 0.27);
    border-top: 22px solid transparent;
    content: '';
    filter: drop-shadow(4px 0 5px rgba(27, 63, 146, 0.06));
    position: absolute;
    right: -22px;
    top: calc(50% - 22px);
    z-index: 1;
}

.step-item:not(:last-child)::before,
.step-item::before {
    display: none;
}

.step-item:not(:last-child)::after {
    align-items: center;
    animation: flow-arrow 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    background: var(--second-yellow);
    border: 1px solid #e1a900;
    border-radius: 50%;
    color: var(--primary-blue);
    content: '→';
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    line-height: 1;
    opacity: 0.9;
    padding: 0;
    position: absolute;
    right: -1.95rem;
    top: 50%;
    width: 34px;
    z-index: 2;
}

/* Punta integrada: mantiene el flujo de flecha sin sacrificar esquinas redondeadas. */
.step-item:not(:last-child)::after {
    animation: none;
    background: var(--white);
    border: 1px solid #dce6f5;
    border-bottom: 0;
    border-left: 0;
    border-radius: 5px;
    box-shadow: 9px -9px 16px rgba(251, 187, 33, 0.13);
    color: transparent;
    content: '';
    display: block !important;
    height: 32px;
    opacity: 1;
    right: -17px;
    top: calc(50% - 16px);
    transform: rotate(45deg);
    width: 32px;
    /* La punta queda sobre el cuerpo blanco; el contenido permanece encima. */
    z-index: 1;
}

.step-item > * {
    position: relative;
    z-index: 2;
}

.step-item:nth-child(2)::after {
    animation-delay: 300ms;
}

.step-item:nth-child(3)::after {
    animation-delay: 600ms;
}

@keyframes flow-arrow {
    0%, 100% {
        color: var(--primary-blue);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: translateX(-5px) scale(0.86);
    }

    50% {
        color: #163c89;
        opacity: 1;
        box-shadow: 0 0 0 7px rgba(255, 193, 7, 0.16);
        transform: translateX(5px) scale(1);
    }
}

.step-item:hover {
    border-color: #bed1f2;
    filter: drop-shadow(0 18px 19px rgba(251, 187, 33, 0.32)) drop-shadow(0 10px 14px rgba(27, 63, 146, 0.13));
    transform: translateY(-8px);
}

.step-item__number {
    align-items: center;
    background: #fff8d8;
    border: 1px solid #f4df74;
    border-radius: 50%;
    color: var(--primary-blue);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    width: 38px;
}

.step-item__icon {
    align-items: center;
    animation: step-icon-float 3.5s ease-in-out infinite;
    background: linear-gradient(145deg, #fff5b8 0%, var(--second-yellow) 58%, #e4a000 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    color: var(--primary-blue);
    display: inline-flex;
    font-size: 1.2rem;
    height: 54px;
    justify-content: center;
    position: absolute;
    right: 1.4rem;
    top: 1.3rem;
    transform: rotate(-7deg);
    width: 54px;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.78), inset 0 -6px 0 rgba(172, 112, 0, 0.22), 0 12px 20px rgba(27, 63, 146, 0.16);
}

.step-item__icon i {
    transform: rotate(7deg);
}

.step-item:nth-child(2) .step-item__icon {
    animation-delay: 180ms;
}

.step-item:nth-child(3) .step-item__icon {
    animation-delay: 360ms;
}

.step-item:nth-child(4) .step-item__icon {
    animation-delay: 540ms;
}

@keyframes step-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-7px) rotate(5deg);
    }
}

.step-item h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    margin: 0.35rem 0 0.65rem;
}

.step-item p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

/* Proceso de cambio: tres pasos con iconografía 3D y una progresión única al entrar en pantalla. */
#como-funciona .section-heading {
    text-align: center;
}

#como-funciona .section-heading__eyebrow::before {
    margin-right: 0.65rem;
}

.steps-progress {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    margin: 0 auto 1.75rem;
}

.steps-progress__dot {
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    transition: background-color 350ms ease, border-color 350ms ease, color 350ms ease, transform 350ms ease;
    width: 30px;
}

.steps-progress__dot.is-active {
    background: var(--second-yellow);
    border-color: var(--second-yellow);
    color: var(--primary-blue);
    transform: scale(1.12);
}

.steps-progress__line {
    background: rgba(255, 255, 255, 0.38);
    height: 2px;
    transition: background-color 350ms ease, box-shadow 350ms ease;
    width: 42px;
}

.steps-progress__line.is-active {
    background: var(--second-yellow);
    box-shadow: 0 0 11px rgba(251, 187, 33, 0.65);
}

.steps-grid.steps-grid--three {
    gap: 1.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 900px;
}

.steps-grid--three .step-item {
    align-items: center;
    background: #f7f9fd;
    border: 1px solid transparent;
    border-radius: 24px;
    box-shadow: none;
    display: flex;
    filter: none;
    flex-direction: column;
    min-height: 292px;
    overflow: hidden;
    padding: 1.35rem 1.35rem 1.55rem;
    text-align: center;
    transition: border-color 380ms ease, box-shadow 380ms ease, transform 380ms ease;
}

.steps-grid--three .step-item::after {
    display: none !important;
}

.steps-grid--three .step-item:hover {
    border-color: rgba(251, 187, 33, 0.72);
    box-shadow: 0 12px 26px rgba(4, 39, 91, 0.18);
    filter: none;
    transform: translateY(-4px);
}

.steps-grid--three .step-item.is-active {
    border-color: rgba(251, 187, 33, 0.9);
    box-shadow: 0 0 0 4px rgba(251, 187, 33, 0.16), 0 21px 38px rgba(4, 39, 91, 0.25), 0 0 26px rgba(251, 187, 33, 0.42);
    filter: none;
    transform: translateY(-13px) scale(1.045);
}

.steps-grid--three .step-item__number {
    align-self: flex-start;
    margin: 0;
    transition: background-color 350ms ease, border-color 350ms ease, color 350ms ease, transform 350ms ease;
}

.steps-grid--three .step-item.is-active .step-item__number {
    background: var(--second-yellow);
    border-color: var(--second-yellow);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.steps-grid--three .step-item__icon {
    animation: none;
    background-color: transparent;
    background-image: url('../images/recursos/pasos-cambio-3d.png');
    background-repeat: no-repeat;
    background-size: 300% auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 106px;
    margin: -0.25rem auto 0.55rem;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    transition: transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
    width: 126px;
}

.steps-grid--three .step-item__icon::after {
    background: radial-gradient(ellipse, rgba(8, 47, 98, 0.2) 0%, rgba(8, 47, 98, 0) 70%);
    bottom: 1px;
    content: '';
    height: 14px;
    left: 14px;
    position: absolute;
    width: 98px;
}

.steps-grid--three .step-item__icon--register { background-position: 0% center; }
.steps-grid--three .step-item__icon--quote { background-position: 50% center; }
.steps-grid--three .step-item__icon--receive { background-position: 100% center; }

.steps-grid--three .step-item.is-active .step-item__icon {
    transform: translateY(-6px) scale(1.05);
}

.steps-grid--three .step-item h3 {
    font-size: 1.3rem;
    margin: 0.1rem 0 0.55rem;
}

.steps-grid--three .step-item p {
    font-size: 0.92rem;
    line-height: 1.58;
    max-width: 235px;
}

.steps-flow__status {
    color: rgba(255, 255, 255, 0.83);
    font-size: 0.84rem;
    margin: 1.15rem 0 0;
    min-height: 1.5rem;
    text-align: center;
}

.benefits-section {
    background: var(--white);
    color: var(--ink);
    padding: 6rem 0 2.5rem;
}

.devices-benefit {
    background:
        radial-gradient(ellipse at 12% 85%, rgba(19, 165, 86, 0.24), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(251, 187, 33, 0.2), transparent 24%),
        linear-gradient(118deg, #102e70 0%, #1b3f92 58%, #2f64bd 100%);
    color: var(--white);
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
}

.devices-benefit::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 620' preserveAspectRatio='none'%3E%3Cpath d='M-30 520C110 405 230 520 368 410s205-34 338-120 201-122 346-45 204 8 352-78 184-59 274-6' fill='none' stroke='%2396dcff' stroke-opacity='.28' stroke-width='3'/%3E%3Cpath d='M-30 565C130 482 232 570 388 475s196-42 339-116 204-108 337-41 191 24 337-54 191-51 280-8' fill='none' stroke='%23ffd66a' stroke-opacity='.2' stroke-width='2'/%3E%3C/svg%3E") center / cover no-repeat;
    content: '';
    inset: 0;
    opacity: 0.9;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

/* Oficina: prueba de cercanía y trayectoria después del bloque de beneficios. */
.office-section {
    background:
        radial-gradient(circle at 8% 18%, rgba(19, 165, 86, 0.1), transparent 28%),
        radial-gradient(circle at 91% 82%, rgba(251, 187, 33, 0.14), transparent 27%),
        linear-gradient(135deg, #f5f9ff 0%, #ffffff 54%, #fffaf0 100%);
    color: var(--ink);
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    position: relative;
}

.office-section__heading {
    margin: 0 auto clamp(2.25rem, 5vw, 3.8rem);
    max-width: 720px;
    text-align: center;
}

.office-section__eyebrow,
.office-location__eyebrow {
    color: var(--primary-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.office-section__eyebrow {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.office-section__eyebrow i { color: var(--second-yellow); }

.office-section__heading h2 {
    font-size: clamp(2rem, 3.6vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 0;
}

.office-section__heading h2 span { color: var(--primary-blue); }

.office-section__heading p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 1rem auto 0;
    max-width: 630px;
}

.office-section__grid {
    align-items: stretch;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}

.office-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 0.72fr;
    grid-template-rows: repeat(2, minmax(160px, 1fr));
    min-height: 510px;
}

/* Espacio reservado: aquí se insertará el carrusel de fotografías de la oficina. */
.office-gallery--pending {
    background: rgba(255, 255, 255, 0.58);
    border: 1px dashed #c6d5ea;
    border-radius: 24px;
    box-shadow: inset 0 0 0 9px rgba(244, 248, 255, 0.56);
    display: block;
}

/* Carrusel de prueba: las imágenes finales pueden reemplazar estas tres rutas. */
.office-gallery--carousel {
    background: linear-gradient(145deg, #edf4ff, #ffffff);
    border: 1px solid #d7e2f2;
    border-radius: 24px;
    display: block;
    overflow: hidden;
    position: relative;
}

.office-photo-carousel {
    height: 510px;
    position: relative;
}

.office-photo-slide {
    border: 4px solid #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(18, 53, 112, 0.2);
    height: 82%;
    left: 50%;
    margin: 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    width: 74%;
}

.office-photo-slide.is-active { opacity: 1; transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0); z-index: 3; }
.office-photo-slide.is-prev { opacity: 0.78; transform: translate(-50%, -50%) translateX(-28%) scale(0.76) rotate(-6deg); z-index: 1; }
.office-photo-slide.is-next { opacity: 0.78; transform: translate(-50%, -50%) translateX(28%) scale(0.76) rotate(6deg); z-index: 1; }

.office-photo-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.office-photo-slide:nth-child(1) img { object-position: center; }
.office-photo-slide:nth-child(2) img { object-position: 58% center; }
.office-photo-slide:nth-child(3) img { object-position: center; }

.office-photo-carousel__controls {
    display: flex;
    justify-content: space-between;
    left: 0.8rem;
    pointer-events: none;
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.office-photo-carousel__arrow {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #c9d9ed;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(18, 53, 112, 0.2);
    color: var(--primary-blue);
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    pointer-events: auto;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    width: 42px;
}

.office-photo-carousel__arrow:hover,
.office-photo-carousel__arrow:focus-visible {
    background: var(--second-yellow);
    border-color: var(--second-yellow);
    color: #10264d;
    outline: none;
    transform: scale(1.08);
}

.office-gallery__main,
.office-gallery__placeholder {
    border-radius: 24px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.office-gallery__main {
    box-shadow: 0 18px 42px rgba(18, 53, 112, 0.18);
    grid-row: 1 / span 2;
}

.office-gallery__main::after {
    background: linear-gradient(180deg, transparent 45%, rgba(4, 30, 68, 0.78) 100%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.office-gallery__main img {
    height: 100%;
    object-fit: cover;
    object-position: 74% center;
    transition: transform 420ms ease;
    width: 100%;
}

.office-gallery__main:hover img { transform: scale(1.04); }

.office-gallery__main figcaption {
    bottom: 1.25rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    left: 1.25rem;
    position: absolute;
    right: 1.25rem;
    z-index: 1;
}

.office-gallery__main figcaption i { color: var(--second-yellow); margin-right: 0.35rem; }

.office-gallery__placeholder {
    align-items: center;
    background: linear-gradient(145deg, #153f8d, #285eb4);
    box-shadow: 0 13px 26px rgba(18, 53, 112, 0.13);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.office-gallery__placeholder::before {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    content: '';
    height: 108px;
    position: absolute;
    right: -42px;
    top: -40px;
    width: 108px;
}

.office-gallery__placeholder--interior { background: linear-gradient(145deg, #d99800, #f4bc29); }

.office-gallery__placeholder i { font-size: 1.6rem; z-index: 1; }
.office-gallery__placeholder span { font-size: 0.82rem; font-weight: 700; z-index: 1; }

.office-location {
    background: #ffffff;
    border: 1px solid rgba(190, 209, 235, 0.9);
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(18, 53, 112, 0.12);
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
}

.office-location__badge {
    align-items: center;
    background: linear-gradient(145deg, #fff5bd, #fbbb21);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(230, 161, 0, 0.26);
    color: var(--primary-blue);
    display: flex;
    height: 104px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 1.5rem;
    text-align: left;
    top: clamp(4.3rem, 7vw, 5.1rem);
    transform: rotate(5deg);
    width: 104px;
    z-index: 3;
}

.office-location__badge strong { font-size: 2.2rem; letter-spacing: -0.1em; }
.office-location__badge span { font-size: 0.66rem; font-weight: 800; line-height: 1.08; margin-left: 0.16rem; text-transform: uppercase; }
.office-location__eyebrow { margin: 0 0 0.45rem; }

.office-location h3 {
    color: var(--ink);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0;
}

.office-location__description { color: var(--muted); line-height: 1.65; margin: 0.65rem 5.25rem 1.25rem 0; }

.office-location__map {
    border: 1px solid #dce6f1;
    border-radius: 17px;
    height: 175px;
    margin-bottom: 1.15rem;
    overflow: hidden;
}

.office-location__map iframe { border: 0; height: 100%; width: 100%; }

.office-location__button {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
}

/* Sedes: carrusel de mapas y datos de atención. */
.office-locations__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.office-locations__controls {
    display: flex;
    gap: 0.45rem;
    margin-right: 6.5rem;
}

.office-locations__arrow {
    align-items: center;
    background: #eef4ff;
    border: 1px solid #c8d8ef;
    border-radius: 50%;
    color: var(--primary-blue);
    cursor: pointer;
    display: inline-flex;
    height: 35px;
    justify-content: center;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
    width: 35px;
}

.office-locations__arrow:hover,
.office-locations__arrow:focus-visible {
    background: var(--second-yellow);
    border-color: var(--second-yellow);
    color: var(--primary-blue);
    outline: none;
    transform: translateY(-2px);
}

.office-locations__viewport { overflow: hidden; }

.office-locations__track {
    display: flex;
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.office-locations__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.office-locations .office-location__map {
    height: 165px;
    margin-bottom: 0.9rem;
}

.office-map-static {
    background: #e8eef4;
    position: relative;
}

.office-map-static__tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-73.4%);
    width: 100%;
}

.office-map-static--cercado .office-map-static__tiles {
    transform: translateY(-54.1%);
}

.office-map-static__tiles img {
    display: block;
    height: auto;
    width: 100%;
}

.office-map-static__pin {
    align-items: center;
    background: #e93c32;
    border: 3px solid #ffffff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 4px 10px rgba(6, 30, 66, 0.28);
    color: #ffffff;
    display: flex;
    font-size: 0.72rem;
    height: 31px;
    justify-content: center;
    left: 58.4%;
    position: absolute;
    top: 73.4%;
    transform: translate(-50%, -100%) rotate(-45deg);
    width: 31px;
}

.office-map-static__pin i { transform: rotate(45deg); }

.office-map-static--cercado .office-map-static__pin {
    left: 46.7%;
    top: 54.1%;
}

.office-map-static__label {
    background: rgba(8, 47, 98, 0.9);
    border-radius: 999px;
    bottom: 0.55rem;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    left: 0.65rem;
    padding: 0.28rem 0.55rem;
    position: absolute;
    z-index: 1;
}

.office-map-static__attribution {
    background: rgba(255, 255, 255, 0.82);
    bottom: 0;
    color: #4d6281;
    font-size: 0.57rem;
    padding: 0.1rem 0.24rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

.office-locations__copy {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    justify-content: space-between;
}

.office-locations__type {
    color: var(--primary-blue);
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0;
}

.office-locations__type i { color: var(--second-yellow); margin-right: 0.3rem; }

.office-locations__copy address {
    color: var(--muted);
    font-size: 0.83rem;
    font-style: normal;
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

.office-locations__copy a {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.office-locations__copy a:hover { color: #c88700; }

.office-schedule {
    border-top: 1px solid #dce6f1;
    margin-top: 1rem;
    padding-top: 0.9rem;
}

.office-schedule h4 {
    color: var(--ink);
    font-size: 0.93rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.office-schedule h4 i { color: var(--second-yellow); margin-right: 0.35rem; }

.office-schedule__grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.office-schedule__grid div {
    background: #f6f9ff;
    border-radius: 12px;
    padding: 0.62rem 0.7rem;
}

.office-schedule__grid strong,
.office-schedule__grid span { display: block; }
.office-schedule__grid strong { color: var(--primary-blue); font-size: 0.76rem; }
.office-schedule__grid span { color: var(--muted); font-size: 0.72rem; line-height: 1.45; margin-top: 0.18rem; }

@media (max-width: 991.98px) {
    .office-section__grid { grid-template-columns: 1fr; }
    .office-gallery { min-height: 410px; }
    .office-photo-carousel { height: 410px; }
}

@media (max-width: 575.98px) {
    .office-section { padding-block: 3.75rem; }
    .office-gallery { gap: 0.7rem; grid-template-columns: 1.1fr 0.7fr; min-height: 335px; }
    .office-photo-carousel { height: 335px; }
    .office-photo-carousel__controls { left: 0.55rem; right: 0.55rem; }
    .office-photo-carousel__arrow { height: 38px; width: 38px; }
    .office-gallery__main, .office-gallery__placeholder { border-radius: 18px; }
    .office-location { border-radius: 22px; }
    .office-location__badge { height: 84px; right: 1rem; top: 4.15rem; width: 84px; }
    .office-location__badge strong { font-size: 1.75rem; }
    .office-location__badge span { font-size: 0.55rem; }
    .office-location__description { margin-right: 4rem; }
    .office-locations__controls { margin-right: 5.15rem; }
    .office-locations .office-location__map { height: 155px; }
    .office-schedule__grid { grid-template-columns: 1fr; }
}

.devices-benefit__grid {
    align-items: center;
    display: grid;
    gap: clamp(2.5rem, 6vw, 6rem);
    grid-template-columns: minmax(280px, 0.8fr) minmax(460px, 1.2fr);
}

.devices-benefit h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.1vw, 3.05rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0;
}

.devices-benefit__button {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    margin-top: 1.8rem;
}

.devices-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    min-height: 450px;
    overflow: hidden;
    padding: 1.35rem 1rem 0;
    position: relative;
}

.devices-showcase::before {
    background: linear-gradient(136deg, transparent 0 60%, rgba(251, 187, 33, 0.96) 60% 100%);
    content: '';
    inset: 0;
    opacity: 0.9;
    pointer-events: none;
    position: absolute;
}

.devices-showcase > p {
    color: var(--white);
    font-size: clamp(0.9rem, 1.25vw, 1.14rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    position: relative;
    text-align: center;
    z-index: 2;
}

.devices-showcase > p::first-letter {
    color: var(--second-yellow);
}

.devices-showcase__stage {
    height: 385px;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
}

.device-frame {
    left: 50%;
    margin: 0;
    overflow: visible;
    position: absolute;
    top: 52%;
    transform-origin: center bottom;
}

.device-frame__screen {
    background: #eff4fb;
    overflow: hidden;
    position: relative;
}

.device-frame__screen img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}

.device-frame--laptop {
    animation: device-carousel 8.4s cubic-bezier(0.45, 0.05, 0.25, 0.95) infinite;
    background: linear-gradient(145deg, #111b2e, #31445f);
    border: 8px solid #172234;
    border-bottom-width: 10px;
    border-radius: 13px 13px 5px 5px;
    height: 185px;
    padding: 4px;
    transform: translate(-50%, -50%) translateX(155px) scale(0.75) rotate(8deg);
    width: 320px;
    z-index: 1;
}

.device-frame--laptop .device-frame__screen {
    border-radius: 5px 5px 2px 2px;
    height: 100%;
}

.device-frame__base {
    background: linear-gradient(180deg, #7d8ca2, #25344a);
    border-radius: 2px 2px 14px 14px;
    bottom: -15px;
    height: 14px;
    left: -9%;
    position: absolute;
    width: 118%;
}

.device-frame--tablet {
    animation: device-carousel 8.4s cubic-bezier(0.45, 0.05, 0.25, 0.95) -2.8s infinite;
    background: linear-gradient(145deg, #f9fbff, #9caabd);
    border: 8px solid #dbe3ed;
    border-radius: 21px;
    box-shadow: 0 17px 32px rgba(5, 24, 64, 0.3);
    height: 250px;
    padding: 5px;
    transform: translate(-50%, -50%) translateX(-155px) scale(0.75) rotate(-8deg);
    width: 190px;
    z-index: 1;
}

.device-frame--tablet .device-frame__screen {
    border-radius: 10px;
    height: 100%;
}

.device-frame__home {
    background: #fff;
    border: 2px solid #aeb8c8;
    border-radius: 50%;
    bottom: -4px;
    height: 12px;
    left: calc(50% - 6px);
    position: absolute;
    width: 12px;
}

.device-frame--phone {
    animation: device-carousel 8.4s cubic-bezier(0.45, 0.05, 0.25, 0.95) -5.6s infinite;
    background: linear-gradient(145deg, #111827, #38455a);
    border: 8px solid #151b25;
    border-radius: 25px;
    box-shadow: 0 19px 34px rgba(4, 19, 53, 0.35);
    height: 278px;
    padding: 6px;
    transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0);
    width: 142px;
    z-index: 3;
}

.device-frame--phone .device-frame__screen {
    border-radius: 14px;
    height: 100%;
}

.device-frame__speaker {
    background: #080d15;
    border-radius: 0 0 10px 10px;
    height: 10px;
    left: calc(50% - 22px);
    position: absolute;
    top: -8px;
    width: 44px;
    z-index: 2;
}

@keyframes device-carousel {
    0%, 28% { transform: translate(-50%, -50%) translateX(-155px) scale(0.75) rotate(-8deg); z-index: 1; }
    33%, 61% { transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0); z-index: 3; }
    66%, 94% { transform: translate(-50%, -50%) translateX(155px) scale(0.75) rotate(8deg); z-index: 1; }
    100% { transform: translate(-50%, -50%) translateX(-155px) scale(0.75) rotate(-8deg); z-index: 1; }
}

#seguridad {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}

.benefits-layout {
    align-items: center;
    display: grid;
    gap: clamp(2.5rem, 6vw, 6.5rem);
    grid-template-areas: 'cards intro';
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
}

.benefits-intro {
    grid-area: intro;
    text-align: right;
}

.benefits-intro__line {
    background: var(--second-yellow);
    display: block;
    height: 4px;
    margin: 0 0 1.5rem auto;
    width: 42px;
}

.benefits-intro h2 {
    color: var(--primary-blue);
    font-size: clamp(2rem, 3.3vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.18;
    margin: 0;
    text-align: right;
}

.benefits-intro h2 span {
    color: #e2a600;
}

.benefits-intro p {
    color: var(--muted);
    margin: 1.25rem 0 0;
    text-align: right;
}

.benefits-grid {
    grid-area: cards;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    margin-top: 0;
}

.benefits-grid .benefit-item,
.benefits-grid .benefit-item:nth-child(even),
.benefits-grid .benefit-item:nth-child(n + 3) {
    align-items: center;
    background: #fcfdff;
    border: 1px solid var(--line);
    border-radius: 0;
    display: grid;
    gap: 0 1rem;
    grid-template-columns: 46px minmax(0, 1fr);
    overflow: visible;
    padding: 1.25rem 1.5rem;
    position: relative;
    transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.benefits-grid .benefit-item:first-child {
    border-radius: 16px 16px 0 0;
}

.benefits-grid .benefit-item:last-child {
    border-radius: 0 0 16px 16px;
}

.benefit-item::before {
    background: var(--second-yellow);
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms ease;
    width: 100%;
}

.benefit-item:hover {
    border-color: #d8e1f2;
    box-shadow: 0 16px 34px rgba(36, 75, 156, 0.09);
    transform: translateY(-7px);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-item:nth-child(even),
.benefit-item:nth-child(n + 3) {
    border: 1px solid var(--line);
    padding: 2rem;
}

.benefit-item i {
    align-items: center;
    animation: icon-float 3.6s ease-in-out infinite;
    background: linear-gradient(145deg, #fff4b7 0%, var(--second-yellow) 58%, #e5a000 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 13px;
    color: var(--primary-blue);
    display: inline-flex;
    font-size: 1.35rem;
    height: 42px;
    justify-content: center;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(170, 112, 0, 0.24), 0 10px 18px rgba(27, 63, 146, 0.16);
    grid-row: span 2;
    margin-bottom: 0;
    width: 42px;
}

.benefit-item h3 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.benefit-item p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
    margin: 0.25rem 0 0;
}

.benefit-item:nth-child(2) i {
    animation-delay: 300ms;
}

.benefit-item:nth-child(3) i {
    animation-delay: 600ms;
}

.security-layout {
    align-items: center;
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr 0.9fr;
}

.security-copy h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.security-copy > p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.security-checks {
    display: grid;
    gap: 1rem;
}

.security-check {
    align-items: center;
    display: flex;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.75rem;
}

.security-check i {
    align-items: center;
    animation: icon-float 3.5s ease-in-out infinite;
    background: linear-gradient(145deg, #ffffff, #dbe8ff);
    border: 1px solid #c6d8f8;
    border-radius: 50%;
    color: var(--primary-blue);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.85), inset 0 -4px 0 rgba(84, 123, 188, 0.15), 0 8px 14px rgba(27, 63, 146, 0.1);
    width: 32px;
}

.security-diagram {
    align-items: center;
    background: linear-gradient(145deg, #f7faff, #ffffff);
    border: 1px solid #d8e3f6;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 280px;
    padding: 2rem;
}

.security-diagram__node {
    align-items: center;
    animation: security-node-float 3.6s ease-in-out infinite;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    color: var(--primary-blue);
    display: flex;
    font-size: 2rem;
    height: 100px;
    justify-content: center;
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.82), 0 10px 0 #cbd9f2, 0 18px 26px rgba(27, 63, 146, 0.12);
    width: 120px;
}

.security-diagram__line {
    border-top: 2px dashed #94a9d8;
    position: relative;
    width: 110px;
}

.security-diagram__lock {
    align-items: center;
    animation: lock-pulse 2.6s ease-in-out infinite;
    background: linear-gradient(145deg, #fff4b7, var(--second-yellow) 60%, #e5a000);
    border-radius: 50%;
    color: var(--ink);
    display: flex;
    height: 48px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(173, 115, 0, 0.24), 0 10px 16px rgba(27, 63, 146, 0.18);
}

@keyframes security-node-float {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-6px) rotate(1deg);
    }
}

@keyframes lock-pulse {
    0%, 100% {
        box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(173, 115, 0, 0.24), 0 10px 16px rgba(27, 63, 146, 0.18);
    }

    50% {
        box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.72), inset 0 -5px 0 rgba(173, 115, 0, 0.24), 0 0 0 8px rgba(251, 187, 33, 0.18), 0 14px 22px rgba(27, 63, 146, 0.2);
    }
}

.faq-grid {
    display: grid;
    gap: 0 3rem;
    grid-template-columns: repeat(2, 1fr);
}

.faq-item {
    border-bottom: 1px solid var(--line);
    transition: border-color 220ms ease, padding 220ms ease;
}

.faq-item:hover,
.faq-item:focus-within {
    border-color: var(--primary-blue);
    padding-inline: 0.35rem;
}

.faq-item button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--ink);
    display: flex;
    font-size: 0.92rem;
    font-weight: 600;
    justify-content: space-between;
    padding: 1.35rem 0;
    text-align: left;
    width: 100%;
}

.faq-item button i {
    color: var(--primary-blue);
    transition: transform 180ms ease;
}

.faq-item button[aria-expanded='true'] i {
    transform: rotate(45deg);
}

.faq-item__answer {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
    padding: 0 2rem 1.3rem 0;
}

.final-cta {
    background: var(--white);
    color: var(--white);
    padding: 0.5rem 0 2.5rem;
}

/* Acerca la llamada final al cierre de preguntas sin alterar su contenido. */
#preguntas-frecuentes {
    padding-bottom: 2.5rem;
}

.final-cta__inner {
    align-items: center;
    background: var(--primary-blue);
    border-radius: 18px;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
}

.final-cta__inner::after {
    background: var(--second-yellow);
    border-radius: 50%;
    content: '';
    height: 180px;
    opacity: 0.18;
    position: absolute;
    right: -65px;
    top: -95px;
    width: 180px;
}

.final-cta__inner > * {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.45rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.reveal-on-scroll.is-visible {
    animation: reveal-up 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-item:nth-child(2),
.benefit-item:nth-child(2),
.trust-stat:nth-child(2) {
    animation-delay: 70ms;
}

.step-item:nth-child(3),
.benefit-item:nth-child(3),
.trust-stat:nth-child(3) {
    animation-delay: 140ms;
}

.step-item:nth-child(4),
.benefit-item:nth-child(4) {
    animation-delay: 210ms;
}

.modal {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 240ms ease, transform 240ms ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.modal-status-image {
    max-width: 200px;
}

@media (max-width: 991.98px) {
    .home-hero__grid,
    .benefits-layout,
    .security-layout {
        gap: 3rem;
        grid-template-columns: 1fr;
    }

    .home-hero__details {
        grid-column: auto;
        grid-row: auto;
    }

    .home-hero__content { display: block; }

    .home-hero__calculator {
        margin-inline: auto;
        max-width: 520px;
        width: 100%;
    }

    .benefits-layout {
        grid-template-areas:
            'intro'
            'cards';
        grid-template-columns: 1fr;
    }

    .benefits-intro,
    .benefits-intro h2,
    .benefits-intro p {
        text-align: center;
    }

    .benefits-intro__line {
        margin-inline: auto;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid.steps-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 620px;
    }

    .steps-grid--three .step-item:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 302px;
        width: 100%;
    }

    .step-item:nth-child(even)::after,
    .step-item:nth-child(even)::before {
        display: none;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 3.25rem;
    }

    .trust-strip__content {
        padding-top: 0;
    }

    .trust-stats {
        left: auto;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
    }

    .devices-benefit__grid {
        grid-template-columns: 1fr;
    }

    .devices-benefit__copy {
        max-width: 720px;
        text-align: center;
    }

    .devices-benefit__button {
        justify-content: center;
    }

    .step-item {
        clip-path: none;
    }

    .step-item:nth-child(even)::after {
        display: none !important;
    }

    .home-hero::before {
        height: clamp(155px, 22vw, 210px);
    }

    .trust-strip::before {
        opacity: 0.68;
    }
}

@media (max-width: 767.98px) {
    .home-hero,
    .home-section,
    .benefits-section {
        padding-block: 4rem;
    }

    .home-hero {
        padding-bottom: 3rem;
        padding-top: 2.6rem;
    }

    .home-hero__grid { gap: 1.25rem; }
    .home-hero__status { margin-bottom: 0.8rem; }

    #como-funciona {
        background-size: 230% 185%;
        padding-bottom: 3.5rem;
        padding-top: 3rem;
    }

    #como-funciona::before {
        background-size: auto 100%;
    }

    .steps-grid.steps-grid--three {
        grid-template-columns: 1fr;
        max-width: 355px;
    }

    .steps-grid--three .step-item:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

    .steps-grid--three .step-item {
        min-height: 245px;
    }

    #preguntas-frecuentes {
        padding-bottom: 2rem;
    }

    .benefits-section {
        padding-bottom: 2rem;
    }

    #seguridad {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    .devices-benefit {
        padding-block: 3.75rem;
    }

    .devices-benefit__grid {
        gap: 2.5rem;
    }

    .devices-benefit h2 {
        font-size: clamp(1.65rem, 7vw, 2.3rem);
    }

    .devices-showcase {
        border-radius: 20px;
        min-height: 360px;
        padding-top: 1.1rem;
    }

    .devices-showcase__stage {
        height: 302px;
        transform: scale(0.78);
        transform-origin: top center;
        width: 128%;
        margin-left: -14%;
    }

    .home-hero__proof,
    .final-cta__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__proof {
        grid-template-columns: 1fr;
    }

    .home-hero::after {
        background-size: 138% 92%, auto, auto, auto;
        right: 0;
        width: 100%;
    }

    /* Separación ondulada breve: conserva contraste sin invadir las tarjetas. */
    .home-hero::before {
        animation: hero-wave-flow 18s cubic-bezier(0.45, 0.05, 0.25, 0.95) infinite alternate;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f8ff' d='M0 54C170 22 286 80 466 51s304-35 460-5 296 20 514-25v79H0Z'/%3E%3C/svg%3E") 0 bottom / 118% 100% no-repeat;
        bottom: 0;
        box-shadow: none;
        height: 54px;
        left: 0;
        opacity: 1;
        width: 100%;
    }

    .proof-item + .proof-item {
        border-left: 0;
        padding-left: 0.9rem;
    }

    .proof-item {
        min-height: 76px;
    }

    .trust-strip__grid,
    .trust-stats,
    .benefits-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .transfer-option {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        min-height: 0;
        padding: 1.7rem;
    }

    .transfer-option__icon {
        font-size: 1.55rem;
        height: 60px;
        width: 60px;
    }

    .transfer-option h2 {
        font-size: clamp(1.3rem, 6vw, 1.65rem);
    }

    .transfer-option p {
        font-size: 0.82rem;
        margin-top: 0.55rem;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 2.5rem;
    }

    .trust-stat + .trust-stat::before {
        height: 1px;
        left: 1.35rem;
        right: 1.35rem;
        top: 0;
        width: auto;
    }

    .trust-strip__item {
        justify-content: flex-start;
        padding: 0.7rem 0;
    }

    .trust-strip__item + .trust-strip__item {
        border-left: 0;
    }

    .final-cta .button {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .home-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step-item:nth-child(even):not(:last-child)::after,
    .step-item:not(:last-child)::after {
        animation: none;
        bottom: -16px;
        content: '';
        display: block;
        left: 50%;
        margin-left: -16px;
        right: auto;
        top: auto;
        transform: rotate(45deg);
    }

    .step-item:nth-child(even):not(:last-child)::after {
        display: block !important;
    }

    .step-item:not(:last-child)::before {
        display: none;
    }

    .benefit-item,
    .benefit-item:nth-child(even),
    .benefit-item:nth-child(n + 3) {
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 1.5rem;
    }

    .benefit-item:last-child {
        border: 1px solid var(--line);
    }

    .security-diagram__node {
        height: 80px;
        width: 90px;
    }

    .security-diagram__line {
        width: 70px;
    }

    .transfer-option {
        padding: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero,
    .home-hero::before,
    .home-hero::after,
    .step-item:not(:last-child)::after,
    .transfer-option::before,
    .transfer-option.is-visible .transfer-option__eyebrow,
    .transfer-option.is-visible h2,
    .transfer-option.is-visible p,
    .proof-item__icon,
    .step-item__icon,
    .transfer-option__icon,
    .transfer-option__icon i,
    .benefit-item i,
    .security-check i,
    .security-diagram__node,
    .security-diagram__lock,
    .reveal-on-scroll,
    #como-funciona,
    #como-funciona::before,
    .office-locations__track,
    .office-photo-slide,
    .home-hero__calculator .operation-selector-card,
    .step-item,
    .benefit-item,
    .faq-item {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .device-frame {
        animation: none;
    }

    .device-frame--tablet {
        transform: translate(-50%, -50%) translateX(-155px) scale(0.75) rotate(-8deg);
        z-index: 1;
    }

    .device-frame--phone {
        transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0);
        z-index: 3;
    }

    .device-frame--laptop {
        transform: translate(-50%, -50%) translateX(155px) scale(0.75) rotate(8deg);
        z-index: 1;
    }

    .office-photo-slide { transition: none; }
    .office-photo-slide.is-active { transform: translate(-50%, -50%) translateX(0) scale(1) rotate(0); }
    .office-photo-slide.is-prev { transform: translate(-50%, -50%) translateX(-28%) scale(0.76) rotate(-6deg); }
    .office-photo-slide.is-next { transform: translate(-50%, -50%) translateX(28%) scale(0.76) rotate(6deg); }
}

/* Estado estático completo para navegadores que reducen o suprimen animaciones.
   Los elementos conservan su posición final y permanecen visibles. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible,
    .transfer-option.is-visible .transfer-option__eyebrow,
    .transfer-option.is-visible h2,
    .transfer-option.is-visible p {
        animation: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible,
    .transfer-option.is-visible .transfer-option__eyebrow,
    .transfer-option.is-visible h2,
    .transfer-option.is-visible p {
        transform: none !important;
    }
}

@keyframes flow-arrow-down {
    0%, 100% {
        color: var(--primary-blue);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: translateY(-4px) scale(0.86);
    }

    50% {
        color: #163c89;
        opacity: 1;
        box-shadow: 0 0 0 7px rgba(255, 193, 7, 0.16);
        transform: translateY(4px) scale(1);
    }
}

/* V2 visual direction inspired by modern currency platforms.
   Presentation only: existing copy, sections and calculator behavior stay intact. */
:root {
    --kambista-ink: #071f2c;
    --kambista-blue: #123d91;
    --kambista-cyan: #25d4c1;
    --kambista-cloud: #f4f7fa;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0;
    box-shadow: 0 9px 28px rgba(7, 31, 44, 0.08);
    min-height: 72px;
    padding-block: 0.65rem;
}

.site-header::before {
    background: linear-gradient(90deg, transparent, rgba(37, 212, 193, 0.16), rgba(251, 187, 33, 0.22), transparent);
}

.site-header__brand img,
.navbar-brand img {
    height: 43px;
}

.site-header .nav-link {
    border-radius: 999px;
    color: #26384e !important;
    font-size: 0.86rem;
    padding-inline: 1rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    background: #eef5ff;
    color: var(--primary-blue) !important;
}

.site-header__login {
    font-weight: 700;
}

.site-header .button--primary {
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(251, 187, 33, 0.26);
    min-height: 44px;
    padding-inline: 1.5rem;
}

.home-page {
    background: var(--kambista-cloud);
}

.home-hero {
    animation: none;
    background:
        radial-gradient(circle at 87% 14%, rgba(55, 119, 212, 0.46), transparent 25%),
        radial-gradient(ellipse at 9% 92%, rgba(19, 165, 86, 0.25), transparent 32%),
        linear-gradient(115deg, #071f2c 0%, #103c80 57%, #225fae 100%);
    border-radius: 0 0 clamp(2.75rem, 7vw, 6rem) clamp(2.75rem, 7vw, 6rem);
    padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(8rem, 12vw, 11rem);
}

.home-hero::after {
    animation-duration: 23s;
    opacity: 0.5;
}

.home-hero::before {
    animation-duration: 24s;
    background-size: 132% 100%;
    box-shadow: none;
}

.home-hero__grid {
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(425px, 490px);
}

.home-hero__content {
    padding-bottom: clamp(0.5rem, 3vw, 2.5rem);
}

.home-hero__status {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 0.48rem 0.88rem;
}

.home-hero h1 {
    font-size: clamp(2.75rem, 4.8vw, 4.85rem);
    letter-spacing: -0.06em;
    line-height: 1.01;
    max-width: 690px;
}

.home-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.7;
    margin-block: 1.5rem 2.2rem;
    max-width: 560px;
}

.home-hero__proof {
    gap: 0.8rem;
    max-width: 590px;
}

.proof-item {
    background: rgba(255, 255, 255, 0.095);
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    min-height: 78px;
    padding: 0.8rem 0.95rem;
}

.proof-item:hover {
    background: rgba(255, 255, 255, 0.16);
}

.home-hero__calculator .operation-selector-card {
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    box-shadow: 0 28px 62px rgba(3, 22, 47, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.06);
}

.home-hero__calculator .operation-selector-card:hover {
    box-shadow: 0 34px 74px rgba(3, 22, 47, 0.45), 0 0 0 10px rgba(255, 255, 255, 0.08);
}

.trust-strip {
    background: linear-gradient(180deg, transparent 0%, #f6f9fc 22%, #ffffff 100%);
    padding-bottom: clamp(4rem, 7vw, 6rem);
}

.trust-strip__content {
    gap: 1.25rem;
    padding-top: clamp(5rem, 8vw, 7.25rem);
}

.trust-stats {
    background: linear-gradient(105deg, #163d79 0%, #1552a5 66%, #2273bd 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(12, 49, 103, 0.22);
}

.trust-strip__grid {
    border: 0;
    border-radius: 0;
    gap: 1.2rem;
    grid-template-columns: 1fr;
    overflow: visible;
    width: 100%;
}

.transfer-option {
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(11, 48, 101, 0.13);
    min-height: 198px;
    padding: clamp(1.6rem, 3vw, 2.5rem);
}

.transfer-option--instant {
    background: linear-gradient(125deg, #08783f 0%, #09a957 68%, #1ac474 100%);
}

.transfer-option--interbank {
    background: linear-gradient(125deg, #efa807 0%, #fbbb21 67%, #ffd766 100%);
}

.transfer-option__icon {
    height: 70px;
    width: 70px;
}

/* El rayo verde de Interbank adaptado al nuevo banner */
.transfer-option--interbank .transfer-option__icon--instant,
.transfer-option--interbank .transfer-option__icon {
    background: linear-gradient(145deg, #13a538 0%, #0d8a2e 100%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.45), inset 0 -4px 0 rgba(0, 0, 0, 0.16), 0 10px 22px rgba(13, 138, 46, 0.32);
    color: #ffffff;
}

.transfer-option--featured {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 3rem);
    width: 100%;
}

.transfer-option--featured .transfer-option__main {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    flex: 1 1 54%;
    min-width: 0;
}

.transfer-option--featured .transfer-option__body {
    min-width: 0;
}

.transfer-option__highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 0 0 clamp(290px, 38%, 400px);
    border-left: 1px solid rgba(27, 63, 146, 0.16);
    padding-left: clamp(1.2rem, 2.5vw, 2.2rem);
}

.transfer-highlight-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(175, 119, 0, 0.08);
    display: flex;
    gap: 0.85rem;
    padding: 0.65rem 0.95rem;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.transfer-highlight-item:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 18px rgba(175, 119, 0, 0.14);
    transform: translateX(4px);
}

.transfer-highlight-item__icon {
    align-items: center;
    background: linear-gradient(135deg, #153f8d 0%, #002a6c 100%);
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 42, 108, 0.25);
    color: #ffd45c;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.92rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.transfer-highlight-item__text {
    display: flex;
    flex-direction: column;
}

.transfer-highlight-item__text strong {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.transfer-highlight-item__text span {
    color: rgba(16, 24, 40, 0.74);
    font-size: 0.76rem;
    line-height: 1.35;
    margin-top: 1px;
}

@media (max-width: 991px) {
    .transfer-option--featured {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .transfer-option__highlights {
        border-left: 0;
        border-top: 1px solid rgba(27, 63, 146, 0.16);
        padding-left: 0;
        padding-top: 1.25rem;
        flex: 1 1 auto;
    }
}

#como-funciona {
    background-position: center;
    padding-block: clamp(4rem, 8vw, 6.75rem);
}

#como-funciona::before {
    background: linear-gradient(115deg, rgba(8, 35, 82, 0.83), rgba(18, 61, 137, 0.75) 60%, rgba(37, 91, 166, 0.78));
}

#como-funciona .section-heading {
    margin-bottom: 2.5rem;
}

.step-item {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    box-shadow: 0 16px 32px rgba(3, 24, 68, 0.22);
    filter: none;
    min-height: 260px;
}

.step-item:hover {
    border-color: var(--second-yellow);
    box-shadow: 0 22px 40px rgba(3, 24, 68, 0.28), 0 0 0 4px rgba(251, 187, 33, 0.12);
    filter: none;
}

.step-item:not(:last-child)::after {
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: 7px;
}

.benefits-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    padding-block: clamp(4.5rem, 8vw, 7rem) clamp(3rem, 5vw, 4.5rem);
}

.benefits-intro h2 {
    font-size: clamp(2.15rem, 3.7vw, 3.5rem);
    line-height: 1.08;
}

.benefits-grid {
    gap: 0.8rem;
}

.benefits-grid .benefit-item,
.benefits-grid .benefit-item:nth-child(even),
.benefits-grid .benefit-item:nth-child(n + 3),
.benefits-grid .benefit-item:first-child,
.benefits-grid .benefit-item:last-child {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e8f3;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(18, 53, 112, 0.055);
    padding: 1.25rem 1.4rem;
}

.benefit-item:hover {
    box-shadow: 0 18px 35px rgba(18, 53, 112, 0.13);
    transform: translateX(-6px);
}

.devices-benefit {
    background:
        radial-gradient(circle at 85% 15%, rgba(251, 187, 33, 0.25), transparent 22%),
        radial-gradient(ellipse at 8% 95%, rgba(19, 165, 86, 0.25), transparent 30%),
        linear-gradient(118deg, #08253b 0%, #123f88 63%, #2462b6 100%);
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.devices-showcase {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 24px 48px rgba(2, 25, 60, 0.25);
}

#seguridad,
#preguntas-frecuentes {
    background: #ffffff;
}

.security-diagram {
    border-radius: 26px;
    box-shadow: 0 20px 42px rgba(18, 53, 112, 0.1);
}

.faq-item button {
    padding-block: 1.45rem;
}

.final-cta {
    background: #ffffff;
    padding-bottom: 3rem;
}

.final-cta__inner {
    background: linear-gradient(112deg, #123b86, #205caf);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: 0 20px 42px rgba(15, 50, 112, 0.18);
}

@media (max-width: 991.98px) {
    .home-hero {
        border-radius: 0 0 3.5rem 3.5rem;
        padding-bottom: 9rem;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__calculator {
        margin-inline: auto;
        max-width: 520px;
    }

    .trust-strip__content {
        padding-top: 3.25rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        border-radius: 0 0 2.6rem 2.6rem;
        padding-block: 3.75rem 7.5rem;
    }

    .home-hero::before {
        background-size: 160% 100%;
    }

    .home-hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.55rem);
    }

    .home-hero__proof {
        grid-template-columns: 1fr;
    }

    .trust-strip__content {
        padding-top: 2.5rem;
    }

    .transfer-option {
        border-radius: 20px;
    }

    .benefit-item:hover {
        transform: translateY(-5px);
    }

    .final-cta__inner {
        border-radius: 22px;
    }
}
