/* ═══════════════════════════════════════════════════════════════
   Lafoy Media — Landing v3 — Main stylesheet
   Sistema visual: "Operator confidence meets editorial calm"
   Refs: Mercury Bank · Linear · Uplane · Vercel pricing · Stripe
   Mobile-first. Breakpoints: 320 / 768 / 1024 / 1440
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset mínimo ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── A11y ─────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: white;
  padding: 8px 20px; border-radius: var(--radius-md);
  z-index: 9999; font-weight: var(--fw-semibold);
  transition: top var(--dur-base);
}
.skip-link:focus { top: 16px; outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ── Layout primitives ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}
.container--narrow { max-width: var(--container-narrow); }

section {
  padding-block: var(--space-4xl);
}
.section--subtle { background: var(--bg-subtle); }

/* Section headers */
.section-header {
  margin-bottom: var(--space-3xl);
}
.section-header--center {
  text-align: center;
}
.section-header h2 {
  margin-bottom: var(--space-md);
}
.section-header__sub {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  max-width: 640px;
  line-height: var(--lh-snug);
}
.section-header--center .section-header__sub {
  margin-inline: auto;
}

/* ── Typography helpers ───────────────────────────────────────── */
h1, h2, h3 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { line-height: var(--lh-base); color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-faint-aa);
  margin-bottom: var(--space-md);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ── Buttons — pills Mercury/Linear style ─────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: 44px;
  padding-inline: var(--space-lg);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  border: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { height: 36px; padding-inline: var(--space-md); font-size: 13px; }

.btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(232, 98, 42, 0.25);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--dark {
  background: var(--text);
  color: white;
  border-color: var(--text);
}
.btn--dark:hover {
  background: #000;
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.btn--dark:active { transform: translateY(0); }

.btn--secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover { border-color: var(--border-strong); }

.btn--ghost {
  background: transparent;
  color: var(--text-soft);
}
.btn--ghost:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

/* ── Cards base ───────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.card:hover { box-shadow: var(--shadow-md); }

/* ── Chip ──────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  background: var(--bg-subtle);
  color: var(--text-soft);
}
.chip--iterate { background: var(--iterate-tint); color: var(--iterate); }
.chip--scale   { background: var(--scale-tint);   color: var(--scale); }
.chip--pause   { background: var(--pause-tint);   color: var(--pause); }
.chip--accent  { background: var(--accent-tint);  color: var(--accent-deep); }

/* ═══════════════════════════════════════════════════════════════
   1. NAV — sticky, blur on scroll
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 250, 0.85);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur-base) var(--ease-standard),
    -webkit-backdrop-filter var(--dur-base) var(--ease-standard),
    backdrop-filter var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.nav.scrolled {
  border-color: var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo strong { font-weight: var(--fw-bold); }
.nav__logo span   { font-weight: var(--fw-medium); color: var(--text-soft); }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-soft);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__link:hover { color: var(--accent); }

/* Login + CTA group at the right */
.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav__link--login {
  display: none;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .nav__link--login { display: inline-flex; }
}

/* Mobile nav: hide links, show only logo + CTA */
@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   2. HERO — split 55/45 desktop, 1 col mobile
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-3xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: var(--space-3xl);
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.hero__copy .eyebrow { margin-bottom: 0; }

.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: var(--fw-semibold);
  line-height: 1.05;
  letter-spacing: var(--ls-tight);
  color: var(--text);
}

.hero__sub {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  line-height: var(--lh-snug);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Trust strip */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.hero__trust-text {
  font-size: 14px;
  color: var(--text-soft);
  white-space: nowrap;
}
.hero__trust-text .mono { font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   3. DECISION CARD — lite / full / compact variants
   ═══════════════════════════════════════════════════════════════ */
.decision-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 440px;
}

/* Semantic left-border colors */
.decision-card[data-decision="iterate"] { border-left-color: var(--iterate); }
.decision-card[data-decision="scale"]   { border-left-color: var(--scale); }
.decision-card[data-decision="pause"]   { border-left-color: var(--pause); }
.decision-card[data-decision="wait"]    { border-left-color: var(--wait); }

/* Demo label */
.decision-card__demo-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.decision-card__demo-label .eyebrow {
  margin-bottom: 0;
  font-size: 10px;
  color: var(--text-faint-aa);
  letter-spacing: 0.08em;
}

/* Header */
.decision-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.decision-card__header .chip { align-self: flex-start; }

.decision-card__title {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text);
  line-height: var(--lh-snug);
  /* override h3 defaults */
  font-size: 14px;
  letter-spacing: 0;
}

