/* ==========================================================================
   LevAnte Consulting Group — Home mock (v1)
   Tokens → base → components → sections → responsive
   ========================================================================== */

:root {
  /* Color */
  --ink: #0b0b0b;
  --ink-2: #1c1b1a;
  --ink-3: #2a2826;
  --paper: #f4f2ee;
  --nude: #e8e4e3;
  --nude-2: #dcd6d1;
  --kaki: #c2b8ac;
  --kaki-deep: #8f867b;
  --stone: #6b6660;
  --line: rgba(11, 11, 11, 0.12);
  --line-on-ink: rgba(244, 242, 238, 0.16);
  --sandia: #CB1029;

  /* Type */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --frame: clamp(10px, 1.4vw, 18px);
  --radius-xl: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --max: 1360px;

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sandia); outline-offset: 3px; }

::selection { background: var(--nude-2); color: var(--ink); }

/* ---------- Type roles ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.h1 { font-size: clamp(44px, 6.6vw, 100px); line-height: 0.98; }
.h2 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3 em, .quote em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kaki-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--sandia);
}
.on-ink .eyebrow { color: var(--kaki); }

.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--stone); max-width: 56ch; }
.on-ink .lead { color: rgba(244, 242, 238, 0.72); }
.small { font-size: 14px; color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { background: var(--nude); color: var(--ink); }
.btn-solid:hover { background: #fff; }
.btn-ghost { border-color: var(--line-on-ink); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-sandia { background: var(--sandia); color: #fff; }
.btn-sandia:hover { background: #a90d22; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.link-arrow {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); color: var(--sandia); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 140px); }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-nude { background: var(--nude); }

/* ==========================================================================
   HERO — light card inset on paper, full-width photo, headline on the wall
   ========================================================================== */
.hero-frame { padding: var(--frame); }
.hero {
  position: relative;
  color: var(--ink);
  border-radius: var(--radius-xl);
  min-height: clamp(560px, 50vw, 820px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.05), 0 40px 80px -50px rgba(11, 11, 11, 0.35);
  background: #ececec;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 100% 12%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240, 239, 237, 0.7) 0%, rgba(240, 239, 237, 0.45) 26%, rgba(240, 239, 237, 0) 42%);
}

/* Top bar: logo + capsule on the left */
.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px clamp(24px, 3.2vw, 48px) 0;
  position: relative; z-index: 3;
}
.brand img { height: 60px; width: auto; }
.nav-capsule {
  display: flex; align-items: center; gap: 2px;
  background: var(--ink);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-pill);
  padding: 5px;
}
.nav-capsule a {
  font-size: 13px; font-weight: 500;
  padding: 9px 14px; border-radius: var(--radius-pill);
  color: rgba(244, 242, 238, 0.78);
  transition: background-color .2s, color .2s;
}
.nav-capsule a:hover { color: var(--paper); background: rgba(244, 242, 238, 0.08); }
.nav-capsule a.cta { background: var(--nude); color: var(--ink); margin-left: 6px; }
.nav-capsule a.cta:hover { background: #fff; }
.topbar-right { display: none; margin-left: auto; }
.menu-btn { display: none; }

/* Body */
.hero-body {
  position: relative; z-index: 2;
  display: block;
  padding: clamp(40px, 5vw, 76px) 54% 0 clamp(24px, 3.2vw, 48px);
}
.hero-copy { padding-bottom: clamp(32px, 3.4vw, 52px); }
.hero-copy .eyebrow { margin-bottom: 22px; color: var(--kaki-deep); }
.hero-copy .eyebrow .dot { color: var(--sandia); font-size: 16px; line-height: 0; }
.hero-copy .eyebrow::before { display: none; }
.hero-copy .h1 { font-size: clamp(40px, 4.8vw, 74px); max-width: 15ch; }
.hero-copy .h1 em { color: var(--sandia); }
.hero-copy .lead { margin-top: 22px; max-width: 42ch; font-size: clamp(16px, 1.2vw, 18px); color: var(--stone); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Certification seal at the hero's lower-left */
.hero-seal {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 3.2vw, 48px) clamp(28px, 3vw, 40px);
}
.hero-seal img { height: clamp(56px, 5vw, 72px); width: auto; }
.hero-caption {
  position: absolute; z-index: 2;
  right: clamp(24px, 3.2vw, 48px); bottom: clamp(28px, 3vw, 40px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-pill);
  background: rgba(244, 242, 238, 0.9);
  border: 1px solid rgba(11, 11, 11, 0.08);
  font-size: 13px; font-weight: 500; color: var(--ink);
  opacity: 0; animation: rise 1s var(--ease-out) .8s forwards;
}
.hero-caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sandia); }
.hero-caption em { font-style: normal; font-weight: 400; color: var(--stone); }

