/* =============================================================
   AIM DECK — layout (usa tokens.css)
   ============================================================= */

/* --- NAV --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg, rgba(245,239,228,.82));
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -.5px;
  display: inline-flex; align-items: center; gap: 9px;
}
.brand .dot {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--accent);
  transform: rotate(45deg);
  display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links .muted { color: var(--ink-soft); font-size: 15px; }
.locale-switch {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-soft); display: flex; gap: 6px;
}
.locale-switch a.active { color: var(--accent); font-weight: 500; }

/* --- HERO --- */
.hero { padding: 92px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  margin: 18px 0 0;
  line-height: 1.04;
  letter-spacing: -.022em;
}
.hero h1 .b { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-sub {
  margin: 24px 0 0; font-size: 19px; color: var(--ink-soft);
  max-width: 34ch;
  line-height: 1.55;
}
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

/* cinta de PRUEBA factual (L7: solo hechos, jamas numeros inventados) */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.proof-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 26px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px;
}
.proof-item {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--ink-soft); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px;
}
.proof-item::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg); flex: none;
}
.proof-item:nth-child(2)::before { background: var(--teal); }
.proof-item:nth-child(3)::before { background: var(--gold); }
.proof-item:nth-child(4)::before { background: var(--ink); }
.proof-item:nth-child(5)::before { background: var(--teal); }
@media (max-width: 900px) { .proof-inner { justify-content: flex-start; } }

/* pila de tarjetas: el producto es una PILA de diapositivas, no una carta suelta */
.mock-stack { position: relative; }
.mock-stack::before, .mock-stack::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  box-shadow: var(--shadow-1);
}
.mock-stack::before { transform: rotate(2.6deg) translate(10px, 12px); background: var(--paper-2); }
.mock-stack::after  { transform: rotate(-4.2deg) translate(-8px, 7px); }

/* mock de deck: el producto se muestra a si mismo */
.deck-mock {
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--edge), var(--shadow-3);
  padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-1.4deg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; z-index: 1;
}
.deck-mock:hover { transform: rotate(0deg) translateY(-5px); }
.deck-mock .m-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
}
.deck-mock .m-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.05; margin-top: 10px; letter-spacing: -.4px;
}
.deck-mock .m-bars { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.deck-mock .m-bar { height: 9px; border-radius: 6px; background: var(--paper-2); }
.deck-mock .m-bar.s1 { width: 88%; }
.deck-mock .m-bar.s2 { width: 72%; }
.deck-mock .m-bar.s3 { width: 80%; background: linear-gradient(90deg,var(--gold),var(--paper-2)); }
.deck-mock .m-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft);
  border-top: 1px dashed var(--line); padding-top: 12px;
}
.deck-mock .m-chip {
  width: 22px; height: 22px; border-radius: 6px; background: var(--accent);
  transform: rotate(45deg);
}

/* --- SECCIONES --- */
.section { padding: 78px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 20ch; }
.section-head { margin-bottom: 44px; }

/* pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { }
.step .n {
  font-family: var(--font-display); font-weight: 900; font-size: 44px;
  color: var(--accent); line-height: 1;
  -webkit-text-stroke: 0; opacity: .9;
}
.step h3 { font-size: 22px; margin-top: 10px; }
.step p { color: var(--ink-soft); margin: 8px 0 0; font-size: 16px; }

/* por que: rejilla de cards (Miller: 5 items) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--edge), var(--shadow-1);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--edge), var(--shadow-2);
  border-color: var(--line-strong);
}
.why-card .tag {
  width: 34px; height: 4px; border-radius: 3px; background: var(--accent);
  display: block; margin-bottom: 16px;
}
.why-card:nth-child(2) .tag { background: var(--teal); }
.why-card:nth-child(3) .tag { background: var(--gold); }
.why-card:nth-child(4) .tag { background: var(--ink); }
.why-card:nth-child(5) .tag { background: var(--accent); }
.why-card h3 { font-size: 20px; }
.why-card p { color: var(--ink-soft); margin: 8px 0 0; font-size: 15.5px; }

/* CTA final */
.cta-band { text-align: center; padding: 90px 0; }
.cta-band h2 { margin: 0 auto 28px; max-width: 18ch; font-size: clamp(30px, 4vw, 46px); }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--line); padding: 52px 0 30px; background: var(--paper-2); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px; align-items: start;
}
.footer-brand .brand { font-size: 19px; }
.footer-brand p { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-soft); max-width: 30ch; line-height: 1.55; }
.footer h5 {
  margin: 4px 0 14px; font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft);
}
.footer-col a { display: block; color: var(--ink); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer .locale-switch { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
}
.footer-base .made a { color: var(--accent); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* --- AUTH --- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 24px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 36px;
}
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card .sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input {
  width: 100%; padding: 13px 15px; font-size: 16px; font-family: var(--font-ui);
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,69,42,.14);
}
.auth-alt { margin-top: 20px; text-align: center; font-size: 14.5px; }
.flash { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 20px; }
.flash.error { background: rgba(196,54,30,.10); color: var(--err); border: 1px solid rgba(196,54,30,.25); }
.flash.ok { background: rgba(31,111,107,.10); color: var(--ok); border: 1px solid rgba(31,111,107,.25); }