.decision-card__meta {
  font-size: 12px;
  color: var(--text-faint-aa);
  font-family: var(--font-mono);
}

/* Body DL */
.decision-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.decision-card__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.decision-card__field dt.eyebrow {
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.decision-card__field dd {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Actions */
.decision-card__actions {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border);
}

/* Disabled state for demo buttons */
.decision-card__actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Compact variant (numbered steps) */
.decision-card--compact {
  max-width: 100%;
  gap: var(--space-sm);
  padding: 14px 16px;
}
.decision-card--compact .decision-card__header {
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.decision-card--compact .decision-card__title {
  font-size: 13px;
}

/* Inline field for compact */
.decision-card__field-inline {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.decision-card__field-inline .eyebrow {
  margin-bottom: 0;
  display: inline;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════
   4. HERO TRUST — already defined above in hero section
   ═══════════════════════════════════════════════════════════════ */

/* === Cleanup Sprint 2: removed stat-row, product-cards, conversation, bento-grid, marquee === */

/* ═══════════════════════════════════════════════════════════════
   15. CASES GRID — 3 cols desktop, 1 col mobile
   ═══════════════════════════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}

.case-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.case-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.case-card__client {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--text);
}

.case-card__before,
.case-card__after {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-card__before .eyebrow,
.case-card__after .eyebrow {
  margin-bottom: 0;
  font-size: 10px;
}

.case-card__metric {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: 1.1;
}
.case-card__metric--good { color: var(--scale); }

.case-card__action {
  font-size: 13px;
  color: var(--text-soft);
  line-height: var(--lh-snug);
  flex: 1;
}

/* ═══════════════════════════════════════════════════════════════
   16. SOURCE BADGE — chip with Lucide icon
   ═══════════════════════════════════════════════════════════════ */
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  background: var(--bg-subtle);
  color: var(--text-soft);
  align-self: flex-start;
  margin-top: auto;
}
.source-badge--auto  { background: rgba(251, 191, 36, 0.12); color: #92400E; }
.source-badge--audit { background: rgba(167, 139, 250, 0.12); color: #5B21B6; }
.source-badge--human { background: var(--bg-subtle); color: var(--text-soft); }

/* === Cleanup Sprint 2: removed testimonial === */

/* ═══════════════════════════════════════════════════════════════
   18. BIG QUOTE — competitive statement block
   ═══════════════════════════════════════════════════════════════ */
.big-quote {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--text);
  text-align: center;
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════════════
   19. PILLARS — 3 col cards grid
   ═══════════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pillar .eyebrow { margin-bottom: 0; }
.pillar h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

/* ═══════════════════════════════════════════════════════════════
   20. SECURITY GRID — 4 cols desktop, 2 tablet, 1 mobile
   ═══════════════════════════════════════════════════════════════ */
.security {
  padding-block: var(--space-3xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 480px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .security-grid { grid-template-columns: repeat(4, 1fr); }
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.security-item__icon {
  color: var(--text-faint-aa);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-item p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: var(--lh-snug);
}
.security-item p strong {
  color: var(--text);
  font-weight: var(--fw-semibold);
}

/* ═══════════════════════════════════════════════════════════════
   21. FAQ — details/summary custom styling
   ═══════════════════════════════════════════════════════════════ */
.faq {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; }

.faq__item summary:hover { color: var(--accent); }

/* Chevron icon via pseudo-element */
.faq__item summary::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--dur-base) var(--ease-standard);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(180deg);
}

.faq__item > p {
  padding-bottom: var(--space-lg);
  font-size: var(--fs-body);
  color: var(--text-soft);
  line-height: var(--lh-base);
}

/* ═══════════════════════════════════════════════════════════════
   22. CTA FINAL — centered card
   ═══════════════════════════════════════════════════════════════ */
.cta-final {
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.cta-final .eyebrow { margin-bottom: 0; }

.cta-final h2 {
  font-size: clamp(24px, 4vw, 40px);
  max-width: 520px;
}

.cta-final__sub {
  font-size: var(--fs-body-lg);
  color: var(--text-soft);
  max-width: 480px;
  line-height: var(--lh-snug);
}

/* ═══════════════════════════════════════════════════════════════
   23. FORM — stack vertical
   ═══════════════════════════════════════════════════════════════ */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 440px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field__label {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text);
}

.form-field input,
.form-field select {
  height: 44px;
  padding-inline: var(--space-sm);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-fast) var(--ease-standard);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form .btn--primary {
  width: 100%;
  height: 48px;
  font-size: var(--fs-body);
}

.form__note {
  font-size: 13px;
  color: var(--text-faint-aa);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   24. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: var(--space-3xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
    align-items: start;
    gap: var(--space-2xl);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-faint-aa);
  max-width: 240px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint-aa);
  margin-bottom: 4px;
}

.footer__nav a {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-soft);
  transition: color var(--dur-fast) var(--ease-standard);
}
.footer__nav a:hover { color: var(--accent); }

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__meta { align-items: flex-end; }
}

.footer__meta a {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-soft);
  transition: color var(--dur-fast) var(--ease-standard);
}
.footer__meta a:hover { color: var(--text); }

.footer__meta .mono {
  font-size: 13px;
  color: var(--text-faint-aa);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES — mobile < 768px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  section { padding-block: var(--space-3xl); }

  /* Hero */
  .hero { padding-top: var(--space-3xl); }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  /* El texto de confianza puede envolver en pantallas muy angostas (evita clipping) */
  .hero__trust-text { white-space: normal; }

  /* Detrás del telón: el padding propio (96px) es excesivo en mobile.
     section.behind-curtain (0,1,1) para ganarle a la regla base posterior. */
  section.behind-curtain { padding-block: var(--space-2xl); }

  /* Product cards: ensure no overflow */
  .product-card { padding: 24px; }

  /* Conversation block */
  .conversation-block { padding: 20px; }

  /* Footer: links con área táctil cómoda (≥40px) en mobile */
  .footer__nav a { display: inline-block; padding-block: 9px; }
}

/* Very small screens */
@media (max-width: 375px) {
  .btn { height: 44px; padding-inline: var(--space-md); }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   CAPABILITY GRID — 4 cards "qué hacen los agentes"
   ═══════════════════════════════════════════════════════════════ */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .capability-grid { grid-template-columns: 1fr; }
}

.capability {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}
.capability__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}
.capability h3 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.capability p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   DIFF GRID — 3 items "diferencia técnica"
   ═══════════════════════════════════════════════════════════════ */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .diff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.diff-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
}
.diff-item h3 {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.diff-item p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING TIERS — 3 cards (Starter / Growth featured / Scale)
   ═══════════════════════════════════════════════════════════════ */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-2xl) var(--space-xl);
}

