/* ============================================================
   Four Square Partners — Styles v2 · Warm Editorial
   Consume css/tokens.css · mobile-first · WCAG 2.2 AA
   Arco calidez→propósito. Light-ground dominante.
   ============================================================ */

/* ---------- Fonts (self-hosted, swap) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

/* ---------- Theme surfaces ---------- */
[data-theme] { background: var(--bg); color: var(--text); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.section { padding-block: var(--section-y); }
/* Fondo alterno para secciones consecutivas del mismo tema — marca el salto de subsección.
   --c-line (#E8E3DE) es el "claro pero no tan claro" de la paleta.
   --c-warm-deep-elev es el equivalente oscuro (mismo tono que usan las cards elevadas). */
.section--alt[data-theme="light"] { background: var(--c-line); }
.section--alt[data-theme="dark"] { background: var(--c-warm-deep-elev); }
.measure-center { max-width: 60ch; margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.hero__title { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -0.02em; }
.section__title { font-size: var(--fs-h2); }

p { max-width: var(--measure); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); }

.eyebrow {
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.eyebrow--accent { color: var(--accent); }
[data-theme="light"] .eyebrow--accent { color: var(--c-slate); }

/* Highlight: violeta en v2 (era cian en v1) — decorativo, no texto de cuerpo */
.hl { color: var(--c-violet); }

.visually-hidden, .skip-link:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Focus ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-sm);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: var(--sp-2); left: var(--sp-2);
  z-index: 200;
  background: var(--c-slate);
  color: #FFFFFF;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Reading progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0;
  height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.progress__bar {
  display: block; height: 100%; width: 100%;
  background: var(--c-violet);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Buttons ---------- */
.btn {
  --_pad-y: .72rem;
  display: inline-flex; align-items: center; gap: .5ch;
  min-height: 44px;
  padding: var(--_pad-y) 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-ui); font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--accent {
  background: var(--action);
  color: var(--action-text);
  border-color: var(--action);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost {
  background: var(--c-cream);
  color: var(--c-warm-deep);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--c-line); transform: translateY(-2px); }
.btn--lg { font-size: 1.05rem; padding: .95rem 1.6rem; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

.link-strong {
  color: var(--accent);
  font-weight: 600;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 3px;
}
[data-theme="light"] .link-strong { color: var(--c-slate); text-decoration-color: color-mix(in srgb, var(--c-slate) 45%, transparent); }
.link-strong:hover { text-decoration-color: currentColor; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--c-warm-deep) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 var(--c-line-dark);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); width: 100%;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; }
.nav__menu {
  display: flex; align-items: center; gap: clamp(var(--sp-3), 2vw, var(--sp-8));
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a:not(.btn) {
  color: var(--c-offwhite);
  text-decoration: none;
  font-size: var(--fs-ui); font-weight: 500;
  padding-block: .4rem;
  background-image: linear-gradient(var(--c-violet), var(--c-violet));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size var(--dur) var(--ease);
}
.nav__menu a:not(.btn):hover { background-size: 100% 2px; }
.nav__cta { color: #FFFFFF !important; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--c-line-dark);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: var(--c-offwhite);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav__toggle-bars::after  { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: color-mix(in srgb, var(--c-warm-deep) 97%, transparent);
    backdrop-filter: blur(10px);
    padding: var(--sp-2) clamp(1.25rem, 5vw, 2.5rem) var(--sp-6);
    border-top: 1px solid var(--c-line-dark);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu li { border-bottom: 1px solid var(--c-line-dark); }
  .nav__menu a:not(.btn) { display: block; padding: var(--sp-4) 0; background-size: 0 0; }
  .nav__menu li:last-child { border-bottom: 0; padding-top: var(--sp-4); }
  .nav__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO — full-bleed, fotografía editorial como fondo
   ============================================================ */
.hero {
  position: relative;
  min-height: 92svh;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--c-warm-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--c-warm-deep);
}

/* Scrim: usa rgba de --c-warm-deep (#0D2244 = 13,34,68) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(13, 34, 68, 0.95) 0%,
    rgba(13, 34, 68, 0.86) 46%,
    rgba(13, 34, 68, 0.50) 66%,
    transparent 86%
  );
}

@media (max-width: 700px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(13, 34, 68, 0.92) 0%,
      rgba(13, 34, 68, 0.80) 60%,
      rgba(13, 34, 68, 0.60) 100%
    );
  }
  .hero__bg img { object-position: center center; }
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  animation: heroIn 600ms var(--ease) 150ms both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__copy { animation: none; }
}

.hero__title { margin-bottom: var(--sp-6); max-width: 18ch; }
.hero__subhead { max-width: 52ch; margin-bottom: var(--sp-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

@media (min-width: 880px) {
  .hero__copy { max-width: min(60%, 820px); padding-top: clamp(2.5rem, 4vw, 4rem); }
  .hero__title { max-width: none; }
  .hero__subhead { max-width: 46ch; }
}

/* ============================================================
   SPLIT SECTIONS (owners / authorities)
   ============================================================ */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--reverse .split__text { order: 2; }
  .split--reverse .split__media { order: 1; }
}
.split__text > * + * { margin-top: var(--sp-4); }
.split__text .section__title { margin-top: var(--sp-2); }

.split__media img {
  width: 100%; height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--c-warm-deep);
}
.split--soft-media .split__media img {
  border: 1px solid var(--c-line);
  box-shadow: none;
}

