/* Amergent Partners — Inicio: page-specific sections. Loaded after site.css.
   Mobile-first like site.css: base rules are for phones, `min-width` queries build up to the
   original desktop design, which renders unchanged at 1440px. Breakpoints: css/tokens.css. */

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative; width: 100%; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--color-neutral-900); color: var(--color-bg);
}
.hero__media { position: absolute; inset: 0; opacity: 0.8; }
/* The photo is a wide panorama: portrait screens look at the lit tower on the right. */
.hero__photo { position: absolute; inset: 0; --focus: 74% 40%; filter: brightness(0.45); }
.hero__shade, .hero__curtain { position: absolute; inset: 0; pointer-events: none; }
.hero__shade--top {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-text) 85%, transparent) 0%,
    color-mix(in srgb, var(--color-text) 40%, transparent) 18%, transparent 38%);
}
.hero__shade--tint { background: color-mix(in srgb, var(--color-text) 25%, transparent); }
.hero__shade--bottom {
  background: linear-gradient(0deg,
    color-mix(in srgb, var(--color-neutral-900) 80%, transparent) 0%,
    color-mix(in srgb, var(--color-neutral-900) 45%, transparent) 38%, transparent 62%);
}
.hero__shade--corners {
  background:
    radial-gradient(ellipse 60% 55% at 22% 88%, color-mix(in srgb, var(--color-neutral-900) 60%, transparent) 0%, transparent 100%),
    radial-gradient(ellipse 34% 40% at 88% 90%, color-mix(in srgb, var(--color-neutral-900) 60%, transparent) 0%, transparent 100%);
}
.hero__curtain { background: var(--color-text); opacity: 0; }
.hero__shade--left {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--color-neutral-900) 78%, transparent) 0%,
    color-mix(in srgb, var(--color-neutral-900) 40%, transparent) 42%, transparent 70%);
}

.hero__content {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 56px;
  min-height: inherit; box-sizing: border-box;
  padding: calc(var(--nav-h) + var(--safe-top) + 32px) var(--pad-x-wide) 56px;
}
.hero__copy { display: flex; flex-direction: column; max-width: 1240px; }
.hero__badge {
  align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  min-height: 36px; padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 35%, transparent);
  background: color-mix(in srgb, var(--color-neutral-900) 45%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; letter-spacing: 0.02em; color: var(--color-bg);
}
.hero__badge-dot { display: block; width: 7px; height: 7px; background: var(--color-bg); }
.hero__badge-sep { width: 1px; height: 14px; background: color-mix(in srgb, var(--color-bg) 35%, transparent); }
.hero__badge-code { color: var(--color-neutral-300); font-variant-numeric: tabular-nums; }

/* Phones and tablets: the two lines may wrap, balanced. From lg: one line each, as designed. */
.hero__title {
  font-size: clamp(38px, 10.4vw, 72px); font-weight: 300; line-height: 0.92; letter-spacing: -0.05em;
  margin: 24px 0 0 -0.06em; text-wrap: balance;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line--2 { padding: 0.04em 0 0.14em; margin: -0.04em 0 -0.14em; }
.hero__line > span { display: block; color: var(--color-bg); }
.hero__line--2 > span { font-weight: 500; }

.hero__lead { font-size: clamp(22px, 0.751vw + 19.19px, 30px); line-height: 1.3; letter-spacing: -0.015em; margin: 20px 0 0; color: var(--color-bg); }
.hero__text { font-size: 16px; line-height: 1.6; max-width: 500px; margin: 18px 0 0; color: var(--color-neutral-200); text-wrap: pretty; }

/* xs/sm: stacked, the main button full width. md+: one row. */
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 32px; }
.hero__more { align-self: flex-start; display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--color-bg); }
.hero__more-box {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 60%, transparent);
  transition: background 200ms ease, color 200ms ease;
}
.hero__more-clip { display: flex; overflow: hidden; width: 18px; height: 22px; align-items: center; justify-content: center; }
.hero__more-text { display: flex; flex-direction: column; gap: 2px; }
.hero__more-text > span:first-child { font-size: var(--fs-13); color: var(--color-neutral-300); }
.hero__more-text > span:last-child { font-size: 16px; font-weight: 600; }

.hero__scroll { display: none; }
.hero__scroll-track {
  position: relative; display: block; width: 1px; height: 56px; overflow: hidden;
  background: color-mix(in srgb, var(--color-bg) 30%, transparent);
}
.hero__scroll-track > span { position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--color-bg); }

