/* ─────────────────────────────────────────────────────────────────
   Kommuna — landing site styles (2026 refresh)

   Brand (alineado al Brand Book v1.0 / KommunaBrand):
   - Violeta primario  #6F5DBB — guest / resident / sitio público
   - Violeta profundo  #3F2D78 — Kommuna Ops / acento admin
   - Owner accent      #C7704A — propietarios
   - Inter para body, pesos 700/800 para display
   - Vibes Linear / Stripe / Vercel — sombras suaves, sin gradientes pesados
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Paleta principal — violeta KommunaBrand.primary */
  --primary: #6F5DBB;
  --primary-600: #5A48A6;
  --primary-700: #3F2D78;
  --primary-50: #F4F1FB;
  --primary-100: #E7E1F4;
  --primary-glow: #8B7FCB;

  /* Acento admin — violeta profundo KommunaBrand.opsPrimary */
  --admin: #3F2D78;
  --admin-50: #EEEAF6;
  --admin-100: #D9D0EB;

  /* Acento propietarios — terracota cálido */
  --owner: #C7704A;
  --owner-50: #FBF1EC;
  --owner-100: #F4DBCC;

  /* Neutros */
  --ink: #0F172A;        /* títulos */
  --ink-soft: #334155;   /* texto body */
  --muted: #64748B;      /* descripciones */
  --line: #E2E8F0;       /* bordes y dividers */
  --line-soft: #F1F5F9;  /* hover/separators muy suaves */
  --surface: #FFFFFF;
  --surface-alt: #FAFAFB;
  --bg: #FFFFFF;

  /* Estados semánticos */
  --success: #16A34A;
  --warning: #D97706;
  --error: #DC2626;

  /* Spacing — múltiplos de 4 */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;
  --sp-4xl: 80px;
  --sp-5xl: 120px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Tipografía */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

/* Skip-to-content para usuarios de teclado/screen reader */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Foco visible accesible */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Tipografía ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-weight: 800; font-size: clamp(2.25rem, 4.5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--ink-soft); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

section { padding: var(--sp-4xl) 0; }

@media (max-width: 768px) {
  section { padding: var(--sp-3xl) 0; }
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-xl);
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-logo svg { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta { display: inline-flex; align-items: center; gap: var(--sp-sm); }

@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: var(--sp-md); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-600); }

.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink-soft); }

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

.btn-admin {
  background: var(--admin);
  color: white;
}
.btn-admin:hover { background: #1D4ED8; }

.btn-lg {
  padding: 14px 22px;
  font-size: 0.98rem;
}

.btn .btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}
.btn:hover .btn-arrow { transform: translateX(2px); }

/* ── Eyebrow / section headers ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-md);
}

.eyebrow.eyebrow-admin { color: var(--admin); }
.eyebrow.eyebrow-owner { color: var(--owner); }

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-md);
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
  font-size: 1.05rem;
  color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

.section-header .eyebrow { display: inline-flex; }

/* ── Hero ── */
.hero {
  padding: var(--sp-4xl) 0 var(--sp-3xl);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-3xl);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
}

.hero h1 {
  margin-bottom: var(--sp-lg);
  color: var(--ink);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: var(--sp-xl);
  max-width: 540px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

.hero-fine {
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
}

.hero-fine svg { color: var(--success); }

/* Mock screenshot card que vive en el lado derecho del hero */
.hero-mock {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.hero-mock-toolbar {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-md);
  border-bottom: 1px solid var(--line);
  margin: calc(var(--sp-md) * -1) calc(var(--sp-md) * -1) var(--sp-md);
}

.hero-mock-toolbar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.hero-mock-toolbar i:nth-child(1) { background: #FCA5A5; }
.hero-mock-toolbar i:nth-child(2) { background: #FCD34D; }
.hero-mock-toolbar i:nth-child(3) { background: #86EFAC; }

.hero-mock-toolbar span {
  margin-left: var(--sp-md);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.hero-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md);
  border-radius: var(--r-sm);
  background: white;
  border: 1px solid var(--line);
  margin-bottom: var(--sp-sm);
  font-size: 0.88rem;
}

.hero-mock-row strong { color: var(--ink); font-weight: 600; }
.hero-mock-row small { color: var(--muted); font-size: 0.78rem; }

.hero-mock-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-600);
}
.hero-mock-chip.is-ok { background: #DCFCE7; color: #15803D; }
.hero-mock-chip.is-warn { background: #FEF3C7; color: #B45309; }

/* ── Trust strip ── */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2xl) 0;
  background: var(--surface-alt);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  text-align: center;
}

.trust-text {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 640px;
}

.trust-flag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

/* ── Feature sections (admin / resident / board) ── */
.audience-section {
  position: relative;
}

.audience-admin { background: var(--admin-50); }
.audience-resident { background: white; }
.audience-board { background: var(--primary-50); }
.audience-owner {
  background: var(--owner-50);
  border-top: 1px solid var(--owner-100);
  border-bottom: 1px solid var(--owner-100);
}

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

@media (max-width: 960px) {
  .audience-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }
}

