/* =========================================================
   FA GROUP · Estilos
   Organizado por secciones, en el mismo orden que index.html
   ========================================================= */

/* ---------- 1. Variables de marca ---------- */
:root {
  --bg: #0A0A08;            /* negro profundo */
  --bg-alt: #130F05;        /* negro cálido para secciones alternas */
  --card: #1A1507;          /* fondo de tarjetas */
  --line: rgba(211, 167, 54, 0.18);
  --line-strong: rgba(211, 167, 54, 0.55);
  --gold: #D3A736;
  --gold-a: #D9AD2E;
  --gold-b: #F7D009;
  --grad-gold: linear-gradient(135deg, var(--gold-a), var(--gold-b));
  --text: #FFFFFF;
  --muted: #B8B2A3;

  --f-title: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-title); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-b); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.ico { width: 1.1em; height: 1.1em; flex: none; }

.section { padding-block: clamp(72px, 11vw, 132px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-title {
  font-size: clamp(1.9rem, 5.4vw, 3.4rem);
  font-weight: 900;
  text-wrap: balance;
}
.section-title.center { margin-inline: auto; max-width: 20ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.15rem); margin-top: 18px; text-wrap: pretty; }
.tag {
  display: inline-block;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow { font-family: var(--f-title); font-weight: 700; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.subhead { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: clamp(56px, 8vw, 88px) 0 28px; }

/* ---------- 3. Botones ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--f-title);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: .85rem; }
.btn--lg { --pad-y: 17px; --pad-x: 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--grad-gold);
  color: #0A0A08;
  box-shadow: 0 10px 30px -12px rgba(247, 208, 9, .55);
}
/* Brillo que recorre el botón dorado */
.btn--gold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btnShine 4.5s var(--ease) infinite;
  z-index: -1;
}
@keyframes btnShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(247, 208, 9, .7); }
.btn--ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--ghost:hover { background: rgba(211, 167, 54, .1); transform: translateY(-2px); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ---------- 4. Título con brillo dorado (shimmer) ---------- */
.shimmer {
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, #FFF1B8 50%, var(--gold-b) 56%, var(--gold) 70%, var(--gold) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: -40% 0; } }

/* ---------- 5. Animaciones de aparición (solo si JS está activo) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensa: nunca ocultar texto dividido */
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; } [data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; }

/* ---------- 6. Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar {
  display: block; height: 100%; width: 100%;
  background: var(--grad-gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(247, 208, 9, .6);
}

/* ---------- 7. Menú fijo ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .35s var(--ease), background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 60px;
  height: 60px;
  background: rgba(10, 10, 8, .92);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(10, 10, 8, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-title); font-weight: 800; letter-spacing: .12em; font-size: .95rem; color: var(--gold); }
.nav__brand img { width: 44px; height: 44px; transition: width .35s var(--ease), height .35s var(--ease); }
.nav.is-scrolled .nav__brand img { width: 36px; height: 36px; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted);
  position: relative; padding-block: 6px; transition: color .25s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; }

@media (max-width: 959px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(26, 21, 7, .8); border: 1px solid var(--line); cursor: pointer; z-index: 2;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(10, 10, 8, .97);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-family: var(--f-title); font-size: 1.6rem; font-weight: 800; color: var(--text); padding: 8px 0; }
  .nav__links .nav__cta { margin-top: 18px; font-size: 1rem; padding: 16px 28px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- 8. Portada ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 32px) 0 72px;
  background: radial-gradient(ellipse at 50% 45%, #281F0B 0%, #17120A 38%, #0A0A08 75%);
  overflow: hidden;
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247, 208, 9, .10), transparent 60%);
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }

.hero__inner { position: relative; display: grid; gap: 44px; align-items: center; }
.hero__copy { text-align: center; }
.hero__copy .eyebrow { display: block; margin-bottom: 28px; }
.hero__title {
  font-size: clamp(2.6rem, 10.5vw, 5.6rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 13ch;
  margin-inline: auto;
  padding-bottom: .08em;
}
/* Presentación: bloques bien separados entre sí */
.hero__intro {
  margin-top: clamp(48px, 6vw, 64px);
  padding-top: clamp(32px, 4vw, 40px);
  position: relative;
}
.hero__intro::before {
  /* línea dorada que separa el título de la presentación */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background: var(--grad-gold); border-radius: 3px;
}
.hero__name {
  font-family: var(--f-title); font-weight: 800; color: var(--text);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em;
}
.hero__role {
  font-family: var(--f-title); font-weight: 600; color: var(--gold);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; margin-top: 14px; text-wrap: balance;
}
.hero__lead {
  color: #D8D2C4; font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.75;
  margin: clamp(40px, 5vw, 52px) auto 0; max-width: 46ch; text-wrap: pretty;
}
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-direction: column; gap: 16px; margin-top: clamp(48px, 6vw, 60px); align-items: stretch; max-width: 400px; margin-inline: auto; }

/* Retrato recortado (PNG/WebP transparente) sobre un arco y halo dorado */
.hero__photo { position: relative; width: min(88%, 400px); margin-inline: auto; padding-top: 24px; }
.hero__photo::before {
  /* arco dorado detrás del retrato */
  content: ""; position: absolute; left: 6%; right: 6%; top: 0; bottom: 12%;
  border-radius: 999px 999px 28px 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(211, 167, 54, .18), rgba(26, 21, 7, .6) 60%, rgba(10, 10, 8, 0));
}
.hero__halo {
  position: absolute; left: 50%; top: 34%; width: 110%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247, 208, 9, .28), rgba(211, 167, 54, .08) 45%, transparent 68%);
  pointer-events: none;
}
.hero__portrait {
  position: relative; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
}
.hero__portrait img {
  width: 100%; height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(211, 167, 54, .6));
}
/* Correo destacado: tarjeta grande con ícono */
.hero__mail {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 36px;
  padding: 14px 22px 14px 14px; border-radius: 18px;
  background: rgba(26, 21, 7, .75); border: 1px solid var(--line-strong);
  text-decoration: none; text-align: left; max-width: 100%;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.hero__mail:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(247, 208, 9, .45); }
.hero__mail-ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-gold); color: #0A0A08;
}
.hero__mail-ico svg { width: 26px; height: 26px; }
.hero__mail-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hero__mail-text small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.hero__mail-text strong { font-family: var(--f-title); font-weight: 700; color: var(--gold); font-size: clamp(1.05rem, 4.6vw, 1.35rem); overflow-wrap: anywhere; }
@media (min-width: 960px) { .hero__mail-text strong { font-size: 1.4rem; } }
@media (max-width: 599px) {
  /* En celular: ícono arriba y correo completo en una sola línea */
  .hero__mail { flex-direction: column; gap: 12px; width: 100%; padding: 20px 16px; text-align: center; }
  .hero__mail-text { align-items: center; }
  .hero__mail-text strong { font-size: .98rem; overflow-wrap: normal; white-space: nowrap; }
}
@media (max-width: 959px) {
  /* En celular y tablet el retrato va primero, más compacto */
  .hero__photo { order: -1; width: min(64%, 270px); padding-top: 12px; }
  .hero__inner { display: flex; flex-direction: column; gap: 36px; }
  .hero__badge { padding: 7px 16px; bottom: -12px; }
  .hero__badge strong { font-size: .85rem; }
}
.hero__mail:hover { color: var(--text); border-bottom-color: var(--gold); }
.hero__badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 22px; border-radius: 14px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 16px 40px -16px #000;
}
.hero__badge strong { font-family: var(--f-title); font-size: .95rem; }
.hero__badge span { font-size: .76rem; color: var(--gold); letter-spacing: .08em; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 20px; display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; justify-content: center; max-width: none; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.25fr .9fr; gap: 64px; }
  .hero__copy { text-align: left; }
  .hero__title { margin-inline: 0; }
  .hero__lead { margin-inline: 0; }
  .hero__intro::before { left: 0; transform: none; }
  .hero__actions { justify-content: flex-start; margin-inline: 0; }
  .hero__photo { width: 100%; max-width: 440px; }
  .hero__scroll { display: block; }
}

/* ---------- 9. Tarjetas genéricas ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(211, 167, 54, .15), 0 0 40px -12px rgba(211, 167, 54, .25);
}
/* .reveal usa transform; cuando termina de aparecer (is-done) la tarjeta recupera su hover */
.js .card.reveal.is-done { transition: transform .45s var(--ease), border-color .45s, box-shadow .45s var(--ease); }
.js .card.reveal.is-visible:hover { transform: translateY(-6px); }

/* ---------- 10. Dos caminos ---------- */
.paths__grid { display: grid; gap: 20px; }
.path-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 40px; }
.path-card__num {
  position: absolute; right: 18px; top: 4px;
  font-family: var(--f-title); font-weight: 900; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 167, 54, .25);
}
.path-card .tag { margin-bottom: 0; }
.path-card h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; max-width: 22ch; }
.path-card p:not(.tag) { color: var(--muted); }
.path-card .btn { margin-top: auto; }
.path-card h3 + p { margin-bottom: 16px; }
.paths__grid { gap: 32px; }
@media (min-width: 768px) { .paths__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Bloques repetidos dentro de "Para dueños de negocio" (logos y galería) */
.repeat-block { margin-top: clamp(64px, 9vw, 104px); }
.repeat-block .section-title.center { margin-bottom: clamp(28px, 4vw, 44px); }
.repeat-block--trust {
  margin-block: clamp(56px, 8vw, 88px) clamp(8px, 2vw, 16px);
  padding-block: clamp(44px, 5.5vw, 68px);
  background: var(--bg-alt); border-block: 1px solid var(--line);
}
.repeat-block--trust .section-title.center { margin-top: 0; }

/* Títulos grandes de sección ("Para empresas", "Para dueños de negocio") + subtítulo separado */
.biz .section-head, .workshops .section-head { max-width: 900px; }
.big-title {
  font-size: clamp(2.6rem, 9vw, 5.2rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.big-sub {
  position: relative;
  font-family: var(--f-title); font-weight: 800; line-height: 1.2; text-wrap: balance;
  font-size: clamp(1.45rem, 3.8vw, 2.3rem);
  margin-top: clamp(40px, 5.5vw, 56px); padding-top: clamp(26px, 3.5vw, 34px);
}
.big-sub::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.biz .section-lead, .workshops .section-lead { margin-top: clamp(20px, 2.8vw, 28px); font-size: clamp(1.1rem, 2vw, 1.25rem); }

/* ---------- 11. Números de impacto ---------- */
.stats { border-block: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px); }
.stats__grid { display: grid; gap: 48px; text-align: center; }
.stat__emoji {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  font-size: 2.2rem; line-height: 1;
  background: radial-gradient(circle, rgba(247, 208, 9, .18), rgba(211, 167, 54, .05) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 40px -10px rgba(247, 208, 9, .35);
}
.stat__num {
  font-family: var(--f-title); font-weight: 900;
  font-size: clamp(3rem, 11vw, 4.2rem); line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--muted); margin-top: 10px; max-width: 24ch; margin-inline: auto; }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat__num { font-size: clamp(2.8rem, 5vw, 4.2rem); }
}

/* ---------- 12. Instituciones: carrusel + resultados + galería ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding-block: 8px;
}
/* El carrusel nunca se detiene (ni al pasar el mouse) */
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
/* Cada logo va en un recuadro grande, todos del mismo tamaño */
.marquee__list { display: flex; gap: 28px; padding-right: 28px; }
.marquee__list li {
  flex: none; width: 300px; height: 188px; padding: 20px 24px; border-radius: 22px;
  background: #000; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s;
}
.marquee__list li:hover { border-color: var(--gold); box-shadow: 0 0 30px -10px rgba(247, 208, 9, .4); }
.marquee__list img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .marquee__list li { width: 420px; height: 240px; padding: 24px 32px; } }

/* Menos espacio entre "¿Por dónde empezamos?" e "Instituciones" para que la lectura sea continua */
.paths { padding-bottom: clamp(40px, 5vw, 60px); }
.trust { padding-block: clamp(44px, 5.5vw, 68px); }
.trust .section-title { margin-bottom: clamp(28px, 4vw, 40px); }

/* Galería más pegada a Instituciones */
.moments { padding-top: clamp(40px, 5vw, 64px); }

/* "Nuestros resultados": mismo título y mismas cifras que "Nuestro impacto" */
.section-title.results__title { margin-top: clamp(80px, 11vw, 120px); }
.stats__grid--results { row-gap: 56px; }
@media (min-width: 1024px) {
  .stats__grid--results { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .stats .stats__grid--results .stat__kicker, .stats .stats__grid--results .stat__num { font-size: clamp(2rem, 3.4vw, 2.9rem); }
}
.stats__grid--results .stat { border-left: 0 !important; }
.stats__grid--results .stat__label { max-width: 30ch; }

/* Resultados en formato claro: "Aumento del / 20 al 30% / en ventas…" */
/* "Aumento del" y "20 al 30%" con el MISMO tamaño; solo la descripción va pequeña */
.stats__grid--results .stat__kicker,
.stats__grid--results .stat__num {
  font-family: var(--f-title); font-weight: 900; line-height: 1.05; letter-spacing: -.01em;
  font-size: clamp(1.7rem, 7.4vw, 2.9rem);
}
.stats__grid--results .stat__kicker { white-space: nowrap; }
.stats__grid--results .stat__kicker { color: var(--text); margin-bottom: 4px; }
.stats__grid--results .stat__label { font-size: 1.05rem; color: #D8D2C4; margin-top: 14px; }
/* Títulos "Nuestro impacto" y "Nuestros resultados" más grandes e iguales */
#impacto-title, #impacto-title-2, .section-title.results__title { font-size: clamp(2.4rem, 7vw, 4rem); max-width: none; }

/* Testimonios pegados a "Nuestros resultados" */
#impacto { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 0; }
.testimonials--after-results { padding-top: clamp(24px, 3vw, 40px); }
.testimonials .section-title { font-size: clamp(2.2rem, 6.4vw, 3.8rem); max-width: 18ch; margin-inline: auto; }
.results { display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 40px); }
.result { position: relative; overflow: hidden; }
.result__emoji {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 22px;
  font-size: 2rem; line-height: 1;
  background: rgba(211, 167, 54, .12); border: 1px solid var(--line-strong);
}
.result__big {
  font-family: var(--f-title); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.result__label { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--text); margin: 8px 0 12px; }
.result p:not(.result__big):not(.result__label) { color: var(--muted); font-size: 1.02rem; }
@media (min-width: 768px) { .results { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Galería de nuestro impacto
   Celular: 2 columnas con proporciones fijas (las horizontales ocupan todo el ancho).
   Escritorio: cuadrícula de 12 columnas; SEK y Radio María se muestran en grande. */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
}
.gallery__item { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); aspect-ratio: 3 / 4; background: #000; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.g-sek { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g-grupo { grid-column: 1 / -1; aspect-ratio: 2.6 / 1; }
.g-radio1 { grid-column: 1 / -1; aspect-ratio: 6 / 5; }
.g-congreso img { object-position: 50% 30%; }
.g-radio1 img { object-position: 50% 80%; }
.gallery__item::before {
  /* degradado inferior para que el texto se lea siempre */
  content: ""; position: absolute; inset: 45% 0 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 8, .85));
}
.gallery__item figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  font-family: var(--f-title); font-weight: 700; font-size: .82rem; line-height: 1.3;
  color: var(--text); display: flex; align-items: center; gap: 8px;
}
.gallery__item figcaption::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--gold); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .4s;
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery__item:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }
@media (min-width: 600px) {
  .gallery { gap: 20px; }
  .gallery__item figcaption { font-size: .95rem; left: 20px; bottom: 18px; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 60px; gap: 22px; }
  .gallery__item { aspect-ratio: auto; grid-column: span 4; grid-row: span 7; }
  .g-sek { grid-column: span 8; grid-row: span 6; }
  .g-congreso { grid-column: span 4; grid-row: span 6; }
  .g-grupo { grid-column: span 12; grid-row: span 4; }
  .g-radio1 { grid-column: span 8; }
  .g-luz2 { grid-column: span 4; }
  .gallery__item figcaption { font-size: 1.05rem; left: 24px; bottom: 20px; }
  .g-sek figcaption, .g-radio1 figcaption, .g-grupo figcaption { font-size: 1.25rem; }
}