@media (max-width: 359.98px) {
  .hero__badge-sep { display: none; }
}

@media (min-width: 480px) {
  .hero__badge { flex-wrap: nowrap; height: 36px; padding: 0 14px; }
}

@media (min-width: 768px) {
  .hero__photo { --focus: 66% 40%; }
  .hero__actions { flex-direction: row; align-items: center; gap: 32px; }
  .hero__more { align-self: auto; }
}

@media (min-width: 1024px) {
  .hero { min-height: max(100vh, 720px); min-height: max(100svh, 720px); }
  .hero__photo { --focus: 50% 40%; }
  .hero__content { padding: calc(var(--nav-h) + var(--safe-top)) var(--pad-x-wide) 0; }
  .hero__title { font-size: clamp(72px, 7.8vw, 128px); margin-top: 36px; white-space: nowrap; }
  .hero__lead { margin-top: 28px; }
  .hero__actions { margin-top: 40px; }
  .hero__scroll {
    position: absolute; right: 40px; bottom: 48px; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
  }
  .hero__scroll > span:first-child {
    writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-neutral-300);
  }
}

/* Large monitors: the copy grows a little with the headline (which stops at 128px). */
@media (min-width: 1920px) {
  .hero__lead { font-size: 34px; }
  .hero__text { font-size: 18px; max-width: 560px; }
}

/* Phones held sideways: a shorter headline so the hero stays one screen of reading. */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023.98px) {
  .hero__title { font-size: 48px; }
  .hero__content { padding-top: calc(var(--nav-h) + var(--safe-top) + 24px); padding-bottom: 40px; }
}

@media (hover: hover) {
  .hero__more:hover { color: var(--color-bg); }
  .hero__more-box:hover { background: var(--color-bg); color: var(--color-text); }
}

/* ── Section scaffolding ────────────────────────────────────────────── */

.section { background: var(--color-bg); color: var(--color-text); }
.section--nosotros { scroll-margin-top: calc(var(--nav-h) + var(--safe-top)); padding: var(--space-section) var(--pad-x); }
.section--howto { padding: clamp(72px, 5.258vw + 52.29px, 128px) var(--pad-x) var(--space-section); }
.section--pubs { padding: var(--space-section) var(--pad-x) clamp(56px, 3.756vw + 41.92px, 96px); }

