/* ================================================================
   Docenpro — Landing styles (rediseño completo)
   Inter font · paleta azul-violeta · animaciones de scroll
   ================================================================ */

:root {
  /* Planificador (azul-violeta) */
  --color-primary: #3b82f6;
  --color-primary-dark: #1e40af;
  --color-primary-light: #60a5fa;
  --color-accent: #8b5cf6;
  --color-accent-light: #a78bfa;
  /* SAD (cyan-emerald) */
  --color-sad: #06b6d4;
  --color-sad-dark: #0e7490;
  --color-sad-light: #22d3ee;
  --color-sad-accent: #10b981;
  --color-sad-accent-light: #34d399;
  --gradient-sad: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-sad-soft: linear-gradient(135deg, #cffafe 0%, #d1fae5 100%);
  --color-text: #0f172a;
  --color-text-2: #1e293b;
  --color-muted: #475569;
  --color-soft: #64748b;
  --color-border: #e2e8f0;
  --color-border-soft: #f1f5f9;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-primary-soft: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
  --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 0 6px rgba(59, 130, 246, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max-width: 1200px;
  --max-narrow: 800px;
  --topbar-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--color-primary-dark); }

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

strong { font-weight: 700; color: var(--color-text); }

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

.container-narrow {
  max-width: var(--max-narrow);
}

/* ============================================================ */
/* Scroll progress bar                                          */
/* ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-primary);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ============================================================ */
/* Botones                                                       */
/* ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all 0.22s var(--ease-out);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
  border-radius: inherit;
  filter: brightness(1.1);
  z-index: -1;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.04);
}

.btn-link {
  background: transparent;
  color: var(--color-primary);
  padding: 8px 0;
}

.btn-link:hover { color: var(--color-primary-dark); }

.btn-sm { font-size: 13px; padding: 8px 16px; border-radius: 10px; }
.btn-lg { font-size: 16px; padding: 14px 32px; }
.btn-block { display: flex; width: 100%; }

.btn-glow {
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.22s var(--ease-out);
}

.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================ */
/* Topbar                                                        */
/* ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-logo svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.25));
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
}

.topbar-nav a:not(.btn):hover { color: var(--color-text); }

.topbar-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}

.topbar-nav a:not(.btn):hover::after { transform: scaleX(1); }

@media (max-width: 920px) {
  .topbar-nav a:not(.btn) { display: none; }
}

/* ============================================================ */
/* HERO                                                          */
/* ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blob 18s infinite var(--ease-out);
}

.hero-blob.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
  top: -100px; left: -80px;
}

.hero-blob.blob-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #c4b5fd 0%, transparent 70%);
  top: 200px; right: -100px;
  animation-delay: -6s;
}

.hero-blob.blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #fbcfe8 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation-delay: -12s;
}

.hero-blob.blob-4 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #a5f3fc 0%, transparent 70%);
  top: 40%; right: 15%;
  animation-delay: -3s;
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  animation: pulse 2s infinite var(--ease-out);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.hero-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-features {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-muted);
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

/* Hero dual products showcase */
.hero-products {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  perspective: 1600px;
}

.hero-product {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transform-origin: center;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hero-product img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-product-plan {
  transform: rotate(-1.5deg) translateY(-12px);
  z-index: 2;
}

.hero-product-sad {
  transform: rotate(1.5deg) translateY(12px) translateX(20px);
  margin-top: -24px;
  z-index: 1;
}

.hero-product:hover {
  transform: rotate(0) translate(0) scale(1.02);
  z-index: 3;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.hero-product-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.hero-product-tag-sad {
  background: var(--gradient-sad);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.hero-product-meta {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hero-product-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--gradient-primary-soft);
  border-radius: 8px;
  font-size: 14px;
}

.hero-product-sad .hero-product-emoji {
  background: var(--gradient-sad-soft);
}

.hero-mockup-floater {
  position: absolute;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  white-space: nowrap;
}

.hero-mockup-floater .floater-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  font-size: 16px;
  background: var(--gradient-primary-soft);
  border-radius: 10px;
}

.floater-title { font-weight: 700; color: var(--color-text); }
.floater-sub { color: var(--color-soft); font-size: 11px; }

.hero-mockup-floater.f1 {
  top: -16px; left: -28px;
  animation: float-1 6s ease-in-out infinite;
}

.hero-mockup-floater.f2 {
  bottom: 0; right: -32px;
  animation: float-2 7s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@media (max-width: 640px) {
  .hero-mockup-floater.f1 { left: 0; top: -28px; }
  .hero-mockup-floater.f2 { right: 0; }
}

/* ============================================================ */
/* STATS                                                         */
/* ============================================================ */
.stats {
  padding: 32px 0 56px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 24px 0;
}

.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ============================================================ */
/* Trust signals                                                  */
/* ============================================================ */
.trust {
  padding: 56px 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border-soft);
}

.trust-intro {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 32px;
}

.trust-badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  transition: all 0.22s var(--ease-out);
}

.trust-badge:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--gradient-primary-soft);
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-badge strong {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-badge span {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ============================================================ */
/* Sections genéricas                                            */
/* ============================================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================================ */
/* Productos showcase                                            */
/* ============================================================ */
.productos-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.producto-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  transition: all 0.32s var(--ease-out);
}

.producto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.32s var(--ease-out);
  pointer-events: none;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.producto-card:hover::before { opacity: 1; }

.producto-card-bg {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 60%);
  pointer-events: none;
}