/* ---------- 13. Línea Empresas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500;
  border: 1px solid var(--line-strong); color: var(--text); background: rgba(211, 167, 54, .06);
}
.modules { display: grid; gap: 18px; }
.module__ico, .pillar__ico, .ws__ico {
  width: 46px; height: 46px; padding: 10px; border-radius: 12px;
  color: var(--gold); background: rgba(211, 167, 54, .1); border: 1px solid var(--line);
  margin-bottom: 18px; transition: transform .45s var(--ease), background-color .45s;
}
.card:hover .module__ico, .card:hover .pillar__ico, .card:hover .ws__ico { transform: rotate(-8deg) scale(1.08); background: rgba(211, 167, 54, .18); }
.module h3, .pillar h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.module p, .pillar p { color: var(--muted); }
/* Módulos de empresas: 2 por fila, más grandes y con ilustración */
.modules { gap: 22px; }
.module { padding: 0; overflow: hidden; }
.module__art {
  aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 18px;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906;
  border-bottom: 1px solid var(--line);
}
.module__art svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.module:hover .module__art svg { transform: scale(1.05); }
.module h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 26px 28px 12px; }
.module p { font-size: clamp(1.02rem, 1.8vw, 1.15rem); line-height: 1.65; margin: 0 28px 30px; }
@media (min-width: 640px) { .modules { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Botones grandes con flecha que invita a actuar */
.btn--xl { --pad-y: 20px; --pad-x: 34px; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.btn--xl .ico { width: 1.3em; height: 1.3em; }
.ico--nudge { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.cta-block { text-align: center; margin-top: clamp(8px, 2vw, 16px); }
.cta-block__hint { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.3rem, 3.2vw, 1.8rem); }
.cta-block__arrow { display: inline-grid; place-items: center; margin: 14px 0 22px; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); animation: bounceDown 1.8s ease-in-out infinite; }
.cta-block__arrow svg { width: 26px; height: 26px; transform: rotate(90deg); }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.cta-row--xl { gap: 18px; }
@media (max-width: 599px) { .cta-row--xl .btn { width: 100%; } }

/* ---------- "Cómo trabajamos": título llamativo + secuencia animada de 3 pasos ---------- */
.how-title {
  text-align: center; font-size: clamp(2.4rem, 7.5vw, 4.4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
  margin: clamp(80px, 11vw, 120px) 0 clamp(40px, 6vw, 64px);
}
.steps { display: grid; gap: 64px; counter-reset: step; }
.step {
  position: relative; display: flex; gap: 22px; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 38px); border-radius: 22px; border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(247, 208, 9, .1), rgba(26, 21, 7, .6) 55%);
  box-shadow: 0 24px 50px -30px #000;
}
.step__num {
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-title); font-weight: 900; font-size: 1.9rem; color: #0A0A08;
  background: var(--grad-gold);
  box-shadow: 0 0 0 8px rgba(211, 167, 54, .14), 0 0 36px -6px rgba(247, 208, 9, .6);
  transform: scale(.4) rotate(-120deg); opacity: 0;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s;
}
.step h4 { font-size: clamp(1.4rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.step p { color: #D8D2C4; font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.6; }

/* Aparición en secuencia: 1 → 2 → 3 (cada paso espera al anterior) */
.js .steps .step.reveal { transition-delay: calc(var(--d, 0) * 450ms); }
.step.is-visible .step__num, html:not(.js) .step__num { transform: none; opacity: 1; transition-delay: calc(var(--d, 0) * 450ms + .25s); }

/* Flechas doradas entre pasos */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -50px; width: 36px; height: 36px; margin-left: -18px;
  border-radius: 50%; border: 1.5px solid var(--gold);
  background: #130F05 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7' fill='none' stroke='%23F7D009' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .5s var(--ease);
  transition-delay: calc(var(--d, 0) * 450ms + .6s);
}
.step.is-visible:not(:last-child)::after, html:not(.js) .step:not(:last-child)::after { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; position: relative; }
  .step { flex-direction: column; }
  .step:not(:last-child)::after {
    left: auto; right: -46px; bottom: auto; top: 50%; margin: -18px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' fill='none' stroke='%23F7D009' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: translateX(-8px);
  }
  .step.is-visible:not(:last-child)::after { transform: none; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.guarantee {
  display: flex; gap: 18px; align-items: center;
  margin: clamp(40px, 6vw, 56px) auto; max-width: 780px;
  padding: 24px 28px; border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  background: linear-gradient(135deg, rgba(247, 208, 9, .12), rgba(211, 167, 54, .03));
  box-shadow: 0 0 60px -20px rgba(247, 208, 9, .35);
}
.guarantee__ico { flex: none; width: 44px; height: 44px; color: var(--gold-b); }
.guarantee p { font-family: var(--f-title); font-weight: 700; font-size: clamp(1rem, 2vw, 1.15rem); }

/* ---------- 14. Talleres ---------- */
.ws-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .ws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ws { padding: 22px; }
.ws__ico { margin-bottom: 14px; }
.ws__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.ws h3 { font-size: clamp(1rem, 2.4vw, 1.2rem); font-weight: 800; }
@media (min-width: 1024px) { .ws-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.offer {
  display: grid; gap: 28px;
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(26px, 4vw, 48px);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(247, 208, 9, .16), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(211, 167, 54, .12), transparent 55%),
    var(--card);
  position: relative; overflow: hidden;
}
/* Servicio destacado: cobros con tarjeta sin datáfono */
.cardpay {
  display: grid; gap: 36px; align-items: center;
  margin-top: clamp(36px, 5vw, 56px); padding: clamp(28px, 4.5vw, 52px);
  border-radius: 26px; border: 1.5px solid var(--gold);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(247, 208, 9, .2), transparent 55%),
    linear-gradient(160deg, #1d170a, #0d0b06);
  box-shadow: 0 0 70px -24px rgba(247, 208, 9, .45);
  position: relative; overflow: hidden;
}
.cardpay__title { font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 900; line-height: 1.1; text-wrap: balance; margin-bottom: 20px; }
.cardpay__text { color: #D8D2C4; font-size: clamp(1.02rem, 1.8vw, 1.12rem); line-height: 1.7; max-width: 52ch; }
.cardpay__text + .cardpay__text { margin-top: 12px; }
.cardpay__text strong { color: var(--text); }
.cardpay__list { display: grid; gap: 10px; margin: 24px 0 30px; }
.cardpay__list li { position: relative; padding-left: 32px; font-weight: 600; color: var(--text); }
.cardpay__list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 900;
  background: var(--grad-gold); color: #0A0A08;
}
.cardpay__visual { display: grid; place-items: center; perspective: 1000px; }
.cardpay__card {
  position: relative; width: min(100%, 340px); aspect-ratio: 1.586; border-radius: 18px; padding: 22px;
  background: linear-gradient(135deg, #2a210c, #0b0906 55%, #3a2d0e);
  border: 1px solid rgba(247, 208, 9, .55);
  box-shadow: 0 30px 60px -20px #000, 0 0 50px -12px rgba(247, 208, 9, .5);
  transform: rotateY(-14deg) rotateX(6deg); transition: transform .8s var(--ease);
}
.cardpay:hover .cardpay__card { transform: rotateY(0) rotateX(0); }
.cardpay__chip { position: absolute; left: 22px; top: 30%; width: 44px; height: 32px; border-radius: 6px; background: var(--grad-gold); }
.cardpay__brand { position: absolute; right: 22px; top: 20px; font-family: var(--f-title); font-weight: 800; letter-spacing: .14em; color: var(--gold); font-size: .85rem; }
.cardpay__digits { position: absolute; left: 22px; bottom: 44px; font-family: var(--f-title); font-weight: 600; letter-spacing: .12em; color: #eae3d0; font-size: clamp(.9rem, 3.4vw, 1.1rem); }
.cardpay__pill { position: absolute; left: 22px; bottom: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0A0A08; background: var(--grad-gold); padding: 3px 10px; border-radius: 999px; }
@media (min-width: 900px) { .cardpay { grid-template-columns: 1.3fr 1fr; gap: 48px; } }

/* Dos formas de trabajar: taller o implementación */
.modes { display: grid; gap: 20px; }
.mode { position: relative; overflow: hidden; padding-top: 40px; }
.mode__num {
  position: absolute; right: 18px; top: 4px;
  font-family: var(--f-title); font-weight: 900; font-size: 5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 167, 54, .25);
}
.mode .tag { margin-bottom: 8px; }
.mode h3 { font-size: clamp(1.35rem, 2.8vw, 1.7rem); font-weight: 800; margin-bottom: 12px; }
.mode p:not(.tag) { color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
@media (min-width: 768px) { .modes { grid-template-columns: 1fr 1fr; gap: 28px; } }

.offer__name { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.2; margin: 4px 0 22px; }
.offer__value-label { color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: .06em; }
.offer__label { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.offer__old { color: var(--muted); font-size: 1.2rem; }
.offer__old s { text-decoration-color: #e0533d; text-decoration-thickness: 2px; }
.offer__new {
  font-family: var(--f-title); font-weight: 900; line-height: 1;
  font-size: clamp(3.4rem, 12vw, 5.4rem);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.offer__details { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.offer__details li { position: relative; padding-left: 16px; color: var(--text); font-size: .95rem; }
.offer__details li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.countdown div {
  display: flex; flex-direction: column; align-items: center; padding: 14px 4px; border-radius: 12px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line);
}
.countdown span { font-family: var(--f-title); font-weight: 900; font-size: clamp(1.6rem, 6vw, 2.3rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.countdown__soon { font-family: var(--f-title); font-weight: 800; font-size: 1.3rem; color: var(--gold); margin-bottom: 22px; }
@media (min-width: 900px) {
  .offer { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .offer__side { border-left: 1px solid var(--line); padding-left: 56px; }
}

/* ---------- 15. Mi historia (línea de tiempo) ---------- */
.timeline { position: relative; padding-left: 36px; display: grid; gap: clamp(56px, 7vw, 80px); }
.timeline__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__line span {
  position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-b), var(--gold));
  transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(247, 208, 9, .5);
}
html:not(.js) .timeline__line span { transform: none; }
.tl { position: relative; }
.tl::before {
  content: ""; position: absolute; left: -36px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--gold);
  transition: background-color .5s, box-shadow .5s;
}
.tl.is-visible::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(211, 167, 54, .15); }
.tl__kicker { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.45rem, 3.4vw, 1.8rem); color: var(--gold); margin-bottom: 18px; line-height: 1.2; }
.tl p:not(.tl__kicker) { color: #DAD5C8; font-size: clamp(1.04rem, 1.8vw, 1.14rem); line-height: 1.75; }
.tl p + p { margin-top: 14px; } /* cada idea en su propio párrafo */
.tl .tl__strong { color: var(--text); font-weight: 600; font-family: var(--f-title); font-size: clamp(1.1rem, 2.2vw, 1.25rem); line-height: 1.5; }
.tl__caption { margin-top: 14px; font-size: .88rem !important; color: var(--gold) !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

/* Título grande de la sección */
.story__head { text-align: center; margin-bottom: clamp(56px, 8vw, 88px); }
.story__title {
  font-size: clamp(3.2rem, 12vw, 6.4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em;
}
.story__title .shimmer { display: inline-block; padding-bottom: .06em; }
.story__sub {
  margin-top: 18px; font-family: var(--f-title); font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}

/* Fotos dentro de la línea de tiempo */
.tl__photos { display: grid; gap: 14px; margin-top: 26px; }
.tl__photos figure { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.tl__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tl__photos figure:hover img { transform: scale(1.04); }
.tl__photos--2 { grid-template-columns: 1fr 1fr; }
.tl__photos--2 figure { aspect-ratio: 3 / 4; }
.tl__photos--4 { grid-template-columns: 1fr 1fr; }
.tl__photos--4 figure { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .tl__photos { gap: 18px; } }

/* El quiebre: momento dramático */
.tl--break {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 0%, rgba(247, 208, 9, .12), transparent 60%), #0A0A08;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px #000;
}
.tl--break::before { left: -36px; top: calc(clamp(26px, 4vw, 44px) + 4px); }
.tl--break .tl__kicker { font-size: clamp(1.7rem, 4.4vw, 2.3rem); letter-spacing: .01em; }
.tl--quote { text-align: center; background: radial-gradient(ellipse at 50% 30%, rgba(247, 208, 9, .18), transparent 65%), #0A0A08; }
.tl--quote .tl__quote { margin: clamp(48px, 7vw, 72px) auto; max-width: 16ch; }
.tl--quote .tl__kicker { margin-bottom: clamp(32px, 4.5vw, 44px); }
/* "Capacitaciones virtuales en vivo en todo el mundo": más grande y separado de las fotos */
.tl .tl__caption {
  margin-top: clamp(32px, 4.5vw, 44px); text-align: center;
  font-family: var(--f-title); font-size: clamp(1.2rem, 3.4vw, 1.6rem) !important; font-weight: 800;
  letter-spacing: .06em; line-height: 1.3;
}
/* Cita dentro de "Mi momento más difícil" (un poco más pequeña) */
.tl__quote--sm { font-size: clamp(1.4rem, 4.4vw, 2.2rem); margin: 22px 0 4px; }
/* Foto destacada en "Lo que cambió todo" */
.tl__feature {
  width: min(100%, 380px); margin: 0 auto clamp(36px, 5vw, 48px); padding: 10px; border-radius: 22px;
  border: 1px solid var(--gold);
  background: linear-gradient(160deg, rgba(247, 208, 9, .22), rgba(26, 21, 7, .9) 45%, rgba(211, 167, 54, .18));
  box-shadow: 0 0 0 6px rgba(211, 167, 54, .08), 0 30px 60px -24px #000, 0 0 50px -16px rgba(247, 208, 9, .45);
}
.tl__feature img { width: 100%; height: auto; border-radius: 14px; display: block; }
.tl__quote {
  font-family: var(--f-title); font-weight: 900; font-style: italic;
  font-size: clamp(1.8rem, 6vw, 3.1rem); line-height: 1.1;
  margin: 28px 0; text-wrap: balance;
  padding-block: .06em;
}
@media (min-width: 768px) { .timeline { padding-left: 56px; } .tl::before, .tl--break::before { left: -56px; } .timeline__line { left: 7px; } }

/* ---------- 16. Por qué aprender conmigo ---------- */
.pillars { display: grid; gap: 18px; }

/* ---------- 17. Testimonios ---------- */
.testimonial { display: grid; gap: 32px; align-items: center; justify-items: center; }
.testimonial + .testimonial { margin-top: 56px; }
/* Marco elegante alrededor de cada video */
.video {
  width: min(100%, 340px); padding: 12px 12px 6px; border-radius: 30px;
  background: linear-gradient(160deg, rgba(247, 208, 9, .22), rgba(26, 21, 7, .9) 40%, rgba(211, 167, 54, .18));
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(211, 167, 54, .08), 0 30px 70px -25px rgba(0, 0, 0, .9), 0 0 60px -18px rgba(247, 208, 9, .45);
}
.video__btn, .video iframe {
  display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; border: 1px solid var(--line-strong);
  overflow: hidden; background: #000;
}
.video__btn { position: relative; padding: 0; cursor: pointer; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .4s, transform .8s var(--ease); }
.video__btn:hover img { opacity: 1; transform: scale(1.04); }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: #0A0A08;
  box-shadow: 0 0 0 0 rgba(247, 208, 9, .6);
  animation: pulse 2.2s ease-out infinite;
}
.video__play svg { width: 32px; height: 32px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247, 208, 9, .55); } 100% { box-shadow: 0 0 0 22px rgba(247, 208, 9, 0); } }
.video__link { display: block; text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.video__link:hover { color: var(--gold); }

.quote { position: relative; max-width: 560px; }
.quote__mark { position: absolute; top: -48px; left: -8px; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: var(--gold); opacity: .35; }
.quote blockquote p { font-family: var(--f-title); font-weight: 700; font-size: clamp(1.3rem, 3.2vw, 1.8rem); line-height: 1.35; text-wrap: pretty; position: relative; }
.quote figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid var(--gold); }
.quote figcaption strong { font-family: var(--f-title); font-size: 1.05rem; }
.quote figcaption span { color: var(--muted); font-size: .92rem; }
@media (min-width: 860px) {
  /* video y frase juntos, centrados como un solo bloque */
  .testimonial { grid-template-columns: auto minmax(0, 520px); gap: 44px; justify-content: center; justify-items: start; }
}

/* Video motivacional al final de "Mi historia" */
.rise {
  display: grid; gap: 36px; justify-items: center; text-align: center;
  margin-top: clamp(80px, 11vw, 120px); padding-top: clamp(56px, 8vw, 80px);
  border-top: 1px solid var(--line);
}
.rise__title { font-size: clamp(1.9rem, 5.4vw, 3rem); font-weight: 900; line-height: 1.12; text-wrap: balance; max-width: 18ch; margin-inline: auto; }
.rise__text { font-family: var(--f-title); font-weight: 700; color: var(--gold); font-size: clamp(1.15rem, 2.6vw, 1.45rem); margin-top: 18px; }
.rise__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.rise__cta .ico { color: var(--gold); transform: rotate(90deg); }
@media (min-width: 860px) {
  .rise { grid-template-columns: minmax(0, 1fr) auto; text-align: left; justify-items: start; align-items: center; gap: 48px; }
  .rise__title { margin-inline: 0; }
  .rise__cta .ico { transform: none; }
}

/* ---------- 18. Libro ---------- */
/* Encabezado grande: deja claro que es un libro y cuándo sale */
.book__head { text-align: center; margin-bottom: clamp(48px, 7vw, 80px); }
.book__kicker {
  font-family: var(--f-title); font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
  font-size: clamp(2.6rem, 9vw, 5rem);
}
.book__kicker span { display: inline-block; margin-right: .15em; }
.book__date {
  display: inline-block; margin-top: clamp(36px, 5vw, 52px); padding: 12px 26px; border-radius: 999px;
  font-family: var(--f-title); font-weight: 600; font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  color: var(--text); border: 1.5px solid var(--gold); background: rgba(211, 167, 54, .1);
}
.book__date strong { color: var(--gold-b); font-weight: 800; }

.book__inner { display: grid; gap: 64px; align-items: center; }
.book__visual { position: relative; display: grid; place-items: center; perspective: 1600px; padding-block: 20px 40px; }

/* Libro 3D real: cada cara está colocada en el espacio (ancho W, alto H, grosor D) */
.book3d {
  --W: 240px; --H: 350px; --D: 46px;
  position: relative; width: var(--W); height: var(--H);
  transform-style: preserve-3d;
  transform: rotateY(28deg) rotateX(6deg);
  transition: transform .8s var(--ease);
  animation: bookFloat 6s ease-in-out infinite;
}
@keyframes bookFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.book3d__face { position: absolute; }

/* Portada */
.book3d__front {
  inset: 0; transform: translateZ(calc(var(--D) / 2));
  border-radius: 3px 10px 10px 3px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(247, 208, 9, .22), transparent 60%),
    linear-gradient(160deg, #1d170a, #070705 70%);
  border: 1px solid rgba(211, 167, 54, .55);
  box-shadow: inset 8px 0 14px -6px rgba(0, 0, 0, .95), inset -1px 0 0 rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 28px 22px; text-align: center; overflow: hidden;
}
.book3d__front::before { content: ""; position: absolute; inset: 12px 12px 12px 18px; border: 1px solid rgba(211, 167, 54, .38); border-radius: 2px 7px 7px 2px; pointer-events: none; }
.book3d__front::after { /* pliegue de la tapa junto al lomo */
  content: ""; position: absolute; top: 0; bottom: 0; left: 10px; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7), transparent);
}
.book3d__front img { width: 56px; height: 56px; }
.book3d__title { font-family: var(--f-title); font-weight: 900; font-size: 1.3rem; line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; color: var(--gold); text-wrap: balance; }
.book3d__rule { width: 42px; height: 2px; background: var(--grad-gold); }
.book3d__author { font-family: var(--f-title); font-weight: 600; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text); }
.book3d__ribbon { /* cinta separadora que asoma por abajo */
  position: absolute; bottom: -18px; right: 40px; width: 14px; height: 44px; z-index: 2;
  background: linear-gradient(180deg, #9c1c1c, #c62828);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

/* Lomo (izquierda) con el título en vertical */
.book3d__spine {
  top: 0; left: calc(50% - var(--D) / 2); width: var(--D); height: 100%;
  transform: rotateY(-90deg) translateZ(calc(var(--W) / 2));
  background: linear-gradient(90deg, #0b0906, #221b0b 45%, #0b0906);
  border: 1px solid rgba(211, 167, 54, .45);
  display: grid; place-items: center; overflow: hidden;
}
.book3d__spine span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-title); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}

/* Hojas (derecha) y canto superior */
.book3d__pages {
  top: 6px; left: calc(50% - (var(--D) - 4px) / 2); width: calc(var(--D) - 4px); height: calc(100% - 12px);
  transform: rotateY(90deg) translateZ(calc(var(--W) / 2 - 4px));
  background: repeating-linear-gradient(90deg, #f3ead3 0 2px, #d8cba8 2px 3px);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .35);
}
.book3d__top {
  left: 4px; top: calc(50% - (var(--D) - 4px) / 2); width: calc(var(--W) - 10px); height: calc(var(--D) - 4px);
  transform: rotateX(90deg) translateZ(calc(var(--H) / 2 - 6px));
  background: repeating-linear-gradient(180deg, #f3ead3 0 2px, #d8cba8 2px 3px);
}
/* Contraportada */
.book3d__back {
  inset: 0; transform: rotateY(180deg) translateZ(calc(var(--D) / 2));
  background: #0a0806; border: 1px solid rgba(211, 167, 54, .4); border-radius: 10px 3px 3px 10px;
}
.book3d__shadow {
  position: absolute; bottom: 4px; left: 50%; width: 260px; height: 36px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, .75), transparent 70%);
  filter: blur(6px); z-index: -1;
}
.book__visual::before { /* halo dorado detrás del libro */
  content: ""; position: absolute; width: 420px; max-width: 110%; aspect-ratio: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247, 208, 9, .2), transparent 62%); pointer-events: none; z-index: -1;
}

.book__copy { text-align: center; }
.book__phrase { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.25; text-wrap: balance; margin-bottom: 26px; }
.book__title { font-size: clamp(1.9rem, 4.8vw, 3rem); font-weight: 900; color: var(--gold); text-wrap: balance; }
.book__by { color: var(--muted); margin: 10px 0 32px; font-size: 1.1rem; }
@media (min-width: 860px) {
  .book__inner { grid-template-columns: .9fr 1.1fr; }
  .book__copy { text-align: left; }
  .book3d { --W: 270px; --H: 395px; --D: 52px; }
}

/* ---------- 19. Llamado final ---------- */
.final {
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(247, 208, 9, .35), rgba(211, 167, 54, .12) 35%, transparent 65%), var(--bg);
  border-top: 1px solid var(--line);
}
.final__glow {
  position: absolute; left: 50%; bottom: -30%; width: 900px; max-width: 160vw; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(247, 208, 9, .22), transparent 60%);
  filter: blur(40px); pointer-events: none; animation: breatheFinal 7s ease-in-out infinite;
}
@keyframes breatheFinal { 50% { opacity: .6; } }
.final__sparks i {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-b);
  box-shadow: 0 0 10px 2px rgba(247, 208, 9, .7);
  opacity: 0; animation: spark 5s ease-in-out infinite;
}
.final__sparks i:nth-child(1) { left: 12%; top: 30%; animation-delay: 0s; }
.final__sparks i:nth-child(2) { left: 25%; top: 70%; animation-delay: 1.2s; }
.final__sparks i:nth-child(3) { left: 40%; top: 18%; animation-delay: 2.4s; }
.final__sparks i:nth-child(4) { left: 58%; top: 78%; animation-delay: .6s; }
.final__sparks i:nth-child(5) { left: 72%; top: 25%; animation-delay: 1.8s; }
.final__sparks i:nth-child(6) { left: 86%; top: 60%; animation-delay: 3s; }
.final__sparks i:nth-child(7) { left: 92%; top: 15%; animation-delay: 3.6s; }
.final__sparks i:nth-child(8) { left: 5%; top: 82%; animation-delay: 4.2s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4) translateY(0); } 50% { opacity: 1; transform: scale(1.2) translateY(-18px); } }
.final .container { position: relative; }
.final__title { font-size: clamp(2.1rem, 7vw, 4.4rem); font-weight: 900; text-wrap: balance; max-width: 16ch; margin-inline: auto; line-height: 1.04; }
.final__title .shimmer { display: inline-block; padding-bottom: .08em; }
/* Botones grandes del cierre */
.final__actions { display: flex; flex-direction: column; gap: 24px; margin-top: clamp(56px, 8vw, 88px); align-items: center; }
.final__actions .btn { --pad-y: 24px; --pad-x: 40px; font-size: clamp(1.1rem, 2.2vw, 1.3rem); min-width: min(100%, 460px); }
@media (min-width: 1100px) { .final__actions { flex-direction: row; justify-content: center; } }
/* "Escribe un correo" + flecha que baja al botón del correo */
.final__mail { margin-top: clamp(56px, 7vw, 80px); display: flex; flex-direction: column; align-items: center; }
.final__mail-label { font-family: var(--f-title); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 1.9rem); color: var(--text); }
.final__mail .cta-block__arrow { margin: 16px 0 22px; }
.final__mail .btn { font-weight: 700; max-width: 100%; --pad-y: 22px; --pad-x: 38px; font-size: clamp(1.1rem, 2.4vw, 1.35rem); }
.final__mail .btn .ico { width: 1.35em; height: 1.35em; }