/* Sticky capsule that appears after hero */
.sticky-nav {
  position: fixed; top: 14px; left: 50%; transform: translate(-50%, -140%);
  z-index: 50;
  display: flex; align-items: center; gap: 4px;
  background: rgba(28, 27, 26, 0.92);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 14px;
  backdrop-filter: blur(8px);
  transition: transform .5s var(--ease-out);
}
.sticky-nav.is-visible { transform: translate(-50%, 0); }
.sticky-nav img { height: 24px; width: auto; margin-right: 10px; }
.sticky-nav a { font-size: 13px; font-weight: 500; color: rgba(244, 242, 238, 0.8); padding: 8px 12px; border-radius: var(--radius-pill); }
.sticky-nav a:hover { color: var(--paper); background: rgba(244, 242, 238, 0.06); }
.sticky-nav .btn { padding: 9px 14px; font-size: 12.5px; margin-left: 4px; }
.sticky-nav .btn-solid { background: var(--nude); color: var(--ink); }
.sticky-nav .btn-solid:hover { background: #fff; color: var(--ink); }

/* ==========================================================================
   SPLIT — the two fronts, equal weight, different temperature (rows paired via subgrid)
   ========================================================================== */
.split { padding: clamp(40px, 5vw, 72px) var(--frame) 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.front {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / span 5;
  row-gap: 0;
  padding: clamp(40px, 4.6vw, 72px) clamp(28px, 3.6vw, 64px) clamp(36px, 4vw, 56px);
}
.front-consultoria { background: var(--nude); color: var(--ink); }
.front-reinvencion { background: var(--ink); color: var(--paper); }
.front .eyebrow { margin-bottom: 22px; }
.front .h2 { font-size: clamp(32px, 3.6vw, 54px); max-width: 15ch; margin-bottom: 22px; }
.front .h2 em { color: var(--sandia); }
.front .lead { max-width: 44ch; font-size: 17px; margin-bottom: 28px; }
.front-reinvencion .lead { color: rgba(244, 242, 238, 0.7); }
.front-consultoria .lead { color: var(--stone); }

.front-list { border-top: 1px solid var(--line); align-self: start; margin-bottom: 32px; }
.front-reinvencion .front-list { border-top-color: var(--line-on-ink); }
.front-list li { border-bottom: 1px solid var(--line); }
.front-reinvencion .front-list li { border-bottom-color: var(--line-on-ink); }
.front-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start;
  padding: 20px 0; min-height: 104px;
  transition: padding-left .3s var(--ease-out);
}
.front-list a:hover { padding-left: 8px; }
.front-list .name, .front-list .desc { display: block; }
.front-list .name { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.1; letter-spacing: -0.01em; }
.front-list .desc { font-size: 14px; margin-top: 6px; color: var(--stone); max-width: 40ch; }
.front-reinvencion .front-list .desc { color: rgba(244, 242, 238, 0.6); }
.front-list svg { width: 18px; height: 18px; margin-top: 8px; color: var(--kaki-deep); transition: transform .3s var(--ease-out), color .3s; }
.front-reinvencion .front-list svg { color: var(--kaki); }
.front-list a:hover svg { transform: translateX(4px); color: var(--sandia); }

/* ReinventArte: the A ignites */
.wordmark-ra { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.wordmark-ra .a { color: var(--sandia); }
.tag-ext { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kaki); margin-left: 10px; vertical-align: middle; }

.front-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; align-self: end; }
.front-foot .small { font-size: 13px; }
.front-reinvencion .front-foot .small { color: rgba(244, 242, 238, 0.5); }

/* ==========================================================================
   SOBRE — photo bleeding to the edge, title straddling it, one inline image
   ========================================================================== */
.sobre { padding-top: clamp(80px, 9vw, 140px); padding-bottom: clamp(48px, 5vw, 80px); }
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.sobre-media { position: relative; margin-left: calc(var(--gutter) * -1); }
.sobre-media img { width: 100%; height: clamp(420px, 44vw, 640px); object-fit: cover; object-position: 50% 30%; }
.sobre-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244, 242, 238, 0) 70%, rgba(244, 242, 238, 0.85));
  pointer-events: none;
}
.sobre-copy { display: grid; gap: 26px; }
.sobre-copy .h2 { margin-left: clamp(-120px, -9vw, -40px); position: relative; z-index: 1; }
.inline-img {
  display: inline-block; vertical-align: -0.12em;
  width: 1.9em; height: 0.92em; border-radius: 999px; overflow: hidden;
  margin: 0 0.06em;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.sobre-copy p { max-width: 54ch; color: var(--stone); }
.sobre-copy p strong { color: var(--ink); font-weight: 500; }
.sobre-tagline { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--kaki-deep); }

/* ==========================================================================
   FUNDADORAS
   ========================================================================== */
.founders { padding-top: 0; }
.founders-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px);
}
.founder { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.founder img { width: 180px; height: 220px; object-fit: cover; object-position: center top; }
.founder .name { font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -0.01em; }
.founder .role { font-style: italic; font-family: var(--serif); font-size: 18px; color: var(--kaki-deep); margin-top: 4px; }
.founder p { font-size: 14.5px; color: var(--stone); margin-top: 14px; }
.founder .creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.founder .creds span {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink);
}

/* ==========================================================================
   SELLO — narrow black band: badge · text · academy wordmark
   ========================================================================== */
.sello { margin-top: clamp(72px, 8vw, 120px); }
.sello .wrap {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 72px); align-items: center;
  padding-block: clamp(40px, 4.5vw, 64px);
}
.sello-badge { height: clamp(56px, 5vw, 72px); width: auto; }
.sello-academy { height: clamp(40px, 3.6vw, 52px); width: auto; opacity: 0.92; }
.sello-marks { display: grid; gap: 20px; justify-items: center; }
.sello-marks .sello-academy, .sello-marks .sello-method { height: clamp(34px, 3vw, 44px); width: auto; opacity: 0.92; }
.sello-text .h3 { max-width: 28ch; }
.sello-text .h3 em { color: var(--nude); }
.sello-text p { margin-top: 12px; color: rgba(244, 242, 238, 0.66); max-width: 62ch; font-size: 15px; }

/* ==========================================================================
   EXPERIENCIA — monochrome logo tiles in a slow marquee
   ========================================================================== */
.clients .section-head { margin-bottom: 40px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), rgba(244, 242, 238, 0)); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), rgba(244, 242, 238, 0)); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tile {
  flex: 0 0 auto;
  width: 220px; height: 110px;
  display: grid; place-items: center;
  background: var(--nude);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  overflow: hidden;
}
.tile img {
  /* fixed px (not %) so sizing is stable regardless of the grid row's intrinsic height:
     158/60 = tile content box (164 x 66, after padding) minus a small safety margin
     so sub-pixel rounding at non-100% display scaling never clips the image */
  max-width: 158px; max-height: 60px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  opacity: 0.82;
  transition: opacity .3s, filter .3s;
}
.tile:hover img { opacity: 1; }

