/* ============================================================
   SISTEMA DE DISEÑO DEALOR (producto) + BLUNK (corporativo)
   --------------------------------------------------------------
   Dealor (paleta del producto, extraída del logo oficial):
   - Verde petróleo  #0F4E5A  → principal (CTA, navegación)
   - Terracota       #CD5139  → acento (energía, llamadas a acción secundarias)
   - Menta clara     #C9E8E0  → texto sobre dark, highlights premium
   - Crema           #F5F1EA  → fondo cálido alternativo
   --------------------------------------------------------------
   Blunk (paleta corporativa heredada):
   - Azul oscuro     #16232B  → dark sections, footer
   - Gris claro      #F2F2F2  → neutros
   ============================================================ */
:root {
  /* DEALOR — producto */
  --dealor-teal: #0F4E5A;
  --dealor-teal-deep: #083843;
  --dealor-teal-soft: #1B6B7A;
  --dealor-terracotta: #CD5139;
  --dealor-terracotta-deep: #A53D26;
  --dealor-mint: #C9E8E0;
  --dealor-cream: #F5F1EA;

  /* BLUNK — corporativo */
  --blunk-dark: #16232B;
  --blunk-dark-2: #0E171D;
  --blunk-light: #F2F2F2;

  /* Neutros */
  --white: #FFFFFF;
  --text: #16232B;
  --text-muted: #5A6772;
  --text-soft: #8794A0;
  --border: rgba(22, 35, 43, 0.08);
  --border-strong: rgba(22, 35, 43, 0.14);

  /* Tokens UI */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(15, 78, 90, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 78, 90, 0.10);
  --shadow-lg: 0 28px 80px rgba(15, 78, 90, 0.16);
  --container: 1240px;

  /* Tipografías */
  --font-display: 'Sora', system-ui, sans-serif;  /* sustituto de Gopadel */
  --font-body: 'Sora', system-ui, sans-serif;
  --font-quote: 'Space Grotesk', sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;       /* UI del producto */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   LOGO COMPONENTS
   ============================================================ */
.brand-dealor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-dealor .iso-wrap {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-dealor .iso-wrap img { width: 100%; height: auto; }
.brand-dealor .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--dealor-teal);
  line-height: 1;
}

.brand-blunk {
  display: inline-flex;
  align-items: center;
}
.brand-blunk img { height: 28px; width: auto; }
.brand-blunk.large img { height: 36px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--dealor-teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dealor-teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 78, 90, 0.32);
}
.btn-accent {
  background: var(--dealor-terracotta);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--dealor-terracotta-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(205, 81, 57, 0.36);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--dealor-cream);
  border-color: var(--dealor-teal);
  color: var(--dealor-teal);
}
.btn-light {
  background: var(--white);
  color: var(--dealor-teal);
}
.btn-light:hover { background: var(--dealor-mint); }
.btn-large { padding: 15px 30px; font-size: 15px; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.by-blunk {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.by-blunk strong {
  font-weight: 600;
  color: var(--text);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--dealor-teal); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 1000px) {
  .nav-links, .by-blunk { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 480px) {
  .nav { height: 64px; }
  .brand-dealor .word { font-size: 22px; }
  .brand-dealor .iso-wrap { width: 30px; height: 30px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 13px; }
  .nav-cta .btn .arrow { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--dealor-cream) 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 900px; height: 900px;
  background: radial-gradient(circle,
    rgba(201, 232, 224, 0.6) 0%,
    rgba(201, 232, 224, 0.2) 40%,
    transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle,
    rgba(205, 81, 57, 0.10) 0%,
    transparent 60%);
  pointer-events: none;
  filter: blur(30px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.7);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--blunk-dark);
}
.hero h1 .stamp {
  display: inline-block;
  position: relative;
  color: var(--dealor-terracotta);
}
.hero h1 .stamp::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: 6px;
  height: 14px;
  background: var(--dealor-mint);
  z-index: -1;
  border-radius: 4px;
}
.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 38px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-trust .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg { color: var(--dealor-teal); }