.audience-grid.reverse > div:first-child { order: 2; }
@media (max-width: 960px) {
  .audience-grid.reverse > div:first-child { order: 0; }
}

.audience-grid h2 {
  text-align: left;
  margin-bottom: var(--sp-md);
}

.audience-grid .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}

.feature-list {
  display: grid;
  gap: var(--sp-md);
  list-style: none;
  padding: 0;
}

/* Visual showcase — community photo backdrop con overlay para legibilidad */
.showcase {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(135deg, rgba(15, 12, 41, 0.72), rgba(48, 43, 99, 0.6)),
    url('/photos/community-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--sp-xxxl) var(--sp-lg);
  color: #fff;
  text-align: center;
}

.showcase--residential {
  background-image:
    linear-gradient(135deg, rgba(20, 30, 48, 0.7), rgba(36, 59, 85, 0.5)),
    url('/photos/residential-row.jpg');
}

.showcase--night {
  background-image:
    linear-gradient(135deg, rgba(10, 10, 30, 0.8), rgba(40, 20, 60, 0.6)),
    url('/photos/building-night.jpg');
}

.showcase-inner {
  max-width: 720px;
}

.showcase h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 var(--sp-md);
  letter-spacing: -0.01em;
}

.showcase p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.55;
  margin: 0;
}

.showcase .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: var(--sp-md);
}

/* Roadmap section (Próximamente — Bloque contable) — grid responsive */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-lg);
  padding-top: var(--sp-lg);
}

.roadmap-disclaimer {
  text-align: center;
  margin-top: var(--sp-xl);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section-flush-top {
  padding-top: 0;
}

.cta-actions--center {
  justify-content: center;
}

.showcase .cta-actions {
  margin-top: var(--sp-xl);
}

.section-header--gap {
  margin-top: var(--sp-3xl);
}

.feature-item {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  padding: var(--sp-md);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon.is-admin { background: var(--admin-100); color: var(--admin); }
.feature-icon.is-owner { background: var(--owner-100); color: var(--owner); }

.feature-icon svg { width: 18px; height: 18px; }

.feature-text strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feature-text span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mock card que acompaña a cada audiencia */
.audience-mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.audience-mock h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: var(--sp-md);
  font-weight: 600;
}

.audience-mock .mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.audience-mock .mock-row:last-child { border-bottom: none; }

.audience-mock .mock-row strong { color: var(--ink); font-weight: 600; }
.audience-mock .mock-row small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

.mock-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-600);
}
.mock-chip.is-ok { background: #DCFCE7; color: #15803D; }
.mock-chip.is-warn { background: #FEF3C7; color: #B45309; }
.mock-chip.is-admin { background: var(--admin-100); color: var(--admin); }

/* Phone mock (residente) */
.phone-mock {
  max-width: 280px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.phone-mock-screen {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  padding: var(--sp-lg);
}

.phone-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
}

.phone-mock-header h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.phone-mock-header span {
  font-size: 0.72rem;
  color: var(--muted);
}

.phone-mock-card {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.phone-mock-card strong { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 600; }
.phone-mock-card small { color: var(--muted); font-size: 0.78rem; }

.phone-mock-card.is-warn {
  background: #FEF3C7;
  border-color: #FDE68A;
}

.phone-mock-card.is-ok {
  background: #DCFCE7;
  border-color: #BBF7D0;
}

/* ── Pricing teaser (en index) ── */
.pricing-teaser {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

.tiers-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .tiers-grid,
  .tiers-grid--2col { grid-template-columns: 1fr; }
}

.tier {
  display: flex;
  flex-direction: column;
  padding: var(--sp-xl);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
}

.tier.is-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(111, 93, 187, 0.15);
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: var(--sp-xl);
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tier-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-price {
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
  letter-spacing: -0.02em;
}
.tier-price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.tier-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
  min-height: 42px;
}

.tier ul { list-style: none; flex: 1; margin-bottom: var(--sp-lg); }

.tier li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: var(--sp-sm);
  line-height: 1.5;
}

.tier li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background-color: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

.tier-disclaimer {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  font-size: 0.88rem;
  color: var(--primary-600);
  text-align: center;
  margin-top: var(--sp-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.tier-disclaimer strong { color: var(--primary-600); }

/* ── FAQ ── */
.faq {
  max-width: 720px;
  margin: var(--sp-2xl) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-lg) 0;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  gap: var(--sp-md);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin-top: var(--sp-md);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.faq-item a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--ink);
  padding: var(--sp-3xl) var(--sp-xl);
  border-radius: var(--r-lg);
  text-align: center;
  color: white;
  margin-bottom: var(--sp-3xl);
}

@media (max-width: 600px) {
  .cta-banner { padding: var(--sp-2xl) var(--sp-lg); }
}

.cta-banner h2 {
  color: white;
  margin-bottom: var(--sp-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: var(--sp-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: white;
  color: var(--ink);
}
.cta-banner .btn-primary:hover { background: var(--primary-50); color: var(--primary-600); }

.cta-banner .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-banner .btn-ghost:hover { color: white; border-color: rgba(255, 255, 255, 0.5); }

.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
}

/* ── Pricing page specific ── */
.pricing-hero {
  text-align: center;
  padding: var(--sp-4xl) 0 var(--sp-2xl);
}

.pricing-hero h1 { margin-bottom: var(--sp-md); }

.pricing-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto var(--sp-lg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-includes {
  margin-top: var(--sp-3xl);
}

.includes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg) var(--sp-xl);
  margin-top: var(--sp-2xl);
  list-style: none;
}

@media (max-width: 768px) {
  .includes-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .includes-list { grid-template-columns: 1fr; }
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.includes-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  background-color: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M13.854 3.646a.5.5 0 010 .708l-7 7a.5.5 0 01-.708 0l-3.5-3.5a.5.5 0 11.708-.708L6.5 10.293l6.646-6.647a.5.5 0 01.708 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── Signup form ── */
.signup {
  max-width: 540px;
  margin: 0 auto;
}

.signup-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: var(--sp-2xl);
}

.signup-card-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.signup-card-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--sp-sm);
}

