/* =====================================================================
   INGEN-IA · Sistema de diseño compartido (inspirado en apple.com)
   Usado por ingen-ia.net (home, GastroGiro, contacto, legal)
   y por liberapro.net. Sin dependencias externas salvo la fuente Inter.
   ===================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Superficies claras */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;

  /* Superficies oscuras */
  --dark: #000000;
  --dark-2: #161617;
  --dark-3: #1d1d1f;
  --dark-4: #2c2c2e;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --on-dark-3: #6e6e73;

  /* Marca */
  --accent: #e3262f;
  --accent-hover: #c91f27;
  --accent-soft: rgba(227, 38, 47, .12);
  --link-light: #d0202a;
  --link-dark: #ff5a5f;
  --ok: #30d158;
  --warn: #ff9f0a;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 28px;
  --nav-h: 48px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --wrap: 980px;
  --wrap-wide: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(227, 38, 47, .22); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Layout
   --------------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), 100% - 44px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.center { text-align: center; }

.theme-light { background: var(--bg); color: var(--ink); }
.theme-alt { background: var(--bg-alt); color: var(--ink); }
.theme-dark { background: var(--dark); color: var(--on-dark); }
.theme-dark-2 { background: var(--dark-2); color: var(--on-dark); }

/* ---------------------------------------------------------------------
   Tipografía
   --------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: .004em; line-height: 1.2;
  color: var(--accent); margin-bottom: 14px;
}
.theme-dark .eyebrow, .theme-dark-2 .eyebrow { color: var(--link-dark); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.display {
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em;
}
.headline {
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.0625; font-weight: 700; letter-spacing: -.03em;
}
.headline-s {
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em;
}
.title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.16; font-weight: 700; letter-spacing: -.018em; }
.lede {
  font-size: clamp(19px, 2vw, 24px); line-height: 1.42; font-weight: 500; letter-spacing: -.012em;
  color: var(--ink-2); max-width: 44ch;
}
.center .lede { margin-inline: auto; }
.theme-dark .lede, .theme-dark-2 .lede, .hero .lede { color: var(--on-dark-2); }
.lede strong, .copy strong { color: var(--ink); font-weight: 600; }
.theme-dark .lede strong, .theme-dark-2 .lede strong, .theme-dark .copy strong, .theme-dark-2 .copy strong { color: var(--on-dark); }
.copy { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.016em; }
.theme-dark .copy, .theme-dark-2 .copy { color: var(--on-dark-2); }
.small { font-size: 14px; line-height: 1.43; color: var(--ink-3); letter-spacing: -.016em; }
.theme-dark .small, .theme-dark-2 .small { color: var(--on-dark-3); }
.gradient-text {
  background: linear-gradient(90deg, #ff6a3d 0%, #e3262f 45%, #b1127a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gradient-text--warm { background-image: linear-gradient(90deg, #ffb340 0%, #ff6a3d 50%, #e3262f 100%); }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 44px; } .mt-xl { margin-top: 72px; }

/* ---------------------------------------------------------------------
   Botones y enlaces
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; letter-spacing: -.022em; line-height: 1.18;
  background: var(--accent); color: #fff; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--link-light); border-color: currentColor; }
.btn--ghost:hover { background: var(--link-light); color: #fff; border-color: var(--link-light); }
.theme-dark .btn--ghost, .theme-dark-2 .btn--ghost, .hero .btn--ghost, .tile--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.theme-dark .btn--ghost:hover, .theme-dark-2 .btn--ghost:hover, .hero .btn--ghost:hover, .tile--dark .btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e8e8ed; }
.btn--sm { min-height: 30px; padding: 5px 14px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 19px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--link-light); font-size: inherit; font-weight: 500;
}
.link::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-.02em); margin-left: 3px; transition: transform .2s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(2px, -.02em); }
.link--ext::after { content: "↗"; font-size: .9em; }
.theme-dark .link, .theme-dark-2 .link, .hero .link, .tile--dark .link { color: var(--link-dark); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .cta-row { justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.3;
  background: var(--accent-soft); color: var(--accent);
}
.pill--ok { background: rgba(48, 209, 88, .14); color: #1f9e45; }
.pill--warn { background: rgba(255, 159, 10, .16); color: #b86e00; }
.pill--glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.theme-dark .pill--ok, .theme-dark-2 .pill--ok, .tile--dark .pill--ok { color: var(--ok); }
.theme-dark .pill--warn, .theme-dark-2 .pill--warn, .tile--dark .pill--warn { color: var(--warn); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot--live { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------------------------------------------------------------
   Navegación global (translúcida, estilo apple.com)
   --------------------------------------------------------------------- */
