/* Estilos de kantu.app (landing y páginas por rubro). */

:root {
  --ink: #14141f;
  --ink-2: #4a4a5c;
  --muted: #7a7a8c;
  --line: #e8e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --brand: #5b3df5;
  --brand-ink: #4527e0;
  --brand-soft: #efebff;
  --ok: #16a34a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 20, 40, .06), 0 16px 40px -12px rgba(20, 20, 40, .18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 4.8vw, 58px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
  padding: 14px 24px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-line { border-color: #d6d6e0; background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }

/* cabecera */
header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 23px; letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav { gap: 12px; } .nav-cta { gap: 6px; } .nav-cta .btn-sm { padding: 8px 11px; font-size: 14px; } .brand { font-size: 20px; } .brand img { width: 30px; height: 30px; } }

/* portada */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 30em; margin-bottom: 32px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.works-on { margin-top: 28px; font-size: 14px; color: var(--muted); font-weight: 500; }
.works-on b { color: var(--ink-2); font-weight: 700; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.35; font-weight: 600;
}
.float small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.float-a { left: -28px; bottom: 36px; }
.float-b { right: -20px; top: 28px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.ic svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .float-a { left: 12px; bottom: 12px; }
  .float-b { right: 12px; top: 12px; }
}
@media (max-width: 480px) { .float-b { display: none; } }

/* plataformas */
.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.platforms .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; }
.platforms p { font-size: 14px; color: var(--muted); font-weight: 600; }
.platforms span { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #a3a3b4; }

section { padding: 104px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 16px; }
@media (max-width: 700px) { section { padding: 72px 0; } .section-head { margin-bottom: 32px; } }

/* Espaciado entre secciones: dos secciones blancas seguidas no suman su relleno (quedaría un hueco doble);
   una franja de color (.band) lleva su propio relleno y la sección que viene después recupera el suyo. */
main > section + section { padding-top: 0; }
main > section.band:not(.live), main > .band + section { padding-top: 104px; }
@media (max-width: 700px) { main > section.band:not(.live), main > .band + section { padding-top: 72px; } }

/* rubros */
.tabs { display: flex; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 48px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit; font-size: 16px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 14px 18px; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 8px 8px 0 0; }
@media (max-width: 760px) { .tabs { justify-content: flex-start; margin: 0 -16px 32px; padding: 0 16px; } }

.panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; margin-bottom: 14px; }
.panel > div > p { color: var(--ink-2); margin-bottom: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.shot { position: relative; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.shot-tags {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); white-space: nowrap;
}
.shot-tags span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 700; background: var(--bg-soft); }
.shot-tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
@media (max-width: 960px) { .panel { grid-template-columns: 1fr; gap: 56px; } .panel .shot { order: -1; } }
@media (max-width: 560px) { .shot-tags { left: 12px; right: 12px; transform: none; bottom: -26px; overflow-x: auto; scrollbar-width: none; } .shot-tags::-webkit-scrollbar { display: none; } }

