/* Página comercial: el reloj checador como protagonista, el resto en calma */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.band { background: var(--sheet); border-block: 1px solid var(--rule); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 750; font-stretch: 108%; margin-bottom: 14px; max-width: 22ch; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Barra ---------- */
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: 6px; }
.bar nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: var(--r-s); }
.bar nav a:not(.btn):hover { color: var(--ink); }
.bar .btn { min-height: 42px; padding: 6px 14px; }
@media (max-width: 880px) { .bar nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .bar nav .btn.line { display: none; } }

/* ---------- Hero (centrado, inspirado en plantillas de app: mucho aire y el producto al frente) ---------- */
section.wrap { padding: 80px 20px; }
.hero { max-width: 1160px; margin: 0 auto; padding: 64px 20px 40px; text-align: center; display: grid; justify-items: center; }
.countdown { font-weight: 650; color: var(--in); margin-bottom: 18px; background: var(--in-soft); padding: 6px 14px; border-radius: 999px; }
.countdown strong { font-stretch: 125%; font-weight: 800; font-size: 1.2em; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 800; font-stretch: 104%; line-height: 1.02; letter-spacing: -0.025em; max-width: 19ch; text-wrap: balance; margin-bottom: 20px; }
.hero .lead { margin: 0 auto; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.big-cta { min-height: 56px; padding: 12px 24px; font-size: 1.05rem; }

/* Escenario: fondo verde suave con perforaciones de tarjeta, teléfono al centro */
.stage {
  position: relative; width: 100%; margin-top: 56px; border-radius: 32px; overflow: hidden;
  min-height: 560px; display: grid; place-items: end center; padding-top: 48px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--in) 14%, transparent) 2px, transparent 2.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--in-soft), color-mix(in srgb, var(--in-soft) 40%, var(--paper)));
}
.phone {
  position: relative; z-index: 2; width: 300px; height: 540px; margin-bottom: -40px; border-radius: 46px; background: #10191C; padding: 12px;
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--ink) 60%, transparent);
}
.notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #10191C; z-index: 3; }
.screen { height: 100%; border-radius: 36px; background: #EEF3F1; padding: 56px 18px 18px; text-align: center; color: #142126; display: grid; align-content: start; gap: 8px; overflow: hidden; }
.ph-co { font-weight: 800; font-size: .8rem; text-align: left; margin-top: -20px; }
.ph-date { font-size: .78rem; color: #4A5D63; }
.ph-clock { font-stretch: 125%; font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -.03em; }
.ph-clock small { font-size: .35em; color: #4A5D63; vertical-align: .9em; }
.ph-lens { width: 96px; height: 96px; margin: 6px auto; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #C9D8D3 22%, #9DB3AC 23% 34%, transparent 35%), radial-gradient(circle at 50% 110%, #9DB3AC 45%, #D5E3DE 46%); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #CFDDD8; }
.ph-tags { display: flex; gap: 6px; justify-content: center; }
.ph-tags i { font-style: normal; font-size: .66rem; font-weight: 700; color: #0F5B49; background: #D3EBE3; padding: 3px 8px; border-radius: 999px; }
.ph-btn { margin-top: 6px; background: #0F5B49; color: #fff; border-radius: 16px; padding: 14px 10px; font-weight: 800; font-stretch: 112%; font-size: 1.1rem; display: grid; gap: 2px; box-shadow: 0 4px 0 #083D31; }
.ph-btn small { font-weight: 500; font-size: .62rem; font-stretch: 100%; opacity: .85; }
.ph-h { text-align: left; font-weight: 700; font-size: .85rem; margin-top: 8px; }
.ph-card { display: flex; justify-content: space-between; background: #E2EFEA; border-radius: 10px; padding: 10px 12px; font-size: .85rem; }
.ph-card b { font-stretch: 125%; color: #0F5B49; }

.punchcard { position: absolute; z-index: 3; right: max(4%, calc(50% - 470px)); bottom: 70px; width: 300px; text-align: left;
  padding: 18px 18px 14px 32px; transform: rotate(3deg); background: var(--sheet); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ink) 45%, transparent); }
.punchcard::before { left: 12px; }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.punchcard .row-line > span:last-child { display: flex; gap: 12px; }
.punchcard .stamp { font-size: 1.1rem; }
.pc-foot { display: flex; justify-content: flex-end; padding-top: 10px; }
.seal { font-weight: 800; font-stretch: 118%; color: var(--in); border: 2.5px solid currentColor; border-radius: 8px; padding: 4px 10px; transform: rotate(-4deg); font-size: .9rem; }
.verify-chip { position: absolute; z-index: 3; left: max(4%, calc(50% - 460px)); top: 110px; background: var(--sheet); border-radius: 16px; padding: 14px 18px; text-align: left; display: grid; gap: 2px; transform: rotate(-3deg);
  box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--ink) 45%, transparent); }
.verify-chip b { color: var(--in); font-stretch: 112%; }
.verify-chip span { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .stage { min-height: 520px; }
  .punchcard { right: 50%; translate: 50% 0; bottom: 18px; width: min(300px, 86%); transform: rotate(2deg); }
  .verify-chip { display: none; }
  .phone { margin-bottom: 120px; transform: scale(.86); transform-origin: bottom center; }
}
/* Un solo momento animado: las checadas se estampan al cargar */
.punchcard .row-line .stamp { animation: land .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.s1 .stamp:first-child { animation-delay: .3s; } .s1 .stamp:last-child { animation-delay: .45s; }
.s2 .stamp:first-child { animation-delay: .6s; } .s2 .stamp:last-child { animation-delay: .75s; }
.s3 .stamp:first-child { animation-delay: .9s; } .s3 .stamp:last-child { animation-delay: 1.05s; }
.s4 .stamp:first-child { animation-delay: 1.2s; } .s4 .stamp:last-child { animation-delay: 1.35s; opacity: .35; }
.seal { animation: land-seal .55s 1.6s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes land { from { transform: scale(1.9) rotate(-8deg); opacity: 0; } to { opacity: 1; } }
@keyframes land-seal { from { transform: scale(1.9) rotate(-12deg); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }

/* ---------- La ley ---------- */
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.facts div:first-child { border-top: 1px dashed var(--rule); }
.facts dt { font-weight: 800; font-stretch: 115%; color: var(--in); }
.facts dd { margin: 0; }

/* ---------- Calculadora ---------- */
.calc { display: grid; gap: 28px; background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(24px, 5vw, 48px); }
.calc h2 { color: var(--paper); }
.calc .quiet { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.calc .field > span { color: var(--paper); font-size: 1rem; }
.calc output { font-stretch: 125%; font-weight: 800; font-size: 1.3em; }
.calc input[type=range] { accent-color: var(--warn); padding: 0; border: 0; background: transparent; min-height: 40px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; align-items: center; } }
.calc-out { display: grid; gap: 12px; }
.calc-row { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-m); }
.calc-row strong { font-stretch: 120%; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.1; }
.bad-row { background: color-mix(in srgb, var(--bad) 30%, var(--ink)); }
.good-row { background: color-mix(in srgb, #4CC3A0 22%, var(--ink)); }
@media (prefers-color-scheme: dark) { .calc { background: #1E3A41; } }

/* ---------- Pasos ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 40px; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding: 24px; background: var(--paper); border-radius: 24px; }
.steps li::before { content: counter(s); font-stretch: 125%; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--in); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.channels { display: grid; gap: 14px; }
@media (min-width: 800px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channels div { padding: 4px 0 4px 16px; border-left: 2px solid var(--rule); }

/* ---------- Prueba ---------- */
.proof { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .proof { grid-template-columns: 1.2fr .8fr; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 9px; border-left: 3px solid var(--in); border-bottom: 3px solid var(--in); transform: rotate(-45deg); }
.verify-card { background: var(--in-soft); border-radius: var(--r-l); padding: 28px; display: grid; gap: 8px; }
.verify-ok { font-stretch: 120%; font-weight: 800; font-size: 1.6rem; color: var(--in); line-height: 1.15; }

/* ---------- Precios ---------- */
.plans { display: grid; gap: 16px; margin: 28px 0 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--paper); border: 1.5px solid var(--rule); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.plan.pick { border-color: var(--in); background: var(--card); }
.plan h3 { font-size: 1.2rem; }
.price strong { font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; margin-right: 4px; }
.plan ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* ---------- Piloto ---------- */
.pilot { display: grid; gap: 32px; }
@media (min-width: 900px) { .pilot { grid-template-columns: 1fr 1fr; align-items: start; } }
.panel-form { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 24px; }
.form-pair { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Pie ---------- */
.foot { background: var(--sheet); border-top: 1px solid var(--rule); padding: 40px 0 90px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr 1.4fr; } }
.foot nav { display: grid; gap: 6px; }
.foot nav a { color: var(--ink); }