/* ---------- 20. Footer ---------- */
.footer { background: #070705; border-top: 1px solid var(--line); padding-top: 64px; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { width: 88px; height: 88px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); max-width: 28ch; }
.footer__h { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.footer__list { display: grid; gap: 10px; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; transition: color .25s; word-break: break-word; }
.footer__list a:hover { color: var(--text); }
.footer__list .ico { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--gold); transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { background: rgba(211, 167, 54, .12); border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer__legal { color: #7d776a; font-size: .85rem; padding-block: 28px 100px; margin-top: 48px; border-top: 1px solid rgba(211, 167, 54, .1); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1.3fr 1fr; }
  .footer__legal { padding-bottom: 32px; }
}

/* ---------- 21. Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: waPulse 3s ease-out infinite;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
/* En computadora: 20% más grande (60 → 72 px) */
@media (min-width: 960px) {
  .wa-float { width: 72px; height: 72px; right: 24px; bottom: 24px; }
  .wa-float svg { width: 38px; height: 38px; }
}
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7), 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ---------- Ventana para enviar correo ---------- */
.mail-dialog {
  width: min(92vw, 440px); padding: 36px 28px 28px; border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(247, 208, 9, .14), transparent 60%), var(--card);
  color: var(--text); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -20px #000;
  text-align: center;
}
.mail-dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.mail-dialog[open] { animation: dialogIn .35s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.mail-dialog__close-form { position: absolute; top: 10px; right: 12px; margin: 0; }
.mail-dialog__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.mail-dialog__close:hover { color: var(--text); border-color: var(--gold); }
.mail-dialog__ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--grad-gold); color: #0A0A08; margin-bottom: 16px; }
.mail-dialog__ico svg { width: 30px; height: 30px; }
.mail-dialog__title { color: var(--muted); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.mail-dialog__email { font-family: var(--f-title); font-weight: 800; color: var(--gold); font-size: clamp(.92rem, 4.2vw, 1.15rem); margin: 6px 0 18px; white-space: nowrap; }
@media (max-width: 380px) { .mail-dialog { padding-inline: 18px; } }
.mail-dialog__hint { color: var(--muted); margin-bottom: 18px; }
.mail-dialog__options { display: grid; gap: 12px; }
.mail-dialog__options .btn { font-size: 1rem; }

/* ---------- "¿Quién eres?": etiquetas doradas grandes y más aire entre textos ---------- */
.path-card { gap: 22px; padding: clamp(40px, 5vw, 56px) clamp(26px, 4vw, 44px) clamp(32px, 4vw, 44px); }
.path-card .tag { font-size: clamp(1.3rem, 3.4vw, 1.7rem); letter-spacing: .03em; line-height: 1.25; }
/* El número queda arriba, en la esquina, y el título empieza debajo de él (nunca se tocan) */
.path-card { padding-top: 84px; }
/* Número 01 / 02: pequeño, con borde dorado, en la esquina sin estorbar */
.path-card .path-card__num {
  top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 800; letter-spacing: .02em;
  color: var(--gold-b); -webkit-text-stroke: 0;
  border: 1.5px solid var(--gold); background: rgba(211, 167, 54, .1);
  box-shadow: 0 0 18px -6px rgba(247, 208, 9, .6);
}
.path-card h3 { color: var(--text); font-size: clamp(1.5rem, 3.2vw, 2.05rem); line-height: 1.2; }
.path-card h3 + p { margin-bottom: 10px; font-size: clamp(1.05rem, 1.9vw, 1.18rem); }

/* Mismo estilo en "Lo hacemos por ti" / "Aprende a hacerlo" */
.mode { padding: clamp(40px, 5vw, 56px) clamp(26px, 4vw, 44px) clamp(32px, 4vw, 44px); }
.mode .tag { font-size: clamp(1.05rem, 2.4vw, 1.35rem); letter-spacing: .12em; margin-bottom: 18px; }
.mode h3 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 18px; }
.mode p:not(.tag) { font-size: clamp(1.05rem, 1.9vw, 1.15rem); line-height: 1.7; }

/* Más espacio entre "Nuestro impacto" y "Nuestros resultados" */
.section-title.results__title { margin-top: clamp(120px, 15vw, 180px); }

/* Testimonio: video más cerca de la frase */
@media (min-width: 860px) { .testimonial { grid-template-columns: 340px minmax(0, 520px); gap: 48px; } }

/* "Todo pensado para vender": tarjetas centradas, ícono y letra más grandes */
.ws { text-align: center; padding: 34px 26px; display: flex; flex-direction: column; align-items: center; }
.ws .ws__ico { width: 72px; height: 72px; padding: 16px; border-radius: 18px; margin: 0 auto 20px; }
.ws .ws__tag { font-size: .82rem; margin-bottom: 10px; }
.ws h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.25; }

