/* BuenBocado · serendicto.com
   Paleta Emerald: #059669 base · #34D399 acento · #064E3B profundo · #ECFDF5 superficie
   Tipografía: Space Grotesk (títulos) + DM Sans (texto) */

:root {
  --emerald: #059669;
  --emerald-700: #047857;
  --emerald-800: #065F46;
  --accent: #34D399;
  --light: #6EE7B7;
  --mint: #A7F3D0;
  --deep: #064E3B;
  --deeper: #053B2D;
  --surface: #ECFDF5;
  --bg: #F7F9F8;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --soft: #5B6576;
  --border: #E2E8E5;
  --line: #CDEBDD;
  --amber: #F59E0B;
  --amber-ink: #92400E;

  --font-head: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: 16px;
  --header-h: 64px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px -4px rgba(15, 23, 42, .06);
  --shadow: 0 24px 48px -24px rgba(6, 78, 59, .35), 0 8px 18px -10px rgba(15, 23, 42, .12);

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 72px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--emerald-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--emerald-800); text-decoration-thickness: 2px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--text); }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 6px;
}
.video-section :focus-visible,
.demo-card :focus-visible,
.site-footer :focus-visible,
.world :focus-visible { outline-color: var(--accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -.2em;
}
.ico-ext { width: 1em; height: 1em; margin-left: .3em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 44px;
  padding: .75em 1.25em;
  border: 2px solid transparent;
  border-radius: 14px;
  font: 700 1rem/1.2 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.1875rem; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9375rem; border-radius: 12px; }

.btn-primary {
  color: #fff;
  background-color: var(--emerald-700);
  background-image: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 45%, var(--emerald) 100%);
  box-shadow: 0 8px 20px -8px rgba(5, 150, 105, .6);
}
.btn-primary.btn-sm { background-image: none; }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -10px rgba(5, 150, 105, .7); background-color: var(--emerald-800); }

.btn-ghost {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--deep); border-color: var(--emerald); }

.btn-white { color: var(--deep); background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { color: var(--deep); background: var(--surface); }

.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 248, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(15, 23, 42, .4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 10px;
}
.brand:hover { text-decoration: none; }
.brand-icon { width: 34px; height: 34px; flex: none; }
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.w-buen { color: var(--text); }
.w-bocado { color: var(--emerald); }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--deep); background: var(--surface); }