/* ==========================================================================
   ALIANZAS — hairline list
   ========================================================================== */
.allies-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.allies-list { border-top: 1px solid var(--line); }
.ally {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.ally-logo { height: 44px; display: flex; align-items: center; justify-content: center; }
.ally-logo img { max-height: 40px; max-width: 150px; width: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: 0.85; }
.ally-logo img[src$=".svg"] { height: 34px; opacity: 0.8; }
.ally-logo .text-logo { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.ally .what { font-size: 15px; color: var(--ink); }
.ally .where { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kaki-deep); }

/* ==========================================================================
   INSIGHTS — two pieces, one of them video
   ========================================================================== */
.insights { background: var(--nude); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.card {
  display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius-md); overflow: hidden;
  transition: transform .4s var(--ease-out);
}
.card:hover { transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.03); }
.play {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-pill);
  padding: 8px 14px 8px 8px; font-size: 12.5px; font-weight: 500;
}
.play i { width: 26px; height: 26px; border-radius: 50%; background: var(--sandia); display: grid; place-items: center; }
.play i svg { width: 10px; height: 10px; fill: var(--paper); margin-left: 1px; }
.card-body { padding: 24px 24px 28px; display: grid; gap: 10px; align-content: start; }
.card .cat { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kaki-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.card .cat::before { content: ""; width: 14px; height: 2px; background: var(--sandia); }
.card .h3 { font-size: clamp(21px, 1.6vw, 25px); }
.card p { font-size: 14.5px; color: var(--stone); }
.card .meta { font-size: 12.5px; color: var(--kaki-deep); margin-top: 6px; }

/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote-band { padding-block: clamp(72px, 9vw, 130px); }
.quote { font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -0.01em; max-width: 28ch; margin-inline: auto; text-align: center; }
.quote em { color: var(--sandia); }
.quote-by { display: flex; justify-content: center; margin-top: 28px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kaki-deep); }

/* ==========================================================================
   CONTACTO — black card mirroring the hero
   ========================================================================== */
.contact-frame { padding: 0 var(--frame) var(--frame); }
.contact {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(56px, 7vw, 110px) clamp(24px, 4vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px);
}
.contact .h2 em { color: var(--sandia); }
.contact-people { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line-on-ink); }
.person { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-on-ink); align-items: center; }
.person .front-name { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kaki); font-weight: 500; }
.person .who { font-family: var(--serif); font-size: 26px; margin-top: 6px; }
.person .how { display: grid; gap: 2px; text-align: right; font-size: 14px; color: rgba(244, 242, 238, 0.75); }
.person .how a:hover { color: var(--paper); }

.form { display: grid; gap: 14px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kaki); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-2); color: var(--paper);
  border: 1px solid var(--line-on-ink); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: 15px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--kaki); }
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: var(--radius-pill); padding: 5px; }
.segment label { position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; }
.segment span {
  display: block; text-align: center; padding: 11px 14px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 500; color: rgba(244, 242, 238, 0.7); cursor: pointer; transition: background-color .25s, color .25s;
}
.segment input:checked + span { background: var(--nude); color: var(--ink); }
.segment input:focus-visible + span { outline: 2px solid var(--sandia); }
.form .btn { justify-self: start; margin-top: 6px; }
.form .note { font-size: 12.5px; color: rgba(244, 242, 238, 0.5); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 40px var(--gutter) 36px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer img { height: 36px; width: auto; }
.footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer nav a { font-size: 13.5px; color: var(--stone); }
.footer nav a:hover { color: var(--ink); }
.footer .social { display: flex; gap: 14px; }
.footer .social a { font-size: 13px; font-weight: 500; }
.footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--kaki-deep); flex-wrap: wrap; }

/* ==========================================================================
   MOTION — reveals
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 1s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .15s; }
.hero-copy > *:nth-child(2) { animation-delay: .25s; }
.hero-copy > *:nth-child(3) { animation-delay: .4s; }
.hero-copy > *:nth-child(4) { animation-delay: .5s; }
.hero-bg { opacity: 0; animation: fade 1.4s var(--ease-out) .05s forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-seal { opacity: 0; animation: rise 1s var(--ease-out) .7s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid .card:last-child { grid-column: 1 / -1; }
  .hero { min-height: 0; grid-template-rows: auto auto auto auto; background: var(--nude); }
  .hero::before { display: none; }
  .hero-bg { position: relative; inset: auto; z-index: 0; order: 3; height: clamp(320px, 62vw, 560px); object-position: 50% 15%; }
  .topbar { order: 1; }
  .hero-body { order: 2; padding-right: clamp(24px, 3.2vw, 48px); }
  .hero-copy .h1 { max-width: 16ch; }
  .hero-seal { order: 4; padding-top: 20px; }
  .hero-caption { position: static; order: 5; margin: 0 clamp(24px, 3.2vw, 48px) 24px; justify-self: start; }
  .founders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar { justify-content: space-between; }
  .nav-capsule { display: none; }
  .topbar-right { display: flex; align-items: center; gap: 10px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
  .sheet .menu-btn { border-color: var(--line-on-ink); }
  .menu-btn svg { width: 16px; height: 16px; }
  .hero-body { padding-top: 48px; }
  .hero-copy { padding-bottom: 24px; }
  .hero-seal { padding-bottom: 24px; }

  .split-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .front { grid-template-rows: auto; grid-row: auto; }
  .front-list a { min-height: 0; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-media { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .sobre-media img { height: 60vw; }
  .sobre-media::after { background: linear-gradient(180deg, rgba(244, 242, 238, 0) 70%, var(--paper)); }
  .sobre-copy .h2 { margin-left: 0; }

  .sello .wrap { grid-template-columns: 1fr; justify-items: start; gap: 22px; }

  .allies-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 100%; height: 280px; object-position: center 15%; }
  .ally { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .how { text-align: left; }
  .sticky-nav a:not(.btn) { display: none; }
  .sticky-nav { padding-left: 12px; }
}

/* Mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper);
  display: grid; grid-template-rows: auto 1fr auto; padding: 24px var(--gutter) 32px;
  transform: translateY(-100%); transition: transform .5s var(--ease-out);
}
.sheet.is-open { transform: none; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet-top img { height: 36px; }
.sheet nav { display: grid; align-content: center; gap: 6px; }
.sheet nav a { font-family: var(--serif); font-size: clamp(36px, 9vw, 56px); line-height: 1.05; padding: 8px 0; border-bottom: 1px solid var(--line-on-ink); }
.sheet nav a em { font-style: italic; color: var(--nude); }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(244, 242, 238, 0.6); }

/* ==========================================================================
   PAGE: REINVENCIÓN
   ========================================================================== */