.signup-card-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-lg);
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: white;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(111, 93, 187, 0.16);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--sp-xs);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.signup-cta {
  width: 100%;
  margin-top: var(--sp-sm);
}

.signup-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: var(--sp-md);
  line-height: 1.5;
}

.signup-disclaimer a { color: var(--primary); text-decoration: underline; }

.signup-perks {
  list-style: none;
  margin-top: var(--sp-lg);
  display: grid;
  gap: var(--sp-sm);
}
.signup-perks li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.signup-perks svg { color: var(--success); }

/* ── Thanks ── */
.thanks {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  padding: var(--sp-4xl) var(--sp-xl);
}

.thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-xl);
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-icon svg { width: 32px; height: 32px; }

.thanks h1 { margin-bottom: var(--sp-md); }

.thanks-next {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  text-align: left;
  margin: var(--sp-xl) 0;
}

.thanks-next h2 {
  text-align: left;
  font-size: 1rem;
  margin-bottom: var(--sp-md);
}

.thanks-next ol {
  margin-left: var(--sp-lg);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  margin-bottom: var(--sp-md);
}

.footer-brand svg { color: white; }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  line-height: 1.55;
}

.footer h4 {
  font-size: 0.78rem;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
  font-weight: 600;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: var(--sp-sm); }

.footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer a:hover { color: white; }

.footer-bottom {
  margin-top: var(--sp-xl);
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.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;
}

/* ─────────────────────────────────────────────────────────────────
   Refresh 2026-05 — animaciones scroll, stores, screenshots reales,
   hero glow, stats counters, sección owner.
   ───────────────────────────────────────────────────────────────── */

/* Hero screenshot — imagen real reemplazando el mock */
.hero-screenshot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  background: white;
}
.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero glow de fondo — radial gradient sutil */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(111, 93, 187, 0.18), rgba(111, 93, 187, 0));
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}
.hero > .container { position: relative; z-index: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(199, 112, 74, 0.12), rgba(199, 112, 74, 0));
  z-index: 0;
  pointer-events: none;
  filter: blur(30px);
}

/* Scroll-reveal: aparece al entrar al viewport */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* Stats strip — números grandes que dan peso al hero */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  padding: var(--sp-2xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl) var(--sp-md); }
}
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary-700);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* Screenshot real embebido dentro de phone-mock (sin pantalla blanca) */
.phone-mock--with-screenshot .phone-mock-screen {
  padding: 0;
  background: transparent;
}
.phone-mock-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
}

/* Audience mock con screenshot real adentro */
.audience-mock--screenshot {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.audience-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
  background: white;
}
.audience-screenshot--phone {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 44px;
  overflow: hidden;
  filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.22));
}
.audience-screenshot--phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* ── Stores section (App Store / Play Store) ── */
.stores {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary) 70%, var(--primary-glow) 100%);
  color: white;
  padding: var(--sp-4xl) 0;
  position: relative;
  overflow: hidden;
}
.stores::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.stores > .container { position: relative; z-index: 1; }
.stores-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-3xl);
  align-items: center;
}
@media (max-width: 900px) {
  .stores-grid { grid-template-columns: 1fr; text-align: center; }
}
.stores h2 {
  color: white;
  margin-bottom: var(--sp-md);
}
.stores p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: var(--sp-xl);
}
@media (max-width: 900px) {
  .stores p { margin-left: auto; margin-right: auto; }
}
.stores .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.store-badges {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .store-badges { justify-content: center; }
}
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 12px 20px 12px 18px;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.store-badge svg {
  width: 28px;
  height: 28px;
  color: white;
  flex-shrink: 0;
}
.store-badge-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-badge-label small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.store-badge-label strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.store-badge .coming-soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--owner);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Stores phone gallery — 2 phones lado a lado */
.stores-phones {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
}
.stores-phones .phone-mock {
  background: transparent;
  padding: 0;
  border-radius: 36px;
  overflow: hidden;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
  box-shadow: none;
  max-width: 240px;
}
.stores-phones .phone-mock .phone-mock-screen {
  border-radius: inherit;
}
.stores-phones .phone-mock:nth-child(1) {
  transform: rotate(-6deg) translateX(20px);
  z-index: 1;
}
.stores-phones .phone-mock:nth-child(2) {
  transform: rotate(6deg) translateX(-20px);
  z-index: 2;
}