/* Recuadro con el nombre sobre la foto: más grande */
.hero__badge { padding: 14px 28px; white-space: normal; width: max-content; max-width: min(92vw, 470px); text-align: center; }
.hero__badge strong { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.hero__badge span { font-size: clamp(.85rem, 1.8vw, .98rem); margin-top: 4px; line-height: 1.35; }

/* ---------- Brillo dorado en TODOS los textos dorados de la página ----------
   Mismo efecto de "Cumplan sus sueños…": una luz que recorre las letras una y otra vez. */
.gold, .tag, .eyebrow, .nav__brand span, .hero__role, .hero__mail-text strong, .hero__badge span,
.ws__tag, .offer__value-label, .offer__new, .stat__num, .result__big, .tl__kicker, .tl .tl__caption,
.rise__text, .book__date strong, .book__title, .book3d__title, .footer__h, .mail-dialog__email,
.countdown__soon, .cardpay__brand {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, #FFF1B8 50%, var(--gold-b) 56%, var(--gold) 70%, var(--gold) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
/* Pequeño desfase para que no brillen todos a la vez */
.tag, .ws__tag, .footer__h { animation-delay: -1.5s; }
.stat__num, .offer__new, .book__title { animation-delay: -3s; }
.tl__kicker, .hero__role, .rise__text { animation-delay: -4.5s; }

/* "Lo que cambió todo": título más grande */
.tl--quote .tl__kicker { font-size: clamp(2.2rem, 6.5vw, 3.4rem); line-height: 1.1; }

/* Nombre y cargo de quien da el testimonio: letra más grande */
.quote figcaption { margin-top: clamp(36px, 5vw, 52px); }
.quote figcaption strong { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.quote figcaption span { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.45; }

/* Texto de apoyo de la portada justificado (mismos márgenes a izquierda y derecha) */
.hero .hero__lead { text-align: justify; text-align-last: center; text-wrap: wrap; }
@media (min-width: 960px) { .hero .hero__lead { text-align-last: left; } }

/* Recuadro "Escribe directamente" de la portada: centrado y con más espacio vertical */
.hero .hero__mail { display: flex; width: fit-content; max-width: 100%; margin: clamp(20px, 3vw, 28px) auto 0; }
@media (min-width: 960px) {
  /* En computadora: fila propia debajo del texto y la foto, justo en el centro de la página */
  .hero .hero__mail { grid-column: 1 / -1; justify-self: center; margin: 32px auto 0; }
}

/* Flecha brillante "¿Quién eres?" que baja a la siguiente sección */
/* La flecha queda justo a mitad de camino: 62 px arriba (hasta el correo) y 62 px abajo (hasta "¿Quién eres?").
   La portada deja 40 px libres debajo de la flecha para que su rebote y su brillo se vean completos (sin recortes). */
.hero { padding-bottom: 40px; min-height: 0; }
.hero__next { display: flex; justify-content: center; width: fit-content; margin: 26px auto 0; text-decoration: none; } /* 36 px de separación del bloque + 26 px = 62 px */
@media (min-width: 960px) { .hero__next { grid-column: 1 / -1; justify-self: center; margin-top: -2px; } } /* 64 px del bloque − 2 px = 62 px */
.hero__next-arrow {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-gold); color: #0A0A08;
  box-shadow: 0 0 0 0 rgba(247, 208, 9, .6), 0 0 30px -4px rgba(247, 208, 9, .8);
  animation: nextBounce 1.8s ease-in-out infinite, nextGlow 2.2s ease-out infinite;
}
.hero__next-arrow svg { width: 26px; height: 26px; transform: rotate(-90deg); } /* flecha hacia arriba */
.hero__next-arrow { transition: transform .3s var(--ease); }
.hero__next:hover .hero__next-arrow { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .hero__next-arrow { animation: none; } }
@keyframes nextBounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } } /* rebota hacia arriba */
@keyframes nextGlow { 0% { box-shadow: 0 0 0 0 rgba(247, 208, 9, .6), 0 0 30px -4px rgba(247, 208, 9, .8); } 100% { box-shadow: 0 0 0 18px rgba(247, 208, 9, 0), 0 0 30px -4px rgba(247, 208, 9, .8); } }
/* "¿Quién eres?" más cerca de la portada */
.paths { padding-top: 22px; } /* 40 px de la portada + 22 px = 62 px */

/* ---------- Testimonios: más aire entre título, video y frase ---------- */
.testimonials .section-head { margin-bottom: clamp(56px, 8vw, 88px); }
@media (min-width: 860px) { .testimonial { gap: 88px; } }

/* ---------- "Hoy": tres recuadros de texto que aparecen uno tras otro ---------- */
.tl__boxes { display: grid; gap: 16px; margin-top: 6px; }
.tl .tl__box {
  margin: 0; padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(247, 208, 9, .08), rgba(26, 21, 7, .7));
  border: 1px solid var(--line-strong); border-left: 3px solid var(--gold);
  font-size: clamp(1.04rem, 1.8vw, 1.12rem); line-height: 1.65; color: #E6E0D2;
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tl.is-visible .tl__box, html:not(.js) .tl__box { opacity: 1; transform: none; }
.tl.is-visible .tl__box:nth-child(2) { transition-delay: .35s; }
.tl.is-visible .tl__box:nth-child(3) { transition-delay: .7s; }
@media (min-width: 900px) { .tl__boxes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- "¿Por qué aprender conmigo?": pilares grandes, en secuencia 01 → 02 → 03 ---------- */
.pillars { gap: 64px; }
.pillar {
  position: relative; text-align: center; overflow: visible;
  padding: clamp(44px, 5vw, 56px) clamp(26px, 3vw, 36px) clamp(36px, 4vw, 48px);
  border-radius: 24px; border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse at 50% 0%, rgba(247, 208, 9, .14), transparent 60%), var(--card);
}
.pillar__num {
  position: absolute; top: 14px; right: 20px;
  font-family: var(--f-title); font-weight: 900; font-size: 3.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(211, 167, 54, .35);
}
.pillar__ico-wrap {
  position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 26px;
  border-radius: 50%; background: #0B0906; isolation: isolate;
}
.pillar__ico-wrap::before { /* anillo dorado que gira */
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--gold-b), transparent 30%, var(--gold) 55%, transparent 80%, var(--gold-b));
  animation: ringSpin 5s linear infinite;
}
.pillar__ico-wrap::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #0B0906; z-index: -1; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.pillar .pillar__ico {
  width: 52px; height: 52px; padding: 0; margin: 0; border: 0; background: none; border-radius: 0;
  color: var(--gold-b); filter: drop-shadow(0 0 10px rgba(247, 208, 9, .5));
  transform: scale(.3) rotate(-120deg); opacity: 0;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s;
}
.pillar.is-visible .pillar__ico, html:not(.js) .pillar .pillar__ico { transform: none; opacity: 1; transition-delay: calc(var(--d, 0) * 450ms + .3s); }
.pillar h3 { font-size: clamp(1.55rem, 3vw, 1.9rem); margin-bottom: 14px; }
.pillar p { font-size: clamp(1.08rem, 1.9vw, 1.2rem); line-height: 1.65; color: #D8D2C4; }
.js .pillars .pillar.reveal { transform: translateY(30px) scale(.94); transition-delay: calc(var(--d, 0) * 450ms); }
.js .pillars .pillar.reveal.is-visible { transform: none; }
.js .pillars .pillar.reveal.is-done { transition-delay: 0s; }
.js .pillars .pillar.reveal.is-done:hover { transform: translateY(-8px); }
.pillar:hover .pillar__ico { transform: scale(1.12) rotate(-6deg); }
/* Flechas doradas entre pilares (abajo en celular, a la derecha en computadora) */
.pillar:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -50px; width: 36px; height: 36px; margin-left: -18px;
  border-radius: 50%; border: 1.5px solid var(--gold);
  background: #0A0A08 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7' fill='none' stroke='%23F7D009' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transition: opacity .5s; transition-delay: calc(var(--d, 0) * 450ms + .6s);
}
.pillar.is-visible:not(:last-child)::after, html:not(.js) .pillar:not(:last-child)::after { opacity: 1; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .why .container { max-width: 1340px; }
  .pillar:not(:last-child)::after {
    left: auto; right: -46px; bottom: auto; top: 50%; margin: -18px 0 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7' fill='none' stroke='%23F7D009' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* ---------- Íconos dorados con anillo giratorio (mismo estilo que "¿Por qué aprender conmigo?") ----------
   Se usan en "Nuestro impacto", "Nuestros resultados" y "Todo lo que necesitas para aumentar tus ventas". */
.gicon {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 22px;
  border-radius: 50%; background: #0B0906; isolation: isolate;
  box-shadow: 0 0 44px -12px rgba(247, 208, 9, .45);
}
.gicon::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--gold-b), transparent 30%, var(--gold) 55%, transparent 80%, var(--gold-b));
  animation: ringSpin 5s linear infinite;
}
.gicon::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #0B0906; z-index: -1; }
.gicon svg {
  width: 46px; height: 46px; color: var(--gold-b); filter: drop-shadow(0 0 10px rgba(247, 208, 9, .5));
  transform: scale(.3) rotate(-120deg); opacity: 0;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s;
}
/* Entra girando cuando su bloque aparece al hacer scroll */
.reveal.is-visible .gicon svg, html:not(.js) .gicon svg { transform: none; opacity: 1; transition-delay: calc(var(--d, 0) * 110ms + .3s); }
/* Al pasar el mouse: el ícono crece un poco */
.stat:hover .gicon svg, .card:hover .gicon svg { transform: scale(1.12) rotate(-6deg); transition-delay: 0s; }
.stat .gicon { margin-bottom: 20px; }
.ws .gicon { width: 88px; height: 88px; margin: 0 auto 20px; }
.ws .gicon svg { width: 40px; height: 40px; }

/* ---------- Celular: separación mínima para que nada se vea amontonado ---------- */
@media (max-width: 599px) {
  .section-head { margin-bottom: 44px; }
  .section-title.center { margin-bottom: 40px; }
  .chips { margin-top: 28px; gap: 12px; }
  .paths__grid, .modes, .ws-grid { gap: 24px; }
  .step { gap: 18px; }
  .step__num { width: 56px; height: 56px; font-size: 1.6rem; }
  .subhead { margin-top: 64px; margin-bottom: 28px; }
  .guarantee { margin-block: 44px; flex-direction: column; text-align: center; }
  .card p + p, .mode p + p { margin-top: 10px; }
  .step { padding: 22px 20px; }
  .stats__grid { gap: 56px; }
  .offer, .cardpay { margin-top: 44px; }

  /* Llamado final: botones bien separados y correo grande */
  .final__actions { gap: 24px; align-items: stretch; }
  .final__actions .btn { width: 100%; min-width: 0; --pad-y: 24px; --pad-x: 20px; font-size: 1.12rem; }
  .final__mail { margin-top: 56px; }
  .final__mail .btn { width: 100%; --pad-y: 20px; --pad-x: 12px; gap: 8px; flex-direction: column; border-radius: 26px; font-size: clamp(.88rem, 4.3vw, 1.2rem); font-weight: 700; }
  .final__mail .btn .ico { width: 1.35em; height: 1.35em; }
}

/* ---------- SOLO TELÉFONO: más espacio vertical en toda la página ----------
   (entre secciones, entre títulos y subtítulos, y entre bloques) */
@media (max-width: 767px) {
  /* Entre secciones */
  .section { padding-block: 104px; }
  .trust { padding-block: 80px; }
  .moments { padding-top: 88px; }
  .stats { padding-block: 96px; }
  #impacto { padding-bottom: 72px; }
  .testimonials--after-results { padding-top: 56px; }
  .paths { padding-top: 22px; padding-bottom: 96px; } /* arriba se mantiene: la flecha queda a mitad de camino */
  .final { padding-block: 112px; }

  /* Títulos y subtítulos más separados */
  .section-head { margin-bottom: 60px; }
  .section-title.center { margin-bottom: 52px; }
  .section-lead { margin-top: 26px; }
  .tag { margin-bottom: 20px; }
  .big-sub { margin-top: 52px; padding-top: 34px; }
  .biz .section-lead, .workshops .section-lead { margin-top: 30px; }
  .chips { margin-top: 36px; }
  .subhead { margin-top: 88px; margin-bottom: 36px; }
  .how-title { margin: 104px 0 56px; }
  .section-title.results__title { margin-top: 120px; }
  .story__head { margin-bottom: 80px; }
  .story__sub { margin-top: 24px; }
  .book__head { margin-bottom: 72px; }
  .book__date { margin-top: 36px; }
  .final__title { margin-bottom: 8px; }
  .testimonials .section-head { margin-bottom: 64px; }

  /* Entre bloques y tarjetas */
  .paths__grid, .modes, .ws-grid, .modules { gap: 32px; }
  .stats__grid { gap: 72px; }
  .gallery { gap: 18px; }
  .timeline { gap: 72px; }
  .tl__kicker { margin-bottom: 24px; }
  .tl__boxes { gap: 20px; }
  .tl__photos { margin-top: 32px; }
  .stat__label { margin-top: 14px; }
  .stats__grid--results .stat__label { margin-top: 18px; }
  .repeat-block { margin-top: 96px; }
  .repeat-block--trust { margin-block: 88px 24px; padding-block: 72px; }
  .cardpay, .offer { margin-top: 64px; }
  .guarantee { margin-block: 64px; }
  .cta-block__hint { margin-top: 16px; }
  .rise { margin-top: 104px; padding-top: 72px; gap: 44px; }
  .rise__text { margin-top: 24px; }
  .book__inner { gap: 72px; }
  .book__phrase { margin-bottom: 32px; }
  .testimonial { gap: 48px; }
  .footer { padding-top: 80px; }
  .footer__grid { gap: 52px; }

  /* Portada en teléfono: más aire entre foto, "FA GROUP · Quito", título, nombre, texto y botones */
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__inner { gap: 64px; }                  /* foto → texto */
  .hero__photo { margin-bottom: 18px; }        /* compensa el recuadro "Francesco Arias" que sobresale de la foto */
  .hero__next { margin-top: -2px; }            /* 64 − 2 = 62 px: la flecha sigue a mitad de camino */
  .hero__copy .eyebrow { margin-bottom: 40px; }
  .hero__intro { margin-top: 64px; padding-top: 44px; }
  .hero__role { margin-top: 18px; }
  .hero__lead { margin-top: 52px; }
  .hero__actions { margin-top: 60px; gap: 18px; }
}