.nav-capsule a.is-active { color: var(--paper); background: rgba(244, 242, 238, 0.1); }
.sticky-nav a.is-active { color: var(--paper); }

/* Dark hero variant: photo + left-to-right ink gradient */
.hero--dark { color: var(--paper); background: var(--ink); box-shadow: none; }
.hero--dark .hero-bg { object-position: 0% 50%; }
.hero--dark::before {
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.86) 0%, rgba(11, 11, 11, 0.62) 28%, rgba(11, 11, 11, 0.18) 46%, rgba(11, 11, 11, 0) 58%),
    linear-gradient(0deg, rgba(11, 11, 11, 0.5) 0%, rgba(11, 11, 11, 0) 30%);
}
.hero--dark .nav-capsule { background: rgba(28, 27, 26, 0.85); }
.hero--dark .hero-copy .eyebrow { color: var(--kaki); }
.hero--dark .hero-copy .h1 { color: var(--paper); max-width: 14ch; }
.hero--dark .hero-copy .h1 em { color: var(--sandia); }
.hero--dark .hero-copy .lead { color: rgba(244, 242, 238, 0.74); }
.hero--dark .hero-body { padding-right: 56%; padding-top: clamp(56px, 7vw, 110px); }
.hero--dark .hero-copy .lead { max-width: 40ch; }
.hero--dark .menu-btn { border-color: var(--line-on-ink); }
.hero-caption--dark { background: rgba(11, 11, 11, 0.72); border-color: var(--line-on-ink); color: var(--paper); }
.hero-caption--dark em { color: rgba(244, 242, 238, 0.6); }

/* Manifiesto */
.manifesto { background: var(--nude); padding-block: clamp(72px, 9vw, 130px); }
.manifesto .wrap { display: grid; gap: 28px; justify-items: center; text-align: center; }
.manifesto-text {
  font-family: var(--serif); font-size: clamp(28px, 3.3vw, 50px); line-height: 1.12; letter-spacing: -0.012em;
  max-width: 32ch;
}
.manifesto-text em { color: var(--sandia); }

/* Titanic */
.titanic-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.titanic-intro { display: grid; gap: 20px; position: sticky; top: 96px; }
.titanic-intro .h2 em { color: var(--sandia); }
.titanic-intro p { color: var(--stone); max-width: 46ch; }
.steps { border-top: 1px solid var(--line); counter-reset: none; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--sandia); padding-top: 4px; }
.step .h3 { margin-bottom: 8px; }
.step p { color: var(--stone); font-size: 15.5px; max-width: 52ch; }

.test-cta {
  margin-top: clamp(56px, 7vw, 110px);
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4.5vw, 64px) clamp(28px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center;
}
.test-cta .eyebrow { color: var(--kaki); }
.test-cta .h2 { margin-top: 16px; max-width: 16ch; }
.test-cta .h2 em { color: var(--sandia); }
.test-cta .lead { margin-top: 16px; color: rgba(244, 242, 238, 0.7); font-size: 16.5px; max-width: 58ch; }
.test-cta-actions { display: grid; gap: 12px; justify-items: start; }
.test-cta-actions .small { color: rgba(244, 242, 238, 0.5); font-size: 13px; }