.pricing-tier--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-tier__badge {
  position: absolute;
  top: -10px;
  right: var(--space-xl);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pricing-tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--space-xs) 0;
}
.pricing-tier__amount {
  font-size: 36px;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-tier__period {
  font-size: 15px;
  color: var(--text-faint-aa);
}
.pricing-tier__cap {
  font-size: 13px;
  color: var(--text-faint-aa);
  margin-bottom: var(--space-sm);
}

.pricing-tier__features {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}
.pricing-tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.pricing-tier__features li::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8622A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-tier__cta {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 14px;
  color: var(--text-faint-aa);
}

/* ═══════════════════════════════════════════════════════════════
   POSITIONING AUTHOR
   ═══════════════════════════════════════════════════════════════ */
.positioning-author {
  text-align: center;
  margin-top: var(--space-md);
  color: var(--text-faint-aa);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   BRAND POLISH — orb hero, cards fantasma, brand mark, dark frame
   ═══════════════════════════════════════════════════════════════ */

/* Hero: orb naranjo blurreado en background, mesh sutil */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(232, 98, 42, 0.12) 0%, rgba(232, 98, 42, 0) 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(232, 98, 42, 0.06) 0%, rgba(232, 98, 42, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* Hero visual: stack effect — cards fantasma detrás de la decision card */
.hero__visual {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.hero__visual::before,
.hero__visual::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: -1;
  pointer-events: none;
}
.hero__visual::before {
  inset: 18px -16px -16px 16px;
  transform: rotate(2deg);
  opacity: 0.6;
}
.hero__visual::after {
  inset: 32px -32px -32px 32px;
  transform: rotate(4deg);
  opacity: 0.35;
}
.hero__visual .decision-card {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* Mobile: deshabilitar stack para no romper el grid */
@media (max-width: 768px) {
  .hero__visual::before,
  .hero__visual::after { display: none; }
}

/* Brand mark — punto naranjo decorativo (heredado del logo) */
.brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 2px;
}

/* Variación: sección "diferencia técnica" con frame oscuro */
.section--dark {
  background: #0F0F11;
  color: var(--card);
}
.section--dark h2,
.section--dark h3 { color: var(--card); }
.section--dark p { color: rgba(255, 255, 255, 0.7); }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.55); }
.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.section--dark .card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Big quote — mejor jerarquía */
.big-quote {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: var(--fw-medium);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  text-align: center;
  margin-block: var(--space-2xl);
  padding-inline: var(--space-md);
  position: relative;
}
.big-quote::before,
.big-quote::after {
  content: '"';
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.4;
  font-size: 1.4em;
  line-height: 1;
}
.big-quote::before { margin-right: 4px; }
.big-quote::after  { margin-left: 4px; }

/* ═══════════════════════════════════════════════════════════════
   NUMBERED STEPS — "Detectar. Decidir. Actuar." (Linear pattern)
   Re-agregado en Sprint 2b con MÁS respiración.
   ═══════════════════════════════════════════════════════════════ */
.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}
@media (min-width: 900px) {
  .numbered-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}