/* ---------- 22. Movimiento reducido ----------
   Se desactivan los efectos en bucle y de desplazamiento (partículas, parallax,
   brillos, destellos, carrusel automático). Las apariciones quedan como un
   fundido suave sin desplazamiento. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__particles, .final__sparks { display: none; }
  .hero__glow, .final__glow, .btn--gold::after, .video__play, .wa-float, .hero__scroll span, .ico--nudge, .cta-block__arrow, .book3d, .pillar__ico-wrap::before, .gicon::before { animation: none; }
  /* El brillo dorado de los textos se mantiene: es lento y suave */
  .js .reveal { transform: none; transition: opacity .6s ease; }
  /* El carrusel de logos se mantiene siempre en movimiento (es lento y suave) */
  .card:hover, .btn:hover { transform: none; }
}

/* ============================================================
   NORMA DE ESPACIADO ENTRE SECCIONES (va al final para mandar sobre todo lo anterior)
   El espacio entre una sección y la siguiente es igual en toda la página:
   el que había entre "Galería de nuestro impacto" y "Nuestro impacto" + 10 %.
   Computadora: 125 px al final de cada sección + 125 px al inicio de la siguiente = 250 px.
   Teléfono:    110 px + 110 px = 220 px.
   Excepción: la portada y "¿Quién eres?" mantienen la flecha justo a mitad de camino.
   ============================================================ */
main > section:not(.hero), main > section#impacto { padding-top: 125px; padding-bottom: 125px; }
main > section.paths { padding-top: 22px; }
.footer { padding-top: 125px; }
@media (max-width: 767px) {
  main > section:not(.hero), main > section#impacto { padding-top: 110px; padding-bottom: 110px; }
  main > section.paths { padding-top: 146px; }   /* 40 px de la portada + 146 px = 186 px (triple de 62) */
  .hero__next { margin-top: -24px; }             /* 64 px − 24 px = 40 px: flecha pegada al correo */
  .hero__next-arrow { width: 76px; height: 76px; }   /* flecha más grande en teléfono */
  .hero__next-arrow svg { width: 36px; height: 36px; }
  .footer { padding-top: 110px; }
}

/* Más espacio antes de "Nuestros resultados" (+20 %) */
main .section-title.results__title { margin-top: clamp(144px, 18vw, 216px); }
@media (max-width: 767px) { main .section-title.results__title { margin-top: 144px; } }

/* ---------- Testimonio: comillas doradas pequeñas y frase con brillo ---------- */
.quote .quote__mark { display: none; } /* la comilla gigante se reemplaza por comillas dentro de la frase */
.quote .q-mark {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.5em; line-height: 0;
  vertical-align: -.22em; margin: 0 .08em;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, #FFF1B8 50%, var(--gold-b) 56%, var(--gold) 70%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
/* Toda la frase: una luz dorada la recorre de lado a lado, una y otra vez */
.quote .q-text {
  background: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 40%, #FFE27A 48%, var(--gold-b) 50%, #FFE27A 52%, #FFFFFF 60%, #FFFFFF 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: quoteSweep 5s ease-in-out infinite;
}
@keyframes quoteSweep { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }

/* "Nuestro impacto": cifras +3.000 / +20.000 / +300 un 15 % más pequeñas */
.stats__grid:not(.stats__grid--results) .stat__num { font-size: clamp(2.55rem, 9.35vw, 3.57rem); }
@media (min-width: 900px) { .stats__grid:not(.stats__grid--results) .stat__num { font-size: clamp(2.38rem, 4.25vw, 3.57rem); } }

/* "Nuestro impacto": los íconos laten suavemente (se expanden y contraen) sin parar */
.stats__grid:not(.stats__grid--results) .gicon { animation: iconPulse 2.4s ease-in-out infinite; }
.stats__grid:not(.stats__grid--results) .stat:nth-child(2) .gicon { animation-delay: .4s; }
.stats__grid:not(.stats__grid--results) .stat:nth-child(3) .gicon { animation-delay: .8s; }
@keyframes iconPulse { 0%, 100% { scale: 1; } 50% { scale: 1.1; } }
/* "Nuestro impacto": al pasar el mouse o el dedo el ícono NO gira ni cambia (solo mantiene su latido) */
.stats__grid:not(.stats__grid--results) .stat:hover .gicon svg { transform: none; }

/* Testimonio en teléfono: frase centrada, con márgenes a los lados, letra más grande y más interlineado */
@media (max-width: 767px) {
  .quote { max-width: none; width: 100%; }
  .quote blockquote p {
    text-align: center; font-size: 1.45rem; line-height: 1.6;
    padding-inline: 18px; max-width: 30ch; margin-inline: auto;
  }
  .quote figcaption {
    align-items: center; text-align: center; border-left: 0; padding-left: 0;
    padding-top: 22px; position: relative;
  }
  .quote figcaption::before { content: ""; position: absolute; top: 0; left: 50%; width: 56px; height: 2px; margin-left: -28px; background: var(--grad-gold); border-radius: 2px; }
}

/* Testimonio en teléfono: frase justificada (bordes rectos) pero con márgenes y centrada */
@media (max-width: 767px) {
  .quote blockquote p { text-align: justify; text-align-last: center; hyphens: manual; }
}
@media (max-width: 767px) {
  .quote blockquote p { hyphens: auto; -webkit-hyphens: auto; font-size: 1.32rem; line-height: 1.65; max-width: none; padding-inline: 22px; word-spacing: -.02em; }
}

/* Testimonio: frase más angosta y centrada en teléfono; datos de Araceli más grandes y con doble interlineado */
@media (max-width: 767px) {
  .quote blockquote p { padding-inline: 44px; font-size: 1.22rem; line-height: 1.7; }
}
.quote figcaption { gap: 10px; }
.quote figcaption strong { font-size: clamp(1.5rem, 3vw, 1.75rem); line-height: 1.3; }
.quote figcaption span { font-size: clamp(1.18rem, 2.2vw, 1.35rem); line-height: 1.5; }

/* Testimonio en teléfono: palabras siempre completas (sin cortes), un poco menos de margen,
   y el doble de espacio entre título ↔ video y video ↔ frase */
@media (max-width: 767px) {
  .quote blockquote p { padding-inline: 30px; hyphens: none; -webkit-hyphens: none; word-break: normal; overflow-wrap: normal; }
  .testimonials .section-head { margin-bottom: 128px; }
  .testimonial { gap: 96px; }
}

/* Teléfono: título "Lo que dicen de nuestro trabajo" más grande */
@media (max-width: 767px) { .testimonials .section-head .section-title { font-size: 2.65rem; line-height: 1.1; } }

/* Teléfono: título "Lo que dicen de nuestro trabajo" → video, 30 % menos (128 → 90 px) */
@media (max-width: 767px) { .testimonials .section-head { margin-bottom: 90px; } }

/* "Nuestros resultados": los íconos giran como una moneda (vuelta completa, pausa, y otra vez) */
.stats__grid--results .gicon { animation: coinFlip 3.2s cubic-bezier(.65, 0, .35, 1) infinite; transform-style: preserve-3d; }
.stats__grid--results .stat:nth-child(2) .gicon { animation-delay: .5s; }
.stats__grid--results .stat:nth-child(3) .gicon { animation-delay: 1s; }
.stats__grid--results .stat:nth-child(4) .gicon { animation-delay: 1.5s; }
@keyframes coinFlip {
  0%       { transform: perspective(700px) rotateY(0deg) scale(1); }
  20%      { transform: perspective(700px) rotateY(180deg) scale(1.12); }
  40%, 100%{ transform: perspective(700px) rotateY(360deg) scale(1); }
}
/* Al pasar el mouse o el dedo el ícono no se inclina (solo mantiene el giro de moneda) */
.stats__grid--results .stat:hover .gicon svg { transform: none; }

/* ============================================================
   Ilustraciones "vivas" de "Para empresas": se mueven siempre, como un mecanismo funcionando
   ============================================================ */
.art path, .art circle, .art rect, .art line, .art ellipse, .art g { transform-box: fill-box; transform-origin: center; }

/* IA para tu equipo comercial: líneas que fluyen, nodos que laten, flecha que empuja y documento que se escribe */
.art--ia .flow path { stroke-dasharray: 6 8; animation: flowDash 1s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -28; } }
.art--ia .node { animation: nodePulse 1.6s ease-in-out infinite; }
.art--ia .node.d1 { animation-delay: .3s; } .art--ia .node.d2 { animation-delay: .6s; } .art--ia .node.d3 { animation-delay: .9s; }
@keyframes nodePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.art--ia .hub { animation: hubGlow 1s ease-in-out infinite; }
@keyframes hubGlow { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(247,208,9,0)); } 50% { transform: scale(1.18); filter: drop-shadow(0 0 10px rgba(247,208,9,.9)); } }
.art--ia .feed-arrow { animation: feedPush 1s ease-in-out infinite; }
@keyframes feedPush { 0%, 100% { transform: translateX(-4px); opacity: .7; } 50% { transform: translateX(6px); opacity: 1; } }
.art--ia .write { transform-origin: left center; animation: writeLine 4s ease-in-out infinite; }
.art--ia .w2 { animation-delay: .4s; } .art--ia .w3 { animation-delay: .8s; } .art--ia .w4 { animation-delay: 1.2s; }
@keyframes writeLine { 0% { transform: scaleX(0); } 25%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.art--ia .doc { animation: docGlow 2s ease-in-out infinite; }
@keyframes docGlow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px rgba(247,208,9,.55)); } }
.art--ia .spark { animation: sparkSpin 2.4s ease-in-out infinite; }
@keyframes sparkSpin { 0%, 100% { transform: rotate(0) scale(.8); } 50% { transform: rotate(180deg) scale(1.25); } }

/* Neuropsicología del cliente: barras que crecen, tendencia que se dibuja y cerebro que late con sinapsis */
.art--neuro .bar { transform-origin: bottom center; animation: barGrow 2.4s ease-in-out infinite; }
.art--neuro .b2 { animation-delay: .2s; } .art--neuro .b3 { animation-delay: .4s; } .art--neuro .b4 { animation-delay: .6s; }
@keyframes barGrow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.art--neuro .trend { stroke-dasharray: 260; animation: drawTrend 2.4s ease-in-out infinite; }
@keyframes drawTrend { 0% { stroke-dashoffset: 260; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
.art--neuro .trend-head { animation: headPop 2.4s ease-in-out infinite; }
@keyframes headPop { 0%, 40% { opacity: 0; transform: translate(-6px, 6px); } 50%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.art--neuro .brain { animation: brainPulse 1.8s ease-in-out infinite; }
@keyframes brainPulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(247,208,9,0)); } 50% { transform: scale(1.07); filter: drop-shadow(0 0 12px rgba(247,208,9,.7)); } }
.art--neuro .synapse { animation: synapse 1.2s ease-in-out infinite; }
.art--neuro .s2 { animation-delay: .3s; } .art--neuro .s3 { animation-delay: .6s; } .art--neuro .s4 { animation-delay: .9s; }
@keyframes synapse { 0%, 100% { opacity: .1; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.4); } }

/* Cerrar es vender: los días se marcan, el check se dibuja y las monedas caen y se apilan */
.art--close .day { animation: dayTick 3.2s ease-in-out infinite; }
.art--close .y2 { animation-delay: .25s; } .art--close .y3 { animation-delay: .5s; } .art--close .y4 { animation-delay: .75s; }
@keyframes dayTick { 0%, 100% { fill: rgba(255,255,255,.35); } 30%, 60% { fill: rgba(247,208,9,.85); } }
.art--close .check { stroke-dasharray: 40; animation: drawCheck 3.2s ease-in-out infinite; }
@keyframes drawCheck { 0%, 30% { stroke-dashoffset: 40; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 40; } }
.art--close .check-bg { animation: checkPop 3.2s ease-in-out infinite; }
@keyframes checkPop { 0%, 30% { transform: scale(.85); } 45% { transform: scale(1.15); } 55%, 100% { transform: scale(1); } }
.art--close .coin { animation: coinDrop 3.2s cubic-bezier(.3, 1.4, .5, 1) infinite; }
.art--close .c2 { animation-delay: .2s; } .art--close .c3 { animation-delay: .4s; } .art--close .c4 { animation-delay: .6s; }
@keyframes coinDrop { 0% { transform: translateY(-60px); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }

/* Clientes que recomiendan: estrellas que se encienden una a una, burbuja que flota y corazón que late */
.art--reco .star { animation: starOn 3s ease-in-out infinite; }
.art--reco .t2 { animation-delay: .25s; } .art--reco .t3 { animation-delay: .5s; } .art--reco .t4 { animation-delay: .75s; } .art--reco .t5 { animation-delay: 1s; }
@keyframes starOn { 0%, 100% { opacity: .25; transform: scale(.8); } 25%, 70% { opacity: 1; transform: scale(1.15); } }
.art--reco .bubble { animation: floatY 3s ease-in-out infinite; }
.art--reco .heart-bubble { animation: floatY 3s ease-in-out infinite reverse; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.art--reco .heart { animation: heartBeat 1.1s ease-in-out infinite; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }

/* Cerrar es vender: pregunta → respuesta → los brazos se extienden → apretón de manos → trato cerrado ✓ */
.art--deal .say1 { transform-origin: 80% 100%; animation: sayOne 4.2s ease-in-out infinite; }
@keyframes sayOne { 0%, 4% { opacity: 0; transform: scale(.4); } 12%, 32% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(.6); } }
.art--deal .say2 { transform-origin: 20% 100%; animation: sayTwo 4.2s ease-in-out infinite; }
@keyframes sayTwo { 0%, 32% { opacity: 0; transform: scale(.4); } 40%, 58% { opacity: 1; transform: scale(1); } 64%, 100% { opacity: 0; transform: scale(.6); } }
.art--deal .p1 { transform-origin: 50% 100%; animation: talkL 4.2s ease-in-out infinite; }
.art--deal .p2 { transform-origin: 50% 100%; animation: talkR 4.2s ease-in-out infinite; }
@keyframes talkL { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-3deg) translateY(-3px); } 25% { transform: rotate(2deg); } 60%, 85% { transform: rotate(4deg); } }
@keyframes talkR { 0%, 100% { transform: rotate(0); } 42% { transform: rotate(3deg) translateY(-3px); } 50% { transform: rotate(-2deg); } 60%, 85% { transform: rotate(-4deg); } }
.art--deal .arm1 { transform-origin: 0% 50%; animation: reach 4.2s ease-in-out infinite; }
.art--deal .arm2 { transform-origin: 100% 50%; animation: reach 4.2s ease-in-out infinite; }
@keyframes reach { 0%, 48% { transform: scaleX(.28); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(.28); } }
.art--deal .hands { animation: shake 4.2s ease-in-out infinite; }
@keyframes shake {
  0%, 57% { opacity: 0; transform: translateY(0); }
  61% { opacity: 1; transform: translateY(0); } 66% { transform: translateY(-7px); } 71% { transform: translateY(5px); }
  76% { transform: translateY(-7px); } 81% { transform: translateY(0); } 90% { opacity: 1; } 95%, 100% { opacity: 0; }
}
.art--deal .deal-done { animation: dealPop 4.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes dealPop { 0%, 66% { opacity: 0; transform: scale(.3); } 74%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.8); } }
.art--deal .contract { animation: contractGlow 4.2s ease-in-out infinite; }
@keyframes contractGlow { 0%, 60% { filter: none; } 75%, 90% { filter: drop-shadow(0 0 10px rgba(247,208,9,.9)); } 100% { filter: none; } }