/* Sales CTA inline (banner secundario hablá con ventas) */
.sales-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-lg);
  align-items: center;
  padding: var(--sp-xl) var(--sp-2xl);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: var(--sp-xl);
}
@media (max-width: 768px) {
  .sales-cta { grid-template-columns: 1fr; text-align: center; }
}
.sales-cta h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.sales-cta p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* Floating logos / brand strip más limpio */
.feature-list--owner .feature-icon { background: var(--owner-50); color: var(--owner); }

/* Hero highlight para palabras en el H1 */
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Audience-owner section background override */
.audience-owner .feature-icon { background: var(--owner-50); color: var(--owner); }

/* Hero CTAs ghost cuando hay dos botones */
.hero .btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}
.hero .btn-ghost:hover { border-color: var(--ink-soft); }

/* Pulse en el primer CTA del hero — atrae el ojo */
@keyframes kommuna-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 93, 187, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(111, 93, 187, 0); }
}
.btn-pulse {
  animation: kommuna-pulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
}

/* Testimonios — grid de 2 columnas con cards limpias */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}
@media (max-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: 0.35;
}
.testimonial-text {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin: 0;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.testimonial-meta strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-meta small {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Sección técnica colapsada al final — para el lector curioso/CTO */
.tech-deep {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--sp-3xl) 0;
}
.tech-deep .section-title {
  color: white;
}
.tech-deep .section-lead {
  color: rgba(255, 255, 255, 0.65);
}
.tech-deep .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}
.tech-deep details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-lg) 0;
}
.tech-deep details:last-child { border-bottom: none; }
.tech-deep summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}
.tech-deep summary::-webkit-details-marker { display: none; }
.tech-deep summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary-glow);
  font-weight: 400;
  line-height: 1;
}
.tech-deep details[open] summary::after { content: "\2212"; }
.tech-deep details p {
  margin-top: var(--sp-md);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.tech-deep .tech-wrap {
  max-width: 760px;
  margin: var(--sp-xl) auto 0;
}

/* Quote / testimonial pre-launch (sin testimonios reales todavía,
   usamos quote de visión del producto) */
.quote {
  background: var(--ink);
  color: white;
  border-radius: var(--r-lg);
  padding: var(--sp-3xl) var(--sp-2xl);
  margin: var(--sp-3xl) auto;
  max-width: 880px;
  text-align: center;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 6rem;
  line-height: 1;
  color: var(--primary-glow);
  font-family: Georgia, serif;
  opacity: 0.5;
}
.quote-text {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  color: white;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}
.quote-author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.quote-author strong { color: white; font-weight: 600; }

/* Nav scroll state — sombra cuando scrolleas */
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Mobile nav drawer trigger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-burger svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
  .nav-burger { display: inline-flex; }
  .nav-links.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-md) var(--sp-xl) var(--sp-lg);
    gap: var(--sp-md);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .nav-links.is-open a:not(.btn) {
    display: block;
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   LPM (Landing Page Minimal) — 2026-06 refresh
   Refresco minimalista: menos texto, más aire, foco en CTA.
   ───────────────────────────────────────────────────────────────── */

.lp-minimal {
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.lpm-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

/* Hero */
.lpm-hero {
  padding: clamp(64px, 12vw, 120px) 0 clamp(40px, 8vw, 80px);
  text-align: center;
}
.lpm-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}
.lpm-hero-title .accent {
  color: var(--primary);
}
.lpm-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto var(--sp-2xl);
  line-height: 1.5;
}
.lpm-hero-cta {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3xl);
}
.lpm-hero-shot {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}
.lpm-hero-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18),
              0 8px 20px -10px rgba(15, 23, 42, 0.08);
}

/* Secciones */
.lpm-section {
  padding: clamp(72px, 10vw, 120px) 0;
}
.lpm-section-alt {
  background: var(--surface-alt);
}
.lpm-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-3xl);
  text-align: center;
}

/* Grid de features (6 cards) */
.lpm-grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-xl);
}
.lpm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  transition: border-color 180ms ease, transform 180ms ease;
}
.lpm-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.lpm-card-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
  line-height: 1;
}
.lpm-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.01em;
}
.lpm-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Personas grid (4 cards) */
.lpm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-lg);
}
.lpm-persona {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
}
.lpm-persona-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--sp-md);
}
.tag-admin { background: var(--admin-50); color: var(--admin); }
.tag-board { background: var(--primary-50); color: var(--primary-700); }
.tag-resident { background: var(--primary-50); color: var(--primary); }
.tag-guest { background: var(--owner-50); color: var(--owner); }
.lpm-persona p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Trust strip */
.lpm-trust {
  padding: var(--sp-2xl) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.lpm-trust-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  margin: 0;
}
.lpm-trust-line strong {
  color: var(--ink);
  font-weight: 600;
}