.numbered-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.numbered-step__num {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}

.numbered-step h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.numbered-step > p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}

.numbered-step .decision-card--compact {
  margin-top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════════
   SPRINT 2 — Type pairing editorial + signature mark
   ═══════════════════════════════════════════════════════════════ */

/* Serif accent en H1 — patrón Granola/editorial */
.hero__title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--accent-deep);
  letter-spacing: -0.015em;
}

/* Brand mark: el punto naranjo del logo "lafoy media." como accent recurrente */
.brand-dot {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.25em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
  position: relative;
  top: -0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   SPRINT 2 — Hero stream card (money shot)
   ═══════════════════════════════════════════════════════════════ */
.stream-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.stream-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.stream-card__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scale);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.stream-card__title {
  font-weight: var(--fw-semibold);
  color: var(--text);
  flex: 1;
}
.stream-card__meta {
  color: var(--text-faint-aa);
  font-size: 12px;
}

.stream-card__feed {
  /* Altura FIJA — sin layout shift cuando entran/salen líneas */
  height: 240px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0, black 24px, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 24px, black 100%);
}
.stream-card__feed-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
}

.stream-line {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  border-top: 1px solid rgba(228, 228, 231, 0.5);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 360ms var(--ease-standard), transform 360ms var(--ease-standard);
  height: 56px;
  flex-shrink: 0;
}
.stream-line.is-entering {
  opacity: 0;
  transform: translateY(8px);
}
.stream-line.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}
.stream-line:first-child { border-top: none; }

.stream-line__time {
  color: var(--text-faint-aa);
  font-size: 11px;
  min-width: 38px;
}
.stream-line__chip {
  font-size: 9px;
  padding: 2px 6px;
  min-width: 56px;
  justify-content: center;
}
.stream-line__text {
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}

.stream-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}
.stream-card__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.stream-card__stat-label {
  font-size: 11px;
  color: var(--text-faint-aa);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--fw-semibold);
}
.stream-card__stat-value {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text);
}
.stream-card__divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   SPRINT 2 — Sección "Detrás del telón" + dashboard mockup
   ═══════════════════════════════════════════════════════════════ */
.behind-curtain {
  padding-block: var(--space-4xl);
  background: var(--bg-subtle);
}

.dashboard-mock {
  margin: var(--space-2xl) auto 0;
  max-width: 1100px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transform: perspective(2400px) rotateX(2deg);
  transform-origin: center top;
}

.dashboard-mock__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.dashboard-mock__dots {
  display: flex;
  gap: 6px;
}
.dashboard-mock__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dashboard-mock__url {
  font-size: 12px;
  color: var(--text-faint-aa);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: var(--space-xs);
}

.dashboard-mock__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 360px;
}
@media (max-width: 768px) {
  .dashboard-mock__body { grid-template-columns: 1fr; min-height: 0; }
  /* Aplanar el tilt 3D en mobile: se ve mejor recto en pantalla chica */
  .dashboard-mock { transform: none; margin-top: var(--space-xl); }
  /* (0,2,0) para ganarle al padding base posterior */
  .dashboard-mock .dashboard-mock__main { padding: 18px 16px; }
}
@media (max-width: 640px) {
  /* El sidebar es chrome decorativo; en mobile ocupa ~456px y empuja el
     contenido valioso (KPI + decision cards) fuera de pantalla. Se oculta.
     Selector (0,2,0) para ganarle al display:flex base posterior. */
  .dashboard-mock .dashboard-mock__sidebar { display: none; }
}

.dashboard-mock__sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.dashboard-mock__brand {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: pre;
}
.dashboard-mock__brand-accent {
  color: var(--accent);
  font-weight: 800;
}

.dashboard-mock__nav-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-mock__nav-label {
  font-size: 10px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint-aa);
  margin-bottom: 4px;
}
.dashboard-mock__nav-item {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: default;
}
.dashboard-mock__nav-item.is-active {
  background: var(--card);
  color: var(--text);
  font-weight: var(--fw-semibold);
  border-left: 2px solid var(--accent-soft);
  padding-left: 8px;
}

