/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }

/* === TOKENS === */
:root {
  /* Brand palette */
  --purple-900: #2b0c46;
  --purple-800: #3a1160;
  --purple-700: #5a11a0;
  --purple-600: #7400e6;
  --purple-500: #8e01ff;
  --purple-400: #b45cff;
  --purple-200: #e9d5ff;
  --purple-100: #f6f0ff;

  /* Acento vivo (antes cian) — violeta #8E01FF */
  --cyan-600: #7400e6;
  --cyan-500: #8e01ff;
  --cyan-400: #b45cff;
  --cyan-200: #e9d5ff;

  --concrete-900: #111114;
  --concrete-700: #2b2b33;
  --concrete-500: #6b6b75;
  --concrete-300: #c9c9d1;
  --concrete-100: #f4f4f7;
  --concrete-50:  #fafafb;

  --amber: #f59e0b;
  --green: #10b981;
  --red:   #ef4444;

  /* Semantic */
  --ink: var(--concrete-900);
  --ink-soft: var(--concrete-500);
  --bg: #ffffff;
  --bg-alt: var(--concrete-50);
  --border: #e7e7ec;

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(17, 17, 20, 0.06), 0 1px 3px rgba(17, 17, 20, 0.04);
  --shadow:    0 10px 30px -12px rgba(60, 30, 160, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(60, 30, 160, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* === BASE === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head p { margin-top: 14px; font-size: 1.05rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(124, 58, 237, 0.6);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px -12px rgba(124, 58, 237, 0.7);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled { opacity: 0.7; cursor: wait; transform: none; }

.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--ghost {
  background: transparent;
  color: var(--purple-600);
  border: 1.5px solid var(--purple-400);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  background: var(--purple-100);
  border-color: var(--purple-600);
}
.btn--ghost:active { transform: translateY(0); }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  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: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.nav.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
/* Nav transparente sobre hero oscuro */
.nav--dark {
  background: rgba(28, 7, 48, 0.55);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #fff;
}
.nav--dark .nav__brand-text { color: #fff; }
.nav--dark .nav__links a { color: rgba(255,255,255,0.78); }
.nav--dark .nav__links a:hover { color: var(--cyan-400); }
.nav--dark.is-scrolled {
  background: rgba(28, 7, 48, 0.92);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.5);
}
.nav--dark .nav__logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo {
  height: 38px;
  width: auto;
  display: block;
}
/* Co-marca: logo Concreteos (versión blanca) junto al de Teseo.
   Anula el filtro de inversión heredado de .nav--dark .nav__logo
   para conservar el morado original del logo. */
.nav__logo--concreteos { height: 30px; }
.nav--dark .nav__logo--concreteos { filter: none; opacity: 1; }
.nav__cobrand-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-block;
  flex: 0 0 auto;
}
@media (max-width: 480px) {
  .nav__logo { height: 30px; }
  .nav__logo--concreteos { height: 24px; }
  .nav__cobrand-sep { height: 20px; }
}
.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__brand-text strong {
  font-weight: 700;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Fallback text: hidden by default, revealed by the <img>'s onerror handler if the file is missing */
.nav__brand-text--fallback { display: none; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--purple-600); }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* === SECCIÓN: HERO (DARK · V2 Junio) === */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero--dark {
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(142, 1, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(124, 58, 237, 0.45), transparent 55%),
    linear-gradient(180deg, #1c0730 0%, #2b0c46 50%, #3a1160 100%);
  color: #fff;
}
.hero__bg-dark {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--cyan {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(142, 1, 255, 0.45), transparent 70%);
  top: -120px; left: -80px;
}
.hero__glow--purple {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
  bottom: -180px; right: -120px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple-700);
  background: #fff;
  border: 1px solid var(--purple-200);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero__badge--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(142, 1, 255, 0.35);
  color: var(--cyan-200);
  backdrop-filter: blur(6px);
}
.hero__badge strong { color: var(--green); font-weight: 600; }
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--cyan-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(142, 1, 255, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(142, 1, 255, 0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(142, 1, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(142, 1, 255, 0); }
}

.hero__overline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.hero__overline strong {
  color: var(--cyan-400);
  font-weight: 700;
}
/* Highlight con fondo para destacar la frase clave del overline */
.hl-mark {
  background: linear-gradient(90deg, rgba(142, 1, 255, 0.22), rgba(124, 58, 237, 0.28));
  color: #fff;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(142, 1, 255, 0.25);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__title { margin-bottom: 22px; }
.hero__title--dark { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }

.text-cyan {
  background: linear-gradient(90deg, var(--cyan-400), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(142, 1, 255, 0.25));
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--concrete-700);
  margin-bottom: 24px;
  max-width: 56ch;
}
.hero__lead--dark {
  color: rgba(255, 255, 255, 0.78);
}
.hero__lead--dark strong { color: #fff; font-weight: 600; }
.hero__lead--dark em { color: var(--cyan-200); font-style: italic; }

.hero__meta {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.96rem;
}
.hero__meta li {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__meta strong { color: #fff; }

.hero__microcopy {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--cyan-500);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
}
.hero__microcopy strong { color: var(--cyan-300, var(--cyan-400)); font-weight: 600; }
.hero__microcopy-dot {
  flex: 0 0 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 8px rgba(142, 1, 255, 0.7);
}

/* Hero card (form en hero) */
.hero__card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(142, 1, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(142, 1, 255, 0.06), transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}

/* Banner ruleta — con movimiento */
.ruleta-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border-radius: 14px;
  background:
    linear-gradient(120deg, var(--purple-700) 0%, var(--purple-600) 45%, var(--cyan-600) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 24px -10px rgba(91, 46, 214, 0.55);
}
.ruleta-banner__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.ruleta-banner__icon {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  flex: 0 0 38px;
  animation: ruleta-bob 2.4s ease-in-out infinite;
}
@keyframes ruleta-bob {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50%      { transform: rotate(8deg)  scale(1.08); }
}
.ruleta-banner__text {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}
.ruleta-banner__text strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ruleta-banner__text span {
  color: var(--cyan-200);
  font-weight: 500;
  white-space: nowrap;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.countdown__cell {
  background: var(--purple-100);
  border-radius: var(--radius);
  padding: 14px 6px;
  text-align: center;
}
.countdown--cyan .countdown__cell {
  background: linear-gradient(180deg, #f0fdff, #e0f7fb);
  border: 1px solid var(--cyan-200);
}
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--purple-700);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown--cyan .countdown__num { color: var(--cyan-600); }
.countdown__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-top: 6px;
}
.countdown--cyan .countdown__label { color: var(--cyan-600); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* === SECCIÓN: BENEFICIOS / SHOWCASE === */
.benefits { padding: 96px 0; }

.showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Tabs (left column) */
.showcase__tabs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.showcase__tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 14px 14px 12px;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.showcase__tab:hover { background: var(--purple-100); }
.showcase__tab.is-active {
  background: linear-gradient(90deg, var(--purple-100), transparent 85%);
  border-left-color: var(--purple-600);
}
.showcase__tab.is-active .showcase__num {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border-color: transparent;
}
.showcase__tab.is-active .showcase__tab-body strong { color: var(--purple-700); }

.showcase__num {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1.5px solid var(--purple-200);
  background: #fff;
  color: var(--purple-700);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.showcase__tab-body { display: grid; gap: 2px; min-width: 0; }
.showcase__tab-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  transition: color 0.2s;
}
.showcase__tab-body em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Stage (right panel) */
.showcase__stage {
  position: relative;
  background: linear-gradient(180deg, #faf8ff, #fff);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.showcase__panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  position: absolute;
  inset: 32px;
}
.showcase__panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  inset: auto;
}
.showcase__panel[hidden] { display: none; }

.showcase__copy h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.showcase__copy p {
  font-size: 1rem;
  color: var(--concrete-700);
  margin-bottom: 18px;
}
.showcase__copy strong { color: var(--purple-700); }
.showcase__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.showcase__chips li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Visual container */
.showcase__visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* --- Viz: dot map --- */
.viz-map svg { width: 100%; height: auto; display: block; }
.viz-map__hot circle { animation: vizPulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.viz-map__hot circle:nth-child(1) { animation-delay: 0s; }
.viz-map__hot circle:nth-child(2) { animation-delay: 0.3s; }
.viz-map__hot circle:nth-child(3) { animation-delay: 0.6s; }
.viz-map__hot circle:nth-child(4) { animation-delay: 0.9s; }
.viz-map__hot circle:nth-child(5) { animation-delay: 1.2s; }
.viz-map__hot circle:nth-child(6) { animation-delay: 1.5s; }
@keyframes vizPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.8; transform: scale(1.08); }
}

/* --- Viz: bars --- */
.viz-bars {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 10px 4px;
}
.viz-bars__row {
  display: grid;
  grid-template-columns: 32px 1fr 70px;
  align-items: center;
  gap: 10px;
}
.viz-bars__rank {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-600);
  text-align: right;
}
.viz-bars__bar {
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  width: 0;
  animation: vizBarGrow 0.9s var(--ease) forwards;
}
.showcase__panel.is-active .viz-bars__bar { animation-name: vizBarGrow; }
@keyframes vizBarGrow { to { width: var(--v); } }
.viz-bars__row:nth-child(1) .viz-bars__bar { animation-delay: 0.05s; }
.viz-bars__row:nth-child(2) .viz-bars__bar { animation-delay: 0.12s; }
.viz-bars__row:nth-child(3) .viz-bars__bar { animation-delay: 0.19s; }
.viz-bars__row:nth-child(4) .viz-bars__bar { animation-delay: 0.26s; }
.viz-bars__row:nth-child(5) .viz-bars__bar { animation-delay: 0.33s; }
.viz-bars__val {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- Viz: prices --- */
.viz-prices {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.viz-prices__col {
  background: var(--purple-100);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.viz-prices__col.is-high {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  border-color: transparent;
  color: #fff;
}
.viz-prices__col.is-high .viz-prices__lbl,
.viz-prices__col.is-high .viz-prices__unit { color: rgba(255,255,255,0.85); }
.viz-prices__lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.viz-prices__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: inherit;
  letter-spacing: -0.02em;
}
.viz-prices__unit {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.viz-prices__delta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
}
.viz-prices__delta svg { width: 22px; height: 22px; }

/* --- Viz: trend line --- */
.viz-trend svg { width: 100%; height: auto; display: block; }
.showcase__panel.is-active .viz-trend path[stroke] {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: vizDrawLine 1.4s var(--ease) forwards;
}
@keyframes vizDrawLine { to { stroke-dashoffset: 0; } }

/* --- Viz: steps --- */
.viz-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  flex-wrap: wrap;
}
.viz-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 90px;
  text-align: center;
}
.viz-steps__n {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 6px 14px -4px rgba(91, 46, 214, 0.5);
}
.viz-steps__item span:last-child {
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}
.viz-steps__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-400), var(--purple-200));
  min-width: 12px;
  border-radius: 2px;
  align-self: flex-start;
  margin-top: 17px;
}

/* --- Viz: chat --- */
.viz-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}
.viz-chat__bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  position: relative;
  max-width: 85%;
}
.viz-chat__bubble.is-you {
  align-self: flex-end;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.viz-chat__bubble.is-dania {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border-bottom-left-radius: 4px;
}
.viz-chat__who {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}
.viz-chat__bubble.is-dania .viz-chat__who { opacity: 0.8; }
.viz-chat__typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: inline-flex;
  gap: 4px;
}
.viz-chat__typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-400);
  animation: vizTyping 1.2s ease-in-out infinite;
}
.viz-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.viz-chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes vizTyping {
  0%,60%,100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Progress bar (auto-advance) */
.showcase__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: transparent;
  overflow: hidden;
}
.showcase__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  transition: width 0.1s linear;
}
.showcase.is-paused .showcase__progress-bar { background: var(--concrete-300); }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; padding: 18px; }
  .showcase__tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .showcase__tab { padding: 10px 10px 10px 10px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 10px; }
  .showcase__tab.is-active { border-left: 0; border-bottom-color: var(--purple-600); }
  .showcase__tab-body em { display: none; }
  .showcase__stage { padding: 20px; min-height: 380px; }
  .showcase__panel { grid-template-columns: 1fr; inset: 20px; gap: 18px; }
}
@media (max-width: 620px) {
  .benefits { padding: 70px 0; }
  .showcase__tabs { grid-template-columns: 1fr 1fr 1fr; }
  .showcase__tab-body strong { font-size: 0.82rem; }
  .showcase__num { flex-basis: 26px; width: 26px; height: 26px; font-size: 0.72rem; }
  .viz-steps__item { max-width: 70px; }
  .viz-steps__item span:last-child { font-size: 0.7rem; }
}

