/* Página de presentación de Táchalo: papel, rotulador y tinta. Columnas que se apilan en el móvil. */
:root {
  --paper: #fff6ef;
  --card: #ffffff;
  --ink: #2b1610;
  --muted: #7d5e52;
  --coral: #e5532d;
  --butter: #ffd36b;
  --dash: #ecd2c4;
  --font: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 800; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); padding: calc(10px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 10px max(20px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.wm-sm { font-family: var(--font); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; position: relative; display: inline-block; line-height: 1; }
.wm-sm::after { content: ""; position: absolute; left: -2px; right: -3px; top: 54%; height: 5px; background: var(--coral); border-radius: 4px; transform: rotate(-4deg); }
.wm-sm span { position: relative; z-index: 1; }
.ghost-link { font-family: var(--font); font-weight: 800; text-decoration: none; border: 2px solid var(--ink); border-radius: 12px; padding: 7px 14px; background: var(--card); box-shadow: 2px 2px 0 var(--ink); font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; background: var(--coral); color: #fff; font-family: var(--font); font-weight: 800; font-size: 17px; padding: 13px 20px; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .1s; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); border: 2px solid var(--ink); }
.btn.big { font-size: 19px; padding: 16px 24px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.small { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 56px 40px; }
.kicker { font-family: var(--font); font-weight: 700; color: var(--coral); margin: 0 0 14px; font-size: 16px; }
.hero h1 { font-size: clamp(50px, 9vw, 92px); font-weight: 800; }
.lead { font-size: clamp(18px, 2.2vw, 21px); margin: 20px 0 26px; max-width: 34ch; }
.hero-art { position: relative; justify-self: center; }
.phone { width: min(310px, 78vw); border: 3px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--ink); }
.phone.tilt { transform: rotate(3deg); }
.stamp { position: absolute; font-family: var(--font); font-weight: 800; color: var(--coral); border: 3px solid var(--coral); background: var(--paper); border-radius: 10px; padding: 2px 10px; font-size: 22px; transform: rotate(-12deg); box-shadow: 3px 3px 0 var(--ink); }
.stamp.s1 { left: -34px; top: 30%; }
.stamp.s2 { right: -24px; bottom: 16%; transform: rotate(9deg); }

.video-sec { padding-block: 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.video-sec video { width: min(360px, 90vw); aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); background: var(--ink); }

.feat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-block: 48px; border-top: 2px dashed var(--dash); }
.feat.rev { grid-template-columns: auto minmax(0, 1fr); }
.feat.rev .feat-txt { order: 2; }
.feat-txt p { font-size: 18px; max-width: 46ch; margin: 16px 0 0; }
.feat .phone { width: min(280px, 72vw); justify-self: center; }
.tag { display: inline-block; font-family: var(--font); font-weight: 800; font-size: 14px; background: var(--ink); color: var(--paper); border-radius: 8px; padding: 3px 10px; margin-bottom: 14px; transform: rotate(-2deg); }

.trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-block: 40px; }
.chip { font-family: var(--font); font-weight: 800; background: var(--butter); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; box-shadow: 2px 2px 0 var(--ink); }

.install { padding-block: 48px; }
.install h2 { text-align: center; margin-bottom: 28px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; gap: 12px; }
.card ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.card p { margin: 0; }
.card .btn { align-self: flex-start; margin-top: auto; }
.qr-card { align-items: center; text-align: center; }
.qr { background: #fff; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; min-width: 204px; min-height: 204px; display: grid; place-items: center; }
.url { font-family: var(--font); font-weight: 800; font-size: 18px; }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 4px 4px 0 var(--ink); } 30% { box-shadow: 0 0 0 6px var(--butter), 4px 4px 0 var(--ink); } }

.faq { padding-block: 40px; max-width: 760px; }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 2px dashed var(--dash); padding: 14px 0; }
summary { font-family: var(--font); font-weight: 800; font-size: 19px; cursor: pointer; }
details p { margin: 8px 0 0; color: var(--muted); }

.final { text-align: center; padding-block: 56px 72px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.foot { border-top: 2px solid var(--ink); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-block: 36px 24px; gap: 36px; }
  .hero-art { margin-bottom: 10px; }
  .feat, .feat.rev { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .feat.rev .feat-txt { order: 0; }
  .stamp.s1 { left: -12px; }
  .stamp.s2 { right: -8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .flash { animation: none; } }
