/* ==========================================================================
   KIVO LAB — estilos
   Mobile first. Una sola familia (Archivo variable, eje de ancho 62–125).
   ========================================================================== */

:root {
  --red: #E5121B;
  --red-d: #B30C13;
  --ink: #16181D;
  --ink-2: #1F2229;
  --concrete: #E8E9EB;
  --white: #FFFFFF;
  --steel: #5A616C;
  --wa: #25D366;
  --wa-ink: #07361A;
  --green: #1E6B3A;
  --accent: var(--red);
  --accent-d: var(--red-d);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --gutter: 16px;
  --nav-h: 68px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 8px 24px rgba(22, 24, 29, .08);
  --shadow-lg: 0 2px 6px rgba(22, 24, 29, .08), 0 30px 60px -12px rgba(22, 24, 29, .28);
}

@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --nav-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
input, select, textarea { font-size: 16px; }
button, a, [role="tab"], select { touch-action: manipulation; }
button, .btn, .chip, .tab { user-select: none; -webkit-user-select: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.cta :focus-visible, .ticker :focus-visible, .b-red :focus-visible { outline-color: #fff; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografía ---------- */
.h-xxl, .h-xl, .h-lg, .h-md, .hero-title, .b h3, .hl h4, .plan h3, .step h3 {
  font-weight: 850;
  font-stretch: 125%;
  letter-spacing: -.025em;
  line-height: .95;
  text-wrap: balance;
}
.h-xxl { font-size: clamp(40px, 8.4vw, 116px); font-weight: 900; }
.h-xl  { font-size: clamp(34px, 6vw, 76px); }
.h-lg  { font-size: clamp(28px, 3.6vw, 44px); }
.h-md  { font-size: clamp(24px, 2.8vw, 34px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--steel); max-width: 58ch; text-wrap: pretty; }
.dark .lead, .cta .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 650; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-red, .btn-accent { --b-bg: var(--accent); }
.btn-red { --b-bg: var(--red); }
.btn-wa { --b-bg: var(--wa); --b-fg: var(--wa-ink); }
.btn-white { --b-bg: #fff; --b-fg: var(--ink); }
.btn-light { --b-bg: rgba(255, 255, 255, .94); --b-fg: var(--ink); box-shadow: var(--shadow-lg); }
.btn-outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: rgba(22, 24, 29, .22); }
.btn-ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .6); }
.btn-wa .ico { color: var(--wa-ink); }
.btn-white .ico { color: #1A9E4B; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { --b-bg: var(--red-d); }
  .btn-accent:hover { --b-bg: var(--accent-d); }
  .btn-wa:hover { --b-bg: #1FC15C; }
  .btn-white:hover { --b-bg: #F2F3F4; }
  .btn-outline:hover { --b-bd: var(--ink); }
  .btn-ghost-light:hover { --b-bg: rgba(255, 255, 255, .12); --b-bd: #fff; }
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-word { font-size: 30px; line-height: 1; letter-spacing: -.03em; font-stretch: 125%; }
.logo-word b { font-weight: 850; }
.logo-word span { font-weight: 300; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  opacity: 0; transition: opacity 300ms ease;
}
.nav.is-solid { color: var(--ink); box-shadow: 0 1px 0 rgba(22, 24, 29, .08); }
.nav.is-solid::before { opacity: 1; }
.nav-in {
  height: var(--nav-h); display: flex; align-items: center; gap: 16px;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
}
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 15px;
  transition: background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { background: rgba(255, 255, 255, .14); }
  .nav.is-solid .nav-links a:hover { background: rgba(22, 24, 29, .06); }
}
.nav-cta { display: none; }
.burger {
  margin-left: auto; width: 46px; height: 46px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .14); display: grid; place-content: center; gap: 6px;
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.burger:active { transform: scale(.94); }
.nav.is-solid .burger { background: rgba(22, 24, 29, .07); }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
body.menu-open .nav { color: #fff; box-shadow: none; }
body.menu-open .nav::before { opacity: 0; }
body.menu-open .burger { background: rgba(255, 255, 255, .14); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 20px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  overscroll-behavior: contain; overflow-y: auto;
  animation: menuIn 320ms var(--ease-out);
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(32px, 9vw, 48px); font-weight: 850; font-stretch: 125%; letter-spacing: -.025em; line-height: 1.15;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.menu .btn { align-self: stretch; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }

@media (min-width: 1100px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-cta { margin-left: 8px; }
  .burger { display: none; }
  .menu { display: none !important; }
}

/* ---------- 2. Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); }
.hero-stage {
  position: relative; height: 100%; overflow: hidden; color: #fff; touch-action: pan-y;
}
.hero-media { position: absolute; inset: 0; }
.hero-layer { position: absolute; inset: 0; background: var(--bg); overflow: hidden; }
.hero-layer { visibility: hidden; z-index: 0; }
.hero-layer.is-current { visibility: visible; z-index: 1; }
.hero-layer.is-incoming { visibility: visible; z-index: 2; will-change: clip-path; }
.hero-layer img, .hero-layer video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transform-origin: 60% 50%;
}
.hero-slash { z-index: 3; }
.hero-shade { z-index: 4; }
.hero-slash {
  position: absolute; inset: 0; background: linear-gradient(180deg, #ff2a33, var(--red) 40%, var(--red-d));
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); opacity: 0; pointer-events: none;
}
.hero-slash-glow { background: rgba(229, 18, 27, .38); }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 13, 16, .92) 0%, rgba(12, 13, 16, .6) 30%, rgba(12, 13, 16, 0) 62%),
    linear-gradient(to right, rgba(12, 13, 16, .72) 0%, rgba(12, 13, 16, .25) 45%, rgba(12, 13, 16, 0) 70%),
    linear-gradient(to bottom, rgba(12, 13, 16, .45), rgba(12, 13, 16, 0) 22%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  display: grid;
}
.hero-text {
  grid-area: 1 / 1; align-self: end; max-width: 1060px;
  opacity: 0; transform: translateY(28px); visibility: hidden;
  transition: opacity 600ms var(--ease), transform 800ms var(--ease), visibility 0s linear 800ms;
}
.hero-text.is-active {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity 700ms var(--ease) 120ms, transform 900ms var(--ease) 120ms, visibility 0s;
}
.hero-text.is-leaving { transform: translateY(-24px); }
.hero-title { font-size: clamp(40px, 6.3vw, 96px); font-weight: 900; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lead { margin-top: 18px; font-size: clamp(17px, 1.7vw, 21px); max-width: 46ch; color: rgba(255, 255, 255, .86); }
.hero-text .btn-row { margin-top: 26px; }
.hero-count {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 14px);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
}
.hero-count b { color: #fff; font-size: 22px; font-weight: 850; font-stretch: 125%; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: flex-start; gap: 16px;
}
.hero-bars { display: flex; gap: 5px; flex: 1; max-width: 560px; }
.hero-bars button { flex: 1; min-width: 0; height: 24px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.hero-bars button span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; transition: height 160ms var(--ease-out); }
.hero-bars i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .hero-bars button:hover span { height: 6px; } }
.hero-bars button.is-video span::after { content: none; }

/* Flechas y pausa: círculos transparentes */
.hero-arrow, .hero-pause {
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.hero-arrow { position: absolute; z-index: 6; top: 50%; width: 58px; height: 58px; margin-top: -29px; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-arrow svg { width: 26px; height: 26px; }
.hero-arrow:active { transform: scale(.94); }
.hero-pause { flex: none; width: 42px; height: 42px; }
.hero-pause svg { width: 18px; height: 18px; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .hero-arrow:hover, .hero-pause:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
}
.hero-arrow:focus-visible, .hero-pause:focus-visible, .hero-bars button:focus-visible { outline-color: #fff; }
.hero-copy, .hero-foot, .hero-count { z-index: 5; }
@media (min-width: 640px) {
  .hero-copy.wrap { padding-left: max(var(--gutter), calc(92px - max(0px, (100vw - 1320px) / 2))); }
}
.hero-hint { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; color: rgba(255, 255, 255, .8); transition: opacity 400ms ease; }
.hero-hint.is-gone { opacity: 0; }
.mouse { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 899px) { .hero-hint { display: none; } }
@media (max-width: 639px) {
  .hero-copy { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .hero-text .btn-row .btn { flex: 1 1 auto; }
  .hero-foot { padding-right: 88px; gap: 12px; }
  .hero-arrow { width: 46px; height: 46px; margin-top: 0; top: 34%; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .hero-arrow svg { width: 22px; height: 22px; }
}

/* ---------- 3. Cinta: carrusel en movimiento (botones estilo iPhone) ---------- */
.ticker {
  position: relative; overflow: hidden; color: #fff; padding: 14px 0; display: grid; gap: 10px;
  background: linear-gradient(100deg, #8E0A11 0%, var(--red-d) 22%, var(--red) 50%, var(--red-d) 78%, #8E0A11 100%);
}
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7vw; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #8E0A11, rgba(142, 10, 17, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, #8E0A11, rgba(142, 10, 17, 0)); }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker-rev { animation-direction: reverse; animation-duration: 58s; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; align-items: center; flex: none; }
.ticker-list li {
  display: flex; align-items: center; gap: 10px; white-space: nowrap; margin-right: 10px;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  font-size: clamp(14px, 1.35vw, 17px); font-weight: 600; font-stretch: 100%; letter-spacing: -.01em; line-height: 1;
  /* vidrio esmerilado, como los controles de iOS */
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  border: .5px solid rgba(255, 255, 255, .42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 6px 18px -8px rgba(50, 0, 4, .55);
}
.ticker-list li::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='19' y='18' width='7' height='28' fill='%23E5121B'/%3E%3Cpolygon points='30,32 39,18 47,18 38,32 47,46 39,46' fill='%23E5121B'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: 0 2px 6px rgba(50, 0, 4, .25);
}
/* Segunda fila: cápsulas blancas, como los botones claros de iOS */
.ticker-rev .ticker-list li {
  background: rgba(255, 255, 255, .96); color: var(--ink); border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 -1px 0 rgba(22, 24, 29, .06), 0 6px 18px -8px rgba(50, 0, 4, .55);
}
.ticker-rev .ticker-list li::before {
  background: linear-gradient(160deg, #FF3B42, var(--red) 55%, var(--red-d)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='19' y='18' width='7' height='28' fill='%23fff'/%3E%3Cpolygon points='30,32 39,18 47,18 38,32 47,46 39,46' fill='%23fff'/%3E%3C/svg%3E");
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='19' y='18' width='7' height='28' fill='%23fff'/%3E%3Cpolygon points='30,32 39,18 47,18 38,32 47,46 39,46' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat, linear-gradient(160deg, #FF3B42, var(--red) 55%, var(--red-d));
}
@media (max-width: 639px) {
  .ticker { padding: 12px 0; gap: 8px; }
  .ticker-list li { font-size: 14px; padding: 6px 14px 6px 6px; gap: 8px; margin-right: 8px; }
  .ticker-list li::before { width: 26px; height: 26px; border-radius: 8px; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-row { align-items: end; }
.sec-head-row > div:first-child { display: grid; gap: 18px; }
@media (min-width: 900px) { .sec-head-row { grid-template-columns: 1fr auto; } }
.dark { background: var(--ink); color: #fff; }

/* Apariciones */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 4. Demos ---------- */
.demos { background: var(--concrete); }
.tabs {
  position: relative; display: inline-flex; padding: 5px; gap: 0; margin-bottom: 36px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow); max-width: 100%;
}
.tab {
  position: relative; z-index: 1; border: 0; background: none; min-height: 46px; padding: 0 20px;
  border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--steel); white-space: nowrap;
  transition: color 250ms ease;
}
.tab[aria-selected="true"] { color: #fff; }
.tab-pill {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px; background: var(--ink);
  transition: transform 450ms var(--ease), width 450ms var(--ease), background-color 300ms ease;
}
.tabs[data-active="surco"] .tab-pill { background: var(--green); }
@media (max-width: 400px) { .tab { padding: 0 14px; font-size: 14px; } }

.demo { display: grid; gap: 40px; }
.demo.is-entering { animation: demoIn 500ms var(--ease-out); }
@keyframes demoIn { from { opacity: 0; transform: translateY(14px); } }
.demo-surco { --accent: var(--green); --accent-d: #154F2A; }
@media (min-width: 1000px) { .demo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; } }

.demo-stage { position: relative; padding: 0 0 48px; }
@media (min-width: 640px) { .demo-stage { padding: 0 64px 56px 0; } }

.browser { position: relative; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #F3F4F5; border-bottom: 1px solid rgba(22, 24, 29, .07);
}
.dots { display: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.url {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; font-size: 13px; color: var(--steel);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.url .ico { width: 12px; height: 12px; }
.browser-back {
  flex: none; border: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  height: 30px; padding: 0 12px; border-radius: 8px;
}
@media (max-width: 520px) { .browser-back { font-size: 0; width: 30px; padding: 0; } .browser-back::before { content: "×"; font-size: 18px; } }

.browser-view { position: relative; aspect-ratio: 16 / 10.5; container-type: inline-size; overflow: hidden; background: #22262d; }
.browser-view iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.view-cta {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%) scale(.96); opacity: 0;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), background-color 200ms ease;
}
.browser-view:hover .view-cta, .view-cta:focus-visible { opacity: 1; transform: translate(-50%, -50%); }
.view-cta:active { transform: translate(-50%, -50%) scale(.97); }
@media (hover: none), (pointer: coarse) {
  .view-cta { opacity: 1; top: auto; bottom: 12px; left: 12px; transform: none; min-height: 40px; padding: 0 16px; font-size: 14px; }
  .view-cta:active { transform: scale(.97); }
}
.browser-view.is-live .view-cta, .browser-view.is-live .pv { display: none; }

/* Vista previa (mock) — se escala con el ancho del marco */
.pv {
  position: absolute; inset: 0; color: #fff; display: flex; flex-direction: column;
  background: linear-gradient(90deg, rgba(10, 11, 14, .82), rgba(10, 11, 14, .25) 70%), var(--pv-img) center / cover, #2a2d33;
}
.pv-surco { background: linear-gradient(90deg, rgba(10, 30, 16, .85), rgba(10, 30, 16, .2) 70%), var(--pv-img) center / cover, #3b3a24; }
.pv-nav {
  display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 3.4cqw; font-size: 1.45cqw;
  background: rgba(255, 255, 255, .96); color: var(--ink);
}
.pv-logo { display: flex; align-items: center; gap: .8cqw; font-weight: 850; font-stretch: 125%; font-size: 1.8cqw; white-space: nowrap; }
.pv-logo i { font-style: normal; display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: .7cqw; background: var(--red); color: #fff; font-size: 1.3cqw; }
.pv-surco .pv-logo i { background: var(--green); }
.pv-logo small { font-weight: 400; font-stretch: 100%; font-size: 1.4cqw; color: var(--steel); }
.pv-links { display: flex; gap: 2.2cqw; margin-left: auto; color: #3a3f48; font-weight: 550; white-space: nowrap; }
.pv-wa { background: var(--wa); color: var(--wa-ink); font-weight: 700; border-radius: 99px; padding: .7cqw 1.6cqw; white-space: nowrap; }
.pv-body { margin-top: auto; padding: 0 5cqw 6cqw; }
.pv-title { font-size: 5.6cqw; font-weight: 900; font-stretch: 125%; letter-spacing: -.025em; line-height: .95; max-width: 13em; }
.pv-sub { margin-top: 1.6cqw; font-size: 1.75cqw; color: rgba(255, 255, 255, .85); max-width: 34em; line-height: 1.45; }
.pv-search {
  margin-top: 3cqw; display: flex; align-items: center; gap: .6cqw; background: #fff; border-radius: 1.2cqw; padding: .8cqw; max-width: 64cqw;
  font-size: 1.5cqw; color: var(--steel);
}
.pv-search span { flex: 1; padding: 1cqw 1.4cqw; border-right: 1px solid #e4e5e7; }
.pv-search span:nth-last-child(2) { border: 0; }
.pv-search b { background: var(--red); color: #fff; padding: 1.1cqw 2.4cqw; border-radius: .8cqw; }
.pv-btns { margin-top: 3cqw; display: flex; gap: 1.2cqw; font-size: 1.6cqw; }
.pv-btns b { background: var(--green); padding: 1.3cqw 2.6cqw; border-radius: 99px; }
.pv-btns span { border: 1px solid rgba(255, 255, 255, .7); padding: 1.3cqw 2.6cqw; border-radius: 99px; }
@container (max-width: 560px) { .pv-links span:nth-child(n+3) { display: none; } }

/* Celular flotante */
.phone {
  position: absolute; right: 4px; bottom: 0; z-index: 4;
  width: clamp(128px, 30%, 210px);
  animation: float 6s ease-in-out infinite;
}
.phone-in {
  border-radius: 26px; background: var(--ink); padding: 7px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.ph-top { display: flex; align-items: center; gap: 6px; padding: 8px 8px 6px; }
.ph-top i { font-style: normal; font-size: 9px; font-weight: 850; color: #fff; background: var(--accent); border-radius: 5px; padding: 3px 5px; }
.ph-top span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.ph-card { position: relative; background: #fff; border-radius: 19px; padding: 7px 7px 9px; }
.ph-img { aspect-ratio: 4 / 3; border-radius: 13px; background: #c9ccd1 center / cover; }
.ph-tag { position: absolute; top: 13px; left: 13px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.ph-name { margin: 8px 3px 0; font-size: clamp(11px, 1.1vw, 14px); font-weight: 800; font-stretch: 112%; line-height: 1.15; }
.ph-spec { margin: 2px 3px 0; font-size: clamp(9.5px, .85vw, 11.5px); color: var(--steel); line-height: 1.3; }
.ph-wa {
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px;
  border-radius: 99px; background: var(--wa); color: var(--wa-ink); font-size: 12px; font-weight: 700; text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.ph-wa:active { transform: scale(.96); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-.5deg); } }

/* Info de la demo */
.demo-info > p { color: var(--steel); max-width: 52ch; }
.demo-kind { margin: 10px 0 14px; font-weight: 650; color: var(--accent) !important; }
.checks { display: grid; gap: 10px; margin: 24px 0 30px; }
@media (min-width: 640px) and (max-width: 999px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; font-size: 16px; }
.checks svg { width: 20px; height: 20px; flex: none; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; margin-top: 1px; }

/* Lo que destaco */
.highlights { margin-top: clamp(72px, 9vw, 120px); }
.hl-grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 700px) { .hl-grid { grid-template-columns: 1fr 1fr; } .hl-big { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hl-grid { grid-template-columns: 1.3fr 1fr 1fr; } .hl-big { grid-column: 1; grid-row: 1 / span 2; } }
.hl { background: #fff; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.hl h4 { font-size: clamp(21px, 2vw, 26px); }
.hl p { color: var(--steel); font-size: 16px; }
/* Tarjeta grande: rojo del logo en varias tonalidades */
.hl-big {
  color: #fff; padding: clamp(28px, 3.2vw, 44px); justify-content: space-between; gap: 18px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, #FF4A50 0%, rgba(255, 74, 80, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, #7A0810 0%, rgba(122, 8, 16, 0) 60%),
    linear-gradient(150deg, #F2262E 0%, var(--red) 35%, var(--red-d) 72%, #8E0A11 100%);
}
.hl-big > * { position: relative; z-index: 1; }
.hl-big h4 { font-size: clamp(30px, 3.4vw, 46px); max-width: 14ch; }
.hl-big p { color: rgba(255, 255, 255, .9); max-width: 46ch; }
.hl-big::after {
  content: ""; position: absolute; right: -14%; bottom: -30%; width: 70%; aspect-ratio: 1; pointer-events: none; opacity: .12;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='15 14 37 36'%3E%3Crect x='15' y='14' width='9.5' height='36'/%3E%3Cpolygon points='29,32 41,14 51.5,14 39.5,32 51.5,50 41,50'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='15 14 37 36'%3E%3Crect x='15' y='14' width='9.5' height='36'/%3E%3Cpolygon points='29,32 41,14 51.5,14 39.5,32 51.5,50 41,50'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hl-big :focus-visible { outline-color: #fff; }

/* Botón de WhatsApp con 3 consultas */
.hl-wa { display: grid; gap: 10px; justify-items: start; max-width: 440px; width: 100%; }
.hl-wa-car { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hl-wa-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 99px;
  background: var(--wa); color: var(--wa-ink); font-weight: 750; font-size: 16px;
  box-shadow: 0 12px 28px -10px rgba(40, 0, 4, .55);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.hl-wa-btn:active { transform: scale(.97); }
.hl-chev { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.hl-wa-btn[aria-expanded="true"] .hl-chev { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .hl-wa-btn:hover { background: #1FC15C; } }
.hl-opts { display: grid; gap: 8px; width: 100%; }
.hl-opts button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 0 18px;
  border: 0; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; text-align: left;
  box-shadow: 0 8px 20px -12px rgba(40, 0, 4, .6);
  transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  animation: optIn 360ms var(--ease-out) both;
}
.hl-opts button::after { content: ""; width: 9px; height: 9px; border-right: 2.4px solid currentColor; border-top: 2.4px solid currentColor; transform: rotate(45deg); opacity: .5; flex: none; }
.hl-opts button:nth-child(2) { animation-delay: 50ms; }
.hl-opts button:nth-child(3) { animation-delay: 100ms; }
.hl-opts button:active { transform: scale(.98); }
.hl-opts button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .hl-opts button:hover { transform: translateX(4px); } }
@keyframes optIn { from { opacity: 0; transform: translateY(-6px); } }
.hl-preview { width: 100%; border-radius: 14px; padding: 12px; background: rgba(40, 0, 4, .35); }
.hl-preview-h { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #fff !important; }
.hl-bubble { background: #DCF8C6; color: #13361f !important; padding: 10px 12px; border-radius: 12px 12px 4px 12px; font-size: 15px; line-height: 1.45; max-width: none !important; }
@media (prefers-reduced-motion: reduce) { .hl-opts button { animation: none; } }
.chip-demo { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(229, 18, 27, .1); color: var(--red-d); }
.chip-green { background: rgba(30, 107, 58, .12); color: var(--green); }

/* ---------- 5. Probalo ---------- */
.try { overflow: hidden; }
.glow {
  position: absolute; right: -20vw; top: -20vw; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(229, 18, 27, .45), rgba(229, 18, 27, .12) 55%, transparent);
  filter: blur(20px);
}
.try .wrap { position: relative; }
.cat { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(16px, 2.6vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.cat-tools { display: grid; gap: 14px; }
@media (min-width: 1000px) { .cat-tools { grid-template-columns: auto 1fr; align-items: center; } .cat-row { justify-content: flex-end; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px; padding: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 18px; border-radius: 99px; border: 1.5px solid rgba(22, 24, 29, .14);
  background: #fff; font-weight: 600; font-size: 15px;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }
.cat-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { position: relative; display: flex; align-items: center; }
.field-search { flex: 1 1 220px; max-width: 420px; }
.field-search .ico { position: absolute; left: 14px; color: var(--steel); pointer-events: none; }
.field input, .field select {
  width: 100%; min-height: 46px; border: 1.5px solid rgba(22, 24, 29, .14); border-radius: 12px; background: var(--concrete);
  padding: 0 14px; outline: none; transition: border-color 200ms ease, background-color 200ms ease;
}
.field input { padding-left: 42px; }
.field input:focus, .field select:focus { border-color: var(--ink); background: #fff; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.field-select { flex: 0 1 230px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2316181D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.cat-count { margin: 18px 0 14px; font-size: 14px; color: var(--steel); font-variant-numeric: tabular-nums; }
.cat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 540px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1240px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.unit { border: 1px solid rgba(22, 24, 29, .09); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.unit-art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(160deg, #F4F5F6, #DADCE0); }
.unit-art svg { width: 80%; height: auto; overflow: visible; filter: drop-shadow(0 8px 6px rgba(22, 24, 29, .18)); }
.vb { fill: var(--body, #2a2d34); }
.vw { fill: rgba(205, 225, 240, .85); }
.vt { fill: #1b1d22; }
.vh { fill: #b9bdc4; }
.unit-tag { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--ink); color: #fff; }
.unit-tag.t-0km { background: var(--red); }
.unit-tag.t-op { background: #F2B705; color: var(--ink); }
.unit-tag.t-gar { background: #2357C6; }
.unit-tag.t-agro { background: var(--green); }
.unit-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.unit-name { font-size: 18px; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.15; }
.unit-ver { font-size: 14px; color: var(--steel); }
.unit-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.unit-specs span { font-size: 13px; padding: 3px 9px; border-radius: 8px; background: var(--concrete); font-variant-numeric: tabular-nums; }
.unit .btn { margin-top: auto; min-height: 44px; }
.cat-empty { text-align: center; padding: 40px 16px; display: grid; gap: 16px; justify-items: center; }
.cat-empty p { color: var(--steel); max-width: 40ch; }
.cat-empty b { color: var(--ink); }

/* Aviso de WhatsApp */
.toast {
  position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  max-width: 440px; margin: 0 auto; background: var(--ink-2); color: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transition: opacity 400ms ease, transform 400ms ease;
}
@starting-style { .toast { opacity: 0; transform: translateY(16px); } }
.toast.is-closing { opacity: 0; transform: translateY(12px); transition-duration: 200ms; }
@media (min-width: 640px) { .toast { left: 50%; right: auto; width: 440px; bottom: 28px; translate: -50% 0; } }
.toast-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; }
.toast-x { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.toast-bubble { margin-top: 12px; background: #DCF8C6; color: #13361f; padding: 12px 14px; border-radius: 14px 14px 4px 14px; font-size: 15px; line-height: 1.45; }
.toast-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: #fff; text-underline-offset: 3px; }

/* ---------- 6. Beneficios ---------- */
.benefits { background: #fff; }
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-chat, .b-wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .b-chat { grid-column: span 2; grid-row: span 2; }
  .b-wide { grid-column: span 2; }
}
.b { background: var(--concrete); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; min-height: 200px; }
.b h3 { font-size: clamp(21px, 1.9vw, 26px); }
.b p { color: var(--steel); font-size: 16px; }
.b-ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--red); display: grid; place-items: center; margin-bottom: auto; box-shadow: var(--shadow); }
.b-ico svg { width: 24px; height: 24px; }
.b-ico + h3 { margin-top: 26px; }
.b-chat { background: var(--ink); color: #fff; padding: clamp(26px, 3vw, 40px); }
.b-chat h3 { font-size: clamp(28px, 3vw, 42px); max-width: 15ch; }
.b-chat > p { color: rgba(255, 255, 255, .72); max-width: 44ch; }
.b-red { background: var(--red); color: #fff; }
.b-red p { color: rgba(255, 255, 255, .88); max-width: 40ch; }
.b-dark { background: var(--ink); color: #fff; }
.b-dark p { color: rgba(255, 255, 255, .72); }
.stock-rows { margin-top: auto; padding-top: 14px; display: grid; gap: 6px; }
.stock-rows li { display: flex; justify-content: space-between; gap: 10px; background: rgba(255, 255, 255, .14); border-radius: 10px; padding: 9px 14px; font-size: 15px; font-weight: 600; }
.stock-rows li span:last-child { opacity: .8; font-variant-numeric: tabular-nums; }

.chat { margin-top: 22px; background: #0E1013; border-radius: 18px; overflow: hidden; flex: 1; display: flex; flex-direction: column; min-height: 330px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1F2C34; }
.chat-head b { display: block; font-size: 15px; line-height: 1.2; }
.chat-head small { font-size: 12px; color: #8fd9a8; }
.chat-av { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 12px; font-weight: 850; }
.chat-body {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px;
  background: #0B141A radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 14px 14px;
}
.msg {
  max-width: 82%; padding: 9px 12px 7px; border-radius: 12px; font-size: 15px; line-height: 1.4;
  animation: msgIn 420ms var(--ease-out) both;
}
.msg-in { align-self: flex-start; background: #202C33; border-top-left-radius: 4px; }
.msg-out { align-self: flex-end; background: #005C4B; border-top-right-radius: 4px; }
.msg small { display: block; text-align: right; font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.msg-link { display: block; margin: 2px 0 6px; padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, .25); font-size: 13px; border-left: 3px solid var(--red); }
.typing { align-self: flex-start; background: #202C33; border-radius: 12px; border-top-left-radius: 4px; padding: 12px 14px; display: flex; gap: 4px; animation: msgIn 300ms var(--ease-out) both; }
.typing.out { align-self: flex-end; background: #005C4B; border-radius: 12px 4px 12px 12px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-body.is-fading > * { opacity: 0; transition: opacity 400ms ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.b-devices { display: grid; gap: 20px; }
@media (min-width: 680px) { .b-devices { grid-template-columns: 1fr auto; align-items: end; } }
.b-update { display: grid; gap: 18px; }
@media (min-width: 680px) { .b-update { grid-template-columns: 1fr 1fr; align-items: center; } }
.upd { display: grid; gap: 8px; }
.upd p { font-size: 15px; padding: 10px 14px; border-radius: 12px; max-width: 90%; }
.upd-in { justify-self: end; background: #005C4B; border-top-right-radius: 4px; color: #fff; }
.upd-out { justify-self: start; background: #fff; color: var(--ink) !important; border-top-left-radius: 4px; display: inline-flex; align-items: center; gap: 6px; }
.upd-out .ico { color: #1A9E4B; }

/* ---------- 7. Proceso ---------- */
.process { background: var(--concrete); }
.steps { position: relative; display: grid; gap: 34px; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; background: rgba(22, 24, 29, .12); }
.steps::after { background: var(--red); transform-origin: top; transform: scaleY(0); transition: transform 1600ms var(--ease) 200ms; }
.steps.in::after { transform: none; }
.step { position: relative; padding-left: 80px; }
.step-n {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-weight: 850; font-stretch: 125%; font-size: 18px; box-shadow: var(--shadow); z-index: 1;
  transition: background-color 400ms ease, color 400ms ease;
}
.steps.in .step-n { background: var(--red); color: #fff; }
.steps.in .step:nth-child(1) .step-n { transition-delay: 200ms; }
.steps.in .step:nth-child(2) .step-n { transition-delay: 650ms; }
.steps.in .step:nth-child(3) .step-n { transition-delay: 1100ms; }
.steps.in .step:nth-child(4) .step-n { transition-delay: 1550ms; }
.step h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 12px 0 8px; }
.step p { color: var(--steel); max-width: 30ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before, .steps::after { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 3px; }
  .steps::after { transform-origin: left; transform: scaleX(0); }
  .step { padding-left: 0; padding-top: 86px; }
}

/* ---------- 8. Planes ---------- */
.plans { background: #fff; }
.term { position: relative; display: inline-flex; padding: 5px; background: var(--concrete); border-radius: 99px; justify-self: start; }
.term-btn { position: relative; z-index: 1; border: 0; background: none; min-height: 46px; padding: 0 24px; border-radius: 99px; font-weight: 700; color: var(--steel); transition: color 250ms ease; }
.term-btn[aria-pressed="true"] { color: #fff; }
.term-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--red); transition: transform 400ms var(--ease); }
.term[data-years="2"] .term-pill { transform: translateX(100%); }
.explain {
  display: grid; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--concrete); margin-bottom: 18px;
  border-left: 4px solid var(--red);
}
.explain h3 { font-size: 20px; font-weight: 800; font-stretch: 115%; }
.explain p { color: var(--steel); max-width: 70ch; }
.explain ul { display: grid; gap: 8px; margin-top: 4px; }
.explain li { font-size: 15px; color: var(--steel); }
.explain li b { color: var(--ink); margin-right: 8px; }
@media (min-width: 900px) { .explain { grid-template-columns: 1fr 1.1fr; column-gap: 40px; } .explain h3 { grid-column: 1 / -1; } .explain ul { margin: 0; } }
.plan-grid { display: grid; gap: 14px; }
@media (min-width: 680px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 24px; border-radius: var(--r); background: var(--concrete); }
.plan h3 { font-size: 26px; }
.plan-num { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.plan-num b { font-size: clamp(64px, 5.4vw, 92px); font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: .8; font-variant-numeric: tabular-nums; }
.plan-num em {
  font-style: normal; font-weight: 850; font-stretch: 125%; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.01em;
  color: #fff; background: var(--red); padding: 5px 11px 6px; border-radius: 8px; line-height: 1; margin-bottom: 2px; white-space: nowrap;
}
.plan-unit { margin-top: -4px; font-size: 15px; color: var(--steel); }
.plan-unit strong { color: var(--ink); font-weight: 750; }
.plan-star .plan-unit { color: rgba(255, 255, 255, .7); }
.plan-star .plan-unit strong { color: #fff; }
.plans-note {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 18px;
  font-size: 17px; font-weight: 500;
}
.plans-note .pn-tag {
  font-weight: 850; font-stretch: 125%; font-size: 14px; color: #fff; background: var(--ink); padding: 6px 12px; border-radius: 99px;
}
.plans-note b { color: var(--red); font-weight: 800; }
.segs { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; }
.segs i { height: 12px; border-radius: 3px; background: rgba(22, 24, 29, .1); transition: background-color 300ms ease; }
.segs i.on { background: var(--red); }
.plan-desc { color: var(--steel); font-size: 16px; }
.plan-term { font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(22, 24, 29, .1); }
.plan-star { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.plan-star .plan-desc { color: rgba(255, 255, 255, .7); }
.plan-star .segs i { background: rgba(255, 255, 255, .14); }
.plan-star .segs i.on { background: var(--red); }
.plan-star .plan-term { border-color: rgba(255, 255, 255, .14); }
.seal { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; transform: rotate(3deg); }
.plan-term.is-swapping { animation: swap 400ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } }

/* ---------- 9. Sobre mí ---------- */
.about { background: var(--concrete); }
.about-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; } }
.about-art {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: var(--r-lg); overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px; container-type: inline-size;
  display: grid; place-items: center;
}
.about-fr { font-size: 44cqw; font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; color: var(--red); }
.about-dim { position: absolute; font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.about-dim i { display: block; background: rgba(255, 255, 255, .35); }
.about-dim-h { left: 24px; right: 24px; top: 24px; }
.about-dim-h i { flex: 1; height: 1px; box-shadow: 0 -5px 0 -0px transparent; }
.about-dim-v { left: 24px; bottom: 24px; }
.about-dim-v i { width: 40px; height: 1px; }
.about-text { display: grid; gap: 20px; }
.about-text .h-xl { font-size: clamp(28px, 3.4vw, 46px); }
.about-text p { color: var(--steel); max-width: 60ch; }
.sign { display: grid; gap: 2px; padding-top: 10px; }
.sign b { color: var(--ink); font-size: 20px; font-weight: 800; font-stretch: 115%; }
.sign span { font-size: 15px; }

/* ---------- 10. Preguntas ---------- */
.faq { background: #fff; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } .faq-side { position: sticky; top: calc(var(--nav-h) + 32px); } }
.faq-side { display: grid; gap: 18px; justify-items: start; }
.acc-item { border-bottom: 1px solid rgba(22, 24, 29, .12); }
.acc-item:first-child { border-top: 1px solid rgba(22, 24, 29, .12); }
.acc-item h3 { font-size: inherit; }
.acc-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  background: none; border: 0; padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.3;
  user-select: text; -webkit-user-select: text;
}
.plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--concrete); transition: transform 350ms var(--ease), background-color 250ms ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: background-color 250ms ease; }
.plus::after { transform: rotate(90deg); }
[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--red); }
[aria-expanded="true"] .plus::before, [aria-expanded="true"] .plus::after { background: #fff; }
@media (hover: hover) and (pointer: fine) { .acc-item button:hover .plus { background: #dcdee1; } .acc-item button[aria-expanded="true"]:hover .plus { background: var(--red-d); } }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 52px 24px 0; color: var(--steel); max-width: 62ch; opacity: 0; transition: opacity 300ms ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item.open .acc-panel p { opacity: 1; transition-delay: 100ms; }

/* ---------- 11. Cierre ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: clamp(96px, 13vw, 180px) 0; }
.cta-k, .band-k { position: absolute; right: -6vw; top: 50%; width: clamp(320px, 56vw, 820px); height: clamp(320px, 56vw, 820px); transform: translateY(-50%); color: #fff; opacity: .1; pointer-events: none; }
.cta-in { position: relative; display: grid; gap: 22px; justify-items: start; }
.cta .h-xxl { max-width: 13ch; }
.cta .btn-row { margin-top: 10px; }

/* ---------- 12. Pie ---------- */
.foot { background: var(--ink); color: #fff; padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto 1fr auto; align-items: center; } .foot-links { justify-content: center; } }
.foot-links, .foot-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; color: rgba(255, 255, 255, .78); font-size: 15px; transition: color 200ms ease; }
.foot .logo { color: #fff; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: #fff; } }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 110; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 30px -6px rgba(7, 54, 26, .55);
  transition: transform 160ms var(--ease-out);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;
  animation: pulse 2.6s var(--ease-out) infinite;
}
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .hero-text, .hero-text.is-active { transform: none !important; transition: opacity 250ms ease, visibility 0s; }
  .ticker-track { animation: ticker 90s linear infinite !important; }
  .ticker-rev { animation-direction: reverse !important; }
  .steps::after { transition: none; }
  .tab-pill, .term-pill, .burger span, .plus, .acc-panel, .view-cta { transition: none; }
  .phone { animation: none; }
  .wa-float::before { display: none; }
}

/* Logo más grande en pantallas anchas */
@media (min-width: 1100px) {
  .logo-mark { width: 52px; height: 52px; }
  .logo-word { font-size: 36px; }
  .logo { gap: 14px; }
}

/* ---------- Banda roja: Siempre al día ---------- */
.b-full { grid-column: 1 / -1; }
.band { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: clamp(88px, 11vw, 150px) 0; }
.band .band-k { right: auto; left: -8vw; transform: translateY(-50%) scaleX(-1); }
.band-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .band-in { grid-template-columns: 7fr 5fr; gap: 64px; } }
.band-copy { display: grid; gap: 22px; justify-items: start; }
.band .h-xxl { font-size: clamp(40px, 6vw, 88px); max-width: 15ch; }
.band .lead { color: rgba(255, 255, 255, .9); font-size: clamp(18px, 1.9vw, 23px); }
.band :focus-visible { outline-color: #fff; }
.band-chat {
  width: 100%; max-width: 440px; justify-self: center; border-radius: 26px; overflow: hidden; background: #0B141A;
  box-shadow: 0 40px 80px -24px rgba(60, 0, 4, .6), 0 0 0 8px rgba(255, 255, 255, .12);
  transform: rotate(2deg);
}
.bc-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1F2C34; }
.bc-av { width: 38px; height: 38px; flex: none; }
.bc-head b { display: block; font-size: 16px; line-height: 1.2; }
.bc-head small { font-size: 12px; color: #8fd9a8; }
.bc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 22px; background: #0B141A radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 14px 14px; }
.bc-msg { max-width: 86%; padding: 10px 13px 7px; border-radius: 14px; font-size: 16px; line-height: 1.4; }
.bc-msg small { display: block; text-align: right; font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 3px; }
.bc-out { align-self: flex-end; background: #005C4B; border-top-right-radius: 4px; }
.bc-in { align-self: flex-start; background: #202C33; border-top-left-radius: 4px; }
.bc-in .ico { color: #25D366; vertical-align: -3px; }
.js .band-chat.reveal .bc-msg { opacity: 0; transform: translateY(12px) scale(.97); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .band-chat.reveal.in .bc-msg { opacity: 1; transform: none; }
.js .band-chat.reveal.in .bc-msg:nth-child(1) { transition-delay: 300ms; }
.js .band-chat.reveal.in .bc-msg:nth-child(2) { transition-delay: 1000ms; }
.js .band-chat.reveal.in .bc-msg:nth-child(3) { transition-delay: 1800ms; }
.js .band-chat.reveal.in .bc-msg:nth-child(4) { transition-delay: 2500ms; }
@media (prefers-reduced-motion: reduce) {
  .band-chat { transform: none; }
  .js .band-chat.reveal .bc-msg { transform: none; transition: opacity 300ms ease; transition-delay: 0ms !important; }
  .hero-arrow, .hero-pause { transition: none; }
}

/* ---------- Catálogo: tarjeta clicable ---------- */
.unit { position: relative; transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 200ms ease; }
.unit-open {
  border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.unit-open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.unit-open:focus-visible { outline: none; }
.unit-open:focus-visible::after { outline: 3px solid var(--red); outline-offset: 2px; }
.unit-wa { position: relative; z-index: 2; }
.unit-price { font-size: 19px; font-weight: 850; font-stretch: 112%; letter-spacing: -.01em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.unit-hint {
  position: absolute; right: 10px; bottom: 10px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(22, 24, 29, .82);
  padding: 5px 12px; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: opacity 200ms ease, transform 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .unit:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(22, 24, 29, .35); border-color: rgba(22, 24, 29, .2); }
  .unit:hover .unit-hint { opacity: 1; transform: none; }
}
@media (hover: none) { .unit-hint { opacity: 1; transform: none; } }
.unit:active { transform: scale(.99); }

/* ---------- Ficha de la unidad ---------- */
html.ficha-open { overflow: hidden; }
.ficha {
  --accent: var(--red); --accent-d: var(--red-d);
  width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6);
  opacity: 1; transform: none;
  transition: opacity 320ms var(--ease-out), transform 380ms var(--ease-out);
}
@starting-style { .ficha[open] { opacity: 0; transform: translateY(24px) scale(.98); } }
.ficha::backdrop { background: rgba(10, 11, 14, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ficha-agro { --accent: var(--green); --accent-d: #14502A; }
@media (max-width: 639px) {
  .ficha { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  @starting-style { .ficha[open] { transform: translateY(40px); } }
}
.f-bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 20px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(22, 24, 29, .08);
}
.f-brand { display: flex; align-items: center; gap: 8px; font-weight: 850; font-stretch: 125%; font-size: 17px; white-space: nowrap; }
.f-brand small { font-weight: 400; font-stretch: 100%; font-size: 13px; color: var(--steel); }
.f-logo { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--red); color: #fff; font-size: 11px; }
.f-logo-agro { background: var(--green); }
.f-crumbs { flex: 1; min-width: 0; font-size: 13px; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-crumbs span { margin: 0 4px; opacity: .5; }
.f-close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--concrete); display: grid; place-items: center; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.f-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .f-close:hover { background: #dcdee1; } }
@media (max-width: 639px) { .f-crumbs { display: none; } .f-brand { flex: 1; } }

.f-grid { display: grid; gap: 22px; padding: 20px; }
@media (min-width: 900px) {
  .f-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 36px; padding: 28px 32px 36px; }
  .f-side { grid-column: 2; grid-row: 1 / span 4; align-self: start; position: sticky; top: 92px; }
  .f-media, .f-desc, .f-specs, .f-equip { grid-column: 1; }
}
.f-art { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(160deg, #F4F5F6, #D6D9DD); }
.f-art svg { width: 78%; overflow: visible; filter: drop-shadow(0 14px 10px rgba(22, 24, 29, .2)); }
.f-count { position: absolute; right: 12px; bottom: 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(22, 24, 29, .7); padding: 4px 10px; border-radius: 99px; }
.f-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.f-thumbs span { aspect-ratio: 4 / 3; border-radius: 10px; background: #ECEDEF; display: grid; place-items: center; border: 2px solid transparent; }
.f-thumbs span.on { border-color: var(--accent); }
.f-thumbs svg { width: 80%; }

.f-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.f-tags span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--concrete); }
.f-tags span:first-child { background: var(--accent); color: #fff; }
.f-brandline { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--steel); }
.f-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; font-stretch: 125%; letter-spacing: -.025em; line-height: .95; }
.f-ver { margin-top: 6px; color: var(--steel); }
.f-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; }
.f-quick li { background: var(--concrete); border-radius: 12px; padding: 10px 6px; text-align: center; min-width: 0; }
.f-quick b { display: block; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-quick span { font-size: 12px; color: var(--steel); }
@media (max-width: 400px) { .f-quick { grid-template-columns: 1fr 1fr; } }
.f-price { border-radius: 16px; padding: 16px 18px; background: var(--ink); color: #fff; display: grid; gap: 2px; }
.f-price span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.f-price b { font-size: clamp(28px, 3vw, 36px); font-weight: 900; font-stretch: 115%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.f-price small { font-size: 13px; color: rgba(255, 255, 255, .65); }
.f-price p { margin-top: 6px; font-size: 14px; color: #8fd9a8; font-weight: 600; }
.f-actions { display: grid; gap: 8px; margin-top: 12px; }
.f-preview { margin-top: 12px; border-radius: 14px; padding: 12px; background: #0B141A; color: #fff; }
.f-preview-h { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.f-bubble { background: #DCF8C6; color: #13361f; padding: 10px 12px; border-radius: 12px 12px 4px 12px; font-size: 15px; line-height: 1.45; }
.f-where { display: flex; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(22, 24, 29, .1); }
.f-where > .ico { color: var(--accent); margin-top: 2px; }
.f-where div { display: grid; gap: 2px; }
.f-where span { font-size: 13px; color: var(--steel); }
.f-where small { font-size: 14px; color: var(--steel); }
.f-tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--accent); text-decoration: none; }
.f-block h3 { font-size: 22px; font-weight: 850; font-stretch: 115%; margin-bottom: 12px; }
.f-desc p { color: var(--steel); max-width: 62ch; }
.f-specs dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid rgba(22, 24, 29, .1); }
.f-specs dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(22, 24, 29, .1); }
.f-specs dl div:nth-child(odd) { padding-right: 16px; }
.f-specs dl div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(22, 24, 29, .06); }
.f-specs dt { font-size: 14px; color: var(--steel); }
.f-specs dd { margin: 0; font-size: 14px; font-weight: 650; text-align: right; }
@media (max-width: 639px) { .f-specs dl { grid-template-columns: 1fr; } .f-specs dl div:nth-child(n) { padding: 10px 2px; border-left: 0; } }
.f-equip ul { display: grid; gap: 10px; }
@media (min-width: 640px) { .f-equip ul { grid-template-columns: 1fr 1fr; } }
.f-equip li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--concrete); }
.f-equip li .ico { flex: none; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.f-equip li div { display: grid; }
.f-equip b { font-size: 15px; }
.f-equip span { font-size: 14px; color: var(--steel); }

/* ---------- Beneficios: se agrandan y se despliegan ---------- */
.bento .b { cursor: pointer; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bento .b:hover { transform: scale(1.035); z-index: 2; box-shadow: 0 24px 50px -20px rgba(22, 24, 29, .35); }
  .bento .b-chat:hover { transform: scale(1.015); }
}
.bento .b:active { transform: scale(.985); }
.b-more-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  border: 0; background: none; padding: 4px 0; font-weight: 700; font-size: 15px; color: inherit;
}
.b-more-btn .plus { width: 28px; height: 28px; background: #fff; }
.b-chat .b-more-btn .plus, .b-red .b-more-btn .plus { background: rgba(255, 255, 255, .16); }
.b-chat .b-more-btn .plus::before, .b-chat .b-more-btn .plus::after, .b-red .b-more-btn .plus::before, .b-red .b-more-btn .plus::after { background: #fff; }
.b-more-btn .plus::before, .b-more-btn .plus::after { width: 12px; margin-left: -6px; }
.b-more-btn[aria-expanded="true"] .plus { background: var(--red); }
.b-red .b-more-btn[aria-expanded="true"] .plus { background: rgba(255, 255, 255, .25); }
.b-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.b-more > div { overflow: hidden; }
.b-more ul { display: grid; gap: 8px; padding-top: 6px; opacity: 0; transition: opacity 300ms ease; }
.b-more li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--steel); }
.b-more li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border-radius: 3px; background: var(--red); }
.b-chat .b-more li, .b-red .b-more li { color: rgba(255, 255, 255, .88); }
.b-red .b-more li::before { background: #fff; }
.b.open .b-more { grid-template-rows: 1fr; }
.b.open .b-more ul { opacity: 1; transition-delay: 120ms; }
.b.open { box-shadow: 0 0 0 2px var(--red) inset; }
.b-red.open { box-shadow: 0 0 0 2px #fff inset; }

/* ---------- Cierre ---------- */
.cta-title { max-width: none !important; }
.cta-title span { display: block; }
.cta-phone { font-size: 17px; color: rgba(255, 255, 255, .88); }
.cta-phone a { color: #fff; font-weight: 800; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .ficha, .unit, .bento .b, .b-more, .b-more ul, .unit-hint { transition: none; }
  .bento .b:hover, .unit:hover { transform: none; }
}

/* Foto de la familia en la concesionaria: las caras quedan arriba del título */
.hero-layer img.hero-familia { object-position: 50% 22%; transform-origin: 45% 25%; }
@media (max-aspect-ratio: 1/1) { .hero-layer img.hero-familia { object-position: 44% 30%; } }

/* Inicio: sin botón de pausa ni texto "Bajá para ver más" */
.hero-pause, .hero-hint { display: none !important; }

/* ---------- Beneficios: estilo iPhone (tarjetas claras, solo los títulos en color) ---------- */
.benefits { background: #F2F2F7; }
.bento { gap: 16px; }
.bento .b, .bento .b-chat, .bento .b-red {
  background: #fff; color: var(--ink); border-radius: 28px;
  box-shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 10px 30px -12px rgba(22, 24, 29, .14);
}
.bento .b h3, .bento .b-chat h3, .bento .b-red h3 { color: var(--red); }
.bento .b p, .bento .b-chat > p, .bento .b-red p { color: var(--steel); }
/* Íconos como íconos de app */
.bento .b-ico {
  width: 50px; height: 50px; border-radius: 14px; color: #fff;
  background: linear-gradient(160deg, #FF3B42, var(--red) 55%, var(--red-d));
  box-shadow: 0 6px 14px -6px rgba(229, 18, 27, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.bento .b-ico svg { width: 25px; height: 25px; }
/* Lista del stock como celdas de iOS */
.bento .b-red .stock-rows li { background: #F2F2F7; color: var(--ink); border-radius: 12px; }
.bento .b-red .stock-rows li span:last-child { color: var(--steel); opacity: 1; }
/* Chat: la ventana de WhatsApp queda oscura, como una captura del celular */
.bento .b-chat .chat { color: #fff; box-shadow: 0 12px 30px -14px rgba(22, 24, 29, .5); }
/* Botón "Ver más" estilo iOS */
.bento .b-more-btn { color: var(--ink); }
.bento .b-more-btn .plus,
.bento .b-chat .b-more-btn .plus, .bento .b-red .b-more-btn .plus { background: #F2F2F7; }
.bento .b-more-btn .plus::before, .bento .b-more-btn .plus::after,
.bento .b-chat .b-more-btn .plus::before, .bento .b-chat .b-more-btn .plus::after,
.bento .b-red .b-more-btn .plus::before, .bento .b-red .b-more-btn .plus::after { background: var(--red); }
.bento .b-more-btn[aria-expanded="true"] .plus { background: var(--red); }
.bento .b-more-btn[aria-expanded="true"] .plus::before, .bento .b-more-btn[aria-expanded="true"] .plus::after { background: #fff; }
.bento .b-more li, .bento .b-chat .b-more li, .bento .b-red .b-more li { color: var(--steel); }
.bento .b-more li::before, .bento .b-red .b-more li::before { background: var(--red); }
.bento .b.open, .bento .b-red.open { box-shadow: 0 0 0 2px var(--red), 0 10px 30px -12px rgba(22, 24, 29, .14); }
.bento .b :focus-visible { outline-color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .bento .b:hover { box-shadow: 0 2px 4px rgba(22, 24, 29, .05), 0 24px 50px -18px rgba(22, 24, 29, .28); }
}

/* ---------- Planes: precio mensual y creación de la web ---------- */
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan-price small { width: 100%; font-size: 13px; color: var(--steel); }
.plan-price b { font-size: clamp(26px, 2.2vw, 32px); font-weight: 850; font-stretch: 125%; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 14px; color: var(--steel); }
.plan-star .plan-price small, .plan-star .plan-price span { color: rgba(255, 255, 255, .7); }
.plan-term b { color: inherit; }
.plan-term .t-off { opacity: .55; font-weight: 500; }
.explain.setup { margin: 18px 0 0; }
.setup-prices { display: grid; gap: 8px; }
@media (min-width: 640px) { .setup-prices { grid-template-columns: 1fr 1fr; } }
.setup-prices li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--ink);
  border: 1.5px solid transparent;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 200ms cubic-bezier(.23, 1, .32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .setup-prices li:hover { transform: scale(1.04); box-shadow: 0 14px 28px -14px rgba(22, 24, 29, .55); }
}
.setup-prices li span { font-size: 15px; color: var(--steel); white-space: nowrap; }
.setup-prices li b { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 850; font-stretch: 125%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.setup-prices li.is-on { border-color: var(--red); box-shadow: 0 8px 20px -14px rgba(229, 18, 27, .7); }

/* ---------- Mis webs: selector Ruta 9 / Surco estilo iPhone (control segmentado) ---------- */
.tabs {
  padding: 3px; border-radius: 12px; background: rgba(118, 118, 128, .14); box-shadow: none;
}
.tab {
  min-height: 42px; padding: 0 22px; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.01em;
}
.tab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
#tab-surco::before { background: var(--green); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:active { transform: scale(.97); }
.tab-pill, .tabs[data-active="surco"] .tab-pill {
  top: 3px; bottom: 3px; border-radius: 9px; background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04), 0 0 0 .5px rgba(0, 0, 0, .04);
}
@media (hover: hover) and (pointer: fine) { .tab[aria-selected="false"]:hover { color: var(--steel); } }
@media (max-width: 400px) { .tab { padding: 0 14px; font-size: 14px; } }

/* ---------- Catálogo: cantidad de fotos en cada tarjeta ---------- */
.unit-photos {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .9); padding: 3px 9px 3px 7px; border-radius: 99px;
}
.unit-photos .ico { width: 14px; height: 14px; }

/* ---------- Ficha: galería de 5 fotos ---------- */
.f-art { overflow: hidden; }
.f-art svg.flip, .f-thumbs svg.flip { transform: scaleX(-1); }
.f-art svg.full { width: 100%; height: 100%; filter: none; }
.f-view {
  position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .9); padding: 4px 10px; border-radius: 99px;
}
.f-nav {
  position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -4px rgba(22, 24, 29, .35); transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.f-nav svg { width: 20px; height: 20px; }
.f-prev { left: 10px; }
.f-next { right: 10px; }
.f-nav:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .f-nav:hover { background: #fff; } }
.f-thumbs button {
  aspect-ratio: 4 / 3; border-radius: 10px; background: #ECEDEF; display: grid; place-items: center; overflow: hidden;
  border: 2px solid transparent; padding: 0; transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.f-thumbs button.on { border-color: var(--accent); }
.f-thumbs button:active { transform: scale(.95); }
.f-thumbs button svg { width: 80%; }
.f-thumbs button svg.full { width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .f-thumbs button:not(.on):hover { border-color: rgba(22, 24, 29, .25); } }

/* ---------- WhatsApp flotante: 3 opciones al pasar el cursor ---------- */
.wa-fab {
  position: fixed; z-index: 110; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wa-fab .wa-float { position: relative; right: auto; bottom: auto; border: 0; padding: 0; cursor: pointer; pointer-events: auto; }
/* La caja de opciones no bloquea toques mientras está cerrada */
.wa-fab { pointer-events: none; gap: 0; }
.wa-opts { display: grid; gap: 8px; justify-items: end; padding-bottom: 10px; }
.wa-fab.is-open .wa-opts { pointer-events: auto; }
/* Mientras el cursor está en el botón o el menú, toda la caja responde (no se cierra al moverse en diagonal) */
.wa-fab.is-open { pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .wa-fab:hover, .wa-fab:focus-within, .wa-fab:hover .wa-opts, .wa-fab:focus-within .wa-opts { pointer-events: auto; } }
.wa-opts a {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 18px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 10px 30px -10px rgba(22, 24, 29, .35), 0 0 0 .5px rgba(22, 24, 29, .08);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: right bottom;
  transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.wa-opt-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); flex: none; }
.wa-opt-ico svg { width: 18px; height: 18px; }
.wa-opts a:active { transform: scale(.97); }
.wa-fab.is-open .wa-opts a { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 300ms var(--ease-out), visibility 0s; }
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover .wa-opts a, .wa-fab:focus-within .wa-opts a { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 300ms var(--ease-out), visibility 0s; }
  .wa-opts a:hover { background: #fff; }
}
.wa-fab.is-open .wa-opts a:nth-child(3), .wa-fab:hover .wa-opts a:nth-child(3) { transition-delay: 0ms; }
.wa-fab.is-open .wa-opts a:nth-child(2), .wa-fab:hover .wa-opts a:nth-child(2) { transition-delay: 40ms; }
.wa-fab.is-open .wa-opts a:nth-child(1), .wa-fab:hover .wa-opts a:nth-child(1) { transition-delay: 80ms; }
@media (max-width: 400px) { .wa-opts a { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-opts a { transform: none !important; } }

/* ---------- Mis webs: botones Ruta 9 (rojo) y Surco (verde), separados y grandes ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 14px; padding: 0; background: none; box-shadow: none; border-radius: 0;
}
.tabs .tab-pill { display: none; }
.tab {
  --c: var(--red); --c-d: var(--red-d); --c-soft: rgba(229, 18, 27, .1);
  min-height: 60px; padding: 0 30px; border-radius: 18px; gap: 10px;
  font-size: 18px; font-weight: 700; letter-spacing: -.01em;
  color: var(--c); background: var(--c-soft); border: 2px solid transparent;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 160ms var(--ease-out);
}
#tab-surco { --c: var(--green); --c-d: #14502A; --c-soft: rgba(30, 107, 58, .12); }
.tab::before, #tab-surco::before { width: 10px; height: 10px; background: currentColor; }
.tab[aria-selected="true"] {
  color: #fff; background: var(--c);
  box-shadow: 0 14px 28px -12px var(--c), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.tab:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .tab[aria-selected="false"]:hover { color: var(--c); background: var(--c-soft); border-color: var(--c); }
  .tab[aria-selected="true"]:hover { background: var(--c-d); }
}
.tab:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
@media (max-width: 560px) {
  .tabs { gap: 10px; }
  .tab { flex: 1 1 0; justify-content: center; min-height: 56px; padding: 0 12px; font-size: 16px; border-radius: 16px; }
}
@media (max-width: 400px) { .tab, #tab-surco { font-size: 15px; padding: 0 10px; } }

/* ---------- Beneficios: el botón "Ver más" se agranda con el cursor sobre el título ---------- */
.bento .b-more-btn { transform-origin: left center; transition: transform 260ms var(--ease-out), color 200ms ease; }
.bento .b-more-btn .plus { transition: transform 350ms var(--ease), background-color 250ms ease, box-shadow 250ms ease; }
@media (hover: hover) and (pointer: fine) {
  .bento .b h3 { cursor: pointer; }
  .bento .b:has(h3:hover) .b-more-btn, .bento .b-more-btn:hover { transform: scale(1.18); color: var(--red); }
  .bento .b:has(h3:hover) .b-more-btn .plus, .bento .b-more-btn:hover .plus { box-shadow: 0 6px 14px -6px rgba(229, 18, 27, .55); }
}

/* ---------- Planes: creación y puesta online destacada en rojo (arriba de los mensuales) ---------- */
.explain.setup {
  position: relative; overflow: hidden; margin: 0 0 18px; border-left: 0; color: #fff;
  background: linear-gradient(120deg, #F2262E 0%, var(--red) 45%, var(--red-d) 100%);
  box-shadow: 0 24px 50px -24px rgba(229, 18, 27, .6);
}
.explain.setup > *:not(.setup-k) { position: relative; z-index: 1; }
.explain.setup h3 { color: #fff; }
.explain.setup p { color: rgba(255, 255, 255, .92); }
.setup-k {
  position: absolute; z-index: 0; right: -2%; top: 50%; width: clamp(180px, 26vw, 340px); height: clamp(180px, 26vw, 340px);
  transform: translateY(-50%); color: var(--ink); opacity: .8; pointer-events: none;
}
.explain.setup .setup-prices li { background: rgba(255, 255, 255, .96); }
.explain.setup .setup-prices li.is-on { border-color: var(--ink); box-shadow: 0 10px 24px -12px rgba(22, 24, 29, .7); }
.explain.setup :focus-visible { outline-color: #fff; }

/* ---------- Planes: la tarjeta entera se agranda al pasar el cursor ---------- */
.plan { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: scale(1.04); box-shadow: 0 22px 44px -22px rgba(22, 24, 29, .45); z-index: 1; }
  .plan-star:hover { box-shadow: var(--shadow-lg), 0 22px 44px -18px rgba(22, 24, 29, .6); }
}

/* ---------- Beneficios: selector Autos / Maquinaria agrícola ---------- */
.ben-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ben-tabs .tab { min-height: 52px; padding: 0 24px; font-size: 17px; }
.tab-agro { --c: var(--green); --c-d: #14502A; --c-soft: rgba(30, 107, 58, .12); }
.tab-agro::before { background: currentColor; }
@media (max-width: 560px) { .ben-tabs .tab { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 15px; } }
.bento[hidden] { display: none; }
.bento.is-entering { animation: demoIn 500ms var(--ease-out); }
.ben-who { display: inline-block; }
.ben-who.is-swapping { animation: benWho 350ms var(--ease-out); }
@keyframes benWho { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
/* La versión de maquinaria usa el verde de Surco en lugar del rojo */
.bento-agro { --red: var(--green); --red-d: #14502A; }
.bento-agro .b-ico { background: linear-gradient(160deg, #2F8A4E, var(--green) 55%, #14502A); box-shadow: 0 6px 14px -6px rgba(30, 107, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.benefits.is-agro .ben-who { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .bento.is-entering, .ben-who.is-swapping { animation: none; } }

/* ---------- Planes: selector de 1 / 2 años oculto, los dos períodos se ven iguales ---------- */
.term[hidden] { display: none; }

/* ---------- Tu dominio .com (colores Kivo: rojo, blanco y negro) ---------- */
.dominio { background: var(--red); color: #fff; overflow: hidden; }
.dominio-k { position: absolute; right: -8vw; top: 8%; width: clamp(280px, 48vw, 720px); height: clamp(280px, 48vw, 720px); color: #fff; opacity: .08; pointer-events: none; }
.dominio-in { position: relative; }
.dominio .lead { color: rgba(255, 255, 255, .88); }
.dominio :focus-visible { outline-color: #fff; }
.dom-hl { background: var(--ink); color: #fff; padding: 0 .18em; border-radius: .14em; }
.dom-bar {
  display: flex; align-items: center; gap: 12px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px);
  background: #fff; color: var(--ink); border-radius: 99px; padding: 14px 26px 14px 14px;
  box-shadow: 0 24px 50px -20px rgba(22, 24, 29, .55);
}
.dom-lock { width: 44px; height: 44px; border-radius: 50%; background: rgba(229, 18, 27, .1); color: var(--red); display: grid; place-items: center; flex: none; }
.dom-lock .ico { width: 20px; height: 20px; }
.dom-url { font-size: clamp(18px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dom-name { color: var(--red); font-weight: 850; }
.dom-caret { display: inline-block; width: 3px; height: 1em; margin: 0 1px; vertical-align: -.12em; background: var(--red); animation: domCaret 1s steps(1) infinite; }
@keyframes domCaret { 50% { opacity: 0; } }
.dom-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .dom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dom-grid { grid-template-columns: repeat(3, 1fr); } }
.dom-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; display: grid; gap: 8px; align-content: start; box-shadow: 0 12px 30px -16px rgba(22, 24, 29, .45); }
.dom-card h3 { font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); }
.dom-card p { color: var(--steel); font-size: 16px; line-height: 1.5; }
.dom-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 10px; color: #fff; background: var(--ink); }
.dom-ico svg { width: 22px; height: 22px; }
@media (max-width: 480px) { .dom-bar { padding: 10px 18px 10px 10px; gap: 10px; } .dom-lock { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .dom-caret { animation: none; } }

/* ---------- Clientes contentos ---------- */
.clientes .chip-demo { justify-self: start; }
.cl-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.cl-grid::-webkit-scrollbar { display: none; }
.cl-grid > li { scroll-snap-align: start; }
@media (min-width: 700px) { .cl-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1040px) { .cl-grid { grid-template-columns: repeat(3, 1fr); } }
.cl-card { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ink); isolation: isolate; }
.cl-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.cl-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(22, 24, 29, .85), transparent); }
.cl-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.cl-card figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: grid; gap: 2px; }
.cl-card figcaption b { font-size: 19px; }
.cl-card figcaption span { font-size: 14px; color: rgba(255, 255, 255, .82); }
@media (hover: hover) and (pointer: fine) { .cl-card:hover img { transform: scale(1.04); } }
.cl-why { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .cl-why { grid-template-columns: repeat(3, 1fr); } }
.cl-why li { background: #fff; border-radius: 20px; padding: 20px 22px; color: var(--steel); font-size: 15px; line-height: 1.5; display: grid; gap: 4px; box-shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 10px 30px -12px rgba(22, 24, 29, .14); }
.cl-why b { color: var(--ink); font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .cl-card img { transition: none; } }

/* Planes: sin la línea de 12/24 meses, el botón queda siempre abajo de la tarjeta */
.plan [data-plan-btn] { margin-top: auto; }

/* ---------- "Se ve perfecto en el celular": notebook, tablet y celular modernos ---------- */
.devices { display: block; position: relative; width: 540px; max-width: 100%; aspect-ratio: 440 / 262; justify-self: center; container-type: inline-size; }
.devices .dv { position: absolute; display: block; padding: 0; background: none; border-radius: 0; }
.dv-scr { position: relative; overflow: hidden; background: #F4F5F7; }
/* Notebook */
.dv-lap { left: 12%; top: 0; width: 76%; --u: .62cqw; }
.dv-lap .dv-scr {
  aspect-ratio: 16 / 10.4; border: 1.3cqw solid #0E1014; border-bottom-width: 1.8cqw; border-radius: 2.6cqw 2.6cqw .6cqw .6cqw;
  box-shadow: 0 0 0 1px #3A3F48, 0 2cqw 5cqw -2cqw rgba(22, 24, 29, .45);
}
.dv-lap .dv-scr::before { content: ""; position: absolute; z-index: 3; top: -.95cqw; left: 50%; width: .6cqw; height: .6cqw; margin-left: -.3cqw; border-radius: 50%; background: #2A2F38; }
.dv-base {
  position: absolute; left: -9%; right: -9%; bottom: -2.6cqw; height: 2.6cqw; border-radius: .4cqw .4cqw 2.6cqw 2.6cqw;
  background: linear-gradient(#D9DCE1, #A9AEB7 70%, #8A9099); box-shadow: 0 2cqw 3cqw -1.5cqw rgba(22, 24, 29, .5);
}
.dv-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 1cqw; margin-left: -8%; border-radius: 0 0 1cqw 1cqw; background: #9AA0A9; }
/* Tablet y celular: marco negro fino con borde metálico */
.dv-tab, .dv-pho { bottom: 0; }
.dv-tab .dv-scr, .dv-pho .dv-scr {
  border: 1.2cqw solid #0E1014;
  box-shadow: 0 0 0 .3cqw #4A505A, 0 0 0 calc(.3cqw + 1px) rgba(255, 255, 255, .2), 0 3cqw 5cqw -2cqw rgba(22, 24, 29, .55);
}
.dv-tab { left: 0; width: 27%; --u: .5cqw; }
.dv-tab .dv-scr { aspect-ratio: 3 / 4.1; border-radius: 3.2cqw; }
.dv-pho { right: 4%; width: 16%; --u: .52cqw; }
.dv-pho .dv-scr { aspect-ratio: 9 / 19.5; border-width: .9cqw; border-radius: 3.4cqw; }
.dv-island { position: absolute; z-index: 3; top: 1cqw; left: 50%; width: 34%; height: 1.6cqw; margin-left: -17%; border-radius: 99px; background: #0E1014; }
.dv-scr::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .22), transparent 38%); }
/* La mini web de adentro: se acomoda a cada pantalla */
.mini { position: absolute; inset: 0; display: flex; flex-direction: column; gap: calc(var(--u) * 1.6); padding: calc(var(--u) * 1.6); }
:where(.mini) :where(i, b, s, u) { display: block; text-decoration: none; }
.m-nav { display: flex; align-items: center; justify-content: space-between; height: calc(var(--u) * 3); flex: none; }
.m-nav b { width: calc(var(--u) * 8); height: calc(var(--u) * 2); border-radius: calc(var(--u) * .6); background: var(--red); }
.m-nav s { width: calc(var(--u) * 9); height: calc(var(--u) * 2.4); border-radius: 99px; background: var(--ink); }
.dv-pho .m-nav { margin-top: calc(var(--u) * 3.4); }
.dv-pho .m-nav s { width: calc(var(--u) * 3); }
.m-hero {
  position: relative; flex: none; height: 44%; border-radius: calc(var(--u) * 1.6);
  overflow: hidden; background: #3A3F48;
}
.m-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 24, 29, .78), rgba(22, 24, 29, .05) 75%); }
.m-hero b, .m-hero s { z-index: 1; }
.dv-tab .m-hero { height: 34%; }
.dv-pho .m-hero { height: 32%; }
.m-hero b { position: absolute; left: 8%; top: 30%; width: 46%; height: calc(var(--u) * 2.2); border-radius: 99px; background: #fff; box-shadow: 0 calc(var(--u) * 3.4) 0 -.1px rgba(255, 255, 255, .6); }
.dv-pho .m-hero b, .dv-tab .m-hero b { width: 64%; }
.m-hero s { position: absolute; left: 8%; bottom: 16%; width: calc(var(--u) * 11); height: calc(var(--u) * 3); border-radius: 99px; background: var(--red); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 1.4); flex: 1; min-height: 0; }
.dv-tab .m-cards { grid-template-columns: repeat(2, 1fr); }
.dv-pho .m-cards { grid-template-columns: 1fr; }
.m-cards u {
  border-radius: calc(var(--u) * 1.2); box-shadow: 0 1px 2px rgba(22, 24, 29, .08);
  background:
    linear-gradient(#DADDE2, #DADDE2) top / 100% 58% no-repeat,
    linear-gradient(var(--ink), var(--ink)) left calc(var(--u) * 1.2) bottom calc(var(--u) * 3.4) / 55% calc(var(--u) * 1.1) no-repeat,
    linear-gradient(var(--red), var(--red)) left calc(var(--u) * 1.2) bottom calc(var(--u) * 1.4) / 32% calc(var(--u) * 1.1) no-repeat,
    #fff;
}
.m-wa { position: absolute; right: calc(var(--u) * 2.2); bottom: calc(var(--u) * 2.2); width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: var(--wa); box-shadow: 0 calc(var(--u) * 1) calc(var(--u) * 2.4) rgba(7, 54, 26, .35); }
/* Al pasar el cursor por la tarjeta, la tablet y el celular se levantan un poco */
.dv-tab, .dv-pho { transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .b-devices:hover .dv-tab { transform: translateY(-3%); }
  .b-devices:hover .dv-pho { transform: translateY(-5%); transition-delay: 40ms; }
}
@media (prefers-reduced-motion: reduce) { .dv-tab, .dv-pho { transition: none; } }

/* ---------- Clientes contentos: carrusel que pasa solo (como la cinta de arriba) ---------- */
.cl-marquee {
  overflow: hidden; margin: 0 calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.cl-track { display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: clScroll 60s linear infinite; }
.cl-track > li { width: clamp(240px, 26vw, 340px); flex: none; }
@keyframes clScroll { to { transform: translateX(calc(-50% - 7px)); } }
/* Se frena para mirar una foto con el cursor o al tocarla */
.cl-marquee:hover .cl-track, .cl-marquee:active .cl-track, .cl-marquee:focus-within .cl-track { animation-play-state: paused; }
/* Igual que la cinta de arriba: se sigue moviendo aunque la compu tenga las animaciones reducidas */
@media (prefers-reduced-motion: reduce) {
  .cl-track { animation: clScroll 60s linear infinite !important; }
}
.b-devices { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .b-devices { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); } .devices { width: 100%; } }

/* ---------- Planes: 4 plazos (1, 2, 3 años y más) ---------- */
.setup-more a { font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; color: var(--red); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .setup-more a:hover { color: var(--red-d); } }
.explain.setup .setup-more a:focus-visible { outline-color: var(--ink); }