/* ---------- Tarjetas didácticas ---------- */
.cards {
  display: grid; gap: var(--sp-4);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  padding: var(--sp-6);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
[data-theme="light"] .card { box-shadow: var(--shadow-soft); }
.card__icon { display: inline-flex; color: var(--c-violet); margin-bottom: var(--sp-3); }
.card__icon svg { width: 26px; height: 26px; }
.card__label { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: var(--sp-2); }
.card__desc { color: var(--text-muted); font-size: .95rem; max-width: none; }

/* ---------- Sub-lead ancla (defensibilidad: SIEMPRE visible) ---------- */
.anchor-lead {
  margin-top: clamp(2rem, 4vw, 2.5rem);
  max-width: var(--measure);
  font-size: var(--fs-lead);
  color: var(--text-muted);
  border-left: 3px solid var(--c-slate);
  padding-left: var(--sp-4);
}
.anchor-lead strong { color: var(--text); font-family: var(--font-display); font-weight: 600; }

/* ---------- "The detail" ---------- */
.detail { margin-top: var(--sp-8); border-top: 1px solid var(--line); max-width: var(--measure); }
.detail > summary {
  display: inline-flex; align-items: center; gap: .6ch;
  padding: var(--sp-4) 0;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-ui);
  color: var(--accent); cursor: pointer; list-style: none;
}
.detail > summary::-webkit-details-marker { display: none; }
.detail > summary::after {
  content: ""; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.detail[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.detail__body { padding-bottom: var(--sp-2); }
.detail__body > * + * { margin-top: var(--sp-4); }
.detail__body p { color: var(--text-muted); }

/* ---------- Diagrama anotado (Authorities) ---------- */
.diagram { position: relative; }
.diagram__callouts { position: absolute; inset: 0; pointer-events: none; margin: 0; }
.callout {
  position: absolute;
  display: inline-flex; align-items: center; gap: .5ch;
  max-width: 58%;
  padding: .42rem .7rem;
  background: color-mix(in srgb, var(--c-warm-deep-elev) 88%, transparent);
  border: 1px solid var(--c-violet);
  border-radius: var(--radius-pill);
  color: var(--c-offwhite);
  font-size: .78rem; font-weight: 600; line-height: 1.25;
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-soft);
}
.callout__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-violet);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-violet) 24%, transparent);
}
.callout--1 { top: 9%; left: 5%; }
.callout--2 { top: 44%; right: 5%; }
.callout--3 { bottom: 9%; left: 9%; }
@media (max-width: 879px) {
  .diagram__callouts {
    position: static; inset: auto;
    display: flex; flex-wrap: wrap; gap: var(--sp-2);
    margin-top: var(--sp-4);
  }
  .callout { position: static; inset: auto; max-width: none; }
}

.cta-line { margin-top: var(--sp-8); color: var(--text-muted); max-width: var(--measure); }
.cta-line .btn { margin-top: var(--sp-3); }
.cta-line__or { margin-inline: .6ch; color: var(--text-muted); }

/* ============================================================
   OWNERS — módulo educativo (coste de la vacancia)
   ============================================================ */
.owners-edu__lead { margin-top: clamp(2rem, 5vw, 3rem); margin-bottom: var(--sp-2); }

/* ---- Assessment form — isla oscura embebida (reusa primitivos .fsq-submit) ---- */
.assess-island {
  max-width: 760px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}
.assess-island__inner { padding: clamp(1.75rem, 4vw, 2.75rem); }
.assess-island__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2;
  color: var(--c-offwhite); margin: 10px 0 12px;
}
.assess-island__lead {
  font-size: 15px; line-height: 1.7; max-width: 60ch;
  color: rgba(245, 247, 250, 0.64);
}
.assess-island .full-label, #submit .full-label {
  text-transform: none; letter-spacing: 0; font-size: 13px;
  font-weight: 600; line-height: 1.5; color: rgba(245, 247, 250, 0.64);
}
.assess-island .field:has(:required) > label::after { content: " *"; color: var(--accent); }
.assess-checks { display: grid; gap: 10px; margin-top: 10px; }
.assess-checks .checkbox-field span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.assess-other-input { margin-top: 4px; margin-left: 30px; width: calc(100% - 30px); max-width: 360px; }

