:root {
  --ink: #071c3d;
  --ink-2: #0c3164;
  --cyan: #28d7ef;
  --blue: #1689e8;
  --paper: #f4f8fd;
  --white: #ffffff;
  --muted: #617087;
  --line: #cbd8e8;
  --green: #32d583;
  --orange: #ff8a3d;
  --red: #ff5c6c;
  --display: "Bodoni 72", Didot, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: .7rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: min(1440px, 100%); margin: 0 auto; padding: 1.4rem clamp(1.25rem, 4vw, 4.5rem); color: white; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: .18em; }
.brand-mark { display: grid; width: 2.15rem; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--cyan); font-family: var(--display); font-size: 1.3rem; font-style: italic; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: white; }
.nav-ticket { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.38); border-radius: 99px; }
.menu-button { display: none; width: 2.8rem; height: 2.8rem; padding: .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 1px; margin: 4px 0; background: currentColor; }

.hero { position: relative; min-height: 810px; padding: 11rem clamp(1.25rem, 7vw, 8rem) 7rem; overflow: hidden; color: white; background: radial-gradient(circle at 83% 28%, rgba(22,137,232,.42), transparent 28%), linear-gradient(125deg, #06172f 0%, #092855 58%, #074b83 100%); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; left: -34vw; bottom: -56vw; border: 1px solid rgba(40,215,239,.35); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(40,215,239,.035), 0 0 0 14vw rgba(40,215,239,.025); }
.hero-copy { position: relative; z-index: 2; max-width: 800px; }
.eyebrow, .section-kicker { margin: 0 0 1.2rem; color: var(--cyan); font-family: var(--mono); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 2rem; font-family: var(--display); font-size: clamp(3.5rem, 7vw, 7.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .88; }
h1 em { color: var(--cyan); font-weight: inherit; }
.hero-lead { max-width: 670px; margin-bottom: 2.3rem; color: rgba(255,255,255,.72); font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 99px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); }
.button-ghost { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.button-light { color: var(--ink); background: white; }

.signal-board { position: relative; z-index: 1; min-width: 0; padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1.5rem; background: rgba(5,23,49,.66); box-shadow: 0 30px 70px rgba(0,0,0,.3); backdrop-filter: blur(18px); transform: rotate(1.5deg); }
.board-head { display: flex; justify-content: space-between; padding: .3rem .35rem 1rem; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.live { display: flex; align-items: center; gap: .5rem; color: var(--green); }
.live i { width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 .28rem rgba(50,213,131,.12); }
.signal { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; margin-top: .65rem; padding: .9rem; border: 1px solid rgba(255,255,255,.11); border-radius: .85rem; background: rgba(255,255,255,.055); }
.signal-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px currentColor; }
.signal-critical .signal-dot { background: var(--red); }
.signal-result .signal-dot { background: var(--green); }
.signal strong, .signal small { display: block; }
.signal strong { font-size: .95rem; }
.signal small { color: rgba(255,255,255,.55); font-size: .78rem; }
.signal b { color: var(--cyan); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; }
.signal-line { position: absolute; inset: 3.5rem 0 auto; z-index: 0; width: 100%; height: calc(100% - 3.5rem); opacity: .22; }
.signal-line path { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 7 7; }

.intro { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 4rem; padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); background: white; }
.intro .section-kicker { grid-column: 1 / -1; }
.intro h2, .custom h2, .final-cta h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.intro > p:last-child { max-width: 620px; align-self: end; margin-bottom: .5rem; color: var(--muted); font-size: 1.22rem; }

.products { background: var(--paper); }
.product { min-height: 720px; padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); border-top: 1px solid var(--line); }
.product:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
.product:nth-child(even) .product-copy { order: 2; }
.product-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; padding-bottom: .7rem; border-bottom: 1px solid currentColor; color: var(--blue); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-label i { font-style: normal; opacity: .65; }
.product h3 { margin-bottom: 1.2rem; font-family: var(--display); font-size: clamp(3.4rem, 6vw, 6.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .88; }
.product-tagline { margin-bottom: 1.2rem; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.product-copy > p:not(.product-tagline) { color: var(--muted); }
.feature-list { display: grid; gap: .6rem; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.2rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--cyan); }
.product-visual { margin: 0; min-width: 0; }
.wide-shot { position: relative; padding: 1rem; border: 1px solid #b9cae0; border-radius: 1.35rem; background: white; box-shadow: 0 24px 70px rgba(7,28,61,.13); transform: perspective(1200px) rotateY(-3deg); }
.wide-shot img { width: 100%; border-radius: .7rem; }
.product-nexus { color: white; background: var(--ink); }
.product-nexus .product-copy > p:not(.product-tagline) { color: rgba(255,255,255,.65); }
.product-nexus .wide-shot { padding: .65rem; border-color: rgba(255,255,255,.2); background: #0c2a56; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.product-chat { background: #dff7fc; }
.phone-shot { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; border-radius: 1.5rem; background: linear-gradient(145deg, #0b2d5d, #0e64a6); }
.phone-shot img { position: relative; z-index: 2; width: min(250px, 60%); border: 8px solid white; border-radius: 1.35rem; box-shadow: 0 25px 50px rgba(0,0,0,.3); transform: rotate(2deg); }
.chat-backdrop { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: 4rem 2rem; color: white; font-family: var(--display); font-size: clamp(2.3rem, 4vw, 4.8rem); line-height: .95; opacity: .18; }
.ticket-shot { min-height: 580px; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); overflow: hidden; border-radius: 1.5rem; background: #e2e5e9; }
.ticket-shot img { width: min(280px, 43%); border-radius: 1.4rem; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.ticket-shot img:last-child { transform: translateY(2.8rem); }
.text-link { display: inline-flex; gap: .4rem; margin-top: 1rem; color: var(--ink-2); font-weight: 800; text-underline-offset: .28rem; }
.product-cfdi { background: white; }

.custom { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 5rem; padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); color: white; background: var(--ink-2); }
.custom > p { max-width: 600px; margin-bottom: .4rem; color: rgba(255,255,255,.68); font-size: 1.18rem; }
.final-cta { padding: clamp(6rem, 12vw, 11rem) clamp(1.25rem, 7vw, 8rem) 6rem; color: white; background: linear-gradient(135deg, #0789d6 0%, #0a3d82 60%, #071c3d 100%); }
.final-cta h2 { max-width: 900px; }
.final-cta > p:not(.section-kicker) { max-width: 620px; margin: 2rem 0 3rem; color: rgba(255,255,255,.7); font-size: 1.2rem; }
.cta-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.25); }
.cta-row address { color: rgba(255,255,255,.68); font-style: normal; text-align: right; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2.2rem clamp(1.25rem, 4vw, 4.5rem); color: rgba(255,255,255,.66); background: #04142d; font-size: .86rem; }
.footer-brand { color: white; }
footer p { margin: 0; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 1.4rem; }
.footer-links button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.footer-links a, .footer-links button { text-underline-offset: .2rem; }

dialog { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: clamp(1.5rem, 5vw, 3rem); border: 0; border-radius: 1.2rem; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(3,14,31,.78); backdrop-filter: blur(8px); }
.dialog-head { display: flex; justify-content: space-between; }
.dialog-head button { width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.6rem; cursor: pointer; }
dialog h2 { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.privacy-copy { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { padding-top: 1rem; }
  .menu-button { display: block; }
  nav { position: absolute; top: 5rem; left: 1.25rem; right: 1.25rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: rgba(4,20,45,.97); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  nav.open { display: flex; }
  nav a { padding: .8rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 9rem; }
  .signal-board { width: min(620px, 100%); transform: none; }
  .intro, .product, .product:nth-child(even), .custom { grid-template-columns: 1fr; }
  .product:nth-child(even) .product-copy { order: initial; }
  .custom { align-items: start; gap: 2.5rem; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 5rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .signal-board { margin-top: 1rem; padding: .7rem; }
  .board-head { font-size: .6rem; }
  .signal { grid-template-columns: auto 1fr; }
  .signal b { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro h2 { margin-bottom: 2rem; }
  .product { min-height: auto; padding-top: 5rem; padding-bottom: 5rem; }
  .product h3 { font-size: 3.8rem; }
  .wide-shot { padding: .45rem; transform: none; }
  .phone-shot { min-height: 430px; }
  .ticket-shot { min-height: 430px; gap: .7rem; padding: 1rem; }
  .ticket-shot img { width: 48%; border-radius: .8rem; }
  .cta-row { align-items: stretch; flex-direction: column; }
  .cta-row address { text-align: left; }
  footer { padding-top: 3rem; padding-bottom: 3rem; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}

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