.producto-card-bg-2 {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 60%);
}

.producto-card-content {
  position: relative;
  z-index: 1;
}

.producto-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(59, 130, 246, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.producto-tag-plan {
  color: var(--color-primary-dark);
  background: rgba(59, 130, 246, 0.1);
}

.producto-tag-sad {
  color: var(--color-sad-dark);
  background: rgba(6, 182, 212, 0.12);
}

.producto-card-sad::before {
  background: var(--gradient-sad);
}

.producto-card-sad .producto-tagline {
  background: var(--gradient-sad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.producto-card-sad .producto-bullets li::before {
  color: var(--color-sad);
}

.btn-sad {
  background: var(--gradient-sad) !important;
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.35);
}

.btn-glow-sad {
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.4) !important;
}

.btn-glow-sad:hover {
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.55) !important;
}

.producto-nombre {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.producto-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.producto-desc {
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.producto-bullets {
  list-style: none;
  margin: 0 0 28px 0;
}

.producto-bullets li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--color-text);
  font-size: 14px;
}

.producto-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.producto-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================================ */
/* TOUR del Planificador                                         */
/* ============================================================ */
.section-tour {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.tour-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.tour-step:last-of-type { margin-bottom: 56px; }

.tour-step-reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.tour-step-reverse .tour-step-text { order: 2; }
.tour-step-reverse .tour-step-img { order: 1; }

@media (max-width: 1024px) {
  .tour-step, .tour-step-reverse { grid-template-columns: 1fr; gap: 32px; }
  .tour-step-reverse .tour-step-text { order: 1; }
  .tour-step-reverse .tour-step-img { order: 2; }
}

.tour-step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.tour-step-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.tour-step-desc {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tour-features {
  list-style: none;
}

.tour-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 15px;
}

.tour-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.tour-step-img {
  position: relative;
}

.tour-step-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s var(--ease-out);
}

.tour-step:hover .tour-step-img img { transform: scale(1.02); }

.tour-step-img::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: var(--gradient-primary);
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}

/* SAD tour variants — paleta cyan-emerald */
.section-tour-sad {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 50%, #f0fdfa 100%);
}

.section-eyebrow-sad {
  color: var(--color-sad-dark);
}

.tour-step-num-sad {
  color: var(--color-sad-dark);
  background: rgba(6, 182, 212, 0.12);
}

.tour-check-sad {
  background: var(--gradient-sad);
}

.tour-step-img-sad::before {
  background: var(--gradient-sad);
}

.tour-step-img-sad img {
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.cap-item-sad:hover {
  border-color: var(--color-sad-light);
}

.stat-num-sad {
  background: var(--gradient-sad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Capabilities */
.capabilities {
  margin-top: 72px;
}

.capabilities-head {
  text-align: center;
  margin-bottom: 40px;
}

.capabilities-head h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cap-item {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.28s var(--ease-out);
}

.cap-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--icon-bg, #dbeafe);
  color: var(--icon-color, #1e40af);
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 16px;
}

.cap-item h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 8px;
}

.cap-item p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================ */
/* SAD                                                           */
/* ============================================================ */
.sad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.sad-feature {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.28s var(--ease-out);
}

.sad-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sad-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--gradient-primary-soft);
  border-radius: var(--radius-lg);
  font-size: 30px;
  margin-bottom: 16px;
}