/* ---- Submit a building — sección owner embebida en owners.html (#submit) ---- */
.fsq-submit--inline .fsq-submit__inner { padding-top: clamp(3rem, 7vw, 5rem); }
#submit .field:has(:required) > label::after { content: " *"; color: var(--accent); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* How it works + Submit — split editorial en 2 columnas:
   izquierda = proceso (claro) · derecha = CTA en isla oscura sobre imagen */
.how__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 920px) {
  .how__grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}

/* Columna izquierda: el proceso */
.how__main .lead { margin-top: var(--sp-4); max-width: 52ch; }
.how__steps {
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.howstep { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.howstep__num {
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: 1.6rem; color: var(--c-violet); min-width: 2.4rem;
}
.howstep__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: var(--sp-1); }
.howstep p { color: var(--text-muted); font-size: .95rem; max-width: 46ch; }

/* Columna derecha: panel CTA sobre la imagen (isla oscura) */
.how__cta {
  position: relative; isolation: isolate; display: flex;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); min-height: 18rem;
}
.how__cta-bg { position: absolute; inset: 0; z-index: 0; }
.how__cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.how__cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(13, 34, 68, .80), rgba(17, 45, 88, .92));
}
.how__cta-inner {
  position: relative; z-index: 2; align-self: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.how__cta-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: var(--lh-heading);
  margin: var(--sp-2) 0 var(--sp-4);
}
.how__cta p { color: var(--text-muted); max-width: 42ch; }
.how__cta .cta-line { margin-top: var(--sp-5); }
.how__cta .cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
/* El panel es isla oscura dentro de una sección clara: restaura el eyebrow violeta
   (si no, [data-theme="light"] .eyebrow--accent lo pinta de navy y se pierde). */
.how__cta .eyebrow--accent { color: var(--c-violet); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__inner { max-width: 820px; }
.faq__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq__list { display: grid; gap: var(--sp-2); }
/* Legal (about.html): el título va en .reveal (sin margin de .faq__head) → separar del 1er colapsable */
#legal .faq__list { margin-top: clamp(2rem, 5vw, 3rem); }
.qa {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  min-height: 44px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none;
  width: 13px; height: 13px;
  border-right: 2px solid var(--c-slate);
  border-bottom: 2px solid var(--c-slate);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
[data-theme="light"] .qa[open] summary { color: var(--c-slate); }
[data-theme="light"] .qa summary:hover { color: var(--c-slate); }
.qa__body { padding: 0 var(--sp-6) var(--sp-6); }
.qa__body p { color: var(--text-muted); max-width: 68ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.contact__inner .lead { margin-top: var(--sp-4); }
.contact__actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: center; margin-top: var(--sp-8);
}
.contact__emails {
  display: flex; flex-wrap: wrap; gap: var(--sp-8);
  justify-content: center; margin-top: var(--sp-12);
}
.contact__emails li { display: grid; gap: .25rem; }
.contact__emails span { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-warm-deep); color: var(--c-offwhite); padding-block: clamp(3rem, 7vw, 5rem) var(--sp-8); border-top: 1px solid var(--c-line-dark); }
.site-footer__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 880px) { .site-footer__inner { grid-template-columns: 1.2fr 2fr; } }
.site-footer__logo { height: 40px; width: auto; margin-bottom: var(--sp-4); }
.site-footer__tagline { font-family: var(--font-display); font-style: italic; color: var(--text-muted); max-width: 42ch; }
.site-footer__cols { display: grid; gap: var(--sp-8); }
@media (min-width: 560px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__h { font-family: var(--font-body); font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--c-offwhite); margin-bottom: var(--sp-3); }
.site-footer__col ul { display: grid; gap: var(--sp-1); }
.site-footer__col a {
  display: inline-block;
  color: var(--c-offwhite);
  opacity: .82;
  padding-block: .4rem;
  overflow-wrap: break-word;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--c-offwhite) 26%, transparent);
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.site-footer__col a:hover { opacity: 1; color: var(--c-violet); text-decoration-color: var(--c-violet); }
.site-footer__col li { font-size: .95rem; color: var(--text-muted); }
.pending { font-style: italic; opacity: .7; }

.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line-dark);
  font-size: var(--fs-caption); color: var(--text-muted);
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); align-items: center; }
.site-footer__legal a {
  display: inline-block;
  padding-block: .35rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--text-muted) 30%, transparent);
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.site-footer__legal a:hover { color: var(--c-violet); text-decoration-color: var(--c-violet); }
.site-footer__legal .soon { color: var(--text-muted); opacity: .85; }
.site-footer__legal .soon .soon__tag { font-size: .85em; opacity: .7; font-style: italic; }

/* ============================================================
   HOME — AUDIENCE TEASERS
   ============================================================ */
.audience-teaser { max-width: 700px; }
.audience-teaser > * + * { margin-top: var(--sp-4); }
.audience-teaser .section__title { margin-top: var(--sp-2); }

