/* Plan: identidad visual de CodeMarketers (negro #09090b, lima #a3e635, secciones que alternan oscuro y blanco,
   radios de 12px, botones de 8px en mayúsculas, ventanas de app con puntos de color) con la tipografía actual (Outfit). */
:root {
  --lime: #a3e635; --lime-hover: #bef264; --lime-mid: #84cc16; --lime-ink: #4d7c0f;
  --lime-tint: #f7fee7; --lime-tint-line: #d9f99d;
  --black: #09090b; --card-d: #121418; --line-d: #27272a;
  --gray-l: #f4f4f5; --line-l: #e4e4e7;
  /* tokens de sección (por defecto, claro) */
  --s-bg: #ffffff; --s-ink: #18181b; --s-soft: #52525b; --s-line: #e4e4e7; --s-card: #f4f4f5; --s-label: #4d7c0f;
  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 12px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);
}
.dk { --s-ink: #fafafa; --s-soft: #a1a1aa; --s-line: #27272a; --s-card: #121418; --s-label: #a3e635; }
.dk-1 { --s-bg: #09090b; } .dk-2 { --s-bg: #0d0f12; } .dk-3 { --s-bg: #18181b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; scroll-padding-top: 80px; }
body { margin: 0; background: var(--black); color: #18181b; font-family: var(--font-display); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime-mid); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sec { background: var(--s-bg); color: var(--s-ink); padding-block: var(--section); }
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--s-label); border: 1px solid var(--s-line); border-radius: 999px; padding: 6px 14px; margin: 0 0 24px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-mid); display: block; }
h2.title { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; max-width: 19ch; }
h2.title.wide { max-width: 25ch; }
.hl { color: var(--s-label); }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--s-soft); max-width: 58ch; margin: 24px 0 0; }
.head { margin-bottom: clamp(40px, 6vw, 64px); }