/* Showcase con imagen + overlay */
.lpm-showcase {
  position: relative;
  height: clamp(360px, 50vw, 560px);
  overflow: hidden;
}
.lpm-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lpm-showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.35) 60%,
    rgba(15, 23, 42, 0.1) 100%
  );
}
.lpm-showcase-quote {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 560px;
  margin: 0;
}

/* Final CTA */
.lpm-final {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
  background: var(--surface);
}
.lpm-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.lpm-final p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: var(--sp-2xl);
}
.lpm-final-cta {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}
/* Contacto directo visible debajo del CTA — David pidió que hola@kommuna.app
   se vea claro, no solo escondido en el footer. */
.lpm-final-contact {
  margin-top: var(--sp-xl);
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.lpm-final-contact a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-100);
  transition: border-color 0.15s ease;
}
.lpm-final-contact a:hover {
  border-bottom-color: var(--primary);
}

/* Footer */
.lpm-footer {
  padding: var(--sp-2xl) 0;
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}
.lpm-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-xl);
  justify-content: space-between;
}
.lpm-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.lpm-footer-links {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--muted);
  font-size: 0.9rem;
}
.lpm-footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.lpm-footer-links a:hover {
  color: var(--primary);
}
.lpm-footer-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-md);
}

/* Hero con acento morado más prominente */
.lpm-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(111, 93, 187, 0.18) 0%,
      rgba(111, 93, 187, 0.06) 40%,
      transparent 70%),
    linear-gradient(180deg, var(--primary-50) 0%, var(--surface) 60%);
  position: relative;
  overflow: hidden;
}
.lpm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(111, 93, 187, 0.12) 0%, transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(111, 93, 187, 0.10) 0%, transparent 30%);
  pointer-events: none;
}
.lpm-hero > * {
  position: relative;
  z-index: 1;
}
.lpm-hero-title {
  color: var(--ink);
}
.lpm-hero-title .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

/* Eyebrows / section heads */
.lpm-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-3xl);
}
.lpm-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--sp-md);
}
.lpm-section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: var(--sp-md);
  line-height: 1.55;
}

/* Hero refinado */
.lpm-hero-badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--sp-xl);
  letter-spacing: 0.01em;
}
.lpm-hero-microcopy {
  margin-top: var(--sp-lg);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Personas — bullets internos */
.lpm-persona h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.lpm-persona-bullets {
  list-style: none;
  margin-top: var(--sp-md);
  padding: 0;
}
.lpm-persona-bullets li {
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding: 6px 0 6px 20px;
  position: relative;
  border-top: 1px solid var(--line-soft);
}
.lpm-persona-bullets li:first-child {
  border-top: none;
}
.lpm-persona-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Steps */
.lpm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-xl);
  counter-reset: step;
}
.lpm-step {
  padding: var(--sp-xl);
  border-left: 2px solid var(--primary-100);
  position: relative;
}
.lpm-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--sp-md);
}
.lpm-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.lpm-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Detail sections (text + image) */
.lpm-detail {
  padding: clamp(72px, 10vw, 110px) 0;
  background: var(--surface);
}
.lpm-detail:nth-of-type(even) {
  background: var(--surface-alt);
}
.lpm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
.lpm-detail-flip .lpm-detail-grid {
  direction: rtl;
}
.lpm-detail-flip .lpm-detail-grid > * {
  direction: ltr;
}
.lpm-detail-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-lg);
  line-height: 1.15;
}
.lpm-detail-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--sp-lg);
}
.lpm-detail-bullets {
  list-style: none;
  padding: 0;
}
.lpm-detail-bullets li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 10px 0 10px 28px;
  position: relative;
  border-top: 1px solid var(--line-soft);
}
.lpm-detail-bullets li:first-child {
  border-top: none;
}
.lpm-detail-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--primary);
  font-weight: 700;
}
.lpm-detail-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.18),
              0 4px 12px -6px rgba(15, 23, 42, 0.06);
}

/* Trust grid (replaces single line) */
.lpm-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-xl);
  text-align: center;
}
.lpm-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lpm-trust-item strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.lpm-trust-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer links horizontal */
.lpm-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-lg);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .lpm-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .lpm-detail-flip .lpm-detail-grid {
    direction: ltr;
  }
  .lpm-detail-shot {
    order: -1;
  }
  .lpm-detail-flip .lpm-detail-shot {
    order: -1;
  }
}

@media (max-width: 640px) {
  .lpm-hero { padding: 56px 0 40px; }
  .lpm-section { padding: 64px 0; }
  .lpm-hero-cta { gap: var(--sp-sm); }
  .lpm-footer-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-md); }
  .lpm-footer-links { gap: var(--sp-md); }
}