.teaser-bullets {
  display: grid; gap: var(--sp-2);
  padding: 0; list-style: none;
  margin-top: var(--sp-5);
}
.teaser-bullets li {
  position: relative; padding-left: 1.4rem;
  color: var(--text-muted); font-size: var(--fs-ui); max-width: none;
}
.teaser-bullets li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-violet);
}
.audience-teaser .btn { margin-top: var(--sp-6); }

/* ============================================================
   INNER PAGES — shared hero
   ============================================================ */
.inner-hero {
  position: relative;
  min-height: 52svh; min-height: 52vh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background: var(--c-warm-deep);
}
.inner-hero__bg { position: absolute; inset: 0; z-index: 0; }
.inner-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background: var(--c-warm-deep);
}
.inner-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(13,34,68,.96) 0%,
    rgba(13,34,68,.88) 50%,
    rgba(13,34,68,.55) 72%,
    transparent 90%
  );
}
@media (max-width: 700px) {
  .inner-hero::before {
    background: linear-gradient(180deg, rgba(13,34,68,.94) 0%, rgba(13,34,68,.78) 100%);
  }
}
.inner-hero__copy {
  position: relative; z-index: 2;
  max-width: 680px;
  animation: heroIn 600ms var(--ease) 100ms both;
}
@media (prefers-reduced-motion: reduce) { .inner-hero__copy { animation: none; } }
.inner-hero__copy h1 { font-size: var(--fs-hero); margin-bottom: var(--sp-4); }
.inner-hero__copy .lead { margin-bottom: var(--sp-8); }
.inner-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ============================================================
   ACCOMMODATION MIX (HMO singles + self-contained families)
   ============================================================ */
.accomm-split {
  display: grid; gap: var(--sp-4);
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 680px) { .accomm-split { grid-template-columns: 1fr 1fr; } }

.accomm-type {
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
[data-theme="light"] .accomm-type { box-shadow: var(--shadow-soft); }

.accomm-type__eyebrow {
  font-size: var(--fs-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-violet-text); margin-bottom: var(--sp-3);
}
.accomm-type__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; margin-bottom: var(--sp-3);
}
.accomm-type p { color: var(--text-muted); font-size: .95rem; max-width: none; }
.accomm-type ul { margin-top: var(--sp-3); display: grid; gap: var(--sp-2); padding: 0; list-style: none; }
.accomm-type li {
  position: relative; padding-left: 1.3rem;
  color: var(--text-muted); font-size: .92rem; max-width: none;
}
.accomm-type li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-violet);
}

/* ============================================================
   LEGAL / PLANNING GRID
   ============================================================ */
.legal-grid {
  display: grid; gap: var(--sp-4);
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 620px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: repeat(3, 1fr); } }

.legal-item {
  padding: var(--sp-5);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
[data-theme="light"] .legal-item { box-shadow: var(--shadow-soft); }

.legal-item__tag {
  font-size: var(--fs-caption); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-violet-text); margin-bottom: var(--sp-2);
}
.legal-item__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; margin-bottom: var(--sp-2);
}
.legal-item p { color: var(--text-muted); font-size: .95rem; max-width: none; }

/* ============================================================
   INNER PAGE — intro block → component spacing
   Fires when a standalone reveal block precedes a layout component
   in the same container (inner pages pattern).
   ============================================================ */