/* Formatos */
.formats { padding-top: 0; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.format {
  display: grid; grid-template-rows: auto 1fr; background: var(--nude); border-radius: var(--radius-md); overflow: hidden;
  transition: transform .4s var(--ease-out);
}
.format:hover { transform: translateY(-4px); }
.format-media { aspect-ratio: 4 / 3; overflow: hidden; }
.format-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.format:hover .format-media img { transform: scale(1.03); }
.format-body { padding: 24px 24px 26px; display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.format-kicker { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kaki-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.format-kicker::before { content: ""; width: 14px; height: 2px; background: var(--sandia); }
.format .h3 { font-size: clamp(24px, 2vw, 30px); }
.format .h3 .wordmark-ra { font-size: 0.92em; }
.format p { font-size: 14.5px; color: var(--stone); }
.format-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.format-foot svg { width: 16px; height: 16px; color: var(--kaki-deep); transition: transform .3s var(--ease-out), color .3s; }
.format:hover .format-foot svg { transform: translateX(4px); color: var(--sandia); }

/* Grabaciones */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.video { display: grid; grid-template-rows: auto 1fr; background: var(--nude); border-radius: var(--radius-md); overflow: hidden; transition: transform .4s var(--ease-out); }
.video:hover { transform: translateY(-4px); }
.video-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.video:hover .video-media img { transform: scale(1.03); }
.video-media .play { left: 20px; bottom: 20px; }
.video-body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; }
.video-body .cat { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kaki-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.video-body .cat::before { content: ""; width: 14px; height: 2px; background: var(--sandia); }
.video-body .h3 { font-size: clamp(22px, 1.8vw, 28px); }
.video-body p { font-size: 14.5px; color: var(--stone); }
.videos .h2 em { color: var(--sandia); }

.contact--single .contact-people { margin-top: 32px; }

@media (max-width: 1100px) {
  .hero--dark .hero-body { padding-right: clamp(24px, 3.2vw, 48px); }
  .hero--dark .hero-bg { order: 3; }
  .hero--dark { background: var(--ink); }
  .hero--dark::before { display: none; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .format-grid .format:last-child { grid-column: 1 / -1; }
  .titanic-intro { position: static; }
}
@media (max-width: 900px) {
  .titanic-grid { grid-template-columns: 1fr; }
  .test-cta { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .manifesto-text { max-width: none; }
}

/* ==========================================================================
   SHARED INTERIOR COMPONENTS (used by all inner pages)
   ========================================================================== */
/* Compact page header on paper (for text-led pages) */
.page-head { padding: clamp(40px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-head .wrap { display: grid; gap: 20px; max-width: 960px; margin-left: var(--gutter); }
.page-head .h1 { font-size: clamp(40px, 5.2vw, 84px); max-width: 16ch; }
.page-head .h1 em { color: var(--sandia); }
.page-head .lead { max-width: 60ch; }
.page-head .crumbs { display: flex; gap: 10px; font-size: 12.5px; color: var(--kaki-deep); letter-spacing: 0.04em; }
.page-head .crumbs a:hover { color: var(--ink); }
.page-head .crumbs span::before { content: "/"; margin-right: 10px; opacity: 0.5; }

/* Top bar on paper (no hero): same capsule, black logo */
.topbar--paper { padding: 26px var(--gutter) 0; }
.topbar--paper .nav-capsule { background: var(--ink); }
.topbar--paper .menu-btn { border-color: var(--line); }

/* Sibling navigation (pillars, formats) */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--stone); transition: background-color .2s, color .2s, border-color .2s; }
.subnav a:hover { border-color: var(--ink); color: var(--ink); }
.subnav a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Long-form text */
.prose { max-width: 68ch; color: var(--stone); font-size: 17px; line-height: 1.65; display: grid; gap: 18px; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; margin-top: 14px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); }
.prose h3 { font-size: clamp(22px, 2vw, 28px); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { display: grid; gap: 8px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 2px; background: var(--sandia); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* Two-column with sticky aside */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 28px; }
.aside-block { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.aside-block .eyebrow { font-size: 11px; }
.aside-block ul { display: grid; gap: 8px; }
.aside-block li a { font-size: 14.5px; color: var(--stone); display: flex; justify-content: space-between; gap: 12px; }
.aside-block li a:hover { color: var(--ink); }
.aside-block li a.is-active { color: var(--ink); font-weight: 500; }
.aside-block li a .count { color: var(--kaki-deep); font-size: 12.5px; }

/* Definition rows: label / text (e.g. qué es · para quién · qué resuelve) */
.def-list { border-top: 1px solid var(--line); }
.def-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.def-row dt { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kaki-deep); font-weight: 500; padding-top: 6px; }
.def-row dd { margin: 0; color: var(--stone); font-size: 16.5px; max-width: 62ch; }
.def-row dd strong { color: var(--ink); font-weight: 500; }

/* Stat tiles (restrained) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat { background: var(--nude); border-radius: var(--radius-md); padding: 22px 24px; display: grid; gap: 6px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -0.01em; }
.stat span { font-size: 13px; color: var(--stone); }

@media (max-width: 900px) {
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
  .def-row { grid-template-columns: 1fr; gap: 8px; }
  .page-head .wrap { margin-left: auto; }
}

/* ==========================================================================
   SITE HEADER v2 — single header for every page, mega menus, stuck state
   ========================================================================== */
:root { --header-h: 84px; }
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 80;
  height: calc(var(--header-h) + var(--frame)); padding-top: var(--frame);
  color: var(--ink);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .4s var(--ease-out);
}
.site-header-inner {
  height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 calc(var(--frame) + clamp(24px, 3.2vw, 48px));
}
.site-header .brand { display: inline-grid; }
.site-header .brand img { grid-area: 1 / 1; height: 64px; width: auto; transition: opacity .3s; }
.site-header .brand-light { opacity: 0; }

.site-nav { justify-self: center; }
.site-nav > ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav > ul > li { position: static; }
.site-nav > ul > li > a {
  position: relative; display: inline-block; padding: 30px 2px;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.005em; color: inherit; opacity: 0.82;
  transition: opacity .2s;
}
.site-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px;
  background: var(--sandia); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.site-nav > ul > li > a:hover, .site-nav > ul > li > a.is-active, .site-nav > ul > li.is-open > a { opacity: 1; }
.site-nav > ul > li > a:hover::after, .site-nav > ul > li > a.is-active::after, .site-nav > ul > li.is-open > a::after { transform: scaleX(1); }

.site-header-right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.site-cta { background: var(--ink); color: var(--paper); }
.site-cta:hover { background: var(--ink-3); }

/* Dark theme (over dark heroes) */
.site-header[data-theme="dark"]:not(.is-stuck) { color: var(--paper); }
.site-header[data-theme="dark"]:not(.is-stuck) .brand-dark { opacity: 0; }
.site-header[data-theme="dark"]:not(.is-stuck) .brand-light { opacity: 1; }
.site-header[data-theme="dark"]:not(.is-stuck) .site-cta { background: var(--nude); color: var(--ink); }
.site-header[data-theme="dark"]:not(.is-stuck) .site-cta:hover { background: #fff; }
.site-header[data-theme="dark"]:not(.is-stuck) .burger span { background: var(--paper); }
.site-header[data-theme="dark"]:not(.is-stuck) .burger { border-color: var(--line-on-ink); }

/* Stuck (fixed after scrolling) */
.site-header.is-stuck {
  position: fixed; padding-top: 0; height: var(--header-h);
  background: rgba(244, 242, 238, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 72px;
}
.site-header.is-stuck .brand img { height: var(--logo-h); }
.site-header.is-stuck .site-nav > ul > li > a { padding: 24px 2px; }
.site-header.is-stuck .site-nav > ul > li > a::after { bottom: 18px; }
.site-header.is-hidden { transform: translateY(-110%); }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(11, 11, 11, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility 0s linear .28s;
}
.has-mega.is-open > .mega, .has-mega:hover > .mega, .has-mega:focus-within > .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4vw, 72px);
  width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto;
  padding: clamp(32px, 3.4vw, 48px) 0 clamp(36px, 3.6vw, 52px);
}
.mega-intro { display: grid; gap: 14px; align-content: start; }
.mega-title { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.01em; }
.mega-title em { color: var(--sandia); }
.mega-text { font-size: 14.5px; color: var(--stone); max-width: 34ch; }
.mega-intro .link-arrow { margin-top: 6px; }

.mega-links { border-top: 1px solid var(--line); align-self: start; }
.mega-links li { border-bottom: 1px solid var(--line); }
.mega-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 0; align-items: start; padding: 14px 0; transition: padding-left .25s var(--ease-out); }
.mega-links .t { grid-column: 1; grid-row: 1; }
.mega-links .d { grid-column: 1; grid-row: 2; }
.mega-links svg { grid-column: 2; grid-row: 1 / span 2; }
.mega-links a:hover { padding-left: 8px; }
.mega-links .t { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.1; letter-spacing: -0.01em; }
.mega-links .t .wordmark-ra { font-size: 0.88em; }
.mega-links .d { display: block; font-size: 13px; color: var(--stone); margin-top: 4px; }
.mega-links svg { width: 16px; height: 16px; margin-top: 6px; color: var(--kaki-deep); transition: transform .25s, color .25s; }
.mega-links a:hover svg { transform: translateX(4px); color: var(--sandia); }

.mega-feature { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--ink); color: var(--paper); aspect-ratio: 16 / 11; align-self: start; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.2s var(--ease-out), opacity .4s; }
.mega-feature:hover img { transform: scale(1.03); opacity: 0.95; }
.mega-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: grid; gap: 8px; background: linear-gradient(0deg, rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0)); }
.mega-feature-body .eyebrow { color: var(--kaki); font-size: 11px; }
.mega-feature-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.mega-feature-title em { color: var(--nude); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); place-items: center; gap: 5px; align-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* Space under the absolute header; retire the old nav pieces */
.hero-frame .hero { padding-top: calc(var(--header-h) + 8px); }
.hero > .topbar, .topbar--paper, .sticky-nav, .nav-capsule { display: none !important; }
.page-head { padding-top: calc(84px + clamp(40px, 6vw, 96px)); }