.dashboard-mock__main {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.dashboard-mock__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint-aa);
}
.dashboard-mock__crumb--active {
  color: var(--text);
  font-weight: var(--fw-semibold);
}
.dashboard-mock__crumb-sep { opacity: 0.5; }

.dashboard-mock__hero-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-mock__kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint-aa);
  font-weight: var(--fw-semibold);
}
.dashboard-mock__kpi-value {
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.dashboard-mock__kpi-delta {
  font-size: 12px;
  color: var(--scale);
  font-weight: var(--fw-semibold);
}

.dashboard-mock__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 640px) {
  .dashboard-mock__cards { grid-template-columns: 1fr; }
}
.dashboard-mock__decision {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--iterate);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.dashboard-mock__decision--scale { border-left-color: var(--scale); }
.dashboard-mock__decision--pause { border-left-color: var(--pause); }
.dashboard-mock__decision-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}
.dashboard-mock__decision-actions {
  display: flex;
  gap: 6px;
}
.dashboard-mock__btn {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-soft);
}
.dashboard-mock__btn--primary {
  background: var(--accent);
  color: white;
}

.behind-curtain__notes {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  font-size: 13px;
  color: var(--text-soft);
}
@media (max-width: 768px) {
  .behind-curtain__notes { grid-template-columns: 1fr; }
}
.behind-curtain__notes li {
  padding-left: 16px;
  border-left: 2px solid var(--accent-soft);
  line-height: 1.5;
}
.behind-curtain__notes strong {
  color: var(--text);
  font-weight: var(--fw-semibold);
}

/* ═══════════════════════════════════════════════════════════════
   SPRINT 2 — Big quote con serif accent (refinement)
   ═══════════════════════════════════════════════════════════════ */
.big-quote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-optical-sizing: auto;
}

/* Mobile adjustments para stream-card */
@media (max-width: 768px) {
  .stream-card { max-width: 100%; }
  .stream-card__feed { min-height: 200px; }
  .stream-line { grid-template-columns: auto 1fr; gap: 6px; padding: 8px 14px; font-size: 12px; }
  .stream-line__chip { grid-column: 1 / 2; grid-row: 1; }
  .stream-line__time { grid-column: 1 / 2; grid-row: 1; min-width: auto; }
  .stream-line__text { grid-column: 1 / -1; grid-row: 2; }
}

/* ──────────────────────────────────────────────────────────
   Mobile menu (portado desde v2 para soportar partial nav canonico)
   Hotfix post-refactor unificacion · 2026-05-28
   Variables: usa tokens v3 (--bg, --text, --accent, --border, etc.)
   ────────────────────────────────────────────────────────── */

/* Burger: oculto en desktop, visible en mobile */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-standard);
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__burger { display: flex; }
}

/* Mobile menu overlay: oculto por defecto, visible sólo con .is-open */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(24, 24, 27, 0.97);   /* --text equivalente, oscuro para contraste */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.mobile-menu__link {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--dur-base) var(--ease-standard);
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__cta {
  margin-top: var(--space-sm);
  font-size: var(--fs-body-lg);
}

/* ═══════════════════════════════════════════════════════════════
   Reduced motion handled globally in tokens.css
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   Logo + btn-primary/btn-sm (portados desde v2 para partial nav)
   Hotfix · 2026-05-28
   ────────────────────────────────────────────────────────── */

/* .accent — helper de color (ya puede existir en algunos contexts, se define aquí como fallback) */
.accent { color: var(--accent); }

/* Logo — usado en nav.html y footer.html como <a class="logo"> */
.logo { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.logo-lafoy { color: var(--text); }
.logo-media { color: var(--accent); }

/* btn-primary / btn-sm — single-dash aliases para partial nav (el partial usa estas clases,
   NO las variantes BEM .btn--primary / .btn--sm que ya existen arriba) */
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(232, 98, 42, 0.25);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-sm { height: 36px; padding-inline: var(--space-md); font-size: 13px; }

/* footer__social — icono social en footer.html (ausente en v3, sí existe en v2) */
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-faint-aa);
  transition: color var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.footer__social:hover { color: var(--text); background: var(--bg-subtle); }
.footer__social svg { width: 16px; height: 16px; }

/* Header: link de login agrupado a la derecha junto al CTA. Oculto en mobile (vive en el menú burger). */
.nav__login{display:none;font-family:var(--font-sans);font-size:14px;font-weight:600;color:var(--text-soft);text-decoration:none;margin-left:auto;white-space:nowrap;transition:color .15s;}
.nav__login:hover{color:var(--text);}
@media (min-width: 768px){ .nav__login{ display:inline-flex; } }