.section-head { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; padding-bottom: 40px; }
.section-head__title { display: flex; flex-direction: column; gap: 20px; }
.section-head__aside--stack { display: flex; flex-direction: column; gap: 24px; max-width: 540px; }
.section-head__aside--pad { display: flex; flex-direction: column; gap: 24px; }
.section-head__aside--split { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.section-head__aside--split p { font-size: 16px; line-height: 1.6; margin: 0; max-width: 360px; color: var(--color-neutral-800); }

@media (min-width: 768px) {
  .section-head__aside--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
}

@media (min-width: 1024px) {
  .section-head { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; align-items: end; padding-bottom: 56px; }
  .section-head--48 { padding-bottom: 48px; }
  .section-head__title { gap: 28px; }
  .section-head__aside--pad,
  .section-head__aside--split { padding-left: 48px; }
}

/* ── 02 · Nosotros ──────────────────────────────────────────────────── */

/* Phones: photo, then the two cards. md–lg: photo across, cards side by side.
   xl: the original split — photo left, the two cards stacked on the right. */
.nosotros { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }

.team { display: flex; flex-direction: column; min-height: 0; }
.team__photo { position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: var(--color-surface); }
.team__img { position: absolute; inset: 0; --focus: 50% 30%; }
.team__names {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  background: var(--color-bg); border-top: 2px solid var(--color-text);
}
.team__person { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 0 0; }
.team__person--end { align-items: flex-end; text-align: right; padding: 18px 0 0 16px; }
.team__name { font-size: 18px; line-height: 1.2; }
.team__role { font-size: var(--fs-13); line-height: 1.4; color: var(--color-neutral-700); }

.nosotros__cards { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.card.feature { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; padding: clamp(24px, 1.127vw + 19.78px, 36px); }
.feature__body { display: flex; flex-direction: column; gap: 16px; }
.feature__title { font-size: clamp(24px, 0.376vw + 22.59px, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.feature__text { font-size: var(--fs-14); line-height: 1.6; margin: 0; color: var(--color-neutral-800); text-wrap: pretty; }
.feature__link { margin-top: auto; }
.feature__viz { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.funnel { display: flex; flex-direction: column; gap: 16px; }
.funnel__cells {
  display: grid; grid-template-columns: repeat(14, 10px); gap: 8px; justify-content: space-between; min-height: 136px;
}
.funnel__cells span { display: block; width: 10px; height: 10px; background: var(--color-neutral-400); }
.funnel__segs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; }
.funnel__segs span { display: block; height: 2px; background: var(--color-divider); transition: background-color 900ms ease; }
.funnel__segs span.is-on { background: var(--color-text); }
.funnel__stage { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.funnel__stage-name { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.funnel__stage-num { font-size: 11px; letter-spacing: 0.08em; color: var(--color-neutral-700); }
.funnel__stage-desc { font-size: 12px; color: var(--color-neutral-700); text-align: right; }

.bars { flex: 1; min-height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.bars__bar { flex: 1; background: var(--color-neutral-300); }
.bars__bar--peak { background: var(--color-text); }
.bars__caption { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); }

@media (min-width: 768px) {
  .team__photo { aspect-ratio: 16 / 9; }
  .nosotros__cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1280px) {
  .nosotros { grid-template-columns: repeat(2, minmax(0,1fr)); min-height: 680px; }
  .team__photo { flex: 1; aspect-ratio: auto; }
  .team__person { padding: 18px 24px 0 0; }
  .team__person--end { padding: 18px 0 0 24px; }
  .team__name, .team__role { white-space: nowrap; }
  .nosotros__cards { grid-template-columns: minmax(0,1fr); grid-template-rows: repeat(2, minmax(0,1fr)); }
  .card.feature { grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 32px; }
  .feature__viz { width: 270px; }
  .feature__viz--end { justify-content: flex-end; }
  .bars__caption { white-space: nowrap; }
}

/* Respaldo institucional */
.trust { margin-top: clamp(72px, 5.258vw + 52.29px, 128px); }
.trust__hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
.trust__intro { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.trust__title { font-size: clamp(36px, 2.254vw + 27.55px, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.trust__text { font-size: clamp(17px, 0.188vw + 16.3px, 19px); line-height: 1.55; margin: 0; max-width: 600px; color: var(--color-neutral-700); text-wrap: pretty; }
.trust__wipe {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.trust__img { position: absolute; inset: 0; --focus: 58% 50%; }

@media (min-width: 768px) {
  .trust__wipe { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .trust__hero { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 16px; min-height: 460px; }
  .trust__intro { grid-column: 1 / span 2; gap: 28px; padding: 56px 0 64px; }
  .trust__wipe { grid-column: 3 / span 2; aspect-ratio: auto; }
}

/* xl+: the headline runs past its column onto the photo's slanted edge, as designed — capped so
   wider screens don't push more words over the photo. */
@media (min-width: 1280px) {
  .trust__title { width: min(130%, 14.5em); }
}

/* Four figures: one column on phones, two from sm, the original row of four from xl.
   Each card is a size container so its big number shrinks with the card instead of overflowing. */
.stats { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 40px; }
.stat {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 200px; padding: 24px;
  container-type: inline-size; background: var(--color-surface);
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), background 500ms;
}
.stat--dark { background: var(--color-text); color: var(--color-bg); }
.stat__label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-700);
}
.stat__value {
  font-size: 32px; font-size: clamp(26px, 17cqi, 56px); line-height: 1; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat__note { font-size: var(--fs-14); line-height: 1.45; color: var(--color-neutral-700); }
.stat__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 12px; }
.stat__meter { position: relative; height: 4px; background: var(--color-neutral-300); overflow: hidden; }
.stat__meter > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--color-text); }
.stat__legend {
  display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--color-neutral-700); font-variant-numeric: tabular-nums;
}
.stat--dark .stat__label,
.stat--dark .stat__note,
.stat--dark .stat__legend { color: var(--color-neutral-400); }
.stat--dark .ic--info { stroke: var(--color-neutral-400); }
.stat--dark .stat__meter { background: var(--color-neutral-800); }
.stat--dark .stat__meter > span { background: var(--color-bg); }

.grade { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 3px; }
.grade > span { height: 4px; background: var(--color-neutral-300); }
.grade > span.is-on { background: var(--color-text); }
.grade--labels { font-size: 12px; color: var(--color-neutral-600); }
.grade--labels > span,
.grade--labels > span.is-on { height: auto; background: none; }
.grade--labels > span.is-on { color: var(--color-text); font-weight: 600; }

@media (min-width: 480px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
}

@media (min-width: 1024px) {
  .stat { gap: 16px; min-height: 260px; padding: 32px; }
}

@media (min-width: 1280px) {
  .stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (min-width: 1440px) {
  .stat__value { font-size: clamp(36px, 3.3vw, 56px); }
}

@media (hover: hover) {
  .stat:hover { transform: translateY(-4px); background: var(--color-neutral-200); }
  .stat--dark:hover { background: var(--color-neutral-900); color: var(--color-bg); }
}

.eco-head {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 20px;
  margin-top: clamp(56px, 3.756vw + 41.92px, 96px); padding-bottom: 28px;
}
.eco-head__title { display: flex; flex-direction: column; gap: 20px; }
.eco-head__h { font-size: clamp(28px, 1.127vw + 23.78px, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -0.025em; margin: 0; max-width: 620px; text-wrap: pretty; }
.eco-head__aside { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.eco-head__aside p { font-size: 16px; line-height: 1.6; margin: 0; max-width: 420px; color: var(--color-neutral-700); text-wrap: pretty; }
.eco-head__date { flex: none; font-size: 12px; color: var(--color-neutral-700); }

@media (min-width: 1024px) {
  .eco-head { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: end; padding-bottom: 32px; }
  .eco-head__aside { flex-wrap: nowrap; padding-left: 48px; }
}

/* Runs edge to edge up to the container width; beyond it the fades soften both ends. */
.marquee { position: relative; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__fade { position: absolute; top: 0; bottom: 0; width: 48px; pointer-events: none; }
.marquee__fade--l { left: 0; background: linear-gradient(90deg, var(--color-bg), transparent); }
.marquee__fade--r { right: 0; background: linear-gradient(270deg, var(--color-bg), transparent); }

.partner {
  flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  width: 248px; height: 160px; padding: 24px;
  text-decoration: none; color: var(--color-text); transition: background 500ms;
}
.partner:focus-visible { outline-offset: -2px; }
.partner__logo { display: flex; align-items: center; height: 56px; }
.partner__img { display: block; width: auto; }
.partner__img--blend { mix-blend-mode: multiply; }
.partner__img--invert { filter: invert(1); }
.partner__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.partner__text { display: flex; flex-direction: column; gap: 4px; }
.partner__name { font-size: var(--fs-15); }
.partner__role { font-size: 12px; color: var(--color-neutral-700); }
.partner__arrow { color: var(--color-neutral-600); }

@media (min-width: 768px) {
  .marquee__fade { width: 120px; }
  .partner { gap: 24px; width: 300px; height: 176px; padding: 28px 32px; }
}

@media (hover: hover) {
  .partner:hover { background: var(--color-neutral-200); color: var(--color-text); }
}

/* ── 03 · Fondos ────────────────────────────────────────────────────── */

/* Phones and tablets: photo on top (with its caption), text below.
   From lg: the original split, photo and text side by side. */
.fondos { scroll-margin-top: calc(var(--nav-h) + var(--safe-top)); background: var(--color-bg); color: var(--color-text); }
.fund { position: relative; display: grid; grid-template-columns: minmax(0,1fr); overflow: hidden; }
.fund__media { position: relative; grid-area: 1 / 1; aspect-ratio: 4 / 3; }
.fund__media--atrio { --focus: 50% 40%; background: var(--color-surface); filter: brightness(0.8) saturate(0.9); }

.fund__body { position: relative; grid-area: 2 / 1; display: flex; flex-direction: column; gap: 24px; padding: 40px var(--pad-x) 56px; }
.fund__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.fund__status { display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.fund__status-dot { display: block; width: 8px; height: 8px; background: var(--color-text); }
.fund__status-dot--outline { background: none; border: 1px solid var(--color-text); }

.fund__title { font-size: clamp(52px, 4.131vw + 36.52px, 96px); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em; margin: 0 0 0 -0.05em; }
.fund__title > span { display: block; }
.fund__title > .fund__subtitle {
  font-size: clamp(22px, 0.751vw + 19.19px, 30px); line-height: 1.2; letter-spacing: -0.015em; margin-top: 18px; color: var(--color-neutral-700);
}
.fund__text { font-size: 17px; line-height: 1.6; margin: 0; max-width: 480px; text-wrap: pretty; }
.fund__figures { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; padding-top: 8px; }
.figure { display: flex; flex-direction: column; gap: 6px; }
.figure__value {
  font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.figure__label { font-size: 13px; color: var(--color-neutral-700); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin: 0; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: color-mix(in srgb, var(--color-surface) 88%, transparent); }
.fact dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-700); }
.fact dd { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty; }

.fund__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.fund__note { font-size: 12px; color: var(--color-neutral-700); }
.fund__caption {
  position: relative; z-index: 1; grid-area: 1 / 1; align-self: end; justify-self: end;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 2 * var(--pad-x)); margin: 0 var(--pad-x) 16px; padding: 10px 14px;
  font-size: 12px; color: var(--color-bg); background: color-mix(in srgb, var(--color-text) 72%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fund__disclaimer { grid-area: 3 / 1; margin: -24px 0 0; padding: 0 var(--pad-x) 40px; font-size: 12px; color: var(--color-neutral-600); }

/* Amergent II — "en estructuración" */
.soon {
  --soon-scale: 0.38;
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--pad-x); background: var(--color-text); color: var(--color-bg); overflow: hidden;
}
.soon__glow {
  position: absolute; left: 50%; top: 54%; width: 720px; height: 720px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--color-bg) 7%, transparent) 0%, transparent 60%);
}
.soon__head { position: relative; display: flex; flex-direction: column; gap: 14px; }
.soon__kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-neutral-400); }
.soon__status { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.soon__dot { display: block; width: 6px; height: 6px; background: var(--color-bg); animation: amgSoonPulse 2.8s ease-in-out infinite; }
.soon__stage { position: absolute; left: 50%; top: 69%; width: 0; height: 0; perspective: 1600px; transform: scale(var(--soon-scale)); }
.soon__stack {
  position: absolute; left: -120px; top: -120px; width: 240px; height: 240px;
  transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg);
}
.soon__plate { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--z)); }
.soon__plate > div {
  position: absolute; inset: 0;
  border: 1px solid color-mix(in srgb, var(--color-bg) 28%, transparent);
  background: color-mix(in srgb, var(--color-bg) var(--mix), var(--color-text));
  animation: amgPlate 16s cubic-bezier(.22,1,.36,1) var(--d) infinite both;
}
.soon__plate--top > div { border-color: color-mix(in srgb, var(--color-bg) 55%, transparent); }
.soon__foot {
  position: relative; display: flex; justify-content: space-between; gap: 24px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: var(--color-neutral-400);
}

@keyframes amgSoonPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes amgPlate {
  0% { opacity: 0; transform: translateZ(90px); }
  7% { opacity: 1; transform: translateZ(0); }
  80% { opacity: 1; transform: translateZ(0); }
  90%, 100% { opacity: 0; transform: translateZ(0); }
}

@media (min-width: 480px) {
  .soon { --soon-scale: 0.6; }
  .soon__stage { top: 66%; }
}

@media (min-width: 768px) {
  .fund__media { aspect-ratio: 16 / 10; }
  .soon { --soon-scale: 0.8; padding: 36px var(--pad-x); }
  .facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .fact { padding: 16px 18px; }
}

@media (min-width: 1024px) {
  .fund { display: block; min-height: 760px; }
  .fund__media { position: absolute; top: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .fund__media--right { right: 0; }
  .fund__media--left { left: 0; }
  .fund__body { gap: 28px; width: 50%; max-width: 620px; padding: 96px 40px 104px var(--pad-x); }
  .fund__body--right { margin-left: auto; padding: 96px var(--pad-x) 104px 40px; }
  .fund__caption { position: absolute; right: var(--pad-x); bottom: 28px; max-width: none; margin: 0; }
  .fund__disclaimer { position: absolute; right: var(--pad-x); bottom: 28px; margin: 0; padding: 0; }
  .soon { padding: 44px 48px; }
  .soon__stage { top: 58%; transform: none; }
  .fact { padding: 14px; }
  .fact dd { font-size: 17px; }
}

@media (min-width: 1280px) {
  .fund__media { width: 54%; }
  .fund__body { width: 46%; padding: 112px 48px 120px; }
  .fact { padding: 16px 18px; }
  .fact dt { white-space: nowrap; }
  .fact dd { font-size: 19px; }
}

/* Large monitors: the text column keeps its measure and lines up with the content container. */
@media (min-width: 1920px) {
  .fund__body { margin-left: calc(var(--pad-x) - 48px); }
  .fund__body--right { margin-left: auto; margin-right: calc(var(--pad-x) - 48px); }
}

/* ── 04 · Cómo invertir ─────────────────────────────────────────────── */

/* Phones and tablets: the four steps as cards, every one fully readable (no hover to rely on);
   the selected one is dark. From lg: the original expanding panels. */
.steps { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.step {
  --io: cubic-bezier(.65,0,.35,1);
  position: relative; min-width: 0; overflow: hidden; cursor: pointer;
  background: var(--color-surface); color: var(--color-text);
  transition: flex-grow 2000ms var(--io), background-color 1600ms var(--io), color 1600ms var(--io);
}
.step.is-active { background: var(--color-text); color: var(--color-bg); }
.step:focus-visible { outline-offset: -2px; }

.step__icon {
  position: absolute; right: 16px; top: 16px; width: 150px; height: 150px;
  color: var(--color-neutral-400); transform: scale(0.5); transform-origin: top right; pointer-events: none;
  transition: color 1600ms var(--io), transform 2000ms var(--io), right 2000ms var(--io), top 2000ms var(--io), margin-top 2000ms var(--io);
}
.step.is-active .step__icon { color: var(--color-neutral-500); }

.step__idle { display: none; }
.step__num { font-size: 15px; font-variant-numeric: tabular-nums; opacity: 0.7; }
.step__idle-title { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty; }

.step__active { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: 24px 24px 28px; }
.step__kicker { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-400); }
.step__copy { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.step__title { font-size: var(--fs-h3); line-height: 1.05; letter-spacing: -0.03em; }
.step__desc { font-size: 17px; line-height: 1.6; color: var(--color-neutral-300); text-wrap: pretty; }
.step__fact {
  align-self: flex-start; margin-top: 4px; padding: 10px 14px; font-size: 13px;
  background: color-mix(in srgb, var(--color-bg) 8%, transparent);
}
.step__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  opacity: 0; background: var(--color-neutral-800); transition: opacity 600ms;
}
.step.is-active .step__bar { opacity: 1; }
.step__bar > span { display: block; height: 100%; width: 0; background: var(--color-bg); }
.step.is-active .step__bar > span { width: 100%; }

/* Light (unselected) cards on phones and tablets need darker secondary text. */
@media (max-width: 1023.98px) {
  .step:not(.is-active) .step__kicker { color: var(--color-neutral-700); }
  .step:not(.is-active) .step__desc { color: var(--color-neutral-800); }
  .step:not(.is-active) .step__fact { background: var(--color-bg); }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  /* The open panel's text keeps a fixed width while it expands; .steps is the size reference. */
  .steps { display: flex; height: 480px; container-type: inline-size; }
  .step { flex: 1 1 0; }
  .step.is-active { flex-grow: 3.2; }
  .step__icon { right: 28px; top: 50%; margin-top: -100px; transform: scale(1); }
  .step.is-active .step__icon { right: 40px; top: 36px; margin-top: 0; transform: scale(1.3); }
  .step__idle {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
    padding: 36px 28px 40px; pointer-events: none; transition: opacity 1100ms var(--io);
  }
  .step.is-active .step__idle { opacity: 0; }
  .step__active {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(640px, (100cqw - 36px) * 3.2 / 6.2);
    gap: 0; padding: 36px 40px 40px;
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity 1300ms var(--io), transform 1500ms var(--io);
  }
  .step.is-active .step__active { opacity: 1; transform: none; transition-delay: 700ms; }
  .step__copy { gap: 18px; }
  .step__fact { margin-top: 8px; }
}

/* Step illustrations: plain boxes and rules, animated from home.js */
.mg { position: relative; width: 150px; height: 150px; }
.mg span { position: absolute; display: block; }
.mg .mg__box { border: 1px solid currentColor; }
.mg .mg__fill { background: currentColor; }
.mg .mg__grow { transform-origin: left; }
.mg .mg__ok {
  right: 22px; bottom: 44px; width: 20px; height: 20px; background: currentColor;
  display: flex; align-items: center; justify-content: center;
}
.mg__ok .ic { stroke: var(--color-text); stroke-width: 3; }
.mg--grid { display: grid; grid-template-columns: repeat(5, 19px); gap: 6px; padding: 14px; align-content: start; }
.mg--grid span { position: static; width: 19px; height: 19px; background: currentColor; opacity: 0.15; }

.howto-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; font-size: var(--fs-13); }
.howto-foot__start { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.howto-foot__end { color: var(--color-neutral-700); }
.live-note { display: flex; align-items: center; gap: 10px; }
.live-note__dot { display: block; flex: none; width: 6px; height: 6px; background: var(--color-text); }

@media (min-width: 1024px) {
  .howto-foot { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; }
  .howto-foot__start { flex-wrap: nowrap; }
}

/* ── 05 · Publicaciones ─────────────────────────────────────────────── */

.posts { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.post {
  display: flex; flex-direction: column; gap: 20px; padding: 24px;
  text-decoration: none; color: var(--color-text); background: var(--color-surface); transition: background 400ms;
}
.post__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post__tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; background: var(--color-bg); }
.post__date { display: flex; align-items: baseline; gap: 12px; }
.post__day { font-size: clamp(44px, 1.127vw + 39.78px, 56px); line-height: 0.9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.post__month { font-size: var(--fs-14); color: var(--color-neutral-700); }
.post__body { display: flex; flex-direction: column; gap: 10px; }
.post__title { font-size: clamp(20px, 0.188vw + 19.3px, 22px); line-height: 1.2; letter-spacing: -0.015em; }
.post__text { font-size: var(--fs-14); line-height: 1.55; color: var(--color-neutral-700); text-wrap: pretty; }
.post__cta { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: var(--fs-14); font-weight: 600; }

.post--featured { color: var(--color-bg); background: var(--color-text); }
.post--featured .post__tag { color: var(--color-text); }
.post__latest { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-neutral-300); }
.post__latest-dot { display: block; width: 6px; height: 6px; background: var(--color-bg); }
.post--featured .post__day { font-size: clamp(56px, 1.502vw + 50.38px, 72px); }
.post--featured .post__month { color: var(--color-neutral-400); }
.post--featured .post__title { font-size: clamp(24px, 0.563vw + 21.9px, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.post--featured .post__text { max-width: 460px; color: var(--color-neutral-300); }

@media (min-width: 768px) {
  .posts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .post { min-height: 300px; }
  .post--featured { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .posts { grid-template-columns: minmax(0,1.6fr) repeat(2, minmax(0,1fr)); }
  .post { gap: 24px; min-height: 340px; padding: 32px; }
  .post--featured { grid-column: auto; }
}

@media (hover: hover) {
  .post:hover { background: var(--color-neutral-300); color: var(--color-text); }
  .post--featured:hover { background: var(--color-neutral-800); color: var(--color-bg); }
}

/* ── 06 · Invierte con nosotros ─────────────────────────────────────── */

/* Below xl the band's content flows over the photo (title, copy, then the quote card).
   From xl: the original full-height band with content pinned to the top and bottom. */
.section--invest { background: var(--color-bg); color: var(--color-text); padding: 0 0 clamp(72px, 5.258vw + 52.29px, 128px); }
.invest {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
  padding: 32px var(--pad-x) 40px; overflow: hidden;
  background: var(--color-text); color: var(--color-bg);
}
.invest__img { position: absolute; inset: 0; --focus: 50% 50%; }
.invest__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg,
    color-mix(in srgb, var(--color-text) 92%, transparent) 0%,
    color-mix(in srgb, var(--color-text) 68%, transparent) 45%,
    color-mix(in srgb, var(--color-text) 42%, transparent) 100%);
}
.invest__top {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.invest__reg { color: var(--color-neutral-300); }
.invest__bottom { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; align-items: end; }
.invest__copy { display: flex; flex-direction: column; gap: 28px; }
.invest__title { font-size: clamp(48px, 12.5vw, 96px); font-weight: 400; line-height: 0.96; letter-spacing: -0.045em; margin: 0 0 0 -0.05em; }
.invest__title > span { display: block; }
.invest__muted { color: var(--color-neutral-400); }
.invest__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.invest__row p { font-size: 18px; line-height: 1.55; margin: 0; max-width: 440px; color: var(--color-neutral-300); text-wrap: pretty; }

.quote {
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--color-text) 55%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--color-bg) 22%, transparent);
}
.quote__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px 0;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-300);
}
.quote__live { display: flex; align-items: center; gap: 8px; letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--color-bg); }
.quote__dot { display: block; width: 6px; height: 6px; background: var(--color-bg); }
.quote__price { padding: 14px 18px 6px; font-size: clamp(36px, 1.127vw + 31.78px, 48px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.quote__date { padding: 0 18px 20px; font-size: 13px; color: var(--color-neutral-300); }
.quote__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid color-mix(in srgb, var(--color-bg) 22%, transparent);
}
.quote__stats > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; }
.quote__stats > div:first-child { padding: 14px 18px; }
.quote__stats > div + div { border-left: 1px solid color-mix(in srgb, var(--color-bg) 22%, transparent); }
.quote__v { font-size: clamp(16px, 0.188vw + 15.3px, 18px); white-space: nowrap; }
.quote__k { font-size: 11px; color: var(--color-neutral-300); }