/* HERO MOCKUP — replica de la pantalla real de Dealor */
.hero-mockup {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.mockup-frame {
  background: linear-gradient(180deg, rgba(15, 78, 90, 0.08) 0%, rgba(15, 78, 90, 0.02) 100%);
  border: 1px solid rgba(15, 78, 90, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(15, 78, 90, 0.22),
    0 0 0 1px rgba(15, 78, 90, 0.05) inset;
}
.mockup-window {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-ui);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #F8F9FA;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mockup-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #DDE0E5; }
.mockup-bar .dot:nth-child(1) { background: #FF6157; }
.mockup-bar .dot:nth-child(2) { background: #FFBD2E; }
.mockup-bar .dot:nth-child(3) { background: #28C940; }
.mockup-bar .url {
  margin-left: 18px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.mockup-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 540px;
}
/* Sidebar replicando el real */
.mockup-sidebar {
  background: #FAFBFC;
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 16px 12px;
  font-size: 13.5px;
}
.workspace-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  margin-bottom: 18px;
  position: relative;
}
.workspace-card .logo {
  width: 32px; height: 32px;
  background: var(--blunk-dark);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.workspace-card .info { flex: 1; min-width: 0; }
.workspace-card .name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-card .sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-card .chev { color: var(--text-muted); }

.sb-section {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 14px 12px 8px;
}
.sb-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 1px;
  font-weight: 500;
  cursor: default;
}
.sb-nav-item.active {
  background: rgba(15, 78, 90, 0.08);
  color: var(--dealor-teal);
  font-weight: 600;
}
.sb-nav-item svg { flex-shrink: 0; color: currentColor; opacity: 0.85; }

.user-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 18px;
  padding-top: 14px;
}
.user-card .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dealor-teal) 0%, var(--dealor-teal-deep) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.user-card .name { font-size: 12.5px; font-weight: 600; }
.user-card .sub { font-size: 10.5px; color: var(--text-muted); }

/* Main mockup area */
.mockup-main {
  padding: 22px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.mockup-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}
.mockup-h-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.mockup-h-actions { display: flex; gap: 8px; }
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text);
}
.mini-btn.primary {
  background: var(--blunk-dark);
  color: var(--white);
  border-color: var(--blunk-dark);
}
.mini-btn svg { width: 13px; height: 13px; }

.mockup-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.mockup-title-row h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mockup-title-row .count {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.status-chips {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.status-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-chips .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-chips .chip:nth-child(1) .dot { background: #9CA3AF; }
.status-chips .chip:nth-child(2) .dot { background: var(--dealor-terracotta); }
.status-chips .chip:nth-child(3) .dot { background: #3B82F6; }
.status-chips .chip:nth-child(4) .dot { background: #22C55E; }
.status-chips .chip strong { color: var(--text); font-weight: 600; margin-right: 2px; }

.search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  margin-bottom: 14px;
}
.search-bar .left { display: flex; align-items: center; gap: 8px; flex: 1; color: var(--text-muted); font-size: 13px; }
.search-bar .right { display: flex; gap: 8px; align-items: center; }
.search-bar .filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
}

/* Tabla de expedientes */
.exp-table { font-size: 12.5px; flex: 1; }
.exp-row {
  display: grid;
  grid-template-columns: 80px 1.8fr 2fr 100px 110px;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 12px;
}
.exp-row:last-child { border-bottom: none; }
.exp-row.head {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-strong);
}
.exp-row .folio {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.exp-row .client-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-cell .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blunk-light);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.client-cell .av svg { width: 12px; height: 12px; color: var(--text-muted); }
.exp-row .vehicle { font-size: 11.5px; color: var(--text); }
.exp-row .operation {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.exp-row .progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.exp-row .bar {
  flex: 1;
  height: 4px;
  background: var(--blunk-light);
  border-radius: 2px;
  overflow: hidden;
}
.exp-row .fill {
  height: 100%;
  background: var(--blunk-dark);
  border-radius: 2px;
}
.exp-row .pct {
  font-size: 11px;
  color: var(--text-muted);
  min-width: 26px;
  text-align: right;
}

.exp-stages {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  flex-wrap: wrap;
}
.exp-stages .stage {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
}
.exp-stages .stage.active {
  background: var(--blunk-dark);
  color: var(--white);
  font-weight: 600;
}
.exp-stages .stage .num { opacity: 0.6; }

/* WhatsApp floating */
.wa-float {
  position: absolute;
  right: -12px;
  top: 28%;
  z-index: 3;
  width: 290px;
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 24px 60px rgba(15, 78, 90, 0.25);
  transform: rotate(2deg);
  animation: float 6s ease-in-out infinite;
  border-left: 3px solid #25D366;
}
@keyframes float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}
.wa-float .head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 12px; font-weight: 600; color: #25D366;
}
.wa-float .head svg { width: 16px; height: 16px; }
.wa-float .msg {
  font-size: 12.5px; line-height: 1.4; color: var(--text);
}
.wa-float .time {
  font-size: 10px; color: var(--text-muted); margin-top: 6px;
}
@media (max-width: 1180px) { .wa-float { display: none; } }

@media (max-width: 900px) {
  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .exp-row { grid-template-columns: 60px 1fr 80px; gap: 8px; font-size: 11px; }
  .exp-row .vehicle, .exp-row .operation { display: none; }
}

/* ============================================================
   TRUSTED LOGOS
   ============================================================ */
.trusted {
  padding: 50px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted .label {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 600;
}
.trusted .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.6;
}
.trusted .brand {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  filter: grayscale(1);
}

/* ============================================================
   SECCIONES
   ============================================================ */
section { padding: 110px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dealor-teal);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--blunk-dark);
  margin-bottom: 20px;
  max-width: 820px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title em {
  font-style: normal;
  color: var(--dealor-terracotta);
}
.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }

/* ============================================================
   PRODUCTO
   ============================================================ */
.product-section { background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; gap: 50px; } }

.product-list { list-style: none; margin-top: 32px; }
.product-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.product-list li:last-child { border-bottom: none; }
.product-list .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--dealor-teal);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  margin-top: 2px;
}
.product-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-list span {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Visual de proceso end-to-end (módulos del producto) */
.modules-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--dealor-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(15, 78, 90, 0.08);
}
.modules-visual::before {
  content: "";
  position: absolute;
  top: -30%; right: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, var(--dealor-mint) 0%, transparent 60%);
  filter: blur(30px);
  opacity: 0.6;
}
.module-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(15, 78, 90, 0.10);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .3s ease;
}
.module-card:hover {
  transform: translateX(4px);
  border-color: var(--dealor-teal);
}
.module-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(15, 78, 90, 0.08);
  color: var(--dealor-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.module-card.accent .ic {
  background: rgba(205, 81, 57, 0.10);
  color: var(--dealor-terracotta);
}
.module-card h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.module-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}
.module-card .check-pill {
  margin-left: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--dealor-teal);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.modules-arrow {
  text-align: center;
  margin: 8px 0;
  color: var(--dealor-teal);
  opacity: 0.4;
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
.benefits { background: var(--blunk-light); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--dealor-teal);
}
.benefit-card .ic-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(15, 78, 90, 0.08);
  color: var(--dealor-teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.benefit-card.featured .ic-wrap {
  background: var(--dealor-terracotta);
  color: white;
}
.benefit-card.featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F5 100%);
  border-color: rgba(205, 81, 57, 0.2);
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CÓMO FUNCIONA — replicando las etapas reales del producto
   ============================================================ */
.how-it-works {
  background: var(--dealor-teal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201, 232, 224, 0.15) 0%, transparent 60%);
  filter: blur(40px);
}
.how-it-works::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(205, 81, 57, 0.18) 0%, transparent 60%);
  filter: blur(50px);
}
.how-it-works .section-title { color: white; }
.how-it-works .section-lead { color: rgba(255, 255, 255, 0.72); }
.how-it-works .section-eyebrow { color: var(--dealor-mint); }