/* ─────────────────────────────────────────────────────────────────
   LPM Target sections (admin + resident)
   ───────────────────────────────────────────────────────────────── */

.lpm-target {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--surface);
}
.lpm-target-alt {
  background: var(--surface-alt);
}
.lpm-target-head {
  max-width: 760px;
  margin: 0 auto var(--sp-3xl);
  text-align: center;
}
.lpm-target-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-lg);
  line-height: 1.15;
}
.lpm-target-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Feature groups grid */
.lpm-feature-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-xl);
}
.lpm-feature-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  transition: border-color 180ms ease;
}
.lpm-feature-group:hover {
  border-color: var(--primary);
}
.lpm-target-alt .lpm-feature-group {
  background: var(--surface);
}
.lpm-feature-group h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--primary-100);
}
.lpm-feature-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lpm-feature-group li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.45;
  border-top: 1px solid var(--line-soft);
}
.lpm-feature-group li:first-child {
  border-top: none;
}
.lpm-feature-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
}

/* Role cards (junta + propietarios) */
.lpm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-xl);
}
.lpm-role-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
}
.lpm-role-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-sm);
  letter-spacing: -0.01em;
}
.lpm-role-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}
.tag-owner {
  background: var(--owner-50);
  color: var(--owner);
}

/* Pagos / rails grid */
.lpm-rails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-xl);
}
.lpm-rail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  text-align: center;
}
.lpm-rail-icon {
  font-size: 2.2rem;
  margin-bottom: var(--sp-md);
  line-height: 1;
}
.lpm-rail h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.lpm-rail p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Store badges */
.lpm-stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
}
.lpm-store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
  min-width: 180px;
}
.lpm-store-badge:hover {
  background: var(--primary-700);
  transform: translateY(-2px);
}
.lpm-store-badge svg {
  flex-shrink: 0;
}
.lpm-store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.lpm-store-badge small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lpm-store-badge strong {
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .lpm-target { padding: 72px 0; }
  .lpm-stores { gap: var(--sp-sm); }
  .lpm-store-badge { min-width: 0; flex: 1 1 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────────
   Hero pillars (Seguridad / Control / Comodidad)
   ───────────────────────────────────────────────────────────────── */

.lpm-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-xl);
  margin: var(--sp-2xl) auto var(--sp-xl);
}
.lpm-pillar {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 180ms ease, transform 180ms ease;
}
.lpm-pillar:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.lpm-pillar-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.lpm-pillar strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────────────────────────
   Checklist numerada (15 admin / 10 residente)
   ───────────────────────────────────────────────────────────────── */

.lpm-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-md);
  max-width: 980px;
  margin: 0 auto;
}
.lpm-check {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 180ms ease, transform 180ms ease;
}
.lpm-check:hover {
  border-color: var(--primary);
  transform: translateX(2px);
}
.lpm-target-alt .lpm-check {
  background: var(--surface);
}
.lpm-check-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Icono emoji para cada item de checklist — reemplaza el number badge.
   Más visual, da personalidad al bloque de features. */
.lpm-check-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 10px;
  font-size: 1.3rem;
  line-height: 1;
}

/* Screenshot dentro del bloque target — admin: full-width landscape;
   resident: 2 phones lado a lado con tilt. */
.lpm-target-shot {
  margin-top: var(--sp-3xl);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.lpm-target-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 70px -25px rgba(111, 93, 187, 0.30),
    0 12px 28px -14px rgba(15, 23, 42, 0.10);
}

.lpm-target-phones {
  margin-top: var(--sp-3xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--sp-2xl);
}
.lpm-target-phones img {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 70px -25px rgba(111, 93, 187, 0.30),
    0 12px 28px -14px rgba(15, 23, 42, 0.10);
  transition: transform 300ms ease;
}
.lpm-target-phones img:nth-child(odd) {
  transform: rotate(-2deg);
}
.lpm-target-phones img:nth-child(even) {
  transform: rotate(2deg);
}
.lpm-target-phones img:hover {
  transform: translateY(-6px) rotate(0deg);
}
@media (max-width: 640px) {
  .lpm-target-phones img { width: 240px; }
  .lpm-target-phones img:nth-child(odd),
  .lpm-target-phones img:nth-child(even) { transform: none; }
}
.lpm-check > span:last-child {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .lpm-pillars { gap: var(--sp-sm); margin: var(--sp-xl) auto var(--sp-lg); }
  .lpm-pillar { padding: 8px 14px; font-size: 0.88rem; }
  .lpm-check { padding: 12px 14px; }
  .lpm-check-num { width: 28px; height: 28px; font-size: 0.72rem; }
}

/* ─────────────────────────────────────────────────────────────────
   Screenshots de las apps
   ───────────────────────────────────────────────────────────────── */

.lpm-screenshot {
  margin-top: var(--sp-3xl);
}

