/* =========================================================
   Topdigital360 — estilos
   Marca: rojo #b53333 · Ágora: #e31c45 · Fuente: Sora
   ========================================================= */

:root {
  --bg: #07090f;
  --bg-2: #0c1019;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f7;
  --muted: #9aa3b5;
  --brand: #b53333;
  --agora: #e31c45;
  --accent: #ff4d6d;
  --grad: linear-gradient(120deg, #b53333 0%, #e31c45 55%, #ff6b81 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(227, 28, 69, 0.35), 0 20px 60px -10px rgba(227, 28, 69, 0.45);
  --container: 1220px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agora-mark { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(227, 28, 69, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(227, 28, 69, .8); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: var(--surface-2); }
.btn--light { background: #fff; color: #111; }
.btn--light:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #fff;
  backdrop-filter: blur(8px);
}
.chip--agora { border-color: rgba(227, 28, 69, .5); background: rgba(227, 28, 69, .12); box-shadow: 0 0 30px -5px rgba(227,28,69,.5); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Sora", sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, #7a1f1f, #b53333 40%, #e31c45); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar__badge { display: inline-flex; align-items: center; gap: 10px; }
.topbar__link { font-weight: 600; opacity: .95; }
.topbar__link:hover { text-decoration: underline; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(7, 9, 15, .55); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.header.is-scrolled { background: rgba(7, 9, 15, .88); border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav__link:hover, .nav__link.is-active { color: #fff; background: var(--surface); }
.nav__link--featured { color: #fff; border: 1px solid rgba(227,28,69,.45); background: rgba(227,28,69,.1); }
.nav__cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h) - 38px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 30px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.glow--1 { width: 620px; height: 620px; background: #e31c45; right: -160px; top: -120px; opacity: .35; animation: drift 14s ease-in-out infinite alternate; }
.glow--2 { width: 520px; height: 520px; background: #4b1d8f; left: -220px; bottom: -200px; opacity: .3; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 60px) scale(1.1); } }

.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.3rem); font-weight: 800; margin: 22px 0 20px; }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: "Sora", sans-serif; font-size: 1.9rem; font-weight: 700; }
.hero__stats span { font-size: .82rem; color: var(--muted); }

.hero-slide__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-slide__visual { position: relative; display: flex; justify-content: center; }

.device-stage { position: relative; width: min(460px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.device-stage__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(227,28,69,.35); background: radial-gradient(circle, rgba(227,28,69,.22), transparent 65%); }
.device-stage__ring::after { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.device-stage__img { position: relative; width: 78%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.floating-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: rgba(15, 19, 30, .78); backdrop-filter: blur(12px); box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.floating-card small { display: block; color: var(--muted); font-size: .72rem; }
.floating-card strong { font-family: "Sora", sans-serif; font-size: .95rem; }
.floating-card--a { top: 12%; left: -4%; }
.floating-card--b { bottom: 10%; right: -4%; animation-delay: -3s; }
.floating-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font-weight: 700; }
.floating-card__icon--ok { background: #17b26a; }

.photo-stack { position: relative; width: min(520px, 100%); aspect-ratio: 5 / 4.4; }
.photo-stack img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border-strong); }
.photo-stack__main { width: 80%; height: 78%; left: 0; top: 0; }
.photo-stack__side { width: 42%; height: 72%; right: 0; bottom: 0; box-shadow: var(--glow) !important; }

.browser { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); background: #11151f; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #171c28; border-bottom: 1px solid var(--border); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4152; }
.browser__bar i:first-child { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 999px; }
.browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.browser--tilt { width: min(560px, 100%); transform: perspective(1400px) rotateY(-12deg) rotateX(4deg); box-shadow: var(--glow), var(--shadow); }

/* ---------- Generic slider ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider__track { position: relative; display: flex; transition: transform .8s var(--ease); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; margin: 0; }

/* fade variant (hero) */
.slider--hero .slider__track { display: grid; }
.slider--hero .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slider--hero .slide.is-active { opacity: 1; visibility: visible; }
.slider--hero .slide .hero-slide__content > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slider--hero .slide.is-active .hero-slide__content > * { opacity: 1; transform: none; }
.slider--hero .slide.is-active .hero-slide__content > *:nth-child(2) { transition-delay: .1s; }
.slider--hero .slide.is-active .hero-slide__content > *:nth-child(3) { transition-delay: .2s; }
.slider--hero .slide.is-active .hero-slide__content > *:nth-child(4) { transition-delay: .3s; }
.slider--hero .slide.is-active .hero-slide__content > *:nth-child(5) { transition-delay: .4s; }
.slider--hero .hero-slide__visual { opacity: 0; transform: scale(.94) translateX(30px); transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s; }
.slider--hero .slide.is-active .hero-slide__visual { opacity: 1; transform: none; }

.slider__ui { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; }
.slider__ui--inline { margin-top: 24px; padding: 0; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.22); transition: width .4s var(--ease), background .3s; }
.slider__dot.is-active { width: 34px; background: var(--grad); }
.slider__arrows { display: flex; gap: 10px; }
.slider__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: #fff; font-size: 1.1rem; transition: background .3s, border-color .3s, transform .3s; backdrop-filter: blur(8px); }
.slider__arrow:hover { background: var(--agora); border-color: var(--agora); transform: scale(1.06); }
.slider__progress { position: absolute; left: 0; right: 0; bottom: -30px; height: 2px; background: rgba(255,255,255,.06); }
.slider__progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.slider__progress span.is-running { animation: progress linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 20px 0; margin-top: 30px; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,.45); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--agora); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--row { text-align: left; margin-left: 0; }
.section__head--row .eyebrow { justify-content: flex-start; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
.section__lead { color: var(--muted); font-size: 1.08rem; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* ---------- Ágora intro ---------- */
.agora { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(227,28,69,.16), transparent 70%); }
.agora-hero { max-width: 860px; margin: 0 auto 64px; text-align: center; }
.agora-hero .eyebrow { justify-content: center; }
.agora-hero__badge { display: flex; justify-content: center; margin-bottom: 30px; }
.official-seal {
  display: inline-flex; align-items: center; gap: 16px; padding: 14px 26px 14px 14px;
  border-radius: 999px; border: 1px solid rgba(227,28,69,.5);
  background: linear-gradient(120deg, rgba(227,28,69,.18), rgba(181,51,51,.05));
  box-shadow: var(--glow);
}
.official-seal svg { width: 52px; height: 52px; }
.official-seal small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #ffb3c0; }
.official-seal strong { font-family: "Sora", sans-serif; font-size: 1.15rem; }
.official-seal--inline { margin-top: 30px; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento__item {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  overflow: hidden; transition: border-color .3s, transform .4s var(--ease);
}
.bento__item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(227,28,69,.16), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.bento__item:hover { border-color: rgba(227,28,69,.45); transform: translateY(-4px); }
.bento__item:hover::before { opacity: 1; }
.bento__item h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.bento__item p { color: var(--muted); font-size: .94rem; margin: 0; }
.bento__item--wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 0; }
.bento__item--wide .bento__text { padding: 30px; }
.bento__item--wide h3 { font-size: 1.5rem; }
.bento__img { margin-top: auto; width: 100%; height: 240px; object-fit: cover; mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
.bento__item--tall { grid-row: span 2; display: flex; flex-direction: column; }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(227,28,69,.14); border: 1px solid rgba(227,28,69,.35); }
.mini-chart { margin-top: auto; padding-top: 30px; display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.mini-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ff6b81, rgba(181,51,51,.3)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.mini-chart span:nth-child(2) { animation-delay: .1s; } .mini-chart span:nth-child(3) { animation-delay: .2s; } .mini-chart span:nth-child(4) { animation-delay: .3s; } .mini-chart span:nth-child(5) { animation-delay: .4s; } .mini-chart span:nth-child(6) { animation-delay: .5s; } .mini-chart span:nth-child(7) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Modules slider ---------- */
.modules__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.modules__tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 500; transition: all .3s; }
.modules__tab:hover { color: #fff; }
.modules__tab.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -10px rgba(227,28,69,.7); }
.slider--modules .slider__viewport { border: 1px solid var(--border-strong); box-shadow: var(--glow); background: #fff; }
.module-slide { position: relative; }
.module-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.module-slide figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.module-slide figcaption strong { color: #fff; font-family: "Sora", sans-serif; }

/* ---------- Verticals & hardware ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { padding: 34px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(227,28,69,.45); }
.vcard--featured { background: linear-gradient(160deg, rgba(227,28,69,.22), rgba(181,51,51,.04)); border-color: rgba(227,28,69,.45); }
.vcard__tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.vcard h3 { font-size: 1.4rem; }
.vcard p { color: var(--muted); }
.link-arrow { font-weight: 600; font-family: "Sora", sans-serif; font-size: .92rem; display: inline-flex; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .3s; }
.link-arrow:hover::after { transform: translateX(5px); }

.hardware { margin-top: 90px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hardware__text p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: center; }
.checklist li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: rgba(227,28,69,.18); color: var(--accent); flex: none; }
.hardware__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hw { margin: 0; border-radius: var(--radius); background: #fff; overflow: hidden; position: relative; transition: transform .4s var(--ease); }
.hw:hover { transform: translateY(-4px) scale(1.01); }
.hw img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; }
.hw figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: #0b0e16; font-size: .78rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 40px; }
.cta-band__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 50px 56px; border-radius: var(--radius-lg); background: var(--grad); position: relative; overflow: hidden;
}
.cta-band__inner::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Pantallas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.benefits span { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.benefits strong { display: block; font-family: "Sora", sans-serif; margin-bottom: 2px; }
.benefits div { color: var(--muted); font-size: .95rem; }
.benefits div strong { color: #fff; }

.slider--gallery .slider__viewport { aspect-ratio: 4 / 5; box-shadow: var(--glow); }
.slider--gallery .slider__track { height: 100%; }
.gallery-slide { position: relative; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide figcaption { position: absolute; top: 20px; left: 20px; padding: 7px 14px; border-radius: 999px; background: rgba(7,9,15,.75); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; }
.slider__ui--overlay { position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 90px; counter-reset: s; }
.step { position: relative; padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.step__num { position: absolute; right: 18px; top: -8px; font-family: "Sora", sans-serif; font-size: 6rem; font-weight: 800; line-height: 1; color: rgba(227,28,69,.12); }
.step h3 { font-size: 1.25rem; position: relative; }
.step p { color: var(--muted); margin: 0; position: relative; }

.manage { margin-top: 90px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.manage__visual { position: relative; aspect-ratio: 1.2; }
.manage__img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border-strong); object-fit: cover; }
.manage__img--a { width: 78%; left: 0; top: 0; }
.manage__img--b { width: 62%; right: 0; bottom: 0; }
.manage__text p { color: var(--muted); }
.manage__text p strong { color: #fff; }
.feature-pills { display: grid; gap: 12px; margin-top: 26px; }
.pill { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-weight: 500; }
.pill span { font-size: 1.2rem; }

/* ---------- Web ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.fcard:hover { transform: translateY(-6px); border-color: rgba(227,28,69,.45); }
.fcard__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--grad); margin-bottom: 20px; }
.fcard h3 { font-size: 1.15rem; }
.fcard p { color: var(--muted); font-size: .94rem; margin: 0; }

.process { margin-top: 90px; padding: 56px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: radial-gradient(ellipse at top right, rgba(227,28,69,.14), transparent 60%), var(--surface); }
.process__title { text-align: center; }
.process__lead { text-align: center; color: var(--muted); margin-bottom: 50px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 24px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(227,28,69,.6), transparent); }
.timeline li { position: relative; text-align: center; }
.timeline__dot { position: relative; width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 700; background: var(--grad); box-shadow: 0 0 0 8px var(--bg-2), 0 0 30px rgba(227,28,69,.6); }
.timeline h4 { font-size: 1.15rem; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }
.tech-logos { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 50px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.tech-logos img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 6px 12px; object-fit: contain; }

/* ---------- Cases ---------- */
.slider--cases .slider__viewport { border-radius: 0; overflow: visible; }
.slider--cases { overflow: hidden; padding: 40px 20px; margin: -40px -20px; }
.slider--cases .slider__track { gap: 24px; }
.slider--cases .slide { flex: 0 0 calc((100% - 48px) / 3); }
.case .browser { transition: transform .5s var(--ease), box-shadow .5s; }
.case { transition: transform .45s var(--ease); transform-origin: center bottom; position: relative; }
.case:hover { transform: scale(1.08); z-index: 2; }
.case:hover .browser { box-shadow: var(--glow); }
.case { display: block; color: inherit; }
.case__link { display: inline-block; margin-top: 8px; font-family: "Sora", sans-serif; font-weight: 600; font-size: .85rem; color: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.case:hover .case__link, .case:focus-visible .case__link { opacity: 1; transform: none; }
.case h3 { font-size: 1.15rem; margin: 20px 0 4px; }
.case p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(ellipse 60% 60% at 0% 100%, rgba(227,28,69,.14), transparent 70%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 14px; align-items: center; font-size: 1.05rem; }
.contact__list span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }
.contact__wa-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #25d366; flex: none; transition: transform .3s; box-shadow: 0 8px 20px -8px rgba(37,211,102,.7); }
.contact__wa-icon:hover { transform: scale(1.08); }
.contact__wa-icon svg { width: 26px; height: 26px; }
.contact__list a:hover { color: var(--accent); }

.form { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(10px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(7,9,15,.6); color: #fff; font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--agora); box-shadow: 0 0 0 4px rgba(227,28,69,.18); }
.form .is-invalid { border-color: #ff6b6b !important; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__chips legend { font-size: .86rem; font-weight: 500; color: var(--muted); margin-bottom: 10px; padding: 0; }
.form__chips label { display: inline-flex; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); font-size: .88rem; transition: all .2s; }
.form__chips input:checked + span { background: rgba(227,28,69,.2); border-color: var(--agora); }
.form__chips input:focus-visible + span { outline: 2px solid var(--agora); outline-offset: 2px; }
.form__legal { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; }
.form__legal input { accent-color: var(--agora); width: 18px; height: 18px; }
.form__status { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form__status.ok { color: #4ade80; } .form__status.err { color: #ff8a8a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 360px; font-size: .94rem; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: .95rem; margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: .92rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }

/* ---------- CashDro ---------- */
.cashier { margin-top: 90px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: radial-gradient(ellipse at 100% 50%, rgba(227,28,69,.16), transparent 60%), var(--surface); }
.cashier__text p { color: var(--muted); }
.cashier__visual { margin: 0; position: relative; border-radius: var(--radius-lg); background: #f7f7f7; overflow: hidden; box-shadow: var(--glow); }
.cashier__visual img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; transition: transform .6s var(--ease); }
.cashier__visual:hover img { transform: scale(1.05); }
.cashier__visual figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: #0b0e16; font-size: .82rem; font-weight: 600; }

/* ---------- WhatsApp ---------- */
.whatsapp { position: fixed; left: 22px; bottom: 22px; z-index: 91; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #25d366; color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: .9rem; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.whatsapp:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp svg { width: 40px; height: 40px; padding: 6px; border-radius: 50%; background: rgba(0,0,0,.12); }
.whatsapp::before { content: ""; position: absolute; left: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; animation: wa-ping 2.4s infinite; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); } 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- Floating CTA ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; color: #111; font-family: "Sora", sans-serif; font-weight: 700; font-size: .88rem; box-shadow: 0 16px 40px -10px rgba(227,28,69,.7); transform: translateY(120px); transition: transform .5s var(--ease); }
.fab.is-visible { transform: none; }
.fab svg { width: 34px; height: 34px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .slider--cases .slide { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 28px; background: rgba(7,9,15,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .nav__cta { margin: 10px 0 0; }
  .hero { min-height: auto; padding-top: 30px; }
  .hero-slide__inner, .split, .hardware, .manage, .contact__inner, .cashier { grid-template-columns: 1fr; gap: 40px; }
  .hero-slide__visual { order: -1; }
  .device-stage { width: min(320px, 80%); }
  .photo-stack, .browser--tilt { width: min(420px, 100%); }
  .cards-3, .steps, .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .section { padding: 90px 0; }
  .cta-band__inner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .slider--gallery .slider__viewport { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__link, .topbar__extra { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar { font-size: .78rem; }
  .header__logo img { height: 38px; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 1.5rem; }
  .floating-card { display: none; }
  .bento, .cards-4 { grid-template-columns: 1fr; }
  .bento__item--wide, .bento__item--tall { grid-column: auto; grid-row: auto; }
  .slider--cases .slide { flex-basis: 88%; }
  .modules__tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .modules__tab { flex: none; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .process { padding: 34px 20px; }
  .official-seal { padding-right: 18px; }
  .official-seal strong { font-size: 1rem; }
  .fab span, .whatsapp span { display: none; }
  .whatsapp { padding: 6px; left: 16px; bottom: 16px; }
  .cashier { grid-template-columns: 1fr; padding: 26px 18px; gap: 30px; }
  .case:hover { transform: none; }
  .case__link { opacity: 1; transform: none; }
  .slider--cases { padding: 10px 0; margin: -10px 0; }
  .fab { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