/* === SECCIÓN: CASO APLICADO === */
.caso-section {
  padding: 96px 0;
  background: var(--bg-alt);
}
.caso {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.caso__titulo {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.caso__lead {
  font-size: 1.05rem;
  color: var(--concrete-700);
  margin-bottom: 28px;
}
.caso__metricas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.metrica {
  background: linear-gradient(135deg, var(--purple-100), #fff);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.metrica__val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple-700);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.metrica__lbl {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
.caso__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  border-left: 3px solid var(--purple-500);
  padding-left: 18px;
}

@media (max-width: 720px) {
  .caso { padding: 28px 24px; }
  .caso__metricas { grid-template-columns: 1fr; }
  .caso-section { padding: 70px 0; }
}

/* === SECCIÓN: PARA TI SI === */
.para-ti { padding: 96px 0; }
.para-ti__list {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.para-ti__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--concrete-700);
  transition: border-color 0.2s, transform 0.2s;
}
.para-ti__list li:hover {
  border-color: var(--purple-200);
  transform: translateX(4px);
}
.check {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
}
.check::after {
  content: "";
  width: 6px; height: 11px;
  border-right: 2px solid var(--purple-600);
  border-bottom: 2px solid var(--purple-600);
  transform: rotate(45deg) translate(-1px, -1px);
}

@media (max-width: 620px) { .para-ti { padding: 70px 0; } }

/* === SECCIÓN: REGIONES === */
.regiones-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.mapa-mexico {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.mapa-mexico__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 975.537 / 654.82;
  filter: drop-shadow(0 12px 22px rgba(60, 60, 70, 0.15));
}
.mapa-mexico__img {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pins — location-marker shape. Tip of pin anchors at the coordinate. */
.pin {
  position: absolute;
  width: 32px;
  height: 42px;
  /* Tip is at (16, 42) inside the button box. Offset so tip sits at the coord. */
  margin: -42px 0 0 -16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--purple-600);
  transition: transform 0.2s var(--ease);
  transform-origin: 50% 100%;
  z-index: 2;
  filter: drop-shadow(0 5px 6px rgba(91, 46, 214, 0.45));
}
.pin__shape {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.pin__shape path {
  fill: currentColor;
  stroke: #fff;
  stroke-width: 1.5;
  paint-order: stroke;
}
.pin__num {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  text-align: center;
  height: 24px;
  line-height: 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-700);
  pointer-events: none;
}

/* Ripple anchored at the pin's tip */
.pin::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 22px;
  height: 10px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.35;
  animation: pinPulse 2.1s ease-out infinite;
  z-index: -1;
  pointer-events: none;
}

.pin:hover { transform: translateY(-3px) scale(1.08); }
.pin:focus-visible { outline: 3px solid var(--purple-400); outline-offset: 3px; border-radius: 6px; }

@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.55; }
  80%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Stagger the pulse so all 7 pins aren't synchronized */