/* Botones (estilo CodeMarketers: lima, texto negro, mayúsculas, 8px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 8px; background: var(--lime); color: var(--black); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; border: 0; cursor: pointer; font-family: var(--font-display); transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--lime-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.ghost { background: transparent; color: #fafafa; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.black { background: var(--black); color: var(--lime); }
.btn.black:hover { background: #000; }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 20; background: rgba(9,9,11,.9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; color: #fafafa; }
header.nav.scrolled { border-bottom-color: #1e222a; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { font-weight: 600; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(163,230,53,.22); display: block; }
.nav-links { display: flex; gap: 32px; font-size: 16px; }
.nav-links a { text-decoration: none; color: #a1a1aa; padding: 8px 0; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 112px) clamp(80px, 10vw, 128px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 90% at 75% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 75% 40%, #000, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -10%; top: -25%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(163,230,53,.14), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .net { display: none; } }
.hero h1 { font-size: clamp(42px, 5.8vw, 82px); line-height: 1.02; font-weight: 300; letter-spacing: -0.04em; max-width: 14ch; }
.hero h1 b { font-weight: 500; color: var(--lime); }
.hero .lead { margin-top: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.net { width: 100%; max-width: 520px; margin-left: auto; }
.net text { font-family: var(--font-display); }
.pulse { transform-origin: 260px 260px; animation: pulse 3.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .15; transform: scale(1.12); } }

/* Contexto */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.card { border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.ctx h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.ctx .tagline { margin: 18px 0 0; font-size: 18px; max-width: 42ch; }
.ctx .lab { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 18px; }
.ctx.old { background: var(--gray-l); border: 1px solid var(--line-l); color: #18181b; }
.ctx.old .lab, .ctx.old .tagline { color: #52525b; }
.ctx.new { background: var(--black); color: #fafafa; border: 1px solid #1e222a; }
.ctx.new .lab { color: var(--lime); } .ctx.new .tagline { color: #a1a1aa; }
.ctx .chart { margin-top: 32px; border-top: 1px solid var(--line-l); padding-top: 22px; }
.ctx.new .chart { border-top-color: #27272a; }
.chart svg { width: 100%; height: auto; }
.chart .cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #52525b; }
.ctx.new .chart .cap { color: #a1a1aa; }
.cap b { font-weight: 500; color: #18181b; } .ctx.new .cap b { color: var(--lime); }
.pull { margin: clamp(40px, 6vw, 64px) 0 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; font-weight: 300; letter-spacing: -0.035em; max-width: 22ch; }
.pull b { font-weight: 500; background: var(--black); color: var(--lime); padding: .02em .2em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Slider de ejemplos */
.car-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.car-tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; color: #a1a1aa; border: 1px solid #27272a; font-family: var(--font-display); font-size: 15px; cursor: pointer; overflow: hidden; transition: color .2s, border-color .2s; }
.tab:hover { color: #fff; border-color: #3f3f46; }
.tab.active { color: var(--lime); border-color: rgba(163,230,53,.5); background: rgba(163,230,53,.07); }
.tab.active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--lime); width: 0; animation: fill 7s linear forwards; }
.carousel.paused .tab.active::after { animation-play-state: paused; }
.carousel.noauto .tab.active::after { animation: none; width: 100%; opacity: .5; }
@keyframes fill { to { width: 100%; } }
.viewport { overflow: hidden; border-radius: var(--radius); }
.track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.slide { flex: 0 0 100%; min-width: 0; }
.ex-card { background: var(--card-d); border: 1px solid #1e222a; border-radius: var(--radius); padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; min-height: 380px; }
@media (max-width: 860px) { .ex-card { grid-template-columns: 1fr; min-height: 0; } }
.ex-card .area { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 10px; }
.ex-card .area::before { content: ""; width: 22px; height: 2px; background: var(--lime); display: block; }
.ex-card h3 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; margin-top: 20px; }
.ex-card .con { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #71767f; margin: 22px 0 0; }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-list li { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid #27272a; }
.ex-list li:first-child { border-top: 0; padding-top: 0; }
.ex-list li:last-child { padding-bottom: 0; }
.tool { justify-self: start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); background: rgba(163,230,53,.1); border: 1px solid rgba(163,230,53,.25); border-radius: 6px; padding: 3px 9px; }
.ex-list li > span:last-child { font-size: clamp(18px, 2vw, 21px); line-height: 1.4; color: #f4f4f5; }
.car-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.car-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: #a1a1aa; }
.car-count b { color: #fafafa; font-weight: 500; }
.car-btns { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 8px; border: 1px solid #27272a; background: transparent; color: #fafafa; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.round:hover { border-color: var(--lime); color: var(--lime); }
.round svg { width: 20px; height: 20px; }

/* Propuesta (banda lima) */
.band { background: var(--lime); color: var(--black); padding-block: var(--section); position: relative; overflow: hidden; }
.band .wrap { position: relative; }
.pre { font-size: 18px; margin: 0 0 22px; font-weight: 500; }
.band h2 { font-size: clamp(38px, 6.2vw, 86px); line-height: 1.12; font-weight: 300; letter-spacing: -0.04em; max-width: 17ch; }
.band h2 b { font-weight: 500; background: var(--black); color: var(--lime); padding: 0 .16em; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.chip { border: 1.5px solid var(--black); border-radius: 999px; padding: 8px 18px; font-size: 16px; font-weight: 500; }

/* Principios */
.p-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 20px; color: var(--lime-ink); }
.p1 { background: var(--black); color: #fafafa; border: 1px solid #1e222a; padding: clamp(28px, 5vw, 60px); }
.p1 .p-num { color: var(--lime); }
.p1-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
@media (max-width: 860px) { .p1-top { grid-template-columns: 1fr; } }
.p1 h3 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 300; letter-spacing: -0.035em; }
.p1 .why { margin: 0; font-size: 20px; color: #a1a1aa; max-width: 40ch; }
.p1 .why b { color: #fff; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(40px, 5vw, 60px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid #27272a; padding-top: 24px; }
.step .sn { font-size: 44px; font-weight: 300; color: var(--lime); letter-spacing: -0.03em; line-height: 1; }
.step h4 { font-size: 23px; margin: 18px 0 10px; font-weight: 500; }
.step p { margin: 0; font-size: 16px; color: #a1a1aa; }
.step .mono { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--lime); letter-spacing: .04em; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
.pgrid .card h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.p2 { background: var(--lime-tint); border: 1px solid var(--lime-tint-line); }
.p3 { background: #fff; border: 1px solid var(--line-l); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 17px; line-height: 1.4; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--lime-ink); }
.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; align-items: center; }
.flow span { background: #fff; border: 1px solid var(--lime-tint-line); border-radius: 999px; padding: 7px 16px; font-size: 15px; }
.flow .arrow { background: none; border: 0; padding: 0; color: var(--lime-ink); }
.vs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vs span { padding: 7px 14px; border-radius: 999px; font-size: 15px; background: var(--gray-l); border: 1px solid var(--line-l); text-decoration: line-through; text-decoration-thickness: 1.5px; color: #71717a; }
.vs span.only { text-decoration: none; background: var(--black); border-color: var(--black); color: var(--lime); font-weight: 500; }
.p3 p { margin: 20px 0 0; font-size: 18px; color: #52525b; }
.note { margin-top: 20px !important; font-size: 16px !important; background: var(--gray-l); border: 1px solid var(--line-l); border-radius: 10px; padding: 16px 18px; color: #18181b !important; }

/* Criterios (puente) */
.crit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .crit-grid { grid-template-columns: 1fr; } }
.crit-grid h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; max-width: 16ch; }
.crit-list { list-style: none; margin: 0; padding: 0; }
.crit-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid #27272a; font-size: 18px; line-height: 1.45; color: #a1a1aa; }
.crit-list li:last-child { border-bottom: 1px solid #27272a; }
.crit-list .cn { font-family: var(--font-mono); font-size: 15px; color: var(--lime); padding-top: 3px; }
.crit-list strong { color: #fafafa; font-weight: 500; }
.bridge { margin-top: clamp(40px, 5vw, 64px); background: var(--lime); color: var(--black); border-radius: var(--radius); padding: 26px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.bridge p { margin: 0; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; max-width: 44ch; letter-spacing: -0.01em; }
.bridge p b { font-weight: 600; }

/* Experiencias */
.start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .start { grid-template-columns: 1fr; } }
.xp { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: 12px 12px 32px; display: flex; flex-direction: column; gap: 24px; }
.xp-visual { background: radial-gradient(70% 70% at 50% 45%, #fff, #e4e4e7); border-radius: 8px; padding: 24px 12px; display: grid; place-items: center; min-height: 200px; position: relative; overflow: hidden; }
.xp-visual .real { position: relative; z-index: 1; width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; }
.xp-visual .fallback { display: none; position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 14px auto; }
.xp-visual.nofb .real { display: none; }
.xp-visual.nofb .fallback { display: block; }
.xp-text { padding-inline: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.course-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-ink); margin: 0; }
.xp h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: #18181b; }
.xp p { margin: 0; font-size: 17px; color: #52525b; }
.encargos { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .encargos { grid-template-columns: 1fr; } }
.encargos li { background: var(--gray-l); border: 1px solid var(--line-l); border-radius: 10px; padding: 14px; display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 1.35; color: #18181b; }
.xp .tool { color: var(--lime-ink); background: var(--lime-tint); border-color: var(--lime-tint-line); }
.xp .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.price b { font-weight: 500; font-size: 30px; color: #18181b; }
.mock { background: #18181b; border: 1px solid #27272a; border-radius: 10px; overflow: hidden; color: #fafafa; }
.mock .bar { height: 32px; background: #0d0f12; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #1e222a; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #ff5f57; }
.mock .bar i:nth-child(2) { background: #febc2e; } .mock .bar i:nth-child(3) { background: #28c840; }
.mock .body { padding: 18px; display: grid; gap: 14px; }
.mock .t { font-size: 15px; font-weight: 500; }
.mock .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock .kpis div { background: #0d0f12; border: 1px solid #27272a; border-radius: 8px; padding: 9px 12px; font-size: 12px; color: #a1a1aa; }
.mock .kpis b { display: block; font-size: 20px; font-weight: 500; color: var(--lime); }
.mock .chartb { display: flex; align-items: flex-end; gap: 8px; height: 76px; }
.mock .chartb i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--lime); display: block; }
.mock .chartb i:nth-child(odd) { background: #65a30d; }
.mock .code { font-family: var(--font-mono); font-size: 12px; background: #09090b; border: 1px solid #27272a; border-radius: 8px; padding: 12px 14px; line-height: 1.65; }
.mock .code .k { color: var(--lime); } .mock .code .c { color: #71767f; }
.mock .dots { position: relative; height: 76px; background: #0d0f12; border: 1px solid #27272a; border-radius: 8px; }
.mock .dots i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); display: block; }
.mock .dots u { position: absolute; left: 8%; right: 8%; top: 48%; height: 2px; background: #fafafa; transform: rotate(-14deg); display: block; }

/* Testimonios, fundador, FAQ */
.ph { border: 1.5px dashed #3f3f46 !important; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; border-radius: var(--radius); background: var(--card-d); padding: 34px; display: flex; flex-direction: column; gap: 28px; min-height: 270px; }
.quote blockquote { margin: 0; font-size: 21px; line-height: 1.4; color: #f4f4f5; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: 15px; color: #a1a1aa; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: #27272a; flex: none; }
.founder { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--gray-l); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: #71717a; }
.sec.lt .ph { border-color: #a1a1aa !important; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.logos span { border: 1px solid var(--line-l); background: #fff; border-radius: 999px; padding: 9px 18px; font-size: 16px; }
.faq { max-width: 880px; }
details { border-top: 1px solid #27272a; }
details:last-child { border-bottom: 1px solid #27272a; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(19px, 2.3vw, 25px); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary .plus { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #3f3f46; display: grid; place-items: center; flex: none; transition: transform .25s ease, background .2s; }
summary .plus svg { width: 16px; height: 16px; }
details[open] summary .plus { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); color: var(--black); }
details p { margin: 0 0 28px; max-width: 62ch; color: #a1a1aa; }

/* Footer */
footer { background: var(--black); border-top: 1px solid #1e222a; color: #a1a1aa; padding-block: 48px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: 15px; }
.foot-in strong { color: #fff; font-weight: 500; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-in a { text-decoration: none; } .foot-in a:hover { color: var(--lime); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Las tarjetas ocupan una fila completa y desarrollan cada principio. */
.pgrid { grid-template-columns: 1fr; }
.p2 .cases-intro, .p2 .cases-close { max-width: 900px; margin-top: 20px; font-size: 18px; line-height: 1.6; }
.p2 .ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.p2 .ticks li { display: block; border-left: 3px solid #a3e635; padding-left: 18px; }
.p2 .ticks li p { margin-top: 10px; line-height: 1.55; }
.ex-list li { position: relative; }
.ex-list li::before { content: "→"; position: absolute; right: calc(100% + 18px); top: 20px; color: #a3e635; font-size: 24px; line-height: 1; }
.ex-list li:first-child::before { top: 0; }
@media (max-width: 860px) { .p2 .ticks { grid-template-columns: 1fr; } .ex-list { padding-left: 32px; } .ex-list li::before { right: calc(100% + 10px); } }
.ex-list { position: relative; }
.ex-list::before { content: ""; position: absolute; right: calc(100% + 29px); top: 12px; bottom: 30px; border-left: 1px solid rgba(163,230,53,.5); }
.ex-list::after { content: ""; position: absolute; right: calc(100% + 29px); top: 50%; width: 24px; border-top: 1px solid rgba(163,230,53,.5); }
@media (max-width: 860px) { .ex-list::before { right: auto; left: 0; } .ex-list::after { display: none; } }

.p2 .cases-statement { margin-top: 28px; max-width: 1000px; font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }

.p3 .expert-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.p3 .expert-questions > div { border-left: 3px solid #a3e635; padding-left: 18px; }
.p3 .expert-questions strong { display: block; font-size: 18px; line-height: 1.35; }
.p3 .expert-questions p { margin-top: 10px; line-height: 1.55; }
@media (max-width: 860px) { .p3 .expert-questions { grid-template-columns: 1fr; } }

.home-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-story .story-transition { color: #a3e635; font-weight: 700; font-size: 17px; line-height: 1.35; }
.home-story .story-body { margin-top: 18px; font-size: 17px; line-height: 1.55; color: #f4f4f5; }
.home-story .story-name { margin-top: 20px; color: #a1a1aa; font-weight: 600; }
.story-source { margin-top: 28px; }
@media (max-width: 860px) { .home-stories { grid-template-columns: 1fr; } }

.home-stories { grid-template-columns: 1fr; }
.home-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: center; gap: 32px; min-height: 0; }
.story-image-button { display: block; position: relative; width: 100%; padding: 0; border: 1px solid #3f3f46; border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; text-align: left; }
.story-image-button img { display: block; width: 100%; height: auto; }
.story-image-button span { display: block; background: #242720; color: #d9f99d; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.story-dialog { position: fixed; inset: 0; width: min(96vw, 1600px); max-width: none; height: 94vh; max-height: none; padding: 58px 18px 18px; border: 1px solid #3f3f46; border-radius: 12px; background: #17191c; color: white; overflow: hidden; }
.story-dialog::backdrop { background: rgba(0,0,0,.88); }
.story-dialog-close { position: absolute; top: 12px; right: 16px; border: 0; border-radius: 6px; background: #333; color: #fff; font-size: 22px; width: 40px; height: 40px; cursor: pointer; }
.story-dialog-scroll { width: 100%; height: 100%; overflow: auto; background: #fff; }
.story-dialog-scroll img { display: block; width: max(100%, 1100px); height: auto; }
@media (max-width: 860px) { .home-stories { grid-template-columns: 1fr; } .home-story { grid-template-columns: 1fr; gap: 20px; } .story-dialog { width: 96vw; padding-inline: 8px; } }

.founder-story { margin-top: 20px; display: grid; gap: 16px; font-size: 17px; line-height: 1.65; color: #3f3f46; }
.founder-story a { color: #3f6212; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
