/* Home page — visual direction and responsive hero */
.hero-section {
    position: relative;
    display: flex;
    min-height: calc(100svh - 73px);
    padding: 0;
    isolation: isolate;
    overflow: hidden;
    background: #090411;
}

.hero-backdrop, .hero-overlay, .hero-glow { position: absolute; inset: 0; }
.hero-backdrop {
    z-index: -4;
    background: url('/images/Home/home.png') center center / cover no-repeat;
    transform: scale(1.015);
    animation: heroReveal 1.2s ease-out both;
}
.hero-overlay {
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(6,3,13,.97) 0%, rgba(9,4,19,.88) 37%, rgba(9,4,19,.28) 68%, rgba(7,3,14,.12) 100%),
        linear-gradient(0deg, rgba(7,3,14,.94) 0%, transparent 35%, rgba(6,3,13,.25) 100%);
}
.hero-glow { z-index: -2; pointer-events: none; filter: blur(10px); }
.hero-glow--one { width: 38rem; height: 38rem; top: -24rem; left: 16%; border-radius: 50%; background: rgba(139,92,246,.18); }
.hero-glow--two { width: 26rem; height: 26rem; inset: auto 8% -18rem auto; border-radius: 50%; background: rgba(111,63,214,.11); }
.hero-container { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 73px); padding-top: 5rem; padding-bottom: 8.5rem; }
.hero-content { width: min(720px, 64%); animation: contentRise .85s .12s ease-out both; }
.hero-eyebrow { border: 1px solid rgba(196,169,255,.16); background: rgba(8,6,13,.62); backdrop-filter: blur(10px); }
.status-dot { width: .45rem; height: .45rem; margin-right: .55rem; border-radius: 50%; background: #a77bff; box-shadow: 0 0 0 5px rgba(167,123,255,.11), 0 0 18px #a77bff; }
.hero-section h1 { max-width: 760px; margin: 0 0 1.5rem; font-size: clamp(3.25rem, 6.6vw, 6.6rem); line-height: .92; letter-spacing: -.065em; text-wrap: balance; text-shadow: 0 8px 40px rgba(4,2,10,.72); }
.hero-section h1 span, .section-heading h2 span { color: #b792ff; }
.hero-section .hero-text { max-width: 640px; margin: 0; color: rgba(242,237,255,.82); font-size: clamp(1.05rem,1.45vw,1.25rem); line-height: 1.7; text-shadow: 0 3px 20px rgba(4,2,10,.8); }
.hero-actions .btn { min-height: 3.65rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding-inline: 1.55rem; border-radius: .95rem; font-weight: 700; transition: transform .2s ease, filter .2s ease, border-color .2s ease, background-color .2s ease; }
.hero-primary-action { box-shadow: 0 14px 32px rgba(111,55,226,.3), inset 0 1px rgba(255,255,255,.2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 1.8rem; color: rgba(239,233,255,.68); font-size: .86rem; font-weight: 600; }
.hero-trust i { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: .35rem; border: 1px solid rgba(183,146,255,.3); border-radius: 50%; color: #c4a9ff; font-size: .72rem; font-style: normal; }

.hero-section .hero-metrics {
    position: absolute;
    right: .75rem;
    bottom: 2rem;
    left: .75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    border: 1px solid rgba(170,125,255,.14);
    border-radius: 1.15rem;
    background: rgba(7,5,12,.76);
    box-shadow: 0 18px 42px rgba(2,1,6,.26), inset 0 1px rgba(255,255,255,.035);
    backdrop-filter: blur(12px);
    overflow: hidden;
}
.hero-section .hero-metrics div { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border: 0; border-right: 1px solid rgba(170,125,255,.11); border-radius: 0; background: transparent; }
.hero-section .hero-metrics div:last-child { border-right: 0; }
.hero-section .hero-metrics p { margin: 0; color: rgba(231,224,255,.58); font-size: .82rem; line-height: 1.45; }
.hero-section .hero-metrics strong { margin: 0 0 .1rem; font-size: .94rem; }
.hero-section .metric-number { color: rgba(183,146,255,.55); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.hero-scroll { position: absolute; right: 2.1rem; top: 50%; display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.66); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: translateY(-50%); }
.hero-scroll i { color: #b792ff; font-size: 1rem; font-style: normal; }

.content-section#beneficios { padding: clamp(3.5rem, 4.5vw, 4.25rem) 0; }
#beneficios > .container, .cta-section > .container { width: min(100%, 1360px); max-width: 1360px; padding-inline: clamp(1.5rem, 5vw, 4rem); }
#beneficios .eyebrow, .home-cta-panel .eyebrow { margin-bottom: .75rem; padding: .25rem .58rem; font-size: .67rem; font-weight: 600; letter-spacing: .14em; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: 2.4rem; }
.section-intro .section-heading { margin: 0; }
#beneficios .section-heading h2 { max-width: 570px; margin: 0; color: #fff; font-size: clamp(2.5rem,3.6vw,3.65rem); font-weight: 500; line-height: 1; letter-spacing: -.048em; }
.section-lead { max-width: 470px; margin: 0 0 .3rem; color: var(--site-muted); font-size: 1rem; line-height: 1.65; }
.home-feature-grid { grid-template-columns: repeat(3,1fr); gap: clamp(1.15rem, 2vw, 1.65rem); }
.home-info-card { position: relative; min-height: 248px; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1rem; background: rgba(10, 7, 16, .7); box-shadow: inset 0 1px rgba(255,255,255,.025); overflow: hidden; }
.home-info-card:hover { transform: translateY(-3px); border-color: rgba(167,123,255,.27); box-shadow: 0 20px 46px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.04); }
.home-info-card--featured { background: radial-gradient(circle at 76% 0%, rgba(139,92,246,.075), transparent 42%), rgba(10,7,16,.76); }
.card-number { position: absolute; top: 1.65rem; right: 1.75rem; color: rgba(231,224,255,.24); font-size: .65rem; font-weight: 600; letter-spacing: .14em; }
.card-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; margin-bottom: 1.35rem; border: 1px solid rgba(167,123,255,.15); border-radius: .7rem; background: rgba(139,92,246,.045); color: #c5acff; font-size: 1.05rem; }
.card-icon--bolt::before { content: ""; width: .72rem; height: 1.18rem; background: #b996ff; clip-path: polygon(58% 0, 12% 56%, 45% 56%, 34% 100%, 88% 42%, 55% 42%); filter: drop-shadow(0 0 5px rgba(157,108,255,.3)); }
.home-info-card h3 { margin-bottom: .55rem; font-size: 1.18rem; font-weight: 500; line-height: 1.28; }
.home-info-card p { margin-bottom: 1.1rem; font-size: .94rem; line-height: 1.58; }
.home-info-card a { margin-top: auto; color: #c5acff; font-size: .8rem; font-weight: 600; }
.home-info-card a span { margin-left: .35rem; transition: margin-left .2s ease; }
.home-info-card a:hover span { margin-left: .65rem; }

.results-band { position: relative; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem,5vw,4rem); align-items: center; margin-top: 3.5rem; padding: 2.25rem 0; border: solid rgba(170,125,255,.12); border-width: 1px 0; border-radius: 0; background: radial-gradient(circle at 72% 50%, rgba(139,92,246,.055), transparent 34%); box-shadow: none; overflow: hidden; }
.results-band::before { content: ""; position: absolute; inset: 0 auto 0 43%; width: 1px; background: linear-gradient(180deg, transparent, rgba(170,125,255,.12), transparent); }
.results-band h2 { max-width: 500px; margin-bottom: .65rem; color: #fff; font-size: clamp(1.75rem,2.7vw,2.65rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.results-band p { margin: 0; color: var(--site-muted); }
.results-band__items { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.results-band__items div { padding-left: 1rem; border-left: 1px solid rgba(183,146,255,.17); }
.results-band__items strong { display: block; margin-bottom: .28rem; color: #fff; font-size: .92rem; font-weight: 500; }
.results-band__items span { color: var(--site-muted); font-size: .8rem; line-height: 1.45; }
.cta-section { padding: 3.5rem 0 4.5rem; }
.home-cta-panel { position: relative; padding: clamp(2rem,3.8vw,3rem); border-radius: 1rem; overflow: hidden; background: radial-gradient(circle at 88% 25%, rgba(139,92,246,.15), transparent 32%), linear-gradient(120deg,rgba(13,9,21,.98),rgba(7,5,12,.98) 70%); }
.home-cta-panel::after { content: ""; position: absolute; width: 18rem; height: 18rem; right: -7rem; bottom: -12rem; border: 1px solid rgba(170,125,255,.1); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(139,92,246,.018), 0 0 0 6rem rgba(139,92,246,.012); }
.home-cta-panel > * { position: relative; z-index: 1; }
.home-cta-panel h2 { max-width: 640px; margin-bottom: .55rem; font-size: clamp(1.9rem,3.2vw,3rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.home-cta-panel p { color: var(--site-muted); margin: 0; }
.home-cta-panel .btn { min-height: 2.9rem; padding: .7rem 1.35rem; border: 0; border-radius: .7rem; font-size: .9rem; font-weight: 600; white-space: nowrap; }

@keyframes heroReveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }
@keyframes contentRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 991.98px) {
    .hero-section { min-height: calc(100svh - 73px); padding: 0; }
    .hero-container { min-height: calc(100svh - 73px); padding-top: 4rem; padding-bottom: 9rem; }
    .hero-content { width: min(720px,82%); }
    .hero-scroll { display: none; }
    .section-intro, .results-band { grid-template-columns: 1fr; gap: 1.5rem; }
    .home-info-card { min-height: 0; }
    .results-band::before { display: none; }
}

@media (max-width: 767.98px) {
    .hero-section, .hero-container { min-height: calc(100svh - 70px); }
    .hero-container { justify-content: flex-start; padding-top: 4.2rem; padding-bottom: 2.5rem; }
    .hero-content { width: 100%; }
    .hero-section h1 { font-size: clamp(3rem,15vw,4.7rem); }
    .hero-overlay { background: linear-gradient(90deg, rgba(6,3,13,.94), rgba(7,3,14,.68)), linear-gradient(0deg, rgba(7,3,14,.98) 0%, rgba(7,3,14,.18) 55%, rgba(7,3,14,.35) 100%); }
    .hero-backdrop { background-position: 61% center; opacity: .75; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: .65rem 1rem; }
    .hero-section .hero-metrics { position: relative; inset: auto; grid-template-columns: 1fr; margin-top: 2.25rem; }
    .hero-section .hero-metrics div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
    .hero-section .hero-metrics div:last-child { border-bottom: 0; }
    .section-intro { margin-bottom: 2rem; }
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-info-card { padding: 1.5rem; }
    .results-band { margin-top: 2.5rem; padding: 1.75rem 0; }
    .results-band__items { grid-template-columns: 1fr; }
    .results-band__items div { padding: .8rem 0 0; border-top: 1px solid rgba(183,146,255,.14); border-left: 0; }
    .home-cta-panel { align-items: stretch; }
    .home-cta-panel .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-backdrop, .hero-content { animation: none; }
}