.mapa-mexico__figure .pin:nth-of-type(1)::before { animation-delay: 0s;   }
.mapa-mexico__figure .pin:nth-of-type(2)::before { animation-delay: 0.3s; }
.mapa-mexico__figure .pin:nth-of-type(3)::before { animation-delay: 0.6s; }
.mapa-mexico__figure .pin:nth-of-type(4)::before { animation-delay: 0.9s; }
.mapa-mexico__figure .pin:nth-of-type(5)::before { animation-delay: 1.2s; }
.mapa-mexico__figure .pin:nth-of-type(6)::before { animation-delay: 1.5s; }
.mapa-mexico__figure .pin:nth-of-type(7)::before { animation-delay: 1.8s; }

/* Legend */
.mapa-mexico__legend {
  list-style: none;
  display: grid;
  gap: 10px;
}
.mapa-mexico__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--concrete-700);
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--purple-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.mapa-mexico__legend li:hover {
  background: var(--purple-100);
  transform: translateX(4px);
}
.legend-num {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 780px) {
  .mapa-mexico {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mapa-mexico__legend {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .regiones-section { padding: 70px 0; }
  .mapa-mexico__legend { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pin::before { animation: none; opacity: 0.3; }
}

/* === SECCIÓN: AGENDA === */
.agenda {
  padding: 96px 0;
}
.agenda__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.agenda__copy { position: sticky; top: 100px; }
.agenda__list {
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.agenda__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  position: relative;
  padding-left: 72px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-increment: step;
  transition: border-color 0.2s;
}
.agenda__item:hover { border-color: var(--purple-200); }
.agenda__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 18px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-600);
  background: var(--purple-100);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.agenda__time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-600);
  letter-spacing: 0.05em;
}
.agenda__item h4 { font-size: 1rem; }