.container > .reveal + .split,
.container > .reveal + .accomm-split,
.container > .reveal + .legal-grid {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

/* ============================================================
   IN-PAGE SECTION RAIL (owners.html) — sticky local nav + scrollspy
   ============================================================ */
/* Cuando existe el rail, los anclajes deben librar header + rail (scoped) */
html:has(.section-rail) {
  scroll-padding-top: calc(var(--header-h) + var(--rail-h) + 12px);
}
.section-rail {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: color-mix(in srgb, var(--c-cream) 96%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.section-rail__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: var(--rail-h);
}
.section-rail__list {
  display: flex; align-items: center;
  gap: clamp(var(--sp-3), 2vw, var(--sp-8));
  list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.section-rail__list::-webkit-scrollbar { display: none; }
.section-rail__list a {
  display: block; white-space: nowrap; scroll-snap-align: start;
  padding: .65rem 0;
  color: var(--c-slate-warm);
  text-decoration: none;
  font-size: var(--fs-ui); font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section-rail__list a:hover { color: var(--c-ink); }
.section-rail__list a.is-active {
  color: var(--c-violet-text);
  border-bottom-color: var(--c-violet);
}

/* ============================================================
   AUTHORITY CAROUSEL (owners.html) — mobile-first
   ============================================================ */
.carousel-section { padding-block: 0; }
.carousel-section .deck-intro { padding: clamp(2.5rem, 6vw, 4rem) 0 var(--sp-6); }

/* — Container — */
.carousel { position: relative; overflow: hidden; background: var(--c-offwhite); padding-block: var(--sp-6); }
.carousel__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel__slide { min-width: 100%; box-sizing: border-box; padding: 0 clamp(0.75rem, 3vw, 2.5rem); background: transparent; color: var(--c-offwhite); }

.slide__inner {
  background: var(--c-warm-deep);
  border-radius: clamp(0.5rem, 2vw, 1rem);
  box-shadow: 0 8px 32px rgba(13,34,68,.2);
  padding: clamp(1.75rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: none; margin: 0;
}

/* — Texto base — */
.slide__title { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 2.2rem); font-weight: 600; margin-bottom: var(--sp-2); line-height: 1.2; }
.slide__sub   { color: rgba(255,255,255,.65); margin-bottom: var(--sp-4); }
.slide__body  { max-width: 64ch; margin-bottom: var(--sp-6); line-height: 1.75; font-size: clamp(.9rem, 2.5vw, 1rem); }
.slide__note  { font-size: var(--fs-caption); color: rgba(255,255,255,.55); font-style: italic; margin-top: var(--sp-3); }

/* — Slide 1: stats (2 cols en móvil es correcto — números cortos) — */
.slide__stats { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-4); margin-top: var(--sp-5); }
.stat__num    { display: block; font-family: var(--font-display); font-size: clamp(1.8rem,6vw,3.2rem); font-weight: 600; color: var(--c-violet); line-height: 1; }
.stat__label  { display: block; font-weight: 700; font-size: clamp(.85rem,2vw,1rem); margin-block: var(--sp-1); }
.stat__note   { font-size: var(--fs-caption); color: rgba(255,255,255,.55); }

/* — Slide 2: tabla → tarjetas apiladas en móvil — */
.slide__table-wrap { margin-bottom: var(--sp-4); }
.slide__table { width: 100%; border-collapse: collapse; font-size: .88rem; }

/* Móvil: cada fila = tarjeta, encabezados ocultos, data-label como etiqueta */
.slide__table thead { display: none; }
.slide__table tbody tr {
  display: block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-3);
  padding: var(--sp-3);
}
.slide__table tbody td {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .86rem;
}
.slide__table tbody td:last-child { border-bottom: none; }
.slide__table tbody td::before {
  content: attr(data-label);
  font-weight: 600; font-size: .8rem;
  color: rgba(255,255,255,.6);
  flex-shrink: 0; margin-right: var(--sp-3);
}
td.slide__total { color: var(--c-violet); font-weight: 700; }

/* Desktop: tabla normal */
@media (min-width: 640px) {
  .slide__table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
  .slide__table thead { display: table-header-group; }
  .slide__table th {
    display: table-cell; padding: .75rem 1rem; text-align: left;
    font-weight: 700; color: var(--c-violet);
    border-bottom: 2px solid rgba(255,255,255,.18); white-space: nowrap;
  }
  .slide__table tbody tr {
    display: table-row; background: transparent;
    border: none; border-radius: 0; margin-bottom: 0; padding: 0;
  }
  .slide__table tbody tr:hover { background: rgba(255,255,255,.04); }
  .slide__table tbody td {
    display: table-cell; justify-content: unset;
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    white-space: nowrap; font-size: .88rem;
  }
  .slide__table tbody td::before { display: none; }
}

/* — Banner — */
.slide__banner {
  background: rgba(176,96,204,.18); border: 1px solid rgba(176,96,204,.4);
  border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-4);
  font-size: .88rem; line-height: 1.6;
}
.slide__banner strong { color: var(--c-violet); }
@media (min-width: 640px) { .slide__banner { padding: var(--sp-4) var(--sp-5); font-size: .92rem; } }

/* — Slide 3: fases (1 col móvil → 2 col desktop) — */
.slide__phases { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.slide__phase { border-top: 2px solid var(--c-violet); padding-top: var(--sp-3); }
.phase__num   { display: block; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.45); margin-bottom: var(--sp-2); }
.phase__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--c-violet); margin-bottom: var(--sp-2); }
.slide__phase p { font-size: .86rem; color: rgba(255,255,255,.72); line-height: 1.65; margin: 0; }

@media (min-width: 640px) {
  .slide__phases { grid-template-columns: repeat(2,1fr); gap: var(--sp-6) var(--sp-8); margin-bottom: var(--sp-6); }
  .phase__title { font-size: 1.1rem; }
  .slide__phase p { font-size: .88rem; }
}

/* — Flechas (ocultas en móvil, visibles en desktop) — */
.carousel__btn { display: none; }
@media (min-width: 640px) {
  .carousel__btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--c-offwhite); border: 1px solid rgba(13,34,68,.18);
    color: var(--c-warm-deep); cursor: pointer; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(13,34,68,.12);
  }
  .carousel__btn:hover { background: var(--c-cream); box-shadow: 0 4px 16px rgba(13,34,68,.18); }
  .carousel__btn--prev { left:  var(--sp-3); }
  .carousel__btn--next { right: var(--sp-3); }
  .carousel__btn svg   { width: 20px; height: 20px; pointer-events: none; }
}

