/* ==========================================================================
   Marketing Expertos — sistema de diseño
   Tinta profunda + papel cálido + bermellón de marca. Grotesca editorial
   con acentos en serif cursiva. Un solo radio, un solo estilo de botón.
   ========================================================================== */

:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-2: #ece7de;
  --ink: #12161a;
  --ink-2: #3a4148;
  --muted: #6b7178;
  --line: #ddd6ca;
  --accent: #d6361d;
  --accent-ink: #ffffff;
  --accent-soft: #fbe6e1;
  --dark: #0f1316;
  --dark-2: #171c21;
  --dark-line: #2a3138;
  --dark-muted: #9aa3ab;
  --ok: #1f8a5b;
  --ok-soft: #e2f3ea;
  --gold: #b08a3e;

  --font-sans: "Schibsted Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 14px;
  --r-sm: 8px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(18, 22, 26, .04), 0 8px 24px -12px rgba(18, 22, 26, .18);
  --shadow-lg: 0 2px 4px rgba(18, 22, 26, .04), 0 24px 60px -24px rgba(18, 22, 26, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font: 600 .95rem/1 var(--font-sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: .9em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.45); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-up-right-from-square { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); }
.btn-accent:hover { --b-bg: #bd2c15; --b-bd: #bd2c15; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn-ghost:hover { --b-bg: var(--ink); --b-fg: #fff; }
.on-dark .btn-ghost { --b-fg: #fff; --b-bd: rgba(255,255,255,.4); }
.on-dark .btn-ghost:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn-block { width: 100%; }
.btn-linkedin { --b-bg: #0a66c2; --b-bd: #0a66c2; }
.btn-linkedin:hover { --b-bg: #004182; --b-bd: #004182; }

.link {
  color: inherit; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(245, 242, 236, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(245, 242, 236, .94); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; position: relative; overflow: hidden; flex-shrink: 0;
  transition: background-color .25s var(--ease);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand:hover .brand-mark { background: var(--accent); }
.brand-name { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.03em; line-height: 1; }
.brand-name span { color: var(--accent); }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink-2);
  padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(18,22,26,.06); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(18,22,26,.07); }
.nav .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; font-size: .9rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.1rem;
}

@media (max-width: 1060px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav a:not(.btn) { font-size: 1.4rem; font-weight: 600; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:not(.btn):hover { background: none; }
  .nav .btn { margin: 24px 0 0; min-height: 54px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.section-head.split .lead { justify-self: end; }
.on-dark { background: var(--dark); color: #fff; }
.on-dark .lead, .on-dark .muted { color: var(--dark-muted); }
.on-surface { background: var(--surface); }
.on-surface-2 { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .serif { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { font-size: 1.7rem; letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* Credencial flotante en el hero */
.cred-chip {
  position: absolute; left: -36px; bottom: 36px; width: min(320px, 82%);
  background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); display: grid; gap: 12px; text-decoration: none; color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cred-chip:hover { transform: translateY(-2px); }
.cred-chip-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 5px 10px; border-radius: 999px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(31,138,91,.5); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.45); } 70% { box-shadow: 0 0 0 8px rgba(31,138,91,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,91,0); } }
.cred-id { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.cred-chip h4 { font-size: 1.05rem; }
.cred-chip p { font-size: .84rem; color: var(--muted); line-height: 1.4; }

/* ---------- Marquesina de áreas ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-track { display: flex; gap: 56px; padding: 22px 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink-2); }
.ticker-item i { font-size: 1.25rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.hoverable:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cfc7b9; }
.on-dark .card { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }
.on-dark .card p { color: var(--dark-muted); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface-2); flex-shrink: 0; }

/* Servicios con foto */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 0; overflow: hidden; gap: 0; }
.service-photo { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-photo img { transform: scale(1.03); }
.service-body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body .tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.service-body .tag i { font-size: 1.15rem; letter-spacing: 0; }
.service-body p { color: var(--ink-2); font-size: .98rem; }
.service-body ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.service-body li { display: flex; gap: 10px; align-items: baseline; }
.service-body li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-2px); }

/* ---------- Programa ---------- */
.program-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.modules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.module { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.module-n { font-family: var(--font-mono); font-size: .85rem; color: var(--accent); padding-top: 4px; }
.module h3 { margin-bottom: 6px; }
.module p { color: var(--ink-2); font-size: .97rem; }
.program-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.program-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; }
.program-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program-photo:hover img { transform: scale(1.03); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .8rem; margin-top: 1px; }
.check-list strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.check-list span { color: var(--muted); font-size: .93rem; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: .85rem; color: var(--accent); position: absolute; top: 0; left: 0; }
.step::after { content: ""; position: absolute; top: 9px; left: 40px; right: 0; height: 1px; background: var(--dark-line); }
.on-surface .step::after, .step.light::after { background: var(--line); }
.step h3 { margin: 18px 0 10px; }
.step p { font-size: .96rem; }

/* ---------- Momento tipográfico ---------- */
.statement { padding-block: clamp(90px, 12vw, 160px); }
.statement-text { font-size: clamp(2.1rem, 5.4vw, 4.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.06; max-width: 18ch; }
.statement-text .w { color: rgba(255,255,255,.18); transition: color .5s var(--ease); }
.statement-text .w.on { color: #fff; }
.statement-text .w.on.accent { color: var(--accent); }
.statement-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: end; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.statement-foot p { max-width: 52ch; color: var(--dark-muted); }

/* ---------- Validador ---------- */
.validator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.verify-box { background: var(--surface); color: var(--ink); border-radius: calc(var(--r) + 4px); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); display: grid; gap: 20px; }
.verify-box h3 { font-size: 1.5rem; }
.field { display: grid; gap: 8px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font: 500 1rem/1.4 var(--font-sans);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.input::placeholder, .textarea::placeholder { color: #9a9890; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(18,22,26,.08); }
.input.code { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2312161a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.field-error { color: var(--accent); font-size: .85rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.input.invalid, .textarea.invalid { border-color: var(--accent); }
.verify-hint { font-size: .86rem; color: var(--muted); }
.verify-hint button { font: inherit; font-family: var(--font-mono); background: var(--surface-2); border: 0; border-radius: 6px; padding: 3px 8px; cursor: pointer; color: var(--ink); min-height: 28px; }
.verify-hint button:hover { background: var(--line); }
.trust-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.trust-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.trust-list .icon-tile { width: 44px; height: 44px; background: rgba(255,255,255,.06); color: #fff; font-size: 1.05rem; }
.trust-list strong { display: block; color: #fff; }
.trust-list span { color: var(--dark-muted); font-size: .95rem; }

/* ---------- Directorio (preview y página) ---------- */
.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expert { position: relative; }
.expert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.avatar { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; flex-shrink: 0; }
.avatar.senior { background: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge.senior { background: var(--accent-soft); color: #a52813; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.expert h3 { font-size: 1.2rem; margin-top: 6px; }
.expert .spec { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.expert-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); font-size: .86rem; }
.expert-meta .mono { font-size: .8rem; color: var(--ink-2); }
.expert-meta .go { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.expert-meta .go i { transition: transform .2s var(--ease); font-size: .8em; }
a.card:hover .expert-meta .go i { transform: translateX(3px); }
.expert-qr { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--line); padding: 5px; background: #fff; flex-shrink: 0; }
.expert-qr canvas, .expert-qr img { width: 100% !important; height: 100% !important; }

.filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 28px; }
.filters .input, .filters .select { background: var(--bg); }
.search-wrap { position: relative; }
.search-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap .input { padding-left: 44px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); grid-column: 1 / -1; }
.empty i { font-size: 1.8rem; margin-bottom: 12px; color: var(--ink-2); }

/* ---------- Fundador ---------- */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.founder-portrait { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #f3f3f1; box-shadow: var(--shadow-lg); }
.founder-portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s var(--ease); }
.founder-portrait:hover img { transform: scale(1.03); }
.founder-portrait .monogram { position: absolute; inset: auto 24px 24px auto; width: 84px; height: 84px; border-radius: 20px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.8rem; letter-spacing: -0.04em; box-shadow: var(--shadow-lg); }
.founder-name { font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: -0.04em; margin: 16px 0 8px; }
.founder-role { font-size: 1.1rem; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.founder-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.3; border-left: 3px solid var(--accent); padding-left: 20px; margin: 28px 0; color: var(--ink); }
.founder-skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.founder-skills span { font-size: .86rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.founder-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Servicios: responsable del área ---------- */
.service-lead { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem !important; font-weight: 600; color: var(--ink) !important; display: flex; align-items: center; gap: 10px; }
.service-lead i { color: var(--ok); }
.service-body .tag i + i { margin-left: -4px; }

/* ---------- Equipo ---------- */
.team-lead { background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: clamp(20px, 3vw, 40px); }
.team-lead .founder-name { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 18px 0 6px; }
.team-lead .founder-role { margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.member { padding: 0; overflow: hidden; gap: 0; }
.member-photo { aspect-ratio: 4 / 4.2; overflow: hidden; background: #f3f3f1; position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .6s var(--ease); }
a.member:hover .member-photo img { transform: scale(1.03); }
.member-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.member-body h3 { font-size: 1.3rem; }
.member-role { color: var(--accent); font-weight: 600; font-size: .95rem; }
.member-body .muted { font-size: .95rem; }
.member-body .expert-meta { width: 100%; }
.member.soon { border-style: dashed; background: transparent; }
.member.soon .member-photo { background: var(--surface-2); display: grid; place-items: center; align-content: center; gap: 14px; color: #b3ab9d; }
.member.soon .member-photo i { font-size: 4.5rem; }
.member.soon .member-photo span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Casos ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { justify-content: space-between; gap: 28px; }
.case-metric { font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.case-metric small { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.case blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--dark-muted); }
.case footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--dark-line); }
.case footer .avatar { width: 40px; height: 40px; border-radius: 10px; font-size: .9rem; background: #262d33; }
.case footer strong { display: block; color: #fff; font-size: .98rem; }
.case footer span { font-size: .84rem; color: var(--dark-muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.015em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease), background-color .2s; font-size: .8rem; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq summary:hover .pm { border-color: var(--ink); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 36px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.contact-photo:hover img { transform: scale(1.03); }
.contact-lines { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; min-height: 44px; }
.contact-lines a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.contact-lines i { width: 22px; text-align: center; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: clamp(64px, 8vw, 100px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: var(--accent); }
.footer-about { margin-top: 20px; max-width: 34ch; font-size: .96rem; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-col a { text-decoration: none; color: var(--dark-muted); display: inline-flex; align-items: center; min-height: 40px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
/* El tamaño se calcula para que la palabra quepa entera en el ancho del contenido */
.footer-word { --fw-w: calc(min(100vw, var(--wrap)) - 2 * var(--gutter)); font-size: calc(var(--fw-w) / 8.9); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: #fff; padding: 48px 0 32px; white-space: nowrap; }
.footer-word span { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .84rem; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.footer-bottom a { color: var(--dark-muted); }

/* ---------- Page hero (subpáginas) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin: 18px 0 20px; max-width: 16ch; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Entrada del hero ---------- */
[data-enter] > * { opacity: 0; transform: translateY(18px); animation: enter .9s var(--ease) forwards; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }
[data-enter] > *:nth-child(6) { animation-delay: .40s; }
@keyframes enter { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-enter] > * { opacity: 1; transform: none; }
  .statement-text .w { color: #fff; }
  .ticker-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services, .experts, .cases, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid, .program-grid, .validator-grid, .founder-grid, .faq-grid, .contact-grid, .section-head.split { grid-template-columns: 1fr; }
  .section-head.split .lead { justify-self: start; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .cred-chip { left: 16px; bottom: 16px; }
  .program-aside { position: static; }
  .founder-portrait { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .search-wrap { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services, .experts, .cases, .steps, .team-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero-actions .btn, .founder-actions .btn { width: 100%; }
  .hero-facts { gap: 20px 28px; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .cred-chip { width: auto; right: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .module { grid-template-columns: 44px 1fr; gap: 12px; }
  .faq details p { padding-right: 0; }
}
