:root {
  --bg: #f3f0ea;
  --paper: #f8f6f1;
  --panel: #fbfaf7;
  --ink: #111722;
  --muted: #5a6370;
  --soft: #77808d;
  --line: #d9d4ca;
  --line-strong: #bcb5aa;
  --orange: #ff6a1a;
  --orange-dark: #d84d05;
  --green: #008a68;
  --green-soft: #dff3ec;
  --charcoal: #111722;
  --radius: 4px;
  --shadow: 0 32px 90px rgba(17, 23, 34, .18);
}

body {
  background:
    linear-gradient(rgba(17,23,34,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,23,34,.027) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
}

.wrap { width: min(1280px, calc(100% - 64px)); }

.nav { background: rgba(243,240,234,.94); border-color: rgba(17,23,34,.13); }
.nav-inner { height: 82px; }
.brand { gap: 11px; font-size: 17px; letter-spacing: -.035em; }
.brand-mark { width: 36px; height: 36px; border-radius: 5px; box-shadow: none; }
.brand-copy small { font-size: 9px; letter-spacing: .18em; color: #69717d; }
.nav-links { gap: 12px; }
.nav-links a { padding: 10px 5px; border-radius: 0; font-size: 13px; letter-spacing: .01em; }
.nav-links a:hover { background: transparent; box-shadow: inset 0 -1px var(--ink); }
.btn { min-height: 44px; border-radius: 3px; padding: 0 19px; font-size: 13px; letter-spacing: -.01em; }
.nav-login { border-color: transparent; }
.btn.primary { background: var(--charcoal); }
.btn.orange { background: var(--orange); border-color: var(--orange); }

.hero { padding: 88px 0 68px; min-height: 720px; display: grid; align-items: center; }
.hero:before {
  content: ""; position: absolute; right: -12%; top: 0; width: 62%; height: 100%;
  background: radial-gradient(circle at 48% 44%, rgba(255,106,26,.15), transparent 56%);
  pointer-events: none;
}
.hero-grid { grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); gap: 70px; }
.eyebrow { padding: 0; border: 0; border-radius: 0; background: transparent; color: #4e5662; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; background: var(--orange); display: inline-block; margin-right: 9px; }
h1 { margin: 25px 0 24px; font-size: clamp(52px,6.2vw,86px); line-height: .92; max-width: 760px; letter-spacing: -.067em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 600px; font-size: 18px; line-height: 1.6; }
.hero-actions { margin-bottom: 40px; }
.hero-actions .btn.orange span { margin-left: 16px; font-size: 18px; font-weight: 400; }
.hero-facts { border-top-color: rgba(17,23,34,.16); }
.fact { padding: 18px 26px 0 0; }
.fact b { font-size: 21px; }
.fact span { font-size: 11px; line-height: 1.42; letter-spacing: .025em; text-transform: uppercase; }

.product-frame { background: #171d27; border: 1px solid #313845; border-radius: 7px; box-shadow: var(--shadow); padding: 0 8px 8px; overflow: visible; }
.frame-top { height: 48px; padding: 0 8px; background: #171d27; border: 0; color: #fff; }
.frame-title { color: #9da6b2; font-size: 10px; letter-spacing: .06em; }
.frame-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 7px; }
.frame-state { color: #aee8d6; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.frame-state span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #16c892; margin-right: 6px; box-shadow: 0 0 0 4px rgba(22,200,146,.12); }
.frame-img { padding: 0; background: #eef0f3; border-radius: 3px; overflow: hidden; }
.frame-img img { border: 0; border-radius: 0; aspect-ratio: 16/9.3; }
.floating-panel { right: -22px; bottom: -28px; width: 260px; border-radius: 3px; background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 20px; box-shadow: 0 20px 52px rgba(17,23,34,.2); }
.floating-panel small { color: var(--orange-dark); letter-spacing: .12em; }
.floating-panel strong { font-size: 23px; line-height: 1.03; }
.floating-panel span { color: var(--muted); font-size: 12px; }
.hero-signal { display: flex; align-items: center; gap: 22px; margin: 20px 0 0 4px; font-family: var(--mono); color: #59616d; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.hero-signal span { display: inline-flex; align-items: center; gap: 7px; }
.hero-signal i { width: 6px; height: 6px; border-radius: 50%; background: #08a87e; box-shadow: 0 0 0 4px rgba(8,168,126,.12); }

.platform-strip { scroll-margin-top: 82px; background: var(--charcoal); color: #fff; border-bottom: 1px solid #2c3340; }
.platform-strip-inner { min-height: 196px; display: grid; grid-template-columns: .54fr 1.46fr; gap: 54px; align-items: center; }
.platform-intro { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; }
.platform-intro > span { color: var(--orange); font: 600 11px var(--mono); padding-top: 3px; }
.platform-intro strong { font-size: 24px; line-height: 1.08; letter-spacing: -.035em; }
.platform-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 22px; align-items: center; }
.platform-flow > i { color: var(--orange); font-size: 24px; font-style: normal; font-weight: 300; }
.platform-flow div { display: grid; gap: 5px; }
.platform-flow small { color: #7d8796; font: 600 9px var(--mono); letter-spacing: .12em; }
.platform-flow b { font-size: 15px; }
.platform-flow span { color: #9ca4af; font-size: 11px; line-height: 1.4; }

.section { padding: 104px 0; background: rgba(248,246,241,.78); }
.section:nth-of-type(even) { background: rgba(243,240,234,.78); }
.section-head { grid-template-columns: minmax(0,1.18fr) minmax(300px,.52fr); margin-bottom: 48px; }
.section-kicker { color: var(--orange-dark); font-size: 10px; letter-spacing: .15em; }
h2 { font-size: clamp(38px,4.5vw,62px); max-width: 880px; }
.section-copy { font-size: 15px; }

.enterprise-modules { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.enterprise-modules .module { border: 0; border-radius: 0; min-height: 390px; padding: 30px; background: #f9f8f5; transition: background .2s ease, transform .2s ease; }
.enterprise-modules .module:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17,23,34,.09); z-index: 1; }
.enterprise-modules .module-featured { background: var(--charcoal); color: #fff; }
.enterprise-modules .module-featured:hover { background: #171e29; }
.enterprise-modules .module-featured p, .enterprise-modules .module-featured li, .enterprise-modules .module-featured .mono-label { color: #aeb6c1; }
.module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 38px; }
.module-index { font: 600 11px var(--mono); color: #8a919b; }
.live-tag { padding: 5px 7px; border: 1px solid #c9c4bc; color: #747b85; font: 600 8px var(--mono); letter-spacing: .11em; }
.module-featured .live-tag { color: #ff9a62; border-color: rgba(255,106,26,.48); }
.enterprise-modules .mono-label { margin-bottom: 13px; font-size: 10px; letter-spacing: .13em; }
.enterprise-modules .module h3 { font-size: 29px; }
.enterprise-modules .module p { font-size: 14px; }
.enterprise-modules .module ul { border-top: 1px solid rgba(120,125,132,.23); padding-top: 20px; }
.enterprise-modules .module li { font-size: 12px; }
.enterprise-modules .module li:before { width: 4px; height: 4px; border-radius: 0; }

.screen-card, .dom-card, .download-card, .price-card, .softrestaurant-ref, .compat-panel, .cta-panel { border-radius: 3px; }
.screen-card { box-shadow: none; }
.ops-caption { padding: 21px 22px; }
.status-pill { border-radius: 2px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.dom-gallery { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dom-card { border: 0; border-radius: 0; box-shadow: none; }
.compat-panel { border-left: 4px solid var(--orange); }
.price-card.featured { border-top: 4px solid var(--orange); }
.plan-tag { border-radius: 2px; }
.cta { background: var(--charcoal); }
.cta-panel { background: transparent; border-color: #353c48; color: #fff; }
.cta p { color: #a8b0bb; }
.footer { background: #0d121b; border-color: #2a303b; color: #7d8591; }

/* Capturas actuales: interacción inmersiva y encuadres que protegen la identidad del cliente. */
.screen-card > img,
.dom-card > img,
.frame-img > img {
  cursor: zoom-in;
  transition: transform .45s cubic-bezier(.2,.72,.2,1), filter .25s ease;
}
.screen-card > img:focus-visible,
.dom-card > img:focus-visible,
.frame-img > img:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}
.screen-card:hover > img:not(.capture-focus),
.dom-card:hover > img:not(.capture-focus),
.frame-img:hover > img:not(.capture-focus) { transform: scale(1.025); }
.capture-focus { object-fit: cover !important; }
.focus-products { transform: scale(1.75); transform-origin: 50% 100%; }
.focus-tables { transform: scale(3); transform-origin: 34% 0%; }
.focus-inventory { transform: scale(1.45); transform-origin: 50% 0%; }
.focus-purchases { transform: scale(1.75); transform-origin: 50% 100%; }
.focus-menu { transform: scale(2.2); transform-origin: 25% 0%; }
.focus-supplies { transform: scale(1.75); transform-origin: 50% 100%; }
.screen-card:has(> .capture-focus),
.dom-card:has(> .capture-focus) { overflow: hidden; }

body.viewer-open { overflow: hidden; }
.capture-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 58px minmax(0, 1180px) 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  background: rgba(8, 12, 19, .92);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.capture-viewer.is-open { opacity: 1; visibility: visible; }
.viewer-stage {
  margin: 0;
  width: min(100%, 1180px);
  transform: translateY(18px) scale(.97);
  transition: transform .38s cubic-bezier(.2,.75,.2,1);
}
.capture-viewer.is-open .viewer-stage { transform: translateY(0) scale(1); }
.viewer-image-wrap {
  position: relative;
  aspect-ratio: 16 / 8.7;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #101620;
  box-shadow: 0 36px 90px rgba(0,0,0,.52);
}
.viewer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewer-image.viewer-reveal:not(.capture-focus) { animation: captureReveal .5s cubic-bezier(.2,.75,.2,1); }
.viewer-gesture {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(10,15,23,.8);
  color: #d5dae1;
  font: 600 9px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.viewer-stage figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
  padding-top: 18px;
  color: #fff;
}
.viewer-count { color: #ff7a31; font: 600 10px var(--mono); letter-spacing: .12em; }
.viewer-title { font-size: 16px; font-weight: 600; }
.viewer-close,
.viewer-arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(19,25,35,.82);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.viewer-close:hover,
.viewer-arrow:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.viewer-close:focus-visible,
.viewer-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.viewer-close { position: absolute; top: 24px; right: 24px; font-size: 30px; font-weight: 300; }
.viewer-arrow { font-size: 23px; }
@keyframes captureReveal {
  from { opacity: .35; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .enterprise-modules { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .platform-strip-inner { grid-template-columns: 1fr; gap: 28px; padding: 38px 0; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .floating-panel { right: 12px; bottom: -32px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 30px,1280px); }
  .nav-inner { height: 68px; padding: 0; align-items: center; }
  .brand-copy small { display: none; }
  .hero { padding: 54px 0 48px; }
  h1 { font-size: 46px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-signal { display: none; }
  .floating-panel { position: relative; right: auto; bottom: auto; margin: 8px 0 0; }
  .platform-flow { grid-template-columns: 1fr; }
  .platform-flow > i { transform: rotate(90deg); width: fit-content; }
  .enterprise-modules { grid-template-columns: 1fr; }
  .enterprise-modules .module { min-height: 340px; }
  .section { padding: 70px 0; }
  .capture-viewer { grid-template-columns: 1fr; gap: 12px; padding: 74px 16px 20px; }
  .viewer-stage { grid-row: 1; }
  .viewer-arrow { position: absolute; bottom: 22px; }
  .viewer-prev { left: 16px; }
  .viewer-next { right: 16px; }
  .viewer-close { top: 14px; right: 16px; }
  .viewer-stage figcaption { padding: 14px 4px 68px; }
  .viewer-gesture { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .capture-viewer,
  .viewer-stage,
  .viewer-image,
  .screen-card > img,
  .dom-card > img,
  .frame-img > img { transition: none !important; animation: none !important; }
}
