/* Red de Abastos: sitio de la empresa. Mismos colores que abastOS. */

:root {
  --cream: #f6f5f2;
  --cream-2: #efece6;
  --paper: #ffffff;
  --ink: #16130f;
  --ink-2: #3b352e;
  --muted: #6b6359;
  --line: rgba(22, 19, 15, 0.09);
  --line-2: rgba(22, 19, 15, 0.14);
  --brand: #eb6834;
  --brand-deep: #c9511f;
  --brand-soft: #fdeee6;
  --green: #1a8a43;
  --green-soft: #e4f4e9;
  --blue: #2a77d4;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 15, 0.06), 0 1px 1px rgba(22, 19, 15, 0.04);
  --shadow: 0 1px 2px rgba(22, 19, 15, 0.05), 0 8px 24px -8px rgba(22, 19, 15, 0.12);
  --shadow-lg: 0 2px 4px rgba(22, 19, 15, 0.04), 0 24px 60px -16px rgba(22, 19, 15, 0.28), 0 60px 120px -40px rgba(22, 19, 15, 0.25);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font-size: 0.6em; line-height: 0; margin-left: 1px; }
sup a { color: var(--muted); text-decoration: none; }
sup a:hover { color: var(--brand); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.i { width: 20px; height: 20px; flex: none; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand);
}

/* ───────────── Botones ───────────── */