/* — Nav bar (dots + counter, arriba del track) — */
.carousel__nav-bar {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-5);
  padding: var(--sp-4) clamp(0.75rem, 3vw, 2.5rem) var(--sp-3);
}
.carousel__dots { display: flex; align-items: center; gap: var(--sp-2); }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(13,34,68,.18); cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel__dot.is-active { background: var(--c-violet); transform: scale(1.35); }
.carousel__counter {
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .04em;
  color: rgba(13,34,68,.50); min-width: 3ch; text-align: center;
}
@media (min-width: 640px) { .carousel__dots { gap: var(--sp-3); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ABOUT PAGE (about.html) — mobile-first, tokens v2
   ============================================================ */

/* — Hero (dark, no image) — */
.about-hero {
  position: relative; overflow: hidden;
  background: var(--c-warm-deep);
  padding-block: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) clamp(3rem, 8vw, 5.5rem);
}
.about-hero__bg { position: absolute; inset: 0; z-index: 0; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--c-warm-deep); }
.about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(13,34,68,.93) 0%, rgba(13,34,68,.84) 50%, rgba(13,34,68,.52) 82%, rgba(13,34,68,.34) 100%);
}
.about-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 60% at 85% 28%, color-mix(in srgb, var(--c-violet) 22%, transparent) 0%, transparent 62%),
    radial-gradient(ellipse 35% 45% at 6% 92%, color-mix(in srgb, var(--c-violet) 10%, transparent) 0%, transparent 60%);
}
.about-hero__inner { position: relative; z-index: 2; max-width: 820px; }
@media (max-width: 700px) {
  .about-hero::before { background: linear-gradient(180deg, rgba(13,34,68,.84) 0%, rgba(13,34,68,.93) 100%); }
}
.about-hero__title {
  font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight);
  font-size: var(--fs-hero); letter-spacing: -.02em; color: var(--c-offwhite);
}
.about-hero__lead { margin-top: var(--sp-5); max-width: 60ch; }
.about-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-top: var(--sp-8); }

/* — Conviction stats band — */
.about-stats { background: var(--c-warm-deep-elev); border-block: 1px solid var(--c-line-dark); }
.about-stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6) var(--sp-8); padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.about-stat { display: flex; flex-direction: column; }
.about-stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2rem); color: var(--c-offwhite); line-height: 1; }
.about-stat__label { font-size: var(--fs-ui); color: var(--text-muted); line-height: 1.4; margin-top: .4rem; }
.about-stat__src { font-size: var(--fs-caption); color: var(--text-muted); margin-top: .25rem; }

/* — The model grid — */
.about-model {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.5rem);
  align-items: start; margin-top: clamp(2rem, 5vw, 3rem);
}
.model-col { display: grid; gap: clamp(1rem, 3vw, 1.5rem); }
.model-block {
  background: color-mix(in srgb, var(--c-offwhite) 5%, transparent);
  border: 1px solid var(--c-line-dark); border-radius: var(--radius); padding: var(--sp-6);
}
.model-block h3 {
  font-family: var(--font-body); font-size: var(--fs-caption); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-violet); margin-bottom: var(--sp-3);
}
.model-block p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.model-block p + p { margin-top: var(--sp-3); }
.model-block__note { font-size: var(--fs-caption); color: var(--text-muted); margin-top: var(--sp-4); }
.rule-dark { border: 0; border-top: 1px solid var(--c-line-dark); margin-block: var(--sp-5); }
@media (max-width: 700px) { .about-model { grid-template-columns: 1fr; } }

/* — Founding team — */
.founder-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-6); align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6);
  background: var(--bg-elevated); margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.founder-initial {
  width: 56px; height: 56px; border-radius: var(--radius-sm); flex: none;
  background: var(--c-warm-deep); color: var(--c-offwhite);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem;
}
.founder-role { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-violet-text); margin-bottom: .3rem; }
.founder-name { font-size: 1.1rem; font-weight: 600; color: var(--c-ink); margin-bottom: var(--sp-3); }
.founder-bio { font-size: .95rem; color: var(--text-muted); line-height: 1.7; }
.credential-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-4); }
.cred {
  font-size: var(--fs-caption); padding: .25rem .65rem; border-radius: var(--radius-sm);
  background: var(--c-cream); border: 1px solid var(--line); color: var(--c-ink); font-weight: 500;
}
.founder-aside { margin-top: var(--sp-5); max-width: 62ch; font-size: .9rem; color: var(--text-muted); }
@media (max-width: 560px) { .founder-card { grid-template-columns: 1fr; } }