.sad-feature h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.sad-feature p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.55;
}

.sad-cta {
  text-align: center;
}

/* ============================================================ */
/* Pricing                                                        */
/* ============================================================ */
.pricing-group-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin: 56px 0 24px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.pricing-group-title:first-of-type { margin-top: 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-grid-single {
  max-width: 400px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all 0.28s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card-featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, #fff, #fefcff);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.12);
  transform: scale(1.02);
}

.price-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.price-card-head { margin-bottom: 20px; }

.price-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.price-meta {
  font-size: 13px;
  color: var(--color-soft);
  margin-top: 4px;
}

.price-amount {
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1;
}

.price-currency {
  font-size: 24px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--color-muted);
}

.price-number {
  font-size: 56px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-soft);
  margin-left: 6px;
}

.price-features {
  list-style: none;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 14px;
}

.price-features li.highlight {
  color: var(--color-text);
}

.price-features li.highlight strong {
  color: var(--color-primary-dark);
}

.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-soft);
  margin-top: 32px;
}

/* ============================================================ */
/* Activación / Timeline                                         */
/* ============================================================ */
.section-activacion {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.steps-timeline {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.step:last-child { padding-bottom: 0; }

.step-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 64px; height: 64px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--color-primary), rgba(59, 130, 246, 0.1));
  margin-top: 12px;
  border-radius: 2px;
}

.step-num-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step-body h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.step-body p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ============================================================ */
/* FAQ                                                            */
/* ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.22s var(--ease-out);
}

.faq-item:hover { border-color: var(--color-primary-light); }
.faq-item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.32s var(--ease-out);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
}

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

/* ============================================================ */
/* Selector de diseños                                            */
/* ============================================================ */
.section-designs {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-top: 1px solid var(--color-border-soft);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.design-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.32s var(--ease-out);
}

.design-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
  color: inherit;
}

.design-card-active {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.18);
}

.design-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.design-thumb {
  aspect-ratio: 600 / 400;
  background: var(--color-bg-alt);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-soft);
}

.design-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.design-card:hover .design-thumb img {
  transform: scale(1.04);
}

.design-info {
  padding: 22px;
}

.design-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.design-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.design-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.design-meta li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-soft);
  padding: 4px 9px;
  background: var(--color-bg-alt);
  border-radius: 999px;
}

.design-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ============================================================ */
/* CTA FINAL                                                     */
/* ============================================================ */
.cta-final {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.4) 0%, transparent 60%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
}

.cta-content .btn-primary:hover {
  background: #f1f5f9;
  color: var(--color-primary-dark);
}

/* ============================================================ */
/* Footer                                                         */
/* ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: #cbd5e1;
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

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

.brand-footer {
  color: #fff;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 14px;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.55;
}

.footer-links h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 13px;
  color: #64748b;
}

.footer-mineduc { color: #94a3b8; }

/* ============================================================ */
/* Legal pages                                                    */
/* ============================================================ */
.legal {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--color-soft);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 14px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
}

.legal p { margin-bottom: 14px; color: var(--color-text); line-height: 1.7; }

.legal ul, .legal ol { margin: 0 0 14px 24px; color: var(--color-text); }
.legal li { margin-bottom: 6px; line-height: 1.7; }

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

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: none;
}

.legal-back:hover { color: var(--color-primary); }

/* ============================================================ */
/* Animaciones de scroll (controladas por JS)                    */
/* ============================================================ */
.reveal {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-anim="fade-in-up"]    { transform: translateY(32px); }
.reveal[data-anim="fade-in-left"]  { transform: translateX(-32px); }
.reveal[data-anim="fade-in-right"] { transform: translateX(32px); }
.reveal[data-anim="scale-in"]      { transform: scale(0.94); }

.reveal.in {
  opacity: 1;
  transform: translate(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ */
/* Print                                                          */
/* ============================================================ */
@media print {
  .topbar, .cta-final, .footer-bottom, .scroll-progress { display: none; }
  .section { padding: 24px 0; }
  body { color: #000; }
}