/* --- DASHBOARD (placeholder F0) --- */
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 40px 0 20px; }
.app-head h1 { font-size: 34px; }
.empty {
  background: var(--card); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); padding: 64px 40px; text-align: center; margin-top: 8px;
}
.empty h3 { font-size: 24px; }
.empty p { color: var(--ink-soft); max-width: 46ch; margin: 12px auto 0; }
.empty .soon {
  display: inline-block; margin-top: 22px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 7px 14px; border-radius: var(--radius-pill);
}

/* --- RESPONSIVE --- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .deck-mock { transform: rotate(0deg); max-width: 460px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-links { gap: 14px; }
  .nav-links .muted, .nav-links .nav-hide { display: none; }
  .hero { padding: 60px 0 52px; }
  .why-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .auth-card { padding: 32px 24px; }
}

/* --- NUEVO DECK (form generación) --- */
.new-wrap { max-width: 640px; margin: 0 auto; padding: 60px 24px 80px; }
.new-h1 { font-size: clamp(30px,4vw,42px); margin: 14px 0 6px; }
.new-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 30px; max-width: 46ch; }
.new-wrap textarea {
  width: 100%; padding: 15px 16px; font-size: 17px; font-family: var(--font-ui);
  background: var(--card); color: var(--ink); line-height: 1.5;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.new-wrap textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,69,42,.14); }
.new-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.new-wrap select {
  width: 100%; padding: 13px 14px; font-size: 16px; font-family: var(--font-ui);
  background: var(--card); color: var(--ink); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); cursor: pointer;
}
.new-wrap select:focus { outline: none; border-color: var(--accent); }
.new-hint { font-family: var(--font-mono); font-size: 13px; color: var(--accent); text-align: center; margin-top: 14px; }