/* Sheet v2 (mobile) */
.sheet { grid-template-rows: auto 1fr auto; }
.sheet-nav { display: grid; align-content: center; gap: 2px; overflow: auto; padding-block: 16px; }
.sheet-main { font-family: var(--serif); font-size: clamp(32px, 8vw, 48px); line-height: 1.05; padding: 10px 0; border-bottom: 1px solid var(--line-on-ink); display: block; }
.sheet-main em { font-style: italic; color: var(--nude); }
.sheet-group .sheet-main { border-bottom: 0; padding-bottom: 4px; }
.sheet-sub { display: grid; gap: 2px; padding: 0 0 14px 2px; border-bottom: 1px solid var(--line-on-ink); }
.sheet-sub a { font-size: 15px; color: rgba(244, 242, 238, 0.72); padding: 6px 0 6px 14px; position: relative; }
.sheet-sub a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 2px; background: var(--sandia); }
.sheet-foot { display: grid; gap: 6px; font-size: 13px; color: rgba(244, 242, 238, 0.6); }

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .burger { display: grid; }
  .site-header .brand img { height: 52px; }
  .hero { padding-top: var(--header-h); }
}
@media (max-width: 560px) {
  .site-cta { display: none; }
  .site-header-inner { padding: 0 var(--gutter); }
}