.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .i { width: 18px; height: 18px; }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b2620; }
.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(235, 104, 52, 0.6);
}
.btn--brand:hover { background: var(--brand-deep); }
.btn--brand .i { transition: transform 0.2s var(--ease); }
.btn--brand:hover .i { transform: translateX(3px); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: rgba(22, 19, 15, 0.28); }
.i--wa { color: #25d366; }

/* ───────────── Navegación ───────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-stuck {
  background: rgba(246, 245, 242, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav__links a:hover { background: rgba(22, 19, 15, 0.05); color: var(--ink); }
.nav__cta { display: flex; gap: 8px; }

/* ───────────── Portada ───────────── */

.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: -68px 0 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(235, 104, 52, 0.16), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(235, 104, 52, 0.08), transparent 70%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero__text { text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.35;
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }

h1 {
  margin-top: 26px;
  font-size: clamp(2.55rem, 6.4vw, 5.1rem);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 em { font-size: 1.1em; letter-spacing: -0.02em; }
.lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Escenario con las capturas */
.stage { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.stage__browser { width: 88%; margin-left: 0; }
.phone.stage__phone {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(0px, 2vw, 24px);
  width: clamp(130px, 22%, 250px);
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.chip b { display: block; font-weight: 600; }
.chip small { display: block; color: var(--muted); font-size: 12.5px; }
.chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.chip__icon--green { background: var(--green-soft); color: var(--green); }
.chip__icon .i { width: 18px; height: 18px; }
.stage__chip--a { left: -8px; top: 38%; }
.stage__chip--b { right: calc(22% + var(--gutter) - 8px); top: -26px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Marcos de dispositivos */
.browser {
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(#fbfaf8, #f3f1ed);
  border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2ded7; }
.browser__bar i:nth-child(1) { background: #f1655a; }
.browser__bar i:nth-child(2) { background: #f7bd3f; }
.browser__bar i:nth-child(3) { background: #44c552; }
.browser__bar span {
  margin: 0 auto;
  transform: translateX(-24px);
  padding: 4px 14px;
  border-radius: 7px;
  background: rgba(22, 19, 15, 0.05);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

.phone {
  position: relative;
  border-radius: clamp(26px, 4vw, 46px);
  padding: clamp(5px, 0.8vw, 9px);
  background: #0f0d0b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, var(--shadow-lg);
}
.phone::before {
  content: "";
  position: absolute;
  top: clamp(9px, 1.4vw, 17px);
  left: 50%;
  width: 28%;
  height: clamp(7px, 1.1vw, 20px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0f0d0b;
  z-index: 1;
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: clamp(21px, 3.3vw, 38px); }
.phone figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 16px); text-align: center; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }

/* ───────────── Cifras ───────────── */

.stats { border-block: 1px solid var(--line); background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 44px) clamp(16px, 2.4vw, 32px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 230px; }

/* ───────────── Secciones ───────────── */

.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--ink); color: #f6f5f2; position: relative; overflow: hidden; }
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 50% 0%, rgba(235, 104, 52, 0.22), transparent 70%);
  pointer-events: none;
}
.section--dark .wrap { position: relative; }

.head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }
.head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--light { color: #f59a72; }
h2 {
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2 em { font-size: 1.08em; }
.section--dark h2 em { color: #f59a72; }
.sub { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--muted); text-wrap: pretty; }
.section--dark .sub { color: rgba(246, 245, 242, 0.66); }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }

/* Problema */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(235, 104, 52, 0.35);
}
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__n { position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step__icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--ink); color: #fff; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--paper); }
.step__icon .i { width: 26px; height: 26px; }
.step:last-child .step__icon { background: var(--brand); }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Productores */
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.split__media { align-self: center; }
.checks { display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; font-size: 16px; color: var(--muted); }
.checks b { color: var(--ink); font-weight: 600; }
.checks .i { margin-top: 3px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green); }

.split-card { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.split-card__title { font-size: 15px; color: var(--muted); }
.split-card__title b { color: var(--ink); }
.bar { display: flex; gap: 3px; height: 14px; margin-top: 16px; }
.bar__seg { width: var(--w); border-radius: 4px; transform-origin: left; }
.bar__seg:first-child { border-radius: 999px 4px 4px 999px; }
.bar__seg:last-child { border-radius: 4px 999px 999px 4px; }
.bar__seg--maker, .dot--maker { background: var(--brand); }
.bar__seg--us, .dot--us { background: var(--ink); }
.bar__seg--store, .dot--store { background: #d8d3ca; }
.legend { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 16px; }
.legend dt { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.legend dd { margin-top: 2px; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.legend div:first-child dd { color: var(--brand); }
.dot { width: 9px; height: 9px; border-radius: 3px; }
.split-card__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Tecnología */
.tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(40px, 5vw, 56px);
  padding: 5px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 245, 242, 0.7);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.tabs button .i { width: 17px; height: 17px; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: #f6f5f2; color: var(--ink); }

.panel { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel.is-in > * { animation: panel-in 0.6s var(--ease) both; }
.panel.is-in > :nth-child(2) { animation-delay: 0.08s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.feats { display: grid; gap: 28px; }
.feats li { display: flex; gap: 16px; }
.feats .i { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: rgba(255, 255, 255, 0.08); color: #f59a72; }
.feats b { font-weight: 600; font-size: 17px; color: #fff; }
.feats p { margin-top: 4px; font-size: 15px; color: rgba(246, 245, 242, 0.62); }

.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); padding-bottom: 44px; }
.phone--up { transform: translateY(-28px); }
.section--dark .browser { border-color: rgba(255, 255, 255, 0.12); }

/* Oportunidad */
.opp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; align-items: stretch; }
.map-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 10px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-card__head span { display: block; font-size: 17px; }
.map-card__head b { font-weight: 650; letter-spacing: -0.02em; }
.map-card__head small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.map-card img { width: 100%; margin: auto; max-width: 600px; }

.opp__side { display: grid; gap: 24px; }
.phases { position: relative; display: grid; gap: 0; padding: 26px 26px 6px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.phase { position: relative; padding: 0 0 22px 30px; }
.phase::before { content: ""; position: absolute; left: 6px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid #c9c3b8; }
.phase:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 2px; border-left: 2px dotted #d9d4cb; }
.phase--now::before { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.phase__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.phase--now .phase__tag { color: var(--brand); }
.phase h3 { margin-top: 2px; }
.phase p { margin-top: 4px; font-size: 15px; color: var(--muted); }

.why { padding: 26px; border-radius: var(--radius); background: var(--ink); color: #f6f5f2; }
.why h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #f59a72; }
.why ul { display: grid; gap: 14px; margin-top: 14px; }
.why li { font-size: 15px; color: rgba(246, 245, 242, 0.7); padding-left: 18px; position: relative; }
.why li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }
.why b { color: #fff; font-weight: 600; }
.why sup a { color: rgba(246, 245, 242, 0.5); }

.model { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.model__item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.model__item + .model__item { border-left: 1px solid var(--line); }
.model__n { flex: none; min-width: 84px; font-size: 30px; font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums; }
.model__item p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.model__item b { display: block; margin-bottom: 3px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* Demo */
.demo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.demo__steps { display: grid; gap: 14px; margin: 30px 0 34px; }
.demo__steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.demo__steps span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.demo__steps b { color: var(--ink); font-weight: 600; }
.demo__steps i { font-style: normal; color: var(--ink); font-weight: 500; }
.demo__media .browser { transition: transform 0.6s var(--ease); }
.demo__media:hover .browser { transform: translateY(-4px); }

/* Contacto */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; background: var(--ink); color: #f6f5f2; }
.cta__glow {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1100px;
  height: 700px;
  transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(235, 104, 52, 0.45), rgba(235, 104, 52, 0.08) 60%, transparent);
  pointer-events: none;
}
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.cta h2 em { color: #f59a72; }
.cta .sub { color: rgba(246, 245, 242, 0.66); }
.cta__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.cta-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.cta-card:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(245, 154, 114, 0.6); transform: translateY(-3px); }
.cta-card__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand); color: #fff; }
.cta-card__body { font-size: 14.5px; color: rgba(246, 245, 242, 0.62); line-height: 1.45; }
.cta-card__body b { display: block; font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.02em; margin-bottom: 2px; }
.cta-card__arrow { margin-left: auto; color: rgba(246, 245, 242, 0.5); transition: transform 0.3s var(--ease), color 0.3s; }
.cta-card:hover .cta-card__arrow { transform: translateX(4px); color: #fff; }
.cta__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; font-size: 15px; color: rgba(246, 245, 242, 0.62); }
.cta__phone a { color: #fff; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__phone a:hover { text-decoration: underline; }

/* Pie */
.foot { background: var(--ink); color: rgba(246, 245, 242, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.foot .brand { color: #fff; }
.foot__brand p { margin-top: 14px; line-height: 1.6; }
.foot__brand b { color: rgba(246, 245, 242, 0.85); font-weight: 600; }
.foot__h { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 245, 242, 0.85); margin-bottom: 12px; }
.foot__src ol { list-style: decimal; padding-left: 18px; display: grid; gap: 8px; font-size: 13px; line-height: 1.55; }
.foot__src a { color: rgba(246, 245, 242, 0.85); }
.foot__src :target, .foot__src:target { scroll-margin-top: 100px; }
.foot__bottom { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.foot__bottom a { text-decoration: none; }
.foot__bottom a:hover { color: #fff; }

/* Botón flotante de WhatsApp */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 70, 0.55);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.fab .i { width: 28px; height: 28px; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: scale(1.06); }

/* ───────────── Aparición al hacer scroll ───────────── */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .bar__seg { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js .split-card.is-in .bar__seg { transform: scaleX(1); }
.js .split-card.is-in .bar__seg:nth-child(2) { transition-delay: 0.15s; }
.js .split-card.is-in .bar__seg:nth-child(3) { transition-delay: 0.3s; }

/* ───────────── Responsivo ───────────── */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .split, .panel, .demo { grid-template-columns: 1fr; }
  .feats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feats li { flex-direction: column; gap: 12px; }
  .opp { grid-template-columns: 1fr; }
  .opp__side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .hero__ctas { flex-direction: column; align-self: stretch; }
  .hero__ctas .btn { width: 100%; }
  .stage__browser { width: 100%; }
  .phone.stage__phone { width: 34%; right: var(--gutter); bottom: 12px; }
  .stage { padding-bottom: 96px; }
  .stage__chip--a { left: 0; top: auto; bottom: 6px; }
  .stage__chip--b { display: none; }
  .browser__bar { height: 26px; padding: 0 10px; gap: 5px; }
  .browser__bar i { width: 7px; height: 7px; }
  .browser__bar span { font-size: 10px; padding: 2px 8px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards3, .steps { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .feats li { flex-direction: row; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; justify-content: center; padding: 0 8px; font-size: 13.5px; }
  .tabs button .i { display: none; }
  .phones { gap: 10px; padding-bottom: 40px; }
  .phone figcaption { font-size: 12px; top: calc(100% + 10px); }
  .phone--up { transform: translateY(-14px); }
  .opp__side { grid-template-columns: 1fr; }
  .map-card { padding: 20px 14px 6px; }
  .map-card__head { padding: 0 6px; }
  .model { grid-template-columns: 1fr; }
  .model__item + .model__item { border-left: 0; border-top: 1px solid var(--line); }
  .cta__cards { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; gap: 32px; }
  .legend dd { font-size: 19px; }
}

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