.workflow {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
@media (max-width: 1000px) { .workflow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .workflow { grid-template-columns: 1fr; } }

.workflow-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
  position: relative;
}
.workflow-step:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--dealor-mint);
  transform: translateY(-3px);
}
.workflow-step .step-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--dealor-mint);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.12em;
}
.workflow-step .step-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(201, 232, 224, 0.15);
  color: var(--dealor-mint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.workflow-step h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.workflow-step p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* ============================================================
   WHATSAPP
   ============================================================ */
.whatsapp-section {
  background: var(--white);
  overflow: hidden;
}
.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .wa-grid { grid-template-columns: 1fr; gap: 50px; } }

.wa-features {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.wa-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
}
.wa-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #25D366;
}
.wa-twilio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--blunk-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 32px;
}
.wa-twilio strong { color: var(--text); font-weight: 600; }
.wa-twilio .twilio-logo {
  width: 22px; height: 22px;
  background: #F22F46;
  color: white;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 11px;
  font-family: var(--font-ui);
}

/* Phone mockup */
.phone {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  background: var(--blunk-dark);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(15, 78, 90, 0.25),
    0 0 0 1px rgba(0,0,0,0.05);
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: var(--blunk-dark);
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #ECE5DD;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.wa-header {
  background: #075E54;
  color: white;
  padding: 50px 16px 12px;
  display: flex; align-items: center; gap: 12px;
}
.wa-header .av {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wa-header .av img { width: 100%; height: 100%; object-fit: contain; }
.wa-header .info .n { font-size: 14px; font-weight: 600; }
.wa-header .info .s { font-size: 11px; opacity: 0.8; }
.wa-body { padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.wa-msg {
  background: #DCF8C6;
  padding: 10px 12px;
  border-radius: 8px;
  border-top-right-radius: 2px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  max-width: 85%;
  align-self: flex-end;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-msg.in {
  background: white;
  align-self: flex-start;
  border-top-left-radius: 2px;
  border-top-right-radius: 8px;
}
.wa-msg .t {
  font-size: 9px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}
.wa-msg.template { border-left: 3px solid var(--dealor-teal); }
.wa-msg .doc {
  background: rgba(0,0,0,0.05);
  padding: 8px;
  border-radius: 6px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.wa-msg .doc-ic {
  width: 26px; height: 26px;
  background: var(--dealor-teal);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 9px; font-weight: 700;
}

/* ============================================================
   SEGURIDAD
   ============================================================ */
.security { background: var(--dealor-cream); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .security-grid { grid-template-columns: 1fr; } }

.sec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--white);
  transition: all .3s ease;
}
.sec-card:hover {
  border-color: var(--dealor-teal);
  box-shadow: var(--shadow-sm);
}
.sec-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(15, 78, 90, 0.08);
  color: var(--dealor-teal);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.sec-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   CASOS DE USO
   ============================================================ */
.use-cases { background: var(--white); }
.uc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) { .uc-grid { grid-template-columns: 1fr; } }

.uc-card {
  background: var(--blunk-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.uc-card.dark {
  background: var(--dealor-teal);
  color: white;
}
.uc-card.terracotta {
  background: var(--dealor-terracotta);
  color: white;
}
.uc-card .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(15, 78, 90, 0.08);
  color: var(--dealor-teal);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.uc-card.dark .tag {
  background: rgba(255,255,255,0.12);
  color: var(--dealor-mint);
}
.uc-card.terracotta .tag {
  background: rgba(255,255,255,0.18);
  color: white;
}
.uc-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.uc-card.dark h3, .uc-card.terracotta h3 { color: white; }
.uc-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.uc-card.dark p { color: rgba(255, 255, 255, 0.78); }
.uc-card.terracotta p { color: rgba(255, 255, 255, 0.85); }
.uc-card .arrow-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dealor-teal);
  transition: gap .25s ease;
}
.uc-card.dark .arrow-link { color: var(--dealor-mint); }
.uc-card.terracotta .arrow-link { color: white; }
.uc-card .arrow-link:hover { gap: 10px; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--blunk-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(15, 78, 90, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(205, 81, 57, 0.18) 0%, transparent 50%);
}
.testimonial-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.testimonial .quote-mark {
  font-family: var(--font-quote);
  font-size: 120px;
  line-height: 0.5;
  color: var(--dealor-mint);
  margin-bottom: 16px;
  font-weight: 600;
}
.testimonial blockquote {
  font-family: var(--font-quote);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.testimonial .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial .author .av {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dealor-terracotta) 0%, var(--dealor-terracotta-deep) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  font-family: var(--font-display);
}
.testimonial .author .info { text-align: left; }
.testimonial .author .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.testimonial .author .r {
  font-size: 13px;
  opacity: 0.7;
}
.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
@media (max-width: 600px) { .testimonial-stats { grid-template-columns: 1fr; } }
.testimonial-stats .stat { text-align: center; }
.testimonial-stats .stat .v {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #FFFFFF 0%, var(--dealor-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonial-stats .stat .l {
  font-size: 13.5px;
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--white);
  padding: 80px 24px 100px;
}
.cta-box {
  max-width: 1080px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--dealor-teal) 0%, var(--dealor-teal-deep) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(201, 232, 224, 0.18) 0%, transparent 50%);
  filter: blur(40px);
}
.cta-box::after {
  content: "";
  position: absolute;
  bottom: -50%; right: -10%;
  width: 70%; height: 200%;
  background: radial-gradient(circle, rgba(205, 81, 57, 0.30) 0%, transparent 50%);
  filter: blur(50px);
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box h2 .accent {
  color: var(--dealor-mint);
}
.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 36px;
}
.cta-box .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-box .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-box .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--dealor-mint);
  color: var(--dealor-mint);
}
.cta-box .micro {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 600px) { .cta-box { padding: 50px 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blunk-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.55);
  transition: color .2s ease;
}
.footer-col ul a:hover { color: white; }