/* Alianzas on mobile: logo left, text below */
@media (max-width: 560px) {
  .ally { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .ally-logo { justify-content: flex-start; height: 34px; }
  .ally-logo img { max-height: 34px; }
  .ally .where { order: 3; }
}

/* Sheet v2 specificity fixes */
.sheet nav .sheet-main { font-family: var(--serif); font-size: clamp(32px, 8vw, 48px); line-height: 1.05; padding: 10px 0; }
.sheet nav .sheet-group .sheet-main { border-bottom: 0; padding-bottom: 4px; }
.sheet nav .sheet-sub a { font-family: var(--sans); font-size: 15px; line-height: 1.4; color: rgba(244, 242, 238, 0.72); padding: 6px 0 6px 14px; border-bottom: 0; }
.sheet .sheet-top { padding-bottom: 8px; }

.sheet { z-index: 120; }

/* Home hero: keep heads clear of the menu */
.hero:not(.hero--dark) .hero-bg { object-position: 100% 0%; }

/* Home: Sobre + Fundadoras — aligned to the wrap, rounded imagery */
.sobre-media { margin-left: 0; border-radius: var(--radius-xl); overflow: hidden; }
.sobre-media::after { display: none; }
.sobre-media img { height: clamp(380px, 40vw, 580px); object-position: 50% 20%; }
.sobre-copy .h2 { margin-left: clamp(-80px, -6vw, -32px); }
.founder img { border-radius: var(--radius-md); }
@media (max-width: 900px) { .sobre-media { margin-inline: 0; } .sobre-copy .h2 { margin-left: 0; } }

.sobre-copy .h2 { margin-left: 0; }

/* ==========================================================================
   AJUSTES CLIENTE 14-09 — acento CB1029, logo grande, hero REINVENTARSE
   ========================================================================== */

/* Hero Home: palabra gigante + subtítulo (mockup cliente) */
.hero-ra { display: grid; gap: 6px; }
.hero-ra .ra-word {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(58px, 8vw, 122px);
  line-height: 0.95;
  color: var(--sandia);
  /* Trazo fino del mismo color: engrosa la misma tipografía (Instrument Serif solo tiene un peso) */
  -webkit-text-stroke: 0.024em currentColor;
  paint-order: stroke fill;
}
.hero-ra .ra-sub {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.15;
  color: var(--sandia);
  max-width: 18ch;
}

/* Split Home: eyebrows de los frentes en rojo de acento */
.front .eyebrow { color: var(--sandia); }
.front .eyebrow::before { background: var(--sandia); }

/* Contacto simplificado: sin etiquetas de frente */
.person .who { margin-top: 0; }

@media (max-width: 720px) {
  .hero-ra .ra-word { font-size: clamp(44px, 13vw, 64px); }
  .hero-ra .ra-sub { font-size: 20px; }
}

/* Titanic: nota al pie + créditos del método */
.titanic-note { margin-top: 6px; font-size: 12.5px; color: var(--stone); }
.titanic-credits { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.titanic-credits p { font-size: 13px; line-height: 1.5; color: var(--stone); font-weight: 500; }
.titanic-credits-logo { display: block; height: clamp(22px, 2.2vw, 28px); width: auto; margin-top: 12px; opacity: 0.88; }

/* AJUSTE 14-09: acentos rojos de titulares (blog Home, Sobre Home) */
.insights .h2 em { color: var(--sandia); }
.sobre-copy .h2 em { color: var(--sandia); }

/* ==========================================================================
   PULIDO 25-09 — hero en video, test Titanic, ritmo entre secciones
   ========================================================================== */

/* Home: fondo de videos de taller + REINVENTARSE centrado (mockup cliente) */
.hero--reel { background: var(--nude); grid-template-rows: 1fr auto; }
.hero--reel .hero-bg { object-position: 50% 50%; }
.hero--reel::before {
  background:
    radial-gradient(ellipse 60% 70% at 50% 52%, rgba(244, 242, 238, 0.9) 0%, rgba(244, 242, 238, 0.8) 55%, rgba(244, 242, 238, 0.66) 100%);
}
.hero--reel .hero-body {
  display: grid; place-items: center;
  padding: clamp(88px, 8vw, 120px) clamp(24px, 3.2vw, 48px) 0;
  text-align: center;
}
.hero--reel .hero-copy { display: grid; justify-items: center; padding-bottom: clamp(24px, 3vw, 40px); }
.hero--reel .hero-copy .h1 { max-width: none; }
.hero--reel .hero-ra { justify-items: center; gap: 12px; }
.hero--reel .hero-ra .ra-word { font-size: clamp(56px, 11.5vw, 184px); letter-spacing: 0.005em; }
.hero--reel .hero-ra .ra-sub { max-width: none; font-size: clamp(20px, 2.3vw, 34px); }
.hero--reel .hero-ctas { justify-content: center; margin-top: clamp(26px, 3vw, 40px); }

@media (max-width: 1100px) {
  .hero--reel { min-height: clamp(560px, 88svh, 760px); grid-template-rows: 1fr auto auto; }
  .hero--reel::before { display: block; }
  .hero--reel .hero-bg { position: absolute; inset: 0; z-index: -2; height: 100%; order: 0; }
  .hero--reel .hero-caption { justify-self: center; margin-inline: auto; }
  .hero--reel .hero-seal { display: flex; justify-content: center; }
}
@media (max-width: 720px) {
  .hero--reel .hero-ra .ra-word { font-size: clamp(46px, 14.5vw, 68px); }
  .hero--reel .hero-ra .ra-sub { font-size: 23px; max-width: 17ch; }
}

/* La franja del sello no suma margen extra cuando llega después de una sección */
.section + .sello,
section.section + section.sello { margin-top: 0; }

/* Test Titanic: la columna derecha explica qué mide en lugar de quedar vacía */
.test-cta { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
.test-cta-side { display: grid; gap: 22px; }
.test-cta-kicker { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kaki); }
.test-cta-dims { display: grid; border-top: 1px solid var(--line-on-ink); }
.test-cta-dims li {
  padding: 14px 0; border-bottom: 1px solid var(--line-on-ink);
  font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2;
  color: var(--paper);
}
.test-cta-actions { grid-auto-flow: column; justify-content: start; align-items: center; gap: 18px; }
@media (max-width: 1100px) {
  .test-cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 480px) {
  .test-cta-actions { grid-auto-flow: row; }
}

/* PULIDO 25-09 — logo: vector nítido + alineación óptica.
   El centro del wordmark "LevAnte" queda en la línea del menú; "Consulting Group" cuelga debajo. */
.site-header .brand { --logo-h: 64px; transform: translateY(calc(var(--logo-h) * 0.14)); }
.site-header .brand img { height: var(--logo-h); }
.site-header.is-stuck .brand { --logo-h: 50px; }
@media (max-width: 1100px) { .site-header .brand { --logo-h: 50px; } }
@media (max-width: 560px) { .site-header .brand { --logo-h: 46px; } }
/* Hero reel: póster por CSS (solo baja el del tamaño que corresponde); el video entra en fundido al reproducir */
.hero--reel { background: var(--nude) url("../img/hero-video-poster.webp") center / cover no-repeat; }
@media (max-width: 720px) { .hero--reel { background-image: url("../img/hero-video-poster-mobile.webp"); } }
.hero--reel .hero-bg { opacity: 0; animation: none; transition: opacity .8s var(--ease-out); }
.hero--reel .hero-bg.is-playing { opacity: 1; }

/* PULIDO 25-09 — la tarjeta de contacto nunca se pega a una banda de color:
   el marco de papel la separa igual que al hero (sin "piquitos" en las esquinas redondeadas) */
.contact-frame { padding-top: var(--frame); }
/* Charlas: franja negra del sello + tarjeta negra = dos negros fundidos; se separan con aire */
.sello + .contact-frame { padding-top: clamp(48px, 6vw, 96px); }

/* Grabaciones: meta + modal de YouTube */
.video-meta { font-size: 12.5px; color: var(--kaki-deep); margin-top: 4px; }
.video-more { margin-top: clamp(22px, 2.4vw, 32px); }
html.is-modal-open { overflow: hidden; }
.yt-modal {
  width: min(1120px, calc(100vw - 2 * var(--gutter))); max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.yt-modal::backdrop { background: rgba(11, 11, 11, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.yt-modal[open] { animation: yt-in .45s var(--ease-out); }
.yt-modal[open]::backdrop { animation: yt-fade .45s var(--ease-out); }
@keyframes yt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes yt-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.yt-modal-inner { position: relative; }
.yt-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--ink); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); }
.yt-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-close {
  position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease-out);
}
.yt-close:hover { background: #fff; transform: rotate(90deg); }
.yt-close span { display: none; }
.yt-close::before, .yt-close::after { content: ""; grid-area: 1 / 1; width: 16px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.yt-close::after { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .yt-modal[open], .yt-modal[open]::backdrop { animation: none; } }
.founder .name a { transition: color .2s; } .founder .name a:hover { color: var(--sandia); }

/* Formularios: consentimiento, errores y estado */
.form-note { font-size: 12.5px; color: inherit; opacity: .6; margin-top: -2px; }
.form-note a, .note a { text-decoration: underline; text-underline-offset: 3px; }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; color: #ff6b7d; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--sandia) !important; }
.form-status { font-size: 14px; font-weight: 500; color: #ff6b7d; }
.form-status.is-ok { color: #9fd3a8; }
.blog-newsletter .form-status { color: var(--sandia); flex-basis: 100%; }
.blog-newsletter .form-status.is-ok { color: #2e7d4a; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.footer a[href*="politica-de-datos"] { text-decoration: underline; text-underline-offset: 3px; }
.nf { padding-top: clamp(140px, 14vw, 220px); padding-bottom: clamp(96px, 10vw, 160px); } .nf .hero-ctas { margin-top: 12px; }
/* Etiquetas de barras laterales: mismo tamaño mínimo que el resto de eyebrows */
.aside-block .eyebrow, .aside .eyebrow, .tag-ext { font-size: 11.5px; }

/* Barra sticky: logo centrado con aire arriba y abajo (sin el desplazamiento óptico del header grande) */
.site-header.is-stuck .brand { --logo-h: 44px; transform: none; }
.site-header.is-stuck { --header-h: 76px; }
@media (max-width: 560px) { .site-header.is-stuck .brand { --logo-h: 40px; } .site-header.is-stuck { --header-h: 66px; } }
/* Con width/height declarados (anti-CLS), estos logos deben escalar por alto */
.sheet-top img, .ally-logo img { width: auto !important; }

/* ==========================================================================
   PODCAST · Hablemos de reinvención
   Bloque destacado (blog), franja (home) y bloque lateral (artículos)
   ========================================================================== */
.pod-section { padding-top: 0; padding-bottom: clamp(40px, 4.4vw, 72px); }
.pod-feature {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-xl); overflow: hidden;
}
.pod-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; align-self: center; }
.pod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pod-media:hover img { transform: scale(1.03); }
.pod-media .play { left: auto; right: 18px; bottom: auto; top: 18px; }
.pod-body { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(26px, 3.4vw, 52px); }
.pod-body .eyebrow { color: var(--kaki); }
.pod-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.04; }
.pod-title em { color: var(--sandia); }
.pod-sub { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: rgba(244, 242, 238, 0.74); max-width: 38ch; }
.pod-meta { font-size: 12.5px; letter-spacing: 0.02em; color: var(--kaki); }
.pod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.pod-feature--band { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); margin-top: clamp(14px, 1.6vw, 24px); }
.pod-feature--band .pod-title { font-size: clamp(24px, 2.4vw, 34px); }

.pod-aside-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; }
.pod-aside-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pod-aside-media:hover img { transform: scale(1.03); }
.pod-aside-media .play { left: auto; right: 10px; bottom: auto; top: 10px; padding: 6px 12px 6px 6px; font-size: 11.5px; }
.pod-aside-media .play i { width: 22px; height: 22px; }
.pod-aside-title { font-family: var(--serif); font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
.pod-aside .link-arrow { justify-self: start; }
@media (max-width: 900px) {
  .pod-feature, .pod-feature--band { grid-template-columns: minmax(0, 1fr); }
  .pod-media { align-self: stretch; }
}

/* Título visible de bloques de personas ("Socias fundadoras", "Quién escribe") */
.people-title { margin: 0; }
.people-title em { color: var(--sandia); }

/* Con la barra de administración de WordPress visible, el encabezado baja su alto para no quedar tapado */
body.admin-bar .site-header,
body.admin-bar .site-header.is-stuck { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .site-header.is-stuck { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header.is-stuck { top: 0; }
}