/* — Advisory board role grid — */
.role-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.role-card { background: var(--bg-elevated); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.rc-eyebrow {
  width: fit-content; font-size: var(--fs-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-violet-text); background: color-mix(in srgb, var(--c-violet) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-violet) 22%, var(--line));
  border-radius: var(--radius-sm); padding: .25rem .6rem;
}
.role-card h3 { font-size: 1rem; color: var(--c-warm-deep); line-height: 1.3; }
.role-card > p:not(.rc-bring) { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }
.rc-bring {
  font-size: .85rem; color: var(--c-ink); line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: var(--sp-3); margin-top: auto;
}
.rc-bring strong { color: var(--c-warm-deep); font-weight: 600; }

/* — Advisory closing box — */
.advisory-box {
  margin-top: clamp(2rem, 5vw, 2.5rem); padding: var(--sp-6);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elevated);
}
.advisory-box p { max-width: 66ch; color: var(--text-muted); font-size: .95rem; }
.advisory-box__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

/* — Operational roles — */
.ops-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--c-line-dark); border: 1px solid var(--c-line-dark);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.ops-card { background: var(--c-warm-deep-elev); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.ops-card--empty { background: transparent; padding: 0; }
.ops-num { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-violet); opacity: .7; line-height: 1; }
.ops-card h3 { font-size: 1rem; color: var(--c-offwhite); line-height: 1.3; }
.ops-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.ops-tag {
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-violet); border-top: 1px solid var(--c-line-dark); padding-top: var(--sp-3); margin-top: auto;
}
.ops-note { margin-top: var(--sp-6); font-size: .9rem; color: var(--text-muted); }

/* — Dual CTA — */
.dual-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--c-line-dark); border-radius: var(--radius); overflow: hidden;
  margin-top: clamp(1.5rem, 4vw, 2rem);
}
.dcta-cell { padding: clamp(1.5rem, 4vw, 2.25rem); display: flex; flex-direction: column; gap: var(--sp-3); }
.dcta-a { background: color-mix(in srgb, var(--c-offwhite) 4%, var(--bg)); }
.dcta-b { background: color-mix(in srgb, var(--c-violet) 14%, var(--bg)); }
.dcta-label { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.dcta-cell h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--c-offwhite); line-height: 1.35; }
.dcta-cell p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; max-width: 38ch; }
.dcta-cell__cta { margin-top: auto; padding-top: var(--sp-4); }
@media (max-width: 600px) { .dual-cta { grid-template-columns: 1fr; } }

/* — Legal — */
.about-legal {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem); margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.legal-block h3 { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-warm-deep); margin-bottom: var(--sp-3); }
.legal-block__sub { margin-top: var(--sp-5); }
.legal-block p, .legal-block ul { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.legal-block p + p { margin-top: var(--sp-3); }
.legal-block ul { padding-left: 1.1rem; }
.legal-block li { margin-bottom: .35rem; }
.legal-note {
  font-size: var(--fs-caption); color: var(--text-muted); line-height: 1.6;
  border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 2.5rem); padding-top: var(--sp-5); max-width: 95ch;
}

/* ============================================================
   PARTNERS PAGE (partners.html) — mobile-first, tokens v2
   ============================================================ */

/* — Hero (dark, copy + stat panel) — */
.partners-hero {
  position: relative; overflow: hidden; background: var(--c-warm-deep);
  padding-block: calc(var(--header-h) + clamp(2.5rem, 7vw, 4.5rem)) clamp(2.5rem, 7vw, 4.5rem);
}
.partners-hero__bg { position: absolute; inset: 0; z-index: 0; }
.partners-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--c-warm-deep); }
.partners-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(13,34,68,.92) 0%, rgba(13,34,68,.82) 46%, rgba(13,34,68,.68) 100%);
}
.partners-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 50% 80% at 92% 50%, color-mix(in srgb, var(--c-violet) 16%, transparent) 0%, transparent 64%);
}
.partners-hero__inner { position: relative; z-index: 2; max-width: 760px; }
@media (max-width: 760px) {
  .partners-hero::before { background: linear-gradient(180deg, rgba(13,34,68,.80) 0%, rgba(13,34,68,.92) 100%); }
}
.partners-hero__title {
  font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight);
  font-size: var(--fs-hero); letter-spacing: -.02em; color: var(--c-offwhite);
  margin-bottom: var(--sp-5);
}
.partners-hero__lead { max-width: 46ch; margin-bottom: var(--sp-6); }
.partners-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
/* KPI cards — esquema de list-building.html (.fsq-list .kpi): colores/bordes copiados */
.partners-hero .kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; text-align: left;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.partners-hero .kpi {
  background: var(--c-warm-deep-elev);
  border: 1px solid rgba(245, 247, 250, 0.26);
  border-radius: 12px; padding: 26px 22px;
}
.partners-hero .kpi-num {
  font-family: var(--font-display); font-size: 44px; line-height: 1;
  color: var(--c-violet); letter-spacing: -0.02em; margin-bottom: 12px;
  white-space: nowrap;
}
.partners-hero .kpi-num span { font-size: 26px; }
.partners-hero .kpi-label { font-size: 14px; color: var(--c-offwhite); line-height: 1.45; margin-bottom: 10px; }
.partners-hero .kpi-source { font-size: var(--fs-caption); color: var(--text-muted); letter-spacing: .02em; }