@media (min-width: 980px) {
  .site-nav { display: block; }
  .brand-icon { width: 38px; height: 38px; }
  .wordmark { font-size: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 56px;
  background:
    radial-gradient(900px 520px at 88% 30%, #DDF6EA 0%, rgba(236, 253, 245, 0) 65%),
    var(--bg);
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 38%, #000 72%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 38%, #000 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--emerald-800);
  font-weight: 700;
  font-size: .9375rem;
  box-shadow: var(--shadow-sm);
}
.tagline-pill .ico { color: var(--emerald); width: 1.2em; height: 1.2em; }

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.125rem, 1.3rem + 3.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hl {
  background-image: linear-gradient(transparent 62%, rgba(52, 211, 153, .42) 62%, rgba(52, 211, 153, .42) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lede {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.lede strong { color: var(--text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 100%; }
@media (min-width: 480px) {
  .cta-row .btn { flex: 0 0 auto; }
}

.hero-meta { margin: 20px 0 0; font-size: .9375rem; color: var(--soft); }
.hero-meta a { font-weight: 700; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
}

/* Phone frame */
.phone {
  position: relative;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(145deg, #1E293B, #0F172A 40%);
  box-shadow:
    inset 0 0 0 1.5px #334155,
    0 30px 60px -24px rgba(6, 78, 59, .5),
    0 14px 26px -14px rgba(15, 23, 42, .45);
}
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 22%;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: #1E293B;
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  background: var(--bg);
}
.phone-hero { width: min(260px, 68vw); }
.phone-sm { width: 196px; padding: 6px; border-radius: 30px; }
.phone-sm img { border-radius: 24px; }

/* Floating cards around the hero phone */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 32px -16px rgba(6, 78, 59, .45), 0 4px 10px -4px rgba(15, 23, 42, .1);
  font-size: .8125rem;
  line-height: 1.25;
  white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.fc-text { display: grid; }
.fc-text strong { font-size: .875rem; color: var(--text); }
.fc-text span { color: var(--soft); }
.fc-text b { color: var(--emerald-700); }
.fc-badge {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 36px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--emerald-700);
  color: #fff;
  font: 700 .9375rem/1 var(--font-head);
}
.float-card .ico {
  width: 36px; height: 36px;
  padding: 7px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--emerald-700);
}
.fc-offer { left: 0; top: 9%; }
.fc-time { right: 0; top: 44%; animation-delay: -2.3s; }
.fc-qr { left: 2%; bottom: 9%; animation-delay: -4.6s; }
.fc-qr .ico { background: var(--emerald-700); color: #fff; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (min-width: 600px) {
  .phone-hero { width: 290px; }
  .fc-offer { left: auto; right: calc(50% + 92px); }
  .fc-time { right: auto; left: calc(50% + 110px); }
  .fc-qr { left: auto; right: calc(50% + 116px); }
}

@media (min-width: 960px) {
  .hero { padding: 36px 0 88px; }
  .hero-map {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, #000 74%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, #000 74%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 40px;
    padding-top: 24px;
  }
  .lede { font-size: 1.1875rem; }
  .phone-hero { width: 320px; }
}

/* ---------- Sections (shared) ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 700 .8125rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-700);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--accent));
}
.kicker-light { color: var(--accent); }

.section h2 {
  max-width: 22em;
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 1.15rem + 2.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.section-lede {
  max-width: 40em;
  margin: 0 0 40px;
  font-size: 1.0625rem;
  color: var(--muted);
}
@media (min-width: 768px) { .section-lede { font-size: 1.125rem; } }

.ref {
  display: inline-block;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 5px;
  font-size: .72em;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: super;
  text-decoration: none;
  color: var(--emerald-700);
  background: var(--surface);
}
.ref:hover { text-decoration: underline; }

/* ---------- Idea ---------- */
.idea { background: #fff; }
.idea-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .idea-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
}
.idea-copy h2 { margin-bottom: 20px; }
.idea-copy p:not(.kicker) { max-width: 36em; color: var(--muted); font-size: 1.0625rem; }
.idea-copy p:last-child { margin-bottom: 0; }
.idea-lead {
  color: var(--text) !important;
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem) !important;
  line-height: 1.45;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}
.idea-card {
  padding: 26px 24px 22px;
  border-radius: 22px;
  color: #D1FAE5;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(52, 211, 153, .22), transparent 60%),
    var(--deep);
  box-shadow: var(--shadow);
}
.idea-card-title { margin: 0; font: 700 1.25rem/1.2 var(--font-head); color: #fff; }
.idea-card-sub { margin: 6px 0 18px; font-size: .9375rem; color: #C7EBDD; }
.idea-card .ref { color: var(--deep); background: var(--mint); }
.idea-figures { display: grid; gap: 0; margin: 0; }
.idea-figures > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(167, 243, 208, .22);
}
.idea-figures dd {
  margin: 0;
  font: 700 2rem/1 var(--font-head);
  letter-spacing: -.03em;
  color: var(--accent);
}
.idea-figures dt { font-size: .9375rem; color: #D1FAE5; }
.idea-card :focus-visible { outline-color: var(--accent); }

/* ---------- Problem ---------- */
.problem { background: var(--bg); }

.stats {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.stat {
  padding: 26px 24px 24px;
  border-radius: 20px;
  border: 1px solid #DCEFE6;
  background: linear-gradient(180deg, #F1FBF6 0%, #fff 70%);
}
.stat-num {
  margin: 0 0 12px;
  font: 700 1.25rem/1 var(--font-head);
  color: var(--deep);
}
.stat-num span {
  font-size: 2.6em;
  letter-spacing: -.04em;
  color: var(--emerald-700);
  margin-right: .08em;
}
.stat-label { margin: 0; color: var(--muted); }
.stat-label strong { color: var(--text); }

.world {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 26px 24px;
  border-radius: 20px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(52, 211, 153, .18), transparent 60%),
    var(--deep);
  color: #D1FAE5;
}
.world-title {
  margin: 0;
  font: 700 1.25rem/1.2 var(--font-head);
  color: var(--accent);
}
.world-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.world-list li { padding-left: 18px; position: relative; }
.world-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.world-list strong { color: #fff; }
.world .ref { color: var(--deep); background: var(--mint); }
@media (min-width: 900px) {
  .world { grid-template-columns: 200px 1fr; padding: 30px 32px; gap: 24px; }
  .world-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.sources {
  margin: 24px 0 0;
  padding-left: 1.4em;
  font-size: .875rem;
  color: var(--soft);
}
.sources li { margin: 4px 0; padding: 2px 6px; border-radius: 6px; }
.sources li:target { background: #FEF3C7; }

/* ---------- Solution + how ---------- */
.solution { background: var(--surface); }

.solution-head { display: grid; gap: 4px; margin-bottom: 32px; }
.solution-head .section-lede { margin-bottom: 0; }
@media (min-width: 960px) {
  .solution-head { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: end; margin-bottom: 44px; }
  .solution-head h2 { margin-bottom: 0; }
}

.benefits {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.benefit {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.benefit-ico {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 12px;
  border-radius: 13px;
  background: var(--surface);
  color: var(--emerald-700);
}
.benefit-ico .ico { width: 24px; height: 24px; }
.benefit h3 { margin: 0 0 6px; font-size: 1.1875rem; }
.benefit p { margin: 0; color: var(--muted); }
@media (max-width: 759px) {
  .benefit { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; padding: 18px; }
  .benefit-ico { grid-row: span 2; margin-bottom: 0; }
  .benefit h3 { margin-top: 2px; }
}

.how { margin-top: 72px; }
.how-title {
  margin: 0 0 28px !important;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem) !important;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.step {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-shot {
  position: relative;
  display: flex;
  justify-content: center;
  height: 250px;
  padding-top: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, #C9F5E0 0%, rgba(236, 253, 245, 0) 70%),
    #F0FBF5;
}
.step-shot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%);
}
.step-shot .phone { flex: none; height: max-content; }
@media (min-width: 900px) {
  .step-shot { height: 300px; }
  .step-shot .phone-sm { width: 214px; }
}

.step-body { position: relative; padding: 0 24px 26px; }
.step-num {
  display: block;
  margin: -8px 0 6px;
  font: 700 2.5rem/1 var(--font-head);
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--emerald), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin: 0 0 8px; font-size: 1.3125rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Video ---------- */
.video-section {
  color: #D1FAE5;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(52, 211, 153, .16), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(5, 150, 105, .35), transparent 60%),
    var(--deep);
}
.video-section h2 { color: #fff; }
.video-section .section-lede { color: #C7EBDD; margin-bottom: 32px; }
.video-head { max-width: 46em; }

.video-frame {
  position: relative;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 18px;
  background: #022C22;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 768px) { .video-frame { border-radius: 24px; } }

.video-foot {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.chapters {
  display: grid;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #D1FAE5;
}
.chapters li { display: flex; gap: 10px; align-items: baseline; }
.chapters span { font: 700 .875rem/1 var(--font-head); color: var(--accent); }
@media (min-width: 640px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .video-foot { grid-template-columns: 1fr auto; align-items: center; }
  .chapters { grid-template-columns: repeat(4, auto); justify-content: start; }
}
.video-links { margin: 0; }
.video-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 700;
}
.video-links a:hover { color: var(--mint); }

/* ---------- Screens ---------- */
.screens { background: var(--bg); }

.tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: 700 .9375rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab:hover { background: var(--surface); color: var(--deep); }
.tab[aria-selected="true"] { background: var(--deep); color: #fff; }
.tab .ico { display: none; }
@media (max-width: 379px) {
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1 1 auto; justify-content: center; padding: 8px 8px; font-size: .875rem; }
}
@media (min-width: 440px) {
  .tab { padding: 8px 16px; }
  .tab .ico { display: inline-block; }
}

.no-js .tabs { display: none; }
.js .panel-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.panel-title { margin: 0 0 20px; font-size: 1.375rem; }
.no-js .tabpanel + .tabpanel { margin-top: 48px; }
.tabpanel:focus-visible { outline-offset: 8px; }
.tabpanel[hidden] { display: none; }

.shots {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 6px var(--gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.shots > li { scroll-snap-align: start; }
.shots-phones { grid-auto-columns: min(68%, 270px); }
.shots-browser { grid-auto-columns: 88%; }
.shots figure { margin: 0; }
.shots figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .9375rem;
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 760px) {
  .shots {
    grid-auto-flow: row;
    margin: 0;
    padding: 0;
    overflow: visible;
    gap: 36px 32px;
  }
  .shots-phones { grid-template-columns: repeat(3, 1fr); }
  .shots-phones .phone { max-width: 270px; margin-inline: auto; }
  .shots-browser { grid-template-columns: repeat(2, 1fr); }
  .shots-browser > li:first-child { grid-column: 1 / -1; }
  .shots-browser > li:first-child figure { max-width: 940px; margin-inline: auto; }
}

.browser {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #F1F5F4;
  border-bottom: 1px solid var(--border);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.browser-bar i:nth-child(1) { background: #FCA5A5; }
.browser-bar i:nth-child(2) { background: #FCD34D; }
.browser-bar i:nth-child(3) { background: #86EFAC; }
.browser-bar span {
  flex: 0 1 240px;
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--soft);
  font-size: .75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fine-print {
  margin: 28px 0 0;
  color: var(--soft);
  font-size: .875rem;
  text-align: center;
}

/* ---------- Audience ---------- */
.audience { background: #fff; }
.audience-grid { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 860px) { .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.aud-card {
  padding: 28px 24px 18px;
  border-radius: 22px;
  border: 1px solid #DCEFE6;
  background: linear-gradient(160deg, #EFFAF4 0%, #fff 55%);
}
.aud-card header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.aud-ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--emerald-700);
  color: #fff;
}
.aud-ico .ico { width: 26px; height: 26px; }
.aud-card h3 { margin: 0; font-size: 1.5rem; }
.aud-card ul { margin: 0; padding: 0; list-style: none; }
.aud-card li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed #D5E9DF;
  color: var(--text);
}
.aud-card li:first-child { border-top: 0; }
.aud-card li .ico { width: 22px; height: 22px; margin-top: 1px; color: var(--emerald-700); }

.aud-store { border-color: #F6E3B4; background: linear-gradient(160deg, #FFF8E6 0%, #fff 55%); }
.aud-store .aud-ico { background: #B45309; }
.aud-store li { border-top-color: #F3E5C3; }
.aud-store li .ico { color: #B45309; }

/* ---------- Model ---------- */
.model { background: var(--surface); }
.model-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .model-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; } }

.model-tiles { display: grid; gap: 14px; margin: 28px 0 20px; }
@media (min-width: 520px) { .model-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.tile {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.tile-num {
  margin: 0 0 6px;
  font: 700 2.5rem/1 var(--font-head);
  letter-spacing: -.035em;
  color: var(--emerald-700);
}
.tile-label { margin: 0; color: var(--muted); }
.model-note { margin: 0; color: var(--muted); font-size: .9375rem; }

.receipt {
  position: relative;
  margin: 0;
  padding: 28px 24px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #DCEFE6;
  box-shadow: var(--shadow);
}
.receipt::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--emerald), var(--accent));
}
.receipt figcaption { display: grid; gap: 2px; margin-bottom: 14px; }
.receipt-title { font: 700 1.1875rem/1.3 var(--font-head); color: var(--text); }
.receipt-sub { color: var(--soft); font-size: .9375rem; }
.receipt table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.receipt th {
  padding: 11px 0;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}
.receipt th span { display: block; font-size: .8125rem; color: var(--soft); }
.receipt td {
  padding: 11px 0 11px 12px;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--text);
}
.receipt td s { color: var(--soft); font-weight: 500; }
.receipt tr + tr { border-top: 1px dashed var(--border); }
.receipt .row-total { border-top: 2px solid var(--text); }
.receipt .row-total th { color: var(--text); font-weight: 700; }
.receipt .row-bb th, .receipt .row-bb td { background: var(--surface); }
.receipt .row-bb th { padding-left: 12px; border-radius: 12px 0 0 12px; color: var(--deep); font-weight: 700; }
.receipt .row-bb td { padding-right: 12px; border-radius: 0 12px 12px 0; color: var(--emerald-700); font-size: 1.1875rem; }
.receipt .row-bb { border-top-color: transparent; }
.receipt-foot { margin: 14px 0 0; font-size: .8125rem; color: var(--soft); }

/* ---------- Tech ---------- */
.tech { background: #fff; }
.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) { .chips { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.chip {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--emerald);
}
.chip strong { font: 700 1.0625rem/1.25 var(--font-head); color: var(--text); overflow-wrap: anywhere; }
.chip span { font-size: .875rem; color: var(--soft); line-height: 1.35; }

.tech-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tech-note .ico {
  width: 28px; height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--emerald-700);
  color: #fff;
}

/* ---------- Demo ---------- */
.demo { background: var(--bg); }
.demo-card {
  display: grid;
  gap: 28px;
  padding: 32px 20px 20px;
  border-radius: 28px;
  color: #D1FAE5;
  background:
    radial-gradient(700px 360px at 0% 0%, rgba(52, 211, 153, .28), transparent 60%),
    linear-gradient(135deg, var(--deep) 0%, var(--emerald-800) 55%, var(--emerald-700) 100%);
  box-shadow: var(--shadow);
}
.demo-card h2 { color: #fff; }
.demo-copy p { max-width: 32em; }
.demo-copy .cta-row { margin: 24px 0 14px; }
.demo-hint { margin: 0; font-size: .9375rem; color: var(--mint); }
@media (min-width: 960px) {
  .demo-card { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 52px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .demo-card { padding: 40px 32px 32px; }
}

.account {
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45);
}
.account-title { margin: 0 0 6px; font: 700 1.125rem/1.3 var(--font-head); }
.account dl { margin: 0; }
.cred { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.cred dt {
  margin-bottom: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
}
.cred dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}
.cred code {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--deep);
  font: 500 1.0625rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--emerald-700);
  font: 700 .875rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.copy:hover { border-color: var(--emerald); background: var(--surface); }
.copy.is-done { background: var(--emerald-700); border-color: var(--emerald-700); color: #fff; }
.no-js .copy { display: none; }

.account-notes { margin: 12px 0 0; padding: 0; list-style: none; }
.account-notes li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: .9375rem;
  color: var(--muted);
}
.account-notes .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--emerald-700); }

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; gap: 28px; justify-items: start; }
@media (min-width: 760px) {
  .about-grid { grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
}
.avatar {
  display: grid;
  place-items: center;
  width: 152px; height: 152px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--accent) 100%);
  color: #fff;
  font: 700 3rem/1 var(--font-head);
  letter-spacing: -.02em;
  box-shadow: 0 0 0 8px var(--surface), var(--shadow);
}
.avatar-photo { object-fit: cover; }
@media (min-width: 760px) { .avatar { width: 200px; height: 200px; font-size: 3.75rem; } }

.about-copy h2 { margin-bottom: 10px; }
.about-idea { max-width: 40em; margin: 0 0 12px; color: var(--text); font-size: 1.0625rem; }
.about-role { margin: 0 0 14px; color: var(--deep); font-weight: 700; font-size: 1.0625rem; max-width: 40em; }
.about-bio { max-width: 40em; color: var(--muted); font-size: 1.0625rem; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--deep);
  font-weight: 500;
  text-decoration: none;
}
.pill:hover { border-color: var(--emerald); color: var(--deep); text-decoration: none; }
.pill .ico { color: var(--emerald-700); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 52px 0 44px;
  background: var(--deeper);
  color: #B7E4D2;
}
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1.3fr; gap: 40px; } }
.brand-light .w-buen { color: #fff; }
.brand-light .w-bocado { color: var(--accent); }
.footer-tagline { margin: 10px 0 0; color: var(--mint); }
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 2px 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #fff;
}
.footer-links a:hover { color: var(--mint); }
.footer-legal p { margin: 0 0 8px; font-size: .9375rem; }

/* ---------- Reveal on scroll (only with JS, only with motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .steps .reveal:nth-child(2) { transition-delay: .08s; }
  .js .steps .reveal:nth-child(3) { transition-delay: .16s; }
}

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

@media print {
  .site-header, .hero-map, .float-card, .video-frame, .tabs { display: none !important; }
  .tabpanel[hidden] { display: block !important; }
  body { background: #fff; }
}

/* Capturas del panel: enlace para verlas en tamaño completo */
.zoom { display: block; cursor: zoom-in; }
.zoom:focus-visible { outline-offset: -3px; }
