/* 3S Sistemas — Futuristic Tech homepage. Scoped to the storefront home page. */
.page-home {
    --bg-body: #080d1a;
    --bg-card: #111b2e;
    --bg-surface: #111d32;
    --bg-hover: #182840;
    --primary: #00d9ff;
    --secondary: #7950ff;
    --accent: #00d9ff;
    --text-primary: #f1f7ff;
    --text-secondary: #a7bbd2;
    --text-muted: #7f93ae;
    --border: rgba(105, 163, 208, .2);
    background: #080d1a;
    color: #f1f7ff;
}

.page-home::selection { background: #00d9ff; color: #080d1a; }
.page-home :focus-visible { outline-color: #00d9ff; }

/* Header */
.page-home .navbar,
.page-home .navbar.scrolled {
    background: rgba(8, 13, 26, .86);
    border-bottom: 1px solid rgba(95, 155, 217, .17);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .17);
    backdrop-filter: blur(20px);
}
.page-home .navbar__brand-icon { color: #07101f; background: linear-gradient(135deg, #00d9ff, #4a8bff); box-shadow: 0 0 24px rgba(0, 217, 255, .3); }
.page-home .navbar__brand-text { color: #f5faff; }
.page-home .navbar__link { color: #b8c8dc; }
.page-home .navbar__link--active,
.page-home .navbar__link[aria-current="page"] { color: #00d9ff; background: rgba(0, 217, 255, .1); }
.page-home .navbar__link:not(.navbar__link--active):not([aria-current="page"]):hover { color: #00d9ff; background: transparent; }
.page-home .navbar__search { background: rgba(16, 28, 49, .8); border-color: rgba(113, 172, 225, .22); }
.page-home .navbar__search:focus-within { border-color: #00d9ff; box-shadow: 0 0 0 3px rgba(0, 217, 255, .1); background: rgba(16, 28, 49, .95); }
.page-home .navbar__search-input { color: #f1f7ff; }
.page-home .navbar__search-input::placeholder { color: #8298b6; }
.page-home .navbar__search .navbar__search-btn,
.page-home .navbar__admin-btn,
.page-home .navbar__toggle { color: #c0d5ec; }
.page-home .navbar__search-btn:hover,
.page-home .navbar__toggle:hover { color: #00d9ff; background: rgba(0, 217, 255, .1); }
.page-home .navbar__dropdown-menu { background: #101b2f; border-color: rgba(0, 217, 255, .2); box-shadow: 0 24px 45px rgba(0, 0, 0, .4); }
.page-home .navbar__dropdown-item { color: #b9cce0; }
.page-home .navbar__dropdown-item:hover { color: #00d9ff; background: rgba(0, 217, 255, .08); }
.page-home .navbar__mobile-menu { background: #0b1424; }
.page-home .navbar__mobile-link,
.page-home .navbar__mobile-label { color: #d5e4f3; }

/* Cinematic hero */
.page-home .hero--future {
    position: relative;
    min-height: min(900px, 100svh);
    padding: 130px 0 92px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 77% 45%, #132d55 0, #0b1934 25%, #080d1a 65%);
    color: #f7faff;
}
.page-home .hero--future::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: 0; background: linear-gradient(0deg, #080d1a, transparent); pointer-events: none; }
.hero__grid { position: absolute; inset: 0; opacity: .26; pointer-events: none; background-image: linear-gradient(rgba(96, 163, 235, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 163, 235, .12) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 95%); }
.hero__ambient { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(85px); pointer-events: none; opacity: .45; }
.hero__ambient--cyan { top: 5%; right: 5%; background: radial-gradient(circle, rgba(0, 217, 255, .23), transparent 68%); animation: future-breathe 8s ease-in-out infinite; }
.hero__ambient--violet { bottom: -32%; left: 27%; background: radial-gradient(circle, rgba(121, 80, 255, .25), transparent 68%); animation: future-breathe 10s ease-in-out -4s infinite; }
.hero__light-sweep { position: absolute; z-index: 0; top: -40%; left: 45%; width: 28%; height: 180%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0, 217, 255, .075), transparent); transform: rotate(22deg) translateX(-230%); animation: future-sweep 9s ease-in-out 1.4s infinite; }
.page-home .hero__layout { position: relative; z-index: 1; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 12px; min-height: 635px; }
.page-home .hero__content { position: relative; z-index: 3; max-width: 610px; padding: 20px 0 35px; text-align: left; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 27px; padding: 10px 14px; border: 1px solid rgba(0, 217, 255, .25); border-radius: 100px; color: #b6e8fb; background: rgba(0, 217, 255, .055); font-size: .68rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.hero__eyebrow-divider { margin-inline: 4px; color: #7950ff; }
.hero__signal { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #00d9ff; box-shadow: 0 0 0 4px rgba(0, 217, 255, .13), 0 0 15px #00d9ff; animation: future-signal 2.6s ease-in-out infinite; }
.page-home .hero__title { margin: 0 0 28px; color: #f7faff; font-size: clamp(3.45rem, 5vw, 5.3rem); font-weight: 800; line-height: .98; letter-spacing: -.075em; text-transform: uppercase; background: none; -webkit-text-fill-color: currentColor; }
.page-home .hero__title .hero__title-line { display: block; color: #f7faff; -webkit-text-fill-color: #f7faff; }
.page-home .hero__title .hero__title-line--glow { color: #00d9ff; -webkit-text-fill-color: #00d9ff; text-shadow: 0 0 28px rgba(0, 217, 255, .34), 0 0 70px rgba(0, 217, 255, .13); }
.page-home .hero__subtitle { max-width: 545px; margin: 0 0 33px; color: #a7bad2; font-size: 1.08rem; line-height: 1.75; }
.page-home .hero__actions { justify-content: flex-start; gap: 13px; margin: 0; }
.page-home .hero__actions .btn { min-height: 54px; padding: 15px 22px; border-radius: 12px; font-size: .92rem; font-weight: 800; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.page-home .hero__actions .btn:hover { transform: translateY(-3px); }
.page-home .hero__actions .btn--primary { color: #06101d; background: linear-gradient(135deg, #00d9ff, #4ea4ff); box-shadow: 0 12px 34px rgba(0, 217, 255, .22); }
.page-home .hero__actions .btn--primary:hover { color: #06101d; background: linear-gradient(135deg, #5ceaff, #72b8ff); box-shadow: 0 16px 40px rgba(0, 217, 255, .34); }
.page-home .hero__actions .btn--secondary { color: #e3e8ff; border: 1px solid rgba(155, 128, 255, .42); background: rgba(121, 80, 255, .11); box-shadow: none; }
.page-home .hero__actions .btn--secondary:hover { color: #fff; background: rgba(121, 80, 255, .24); border-color: #a48cff; }
.hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; color: #7f99b8; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.hero__meta-line { width: 30px; height: 1px; background: #00d9ff; box-shadow: 0 0 8px #00d9ff; }
.hero__meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #7950ff; }
.hero__stage { position: relative; z-index: 2; width: 100%; min-height: 650px; transform-style: preserve-3d; }
.hero__stage-core { position: absolute; z-index: 0; inset: 12% 1% 9%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 217, 255, .21), rgba(121, 80, 255, .12) 34%, transparent 67%); filter: blur(20px); animation: future-breathe 7s ease-in-out infinite; }
.hero__stage-ring { position: absolute; z-index: 0; border: 1px solid rgba(0, 217, 255, .17); border-radius: 50%; pointer-events: none; }
.hero__stage-ring--one { inset: 5% 8%; transform: rotate(-20deg); box-shadow: inset 0 0 32px rgba(0, 217, 255, .045), 0 0 24px rgba(0, 217, 255, .055); animation: future-orbit 34s linear infinite; }
.hero__stage-ring--two { inset: -3% 1%; border-style: dashed; border-color: rgba(143, 119, 255, .16); transform: rotate(16deg); animation: future-orbit 50s linear infinite reverse; }
.hero__canvas { position: absolute; z-index: 2; inset: -4% -4% 0; width: 108%; height: 105%; display: block; touch-action: pan-y; }
.hero__fallback { position: absolute; z-index: 1; inset: 13% 8% 17%; border-radius: 24px; overflow: hidden; transform: perspective(1000px) rotateY(-8deg) rotateX(4deg); box-shadow: 0 35px 100px rgba(0, 0, 0, .4), 0 0 65px rgba(0, 217, 255, .12); }
.hero__fallback img { width: 100%; height: 100%; object-fit: cover; }
.hero__stage.has-webgl .hero__fallback { opacity: 0; visibility: hidden; }
.hero__scene-tag { position: absolute; z-index: 3; top: 12%; right: 4%; display: inline-flex; align-items: center; gap: 8px; color: #9bc8df; font-size: .64rem; font-weight: 800; letter-spacing: .15em; }
.hero__scene-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #00d9ff; box-shadow: 0 0 12px #00d9ff; }
.hero__product-link { position: absolute; z-index: 4; bottom: 12%; left: 16%; display: flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 240px; max-width: 310px; padding: 12px 15px; border: 1px solid rgba(0, 217, 255, .24); border-radius: 13px; color: #eaf8ff; background: rgba(9, 23, 43, .72); backdrop-filter: blur(15px); box-shadow: 0 18px 40px rgba(0, 0, 0, .23); text-decoration: none; }
.hero__product-link:hover { color: #fff; border-color: #00d9ff; box-shadow: 0 0 25px rgba(0, 217, 255, .17); }
.hero__product-link span { display: grid; gap: 4px; }
.hero__product-link small { color: #82a7c2; font-size: .59rem; font-weight: 800; letter-spacing: .12em; }
.hero__product-link strong { font-size: .83rem; }
.hero__product-link i { color: #00d9ff; }
.hero__floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; width: 171px; padding: 7px; border: 1px solid rgba(118, 168, 233, .24); border-radius: 12px; color: #c9dff0; background: rgba(15, 31, 55, .75); backdrop-filter: blur(12px); box-shadow: 0 18px 38px rgba(0, 0, 0, .25); font-size: .63rem; font-weight: 700; letter-spacing: .08em; pointer-events: none; animation: future-float 5.8s ease-in-out infinite; }
.hero__floating-card img { width: 51px; height: 43px; border-radius: 7px; object-fit: cover; }
.hero__floating-card span { display: grid; gap: 2px; }
.hero__floating-card strong { color: #00d9ff; font-size: .7rem; }
.hero__floating-card--monitor { top: 23%; left: -1%; }
.hero__floating-card--accessory { right: -1%; bottom: 26%; animation-delay: -2.7s; }
.hero__scroll-cue { position: absolute; z-index: 3; bottom: 30px; left: 50%; display: flex; align-items: center; gap: 11px; transform: translateX(-50%); color: #7891ae; font-size: .64rem; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.hero__scroll-cue span { position: relative; width: 16px; height: 25px; border: 1px solid #6b8faf; border-radius: 12px; }
.hero__scroll-cue span::after { content: ""; position: absolute; top: 5px; left: 6px; width: 2px; height: 5px; border-radius: 3px; background: #00d9ff; animation: future-scroll 1.7s ease-in-out infinite; }

/* Storefront sections */
.page-home .service-strip { background: #0b1527; border-color: rgba(105, 163, 208, .15); }
.page-home .service-strip__grid > div + div { border-color: rgba(105, 163, 208, .16); }
.page-home .service-strip__grid i { color: #00d9ff; background: rgba(0, 217, 255, .09); border: 1px solid rgba(0, 217, 255, .14); }
.page-home .service-strip__grid strong { color: #eaf4ff; }
.page-home .service-strip__grid small { color: #8ca2bf; }
.page-home #categorias,
.page-home #productos { position: relative; background: #080d1a; }
.page-home #destacados { position: relative; background: #0b1426; }
.page-home #categorias::before,
.page-home #destacados::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 90% 0, rgba(121, 80, 255, .095), transparent 36%); }
.page-home .section__eyebrow { color: #00d9ff; }
.page-home .section__title { color: #f1f7ff; -webkit-text-fill-color: currentColor; }
.page-home .section__subtitle { color: #93a9c4; }
.page-home .category-card { min-height: 222px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, #111d32, #0c1729); border: 1px solid rgba(84, 145, 206, .2); box-shadow: none; opacity: 1; visibility: visible; }
.page-home .category-carousel__track { scroll-snap-type: none; }
.page-home .category-card:hover { background: linear-gradient(145deg, #142741, #101c32); border-color: rgba(0, 217, 255, .78); box-shadow: 0 0 0 1px rgba(0, 217, 255, .13), 0 0 30px rgba(0, 217, 255, .12); }
.page-home .category-card__icon { color: #00d9ff; background: rgba(0, 217, 255, .09); border: 1px solid rgba(0, 217, 255, .16); }
.page-home .category-card__name { color: #eaf5ff; }
.page-home .category-card__count { color: #819bb8; }
.page-home .category-carousel__button { color: #00d9ff; border-color: rgba(0, 217, 255, .24); background: #101f34; }
.page-home .category-carousel__button:not(:disabled):hover { color: #08101d; background: #00d9ff; border-color: #00d9ff; box-shadow: 0 0 23px rgba(0, 217, 255, .24); }
.page-home .product-card { background: #111c2e; border-color: rgba(88, 148, 206, .2); box-shadow: 0 12px 35px rgba(0, 0, 0, .17); }
.page-home .product-card:hover { border-color: rgba(0, 217, 255, .8); box-shadow: 0 0 0 1px rgba(0, 217, 255, .12), 0 18px 45px rgba(0, 0, 0, .35), 0 0 34px rgba(0, 217, 255, .13); }
.page-home .product-card__image { background: #0a1525; }
.page-home .product-card__content { color: #d4e2f1; }
.page-home .product-card__category { color: #80a8c8; }
.page-home .product-card__name,
.page-home .product-card__name a { color: #ecf6ff; }
.page-home .product-card__name a:hover { color: #00d9ff; }
.page-home .product-card__price { color: #00d9ff; }
.page-home .product-card__old-price { color: #6d839d; }
.page-home .product-card__discount { color: #97ffe1; background: rgba(4, 185, 133, .13); }
.page-home .product-card__badge--offer { color: #06101d !important; background: #00d9ff !important; }
.page-home .product-card__badge--new { color: #fff !important; background: #7950ff !important; }
.page-home .product-card__btn.btn--outline { color: #8beaff; border-color: rgba(0, 217, 255, .32); background: rgba(0, 217, 255, .07); }
.page-home .product-card__btn.btn--outline:hover { color: #08101d; background: #00d9ff; border-color: #00d9ff; }
.page-home .product-card__btn.btn--whatsapp { color: #8deac1; border-color: rgba(23, 180, 112, .25); background: rgba(23, 180, 112, .13); }
.page-home .catalog-filter { background: #101b2d; border-color: rgba(91, 154, 212, .21); box-shadow: 0 18px 40px rgba(0, 0, 0, .13); }
.page-home .catalog-filter__icon { color: #00d9ff; background: rgba(0, 217, 255, .1); }
.page-home .catalog-filter__intro strong { color: #e8f4ff; }
.page-home .catalog-filter__intro small { color: #8ea6c3; }
.page-home .catalog-filter__field > span:first-child { color: #9bb1cc; }
.page-home .catalog-filter__field input,
.page-home .catalog-filter__field select { color: #eef6ff; border-color: rgba(105, 163, 208, .24); background: #0b1526; }
.page-home .catalog-filter__field input::placeholder { color: #748aa6; }
.page-home .catalog-filter__input-wrap i { color: #76a4c8; }
.page-home .catalog-filter__checks label { color: #a9bfd6; }
.page-home .catalog-filter__reset { color: #00d9ff; }
.page-home .catalog-results { color: #849bb6; }
.page-home .catalog-results strong { color: #e4f1ff; }
.page-home .catalog-empty { color: #d5e5f7; background: #101d31; border-color: rgba(0, 217, 255, .25); }
.page-home .catalog-empty h3 { color: #f0f7ff; }
.page-home .catalog-empty p { color: #9fb3ca; }
.page-home .advice-banner { background: linear-gradient(115deg, #10233c, #171a3a); border: 1px solid rgba(0, 217, 255, .25); box-shadow: 0 25px 65px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .04); }
.page-home .advice-banner .section__eyebrow { color: #00d9ff; }
.page-home .advice-banner h2 { color: #f4f8ff; }
.page-home .advice-banner p { color: #a6b9cf; }
.page-home .advice-banner .btn { color: #07101d; background: #00d9ff; }
.page-home .advice-banner .btn:hover { color: #07101d; background: #73eaff; }
.page-home .footer { color: #a7bdd4; background: #070d18; border-top: 1px solid rgba(0, 217, 255, .12); }
.page-home .footer__title { color: #ecf6ff; }
.page-home .footer__text,
.page-home .footer__link,
.page-home .footer__bottom { color: #8da4bf; }
.page-home .footer__link:hover { color: #00d9ff; }
.page-home .footer__bottom { border-color: rgba(105, 163, 208, .16); }
.page-home .whatsapp-float__btn { box-shadow: 0 12px 26px rgba(0, 0, 0, .28), 0 0 22px rgba(33, 204, 116, .21); }

@keyframes future-breathe { 0%, 100% { transform: scale(.94); opacity: .38; } 50% { transform: scale(1.08); opacity: .59; } }
@keyframes future-sweep { 0%, 15% { transform: rotate(22deg) translateX(-230%); } 58%, 100% { transform: rotate(22deg) translateX(450%); } }
@keyframes future-signal { 0%, 100% { opacity: .6; scale: .88; } 50% { opacity: 1; scale: 1.15; } }
@keyframes future-orbit { to { rotate: 360deg; } }
@keyframes future-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes future-scroll { 0% { opacity: 0; translate: 0 0; } 45% { opacity: 1; } 100% { opacity: 0; translate: 0 8px; } }

@media (max-width: 1050px) {
    .page-home .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .page-home .hero__title { font-size: clamp(3rem, 5vw, 4.4rem); }
    .hero__floating-card--monitor { left: 1%; }
    .hero__floating-card--accessory { right: 1%; }
}
@media (max-width: 768px) {
    .page-home .hero--future { min-height: 0; padding: 110px 0 75px; }
    .page-home .hero__layout { grid-template-columns: 1fr; gap: 7px; min-height: 0; }
    .page-home .hero__content { max-width: 680px; padding: 0; }
    .page-home .hero__title { font-size: clamp(2.8rem, 8.5vw, 4.4rem); }
    .page-home .hero__subtitle { max-width: 620px; }
    .hero__stage { min-height: 500px; }
    .hero__floating-card--monitor { left: 6%; top: 10%; }
    .hero__floating-card--accessory { right: 4%; bottom: 24%; }
    .hero__scroll-cue { display: none; }
    .page-home .service-strip__grid > div + div { border-color: rgba(105, 163, 208, .16); }
}
@media (max-width: 480px) {
    .page-home .hero--future { padding-top: 102px; padding-bottom: 45px; }
    .hero__eyebrow { margin-bottom: 21px; font-size: .56rem; letter-spacing: .09em; }
    .page-home .hero__title { font-size: clamp(2.45rem, 10vw, 3.1rem); line-height: 1; }
    .page-home .hero__subtitle { font-size: .96rem; line-height: 1.65; }
    .page-home .hero__actions { flex-direction: row; align-items: stretch; }
    .page-home .hero__actions .btn { width: auto; flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: .77rem; text-align: center; }
    .page-home .hero__actions .btn i { display: none; }
    .hero__meta { margin-top: 24px; font-size: .65rem; }
    .hero__meta-dot,
    .hero__meta-dot + span { display: none; }
    .hero__stage { min-height: 405px; }
    .page-home .category-card { min-height: 205px; }
    .hero__canvas { inset: -2% -7% 0; width: 114%; height: 105%; }
    .hero__floating-card { width: 125px; font-size: .51rem; gap: 5px; }
    .hero__floating-card img { width: 38px; height: 33px; }
    .hero__floating-card strong { font-size: .57rem; }
    .hero__floating-card--monitor { left: -1%; top: 7%; }
    .hero__floating-card--accessory { right: -1%; bottom: 24%; }
    .hero__scene-tag { top: 1%; right: 3%; font-size: .51rem; }
    .hero__product-link { left: 5%; right: 5%; bottom: 5%; min-width: 0; max-width: none; }
    .hero__fallback { inset: 9% 4% 19%; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home *, .page-home *::before, .page-home *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .hero__light-sweep { display: none; }
}