.gnav {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(22, 22, 23, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  color: rgba(255,255,255,.8);
}
.gnav--overlay { position: fixed; left: 0; right: 0; }
.gnav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1024px, 100% - 32px); margin-inline: auto; }
.gnav__brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -.01em; flex: none; }
.gnav__brand svg, .gnav__brand img { width: 24px; height: 24px; }
.gnav__brand b { font-weight: 700; }
.gnav__brand .ia { color: var(--link-dark); }
.gnav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); font-size: 12px; letter-spacing: -.01em; }
.gnav__links a { color: rgba(255,255,255,.8); transition: color .2s; padding: 6px 0; }
.gnav__links a:hover, .gnav__links a[aria-current="page"] { color: #fff; }
.gnav__actions { display: flex; align-items: center; gap: 16px; font-size: 12px; flex: none; }
.gnav__actions a:not(.btn) { color: rgba(255,255,255,.8); }
.gnav__actions a:not(.btn):hover { color: #fff; }
.gnav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -12px; }
.gnav__burger span { position: relative; width: 17px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), background .2s; }
.gnav__burger span::before, .gnav__burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.gnav__burger span::before { transform: translateY(-5px); }
.gnav__burger span::after { transform: translateY(5px); }
.nav-open .gnav__burger span { background: transparent; }
.nav-open .gnav__burger span::before { transform: rotate(45deg); }
.nav-open .gnav__burger span::after { transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999; background: rgba(0,0,0,.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 24px 32px 48px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-open .mnav { opacity: 1; visibility: visible; transform: none; }
.mnav a { display: block; color: #e8e8ed; font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding: 8px 0; }
.mnav .mnav__small { margin-top: 28px; }
.mnav .mnav__small a { font-size: 17px; font-weight: 500; color: var(--on-dark-2); padding: 6px 0; }
.nav-open { overflow: hidden; }

@media (max-width: 833px) {
  .gnav__links, .gnav__actions .hide-m { display: none; }
  .gnav__burger { display: inline-flex; }
}
@media (min-width: 834px) { .mnav { display: none; } }

/* Navegación local de producto (debajo de la global) */
.lnav {
  position: sticky; top: 0; z-index: 990; height: 52px;
  background: rgba(22, 22, 23, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.lnav--light { background: rgba(251, 251, 253, .8); color: var(--ink); border-bottom-color: rgba(0,0,0,.08); }
.lnav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1024px, 100% - 32px); margin-inline: auto; }
.lnav__title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.lnav__links { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.lnav__links a { opacity: .85; }
.lnav__links a:hover { opacity: 1; }
@media (max-width: 833px) { .lnav__links a:not(.btn) { display: none; } .lnav__title { font-size: 19px; } }

/* ---------------------------------------------------------------------
   Hero con vídeo (crossfade entre clips + capítulos con progreso)
   --------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: #000; overflow: hidden; isolation: isolate;
}
.hero--below-nav { margin-top: calc(var(--nav-h) * -1); }
.hero__media { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 40%; will-change: transform; }
.hero__media video, .hero__media img.hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__media video.is-active, .hero__media img.hero__poster.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.5) 32%, rgba(0,0,0,0) 62%);
}
.hero__content { width: min(1100px, 100% - 44px); margin: 0 auto; padding: 0 0 clamp(110px, 16vh, 170px); will-change: transform, opacity; }
.hero__content .display { max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__content .lede { color: rgba(255,255,255,.86); max-width: 40ch; margin-top: 22px; }
.hero__content .cta-row { margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero--center { align-items: center; text-align: center; }
.hero--center .hero__content { padding-top: calc(var(--nav-h) + 40px); }
.hero--center .display, .hero--center .lede { margin-inline: auto; }
.hero--center .cta-row, .hero--center .hero__chips { justify-content: center; }

.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  width: min(1100px, 100% - 44px); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.chapters { display: flex; gap: clamp(10px, 2vw, 22px); flex: 1; max-width: 720px; }
.chapter { flex: 1; min-width: 0; text-align: left; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; letter-spacing: .01em; transition: color .3s; }
.chapter span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.chapter i { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.chapter i b { display: block; height: 100%; width: 0; background: #fff; }
.chapter.is-active { color: #fff; }
.chapter.is-done i b { width: 100%; }
.hero__toggle {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .2s;
}
.hero__toggle:hover { background: rgba(255,255,255,.28); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .i-play { display: none; }
.hero.is-paused .hero__toggle .i-play { display: block; }
.hero.is-paused .hero__toggle .i-pause { display: none; }
@media (max-width: 600px) {
  .chapter span { font-size: 11px; }
  .hero__content { padding-bottom: 120px; }
}

/* ---------------------------------------------------------------------
   Manifiesto con palabras que se iluminan al hacer scroll
   --------------------------------------------------------------------- */
.manifesto { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; max-width: 22ch; }
.manifesto .w { opacity: .16; transition: opacity .35s linear; }
.manifesto .w.on { opacity: 1; }
.manifesto em { font-style: normal; }
@media (prefers-reduced-motion: reduce) { .manifesto .w { opacity: 1; } }

/* ---------------------------------------------------------------------
   Tiles (cuadrícula de la home de apple.com)
   --------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; background: var(--bg); }
.tile {
  position: relative; overflow: hidden; min-height: 620px; border-radius: 0;
  background: var(--bg-alt); color: var(--ink); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(40px, 5vw, 58px) 24px 0;
}
.tile--full { grid-column: 1 / -1; min-height: 680px; }
.tile--dark { background: #000; color: var(--on-dark); }
.tile--dark .lede, .tile--dark .copy { color: var(--on-dark-2); }
.tile__logo { height: 34px; width: auto; margin: 0 auto 10px; }
.tile__name { font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.07; }
.tile__tag { font-size: clamp(19px, 2vw, 28px); font-weight: 500; letter-spacing: -.012em; line-height: 1.2; margin-top: 6px; }
.tile .cta-row { justify-content: center; margin-top: 20px; gap: 14px; }
.tile .btn { font-size: 15px; min-height: 36px; padding: 8px 18px; }
.tile__media { margin-top: auto; padding-top: 34px; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.tile__media img { max-height: 380px; width: auto; object-fit: contain; }
.tile__bg { position: absolute; inset: 0; z-index: 0; }
.tile__bg img, .tile__bg video { width: 100%; height: 100%; object-fit: cover; }
.tile__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.1) 100%); }
.tile > *:not(.tile__bg) { position: relative; z-index: 1; }
.tile--photo { color: #fff; }
.tile--photo .lede { color: rgba(255,255,255,.85); }
.tile:hover .tile__zoom { transform: scale(1.03); }
.tile__zoom { transition: transform 1.2s var(--ease-out); }
.tile .pill { margin-bottom: 14px; }
@media (max-width: 833px) {
  .tiles { grid-template-columns: 1fr; padding: 0; gap: 10px; }
  .tile, .tile--full { min-height: 560px; }
}

/* ---------------------------------------------------------------------
   Tarjetas y cuadrículas
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border-radius: var(--radius-l); padding: clamp(28px, 3vw, 40px);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.theme-light .card { background: var(--bg-alt); }
.theme-dark .card, .theme-dark-2 .card { background: var(--dark-3); color: var(--on-dark); }
.card--hover:hover { transform: scale(1.015); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.theme-dark .card--hover:hover { box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.card h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.17; font-weight: 700; letter-spacing: -.02em; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.47; }
.theme-dark .card p, .theme-dark-2 .card p { color: var(--on-dark-2); }
.card .icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--accent); }
.theme-dark .card .icon, .theme-dark-2 .card .icon { color: var(--link-dark); }
.card .icon svg { width: 100%; height: 100%; }
.card--tall { min-height: 420px; display: flex; flex-direction: column; }
.card__media { margin: 28px calc(clamp(28px, 3vw, 40px) * -1) calc(clamp(28px, 3vw, 40px) * -1); margin-top: auto; padding-top: 28px; }
.card__media img { width: 100%; }
.card .big-num { font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }

.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 17px; }
.theme-dark .checklist li, .theme-dark-2 .checklist li { color: var(--on-dark-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checklist--x li::before { background: var(--ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/10px no-repeat; }
.checklist li b { color: var(--ink); font-weight: 600; }
.theme-dark .checklist li b, .theme-dark-2 .checklist li b { color: var(--on-dark); }

/* Split: texto + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: -1; }
.split--wide { grid-template-columns: 5fr 7fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* ---------------------------------------------------------------------
   Galería horizontal ("Échale un vistazo")
   --------------------------------------------------------------------- */
.gallery { position: relative; }
.gallery__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(22px, calc((100vw - var(--wrap-wide)) / 2)) 30px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gcard {
  flex: none; width: min(400px, 82vw); height: min(680px, 150vw); max-height: 680px; border-radius: var(--radius-l);
  background: var(--bg); color: var(--ink); scroll-snap-align: center; position: relative; overflow: hidden;
  display: flex; flex-direction: column; padding: 34px 32px 0;
}
.gcard--dark { background: #000; color: var(--on-dark); }
.gcard--dark .gcard__text { color: var(--on-dark-2); }
.gcard__kicker { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--accent); }
.gcard--dark .gcard__kicker { color: var(--link-dark); }
.gcard__title { font-size: 28px; line-height: 1.14; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; }
.gcard__text { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.gcard__media { margin: auto -32px 0; padding-top: 24px; display: flex; justify-content: center; align-items: flex-end; flex: 1; min-height: 0; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.gallery__ctrl { display: flex; justify-content: flex-end; gap: 14px; width: min(var(--wrap-wide), 100% - 44px); margin: 4px auto 0; }
.gallery__ctrl button {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(210,210,215,.64); color: rgba(0,0,0,.56);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, opacity .2s;
}
.gallery__ctrl button:hover { background: rgba(223,223,227,.9); color: rgba(0,0,0,.8); }
.gallery__ctrl button[disabled] { opacity: .35; cursor: default; }
.theme-dark .gallery__ctrl button { background: rgba(66,66,69,.72); color: rgba(255,255,255,.8); }
.gallery__ctrl svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------------
   Marcos de dispositivo (hechos en CSS)
   --------------------------------------------------------------------- */
.iphone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 1290 / 2796; border-radius: calc(var(--w) * .165);
  background: #0a0a0a; padding: calc(var(--w) * .035);
  box-shadow: 0 0 0 calc(var(--w) * .008) #3a3a3c, 0 0 0 calc(var(--w) * .016) #1c1c1e, 0 40px 80px -20px rgba(0,0,0,.45);
  flex: none;
}
.iphone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #0b0b0b; }
.iphone__screen::before { /* Dynamic Island */
  content: ""; position: absolute; top: calc(var(--w) * .035); left: 50%; transform: translateX(-50%);
  width: 32%; height: calc(var(--w) * .09); border-radius: 99px; background: #000; z-index: 3;
}
.iphone__status {
  position: absolute; top: 0; left: 0; right: 0; height: calc(var(--w) * .16); z-index: 2;
  display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * .085);
  color: #fff; font-size: calc(var(--w) * .05); font-weight: 600; letter-spacing: -.01em;
}
.iphone__status svg { height: calc(var(--w) * .042); width: auto; }
.iphone__status .sig { display: flex; gap: calc(var(--w) * .018); align-items: center; }
.iphone__screen > img, .iphone__screen > .iphone__layer img {
  position: absolute; left: 0; top: calc(var(--w) * .16); width: 100%; height: auto;
}
.iphone__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(0deg, #0b0b0b 12%, rgba(11,11,11,0)); z-index: 2; }
.iphone__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.iphone__layer.is-active { opacity: 1; }
.iphone__home { position: absolute; bottom: calc(var(--w) * .03); left: 50%; transform: translateX(-50%); width: 36%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.75); z-index: 4; }

/* Ventana de navegador (para capturas de escritorio de apps web) */
.browser {
  border-radius: 14px; overflow: hidden; background: #1c1c1e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(0,0,0,.5);
}
.browser--light { background: #ececf0; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 70px -24px rgba(0,0,0,.28); }
.browser__bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; position: relative; }
.browser__bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url {
  position: absolute; left: 50%; transform: translateX(-50%); max-width: 55%;
  font-size: 12px; color: var(--on-dark-2); background: rgba(255,255,255,.07); padding: 4px 14px; border-radius: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser--light .browser__url { color: var(--ink-2); background: rgba(0,0,0,.06); }
.browser img { width: 100%; display: block; }

/* ---------------------------------------------------------------------
   Scrollytelling: dispositivo pegajoso + pasos
   --------------------------------------------------------------------- */
.sticky-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.sticky-story__device { position: sticky; top: calc(var(--nav-h) + 8vh); height: max-content; display: flex; justify-content: center; }
.sticky-story__steps { padding: 18vh 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step .num { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 10px; }
.theme-dark .step .num { color: var(--link-dark); }
@media (max-width: 900px) {
  .sticky-story { grid-template-columns: 1fr; }
  .sticky-story__device { position: relative; top: 0; }
  .sticky-story__steps { padding: 20px 0; }
  .step { min-height: 0; opacity: 1; padding: 28px 0; }
}

/* ---------------------------------------------------------------------
   Marquesina de tecnologías
   --------------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; padding: 10px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   Formularios
   --------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: #a1a1a6; }
.theme-dark .field label, .theme-dark-2 .field label { color: var(--on-dark); }
.theme-dark .input, .theme-dark .select, .theme-dark .textarea,
.theme-dark-2 .input, .theme-dark-2 .select, .theme-dark-2 .textarea { background: var(--dark-3); border-color: #424245; color: var(--on-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 12px; color: var(--ink-3); }
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.form-msg.is-ok { display: block; background: rgba(48,209,88,.12); color: #1b8a3c; }
.form-msg.is-err { display: block; background: var(--accent-soft); color: var(--accent); }
.theme-dark .form-msg.is-ok, .theme-dark-2 .form-msg.is-ok { color: var(--ok); }

/* ---------------------------------------------------------------------
   FAQ (details/summary)
   --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.018em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  transition: transform .3s var(--ease); opacity: .6;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); font-size: 17px; max-width: 70ch; }

/* ---------------------------------------------------------------------
   Equipo
   --------------------------------------------------------------------- */
.person { text-align: center; }
.person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); background: var(--dark-3); }
.person__name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 18px; }
.person__role { color: var(--ink-3); font-size: 15px; margin-top: 2px; }

/* ---------------------------------------------------------------------
   Banda de estadísticas
   --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat__num { font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat__label { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.35; }
.theme-dark .stat__label, .theme-dark-2 .stat__label { color: var(--on-dark-2); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }

/* ---------------------------------------------------------------------
   Precio
   --------------------------------------------------------------------- */
.price-card { max-width: 560px; margin: 0 auto; background: var(--bg); border-radius: 32px; padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: 0 30px 80px -30px rgba(0,0,0,.18); }
.price { font-size: clamp(88px, 12vw, 140px); line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.price small { font-size: .32em; letter-spacing: -.01em; font-weight: 600; color: var(--ink-3); }
.price-card .checklist { text-align: left; max-width: 360px; margin: 30px auto 0; }

/* ---------------------------------------------------------------------
   Footer (estilo apple.com)
   --------------------------------------------------------------------- */
.gfoot { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.34; letter-spacing: -.01em; padding: 36px 0 26px; }
.gfoot a { color: var(--ink-2); }
.gfoot a:hover { color: var(--ink); text-decoration: underline; }
.gfoot__notes { padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; color: var(--ink-3); }
.gfoot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 0 26px; }
.gfoot__cols h4 { color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.gfoot__cols li { margin-bottom: 8px; }
.gfoot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.gfoot__legal { display: flex; flex-wrap: wrap; gap: 0; }
.gfoot__legal a { padding: 0 10px; border-right: 1px solid var(--line); }
.gfoot__legal a:first-child { padding-left: 0; }
.gfoot__legal a:last-child { border-right: 0; }
.gfoot__social { display: flex; gap: 14px; }
.gfoot__social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,.05); }
.gfoot__social svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .gfoot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------------
   Animaciones al entrar en pantalla
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .hero__media { transform: none !important; }
}

/* Utilidades varias */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.theme-dark .divider { background: #333336; }
.maxw-s { max-width: 640px; } .maxw-m { max-width: 820px; }
.mx-auto { margin-inline: auto; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 10% 10% -10%; background: radial-gradient(closest-side, rgba(227,38,47,.35), transparent); filter: blur(40px); z-index: -1; }
.icon-inline { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; }
.noscript-note { padding: 12px; text-align: center; background: #fff3cd; color: #5c4400; font-size: 14px; }
.gnav__brand img { height: 21px; width: auto; }

/* ---------------------------------------------------------------------
   Componentes específicos
   --------------------------------------------------------------------- */
@media (max-width: 700px) { .hide-s { display: none !important; } }

/* Visual de FlotaFacil (tarjetas de alerta) */
.flota-visual { width: min(420px, 100%); display: grid; gap: 10px; padding-bottom: 44px; text-align: left; }
.fv-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.18); }
.fv-row span { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-alt); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
.fv-row span svg { width: 18px; height: 18px; }
.fv-row b { font-size: 15px; font-weight: 600; flex: 1; }
.fv-row em { font-style: normal; }
.fv-num { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.fv-row:nth-child(2) { transform: translateX(18px); }
.fv-row:nth-child(3) { transform: translateX(-10px); }

/* Proceso en 4 pasos */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: p; }
.process li { border-top: 1px solid var(--line); padding-top: 22px; }
.process span { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.process h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.process p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Banda del portal de clientes */
.portal-band {
  border-radius: 32px; color: #fff; padding: clamp(36px, 6vw, 80px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(227,38,47,.55) 0%, rgba(227,38,47,0) 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(255,106,61,.35) 0%, rgba(255,106,61,0) 60%),
    #111113;
}
.portal-band .eyebrow { color: #ff8a8f; }
.portal-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; max-width: 900px; }
.portal-feats div { display: grid; gap: 12px; }
.portal-feats span { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.portal-feats span svg { width: 20px; height: 20px; }
.portal-feats p { color: rgba(255,255,255,.72); font-size: 17px; }
.portal-feats b { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .portal-feats { grid-template-columns: 1fr; } }

/* Visuales de tarjetas de galería (Libera PRO) */
.gcard__media > div { width: 100%; }
.chat { display: grid; gap: 10px; padding: 0 26px 34px; align-content: end; height: 100%; }
.chat__b { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.35; box-shadow: 0 6px 18px -8px rgba(0,0,0,.18); }
.chat__b b { font-weight: 600; }
.chat__b--in { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.chat__b--in > b:first-child { display: block; color: #1f9e45; font-size: 13px; margin-bottom: 2px; }
.chat__b--out { background: #dcf8c6; color: #1d1d1f; justify-self: end; border-bottom-right-radius: 6px; }
.chat__map { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.chat__map svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.gcard:not(.gcard--dark) .gcard__media { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.03)); }
.risk { display: grid; gap: 10px; padding: 0 26px 40px; align-content: end; height: 100%; }
.risk div { display: flex; align-items: center; gap: 12px; background: #1d1d1f; border-radius: 16px; padding: 14px 16px; }
.risk b { flex: 1; font-weight: 600; }
.risk em { font-style: normal; font-size: 13px; color: var(--on-dark-2); }
.risk__dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.risk--hot { outline: 1px solid rgba(255,69,58,.5); background: rgba(255,69,58,.12) !important; }
.risk--hot em { color: #ff6961; font-weight: 600; }
.nfc { position: relative; height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.nfc__icon { width: 96px; height: 96px; border-radius: 28px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 20px 40px -12px rgba(227,38,47,.55); }
.nfc__icon svg { width: 52px; height: 52px; }
.nfc__ring { position: absolute; top: calc(50% - 30px); left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 2px solid rgba(227,38,47,.35); animation: ring 2.4s var(--ease-out) infinite; }
.nfc__ring:nth-child(2) { animation-delay: 1.2s; }
.nfc p { margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; padding: 8px 14px; border-radius: 99px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.25); position: relative; z-index: 1; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nfc__ring { animation: none; opacity: 0; } }
.family { display: grid; gap: 10px; padding: 0 26px 40px; align-content: end; height: 100%; }
.family__acc { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-dark-2); font-size: 14px; padding: 0 4px 4px; }
.family__acc svg { width: 18px; height: 18px; }
.family__p { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #1d1d1f; border-radius: 16px; padding: 12px 14px; margin-left: 18px; position: relative; }
.family__p::before { content: ""; position: absolute; left: -12px; top: -14px; bottom: 50%; width: 10px; border-left: 2px solid #3a3a3c; border-bottom: 2px solid #3a3a3c; border-bottom-left-radius: 8px; }
.family__p span { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: #2c2c2e; display: flex; align-items: center; justify-content: center; color: var(--link-dark); }
.family__p span svg { width: 20px; height: 20px; }
.family__p b { font-weight: 600; }
.family__p em { font-style: normal; font-size: 13px; color: var(--on-dark-2); }

/* Ticket fiscal */
.ticket { width: min(380px, 100%); margin: 0 auto; background: #fff; color: var(--ink); border-radius: 22px; padding: 28px 26px 24px; box-shadow: 0 40px 90px -30px rgba(227,38,47,.45), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(-2deg); font-size: 15px; }
.ticket__head { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.ticket__head b { display: block; font-weight: 700; }
.ticket__head em { font-style: normal; color: var(--ink-3); font-size: 13px; }
.ticket__row { display: flex; justify-content: space-between; padding: 7px 0; }
.ticket__row--muted { color: var(--ink-3); font-size: 13px; }
.ticket__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 22px; letter-spacing: -.02em; padding: 14px 0; border-top: 1px dashed var(--line); margin-top: 8px; }
.ticket__qr { display: flex; align-items: center; gap: 16px; background: var(--bg-alt); border-radius: 14px; padding: 14px; }
.ticket__qr p { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.ticket__qr b { color: var(--ink); letter-spacing: .04em; }
.qr { width: 74px; height: 74px; flex: none; border-radius: 6px; background:
  conic-gradient(from 90deg at 3px 3px, #000 90deg, transparent 0) 0 0 / 12px 12px,
  repeating-linear-gradient(45deg, #000 0 3px, #fff 3px 7px);
  position: relative; box-shadow: inset 0 0 0 4px #fff; }
.qr::before, .qr::after { content: ""; position: absolute; width: 22px; height: 22px; border: 5px solid #000; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px #000; }
.qr::before { top: 4px; left: 4px; } .qr::after { top: 4px; right: 4px; }

/* Público objetivo */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.audience span { padding: 10px 18px; border-radius: 99px; background: var(--bg-alt); font-size: 17px; font-weight: 500; }

/* Página de producto con navegación local */
.gnav--static { position: relative; }
.hero--short { min-height: calc(100svh - 52px); }
.rounded-media { border-radius: var(--radius-l); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Simulador GastroGiro */
.sim { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.sim__phone { display: flex; justify-content: center; }
.sim-app { display: flex; flex-direction: column; background: #f5f5f7 !important; color: var(--ink); }
.sim-app::after { display: none; }
.sim-app__top { height: 48px; display: flex; align-items: center; padding: 0 30px; font-size: 15px; font-weight: 600; flex: none; }
.sim-app__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 18px 10px; flex: none; }
.sim-app__brand { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.sim-app__head select { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: #fff; border-radius: 99px; padding: 7px 10px; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); max-width: 150px; }
.sim-app__cats { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; flex: none; scrollbar-width: none; }
.sim-app__cats button { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: #e8e8ed; color: var(--ink-2); white-space: nowrap; }
.sim-app__cats button.is-on { background: var(--ink); color: #fff; }
.sim-app__list { flex: 1; overflow-y: auto; padding: 0 14px; display: grid; gap: 8px; align-content: start; }
.sim-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: #fff; border-radius: 14px; padding: 12px 12px 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s; }
.sim-item:active { transform: scale(.97); }
.sim-item b { display: block; font-size: 15px; font-weight: 600; }
.sim-item em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); }
.sim-item__p { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sim-item__p i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.sim-item__p i.plus { background: #f0f0f3; color: var(--accent); font-size: 18px; }
.sim-app__cart { flex: none; background: #fff; padding: 12px 16px 30px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.sim-app__sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.sim-app__sum b { color: var(--ink); font-size: 17px; }
.sim-app__cart .btn { width: 100%; font-size: 15px; }
.sim-app .iphone__home { background: rgba(0,0,0,.35); }
.sim__kds { position: relative; }
.kds { background: #0b0b0c; color: #fff; border-radius: 22px; padding: 18px; min-height: 520px; box-shadow: 0 0 0 10px #1c1c1e, 0 0 0 11px #3a3a3c, 0 40px 80px -30px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.kds__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark-2); padding: 2px 4px 14px; border-bottom: 1px solid #2c2c2e; }
.kds__live { color: #ff453a; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.kds__cols { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; padding-top: 14px; flex: 1; }
.kds__col h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; }
.kds__col h3 svg { width: 18px; height: 18px; }
.kds__tickets { display: grid; gap: 12px; align-content: start; }
.kds__empty { color: var(--on-dark-3); font-size: 14px; padding: 18px; border: 1px dashed #2c2c2e; border-radius: 14px; text-align: center; }
.kds__t { background: #1c1c1e; border-radius: 16px; padding: 14px; border-top: 4px solid var(--ok); }
.kds__t.is-new { animation: pop .5s var(--ease-out); }
.kds__t.is-late { border-top-color: #ff453a; }
.kds__th { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; }
.kds__th span { font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
.kds__t.is-late .kds__th span { color: #ff453a; font-weight: 700; }
.kds__t p { font-size: 15px; padding: 5px 0; border-bottom: 1px solid #2a2a2c; }
.kds__t p em { display: block; font-style: normal; font-size: 12px; color: #ffd60a; }
.kds__t button { margin-top: 10px; width: 100%; padding: 9px; border-radius: 10px; background: #30d158; color: #000; font-weight: 700; font-size: 14px; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.sim__toast { position: absolute; left: 50%; bottom: -22px; transform: translate(-50%, 10px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; pointer-events: none; }
.sim__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .sim { grid-template-columns: 1fr; }
  .kds { min-height: 380px; }
  .sim__toast { white-space: normal; width: 90%; text-align: center; border-radius: 16px; }
}
@media (max-width: 520px) { .kds__cols { grid-template-columns: 1fr; } }

/* Hardware */
.hw > div { text-align: center; }
.hw span { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--accent); box-shadow: 0 10px 30px -14px rgba(0,0,0,.2); }
.hw span svg { width: 30px; height: 30px; }
.hw h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.hw p { color: var(--ink-2); margin-top: 6px; }

/* Lista de espera */
.waitlist { background: var(--dark-3); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }

/* Contacto */
.contact-card { display: flex; flex-direction: column; background: #fff !important; }
.contact-card .link { margin-top: auto; padding-top: 20px; }
.contact-info { display: grid; gap: 22px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info span { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-info span svg { width: 22px; height: 22px; }
.contact-info b { display: block; font-weight: 600; }
.contact-info p { color: var(--ink-2); }
.contact-form { background: var(--bg-alt); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }

/* Legal */
.legal__toc { display: flex; flex-wrap: wrap; gap: 10px; }
.legal__doc { max-width: 760px; }
.legal__doc h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin: 38px 0 12px; }
.legal__doc h3 span { color: var(--accent); margin-right: 4px; }
.legal__doc p, .legal__doc li { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-top: 10px; }
.legal__doc ul { list-style: disc; padding-left: 22px; }
.legal__doc a { color: var(--link-light); text-decoration: underline; text-underline-offset: 2px; }
.legal__doc strong, .legal__doc span:not(h3 span) { color: var(--ink); }
.legal__doc article > div:first-of-type p { font-size: 14px; color: var(--ink-3); }

/* Ajustes móviles */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team .person:nth-child(2) { margin-top: 48px; }
@media (max-width: 680px) { .team { gap: 12px; } .team .person:nth-child(2) { margin-top: 28px; } .person__name { font-size: 19px; } }
@media (max-width: 700px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%),
      linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.15) 75%, rgba(0,0,0,.05) 100%);
  }
}
@media (max-width: 680px) { .hw { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }

/* Retratos: encuadre desde arriba para no cortar la cabeza */
.person__photo { object-position: 50% 8%; }