.lpm-screenshot-desktop {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.lpm-screenshot-desktop img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px -30px rgba(15, 23, 42, 0.25),
    0 12px 30px -15px rgba(15, 23, 42, 0.12);
}

.lpm-screenshot-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--sp-2xl);
}
.lpm-screenshot-phones img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px -30px rgba(15, 23, 42, 0.25),
    0 12px 30px -15px rgba(15, 23, 42, 0.12);
  transition: transform 300ms ease;
}
.lpm-screenshot-phones img:hover {
  transform: translateY(-6px);
}
.lpm-screenshot-phones img:nth-child(odd) {
  transform: rotate(-2deg);
}
.lpm-screenshot-phones img:nth-child(even) {
  transform: rotate(2deg);
}
.lpm-screenshot-phones img:nth-child(odd):hover {
  transform: rotate(-2deg) translateY(-6px);
}
.lpm-screenshot-phones img:nth-child(even):hover {
  transform: rotate(2deg) translateY(-6px);
}

@media (max-width: 640px) {
  .lpm-screenshot { margin-top: var(--sp-2xl); }
  .lpm-screenshot-phones { gap: var(--sp-lg); }
  .lpm-screenshot-phones img { width: 260px; }
  .lpm-screenshot-phones img:nth-child(odd),
  .lpm-screenshot-phones img:nth-child(even) {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   LP refresh 2026-06-03 — inspirado en Ark7
   Hero amplio, stats banner, features grid grande, plan único, tono usted
   ═══════════════════════════════════════════════════════════════════ */

.lp-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

/* Hero */
.lp-hero {
  padding: clamp(72px, 12vw, 130px) 0 clamp(40px, 6vw, 60px);
  text-align: center;
}
.lp-eyebrow-mini {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: var(--sp-lg);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: 999px;
}
.lp-hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}
.lp-hero-title .accent {
  color: var(--primary);
}
.lp-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
  line-height: 1.55;
}
.lp-hero-cta {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}
.lp-hero-microcopy {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: var(--sp-md);
}
.lp-hero-shot {
  max-width: 1080px;
  margin: var(--sp-3xl) auto 0;
  padding: 0 var(--sp-xl);
}
.lp-hero-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow:
    0 40px 90px -30px rgba(15, 23, 42, 0.25),
    0 16px 36px -16px rgba(15, 23, 42, 0.10);
}

.btn-xl {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--r-md);
}

/* Stats banner */
.lp-stats {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-2xl);
  text-align: center;
}
.lp-stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.lp-stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.lp-stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

/* Section base */
.lp-section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.lp-section-alt {
  background: var(--surface-alt);
}
.lp-section-head {
  max-width: 760px;
  margin: 0 auto var(--sp-3xl);
  text-align: center;
}
.lp-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: var(--sp-md);
}
.lp-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: var(--sp-md) 0 var(--sp-lg);
}
.lp-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* Features grid */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-xl);
}
.lp-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.lp-feature:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.12);
}
.lp-section-alt .lp-feature {
  background: var(--surface);
}
.lp-feature-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: var(--sp-md);
}
.lp-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.lp-feature p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* Showcase band entre secciones */
.lp-showcase-band {
  padding: clamp(72px, 10vw, 110px) 0;
  text-align: center;
  background: var(--surface);
}
.lp-showcase-band .lp-h2 {
  margin: var(--sp-md) auto var(--sp-2xl);
  max-width: 760px;
}
.lp-showcase-img {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}
.lp-showcase-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 70px -25px rgba(15, 23, 42, 0.22),
    0 12px 28px -14px rgba(15, 23, 42, 0.10);
}

/* Pricing — plan único */
.lp-pricing {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--surface);
}
.lp-plan-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--primary-50) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--r-xl);
  padding: var(--sp-3xl);
  text-align: center;
  box-shadow:
    0 30px 70px -30px rgba(111, 93, 187, 0.30),
    0 12px 28px -14px rgba(111, 93, 187, 0.15);
}
.lp-plan-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--sp-lg);
}
.lp-plan-name {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
}
.lp-plan-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--sp-xl);
}
.lp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--sp-2xl);
  max-width: 460px;
  text-align: left;
}
.lp-plan-features li {
  font-size: 0.98rem;
  color: var(--ink);
  padding: 10px 0 10px 32px;
  position: relative;
  border-top: 1px solid var(--line-soft);
  font-weight: 500;
}
.lp-plan-features li:first-child {
  border-top: none;
}
.lp-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}
.lp-plan-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}
.lp-plan-footnote {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* Final band */
.lp-final-band {
  padding: clamp(80px, 12vw, 130px) 0;
  background: var(--ink);
  color: white;
  text-align: center;
}
.lp-final-band h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--sp-md);
}
.lp-final-band p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-2xl);
}
.lp-final-band .btn-primary {
  background: white;
  color: var(--primary-700);
}
.lp-final-band .btn-primary:hover {
  background: var(--primary-50);
}
.lp-final-band .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.lp-final-band .btn-ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .lp-hero { padding: 64px 0 32px; }
  .lp-section { padding: 64px 0; }
  .lp-pricing { padding: 64px 0; }
  .lp-features-grid { gap: var(--sp-md); }
  .lp-feature { padding: var(--sp-xl); }
  .lp-plan-card { padding: var(--sp-2xl); }
}

