/* /producto — public landing page. Extends /static/styles.css's tokens
   and shared components (btn-primary, input styling, .grain, .auth-glow,
   @keyframes fade-up/glow-pulse) — this file only adds page-specific
   layout, not a fork of the design system. */

/* ---------- nav ---------- */
.producto-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 13, 14, 0.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.producto-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.producto-nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.producto-nav-brand .auth-mark-glyph { width: 30px; height: 30px; font-size: 1rem; }
.producto-nav-brand h1 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--paper); margin: 0; }
.producto-nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.86rem; flex-wrap: wrap; }
.producto-nav-links a:not(.btn-primary) { color: var(--ink-soft); text-decoration: none; }
.producto-nav-links a:not(.btn-primary):hover { color: var(--gold); }
.producto-nav-links .btn-primary { padding: 0.5rem 1.1rem; font-size: 0.84rem; }
.producto-login-link { color: var(--ink-faint); font-size: 0.82rem; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- shared section rhythm ---------- */
.producto-section { padding: 5rem 1.5rem; }
.producto-section-alt { background: var(--bg-elevated); }
.producto-section-inner { max-width: 1000px; margin: 0 auto; }
.producto-kicker {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem; text-align: center;
}
.producto-h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600;
  text-align: center; margin: 0 0 0.75rem; color: var(--paper);
}
.producto-lead {
  text-align: center; color: var(--ink-soft); font-size: 1.02rem; max-width: 640px;
  margin: 0 auto 3rem; line-height: 1.65;
}

/* scroll-triggered reveal (IntersectionObserver adds .in-view — see producto.js) */
.reveal { opacity: 0; }
.reveal.in-view { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ---------- hero ---------- */
.producto-hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem 4rem; text-align: center;
}
.producto-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.producto-hero .producto-kicker { justify-content: center; }
.producto-hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.08; margin: 0 0 1.1rem; color: var(--paper);
}
.producto-hero h1 em { font-style: italic; color: var(--gold-bright); }
.producto-hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 540px; margin: 0 auto 2.25rem; line-height: 1.6; }
.producto-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.producto-hero .btn-secondary-link { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; align-self: center; font-size: 0.94rem; }
.producto-hero .btn-secondary-link:hover { color: var(--gold); }

/* ---------- value cards ---------- */
.producto-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.producto-card {
  background: var(--bg-raised); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1.75rem 1.5rem;
}
.producto-card-icon { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); margin-bottom: 0.75rem; }
.producto-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--paper); }
.producto-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* ---------- steps ---------- */
.producto-steps { display: flex; flex-direction: column; gap: 0; }
.producto-step {
  display: flex; gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--rule);
}
.producto-step:first-child { border-top: none; }
.producto-step-num {
  flex: 0 0 auto; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600; font-size: 0.9rem;
}
.producto-step-body h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.35rem; color: var(--paper); }
.producto-step-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; line-height: 1.55; }

/* ---------- pricing ---------- */
.producto-toggle-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; font-size: 0.9rem; }
.producto-toggle-row span { color: var(--ink-faint); }
.producto-toggle-row span.active { color: var(--paper); font-weight: 600; }
.producto-toggle {
  position: relative; width: 46px; height: 26px; border-radius: 20px;
  background: var(--bg-inset); border: 1px solid var(--rule-strong); cursor: pointer; padding: 0;
}
.producto-toggle-knob {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); transition: transform 0.2s ease;
}
.producto-toggle[aria-checked="true"] .producto-toggle-knob { transform: translateX(20px); }
.producto-toggle-savings {
  display: inline-block; margin-left: 0.4rem; font-size: 0.76rem; color: var(--good);
  background: var(--good-soft); padding: 0.15em 0.55em; border-radius: 3px;
}

.producto-pricing-table { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--bg-raised); }
.producto-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--rule);
}
.producto-price-row:first-child { border-top: none; }
.producto-price-label { font-family: var(--serif); font-size: 1.02rem; color: var(--paper); }
.producto-price-detail { font-size: 0.84rem; color: var(--ink-faint); margin-top: 0.2rem; }
.producto-price-amount { font-family: var(--mono); font-size: 1.1rem; color: var(--gold-bright); font-weight: 600; white-space: nowrap; }
.producto-pricing-note { text-align: center; color: var(--ink-faint); font-size: 0.86rem; margin-top: 1.5rem; }

/* ---------- legal ---------- */
.producto-legal {
  border-left: 3px solid var(--gold); background: var(--accent-soft); border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7;
}
.producto-legal p { margin: 0 0 1rem; }
.producto-legal p:last-child { margin-bottom: 0; }

/* ---------- contact / lead form ---------- */
.producto-contact-inner { max-width: 560px; margin: 0 auto; }
.producto-contact-card { background: var(--bg-raised); border: 1px solid var(--rule); border-radius: 6px; padding: 2rem; }
#lead-success { text-align: center; padding: 1rem 0; }
#lead-success .producto-card-icon { font-size: 1.8rem; }

/* ---------- footer ---------- */
.producto-footer { padding: 2.5rem 1.5rem; text-align: center; border-top: 1px solid var(--line); }
.producto-footer p { color: var(--ink-faint); font-size: 0.82rem; max-width: 560px; margin: 0 auto; }

@media (max-width: 800px) {
  .producto-cards { grid-template-columns: 1fr; }
  .producto-nav-links { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none; }
}
