/* Pantallapp · sitio de presentación. Estilo sobrio tipo Apple: blancos y negros alternados,
   tipografía grande con interletrado cerrado, mucho aire y un único color de marca. */
:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --dark: #000;
  --dark-2: #161617;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --brand: #c2410c;
  --brand-hover: #9a3412;
  --brand-bright: #ff7a45;
  --radius: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #0a66ff; outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.wrap.narrow { width: min(760px, calc(100% - 48px)); }

/* ---------- Barra de navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 253, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-in { width: min(1080px, calc(100% - 48px)); margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; text-decoration: none; margin-right: auto; }
.brand-sm { font-size: 16px; margin: 0; }
.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; left: 6px; top: 4px; width: 10px; height: 13px; border: 2.5px solid #fff; border-radius: 2.5px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 13px; letter-spacing: -.005em; color: var(--ink); opacity: .82; text-decoration: none; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Botones ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: background-color .2s, transform .15s var(--ease); }
.pill:hover { background: var(--brand-hover); }
.pill:active { transform: scale(.97); }
.pill-sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.pill-line { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.pill-line:hover { background: var(--brand); color: #fff; }
.pill-light { background: #fff; color: #000; }
.pill-light:hover { background: #e8e8ed; }
.link { color: var(--brand); text-decoration: none; font-size: 19px; letter-spacing: -.015em; min-height: 48px; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-light { color: var(--brand-bright); }
.cta-row { display: flex; gap: 14px 28px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Tipografía de sección ---------- */
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--brand); margin: 0 0 8px; text-align: center; }
.h2 { font-size: clamp(36px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; margin: 0 auto; text-align: center; }
.sub { text-align: center; color: var(--ink-2); font-size: 21px; letter-spacing: -.02em; margin: 18px auto 0; max-width: 620px; }
section { position: relative; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; background: linear-gradient(var(--bg), var(--bg-2)); }
.hero h1 { font-size: clamp(46px, 9vw, 104px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.38; letter-spacing: -.02em; color: var(--ink-2); max-width: 700px; margin: 22px auto 30px; }
.stage { position: relative; width: min(360px, 62vw); margin: 56px auto 0; }
.tv { background: #0b0b0c; padding: 9px; border-radius: 26px; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 50px 90px -20px rgba(0, 0, 0, .45), 0 18px 36px -12px rgba(0, 0, 0, .3); }
.tv-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-on { opacity: 1; }
.tv::after { content: ""; display: block; width: 36%; height: 14px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #1c1c1e; position: absolute; left: 32%; bottom: -14px; }

.float-card { position: absolute; right: -76px; bottom: 74px; width: 232px; text-align: left; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.float-card.is-in { opacity: 1; transform: none; }
.fc-label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.fc-price { position: relative; height: 40px; margin: 2px 0 6px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fc-price span { position: absolute; left: 0; top: 0; transition: opacity .45s, transform .45s var(--ease); }
.fc-price .new { opacity: 0; transform: translateY(14px); color: var(--brand); }
.float-card.is-edit .fc-price .old { opacity: 0; transform: translateY(-14px); }
.float-card.is-edit .fc-price .new { opacity: 1; transform: none; }
.fc-state { position: relative; height: 20px; font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.fc-state .s-saving, .fc-state .s-done { position: absolute; left: 0; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.fc-state .s-done { color: #1c7a43; font-weight: 600; }
.fc-state .spin { display: none; }
.float-card.is-edit .s-saving { opacity: 1; }
.float-card.is-done .s-saving { opacity: 0; }
.float-card.is-done .s-done { opacity: 1; }

/* Página 404 */
.hero-404 { min-height: 70vh; display: grid; align-content: center; padding-bottom: 64px; }

/* ---------- Declaración (texto que se ilumina al desplazarse) ---------- */
.statement { background: var(--dark); color: var(--on-dark); padding: clamp(96px, 16vw, 200px) 0; }
.scrub { font-size: clamp(30px, 5.6vw, 64px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; margin: 0; max-width: 17em; }
.scrub .w { opacity: .22; transition: opacity .25s linear; }
.scrub .w.lit { opacity: 1; }

/* ---------- Funciones (bento) ---------- */
.features { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg-2); }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.card { background: #fff; border-radius: var(--radius); padding: 40px 40px 44px; overflow: hidden; }
.card h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; margin: 0 0 12px; }
.card p { margin: 0; color: var(--ink-2); font-size: 19px; line-height: 1.4; letter-spacing: -.018em; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; padding-bottom: 0; min-height: 440px; }
.card-copy { align-self: center; padding-bottom: 44px; }
.fan { position: relative; height: 420px; align-self: end; }
.fan img { position: absolute; bottom: -90px; width: 190px; border-radius: 16px; box-shadow: 0 30px 50px -16px rgba(0, 0, 0, .45); border: 6px solid #0b0b0c; background: #000; transition: transform .6s var(--ease); }
.fan img:nth-child(1) { left: 6%; transform: rotate(-9deg) translateY(10px); }
.fan img:nth-child(2) { left: 31%; z-index: 2; bottom: -60px; width: 210px; }
.fan img:nth-child(3) { left: 58%; transform: rotate(9deg) translateY(10px); }
.card-wide:hover .fan img:nth-child(1) { transform: rotate(-12deg) translate(-12px, 4px); }
.card-wide:hover .fan img:nth-child(3) { transform: rotate(12deg) translate(12px, 4px); }
.branches { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.branches li { display: flex; justify-content: space-between; align-items: center; background: var(--bg-2); border-radius: 14px; padding: 13px 16px; font-size: 17px; font-weight: 500; }
.branches b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.roles span { background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.roles .soft { background: var(--bg-2); color: var(--ink); }
.card-dark { background: var(--dark); color: var(--on-dark); }
.card-dark p { color: var(--on-dark-2); }
.big-ico { color: var(--brand-bright); margin-bottom: 22px; }

/* ---------- Plantillas ---------- */
.templates { padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px); }
.rail { display: flex; gap: 22px; margin-top: 56px; padding: 0 max(24px, calc((100vw - 1080px) / 2)) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(24px, calc((100vw - 1080px) / 2)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tpl { flex: 0 0 min(300px, 76vw); margin: 0; scroll-snap-align: start; }
.tpl-img { aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .4); }
.tpl-img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-video, .tpl-poster { display: grid; place-items: center; }
.tpl-video { background: radial-gradient(120% 80% at 50% 0%, #3a1a10, #0b0b0c 70%); color: rgba(255, 255, 255, .9); }
.tpl-poster { background: linear-gradient(160deg, var(--brand), #6b1d05); color: #fff; }
.tpl-poster span { font-size: 54px; line-height: 1; letter-spacing: -.04em; font-weight: 800; text-align: center; text-transform: uppercase; }
.tpl figcaption { padding: 18px 4px 0; }
.tpl figcaption b { display: block; font-size: 19px; letter-spacing: -.02em; }
.tpl figcaption span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }

/* ---------- Pasos ---------- */
.steps { padding: clamp(60px, 9vw, 110px) 0; background: var(--bg-2); }
.steps-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps-list li { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.steps-list .n { display: block; font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps-list h3 { font-size: 26px; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 10px; }
.steps-list p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ---------- Precios ---------- */
.pricing { padding: clamp(80px, 12vw, 140px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; align-items: stretch; }
.plans.n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plans.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
.plans.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; background: #fff; border-radius: var(--radius); padding: 36px 32px 34px; box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; }
.plan-hl { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.tag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 28px; letter-spacing: -.04em; margin: 0; }
.plan .desc { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.plan-hl .desc { color: var(--on-dark-2); }
.price { margin: 22px 0 22px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 48px; letter-spacing: -.05em; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.price span { color: var(--ink-2); font-size: 17px; }
.plan-hl .price span { color: var(--on-dark-2); }
.plan .pill { width: 100%; }
.plan ul { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 16px; }
.plan-hl ul { border-color: rgba(255, 255, 255, .16); }
.plan li { position: relative; padding-left: 27px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.plan-hl li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.addons div { background: var(--bg-2); border-radius: 22px; padding: 26px 30px; }
.addons b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 4px; }
.addons span { color: var(--ink-2); font-size: 16px; }

/* ---------- Preguntas ---------- */
.faq { padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 12vw, 140px); background: var(--bg-2); }
.qa { margin-top: 48px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 21px; font-weight: 600; letter-spacing: -.025em; position: relative; min-height: 48px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform .35s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa p { margin: 0 0 24px; padding-right: 44px; color: var(--ink-2); font-size: 18px; line-height: 1.5; max-width: 640px; }

/* ---------- Cierre y pie ---------- */
.closing { background: var(--dark); color: var(--on-dark); text-align: center; padding: clamp(96px, 14vw, 170px) 0; }
.closing h2 { font-size: clamp(40px, 7.4vw, 88px); line-height: 1.03; letter-spacing: -.045em; font-weight: 700; margin: 0; }
.closing p { color: var(--on-dark-2); font-size: clamp(19px, 2.3vw, 24px); letter-spacing: -.02em; margin: 20px auto 32px; max-width: 560px; }
.foot { background: var(--bg-2); padding: 28px 0 40px; font-size: 13px; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.foot nav { display: flex; gap: 22px; margin-right: auto; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { color: var(--ink); margin: 0; }

/* ---------- Aparición al desplazarse ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .float-card { right: -28px; bottom: 56px; width: 196px; padding: 13px 15px; }
  .fc-price { font-size: 26px; height: 34px; }
  .card-wide { grid-template-columns: 1fr; min-height: 0; }
  .card-copy { padding-bottom: 0; }
  .fan { height: 330px; }
  .fan img { width: 150px; }
  .fan img:nth-child(2) { width: 168px; }
  .plans, .plans.n1, .plans.n2, .plans.n4 { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .steps-list { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 720px) {
  .burger { display: block; }
  .nav-links { position: fixed; inset: 52px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(251, 251, 253, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 8px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { font-size: 21px; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-in { gap: 8px; }
  .hero { padding-top: 48px; }
  .stage { margin-top: 40px; }
  .bento { grid-template-columns: 1fr; margin-top: 44px; }
  .card { padding: 30px 26px 34px; }
  .addons { grid-template-columns: 1fr; }
  .qa summary { font-size: 19px; }
  .foot nav { width: 100%; order: 3; }
}
@media (max-width: 420px) { .float-card { right: -14px; width: 178px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide { transition: none; }
  .float-card, .fc-price span, .fan img { transition: none; }
  .scrub .w { opacity: 1; transition: none; }
}