/* ─── Mockups admin (Ops Home / Paquetes) bajo la screenshot principal ─── */
.lpm-target-mockups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.lpm-target-mockups img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: transparent;
}

/* ─── Sección Tecnología y seguridad ─── */
.lpm-tech {
  padding: 96px 0;
  background: linear-gradient(180deg, #FAFAFB 0%, #F4F4F6 100%);
}
.lpm-tech .lpm-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.lpm-tech .lpm-section-sub {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.lpm-tech-block {
  margin-bottom: 56px;
}
.lpm-tech-block:last-of-type {
  margin-bottom: 32px;
}
.lpm-tech-block-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}
.lpm-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lpm-tech-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E5E7EB;
  transition: border-color 200ms ease, transform 200ms ease;
}
.lpm-tech-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.lpm-tech-card-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}
.lpm-tech-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}
.lpm-tech-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.lpm-tech-card code {
  background: #F1F5F9;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  color: var(--ink);
}

/* ─── Compliance / trust row al pie de la sección técnica ─── */
.lpm-tech-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 28px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
}
.lpm-tech-trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.lpm-tech-trust-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .lpm-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lpm-tech-trust {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lpm-target-mockups {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .lpm-tech {
    padding: 64px 0;
  }
  .lpm-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Hero con background translúcido ─── */
.lpm-hero-with-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.lpm-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/photos/community-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: -1;
  filter: saturate(0.85);
}
.lpm-hero-with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.85) 60%,
    #FFFFFF 100%);
  z-index: -1;
}

/* ─── Tech cards más compactas (label + 3-4 palabras) ─── */
.lpm-tech-card {
  padding: 16px;
}
.lpm-tech-card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.lpm-tech-card strong {
  font-size: 14px;
  margin-bottom: 2px;
}
.lpm-tech-card p {
  font-size: 12px;
  line-height: 1.4;
}

/* ─── Carrusel grande de screenshots admin ─── */
.lpm-admin-carousel {
  margin-top: 48px;
  position: relative;
}
.lpm-admin-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #E5E7EB;
}
.lpm-admin-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.lpm-admin-carousel-track::-webkit-scrollbar-track {
  background: #E5E7EB;
  border-radius: 3px;
}
.lpm-admin-carousel-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
.lpm-admin-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lpm-admin-carousel-slide img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}
.lpm-admin-carousel-slide figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
}
.lpm-admin-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.lpm-admin-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #CBD5E1;
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
  padding: 0;
}
.lpm-admin-carousel-dots button[aria-current="true"] {
  background: var(--primary);
  width: 24px;
}

/* ─── Carrusel mobile (phone frames) ─── */
.lpm-mobile-carousel {
  margin-top: 48px;
  position: relative;
}
.lpm-mobile-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 16px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #E5E7EB;
}
.lpm-mobile-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.lpm-mobile-carousel-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
.lpm-mobile-slide {
  flex: 0 0 280px;
  scroll-snap-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lpm-phone-frame {
  width: 260px;
  padding: 8px;
  background: linear-gradient(135deg, #1F2937 0%, #0F172A 100%);
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  position: relative;
}
.lpm-phone-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: #0F172A;
  border-radius: 999px;
  z-index: 2;
}
.lpm-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}
.lpm-mobile-slide figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
}
.lpm-mobile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.lpm-mobile-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #CBD5E1;
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
  padding: 0;
}
.lpm-mobile-carousel-dots button[aria-current="true"] {
  background: var(--primary);
  width: 24px;
}

@media (max-width: 640px) {
  .lpm-admin-carousel-slide img {
    border-radius: 12px;
  }
  .lpm-phone-frame {
    width: 220px;
    padding: 6px;
    border-radius: 30px;
  }
  .lpm-phone-frame img {
    border-radius: 24px;
  }
  .lpm-mobile-slide {
    flex: 0 0 240px;
  }
}


/* ─── Tipos de estructura: residencial / oficinas / retail ─── */
.lpm-target-types {
  background: #FAFBFD;
}
.lpm-types-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 32px 0 28px;
}
.lpm-types-tab {
  appearance: none;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 200ms ease;
}
.lpm-types-tab:hover {
  border-color: var(--primary);
  color: var(--ink);
}
.lpm-types-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}
.lpm-types-panel[hidden] {
  display: none;
}
.lpm-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.lpm-type-feature {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.lpm-type-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-color: var(--primary);
}
.lpm-type-icon {
  font-size: 28px;
  line-height: 1;
}
.lpm-type-feature strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}
.lpm-type-feature p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .lpm-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .lpm-types-grid {
    grid-template-columns: 1fr;
  }
  .lpm-types-tab {
    flex: 1 1 100%;
  }
}