/* encima de la TV en vivo */
.live { background: #0f0f18; color: #fff; padding: 0; overflow: hidden; }
.live-grid { display: grid; grid-template-columns: 1fr 1.35fr; align-items: center; min-height: 560px; }
.live-copy { padding: 96px 56px 96px 0; }
.live .kicker { color: #b9a9ff; }
.live h2 { margin: 12px 0 18px; }
.live p { color: #c7c7d6; font-size: 18px; max-width: 28em; }
.live .note { margin-top: 18px; font-size: 14px; color: #8d8da3; }
.live-photo { align-self: stretch; position: relative; margin-right: calc((100vw - min(100vw, 1200px)) / -2 - 24px); }
.live-photo img { width: 100%; height: 100%; object-fit: cover; }
.live-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0f0f18 0%, rgba(15, 15, 24, 0) 22%); z-index: 1; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 960px) {
  .live-grid { grid-template-columns: 1fr; min-height: 0; }
  .live-copy { padding: 64px 0 40px; }
  .live-photo { margin: 0 -24px; aspect-ratio: 16 / 9; }
  .live-photo::before { background: linear-gradient(180deg, #0f0f18 0%, rgba(15, 15, 24, 0) 25%); }
}
@media (max-width: 600px) { .live-photo { margin: 0 -16px; } }

/* diseñador con IA */
.ai { background: var(--bg-soft); }
.ai-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.ai h2 { margin: 12px 0 16px; }
.ai .lede { margin-bottom: 24px; }
.ask { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); font-size: 16px; font-weight: 500; }
.ask .ic { flex: none; }
.ask small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.ai-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.ai-tv .tv { padding: 9px; border-radius: 16px; }
.ai-tv .tv img { width: 100%; aspect-ratio: 1376 / 768; object-fit: cover; border-radius: 8px; }
.ai-tv .tv-foot { height: 10px; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; gap: 36px; } }

/* cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.step-num { font-size: 14px; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step .art { margin-top: auto; padding-top: 28px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

.tv { background: #0b0b12; border-radius: 12px; padding: 7px; box-shadow: var(--shadow); }
.tv-screen { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; position: relative; }
.tv-foot { width: 30%; height: 7px; margin: 0 auto; background: #0b0b12; border-radius: 0 0 6px 6px; }
.dl-screen { background: #1d2733; display: grid; place-content: center; gap: 10px; padding: 14px; font-size: 12px; color: #c9d4e0; text-align: center; }
.dl-screen .field { background: #fff; color: #14141f; border-radius: 6px; padding: 8px 14px; font: 700 clamp(15px, 2vw, 19px) ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: 0 0 0 3px #f59e0b; }
.dl-screen .go { justify-self: center; background: #f59e0b; color: #111; font-weight: 800; padding: 5px 16px; border-radius: 5px; }
.pair-screen { background: linear-gradient(315deg, #341848, #1b1636 50%, #121226); color: #fff; display: grid; place-content: center; text-align: center; gap: 6px; padding: 12px; }
.pair-screen .tv-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; }
.pair-screen .tv-logo img { width: 30px; height: 30px; }
.pair-screen small { color: #a6a6c0; font-size: 11px; }
.pair-screen .code { margin-top: 8px; font-size: 12px; color: #d8d8ea; }
.pair-screen .code b { display: block; font-size: clamp(22px, 3vw, 30px); letter-spacing: .14em; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.panel-mock { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px; font-size: 13px; }
.panel-mock .row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.panel-mock .row + .row { margin-top: 2px; }
.panel-mock .row.on { background: var(--brand-soft); }
.panel-mock .row img { width: 56px; height: 38px; object-fit: cover; border-radius: 6px; flex: none; }
.panel-mock .row b { display: block; font-size: 13.5px; }
.panel-mock .row small { color: var(--muted); font-size: 12px; }
.panel-mock .pill { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e3f6ea; color: #12803c; white-space: nowrap; }
.panel-mock .pill.wait { background: #f1f1f5; color: var(--muted); }

/* funciones */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; overflow: hidden; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 16px; }
.c-wide { grid-column: span 3; }
.c-third { grid-column: span 2; }
.card .art { margin-top: auto; padding-top: 26px; }
@media (max-width: 960px) { .c-wide, .c-third { grid-column: span 6; } }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fmt { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fmt .mini { aspect-ratio: 16 / 10; border-radius: 8px; background: #2b2b3a; position: relative; overflow: hidden; margin-bottom: 8px; border: 4px solid #14141f; }
.fmt .mini i { position: absolute; background: var(--brand); border-radius: 3px; }
.fmt .mini.full i { inset: 0; border-radius: 0; background: linear-gradient(135deg, #7c5cff, #5b3df5); }
.fmt .mini.strip i { left: 0; right: 0; bottom: 0; height: 24%; border-radius: 0; }
.fmt .mini.corner i { right: 8%; top: 10%; width: 28%; height: 30%; }

.week { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 4px; font-size: 11px; font-weight: 700; color: var(--muted); }
.week span { text-align: center; }
.week .h { text-align: right; padding-right: 4px; }
.week i { height: 18px; border-radius: 4px; background: #e6e3f3; }
.week i.a { background: var(--brand); }
.week i.b { background: #f59e0b; }
.legend { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--brand); vertical-align: -1px; }
.legend span.b::before { background: #f59e0b; }

.screens-list { display: grid; gap: 8px; }
.screens-list div { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.screens-list small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.screens-list .dot.off { background: #c4c4d0; box-shadow: none; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: #d9d2ff; }
.bars i:last-child { background: var(--brand); }
.big-num { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.big-num small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.offline { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px; font-size: 14px; font-weight: 600; }
.offline small { display: block; color: var(--muted); font-weight: 500; }

/* instalar */
.install { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.install h2 { margin: 12px 0 16px; }
.install .lede { margin-bottom: 28px; }
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.device { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: 15px; }
.device small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.apk-card { background: #14141f; color: #fff; border-radius: 24px; padding: 40px 32px; text-align: center; box-shadow: var(--shadow); }
.apk-card p { color: #a9a9bd; font-size: 15px; }
.apk-card strong { display: block; margin: 14px 0 22px; font: 800 clamp(34px, 5vw, 50px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.02em; }
.apk-card strong span { color: #a996ff; }
.apk-card .btn { background: #fff; color: #14141f; }
@media (max-width: 960px) { .install { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .devices { grid-template-columns: 1fr; } }

/* precios */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-soft); border-radius: 12px; }
.seg button { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: none; border: 0; border-radius: 9px; padding: 8px 16px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 40, .12); }
.seg .save { margin-left: 6px; font-size: 12px; color: var(--ok); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; }
.plan.best { border: 2px solid var(--brand); box-shadow: var(--shadow); padding: 27px 23px; } /* el borde más grueso no corre el contenido */
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 3.2em; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan .note { color: var(--muted); font-size: 13px; min-height: 3.1em; margin: 6px 0 14px; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b3df5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan .trial { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.pricing-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
/* En escritorio cada parte de la tarjeta (nombre, precio, botón, nota y lista) queda a la misma altura en las cuatro */
@media (min-width: 1061px) {
  .plans { row-gap: 0; }
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .plan .for { min-height: 0; }
}
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }

/* preguntas */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 500; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }

/* cierre */
.final { padding: 0 0 104px; }
.final-box { background: var(--brand); color: #fff; border-radius: 28px; padding: 72px 32px; text-align: center; position: relative; overflow: hidden; }
.final-box::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.final-box h2 { position: relative; }
.final-box p { position: relative; color: #e2dcff; font-size: 19px; margin: 14px auto 32px; max-width: 30em; }
.final-box .cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final-box .btn-primary { background: #fff; color: var(--brand-ink); }
.final-box .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.final-box .btn-line:hover { border-color: #fff; }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer .brand { font-size: 18px; color: var(--ink); }
footer .brand img { width: 28px; height: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
@media (max-width: 700px) { footer nav { margin-left: 0; } }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 15px;
  text-decoration: none; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35);
}
.wa svg { width: 22px; height: 22px; }
.wa:hover { background: #1ebe5a; }
@media (max-width: 600px) { .wa span { display: none; } .wa { padding: 13px; right: 14px; bottom: 14px; } }

/* enlace a la página de cada rubro */
.more { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--brand); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* páginas por rubro */
.sub-hero { padding-top: 28px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.sub-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.uses-sec { padding-top: 40px; }
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.uses .card { padding: 28px; }
@media (max-width: 760px) { .uses { grid-template-columns: 1fr; } }
.price-teaser { padding: 0 0 88px; }
.price-teaser .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--brand-soft); border-radius: var(--radius); padding: 26px 30px; }
.price-teaser p { color: var(--ink-2); }
.price-teaser b { color: var(--ink); }
.others { padding-top: 0; }
.others h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 18px; }
.others .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.others .chips a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.others .chips a:hover { border-color: var(--brand); color: var(--brand); }

/* puerta de negocios a empresas */
.to-b2b { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 72px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); }
.to-b2b b { color: var(--ink); }
.to-b2b:hover { border-color: var(--brand); }

/* empresas: industrias */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry { display: flex; flex-direction: column; text-decoration: none; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease; }
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.industry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industry span { display: block; padding: 18px 20px 22px; color: var(--ink-2); font-size: 15px; }
.industry b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 6px; }
@media (max-width: 1000px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }
.sub-hero .kicker { margin-bottom: 12px; }

/* empresas: tarjeta "publicado en todas las tiendas" (como en el video) */
.pub-card { gap: 12px; padding: 12px 14px; flex-wrap: wrap; max-width: 360px; }
.pub-thumb { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #6d4bff, #ff4d8d); color: #fff; font-weight: 800; font-size: 14px; }
.pub-ok { flex-basis: 100%; text-align: center; background: #e3f6ea; color: #12803c; font-weight: 700; font-size: 13.5px; padding: 8px 10px; border-radius: 9px; }
@media (max-width: 480px) { .pub-card { max-width: calc(100% - 24px); } }

/* celular: botones a lo ancho, la tarjeta de "publicado" debajo de la foto y bloques más compactos */
@media (max-width: 600px) {
  .hero .cta, .final-box .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn, .final-box .cta .btn { width: 100%; }
  .hero-photo .pub-card { position: relative; left: auto; bottom: auto; margin: -34px 12px 0; max-width: none; }
  .platforms .wrap { gap: 8px 22px; }
  .platforms span { font-size: 16px; }
  .industry img { aspect-ratio: 16 / 9; }
  .price-teaser .wrap { padding: 22px 20px; width: auto; margin: 0 16px; }
  .price-teaser .btn { width: 100%; }
}

/* ---------- Kantu en un minuto (video) */
.reel .section-head { margin-bottom: 36px; }
.reel-frame { position: relative; background: var(--bg-soft); border-radius: 28px; padding: clamp(8px, 1.6vw, 18px); }
.reel-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: #0b0b12; object-fit: cover; }
.reel-frame::after {
  content: ""; position: absolute; inset: clamp(8px, 1.6vw, 18px); border-radius: 18px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10, 10, 25, .28), rgba(10, 10, 25, .05) 70%); transition: opacity .3s;
}
.reel-frame.playing::after { opacity: 0; }
.reel-play {
  position: absolute; left: 50%; top: 72%; z-index: 1; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px 14px 18px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .28), 0 14px 34px rgba(10, 10, 30, .3); transition: transform .2s ease;
}
.reel-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.reel-play:focus-visible { outline: 3px solid var(--brand); outline-offset: 6px; }
.reel-play svg { width: 22px; height: 22px; color: var(--brand); }
.reel-frame.playing .reel-play { display: none; }
@media (max-width: 600px) { .reel-play { font-size: 14px; padding: 9px 16px 9px 12px; gap: 7px; white-space: nowrap; box-shadow: 0 0 0 5px rgba(255, 255, 255, .28), 0 10px 24px rgba(10, 10, 30, .3); } .reel-play svg { width: 18px; height: 18px; } .reel-frame { border-radius: 20px; } .reel-frame video, .reel-frame::after { border-radius: 13px; } }

/* ---------- Cómo funciona: tres pasos animados que avanzan solos */
.how-tabs { display: flex; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.how-tabs::-webkit-scrollbar { display: none; }
.how-tabs button {
  position: relative; flex: none; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink-2);
  padding: 14px 18px 16px; cursor: pointer; white-space: nowrap;
}
.how-tabs button span { color: var(--muted); }
.how-tabs button[aria-selected="true"], .how-tabs button[aria-selected="true"] span { color: var(--brand); }
.how-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 8px; }
.how-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; border-radius: 3px; overflow: hidden; }
.how-bar i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 3px; }
.how-tabs button[aria-selected="true"]:not(.run) .how-bar i { width: 100%; }
.how-tabs button.run .how-bar i { animation: how-progress 7s linear forwards; }
@keyframes how-progress { to { width: 100%; } }
.how:not(.inview) *, .how:not(.inview) *::before { animation-play-state: paused !important; }

.how-stage {
  position: relative; display: grid; align-items: center; gap: clamp(20px, 3vw, 44px);
  background: var(--bg-soft); border-radius: 28px; padding: clamp(18px, 4vw, 52px); min-height: 440px; overflow: hidden;
}
.how-cap { max-width: 660px; margin: 22px auto 0; text-align: center; color: var(--ink-2); font-size: 17px; }
.how .tv-screen { container-type: inline-size; }

/* ventana del panel */
.s-win { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfbfe; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e1e1ea; }
.win-bar span { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.win-body { display: grid; gap: 12px; padding: 18px; }
.win-title { font-size: 15px; }
.btn-mock { display: block; text-align: center; background: var(--brand); color: #fff; font-weight: 700; padding: 11px 14px; border-radius: 10px; position: relative; }
.how svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* paso 1: conectar */
.s-connect { grid-template-columns: 1.2fr .8fr; }
.code-input { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.code-input span { display: grid; place-items: center; height: 46px; border: 1.5px solid var(--line); border-radius: 9px; font: 800 21px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: #fff; }
.win-field { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 13px; }
.win-field em { font-style: normal; font-weight: 600; color: var(--ink); }
.toast-ok { display: inline-flex; align-items: center; justify-self: start; gap: 7px; background: #e3f6ea; color: #12803f; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.s-connect .sc-code { position: absolute; inset: 0; gap: 1cqw; }
.s-connect .sc-code .tv-logo { font-size: 6.5cqw; gap: 2cqw; }
.s-connect .sc-code .tv-logo img { width: 7cqw; height: 7cqw; }
.s-connect .sc-code small { font-size: 2.4cqw; }
.s-connect .sc-code .code { margin-top: 3cqw; font-size: 2.6cqw; }
.s-connect .sc-code .code b { font-size: 8cqw; margin-top: 1cqw; }
.sc-linked {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; color: #fff;
  background: linear-gradient(315deg, #341848, #1b1636 50%, #121226);
}
.sc-linked .ok-big { display: grid; place-items: center; width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--ok); font-size: 7cqw; margin-bottom: 1.5cqw; box-shadow: 0 0 0 2cqw rgba(22, 163, 74, .2); }
.sc-linked b { font-size: 5cqw; letter-spacing: -.02em; }
.sc-linked small { font-size: 2.6cqw; color: #c9c9de; }

/* paso 2: crear */
.s-create { grid-template-columns: 1fr 1fr; }
.ai-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--brand); }
.ai-prompt .typed { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.ai-prompt { min-height: 48px; border: 1.5px solid var(--brand); border-radius: 11px; padding: 11px 13px; box-shadow: 0 0 0 4px var(--brand-soft); font-size: 15px; font-weight: 600; line-height: 1.45; }
.fmt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fmt-opt { display: grid; justify-items: center; gap: 6px; padding: 9px 4px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-align: center; }
.fmt-opt i { width: 44px; height: 25px; border-radius: 4px; background: #1d1d2b; position: relative; overflow: hidden; }
.fmt-opt i::after { content: ""; position: absolute; background: var(--brand); }
.f-full i::after { inset: 0; }
.f-strip i::after { left: 0; right: 0; bottom: 0; height: 30%; }
.f-corner i::after { right: 3px; top: 3px; width: 32%; height: 38%; border-radius: 2px; }
.fmt-opt.f-strip { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.when-chip { display: inline-flex; align-items: center; justify-self: start; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--bg-soft); padding: 7px 12px; border-radius: 999px; }
.s-result { position: relative; }
.ad-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.shimmer { position: absolute; inset: 0; opacity: 0; background: linear-gradient(110deg, #2a2340 30%, #4b3a8a 50%, #2a2340 70%); background-size: 250% 100%; }
.ai-done { position: absolute; right: -6px; top: -14px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #12803f; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow); }

/* TV en vivo con la franja encima (pasos 2 y 3) */
.live-tv {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 10.5%, rgba(255, 255, 255, .5) 10.5% 11.2%, transparent 11.4%),
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, .5) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 30%),
    repeating-linear-gradient(90deg, #2f8c3f 0 10%, #29803a 10% 20%);
}
.live-tv .tv-live { position: absolute; left: 3cqw; top: 3cqw; background: #e11d2e; color: #fff; font-size: 2.6cqw; font-weight: 800; letter-spacing: .06em; padding: .6cqw 1.6cqw; border-radius: .8cqw; }
.live-tv .score { position: absolute; right: 3cqw; top: 3cqw; background: rgba(10, 10, 20, .78); color: #fff; font-size: 2.8cqw; font-weight: 700; padding: .6cqw 1.8cqw; border-radius: .8cqw; }
.strip-ad {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%; display: flex; align-items: center; gap: 3cqw; padding: 0 4cqw;
  background: linear-gradient(90deg, #b3121f, #dc2b33); color: #fff; box-shadow: 0 -1cqw 3cqw rgba(0, 0, 0, .3);
}
.strip-ad b, .strip-ad span { white-space: nowrap; }
.strip-ad b { font-size: 4.3cqw; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
.strip-ad span { font-size: 6.4cqw; font-weight: 800; color: #ffd23f; line-height: 1; }
.strip-ad em { margin-left: auto; font-style: normal; font-size: 2.8cqw; font-weight: 700; background: rgba(0, 0, 0, .25); padding: 1cqw 2cqw; border-radius: 1cqw; white-space: nowrap; }

/* paso 3: publicar */
.s-publish { grid-template-columns: .8fr 1.2fr; }
.scr-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.scr-row b { display: block; font-size: 14px; }
.scr-row small { display: block; color: var(--muted); font-size: 12px; }
.scr-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.scr-row .st { position: relative; display: grid; font-size: 12px; font-weight: 700; }
.scr-row .st em { grid-area: 1 / 1; font-style: normal; text-align: right; }
.scr-row .st .off { color: var(--muted); opacity: 0; }
.scr-row .st .on { color: var(--ok); }
.btn-mock.publish { display: grid; background: var(--ok); margin-top: 4px; }
.btn-mock.publish em { grid-area: 1 / 1; font-style: normal; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.btn-mock.publish .a { opacity: 0; }
.s-tvs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-tvs .t1 { grid-column: 1 / -1; width: 78%; justify-self: center; }
.s-tvs .tv { padding: 5px; border-radius: 10px; }

/* animaciones: el estado final es el normal; cada paso arranca desde el inicio al activarse (.play) */
@keyframes k-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes k-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes k-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes k-char { from { color: transparent; border-color: var(--line); } to { border-color: var(--brand); } }
@keyframes k-press { 50% { transform: scale(.95); filter: brightness(.88); } }
@keyframes k-type { from { clip-path: inset(0 100% 0 0); } }
@keyframes k-pop { from { opacity: 0; transform: scale(.94); } }
@keyframes k-pop-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes k-up { from { transform: translateY(110%); } }
@keyframes k-unselect { from { border-color: var(--line); background: #fff; color: var(--ink-2); } }
@keyframes k-wait-dot { from { background: #c9c9d6; } }
@keyframes k-brand { from { background: var(--brand); } }
@keyframes k-sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.how-panel.play .s-connect .code-input span { animation: k-char .25s both; }
.how-panel.play .s-connect .code-input span:nth-child(1) { animation-delay: .5s; }
.how-panel.play .s-connect .code-input span:nth-child(2) { animation-delay: .72s; }
.how-panel.play .s-connect .code-input span:nth-child(3) { animation-delay: .94s; }
.how-panel.play .s-connect .code-input span:nth-child(4) { animation-delay: 1.16s; }
.how-panel.play .s-connect .code-input span:nth-child(5) { animation-delay: 1.38s; }
.how-panel.play .s-connect .code-input span:nth-child(6) { animation-delay: 1.6s; }
.how-panel.play .s-connect .btn-mock { animation: k-press .35s 2.2s; }
.how-panel.play .s-connect .toast-ok { animation: k-in .4s 2.6s both; }
.how-panel.play .s-connect .sc-linked { animation: k-show .5s 3s both; }
.how-panel.play .s-connect .sc-linked .ok-big { animation: k-pop .4s 3.3s both; }

.how-panel.play .s-create .typed { animation: k-type 1.6s steps(33) .3s both; }
.how-panel.play .s-create .btn-mock { animation: k-press .35s 2.4s; }
.how-panel.play .s-create .shimmer { animation: k-show .25s 2.6s both, k-sweep 1s 2.6s linear 2, k-hide .3s 3.7s forwards; }
.how-panel.play .s-create .ad-full { animation: k-pop-in .45s 3.7s both, k-hide .35s 5s forwards; }
.how-panel.play .s-create .ai-done { animation: k-in .35s 3.9s both; }
.how-panel.play .s-create .f-strip { animation: k-unselect .25s 4.7s both; }
.how-panel.play .s-create .s-result .strip-ad { animation: k-up .5s 5.1s both; }
.how-panel.play .s-create .when-chip { animation: k-in .35s 5.6s both; }

.how-panel.play .s-publish .btn-mock { animation: k-press .35s .9s, k-brand .3s 1.25s both; }
.how-panel.play .s-publish .btn-mock .a { animation: k-hide .2s 1.25s both; }
.how-panel.play .s-publish .btn-mock .b { animation: k-show .2s 1.3s both; }
.how-panel.play .s-publish .scr-row .dot { animation: k-wait-dot .2s both; }
.how-panel.play .s-publish .scr-row .off { animation: k-hide .2s both; }
.how-panel.play .s-publish .scr-row .on { animation: k-show .25s both; }
.how-panel.play .s-publish .scr-row:nth-child(1) * { animation-delay: 1.6s; }
.how-panel.play .s-publish .scr-row:nth-child(2) * { animation-delay: 1.9s; }
.how-panel.play .s-publish .scr-row:nth-child(3) * { animation-delay: 2.2s; }
.how-panel.play .s-publish .t1 .strip-ad { animation: k-up .5s 1.6s both; }
.how-panel.play .s-publish .t2 .strip-ad { animation: k-up .5s 1.9s both; }
.how-panel.play .s-publish .t3 .strip-ad { animation: k-up .5s 2.2s both; }

@media (max-width: 860px) {
  .how-stage { grid-template-columns: 1fr; min-height: 0; }
  .s-connect .s-win, .s-create .s-win { order: 2; }
  .s-tvs .t1 { width: 100%; }
  .ai-done { right: 6px; }
}
@media (max-width: 600px) {
  .how-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 22px; }
  .how-tabs button { font-size: 14px; padding: 10px 4px 12px; white-space: normal; line-height: 1.25; }
  .how-stage { border-radius: 20px; }
  .code-input span { height: 40px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .how-panel.play * { animation: none !important; }
}