@media (min-width: 480px) {
  .quote__head { padding: 20px 24px 0; }
  .quote__price { padding: 14px 24px 6px; }
  .quote__date { padding: 0 24px 22px; }
  .quote__stats > div { padding: 16px 20px; }
  .quote__stats > div:first-child { padding: 16px 24px; }
}

@media (min-width: 768px) {
  .invest { min-height: 720px; padding-top: 48px; padding-bottom: 56px; }
  .quote { max-width: 440px; }
}

@media (min-width: 1280px) {
  .invest { display: block; height: 92vh; min-height: 720px; max-height: 960px; padding: 0; }
  .invest__top { position: absolute; left: var(--pad-x); right: var(--pad-x); top: 56px; flex-wrap: nowrap; }
  .invest__bottom {
    position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 64px;
    grid-template-columns: minmax(0,1fr) 400px; gap: 64px;
  }
  .invest__copy { gap: 36px; }
  .invest__title { font-size: clamp(80px, 8vw, 128px); }
  .invest__row { flex-wrap: nowrap; gap: 40px; }
  .quote { max-width: none; }
}

.audiences { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; padding: 16px var(--pad-x) 0; }
.audience {
  display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3.005vw + 12.73px, 56px);
  background: var(--color-surface);
}
.audience--dark { background: var(--color-text); color: var(--color-bg); }
.audience__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-800);
}
.audience--dark .audience__top { color: var(--color-neutral-300); }
.audience__title { font-size: clamp(32px, 1.502vw + 26.38px, 48px); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.audience__title .muted { display: block; }
.audience--dark .audience__title .muted { color: var(--color-neutral-400); }
.audience__text { font-size: 16px; line-height: 1.6; margin: 0; max-width: 460px; color: var(--color-neutral-800); text-wrap: pretty; }
.audience--dark .audience__text { max-width: 480px; color: var(--color-neutral-300); }

/* Fund rows: on the narrowest phones the status pill drops under the fund's name. */
.fund-list { display: flex; flex-direction: column; margin-top: auto; }
.fund-row {
  display: grid; grid-template-columns: minmax(0,1fr) 44px; grid-template-areas: "name go" "pill go";
  gap: 10px 16px; align-items: center; padding: 22px 0;
  border-top: 1px solid var(--color-neutral-400); text-decoration: none; color: var(--color-text);
}
.fund-row__name { grid-area: name; display: flex; flex-direction: column; gap: 4px; }
.fund-row__name > span:first-child { font-size: clamp(22px, 0.376vw + 20.59px, 26px); line-height: 1.1; letter-spacing: -0.02em; }
.fund-row__name > span:last-child { font-size: var(--fs-13); color: var(--color-neutral-700); }
.fund-row > .pill { grid-area: pill; justify-self: start; }
.fund-row__go { grid-area: go; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--color-bg); }