/* --- REJILLA DE DECKS --- */
.deck-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.deck-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 22px; min-height: 128px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.deck-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.deck-card .dc-tag { position: absolute; top: 22px; left: 22px; width: 30px; height: 4px; border-radius: 3px; background: var(--accent); }
.deck-card:nth-child(3n+2) .dc-tag { background: var(--teal); }
.deck-card:nth-child(3n+3) .dc-tag { background: var(--gold); }
.deck-card .dc-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.15; letter-spacing: -.3px; }
.deck-card .dc-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.deck-card .dc-main { display: flex; flex-direction: column; justify-content: flex-end; flex: 1; color: inherit; text-decoration: none; }
.deck-card .dc-foot { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.deck-card .dc-foot form { margin: 0; }
.deck-card .dc-act { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3px; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; cursor: pointer; transition: border-color .15s, color .15s; }
.deck-card .dc-act:hover { border-color: var(--accent); color: var(--accent); }
.deck-card .dc-del:hover { border-color: var(--red, #E5484D); color: var(--red, #E5484D); }

@media (max-width: 860px) { .deck-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .deck-grid { grid-template-columns: 1fr; }
  .new-row { grid-template-columns: 1fr; }
  .new-wrap { padding: 40px 18px 60px; }
}

/* hero 3D experimental (?v3d=1): canvas ocupa el area del mock; fallback intacto */
.hero3d { position: relative; min-height: 420px; }
.hero3d canvas { display: block; width: 100%; height: 420px; }
.hero3d.is-on .deck-mock { display: none; }
@media (max-width: 520px) {
  .hero3d { min-height: 320px; }
  .hero3d canvas { height: 320px; }
}

/* ---- brand kit (logo del usuario) ---- */
.brand-kit { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 26px; }
.brand-kit h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.brand-kit p { margin: 0; font-size: 13px; color: var(--ink-soft); max-width: 520px; }
.bk-side { display: flex; align-items: center; gap: 14px; }
.bk-logo { max-height: 40px; max-width: 140px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; background: var(--paper); }
.bk-file { position: relative; overflow: hidden; cursor: pointer; }
.bk-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
@media (max-width: 560px) { .brand-kit { flex-direction: column; align-items: flex-start; } }

/* ---- producto real (shots) ---- */
.feat-row {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; align-items: center;
  margin-bottom: 64px;
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row.rev { grid-template-columns: 1.18fr .82fr; }
.feat-row.rev .feat-copy { order: 2; }
.feat-row.rev .shot-frame { order: 1; }
.feat-copy h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 0; line-height: 1.12; letter-spacing: -.015em; }
.feat-copy p { color: var(--ink-soft); font-size: 16.5px; margin: 12px 0 0; max-width: 40ch; line-height: 1.6; }
.shot-frame {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
  box-shadow: var(--edge), var(--shadow-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.shot-frame:hover { transform: translateY(-4px); box-shadow: var(--edge), var(--shadow-3); }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 5px); }
@media (max-width: 820px) {
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; gap: 22px; margin-bottom: 52px; }
  .feat-row.rev .feat-copy { order: 1; }
  .feat-row.rev .shot-frame { order: 2; }
}

/* ---- comparativa honesta ---- */
.vs-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--edge), var(--shadow-1); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; gap: 18px; align-items: center; padding: 16px 22px; }
.vs-head { border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.vs-head .vs-us { color: var(--accent); font-weight: 500; }
.vs-row { border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: 0; }
.vs-l { font-weight: 700; font-size: 15.5px; }
.vs-a { color: var(--ink-soft); font-size: 14.5px; }
.vs-a::before { content: "✕"; color: var(--line-strong); font-weight: 700; margin-right: 9px; }
.vs-b { font-size: 14.5px; }
.vs-b::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 9px; }
@media (max-width: 700px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 7px; padding: 15px 18px; }
  .vs-l { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
}

/* ---- hero vivo: input real + demo autogenerandose ---- */
.hero-go { display: flex; gap: 10px; flex: 1 1 100%; max-width: 480px; }
.hero-in {
  flex: 1; min-width: 0; font-family: var(--font-ui); font-size: 15.5px;
  padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  background: var(--card); color: var(--ink); box-shadow: var(--edge), var(--shadow-1);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.hero-in::placeholder { color: var(--ink-soft); opacity: .75; }
.hero-in:focus { outline: none; border-color: var(--accent); box-shadow: var(--edge), 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow-1); }
.hero-go .btn { white-space: nowrap; }
@media (max-width: 560px) { .hero-go { flex-direction: column; } .hero-go .btn { justify-content: center; } }

.demo-chip {
  position: absolute; top: -18px; left: -14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; max-width: 88%;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 8px 14px;
  box-shadow: var(--edge), var(--shadow-2);
}
.demo-chip .dc-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }
.demo-chip .dc-caret { width: 2px; height: 13px; background: var(--accent); animation: dcblink 1s steps(1) infinite; flex: none; }
@keyframes dcblink { 50% { opacity: 0; } }