/* ============================================================
   HERO UNIFICATION — base: list-building.html hero (.fsq-list .hero)
   Mismo eyebrow (violeta), título, lead y botón en TODOS los heroes.
   ============================================================ */
.hero .eyebrow,
.inner-hero .eyebrow,
.about-hero .eyebrow,
.partners-hero .eyebrow {
  color: var(--c-violet);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero__title,
.inner-hero__copy h1,
.about-hero__title,
.partners-hero__title {
  font-size: var(--fs-hero); line-height: 1.12; letter-spacing: -0.01em;
}
.hero__subhead,
.inner-hero__copy .lead,
.about-hero__lead,
.partners-hero__lead {
  font-size: 17px; line-height: 1.75; color: rgba(245, 247, 250, .64);
}
.hero .btn,
.inner-hero .btn,
.about-hero .btn,
.partners-hero .btn {
  font-size: 15px;
}

/* — The proposition (value cells, dark) — */
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--c-line-dark); border: 1px solid var(--c-line-dark);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(2rem, 5vw, 2.5rem);
}
.value-cell { background: var(--c-warm-deep-elev); padding: var(--sp-8); }
.value-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--c-violet); line-height: 1; margin-bottom: var(--sp-4); }
.value-cell h3 { font-size: 1rem; color: var(--c-offwhite); margin-bottom: var(--sp-2); }
.value-cell p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 680px) { .value-grid { grid-template-columns: 1fr; } }

/* — Who we work with (partner cards, light) — */
.partner-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(2rem, 5vw, 2.5rem);
}
.pc { background: var(--c-paper-warm); padding: var(--sp-6); display: flex; flex-direction: column; }
.pc-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--c-cream); border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.pc-icon svg { width: 20px; height: 20px; color: var(--c-violet); }
.pc h3 { font-size: 1rem; color: var(--c-warm-deep); line-height: 1.3; margin-bottom: var(--sp-3); }
.pc-body { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 820px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .partner-grid { grid-template-columns: 1fr; } }

/* — Technology (dark) — */
.tech-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; margin-top: clamp(2rem, 5vw, 2.5rem); }
.tech-list { display: grid; gap: var(--sp-6); }
.tech-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.tech-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm); flex: none; margin-top: .15rem;
  background: color-mix(in srgb, var(--c-offwhite) 6%, transparent); border: 1px solid var(--c-line-dark);
  display: flex; align-items: center; justify-content: center;
}
.tech-icon svg { width: 20px; height: 20px; color: var(--c-violet); }
.tech-item h3 { font-size: .95rem; color: var(--c-offwhite); margin-bottom: .35rem; }
.tech-item p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.tech-aside {
  background: color-mix(in srgb, var(--c-offwhite) 4%, transparent);
  border: 1px solid var(--c-line-dark); border-radius: var(--radius);
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5);
}
.tech-aside__label { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-violet); margin-bottom: var(--sp-2); }
.tech-aside p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 760px) { .tech-two { grid-template-columns: 1fr; } }

/* — How a partnership starts (steps, light) — */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; list-style: none; padding: 0;
  background: var(--c-line); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(2rem, 5vw, 2.5rem);
}
.step { background: var(--c-cream); padding: var(--sp-6); }
.step-n { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--c-violet); opacity: .55; line-height: 1; margin-bottom: var(--sp-3); }
.step h3 { font-size: .9rem; color: var(--c-warm-deep); margin-bottom: .35rem; }
.step p { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }

/* — Disclaimer box + fine print — */
.disc {
  margin-top: clamp(1.5rem, 4vw, 2rem); padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--c-violet); background: var(--c-paper-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.disc p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.disc strong { color: var(--c-ink); }
.partners-fin {
  font-size: var(--fs-caption); color: var(--text-muted); line-height: 1.55;
  text-align: center; max-width: 64ch; margin: clamp(1.5rem, 4vw, 2rem) auto 0;
}

/* Postcode autocomplete suggestions (js/postcode-autocomplete.js) */
.postcode-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  list-style: none; margin: 4px 0 0; padding: 4px;
  background: var(--c-warm-deep-elev); border: 1px solid var(--c-line-dark); border-radius: var(--radius-sm);
  max-height: 220px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.postcode-suggestions li {
  padding: 9px 12px; font-size: 14px; color: var(--c-offwhite); border-radius: 6px; cursor: pointer;
}
.postcode-suggestions li[aria-selected="true"], .postcode-suggestions li:hover {
  background: var(--c-violet); color: #fff;
}
