/* EscribIQ — página de producto en Tierra Firme Labs. Usa los tokens y estilos base de Labs (../css). */
.p-hero { display: flex; gap: 56px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 96px 56px 64px; }
.p-hero-text { flex: 1; }
.p-hero .eyebrow-stamp { font-family: var(--font-stamp); text-transform: uppercase; letter-spacing: var(--tracking-stamp); font-size: var(--text-xs); color: var(--clay-500); margin-bottom: 16px; }
.p-hero h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; color: var(--text-strong); margin: 0 0 20px; }
.p-hero h1 em { font-style: normal; color: var(--clay-500); }
.p-hero p.lead { font-size: 1.15rem; line-height: 1.6; color: var(--text-body); margin: 0 0 28px; max-width: 520px; }
.p-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-ghost { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: var(--radius-full); border: 1.5px solid var(--border); color: var(--text-strong); text-decoration: none; font-weight: var(--weight-semibold); font-size: var(--text-md); }
.btn-ghost:hover { border-color: var(--clay-500); color: var(--clay-500); }
.p-hero-shots { flex: 0 0 460px; position: relative; height: 480px; }
.p-hero-shots .pc { position: absolute; right: 0; top: 0; width: 420px; height: 330px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,.10); }
.p-hero-shots .phone { position: absolute; left: 0; bottom: 0; width: 190px; height: 400px; border-radius: 28px; overflow: hidden; border: 6px solid var(--stone-900); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.p-hero-shots img, .shots img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Capturas claro / oscuro según el tema de la página */
.sh-dark { display: none !important; }
html.dark .sh-light { display: none !important; }
html.dark .sh-dark { display: block !important; }

.p-section { max-width: 1128px; margin: 0 auto; padding: 56px 0; }
.p-section .section-head { margin-bottom: 28px; }
.p-sub { color: var(--text-muted); margin: -16px 0 28px; font-size: 1.02rem; }

/* Antes / después */
.ej { display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 16px; align-items: stretch; }
.ej-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.ej-card .lbl { font-family: var(--font-stamp); font-size: 11px; letter-spacing: var(--tracking-stamp); text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; display: block; }
.ej-card p { margin: 0; line-height: 1.55; color: var(--text-strong); }
.ej-card.antes p { color: var(--text-body); font-style: italic; }
.ej-card.ok { border-color: var(--clay-300); }
.ej-card.ok .lbl { color: var(--clay-600); }
.ej-arrow { display: flex; align-items: center; color: var(--clay-500); font-size: 26px; }

/* Funciones */
.fx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fx-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 20px; }
.fx-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--clay-50); color: var(--clay-600); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
html.dark .fx-card .ic { background: rgba(245,134,52,.14); }
.fx-card h4 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 6px; color: var(--text-strong); }
.fx-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.extras span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--radius-full); background: var(--chip-bg); color: var(--text-body); font-size: 13.5px; }

/* Capturas */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots .frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 900 / 1000; background: var(--surface); }
.shots figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }

/* Cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.paso { padding: 22px 20px; border-top: 2px solid var(--clay-500); }
.paso::before { counter-increment: paso; content: counter(paso); font-family: var(--font-display); font-size: 2.2rem; color: var(--clay-500); display: block; margin-bottom: 6px; }
.paso h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--text-strong); }
.paso p { margin: 0; font-size: 14px; color: var(--text-body); line-height: 1.5; }

/* Privacidad */
.priv { display: flex; gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 36px; }
.priv .big { font-size: 46px; }
.priv h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 10px; color: var(--text-strong); }
.priv ul { margin: 0; padding-left: 18px; color: var(--text-body); line-height: 1.7; }

/* Planes */
.planes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { border-radius: var(--radius-lg); padding: 28px 28px 26px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.plan.emp { background: var(--clay-50); border: 1.5px dashed var(--clay-300); }
html.dark .plan.emp { background: rgba(245,134,52,.08); }
.plan .chip { align-self: flex-start; margin-bottom: 12px; }
.plan h3 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 6px; color: var(--text-strong); }
.plan > p { margin: 0 0 16px; color: var(--text-body); }
.plan .opciones { display: flex; gap: 12px; margin-bottom: 18px; }
.plan .op { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.plan .op b { display: block; color: var(--text-strong); }
.plan .op span { font-size: 13px; color: var(--text-muted); }
.plan ul { margin: 0 0 20px; padding-left: 18px; color: var(--text-body); line-height: 1.7; }
.plan .precio { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.plan .btn-primary, .plan .btn-ghost { align-self: flex-start; margin-top: auto; }

/* Cierre */
.cierre { text-align: center; padding: 72px 24px 80px; }
.cierre h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; color: var(--text-strong); }
.cierre p { color: var(--text-muted); margin: 0 0 26px; }
.cierre .p-cta { justify-content: center; }
.cierre .mailline { margin-top: 22px; font-size: 14px; color: var(--text-muted); }
.cierre .mailline a { color: var(--clay-600); text-decoration: none; font-weight: 600; }

@media (max-width: 860px) {
  .p-hero { flex-direction: column; padding: 64px 24px 40px; gap: 36px; }
  .p-hero-shots { flex: none; width: 100%; height: 400px; }
  .p-hero-shots .pc { width: 78%; height: 240px; }
  .p-hero-shots .phone { width: 150px; height: 300px; }
  .p-section { padding: 40px 24px; }
  .ej { grid-template-columns: 1fr; } .ej-arrow { justify-content: center; transform: rotate(90deg); }
  .fx, .pasos, .planes, .shots { grid-template-columns: 1fr; }
  .fx { grid-template-columns: 1fr 1fr; }
  .priv { flex-direction: column; text-align: center; padding: 26px 22px; } .priv ul { text-align: left; }
  .plan .opciones { flex-direction: column; }
}