@media (max-width: 900px) {
  .agenda__inner { grid-template-columns: 1fr; gap: 36px; }
  .agenda__copy { position: static; }
  .agenda { padding: 70px 0; }
}

/* === SECCIÓN: SPEAKER === */
.speaker { padding: 96px 0; background: var(--bg-alt); }
.speaker__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.speaker__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  box-shadow: var(--shadow-lg);
}
.speaker__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.speaker__photo:hover img { transform: scale(1.03); }
.speaker__badge {
  position: absolute;
  top: 18px; left: 18px;
  background: #fff;
  color: var(--purple-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.speaker__role {
  font-size: 1rem;
  color: var(--purple-600);
  font-weight: 500;
  margin-top: 8px;
}
.speaker__bio {
  font-size: 1.05rem;
  margin-top: 14px;
  color: var(--concrete-700);
}
.speaker__tags {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.speaker__tags li {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 999px;
}

@media (max-width: 820px) {
  .speaker__grid { grid-template-columns: 1fr; gap: 40px; }
  .speaker__photo { max-width: 380px; margin: 0 auto; }
  .speaker { padding: 70px 0; }
}

/* === FORM (dentro del hero card en V2) === */
.form--hero {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.form__title {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.req { color: var(--red); font-weight: 600; }
.opt { color: var(--ink-soft); font-weight: 400; font-size: 0.78rem; }
.form__field { margin-bottom: 4px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.form__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form__field input::placeholder { color: var(--ink-soft); opacity: 1; }
.form__field input:focus {
  outline: 0;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px var(--purple-100);
}
.form__field.has-error input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form__error {
  display: none;
  margin-top: 6px;
  color: var(--red);
  font-size: 0.84rem;
}
.form__field.has-error .form__error { display: block; }

.form__hint {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

.form__submitError {
  margin-top: 10px;
  text-align: center;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 500;
}

.form__privacy {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form__privacy::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--purple-700, #5b2ed6);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l8 4v6c0 5-3.5 9.2-8 10-4.5-.8-8-5-8-10V6l8-4z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l8 4v6c0 5-3.5 9.2-8 10-4.5-.8-8-5-8-10V6l8-4z'/></svg>") no-repeat center / contain;
}

#submitBtn { margin-top: 18px; }

/* Submit loading state */
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__label::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success animation */
.form__success {
  text-align: center;
  padding: 24px 10px 6px;
  animation: fadeUp 0.4s var(--ease);
}
.form__success h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.form__success p { color: var(--concrete-700); }
.form__success strong { color: var(--purple-700); }

.check-anim {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
}
.check-anim svg {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 var(--purple-500);
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}
.check-anim svg circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke: var(--purple-500);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.check-anim svg path {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke  { to { stroke-dashoffset: 0; } }
@keyframes scale   { 0%,100% { transform: none; } 50% { transform: scale3d(1.1,1.1,1); } }
@keyframes fill    { to { box-shadow: inset 0 0 0 48px var(--purple-500); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .register__grid { grid-template-columns: 1fr; gap: 40px; }
  .register { padding: 70px 0; }
}
@media (max-width: 520px) {
  .form__grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* === SECCIÓN: LO QUE VERÁS — 6 cards grid === */
.contenido {
  padding: 100px 0;
  background: var(--bg);
}
.cards-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  counter-reset: bloque;
}
.card-bloque {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.card-bloque::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-600), var(--cyan-500));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.card-bloque:hover {
  transform: translateY(-4px);
  border-color: var(--purple-200);
  box-shadow: 0 22px 50px -22px rgba(91, 46, 214, 0.25);
}
.card-bloque:hover::before { transform: scaleX(1); }

.card-bloque__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.card-bloque h3 {
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.card-bloque p {
  font-size: 0.95rem;
  color: var(--concrete-700);
  line-height: 1.55;
}
.card-bloque p strong { color: var(--purple-700); font-weight: 600; }
.card-bloque__q {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--cyan-600);
  padding-top: 12px;
  border-top: 1px dashed var(--purple-200);
}

@media (max-width: 820px) {
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .contenido { padding: 70px 0; }
  .card-bloque { padding: 22px; }
}

/* === SECCIÓN: PARA TI SI (narrativa) === */
.para-ti--narrativa {
  padding: 100px 0;
  background: var(--bg-alt);
}
/* Layout dos columnas: texto (A) + imagen (B) */
.para-ti__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.para-ti__grid .section__head--left {
  max-width: none;
  margin: 0 0 32px;
  text-align: left;
}
.para-ti__col-media {
  position: sticky;
  top: 96px;
}
.para-ti__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  /* glow suave detrás de la ilustración transparente */
  background: radial-gradient(58% 52% at 50% 46%, rgba(142, 1, 255, 0.16), transparent 72%);
}
.para-ti__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.para-ti__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--purple-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}
.para-ti__placeholder svg { width: 40px; height: 40px; }

.narrativa {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 16px;
}
.narrativa__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 22px;
  row-gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.narrativa__item:hover {
  border-color: var(--purple-200);
  transform: translateX(4px);
}
.narrativa__icon {
  grid-row: 1 / span 2;
  align-self: start;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-100), var(--cyan-200));
  color: var(--purple-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.narrativa__item h3,
.narrativa__item p { grid-column: 2; min-width: 0; }
.narrativa__icon svg { width: 26px; height: 26px; }
.narrativa__item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.narrativa__item p {
  font-size: 0.98rem;
  color: var(--concrete-700);
  line-height: 1.6;
}
.narrativa__item p strong { color: var(--purple-700); font-weight: 600; }

@media (max-width: 900px) {
  .para-ti__grid { grid-template-columns: 1fr; gap: 40px; }
  .para-ti__col-media { position: static; top: auto; }
  .para-ti__media { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .para-ti--narrativa { padding: 70px 0; }
  .narrativa__item { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .narrativa__icon {
    width: 44px; height: 44px;
    grid-row: auto;
  }
  .narrativa__item h3,
  .narrativa__item p { grid-column: auto; }
}

/* === SECCIÓN: CARTEL DEL WEBINAR === */
.cartel {
  padding: 110px 0;
  background: var(--bg);
}
.cartel__poster {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.cartel__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(60, 30, 160, 0.55);
}
.cartel__cta {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: #1c0730;
  box-shadow: 0 14px 30px -10px rgba(142, 1, 255, 0.7);
}
.cartel__cta:hover {
  background: linear-gradient(135deg, var(--cyan-400), var(--cyan-500));
  box-shadow: 0 18px 40px -12px rgba(142, 1, 255, 0.8);
}

@media (max-width: 720px) {
  .cartel { padding: 70px 0; }
  .cartel__img { border-radius: 22px; }
}

/* === SECCIÓN: CIERRE === */
.cierre {
  padding: 110px 0;
  background:
    radial-gradient(700px 400px at 18% 25%, rgba(142, 1, 255, 0.2), transparent 60%),
    radial-gradient(700px 400px at 85% 80%, rgba(167, 139, 250, 0.28), transparent 60%),
    linear-gradient(135deg, #2b0c46 0%, #2a1557 50%, #3d1f7a 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cierre::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.cierre__inner { position: relative; max-width: 780px; margin: 0 auto; }
.cierre__claim {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 36px;
  letter-spacing: -0.015em;
}
.cierre__claim em { font-style: italic; font-weight: 700; }
.cierre h2 { color: #fff; margin-bottom: 16px; }
.cierre h2 strong { font-weight: 700; }
.cierre p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; line-height: 1.7; }
.cierre .btn--primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-400));
  color: #1c0730;
  box-shadow: 0 14px 30px -10px rgba(142, 1, 255, 0.7);
}
.cierre .btn--primary:hover {
  background: linear-gradient(135deg, var(--cyan-400), var(--cyan-500));
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -14px rgba(142, 1, 255, 0.85);
}

/* === FOOTER === */
.footer {
  background: var(--concrete-900);
  color: var(--concrete-300);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__brand .nav__brand-text { color: #fff; }
.footer__logo {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  /* Invert black logo to white over the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
/* Co-marca en footer: Teseo + Concreteos lado a lado */
.footer__cobrand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.footer__cobrand .footer__logo { margin-bottom: 0; }
.footer__logo--concreteos { height: 28px; filter: none; opacity: 1; }
.footer__cobrand-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  flex: 0 0 auto;
}
.footer__brand p { color: var(--concrete-500); font-size: 0.9rem; margin-top: 6px; max-width: 340px; }
.footer__meta { text-align: right; font-size: 0.88rem; }
.footer__meta a { color: var(--concrete-300); }
.footer__meta a:hover { color: #fff; }

@media (max-width: 620px) {
  .footer__inner { flex-direction: column; }
  .footer__meta { text-align: left; }
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge-dot { animation: none; }
}

/* === VARIABLES RÁPIDAS === */
/* Cambia estos valores para re-tematizar toda la página */
:root {
  /* Color primario (degradado): */
  --brand-primary: var(--purple-600);
  --brand-accent:  var(--purple-400);
  /* Tipografías: --font-display para titulares, 'Inter' para el resto */
  /* Radio de borde global: --radius (14px) */
  /* Ancho máximo del contenedor: --container (1180px) */
  /* Fecha del webinar: configurar en js/main.js → WEBINAR_DATE */
  /* Endpoint del form: configurar en js/main.js → APPS_SCRIPT_URL */
}

/* ============================================================
   WhatsApp flotante — esquina inferior derecha
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #1EBE5D;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 10px 26px rgba(37, 211, 102, 0.55),
    0 3px 8px rgba(0, 0, 0, 0.18);
  color: #FFFFFF;
  outline: none;
}

.wa-float:focus-visible {
  box-shadow:
    0 0 0 3px rgba(37, 211, 102, 0.35),
    0 10px 26px rgba(37, 211, 102, 0.55);
}

.wa-float__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wa-float__label {
  white-space: nowrap;
}

/* Pulso suave para llamar la atención */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Móvil: botón circular (sin texto) para no invadir pantalla */
@media (max-width: 640px) {
  .wa-float {
    padding: 14px;
    right: 16px;
    bottom: 16px;
  }
  .wa-float__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
  .wa-float { transition: none; }
}

/* ================= CONCRETERAS CLIENTES ================= */
.clientes {
  padding: 84px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.clientes__logos {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}
.clientes__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.clientes__logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--purple-400);
}
.clientes__logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.clientes__cta {
  margin-top: 36px;
  text-align: center;
}
@media (max-width: 640px) {
  .clientes { padding: 60px 0; }
  .clientes__logo { width: 104px; height: 104px; padding: 12px; }
}