.footer-brand img {
  height: 32px; width: auto;
  margin-bottom: 16px;
}
.footer-brand-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 22px;
  max-width: 320px;
}
.footer-legal-info {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}
.footer-legal-info .footer-brand-text {
  max-width: none;
  margin: 0;
}
.footer-legal-info a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}
.footer-legal-info a:hover { color: white; }
.footer-blunk-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-blunk-mark img {
  height: 22px; width: auto;
  margin: 0;
}
.footer-social {
  display: flex; gap: 10px;
  margin-bottom: 22px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: var(--dealor-teal);
  border-color: var(--dealor-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal a:hover { color: white; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   DEMO FORM MODAL
   ============================================================ */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.demo-modal.open { display: block; }
.demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 24, 0.62);
  backdrop-filter: blur(4px);
}
.demo-dialog {
  position: relative;
  margin: 5vh auto;
  width: min(760px, calc(100vw - 28px));
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}
.demo-head {
  padding: 22px 24px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.demo-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blunk-dark);
}
.demo-head p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}
.demo-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.demo-close:hover {
  color: var(--dealor-teal);
  border-color: var(--dealor-teal);
}
.demo-form {
  padding: 20px 24px 24px;
  display: grid;
  gap: 14px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--dealor-teal);
  box-shadow: 0 0 0 3px rgba(15, 78, 90, 0.14);
}
.field.full { grid-column: 1 / -1; }
.demo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.demo-note {
  font-size: 12.5px;
  color: var(--text-muted);
}
.demo-status {
  font-size: 13.5px;
  color: var(--dealor-teal-deep);
  min-height: 20px;
}
.demo-status.error { color: #AE2E24; }
@media (max-width: 700px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-dialog { margin: 3vh auto; }
}

/* ============================================================
   PÁGINAS LEGALES (Aviso de privacidad / Términos de servicio)
   ============================================================ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--dealor-teal);
  margin-bottom: 32px;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}
.legal-page .legal-updated {
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dealor-teal-deep);
  margin: 40px 0 12px;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-page ul {
  margin: 0 0 14px 22px;
}
.legal-page li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.legal-page a { color: var(--dealor-teal); text-decoration: underline; }
.legal-page strong { color: var(--text); }
.legal-page .legal-contact-box {
  background: var(--dealor-cream);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 16px 0 8px;
}
.legal-page .legal-contact-box p { margin-bottom: 6px; }