/* Clientes que recomiendan: la persona invita a entrar, los clientes llegan caminando y entran a la tienda */
.art--shop .walker { animation: walkIn 6s linear infinite; }
.art--shop .w2 { animation-delay: -2s; } .art--shop .w3 { animation-delay: -4s; }
@keyframes walkIn { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 78% { transform: translateX(-195px); opacity: 1; } 88%, 100% { transform: translateX(-215px); opacity: 0; } }
.art--shop .bob { animation: walkBob .5s ease-in-out infinite alternate; }
@keyframes walkBob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
.art--shop .wave { transform-origin: 0% 100%; animation: waveArm .7s ease-in-out infinite alternate; }
@keyframes waveArm { from { transform: rotate(-22deg); } to { transform: rotate(16deg); } }
.art--shop .promoter { transform-origin: 50% 100%; animation: cheer 1.4s ease-in-out infinite; }
@keyframes cheer { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.art--shop .shout { transform-origin: 10% 100%; animation: shoutPulse 1.4s ease-in-out infinite; }
@keyframes shoutPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.art--shop .door { animation: doorGlow 2s ease-in-out infinite; }
@keyframes doorGlow { 0%, 100% { fill: rgba(247,208,9,.22); } 50% { fill: rgba(247,208,9,.55); } }
.art--shop .sign { animation: signGlow 2.4s ease-in-out infinite; }
@keyframes signGlow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px rgba(247,208,9,.8)); } }
.art--shop .twinkle { animation: twinkle 1.6s ease-in-out infinite; }
.art--shop .k2 { animation-delay: .5s; } .art--shop .k3 { animation-delay: 1s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(45deg); } }

/* "Da el primer paso hoy" → flecha → botones: más espacio entre las tres partes (celular y computadora) */
.cta-block .cta-block__arrow { margin: 52px 0 60px; }   /* "Da el primer paso hoy" → flecha → botones: bien separados */
.cta-block .cta-row--xl { gap: 36px; }                 /* entre "Agenda tu diagnóstico gratuito" y "Prefiero WhatsApp" */

/* "Da el primer paso hoy": el doble de espacio antes (56 → 112 px en computadora, 64 → 128 px en celular),
   letra grande, dorada y épica, y la flecha completamente dorada con brillo que invita a hacer clic */
main .cta-block { margin-top: 112px; }
@media (max-width: 767px) { main .cta-block { margin-top: 128px; } main .cta-block .cta-block__hint { margin-top: 0; } }
.cta-block .cta-block__hint {
  display: block; width: fit-content; margin-inline: auto; font-size: clamp(2.1rem, 6.4vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 36%, #FFF6C9 48%, var(--gold-b) 54%, var(--gold) 66%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(247, 208, 9, .45));
  animation: shimmer 4s linear infinite, epicPulse 2.2s ease-in-out infinite;
}
@keyframes epicPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.cta-block .cta-block__arrow {
  width: 68px; height: 68px; border: 0; color: #0A0A08; background: var(--grad-gold);
  box-shadow: 0 0 0 0 rgba(247, 208, 9, .6), 0 0 34px -4px rgba(247, 208, 9, .85);
  animation: bounceDown 1.8s ease-in-out infinite, nextGlow 2.2s ease-out infinite;
}
.cta-block .cta-block__arrow svg { width: 32px; height: 32px; }

/* ============================================================
   "Para empresas": el doble de espacio entre cada parte
   ============================================================ */
.biz .section-head { margin-bottom: 112px; }          /* encabezado → recuadros */
.biz .modules { gap: 56px; }                          /* entre recuadros */
main .biz .how-title { margin-bottom: 128px; }        /* "Cómo trabajamos" → pasos */
.biz .steps--art { gap: 112px; }                      /* entre pasos */
.biz .guarantee { margin-top: 112px; }                /* pasos → garantía */
@media (max-width: 767px) {
  .biz .section-head { margin-bottom: 120px; }
  .biz .modules { gap: 64px; }
  main .biz .how-title { margin-bottom: 112px; }
  .biz .steps--art { gap: 128px; }
  .biz .guarantee { margin-top: 128px; }
}

/* ============================================================
   "Cómo trabajamos": pasos con el mismo diseño de los recuadros de empresas (ilustración animada arriba)
   ============================================================ */
.step.step--art { display: block; padding: 0; border-radius: 24px; }
.step--art .step__num { position: absolute; top: 14px; left: 14px; z-index: 2; width: 52px; height: 52px; font-size: 1.5rem; }
.step__art {
  aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 14px;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906;
  border-bottom: 1px solid var(--line); border-radius: 24px 24px 0 0; overflow: hidden;
}
.step__art svg { width: 100%; height: 100%; }
.step__body { padding: 26px 28px 30px; }
/* En pantallas anchas, la fila de pasos usa más ancho para que las ilustraciones luzcan */
@media (min-width: 1360px) { .biz .steps--art { margin-inline: -80px; } }
/* Flechas entre pasos centradas en el nuevo espacio */
.steps--art .step:not(:last-child)::after { bottom: -82px; }
@media (min-width: 900px) {
  .steps--art .step:not(:last-child)::after { right: -74px; bottom: auto; top: 50%; }
}

/* Paso 1 — Diagnóstico: avisos de problemas que parpadean, lupa que analiza, cliente que señala y notas que se escriben */
.art--diag .warn { animation: warnBlink 1.8s ease-in-out infinite; }
.art--diag .w2 { animation-delay: .6s; } .art--diag .w3 { animation-delay: 1.2s; }
@keyframes warnBlink { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.2); } }
.art--diag .magnifier { animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translate(-40px, 6px); } 33% { transform: translate(34px, -14px); } 66% { transform: translate(-6px, 16px); } }
.art--diag .point { transform-origin: 0% 100%; animation: pointAt 1.8s ease-in-out infinite; }
@keyframes pointAt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
.art--diag .client { transform-origin: 50% 100%; animation: talkL 3.6s ease-in-out infinite; }
.art--diag .consultant { transform-origin: 50% 100%; animation: nod 1.8s ease-in-out infinite; }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg) translateY(-2px); } }
.art--diag .note { transform-origin: left center; animation: writeLine 3.6s ease-in-out infinite; }
.art--diag .n2 { animation-delay: .4s; } .art--diag .n3 { animation-delay: .8s; }

/* Paso 2 — Capacitación vivencial: foco sobre el expositor, gráfico que se dibuja, manos que se levantan e ideas que aparecen */
.art--train .spot { animation: spotGlow 2.4s ease-in-out infinite; }
@keyframes spotGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.art--train .screen-line { stroke-dasharray: 130; animation: drawScreen 3.2s ease-in-out infinite; }
@keyframes drawScreen { 0% { stroke-dashoffset: 130; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -130; } }
.art--train .speaker { transform-origin: 50% 100%; animation: cheer 1.6s ease-in-out infinite; }
.art--train .pointer { transform-origin: 0% 100%; animation: pointAt 1.6s ease-in-out infinite; }
.art--train .hand { transform-origin: 0% 100%; animation: raiseHand 2.4s ease-in-out infinite; }
.art--train .h2 { animation-delay: 1.2s; }
@keyframes raiseHand { 0%, 100% { transform: rotate(40deg); } 30%, 60% { transform: rotate(-8deg); } }
.art--train .attendee { transform-origin: 50% 100%; animation: cheer 2s ease-in-out infinite; }
.art--train .a2 { animation-delay: .5s; } .art--train .a3 { animation-delay: 1s; } .art--train .a4 { animation-delay: 1.5s; }
.art--train .pop { animation: popIdea 3.2s ease-in-out infinite; }
.art--train .p2 { animation-delay: .8s; } .art--train .p3 { animation-delay: 1.6s; } .art--train .p4 { animation-delay: 2.4s; }
@keyframes popIdea { 0%, 100% { opacity: 0; transform: translateY(8px) scale(.5); } 15%, 40% { opacity: 1; transform: translateY(0) scale(1); } 55% { opacity: 0; transform: translateY(-6px) scale(.8); } }

