/* ==========================================================================
   Landing /david-saenz/ — carta de presentación del fundador (Roadmap v3, F3).
   Usa los tokens de core.css y la capa brand.css. Respeta prefers-reduced-motion.
   ========================================================================== */

/* ---- Hero ----------------------------------------------------------------- */
.fx-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 0;
  background:
    radial-gradient(640px 520px at 78% 42%, rgba(143, 141, 190, .42), transparent 65%),
    radial-gradient(500px 360px at 8% 110%, rgba(230, 40, 53, .25), transparent 70%),
    linear-gradient(170deg, var(--night) 0%, #1F2C70 60%, var(--navy) 100%); }
.fx-hero__giant { position: absolute; right: -2vw; top: 4%; margin: 0; display: grid; text-align: right; pointer-events: none;
  font: italic 700 clamp(6rem, 17vw, 16rem)/.86 var(--font-h); letter-spacing: -.03em; color: transparent;
  -webkit-text-stroke: 2px rgba(199, 196, 223, .16); animation: giantIn 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.fx-hero__giant span:last-child { -webkit-text-stroke-color: rgba(230, 40, 53, .28); }
@keyframes giantIn { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
.fx-hero__grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: end; }
.fx-hero__copy { padding-bottom: 40px; }
.fx-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw + .5rem, 4.6rem); line-height: 1; letter-spacing: -.02em; max-width: 14ch; }
.fx-hero h1 em { display: block; margin-top: .14em; font-size: .62em; line-height: 1.08; color: #FF6B73; max-width: 18ch; }
.fx-hero__lead { font-size: 1.15rem; color: #DDE0F5; max-width: 50ch; margin: 18px 0 26px; }
.fx-hero__visual { position: relative; display: grid; justify-items: center; align-items: end; min-height: 360px; }
.fx-hero__halo { position: absolute; left: 50%; bottom: 6%; width: min(92%, 520px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(199, 196, 223, .35), rgba(143, 141, 190, .08) 60%, transparent 70%);
  box-shadow: inset 0 0 0 2px rgba(230, 40, 53, .35); }
.fx-hero__david { position: relative; z-index: 1; width: min(100%, 560px); height: auto; filter: drop-shadow(0 30px 40px rgba(8, 12, 40, .5)); }
.fx-badges { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fx-badge { position: absolute; display: grid; gap: 2px; background: #fff; color: var(--ink); border-radius: 6px; padding: 10px 14px; box-shadow: 0 16px 34px rgba(8, 12, 40, .35);
  border-left: 5px solid var(--brick); animation: badgeIn .7s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--d, 0s) + .6s); }
.fx-badge b { font: 700 1.15rem/1 var(--font-h); color: var(--navy); }
.fx-badge span { font: 700 .75rem/1.2 var(--font-c); letter-spacing: .07em; text-transform: uppercase; color: var(--slate); }
.fx-badge:nth-child(1) { left: 0; top: 22%; }
.fx-badge:nth-child(2) { right: 2%; top: 12%; }
.fx-badge:nth-child(3) { right: 0; bottom: 26%; }
@keyframes badgeIn { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .fx-hero { padding-top: 72px; }
  .fx-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .fx-hero__copy { padding-bottom: 96px; }
  .fx-hero__visual { min-height: 560px; }
}
@media (max-width: 899px) {
  .fx-badge { padding: 8px 10px; }
  .fx-badge b { font-size: 1rem; }
  .fx-badge:nth-child(3) { bottom: 14%; }
}

/* ---- Datos ---------------------------------------------------------------- */
.fx-facts { padding: 44px 0; }
.fx-facts__list { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.fx-facts__list li { display: grid; gap: 6px; border-top: 3px solid var(--navy); padding-top: 12px; }
.fx-facts__list li:first-child { border-top-color: var(--brick); }
.fx-facts__list b { font: italic 700 clamp(2rem, 3.4vw + .6rem, 3.1rem)/1 var(--font-h); color: var(--navy); }
.fx-facts__list span { color: var(--slate); font-size: .95rem; }
@media (min-width: 900px) { .fx-facts__list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---- Escalera del Método Directo ------------------------------------------ */
.ladder { display: grid; gap: 24px; }
.ladder__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: end; }
.ladder__stone { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 16px; border: 2px solid var(--navy); border-radius: 999px;
  background: #fff; color: var(--navy); font: 700 1.05rem/1.1 var(--font-h); cursor: pointer; text-align: left;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.ladder__stone:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(24, 35, 92, .15); }
.ladder__stone[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 14px 28px rgba(230, 40, 53, .3); }
.ladder__n { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .95rem/1 var(--font-c); }
.ladder__stone[aria-selected="true"] .ladder__n { background: #fff; color: var(--red-d); }
.ladder__panel { padding: clamp(20px, 3vw, 34px); border-top: 6px solid var(--brick); animation: panelIn .45s ease both; }
.ladder__desc { color: var(--slate); margin-bottom: 10px; }
.ladder__en { font: italic 700 clamp(1.35rem, 2.2vw + .6rem, 2rem)/1.25 var(--font-h); color: var(--navy); margin-bottom: 18px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .ladder__steps { grid-template-columns: repeat(4, 1fr); }
  .ladder__stone { transform: translateY(calc(var(--i) * -14px)); }
  .ladder__stone:hover { transform: translateY(calc(var(--i) * -14px - 3px)); }
}

/* ---- Banda de la frase (estilo de sus artes: banda roja, franjas de bandera) */
.fx-quote { position: relative; background: var(--brick); color: #fff; padding: 56px 0; overflow: hidden; }
.fx-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34px;
  background: linear-gradient(90deg, var(--navy) 0 40%, var(--lav) 40% 70%, #fff 70%); }
.fx-quote blockquote { margin: 0 0 0 24px; max-width: 980px; }
.fx-quote p { font: italic 700 clamp(1.6rem, 2.8vw + .7rem, 2.75rem)/1.2 var(--font-h); margin: 0 0 14px; }
.fx-quote p em { color: var(--night); background: #fff; padding: 0 .2em; font-style: italic; }
.fx-quote footer { font: 700 .95rem/1 var(--font-c); letter-spacing: .1em; text-transform: uppercase; color: #FFE2E4; }

/* ---- Video con fachada ----------------------------------------------------- */
.yt { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--night); box-shadow: var(--shadow-h); max-width: 520px; margin-inline: auto; }
.yt img, .yt iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.yt__play { position: absolute; inset: auto 0 0 0; margin: auto; top: 0; width: 132px; height: 132px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center; align-content: center; gap: 2px; font: 700 .85rem/1 var(--font-c); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .25), 0 20px 40px rgba(0, 0, 0, .35); transition: transform .2s; }
.yt__play .ic { width: 38px; height: 38px; }
.yt__play:hover, .yt__play:focus-visible { transform: scale(1.06); }

/* ---- Galería en movimiento ------------------------------------------------- */
.fx-gallery { background: var(--night); padding: 28px 0; overflow: hidden; }
.fx-gallery__track { display: flex; gap: 18px; width: max-content; animation: galleryMove 60s linear infinite; }
.fx-gallery:hover .fx-gallery__track, .fx-gallery:focus-within .fx-gallery__track { animation-play-state: paused; }
.fx-gallery__item { display: block; width: 240px; flex: none; border-radius: 14px; overflow: hidden; transition: transform .3s; }
.fx-gallery__item:hover, .fx-gallery__item:focus-visible { transform: translateY(-6px) rotate(-1deg); }
.fx-gallery__item img { width: 100%; height: auto; }
@keyframes galleryMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .fx-gallery { overflow-x: auto; }
  .fx-gallery__track { animation: none; padding-inline: 16px; }
  .fx-hero__giant, .fx-badge, .ladder__panel { animation: none; }
}

/* ---- Cierre ---------------------------------------------------------------- */
.fx-final h2 em { color: #FF6B73; }
.fx-final__shield { width: 72px; height: auto; margin-bottom: 18px; }
/* La foto viene recortada en hombro y torso: se funde a la derecha y abajo para que no se vea el corte. */
.fx-hero__david {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 14%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to left, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 14%); mask-composite: intersect; }
.page-founder .crumbs { display: none; }