.biz-steps { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); border-top: 1px solid var(--color-neutral-700); }
.biz-steps li { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
.biz-steps li + li { border-top: 1px solid var(--color-neutral-700); }
.biz-steps li > span:first-child { font-size: 13px; color: var(--color-neutral-400); }
.biz-steps li > span:last-child { font-size: 16px; }

.audience__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.confidential { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--color-neutral-400); }

@media (min-width: 480px) {
  .fund-row { grid-template-columns: minmax(0,1fr) auto 40px; grid-template-areas: "name pill go"; gap: 24px; }
  .fund-row__go { width: 40px; height: 40px; }
  .biz-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .biz-steps li { padding: 22px 20px; border-left: 1px solid var(--color-neutral-700); }
  .biz-steps li + li { border-top: 0; }
  .biz-steps li:first-child { padding: 22px 20px 22px 0; border-left: 0; }
}

@media (min-width: 1024px) {
  .audiences { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .audience { gap: 32px; min-height: 520px; }
}

@media (hover: hover) {
  .fund-row:hover { color: var(--color-neutral-700); }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; overscroll-behavior-x: contain; }
  .soon__dot, .soon__plate > div { animation: none; }
  .step, .step__icon, .step__idle, .step__active, .step__bar,
  .stat, .partner, .post, .funnel__segs span, .hero__more-box { transition: none; }
}