/* Paso 3 — Medición: se marcan las respuestas, la persona escribe y los resultados suben de "antes" a "después" */
.art--survey .tick { stroke-dasharray: 26; animation: tickDraw 3.6s ease-in-out infinite; }
.art--survey .t2 { animation-delay: .5s; } .art--survey .t3 { animation-delay: 1s; }
@keyframes tickDraw { 0%, 10% { stroke-dashoffset: 26; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 26; } }
.art--survey .pencil { transform-origin: 100% 100%; animation: scribble .5s ease-in-out infinite alternate; }
@keyframes scribble { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.art--survey .responder { transform-origin: 50% 100%; animation: nod 1.8s ease-in-out infinite; }
.art--survey .bar-before { transform-origin: bottom center; animation: barGrow 3.6s ease-in-out infinite; }
.art--survey .bar-after { transform-origin: bottom center; animation: barAfter 3.6s ease-in-out infinite; }
@keyframes barAfter { 0%, 30% { transform: scaleY(.3); } 60%, 90% { transform: scaleY(1); } 100% { transform: scaleY(.3); } }
.art--survey .growth { animation: dealPop 3.6s cubic-bezier(.34, 1.56, .64, 1) infinite; }

/* ============================================================
   "Para dueños de negocio": 01 Diagnóstico y 02 Implementación con ilustración animada
   ============================================================ */
.mode.mode--art { padding: 0; }
.mode--art .mode__art {
  aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 14px;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906;
  border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.mode--art .mode__art svg { width: 100%; height: 100%; }
.mode--art .mode__body { padding: clamp(28px, 4vw, 40px) clamp(26px, 4vw, 40px) clamp(32px, 4vw, 44px); }
.mode--art .mode__num {
  z-index: 2; top: 14px; right: auto; left: 14px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 800;
  color: var(--gold-b); -webkit-text-stroke: 0; border: 1.5px solid var(--gold); background: rgba(10, 10, 8, .75);
  box-shadow: 0 0 18px -6px rgba(247, 208, 9, .6);
}

/* 01 · Problemas ocultos: ventas que bajan, dinero que se escapa, alertas y un dueño que no sabe qué pasa */
.art--problem .down-line { stroke-dasharray: 90; animation: drawDown 3s ease-in-out infinite; }
@keyframes drawDown { 0% { stroke-dashoffset: 90; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -90; } }
.art--problem .down-head { animation: headPop 3s ease-in-out infinite; }
.art--problem .leak { animation: leakDrop 2.1s ease-in infinite; }
.art--problem .l2 { animation-delay: .7s; } .art--problem .l3 { animation-delay: 1.4s; }
@keyframes leakDrop { 0% { opacity: 0; transform: translateY(-10px) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(22px) scale(.4); } }
.art--problem .alert { animation: warnBlink 1.8s ease-in-out infinite; }
.art--problem .a2 { animation-delay: .6s; } .art--problem .a3 { animation-delay: 1.2s; }
.art--problem .owner { transform-origin: 50% 100%; animation: confused 2.4s ease-in-out infinite; }
@keyframes confused { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.art--problem .scratch { transform-origin: 100% 100%; animation: scribble .45s ease-in-out infinite alternate; }
.art--problem .doubt { animation: doubtFloat 2.4s ease-in-out infinite; }
.art--problem .q2 { animation-delay: .8s; } .art--problem .q3 { animation-delay: 1.6s; }
@keyframes doubtFloat { 0%, 100% { opacity: 0; transform: translateY(10px) scale(.6); } 30%, 60% { opacity: 1; transform: translateY(0) scale(1); } 80% { opacity: 0; transform: translateY(-10px); } }

/* 02 · Implementación: el profesional programa, el engranaje gira, la señal llega al negocio y entran muchos clientes */
.art--implement .gear { animation: gearSpin 4s linear infinite; }
@keyframes gearSpin { to { transform: rotate(360deg); } }
.art--implement .tech { transform-origin: 50% 100%; animation: nod 1.6s ease-in-out infinite; }
.art--implement .code { transform-origin: left center; animation: writeLine 2.4s ease-in-out infinite; }
.art--implement .c2 { animation-delay: .3s; } .art--implement .c3 { animation-delay: .6s; }
.art--implement .wave { animation: signal 1.5s ease-out infinite; }
.art--implement .v2 { animation-delay: .25s; } .art--implement .v3 { animation-delay: .5s; }
@keyframes signal { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.art--implement .up-line { stroke-dasharray: 60; animation: drawScreen 3s ease-in-out infinite; }
.art--implement .open-door { animation: doorGlow 1.6s ease-in-out infinite; }
.art--implement .sale-pop { animation: dealPop 2.4s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.art--implement .buyer { animation: buyerIn 5s linear infinite; }
.art--implement .b2 { animation-delay: -1s; } .art--implement .b3 { animation-delay: -2s; } .art--implement .b4 { animation-delay: -3s; } .art--implement .b5 { animation-delay: -4s; }
@keyframes buyerIn { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 78% { transform: translateX(-80px); opacity: 1; } 90%, 100% { transform: translateX(-94px); opacity: 0; } }
.art--implement .bob { animation: walkBob .45s ease-in-out infinite alternate; }

/* ============================================================
   "Todo lo que necesitas para aumentar tus ventas": título grande con zoom y tarjetas con ilustración animada
   ============================================================ */
.subhead.subhead--sell {
  text-align: center; font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 900; line-height: 1.12; text-wrap: balance;
  max-width: 20ch; margin: 176px auto 64px;
}
.subhead--sell.is-visible, html:not(.js) .subhead--sell { animation: epicPulse 2.6s ease-in-out infinite; }
@media (max-width: 767px) { .subhead.subhead--sell { margin: 176px auto 56px; } }

.ws-grid--art { gap: 28px; }
@media (min-width: 560px) { .ws-grid--art { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ws-grid--art { gap: 32px; } }
.ws.ws--art { padding: 0; display: block; text-align: center; }
.ws__art {
  aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 12px;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906;
  border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.ws__art svg { width: 100%; height: 100%; }
.ws__body { padding: 24px 24px 28px; }

/* Página web que vende */
.art--web .cursor { animation: cursorClick 3.2s ease-in-out infinite; }
@keyframes cursorClick {
  0% { transform: translate(60px, 40px); } 35% { transform: translate(0, 0); }
  42% { transform: translate(0, 0) scale(.85); } 50% { transform: translate(0, 0) scale(1); }
  80% { transform: translate(0, 0); } 100% { transform: translate(60px, 40px); }
}
.art--web .buy { animation: buyPress 3.2s ease-in-out infinite; }
@keyframes buyPress { 0%, 38% { transform: scale(1); filter: none; } 44% { transform: scale(.92); } 52% { transform: scale(1.06); filter: drop-shadow(0 0 10px rgba(247,208,9,.9)); } 64%, 100% { transform: scale(1); filter: none; } }
.art--web .sold { animation: soldPop 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes soldPop { 0%, 46% { opacity: 0; transform: translateY(8px) scale(.6); } 56%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.art--web .badge { animation: badgeBump 3.2s ease-in-out infinite; }
@keyframes badgeBump { 0%, 48% { transform: scale(1); } 54% { transform: scale(1.4); } 62%, 100% { transform: scale(1); } }
.art--web .cnt { opacity: 0; animation: count3 9.6s steps(1) infinite; }
.art--web .k2 { animation-delay: 3.2s; } .art--web .k3 { animation-delay: 6.4s; }
@keyframes count3 { 0%, 33.3% { opacity: 1; } 33.4%, 100% { opacity: 0; } }
.art--web .product { animation: docGlow 2.4s ease-in-out infinite; }

/* Contenido que vende con IA */
.art--social .ai { animation: hubGlow 1.6s ease-in-out infinite; }
.art--social .ai-spark { animation: sparkSpin 2.4s ease-in-out infinite; }
.art--social .ai-flow { animation: flowDash 1s linear infinite; }
.art--social .caption { transform-origin: left center; animation: writeLine 3s ease-in-out infinite; }
.art--social .c2 { animation-delay: .4s; }
.art--social .post-img { animation: docGlow 2s ease-in-out infinite; }
.art--social .like { animation: heartBeat 1.1s ease-in-out infinite; }
.art--social .likes { animation: spotGlow 1.1s ease-in-out infinite; }
.art--social .float { animation: floatUp 2.4s ease-out infinite; }
.art--social .f2 { animation-delay: .6s; } .art--social .f3 { animation-delay: 1.2s; } .art--social .f4 { animation-delay: 1.8s; }
@keyframes floatUp { 0% { opacity: 0; transform: translateY(20px) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-70px) scale(1.1); } }

/* Google Maps */
.art--maps .route { stroke-dasharray: 420; animation: routeDraw 3.4s ease-in-out infinite; }
@keyframes routeDraw { 0% { stroke-dashoffset: 420; } 55%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.art--maps .pin { transform-origin: 50% 100%; animation: pinBounce 1.2s ease-in-out infinite; }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(0) scaleY(.92); } }
.art--maps .radar { animation: radar 2s ease-out infinite; }
.art--maps .r2 { animation-delay: 1s; }
@keyframes radar { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
.art--maps .me-ring { animation: radar 1.6s ease-out infinite; }
.art--maps .rstar { animation: starOn 3s ease-in-out infinite; }
.art--maps .s2 { animation-delay: .2s; } .art--maps .s3 { animation-delay: .4s; } .art--maps .s4 { animation-delay: .6s; } .art--maps .s5 { animation-delay: .8s; }

/* Chatbot */
.art--bot .robot { transform-origin: 50% 100%; animation: cheer 1.8s ease-in-out infinite; }
.art--bot .eye { animation: blink 3s ease-in-out infinite; }
@keyframes blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.art--bot .antenna { animation: synapse 1.2s ease-in-out infinite; }
.art--bot .core { animation: synapse 1.6s ease-in-out infinite; }
.art--bot .msg { animation: chatMsg 6s ease-in-out infinite; }
.art--bot .m1 { --in: 0%; }
.art--bot .m1 { animation-name: chat1; } .art--bot .m2 { animation-name: chat2; } .art--bot .m3 { animation-name: chat3; } .art--bot .m4 { animation-name: chat4; }
.art--bot .typing { animation: chatTyping 6s ease-in-out infinite; }
@keyframes chat1 { 0%, 3% { opacity: 0; transform: translateY(8px); } 8%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes chatTyping { 0%, 12% { opacity: 0; } 15%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes chat2 { 0%, 28% { opacity: 0; transform: translateY(8px); } 33%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes chat3 { 0%, 45% { opacity: 0; transform: translateY(8px); } 50%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes chat4 { 0%, 62% { opacity: 0; transform: translateY(8px) scale(.9); } 68%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.art--bot .dot { animation: typingDot .9s ease-in-out infinite; }
.art--bot .d2 { animation-delay: .15s; } .art--bot .d3 { animation-delay: .3s; }
@keyframes typingDot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }

/* Cobro con tarjeta: la tarjeta se acerca, ondas sin contacto, pago aprobado en cuotas */
.cardpay .cardpay__visual svg { width: min(100%, 420px); height: auto; }
.art--pay .paycard { animation: cardTap 4s ease-in-out infinite; }
@keyframes cardTap { 0%, 10% { transform: translateX(0) rotate(-6deg); } 35%, 60% { transform: translateX(40px) rotate(0); } 80%, 100% { transform: translateX(0) rotate(-6deg); } }
.art--pay .nfc { animation: nfcWave 4s ease-out infinite; }
.art--pay .n2 { animation-delay: .15s; } .art--pay .n3 { animation-delay: .3s; }
@keyframes nfcWave { 0%, 30% { opacity: 0; } 38% { opacity: 1; } 55%, 100% { opacity: 0; } }
.art--pay .st-wait { animation: payWait 4s steps(1) infinite; }
@keyframes payWait { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.art--pay .spinner { animation: gearSpin .9s linear infinite; transform-origin: 0% 100%; }
.art--pay .st-ok { animation: payOk 4s ease-in-out infinite; }
@keyframes payOk { 0%, 49% { opacity: 0; transform: scale(.7); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Promoción web: la misma animación de una página web que vende */
.offer__art { max-width: 420px; margin-bottom: 26px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906; padding: 10px; }
.offer__art svg { width: 100%; height: auto; display: block; }

/* ============================================================
   Galerías "de nuestro impacto": fotos vivas (zoom lento, brillo dorado que las recorre y marco que se enciende)
   ============================================================ */
.gallery__item img { animation: kenBurns 16s ease-in-out infinite alternate; }
.gallery__item:nth-child(2n) img { animation-duration: 19s; animation-direction: alternate-reverse; }
.gallery__item:nth-child(3n) img { animation-duration: 22s; }
@keyframes kenBurns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
.gallery__item .gallery__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 241, 184, .28) 50%, transparent 65%);
  transform: translateX(-120%); animation: photoShine 6s ease-in-out infinite;
}
.gallery__item:nth-child(2n) .gallery__shine { animation-delay: 1.5s; }
.gallery__item:nth-child(3n) .gallery__shine { animation-delay: 3s; }
@keyframes photoShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.gallery__item { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.gallery__item:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 50px -24px #000, 0 0 40px -10px rgba(247, 208, 9, .45); }
.gallery__item:hover img { animation-play-state: paused; transform: scale(1.14); }
.js .gallery__item.reveal.is-done { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.js .gallery__item.reveal.is-visible:hover { transform: translateY(-6px); }

/* ---------- Teléfono: recuadro "Escribe directamente" de la portada 20 % más grande, borde dorado y zoom ---------- */
@media (max-width: 767px) {
  .hero .hero__mail {
    padding: 26px 14px 24px; gap: 14px; border: 2px solid var(--gold); border-radius: 22px;
    box-shadow: 0 0 30px -10px rgba(247, 208, 9, .55);
    animation: mailZoom 2.4s ease-in-out infinite;
  }
  .hero .hero__mail-ico { width: 62px; height: 62px; border-radius: 17px; }
  .hero .hero__mail-ico svg { width: 31px; height: 31px; }
  .hero .hero__mail-text small { font-size: .94rem; margin-bottom: 6px; }
  .hero .hero__mail-text strong { font-size: clamp(.98rem, 4.7vw, 1.18rem); letter-spacing: -.01em; }
}
@keyframes mailZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ---------- "Instituciones que confiaron en nuestro trabajo": título más grande y logos 30 % más grandes ---------- */
.section-title.trust-title { font-size: clamp(2.3rem, 6.2vw, 3.9rem); max-width: 22ch; }
.marquee__list li { width: 390px; height: 244px; padding: 24px 28px; }      /* antes 300 × 188 */
@media (min-width: 768px) { .marquee__list li { width: 546px; height: 312px; padding: 30px 40px; } }  /* antes 420 × 240 */

/* ---------- "Galería de nuestro impacto": título más grande con zoom y resplandor dorado ---------- */
.section-title.gallery-title { font-size: clamp(2.4rem, 6.6vw, 4.2rem); max-width: 18ch; margin-inline: auto; }
.gallery-title.is-visible, html:not(.js) .gallery-title { animation: epicPulse 2.8s ease-in-out infinite; }
.gallery-title .gold { filter: drop-shadow(0 0 16px rgba(247, 208, 9, .45)); }

/* ---------- "Para dueños de negocio": mismo espaciado que "Cómo trabajamos" (112 px en computadora, 128 px en celular) ---------- */
.workshops .section-head { margin-bottom: 112px; }
.workshops .modes { gap: 112px; }
.workshops .ws-grid--art { gap: 112px; }
.workshops .cardpay, .workshops .offer { margin-top: 112px; }
.workshops .repeat-block { margin-top: 112px; }
.workshops .repeat-block--trust { margin-block: 112px 0; }
@media (max-width: 767px) {
  .workshops .section-head { margin-bottom: 120px; }
  .workshops .modes, .workshops .ws-grid--art { gap: 128px; }
  .workshops .cardpay, .workshops .offer { margin-top: 128px; }
  .workshops .repeat-block { margin-top: 128px; }
  .workshops .repeat-block--trust { margin-block: 128px 0; }
}

/* ---------- Logos de instituciones: borde dorado más marcado y una línea de luz que gira alrededor ---------- */
.marquee__list li { position: relative; isolation: isolate; border: 2px solid var(--gold); }
.marquee__list li::before {
  content: ""; position: absolute; inset: -60%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, #FFF1B8 330deg, var(--gold-b) 345deg, transparent 360deg);
  animation: gearSpin 3.2s linear infinite;
}
.marquee__list li::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 17px; background: #000; }
.marquee__list li:nth-child(2n)::before { animation-delay: -1.1s; }
.marquee__list li:nth-child(3n)::before { animation-delay: -2.2s; }

/* ---------- Portada: texto de capacitación más centrado (menos ancho a los lados) ---------- */
.hero .hero__lead { max-width: 40ch; }
@media (max-width: 959px) { .hero .hero__lead { margin-inline: auto; } }
@media (max-width: 767px) { .hero .hero__lead { padding-inline: 18px; } }

/* ---------- "Todo lo que necesitas para aumentar tus ventas": título más grande y mismos espacios que "Cómo trabajamos" ---------- */
.workshops .subhead.subhead--sell { font-size: clamp(2.4rem, 6.4vw, 4rem); max-width: 18ch; margin-bottom: 128px; }
@media (max-width: 767px) { .workshops .subhead.subhead--sell { margin-bottom: 112px; } }

/* ---------- "¿Por qué aprender conmigo?": mismos espacios que las demás secciones de recuadros ---------- */
.why .section-head { margin-bottom: 128px; }
.why .pillars { gap: 112px; }
.why .pillar:not(:last-child)::after { bottom: -82px; }
@media (min-width: 900px) { .why .pillar:not(:last-child)::after { right: -74px; bottom: auto; top: 50%; } }
@media (max-width: 767px) { .why .section-head { margin-bottom: 112px; } .why .pillars { gap: 128px; } }

/* Neuropsicología: dudas → Francesco la anima ("¡Tú puedes!") → claridad (levanta el brazo y aparece el check) */
.art--fear .fd { animation: fearDoubt 5s ease-in-out infinite; }
.art--fear .d2 { animation-delay: .3s; }
@keyframes fearDoubt { 0%, 100% { opacity: 0; transform: translateY(6px); } 8%, 40% { opacity: 1; transform: none; } 48% { opacity: 0; transform: translateY(-8px); } }
.art--fear .cheer-bubble { transform-origin: 20% 100%; animation: cheerBubble 5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes cheerBubble { 0%, 26% { opacity: 0; transform: scale(.4); } 34%, 62% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(.7); } }
.art--fear .win-arm { transform-origin: 100% 100%; animation: winArm 5s ease-in-out infinite; }
@keyframes winArm { 0%, 56% { opacity: 0; transform: rotate(60deg) scale(.4); } 64%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.art--fear .clarity { animation: clarityPop 5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
@keyframes clarityPop { 0%, 62% { opacity: 0; transform: scale(.3); } 70%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* "Hoy": los tres recuadros dan una vuelta rápida cada cierto tiempo */
.timeline .tl.is-visible .tl__box { animation: flipIn .9s cubic-bezier(.34, 1.3, .64, 1) both, boxSpin 6s ease-in-out 2s infinite; }
.timeline .tl.is-visible .tl__box:nth-child(2) { animation-delay: .3s, 2.6s; }
.timeline .tl.is-visible .tl__box:nth-child(3) { animation-delay: .6s, 3.2s; }
@keyframes boxSpin { 0%, 84% { transform: perspective(900px) rotateY(0); } 100% { transform: perspective(900px) rotateY(360deg); } }

/* ---------- Promoción web: lo que incluye ---------- */
.offer__inc-title { margin-top: 22px; font-family: var(--f-title); font-weight: 800; font-size: 1.05rem; color: var(--text); }
.offer__inc { display: grid; gap: 10px; margin-top: 12px; }
.offer__inc li { position: relative; padding-left: 30px; font-weight: 600; color: #E6E0D2; }
.offer__inc li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 900; background: var(--grad-gold); color: #0A0A08;
}

/* ============================================================
   "Mi historia": efectos variados en textos e imágenes
   ============================================================ */
.story__sub { font-size: clamp(1.35rem, 4.2vw, 2.1rem); letter-spacing: .22em; color: #E6E0D2; animation: floatY 4s ease-in-out infinite; }
/* Cada etapa: el título entra girando y tiene una estrella que gira sin parar */
.tl__kicker::before { content: "✦"; display: inline-block; margin-right: 12px; color: var(--gold-b); -webkit-text-fill-color: var(--gold-b); animation: gearSpin 4s linear infinite; }
.tl.is-visible .tl__kicker { animation: shimmer 6s linear infinite, flipIn .9s cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes flipIn { from { opacity: 0; transform: perspective(600px) rotateX(90deg); } to { opacity: 1; transform: none; } }
/* Párrafos: entran alternando desde la izquierda y la derecha, con desenfoque */
.tl.is-visible > p:not(.tl__kicker):nth-of-type(odd) { animation: slideBlurL .9s var(--ease) both; }
.tl.is-visible > p:not(.tl__kicker):nth-of-type(even) { animation: slideBlurR .9s var(--ease) both; }
.tl.is-visible > p:nth-of-type(2) { animation-delay: .15s !important; } .tl.is-visible > p:nth-of-type(3) { animation-delay: .3s !important; }
.tl.is-visible > p:nth-of-type(4) { animation-delay: .45s !important; } .tl.is-visible > p:nth-of-type(5) { animation-delay: .6s !important; }
.tl.is-visible > p:nth-of-type(6) { animation-delay: .75s !important; } .tl.is-visible > p:nth-of-type(7) { animation-delay: .9s !important; }
@keyframes slideBlurL { from { opacity: 0; transform: translateX(-40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slideBlurR { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* Frases destacadas: entran con rebote y luego laten con brillo */
.tl.is-visible > .tl__strong { animation: zoomBounce .9s cubic-bezier(.34, 1.56, .64, 1) both, strongGlow 3s ease-in-out 1.2s infinite !important; }
@keyframes zoomBounce { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes strongGlow { 0%, 100% { text-shadow: none; } 50% { text-shadow: 0 0 18px rgba(247, 208, 9, .55); } }
/* Citas doradas: entran girando */
.tl.is-visible .tl__quote { animation: shimmer 6s linear infinite, spinIn 1.1s cubic-bezier(.34, 1.3, .64, 1) .2s both; }
@keyframes spinIn { from { opacity: 0; transform: rotate(-10deg) scale(.6); } to { opacity: 1; transform: none; } }
/* Recuadros de "Hoy": se voltean al aparecer */
.tl.is-visible .tl__box { animation: flipIn .9s cubic-bezier(.34, 1.3, .64, 1) both; }
.tl.is-visible .tl__box:nth-child(2) { animation-delay: .3s; } .tl.is-visible .tl__box:nth-child(3) { animation-delay: .6s; }
/* Fotos: entran volteándose y luego flotan, cada una a su ritmo */
.tl.is-visible .tl__photos figure { animation: photoFlip .9s cubic-bezier(.34, 1.3, .64, 1) both, photoFloat 5s ease-in-out 1s infinite; }
.tl.is-visible .tl__photos figure:nth-child(2) { animation-delay: .2s, 1.8s; }
.tl.is-visible .tl__photos figure:nth-child(3) { animation-delay: .4s, 2.6s; }
.tl.is-visible .tl__photos figure:nth-child(4) { animation-delay: .6s, 3.4s; }
@keyframes photoFlip { from { opacity: 0; transform: perspective(800px) rotateY(80deg) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes photoFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(1.2deg); } }
.tl__photos img { animation: kenBurns 14s ease-in-out infinite alternate; }
/* Foto con Daniel Habif: se balancea suavemente y su marco brilla */
.tl.is-visible .tl__feature { animation: zoomBounce 1s cubic-bezier(.34, 1.56, .64, 1) both, featureSway 6s ease-in-out 1s infinite; }
@keyframes featureSway { 0%, 100% { transform: rotate(-1.5deg); box-shadow: 0 0 0 6px rgba(211,167,54,.08), 0 30px 60px -24px #000, 0 0 40px -16px rgba(247,208,9,.35); } 50% { transform: rotate(1.5deg); box-shadow: 0 0 0 6px rgba(211,167,54,.12), 0 30px 60px -24px #000, 0 0 70px -10px rgba(247,208,9,.7); } }

/* ============================================================
   "¿Por qué aprender conmigo?": ilustraciones vivas en cada pilar
   ============================================================ */
.pillar.pillar { padding: 0 0 clamp(30px, 4vw, 42px); }
.pillar__art {
  aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 12px; margin-bottom: 26px;
  background: radial-gradient(ellipse at 50% 60%, rgba(247, 208, 9, .16), transparent 70%), #0B0906;
  border-bottom: 1px solid var(--line); border-radius: 24px 24px 0 0; overflow: hidden;
}
.pillar__art svg { width: 100%; height: 100%; }
.pillar > h3, .pillar > p { padding-inline: clamp(22px, 3vw, 32px); }
.pillar .pillar__num {
  z-index: 2; top: 14px; right: auto; left: 14px; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 800;
  color: var(--gold-b); -webkit-text-stroke: 0; border: 1.5px solid var(--gold); background: rgba(10, 10, 8, .75);
}

/* Neuropsicología: la persona tiembla bajo una nube de miedo; Francesco le tiende la mano y sale el sol */
.art--fear .scared { transform-origin: 50% 100%; animation: fearShake 5s ease-in-out infinite; }
@keyframes fearShake {
  0%, 44% { transform: scale(.92) translateX(0); }
  4%, 12%, 20%, 28%, 36% { transform: scale(.92) translateX(-2px); } 8%, 16%, 24%, 32%, 40% { transform: scale(.92) translateX(2px); }
  60%, 92% { transform: scale(1.05); } 100% { transform: scale(.92); }
}
.art--fear .sweat { animation: leakDrop 1.2s ease-in infinite; }
.art--fear .cloud { animation: cloudFade 5s ease-in-out infinite; }
@keyframes cloudFade { 0%, 48% { opacity: 1; transform: none; } 58%, 92% { opacity: 0; transform: translateY(-14px) scale(.8); } 100% { opacity: 1; transform: none; } }
.art--fear .bolt { animation: synapse .8s ease-in-out infinite; }
.art--fear .drop { animation: leakDrop 1s ease-in infinite; } .art--fear .r2 { animation-delay: .5s; }
.art--fear .sun { animation: sunRise 5s ease-in-out infinite; }
@keyframes sunRise { 0%, 52% { opacity: 0; transform: scale(.4) rotate(-45deg); } 62%, 92% { opacity: 1; transform: scale(1) rotate(0); } 100% { opacity: 0; transform: scale(.4); } }
.art--fear .help-arm { transform-origin: 100% 50%; animation: helpReach 5s ease-in-out infinite; }
@keyframes helpReach { 0%, 30% { transform: scaleX(.25); } 45%, 90% { transform: scaleX(1); } 100% { transform: scaleX(.25); } }
.art--fear .helper { transform-origin: 50% 100%; animation: talkR 5s ease-in-out infinite; }
.art--fear .spark-help { animation: helpSpark 5s ease-in-out infinite; }
@keyframes helpSpark { 0%, 45% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; transform: scale(1.4) rotate(90deg); } 70%, 100% { opacity: 0; transform: scale(.3); } }

/* Inteligencia Artificial: el chip late, los circuitos fluyen, las herramientas se activan y la barra se completa */
.art--aiimpl .chip { animation: hubGlow 1.6s ease-in-out infinite; }
.art--aiimpl .circuit path { stroke-dasharray: 6 8; animation: flowDash 1s linear infinite; }
.art--aiimpl .app { animation: appOn 4s ease-in-out infinite; }
.art--aiimpl .a2 { animation-delay: .4s; } .art--aiimpl .a3 { animation-delay: .8s; } .art--aiimpl .a4 { animation-delay: 1.2s; }
@keyframes appOn { 0%, 100% { opacity: .35; transform: scale(.92); filter: none; } 30%, 70% { opacity: 1; transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(247,208,9,.7)); } }
.art--aiimpl .progress-fill { transform-origin: left center; animation: progressFill 4s ease-in-out infinite; }
@keyframes progressFill { 0% { transform: scaleX(0); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.art--aiimpl .done { animation: dealPop 4s cubic-bezier(.34, 1.56, .64, 1) infinite; }

/* Docencia: Francesco señala la pizarra, se escribe la lección y los alumnos comprenden */
.art--teach .teacher { transform-origin: 50% 100%; animation: cheer 1.6s ease-in-out infinite; }
.art--teach .t-pointer { transform-origin: 0% 100%; animation: pointAt 1.6s ease-in-out infinite; }
.art--teach .chalk { transform-origin: left center; animation: writeLine 4s ease-in-out infinite; }
.art--teach .k2 { animation-delay: .5s; } .art--teach .k3 { animation-delay: 1s; }
.art--teach .board-title { animation: spotGlow 2s ease-in-out infinite; }
.art--teach .board-check { stroke-dasharray: 40; animation: drawCheck 4s ease-in-out infinite; }
.art--teach .student { transform-origin: 50% 100%; animation: nod 1.8s ease-in-out infinite; }
.art--teach .s2 { animation-delay: .4s; } .art--teach .s3 { animation-delay: .8s; }
.art--teach .aha { animation: popIdea 3s ease-in-out infinite; }
.art--teach .h2 { animation-delay: 1s; } .art--teach .h3 { animation-delay: 2s; }

/* ============================================================
   Libro: la portada se abre sola, se ve la página interior y se vuelve a cerrar
   ============================================================ */
/* Ciclo de 20 s (1 % = 0,2 s):
   0–36 %  libro cerrado (7,2 s)
   36–42 % se abre la portada y se escribe la primera página con la frase
   58–67 % pasan las hojas, una tras otra, y se escriben sus reversos
   66–74 % se escribe la última página
   84–94 % las hojas regresan · 95–100 % se cierra la portada */
html.js .book3d:not(.is-playing) * { animation-play-state: paused !important; }
.book3d__front { transform-origin: left center; backface-visibility: hidden; animation: bookOpen 20s ease-in-out infinite; }
@keyframes bookOpen {
  0%, 36% { transform: translateZ(calc(var(--D) / 2)) rotateY(0); }
  42%, 95% { transform: translateZ(calc(var(--D) / 2)) rotateY(-155deg); }
  100% { transform: translateZ(calc(var(--D) / 2)) rotateY(0); }
}
/* Hojas con dos caras (anverso y reverso con texto): cada una pasa 0,2 s después de la anterior */
.book3d__leaf {
  inset: 3px 3px 3px 1px; transform-origin: left center; transform-style: preserve-3d;
  transform: translateZ(calc(var(--D) / 2 - 1px - var(--i) * .4px));
  animation: leafFlip 20s ease-in-out infinite; animation-delay: calc(var(--i) * .2s);
}
@keyframes leafFlip {
  0%, 58% { transform: translateZ(calc(var(--D) / 2 - 1px - var(--i) * .4px)) rotateY(0); }
  60.5%, 84% { transform: translateZ(calc(var(--D) / 2 - 1px - var(--i) * .4px)) rotateY(-150deg); }
  87%, 100% { transform: translateZ(calc(var(--D) / 2 - 1px - var(--i) * .4px)) rotateY(0); }
}
.leaf-side {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
  background: linear-gradient(90deg, #d4c7a6, #f7efd9 14%, #f3ead3); border-radius: 2px 8px 8px 2px;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, .12);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px 16px 20px 20px;
}
.leaf-back { transform: rotateY(180deg); background: linear-gradient(270deg, #d4c7a6, #f7efd9 14%, #f3ead3); border-radius: 8px 2px 2px 8px; padding: 20px 20px 20px 16px; }
.book3d__inside {
  inset: 4px 4px 4px 2px; transform: translateZ(calc(var(--D) / 2 - 2px)); overflow: hidden;
  background: linear-gradient(90deg, #d9ceb0, #f6eed8 12%, #f3ead3); border-radius: 2px 8px 8px 2px;
  display: flex; flex-direction: column; justify-content: center; padding: 20px 16px 20px 20px;
}
/* Texto impreso, pequeño y denso, como una página real */
.leaf-text { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 6.3px; line-height: 1.5; color: #2e2616; overflow: hidden; }
.leaf-text span { display: block; height: 1.5em; overflow: hidden; text-align: justify; text-align-last: justify; }
.leaf-text span.end { text-align-last: left; }
.leaf-text span.ind { text-indent: 1.4em; }
/* Escritura muy rápida: cada línea aparece de izquierda a derecha, una tras otra */
.leaf-text--write span, .book3d__leaf--quote .leaf-front .leaf-text span, .leaf-back .leaf-text span {
  clip-path: inset(0 100% 0 0); animation: 20s linear infinite;
  animation-delay: calc(var(--base, 0s) + var(--k) * .045s);
}
.book3d__leaf--quote .leaf-front .leaf-text span { animation-name: writeFirst; }
.leaf-back .leaf-text span { --base: calc(var(--i) * .2s); animation-name: writeBack; }
.leaf-text--write span { animation-name: writeLast; }
@keyframes writeFirst { 0%, 39% { clip-path: inset(0 100% 0 0); } 40%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes writeBack { 0%, 59.5% { clip-path: inset(0 100% 0 0); } 60.5%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes writeLast { 0%, 66% { clip-path: inset(0 100% 0 0); } 67%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.book3d__inside-quote { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 1rem; line-height: 1.35; color: #3a2d0e; text-align: center; margin: 6px 0; flex: none; }
.book3d__leaf--quote .book3d__inside-quote { animation: quoteIn 20s ease-out infinite; }
@keyframes quoteIn { 0%, 41% { opacity: 0; transform: scale(.92); } 43%, 100% { opacity: 1; transform: none; } }
.book__kicker { animation: floatY 4s ease-in-out infinite; }
.book__phrase { animation: strongGlow 3.5s ease-in-out infinite; }
.book__copy .btn { animation: ctaGlow 2.4s ease-in-out infinite; }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 10px 30px -12px rgba(247,208,9,.55); transform: scale(1); } 50% { box-shadow: 0 10px 40px -6px rgba(247,208,9,.9); transform: scale(1.03); } }

/* ============================================================
   Cierre "Tu negocio puede vender más. Empecemos hoy.": animado y con botón de correo dorado
   ============================================================ */
.final__title { animation: epicPulse 3s ease-in-out infinite; }
.final__actions .btn--gold, .final__mail .btn--gold { animation: ctaGlow 2.4s ease-in-out infinite; }
.final__actions .btn--ghost { animation: ghostGlow 2.4s ease-in-out 1.2s infinite; }
@keyframes ghostGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(247,208,9,0); } 50% { box-shadow: 0 0 26px -4px rgba(247,208,9,.6); } }
.final__mail-label {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #FFE27A 48%, var(--gold-b) 50%, #FFE27A 52%, #fff 60%, #fff 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: quoteSweep 4s ease-in-out infinite;
}

/* Teléfono: más espacio vertical en el libro y en el cierre */
@media (max-width: 767px) {
  .book__phrase { margin-bottom: 56px; }
  .book__by { margin: 18px 0 56px; }
  .final__actions { margin-top: 96px; gap: 32px; }
  .final__mail { margin-top: 96px; }
  .final__mail .cta-block__arrow { margin: 28px 0 36px; }
}

/* El doble de espacio antes de "Cómo trabajamos" */
main .how-title { margin-top: clamp(160px, 22vw, 240px); }
@media (max-width: 767px) { main .how-title { margin-top: 208px; } }