/* zonas del mock que se "construyen" */
.deck-mock .m-eyebrow, .deck-mock .m-title, .deck-mock .m-k > * {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.deck-mock.building .m-eyebrow, .deck-mock.building .m-title, .deck-mock.building .m-k > * { opacity: 0; transform: translateY(8px); }
.deck-mock .m-bar { transform-origin: left; transition: transform .6s var(--ease); }
.deck-mock.building .m-bar { transform: scaleX(0); }
.m-funnel { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 18px; }
.m-funnel .m-f { height: 16px; border-radius: 4px; background: var(--accent); display: block; transform-origin: left; transition: transform .55s var(--ease); }
.m-funnel .f1 { width: 78%; }
.m-funnel .f2 { width: 54%; opacity: .75; }
.m-funnel .f3 { width: 32%; opacity: .5; }
.deck-mock.building .m-f { transform: scaleX(0); }
.m-stat { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.m-stat .m-num { font-family: var(--font-display); font-weight: 900; font-size: 54px; color: var(--accent); line-height: 1; }
.m-stat .m-lbl { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); max-width: 18ch; }
@media (prefers-reduced-motion: reduce) { .demo-chip .dc-caret { animation: none; } }

/* ═══ OPERACION COLOR (veredicto ciego vs Gamma: "plana, austera") ═══ */

/* arte editorial como capa del hero (se funde con el papel por la izquierda) */
.hero-art {
  position: absolute; top: 0; right: -4%; bottom: 0; width: 56%;
  object-fit: cover; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-art { opacity: .45; width: 90%; right: -18%; } }

/* hero mas grande y con chip de color */
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero .eyebrow {
  background: var(--ink); color: var(--paper, #F5EFE4);
  padding: 7px 14px; border-radius: var(--radius-pill); display: inline-block;
}

/* banda de TINTA: la comparativa como momento editorial oscuro */
.band-ink {
  background: var(--ink); color: #F5EFE4;
  --card: #231D16; --line: #3A3128; --line-strong: #4A4033;
  --ink: #F5EFE4; --ink-soft: #C9BCA8;
  border-top: 0; border-bottom: 0;
}
.band-ink .section-head .eyebrow { color: var(--gold); }
.band-ink .vs-b::before { color: #5BC4BD; }
.band-ink .vs-head .vs-us { color: #FF7A5C; }

/* banda BERMELLON: el CTA como cartel */
.cta-band { background: var(--accent); color: #F5EFE4; padding: 96px 0; }
.cta-band h2 { color: #F5EFE4; }
.cta-band .btn-primary {
  background: #F5EFE4; color: var(--ink); box-shadow: 0 10px 26px -10px rgba(23,19,15,.55);
}
.cta-band .btn-primary:hover { background: #FFFDF8; }
.cta-band .hero-note, .cta-band .cta-note { color: #FBD9CF; }

/* recortes Matisse en las why-cards (CSS puro, mata la homogeneidad) */
.why-card { position: relative; overflow: hidden; }
.why-card::before {
  content: ""; position: absolute; top: -18px; right: -18px; width: 74px; height: 74px;
  opacity: .16; transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.why-card:hover::before { transform: rotate(-10deg) scale(1.12); opacity: .3; }
.why-card:nth-child(1)::before { background: var(--accent); border-radius: 0 0 0 100%; }
.why-card:nth-child(2)::before { background: var(--teal); border-radius: 50%; }
.why-card:nth-child(3)::before { background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.why-card:nth-child(4)::before { background: var(--accent); border-radius: 100% 0 0 0; }
.why-card:nth-child(5)::before { background: var(--teal); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.why-card:nth-child(6)::before { background: var(--gold); border-radius: 0 100% 0 100%; }

/* cinta de prueba con rombos de color alternos */
.proof-item::before { content: "◆"; margin-right: 9px; font-size: 9px; vertical-align: 2px; }
.proof-item:nth-child(3n+1)::before { color: var(--accent); }
.proof-item:nth-child(3n+2)::before { color: var(--teal); }
.proof-item:nth-child(3n)::before { color: var(--gold); }

/* ---- hero: pelicula real del producto en marco de papel ---- */
.hero-video-frame {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--edge), var(--shadow-3);
  transform: rotate(.6deg);
  transition: transform .4s var(--ease);
}
.hero-video-frame:hover { transform: rotate(0deg) translateY(-3px); }
.hvf-bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 13px;
  border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.hvf-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hvf-bar span:nth-child(1) { background: var(--accent); }
.hvf-bar span:nth-child(2) { background: var(--gold); }
.hvf-bar span:nth-child(3) { background: var(--teal); }
.hvf-bar em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); }
.hero-video-frame video { display: block; width: 100%; height: auto; }
/* el mock cinematografico es el fallback universal; el 3D lo tapa al arrancar (.hero3d.is-on .deck-mock) */
.hero .mock-stack { display: block; }

/* ---- galeria de temas reales ---- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 8px 4px;
  box-shadow: var(--edge), var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gal-item:nth-child(odd) { transform: rotate(-.7deg); }
.gal-item:nth-child(even) { transform: rotate(.7deg); }
.gal-item:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--edge), var(--shadow-3); }
.gal-item img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) - 5px); }
.gal-item figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 7px 0 4px; }
.gal-note { text-align: center; margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---- sistema de emblemas (serie collage curada) ---- */
.step { position: relative; }
.step-art {
  width: 92px; height: 92px; display: block; margin-bottom: 14px;
  border-radius: 50%; border: 1px solid var(--line);
  box-shadow: var(--edge), var(--shadow-1); object-fit: cover;
  transition: transform .4s var(--ease);
}
.step:hover .step-art { transform: rotate(-6deg) scale(1.06); }
.empty-art {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); box-shadow: var(--edge), var(--shadow-1);
  display: block; margin: 0 auto 18px;
}

/* ============ ANTI-PLANTILLA R3-P0 (crítica del juicio ciego 11-jul) ============ */
/* Grano de papel sutil: coherente con el recorte Matisse. Nunca gradientes. */
.hero::after, .section.alt::after, .pullq::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.055'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.section.alt { position: relative; }
.section.alt > .container { position: relative; z-index: 1; }
.hero > .container { position: relative; z-index: 1; }

/* Pasos: zigzag con numerales gigantes que sangran y línea gestual detrás */
.steps { position: relative; align-items: start; padding-bottom: 92px; }
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 118px; height: 150px; z-index: 0; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 150' preserveAspectRatio='none'%3E%3Cpath d='M8 28 C 180 -18, 300 130, 452 96 S 760 30, 892 122' fill='none' stroke='%23E8452A' stroke-width='2.5' stroke-dasharray='7 9' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.step { position: relative; }
.step:nth-child(2) { transform: translateY(46px); }
.step:nth-child(3) { transform: translateY(92px); }
.step .n {
  position: absolute; top: -38px; left: -16px; z-index: 0;
  font-family: var(--font-display); font-weight: 900; font-size: 104px; line-height: 1;
  letter-spacing: -5px; color: color-mix(in srgb, var(--accent) 20%, transparent);
}
.step h3, .step p { position: relative; z-index: 1; }
.step-art { position: relative; z-index: 1; transform: rotate(-2.4deg); transition: transform .3s var(--ease); }
.step:nth-child(2) .step-art { transform: rotate(1.8deg); }
.step:nth-child(3) .step-art { transform: rotate(-1.2deg); }
.step:hover .step-art { transform: rotate(0deg); }

/* Por qué: mosaico asimétrico con tarjeta capitana en tinta */
.why-grid { grid-template-columns: 1.18fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); }
.why-card:first-child { grid-row: span 2; background: var(--ink); border-color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.why-card:first-child h3 { color: var(--paper); font-size: 27px; line-height: 1.12; }
.why-card:first-child p { color: color-mix(in srgb, var(--paper) 74%, transparent); font-size: 16.5px; }
.why-card:first-child .tag { background: var(--accent); }
.why-card:nth-child(4) { transform: rotate(-.55deg); }
.why-card:nth-child(5) { transform: rotate(.4deg); }
.why-card:nth-child(4):hover, .why-card:nth-child(5):hover { transform: rotate(0) translateY(-3px); }

/* Cita manifiesto: pico editorial que rompe la densidad uniforme */
.pullq { position: relative; padding: 96px 0 88px; overflow: visible; }
.pullq-inner { position: relative; z-index: 1; max-width: 880px; }
.pullq-mark {
  position: absolute; top: -74px; left: -30px; font-family: var(--font-display); font-weight: 900;
  font-size: 210px; line-height: 1; color: var(--accent); opacity: .92; pointer-events: none;
}
.pullq-text {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.16; letter-spacing: -.015em;
  color: var(--ink); margin: 0 0 0 9%; max-width: 21ch;
}
.pullq-attr { display: block; margin: 26px 0 0 9%; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }

/* Shots de producto: papel apoyado, no captura enmarcada perfecta */
.shot-frame { transform: rotate(-1.15deg); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feat-row.rev .shot-frame { transform: rotate(1deg); }
.feat-row:hover .shot-frame { transform: rotate(0deg) translateY(-4px); }

/* Trazo gestual bajo los h2 de sección */
.section-head h2::after {
  content: ""; display: block; width: 104px; height: 11px; margin-top: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 11'%3E%3Cpath d='M2 7 C 22 2, 46 9.5, 66 5 S 96 3, 102 6.5' fill='none' stroke='%23E8452A' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Degradación móvil: el zigzag y las rotaciones se pliegan con orden */
@media (max-width: 900px) {
  .steps { padding-bottom: 0; }
  .steps::before { display: none; }
  .step:nth-child(2), .step:nth-child(3) { transform: none; }
  .step .n { font-size: 68px; top: -24px; left: -6px; }
  .why-grid { grid-auto-rows: auto; }
  .why-card:first-child { grid-row: auto; }
  .why-card:nth-child(4), .why-card:nth-child(5) { transform: none; }
  .shot-frame, .feat-row.rev .shot-frame { transform: none; }
  .pullq { padding: 68px 0 60px; }
  .pullq-mark { font-size: 130px; top: -46px; left: -6px; }
  .pullq-text, .pullq-attr { margin-left: 0; }
}

/* ============ SPRINT ARTE-FIRST (11-jul): la landing es una portada ============ */
/* Hero de tinta con mural Matisse full-bleed; la película, protagonista sobre el arte */
.hero-ink { background: #17130F; }
.hero-art-ink {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 62% center; opacity: .96; mask-image: none; right: auto; transform: none;
}
.hero-ink::after { opacity: .7; }
.hero-ink .eyebrow { background: #C9371C; color: #FFF6EE; }
.hero-ink h1 { color: #F5EFE4; }
.hero-ink h1 .b { color: #FF6B4A; }
.hero-ink .hero-sub { color: rgba(245, 239, 228, .82); }
.hero-ink .hero-note { color: rgba(245, 239, 228, .62); }
.hero-ink .hero-in {
  background: rgba(245, 239, 228, .96); border-color: rgba(245, 239, 228, .35);
  color: #17130F;
}
.hero-ink .hero-in::placeholder { color: #5A4F44; }
.hero-ink .hero-in:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 69, 42, .28); }
.hero-ink .hero-video-frame { box-shadow: 0 34px 70px -28px rgba(0,0,0,.75), 0 0 0 1px rgba(245,239,228,.14); }
.hero-ink .mock-stack::before { background: rgba(245,239,228,.10); }
.hero-ink .mock-stack::after { background: rgba(245,239,228,.06); }

/* Banda mural: nuestro momento full-bleed. La cita vive en una etiqueta de papel. */
.pullq-mural { background: #17130F; padding: 0; overflow: hidden; }
.pullq-mural::after { opacity: .5; }
.mural-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pullq-mural .pullq-inner { padding: 120px 0 112px; max-width: none; }
.pullq-card {
  position: relative; max-width: 620px; background: #F5EFE4; color: #17130F;
  padding: 44px 46px 38px; border-radius: 6px; transform: rotate(-.7deg);
  box-shadow: 0 30px 60px -22px rgba(0,0,0,.7);
}
.pullq-mural .pullq-mark { top: -58px; left: 18px; font-size: 150px; color: var(--accent); }
.pullq-mural .pullq-text { margin: 26px 0 0; font-size: clamp(26px, 3.2vw, 38px); max-width: none; color: #17130F; }
.pullq-mural .pullq-attr { margin: 22px 0 0; color: #5A4F44; }

@media (max-width: 900px) {
  .hero-art-ink { object-position: 74% center; opacity: .5; }
  .pullq-mural .pullq-inner { padding: 76px 0 70px; }
  .pullq-card { max-width: none; margin: 0 4px; padding: 32px 24px 28px; transform: none; }
  .pullq-mural .pullq-mark { font-size: 100px; top: -40px; left: 8px; }
}

/* ============ SPRINT ARTE-FIRST it.2: profundidad + emblemas ============ */
/* Emblemas que se salen de la tarjeta: capa real, no icono plano */
.why-card { position: relative; }
.why-card .why-art {
  position: absolute; top: -34px; left: 18px; width: 96px; height: 96px;
  border-radius: 50%; object-fit: cover; transform: rotate(-4deg);
  box-shadow: 0 12px 26px -9px rgba(23,19,15,.4), 0 0 0 5px var(--paper), 0 0 0 8px var(--teal);
  transition: transform .3s var(--ease);
}
.why-card:nth-child(3) .why-art { box-shadow: 0 12px 26px -9px rgba(23,19,15,.4), 0 0 0 5px var(--paper), 0 0 0 8px var(--gold); }
.why-card:nth-child(4) .why-art { box-shadow: 0 12px 26px -9px rgba(23,19,15,.4), 0 0 0 5px var(--paper), 0 0 0 8px var(--ink); }
.why-card:nth-child(5) .why-art { box-shadow: 0 12px 26px -9px rgba(23,19,15,.4), 0 0 0 5px var(--paper), 0 0 0 8px var(--accent); }
.why-card .why-art + .tag ~ h3, .why-card .why-art ~ h3 { padding-top: 58px; }
.why-card:hover .why-art { transform: rotate(0deg) scale(1.06); }
.why-grid { margin-top: 44px; }

/* Shots como pila de hojas: profundidad de papel real */
.shot-frame { position: relative; }
.shot-frame::before, .shot-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  border: 1px solid var(--line);
}
.shot-frame::before { background: var(--paper-2); transform: rotate(1.7deg) translate(9px, 10px); }
.shot-frame::after  { background: #FFFFFF; transform: rotate(-2.6deg) translate(-7px, 6px); }
.feat-row:hover .shot-frame::before { transform: rotate(2.3deg) translate(12px, 13px); }
.feat-row:hover .shot-frame::after  { transform: rotate(-3.2deg) translate(-9px, 8px); }
.shot-frame::before, .shot-frame::after { transition: transform .35s var(--ease); }

/* Galería con vida: micro-rotaciones alternas y sombra que respira */
.gal-item:nth-child(odd) { transform: rotate(-.5deg); }
.gal-item:nth-child(even) { transform: rotate(.45deg); }
.gal-item { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.gal-item:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 22px 44px -18px rgba(23,19,15,.35); }

@media (max-width: 900px) {
  .why-card .why-art { width: 72px; height: 72px; top: -24px; left: 12px; } .why-card .why-art ~ h3 { padding-top: 44px; }
  .shot-frame::before, .shot-frame::after { display: none; }
  .gal-item:nth-child(odd), .gal-item:nth-child(even) { transform: none; }
}

/* Sección "un estilo para cada mensaje" — muestra la variedad de imágenes IA */
.section-lede { max-width: 60ch; margin: 12px auto 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; text-align: center; }
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.style-card { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--edge), var(--shadow-2); background: var(--card); transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s; }
.style-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.style-card figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 9px 6px 10px; }
.style-card:hover { transform: translateY(-6px); box-shadow: var(--edge), var(--shadow-3); }
@media (max-width: 900px) { .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .styles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .style-card figcaption { font-size: 10px; } }

/* Hero cinematográfico: covers IA reales de fondo en el mock, con velo para legibilidad */
.deck-mock.has-cine { overflow: hidden; }
.m-cine { position: absolute; inset: 0; z-index: 0; }
.m-cine .mc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.m-cine .mc-img.is-on { opacity: 1; }
.m-cine .mc-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,9,7,.78) 0%, rgba(12,9,7,.46) 46%, rgba(12,9,7,.14) 100%); }
.deck-mock.has-cine > div:not(.m-cine) { position: relative; z-index: 1; }
.deck-mock.has-cine .m-eyebrow { color: var(--gold); }
.deck-mock.has-cine .m-title { color: #F5EFE4; text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* Espectacularidad dark: glow cálido tras la escena 3D + hover cine en estilos */
html[data-app-theme="dark"] .hero3d::before {
  content: ""; position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 60% 42%, rgba(224,164,59,.16), rgba(232,69,42,.07) 55%, transparent 75%);
}
html[data-app-theme="dark"] .hero3d canvas { position: relative; z-index: 1; }
.style-card img { transition: transform .5s var(--ease); }
.style-card:hover img { transform: scale(1.06); }
html[data-app-theme="dark"] .deck-mock.has-cine { box-shadow: var(--edge), 0 24px 70px -18px rgba(0,0,0,.85), 0 0 60px -22px rgba(224,164,59,.25); }

/* Accesibilidad: enlace de salto (visible solo al tabular) + foco de teclado claro */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #FFF7F2; padding: 10px 18px; border-radius: 8px;
  font: 600 14px/1 var(--font-ui); text-decoration: none; transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; outline: 3px solid #FFF; outline-offset: 2px; }
:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
html[data-app-theme="dark"] :focus-visible { outline-color: var(--gold); }
/* no robar el foco de ratón a botones ya estilados, pero sí teclado */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
