/* ===========================
   Font Face — PP Editorial New
   =========================== */

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-Ultralight-BF644b21500d0c0.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-UltralightItalic-BF644b214ff1e9b.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-Regular-BF644b214ff145f.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-Italic-BF644b214fb0c0a.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-Ultrabold-BF644b21500840c.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PP Editorial/PPEditorialNew-UltraboldItalic-BF644b214faef01.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}


/* ===========================
   Font Face — Suisse Intl
   =========================== */

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Book.otf') format('opentype');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: url('Suisse Intl/SuisseIntl-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ===========================
   Font Face — Neue Faktum
   =========================== */

@font-face {
  font-family: 'Neue Faktum';
  src: url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-ExtraLight.woff2') format('woff2'),
       url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Faktum';
  src: url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Light.woff2') format('woff2'),
       url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Faktum';
  src: url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Regular.woff2') format('woff2'),
       url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Faktum';
  src: url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-RegularItalic.woff2') format('woff2'),
       url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Faktum';
  src: url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Medium.woff2') format('woff2'),
       url('Neue Faktum/WOFF/NeueFaktumUnlicensedTest-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   CSS Variables
   =========================== */

:root {
  /* ---- Color palette ---- */
  /* Base tones */
  --cream: #EDE4DD;          /* Único cream de la web */
  --cream-soft: #EDE4DD;     /* Alias de --cream — sin variantes, todo cream debe ser #EDE4DD */
  --ink: #12271D;            /* deep green — replaces black */
  --ink-deep: #12271D;       /* alias de --ink: un solo verde en toda la web */
  --red: #12271D;            /* alias del verde ink — paleta panel (sin tonos rojizos) */

  /* RGB triplets (use with rgb(var(--x-rgb) / <alpha>)) */
  --cream-rgb: 237 228 221;
  --cream-soft-rgb: 237 228 221;
  --ink-rgb: 18 39 29;
  --red-rgb: 18 39 29;

  /* ---- Layout ---- */
  --margin: 2rem;
  --gutter: 0.4rem;
  --cols: 6;
}

@media (min-width: 1024px) {
  :root {
    --margin: 2rem;
    --gutter: 2rem;
    --cols: 12;
  }
}

/* ===========================
   Base & Reset
   =========================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   LOADER
   =========================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-curtain {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 2;
}

.loader-blob {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  background: var(--ink-deep);
  border-radius: 50%;
}

.loader.is-done .loader-blob {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loader.is-done .loader-curtain {
  transform: translateY(-100%);
  transition-delay: 0.3s;
}

.loader.is-hidden {
  pointer-events: none;
  visibility: hidden;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

::-moz-selection {
  background: var(--red);
  color: var(--cream);
}

/* ===========================
   FORM OVERLAY
   =========================== */

.form-overlay ::selection {
  background: var(--ink);
  color: var(--red);
}

.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90vh;
  z-index: 9999;
  background: var(--red);
  border-radius: 0 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-overlay.is-open {
  transform: translateY(0);
}

.form-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgb(var(--cream-rgb) / 0.1);
}

.form-progress-bar {
  height: 100%;
  width: 33.33%;
  background: var(--cream);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-close {
  position: absolute;
  top: 2rem;
  right: var(--margin);
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  line-height: 1;
}

.form-close:hover {
  opacity: 1;
}

.form-container {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.form-step {
  display: none;
  flex-direction: column;
}

.form-step.is-active {
  display: flex;
}

.form-step-header {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.form-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-step-num {
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgb(var(--cream-rgb) / 0.4);
  margin: 0;
}

.form-question {
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

/* Step 1: Options */
.form-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.form-option {
  cursor: pointer;
}

.form-option input {
  display: none;
}

.form-option-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 180px;
  border: 1px solid rgb(var(--cream-rgb) / 0.35);
  border-radius: 12px;
  padding: 1rem;
  transition: border-color 0.3s, background 0.3s;
}

.form-option:hover .form-option-box {
  border-color: rgb(var(--cream-rgb) / 0.35);
}

.form-option input:checked + .form-option-box {
  border-color: transparent;
  background: var(--ink);
}

.form-option-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgb(var(--cream-rgb) / 0.35);
  font-size: 0.65rem;
  color: rgb(var(--cream-rgb) / 0.5);
  letter-spacing: 0.05em;
  margin-bottom: auto;
}

.form-option-name {
  display: block;
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-option-desc {
  font-size: 0.85rem;
  color: rgb(var(--cream-rgb) / 0.45);
  line-height: 1.5;
}

/* Step 2 — Sector tags (pill buttons en flex-wrap) */
.form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.form-tag {
  cursor: pointer;
}
.form-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form-tag span {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgb(var(--cream-rgb) / 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgb(var(--cream-rgb) / 0.7);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.form-tag:hover span {
  border-color: rgb(var(--cream-rgb) / 0.45);
  color: var(--cream);
}
.form-tag input:checked + span {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.form-sector-other {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Step 2: Textarea */
.form-textarea {
  width: 100%;
  background: none;
  border: 1px solid rgb(var(--cream-rgb) / 0.35);
  border-radius: 12px;
  color: var(--cream);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  padding: 1.5rem;
  resize: none;
  margin-bottom: 3rem;
  outline: none;
  min-height: 180px;
  transition: border-color 0.3s, background 0.3s;
}

.form-textarea::placeholder {
  color: rgb(var(--cream-rgb) / 0.5);
}

.form-textarea:focus {
  border-color: rgb(var(--cream-rgb) / 0.4);
}

/* Step 3: Inputs */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.form-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgb(var(--cream-rgb) / 0.35);
  color: var(--cream);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 1.25rem 0;
  outline: none;
  transition: border-color 0.3s;
}

.form-input::placeholder {
  color: rgb(var(--cream-rgb) / 0.5);
}

.form-input:focus {
  border-color: rgb(var(--cream-rgb) / 0.5);
}

/* Navigation */
.form-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.form-next {
  width: 48px;
  height: 48px;
  background: var(--cream);
  color: var(--red);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.form-submit {
  height: 48px;
  background: var(--cream);
  color: var(--red);
  border: none;
  border-radius: 100px;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.form-next:hover {
  transform: scale(1.08);
}

.form-submit:hover {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.08);
}

.form-next:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

.form-input-wrap {
  position: relative;
  width: 100%;
}

.form-input-wrap .form-input {
  width: 100%;
}

.form-input-error {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-input-error.is-visible {
  opacity: 1;
}

.form-phone-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(var(--cream-rgb) / 0.15);
  gap: 0;
  width: 100%;
}

.form-phone-wrap .form-input {
  border-bottom: none;
  flex: 1;
}

.form-phone-prefix-input {
  background: transparent;
  border: none;
  color: rgb(var(--cream-rgb) / 0.6);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  width: 3.5rem;
  padding-right: 1rem;
  border-right: 1px solid rgb(var(--cream-rgb) / 0.1);
  margin-right: 1rem;
  outline: none;
  text-align: center;
}

.form-terms {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgb(var(--cream-rgb) / 0.45);
  cursor: pointer;
  margin-top: 1.5rem;
}

.form-terms a {
  color: rgb(var(--cream-rgb) / 0.7);
  text-decoration: underline;
}

.form-terms-check {
  width: 16px;
  height: 16px;
  border: 1px solid rgb(var(--cream-rgb) / 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-terms-check.is-checked {
  background: var(--cream);
  border-color: var(--cream);
}

.form-terms-check.is-checked::after {
  content: '';
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--red);
  border-bottom: 1.5px solid var(--red);
  transform: rotate(45deg);
  margin-top: -1px;
}

.form-submit:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

.form-submit:disabled:hover {
  background: var(--cream);
  color: var(--red);
  transform: none;
}

.form-hint {
  display: block;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgb(var(--cream-rgb) / 0.55);
  max-width: 540px;
  margin: 0;
}

/* ===== Step 3 — Presupuesto: slider + alternativa ===== */
.form-budget {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-budget-display {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: 'Neue Faktum', sans-serif;
  color: var(--cream);
}
.form-budget-value {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  line-height: 1;
}
.form-budget-suffix {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--cream-rgb) / 0.5);
}
.form-budget-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgb(var(--cream-rgb) / 0.15);
  outline: none;
  cursor: pointer;
  margin: 0.5rem 0 0.25rem;
}
.form-budget-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  cursor: grab;
  box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.form-budget-range::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.form-budget-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  cursor: grab;
  box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / 0.12);
}
.form-budget-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgb(var(--cream-rgb) / 0.45);
  letter-spacing: 0.06em;
}
.form-budget.is-unsure .form-budget-display,
.form-budget.is-unsure .form-budget-range,
.form-budget.is-unsure .form-budget-marks {
  opacity: 0.35;
  pointer-events: none;
}
.form-budget-unsure {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgb(var(--cream-rgb) / 0.18);
  border-radius: 14px;
  cursor: pointer;
  margin-top: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-budget-unsure:hover { border-color: rgb(var(--cream-rgb) / 0.4); }
.form-budget-unsure input { position: absolute; opacity: 0; pointer-events: none; }
.form-budget-unsure-box { display: flex; flex-direction: column; gap: 0.25rem; }
.form-budget-unsure-name {
  font-family: 'Neue Faktum', sans-serif;
  font-size: 1rem;
  color: var(--cream);
}
.form-budget-unsure-desc {
  font-size: 0.85rem;
  color: rgb(var(--cream-rgb) / 0.5);
}
.form-budget-unsure input:checked ~ .form-budget-unsure-box .form-budget-unsure-name {
  color: var(--cream);
}
.form-budget-unsure:has(input:checked) {
  border-color: var(--cream);
  background: rgb(var(--cream-rgb) / 0.04);
}

.form-back {
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid rgb(var(--cream-rgb) / 0.35);
  color: rgb(var(--cream-rgb) / 0.6);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.form-back:hover {
  color: var(--cream);
  border-color: rgb(var(--cream-rgb) / 0.5);
}

/* Success */
.form-success-msg {
  font-size: 1.05rem;
  color: rgb(var(--cream-rgb) / 0.6);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.form-close-btn {
  background: none;
  border: 1px solid rgb(var(--cream-rgb) / 0.3);
  color: var(--cream);
  border-radius: 100px;
  padding: 0.9rem 2.5rem;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.3s;
  align-self: flex-start;
}

.form-close-btn:hover {
  border-color: var(--cream);
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  /* Mismo blend que la navbar: invierte el color sobre el fondo */
  mix-blend-mode: difference;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: var(--cream);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.3s ease;
  /* Inversión sobre el fondo */
  mix-blend-mode: difference;
}

.form-overlay.is-open ~ .cursor {
  background: var(--cream);
}

.cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: font-size 0.3s ease, opacity 0.3s ease;
}

.cursor-hover {
  width: 100px;
  height: 100px;
}

.cursor-dark {
  background: var(--ink) !important;
}

.cursor-video {
  width: 120px;
  height: 120px;
  background: var(--red);
}

.cursor-video .cursor-label {
  font-size: 0.75rem;
  opacity: 1;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

body {
  font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--cream-soft);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, video {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 300;
  line-height: 1.15;
}

/* ===========================
   Reveal Animations
   =========================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* ===========================
   NAV
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  /* 5 columnas iguales: 2 links | logo | 2 links → el logo (col 3) cae justo en el centro de la pantalla */
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-items: center;
  gap: 2rem;
  padding: 1.5rem var(--margin) 1.5rem;
  background: transparent;
  mix-blend-mode: difference;
}
/* Aplanamos los wrappers semánticos para que los 4 links + el logo
   sean hijos directos del flex y queden distribuidos equitativamente
   con justify-content: space-between. */
.nav-left,
.nav-right,
.nav-center,
.nav-links {
  display: contents;
}
/* Timeline horizontal: línea base + relleno que crece con --nav-progress. */
.nav::before,
.nav::after {
  content: "";
  position: absolute;
  left: var(--margin);
  bottom: 2.1rem;
  height: 1px;
  pointer-events: none;
}
/* Track: línea sutil de fondo que se ve siempre con baja opacidad. */
.nav::before {
  right: var(--margin);
  background: rgb(var(--cream-rgb) / 0.18);
  -webkit-mask-image: linear-gradient(
    to right,
    black 0,
    black calc(50% - 36px),
    transparent calc(50% - 36px),
    transparent calc(50% + 36px),
    black calc(50% + 36px),
    black 100%
  );
          mask-image: linear-gradient(
    to right,
    black 0,
    black calc(50% - 36px),
    transparent calc(50% - 36px),
    transparent calc(50% + 36px),
    black calc(50% + 36px),
    black 100%
  );
}
.nav::after {
  /* Llega exactamente hasta el dot del link activo (X seteada por JS).
     Avanza con el scroll de forma continua, sin transición que retrase. */
  right: auto;
  width: calc(var(--nav-fill-x, var(--margin)) - var(--margin));
  background: var(--cream);
  /* Máscara: hueco en el centro del viewport (logo). Las paradas se calculan
     en coords del fill (que arranca en var(--margin)) → hueco a 50vw del fill,
     descontando ese margen, ±36px de radio para que cuadre con el logo. */
  -webkit-mask-image: linear-gradient(
    to right,
    black 0,
    black calc(50vw - var(--margin) - 36px),
    transparent calc(50vw - var(--margin) - 36px),
    transparent calc(50vw - var(--margin) + 36px),
    black calc(50vw - var(--margin) + 36px),
    black 100%
  );
          mask-image: linear-gradient(
    to right,
    black 0,
    black calc(50vw - var(--margin) - 36px),
    transparent calc(50vw - var(--margin) - 36px),
    transparent calc(50vw - var(--margin) + 36px),
    black calc(50vw - var(--margin) + 36px),
    black 100%
  );
}

.nav-left {
  justify-self: start;
  position: relative;
}

.nav-center {
  justify-self: center;
}

.nav-links {
  /* Aplanado para que los <li> sean hijos directos del flex de .nav
     y se distribuyan equitativamente con justify-content: space-between */
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  /* Padding-bottom extra para dejar sitio al dot del timeline */
  padding: 0.2em 0 1.4rem;
  color: rgb(var(--cream-rgb) / 0.55);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cream);
}

/* El número del link es el "dot" del timeline.
   Inactivo: fondo NEGRO (que con mix-blend-mode: difference de la nav se
   neutraliza y aparece como el fondo de la página, dando aspecto "outline only"
   pero sin dejar pasar la línea por detrás). Borde + número en cream.
   Activo: fondo cream + número ink (colores invertidos). */
.nav-link-num {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000;
  color: var(--cream);
  border: 1px solid var(--cream);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
  transform: translate(-50%, 50%) scale(0.85);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  z-index: 2;
}
.nav-link:hover .nav-link-num,
.nav-link.is-active .nav-link-num {
  background: var(--cream);
  color: var(--ink);
  transform: translate(-50%, 50%) scale(1.15);
}

/* Ripple del dot activo — onda expansiva como el timeline del cliente */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(var(--cream-rgb) / 0.55);
  transform: translate(-50%, 50%) scale(1);
  opacity: 0;
  pointer-events: none;
}
.nav-link.is-active::after {
  animation: navDotRipple 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes navDotRipple {
  0%   { opacity: 0.55; transform: translate(-50%, 50%) scale(0.9); }
  80%  { opacity: 0;    transform: translate(-50%, 50%) scale(2.2); }
  100% { opacity: 0;    transform: translate(-50%, 50%) scale(2.2); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-link.is-active::after { animation: none; opacity: 0; }
}

.nav-link-label {
  font-size: 0.88rem;
}

.nav-center {
  display: contents;
}

.nav-mobile-bar {
  display: none;
}

.nav-logo {
  display: block;
  height: 48px;
  width: auto;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  /* Tinte cream uniforme para los dos logos del nav (mark + text) */
  filter: brightness(0) saturate(100%) invert(94%) sepia(8%) saturate(489%) hue-rotate(341deg) brightness(98%) contrast(91%);
}

.nav-logo--clickable {
  cursor: pointer;
  outline: none;
}
.nav-logo--clickable:hover {
  transform: scale(1.04);
}
.nav-logo--clickable:active {
  transform: scale(0.97);
}
.nav-logo--clickable:focus-visible {
  opacity: 0.75;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgb(var(--cream-rgb) / 0.6);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-right {
  display: contents;
}

.nav-cta {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--cream);
  transition: color 0.3s;
  text-align: right;
  display: inline-block;
  line-height: 1.3;
}

.nav-cta .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.nav-cta:hover .arrow {
  transform: translate(2px, -2px);
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  background: var(--ink-deep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* sin padding-bottom — el módulo termina exactamente donde acaba la imagen
     para que no quede una franja verde antes de la siguiente sección */
  padding-bottom: 0;
}

.hero-brand {
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 0 var(--margin);
  height: 90vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2rem;
}

.hero-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--cream);
}

.hero-logo {
  display: block;
  width: 100%;
  font-family: 'PP Editorial New', serif;
  font-weight: 400;
  font-size: calc((100vw - 4rem) * 0.212);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--cream);
  white-space: nowrap;
  text-align: center;
}

.hero-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 var(--margin);
}

.hero-bottom-left p,
.hero-bottom-center p {
  font-size: 0.88rem;
  color: rgb(var(--cream-rgb) / 0.6);
  line-height: 1.45;
}

.scroll-arrow {
  font-size: 1.2rem;
  color: rgb(var(--cream-rgb) / 0.5);
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-tagline {
  position: relative;
  z-index: 1;
  padding: 0 var(--margin);
  margin-bottom: 2rem;
  font-family: 'SuisseIntl', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hero-underline {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.hero-video {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2;
  overflow: hidden;
  background: var(--red);
}

.hero-video-label {
  position: absolute;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--cream-rgb) / 0.85);
  z-index: 3;
  pointer-events: none;
}

.hero-video-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'PP Editorial New', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: rgb(var(--cream-rgb) / 0.5);
  z-index: 3;
  pointer-events: none;
}

.hero-video-tl { top: 1.25rem; left: 1.5rem; }
.hero-video-tr { top: 1.25rem; right: 1.5rem; }
.hero-video-bl { bottom: 1.25rem; left: 1.5rem; }
.hero-video-br { bottom: 1.25rem; right: 1.5rem; }

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Inset: rectángulo más pequeño con otro video, centrado en alto y ancho.
   Selector más específico que `.hero-video video` para sobreescribir su `inset: 0`. */
.hero-video .hero-video-inset {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(360px, 48vw, 920px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 24px 60px -16px rgb(var(--ink-rgb) / 0.55), 0 4px 12px rgb(var(--ink-rgb) / 0.3);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

/* ===========================
   ABOUT
   =========================== */

.about {
  background: var(--cream-soft);
  color: var(--ink);
  padding: 8rem var(--margin);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-statement {
  display: none;
  margin-bottom: 8rem;
  text-align: center;
}

.about-statement p {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 8.25vw, 14rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.about-statement em {
  font-style: normal;
  font-weight: 300;
}

.accent-underline {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.about-statement .accent-underline {
  text-decoration: none;
}

/* Mobile-only line break inside the statement */
.br-m { display: none; }

/* Inline image inside the big statement — dfy-style */
.about-inline-img {
  position: relative;
  display: inline-block;
  vertical-align: 0.05em;
  width: 0.95em;
  height: 0.58em;
  margin: 0 0.08em;
  border-radius: 0.06em;
  overflow: hidden;
  background: var(--ink);
}

.about-inline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-inline-img-pin {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 0.085em;
  height: 0.16em;
  background: var(--red);
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  box-shadow: 0 0 0 0.015em rgb(var(--cream-rgb) / 0.25);
}

.about-inline-img-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 65%;
  transform: translateX(-50%);
  width: 0.012em;
  height: 0.06em;
  background: var(--red);
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--red);
  transition: opacity 0.3s;
}

.inline-link:hover {
  opacity: 0.7;
}

.about-divider {
  display: none;
}

/* 12-col grid — left col-span 4, right col-span 8 */
.about-detail {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  column-gap: var(--gutter);
  padding: 8rem 0;
  /* Espacio extra cuando se ancla via #que (no se pega a la navbar) */
  scroll-margin-top: 4rem;
}

.about-detail-left {
  grid-column: span 5;
}

.about-detail-right {
  grid-column: 6 / -1;
}

.about-detail-left {
}

.about-detail-left p {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 15.3px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.about-detail-right {
}

.about-detail-right p {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: rgb(var(--ink-rgb) / 0.7);
  margin-bottom: 1.25rem;
  max-width: none;
}

.about-detail-right p:first-child {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -1.6px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--red);
  margin-top: 0.5rem;
  transition: opacity 0.3s;
}

.text-link:hover {
  opacity: 0.7;
}

.text-link .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.text-link:hover .arrow {
  transform: translateY(3px);
}

/* ===========================
   AT A GLANCE
   =========================== */

.showcase {
  background: var(--cream-soft);
}

.showcase-top-text {
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-size: clamp(7rem, 19vw, 24rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  padding: 3rem 0 0;
  margin-bottom: -0.05em;
  overflow: hidden;
  will-change: transform;
}

.showcase-media {
  position: relative;
  margin: -2rem 0 0;
  aspect-ratio: 16 / 8;
  clip-path: inset(0 0 70% 0);
  will-change: clip-path;
}

.showcase-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-bottom-text {
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-size: clamp(7rem, 19vw, 24rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  overflow: hidden;
  text-align: right;
  will-change: transform;
  padding: 0;
}


.showcase-subtitle {
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgb(var(--ink-rgb) / 0.5);
  padding: 2rem var(--margin) 3rem;
}

/* ===========================
   CLIENTES / PARA QUIÉN
   =========================== */

.clients {
  padding: 8rem var(--margin);
}

.clients-statement {
  margin-bottom: 5rem;
}

.clients-statement p {
  font-family: 'PP Editorial New', serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 5.2vw, 74px);
  line-height: 1.09;
  letter-spacing: -0.016em;
  color: var(--ink);
}

.clients-statement p::before {
  content: '';
  float: left;
  width: 0;
  height: 1em;
}

@media (min-width: 1024px) {
  .clients-statement p::before {
    width: min(15vw, 290px);
  }
}

.clients-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid rgb(var(--ink-rgb) / 0.12);
}

.client-line {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.12);
  color: inherit;
  text-decoration: none;
}

.client-line-text {
  display: block;
  font-family: 'PP Editorial New', serif;
  font-size: clamp(3.5rem, 11vw, 10rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 0.85;
  color: rgb(var(--ink-rgb) / 0.15);
  padding: 0.35em 0 0.25em;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease, font-style 0s;
}

.client-line:hover .client-line-text {
  color: var(--ink);
  font-style: italic;
  z-index: 4;
}

.client-line-img {
  position: absolute;
  width: 320px;
  height: 220px;
  top: 50%;
  left: 50%;
  margin-left: -160px;
  margin-top: -110px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-line:hover .client-line-img {
  clip-path: inset(0 0 0 0);
}

.client-line-img--vertical {
  width: 240px;
  height: 300px;
  margin-left: -120px;
  margin-top: -150px;
}

.client-line-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-line:hover .client-line-img img {
  transform: scale(1);
}

/* ===========================
   APPROACH
   =========================== */

.approach {
  padding: 8rem var(--margin);
  background: var(--cream-soft);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header: title on left (span 6), subtitle bottom-aligned on right (span 6) */
.approach-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 5rem;
}

.approach-title {
  flex: 0 1 auto;
  align-self: flex-end;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 8.25vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.approach-title em {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  color: var(--red);
  font-weight: 300;
}

.approach-subtitle {
  flex: 0 1 auto;
  align-self: flex-start;
  text-align: right;
  /* Pequeño empuje para que la cap-height del subtítulo case con la
     cap-height de la "C" del título (compensación del leading). */
  margin-top: clamp(0.5rem, 1vw, 1rem);
  padding-top: 4px;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.55);
  margin: 0;
}

/* List of problems — each row on the 12-col grid */
/* Subrayado de utilidad para destacar fragmentos puntuales en párrafos.
   Usamos un background-image lineal en vez de text-decoration para controlar
   bien la posición vertical (en headings grandes el offset por defecto cae
   sobre la siguiente línea). */
.u-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.06em;
  padding-bottom: 0.04em;
}

/* === Grid 2x2 limpio: por cada problema, una caja con
   "Lo normal" tachado arriba + "Lo nuestro" debajo. Estructura clara,
   tipografía editorial, sin interacción. */
.approach-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 1.6vw, 1.6rem);
}
@media (max-width: 800px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* === Lista limpia: 4 items vertical, número italic + texto sans
   uppercase. Hover/focus despliega una explicación breve italic
   Editorial debajo. Coherente con el resto, escaneable. */
.approach-list-clean {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
}
.approach-list-clean li {
  display: grid;
  grid-template-columns: 4ch 1fr auto;
  column-gap: clamp(0.8rem, 1.4vw, 1.4rem);
  align-items: baseline;
  padding: clamp(0.9rem, 1.2vw, 1.2rem) 0;
  border-top: 1px solid rgb(var(--ink-rgb) / 0.18);
  cursor: pointer;
  outline: none;
  transition: padding 0.4s ease;
}

.al-toggle {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.45);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1), color 0.3s ease;
  transform-origin: center;
  display: inline-block;
  user-select: none;
}
.approach-list-clean li:hover .al-toggle,
.approach-list-clean li:focus-within .al-toggle {
  transform: rotate(45deg);
  color: var(--ink);
}
.approach-list-clean li:last-child {
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.18);
}

.al-num {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Neue Faktum', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.5);
  transition: color 0.3s ease;
}
.al-text {
  grid-column: 2;
  grid-row: 1;
  /* Encogemos al ancho del texto para que el background-image del tachado
     no se pase del último carácter. */
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  /* Línea de tachado dibujada con background-image para controlar grosor
     y posición. Width 0 → 100% al hacer hover/focus en el item. */
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 0% 0.05em;
  transition: color 0.3s ease, background-size 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.approach-list-clean li:hover .al-text,
.approach-list-clean li:focus-within .al-text {
  background-size: 100% 0.05em;
}

/* Detalle: oculto por defecto, se despliega en hover/focus. */
.al-detail {
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-family: 'Neue Faktum', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgb(var(--ink-rgb) / 0.65);
  max-width: 56ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.45s cubic-bezier(0.5, 0, 0.2, 1),
              opacity 0.35s ease 0.05s,
              transform 0.4s ease,
              margin-top 0.4s ease;
}
.approach-list-clean li:hover,
.approach-list-clean li:focus-within,
.approach-list-clean li:focus {
  padding-top: clamp(1.05rem, 1.4vw, 1.4rem);
  padding-bottom: clamp(1.05rem, 1.4vw, 1.4rem);
}
.approach-list-clean li:hover .al-detail,
.approach-list-clean li:focus-within .al-detail,
.approach-list-clean li:focus .al-detail {
  max-height: 8rem;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.7rem;
}
.approach-list-clean li:hover .al-num,
.approach-list-clean li:focus-within .al-num {
  color: var(--ink);
}

/* (Bloque wall anterior — neutralizado) */
.approach-wall { display: none; }

/* === Wall de pastillas (versión inicial recuperada) ===
   16 fragmentos cortos con los problemas, en flex-wrap. Algunas filled
   ink como anclas visuales, el resto outlined. Hover sutil. */
.approach-wall {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  align-items: center;
}

.aw-pill {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.85em 1.2em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.aw-pill--fill {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.aw-pill:hover { transform: translateY(-2px); }

@media (max-width: 700px) {
  .approach-wall { gap: 0.5rem 0.5rem; }
  .aw-pill {
    font-size: 0.95rem;
    padding: 0.75em 1em;
    white-space: normal;
  }
}

/* === Sistema de pastillas a dos columnas ===
   Izquierda: pastillas outlined desvaídas con los problemas (cada una
   tachada). Derecha: pastillas filled ink con el valor. Una flecha
   editorial italic conecta las dos columnas. Lectura instantánea, todo
   construido con el mismo recurso visual: la pastilla. */
.approach-pills {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: stretch;
  margin: 1rem 0 0;
}

.apl-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.apl-tag {
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.55);
}
.apl-col--value .apl-tag { color: var(--ink); }

.apl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Pastilla base: pill grande estilo .pitch-tags pero con tipografía
   Neue Faktum más editorial. */
.apl-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.4rem;
  border: 1px solid rgb(var(--ink-rgb) / 0.35);
  border-radius: 999px;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  align-self: flex-start;
  max-width: 100%;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Problema: tachado, color desvaído. */
.apl-pill--pain {
  color: rgb(var(--ink-rgb) / 0.5);
  border-color: rgb(var(--ink-rgb) / 0.25);
  text-decoration: line-through;
  text-decoration-thickness: 0.04em;
  text-decoration-color: rgb(var(--ink-rgb) / 0.3);
}

/* Valor: filled ink. */
.apl-pill--value {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.apl-divider {
  align-self: center;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.4);
}

@media (max-width: 800px) {
  .approach-pills {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .apl-divider {
    transform: rotate(90deg);
    align-self: center;
    margin: 0.4rem 0;
  }
}

/* (Bloque compare anterior — neutralizado) */
.approach-compare { display: none; }

/* === Tabla comparativa: prioriza la lectura ===
   Una sola tabla limpia. Encabezados pequeños separan las dos columnas.
   Cada fila: num + problema (desvaído) + flecha + valor (fuerte).
   Sin interacción, sin cajas. Lo importante se lee de un golpe. */
.approach-compare {
  margin: 1rem 0 0;
}

.cmp-head {
  display: grid;
  grid-template-columns: 4ch 1fr 2.5em 1.4fr;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
  padding-bottom: 0.6rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.18);
}
.cmp-tag {
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.55);
}
.cmp-tag--left { grid-column: 2; }
.cmp-tag--right { grid-column: 4; color: var(--ink); }

.cmp-rows {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cmp-row {
  display: grid;
  grid-template-columns: 4ch 1fr 2.5em 1.4fr;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.4rem, 2.2vw, 2.2rem) 0;
  border-top: 1px solid rgb(var(--ink-rgb) / 0.18);
}
.cmp-row:first-child { border-top: 0; }
.cmp-row:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.18); }

.cmp-num {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  color: var(--ink);
}

/* Problema: desvaído, levemente tachado para reforzar el contraste. */
.cmp-pain {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.5);
  text-decoration: line-through;
  text-decoration-thickness: 0.04em;
  text-decoration-color: rgb(var(--ink-rgb) / 0.25);
}

.cmp-arrow {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.45);
  text-align: center;
}

/* Valor: protagonista. Más grande, ink fuerte. */
.cmp-value {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 800px) {
  .cmp-head { display: none; }
  .cmp-row {
    grid-template-columns: 3ch 1fr;
    grid-template-areas:
      "num pain"
      "num value";
    row-gap: 0.5rem;
    column-gap: 0.75rem;
  }
  .cmp-num   { grid-area: num; }
  .cmp-pain  { grid-area: pain; font-size: 1rem; }
  .cmp-arrow { display: none; }
  .cmp-value { grid-area: value; font-size: 1.4rem; }
}

/* (Bloque agrid anterior — neutralizado) */
.approach-grid { display: none; }

/* Caja con interacción: click intercambia entre "Lo normal" (problema)
   y "Lo nuestro" (solución). Mismos recursos visuales que el módulo
   "Para quién" — número italic, headline tipo pitch-lead, mini tags
   tipo pitch-tags. Estado por aria-pressed; ambos contenidos viven
   apilados en grid-template-areas con crossfade + slide. */
.agrid-card {
  position: relative;
}

.agrid-btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgb(var(--ink-rgb) / 0.2);
  border-radius: 0;
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  margin: 0;
  width: 100%;
  min-height: clamp(260px, 26vw, 320px);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.6rem;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.agrid-btn:hover {
  background: rgb(var(--ink-rgb) / 0.03);
}
.agrid-btn[aria-pressed="true"] {
  background: rgb(var(--ink-rgb) / 0.05);
  border-color: rgb(var(--ink-rgb) / 0.5);
}

.agrid-num {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--ink);
  position: absolute;
  top: clamp(1.2rem, 1.8vw, 1.8rem);
  right: clamp(1.4rem, 2vw, 2rem);
  pointer-events: none;
  user-select: none;
}

/* Etiqueta "Lo normal / Lo nuestro" pequeña arriba-izq */
.agrid-state {
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.55);
  grid-row: 1;
  grid-column: 1;
  transition: opacity 0.35s ease;
}
.agrid-state--on { opacity: 0; }
.agrid-btn[aria-pressed="true"] .agrid-state--off { opacity: 0; }
.agrid-btn[aria-pressed="true"] .agrid-state--on  { opacity: 1; color: var(--ink); }

/* Contenido stack: las dos caras (off/on) ocupan la misma celda. */
.agrid-content {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.6, 0, 0.2, 1);
}
.agrid-content--off { opacity: 1; transform: translateY(0); }
.agrid-content--on  { opacity: 0; transform: translateY(0.5em); pointer-events: none; }
.agrid-btn[aria-pressed="true"] .agrid-content--off {
  opacity: 0;
  transform: translateY(-0.5em);
  pointer-events: none;
}
.agrid-btn[aria-pressed="true"] .agrid-content--on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Mismo área del grid → ambos hijos colapsan al mismo sitio */
.agrid-content--on {
  margin-top: calc(-1 * (var(--off-h, 0px)));
}
/* En vez del trick de margen negativo, usamos un grid interno: ambos
   contents van en el mismo subgrid via grid-area "stack" para que su
   altura no empuje al hermano. */
.agrid-btn { /* refuerzo */
}
.agrid-content {
  grid-area: 2 / 1;
}

.agrid-head {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.53rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: calc(100% - 3em);
}

.agrid-body {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgb(var(--ink-rgb) / 0.65);
  max-width: 42ch;
}

/* Tags idénticas a .pitch-tags */
.agrid-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}
.agrid-tags > span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem 0.5rem;
  border: 1px solid rgb(var(--ink-rgb) / 0.35);
  border-radius: 999px;
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

/* Indicador de "girar" abajo-der */
.agrid-flip {
  position: absolute;
  bottom: clamp(1rem, 1.6vw, 1.5rem);
  right: clamp(1.4rem, 2vw, 2rem);
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.5);
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.5, 0, 0.2, 1), color 0.3s ease;
}
.agrid-btn:hover .agrid-flip { color: var(--ink); }
.agrid-btn[aria-pressed="true"] .agrid-flip { transform: rotate(180deg); }

/* (Bloque spread anterior — neutralizado) */
.approach-spread {
  display: none;
}

/* === Spread editorial estilo magazine ===
   Sin interacción ni juego: dos columnas confrontadas en lenguaje
   tipográfico. A la izquierda, una cita italic Editorial enorme con
   la narrativa que el sector asume como normal. A la derecha, una
   lista numerada con la respuesta del estudio. */
.approach-spread {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin: 1rem 0 0;
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid rgb(var(--ink-rgb) / 0.18);
}

@media (max-width: 800px) {
  .approach-spread {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.spread-quote {
  position: relative;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgb(var(--ink-rgb) / 0.55);
  padding-left: clamp(2.4rem, 4vw, 4rem);
}
.spread-quote p {
  margin: 0 0 0.6rem;
}
.spread-quote-mark {
  position: absolute;
  top: -0.3em;
  left: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.18);
  pointer-events: none;
}
.spread-quote footer {
  margin-top: 1.4rem;
  font-family: 'Neue Faktum', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.85rem, 1vw, 1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.5);
}

.spread-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.spread-points li {
  display: grid;
  grid-template-columns: 4ch 1fr;
  column-gap: clamp(0.8rem, 1.4vw, 1.4rem);
  row-gap: 0.8rem;
  padding: clamp(1.4rem, 2.2vw, 2rem) 0;
  border-top: 1px solid rgb(var(--ink-rgb) / 0.18);
}
.spread-points li:last-child {
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.18);
}

.spread-num {
  grid-row: 1 / span 2;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  color: var(--ink);
}
.spread-head {
  grid-column: 2;
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
}
.spread-body {
  grid-column: 2;
  margin: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.4;
  color: rgb(var(--ink-rgb) / 0.7);
  max-width: 38ch;
}

/* (Bloque vote anterior — neutralizado) */
.approach-vote-LEGACY { display: none; }

/* === Juego de clasificación tipo "swipe deck" (Tinder editorial) ===
   Una sola tarjeta visible en el centro con un concepto. Dos botones
   editoriales a izquierda/derecha mandan la carta en esa dirección con
   una rotación direccional. La siguiente sube. Al final, summary card. */
.approach-vote {
  margin: 1rem 0 0;
}

.vote-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 2rem;
  flex-wrap: wrap;
}
.vote-rules {
  margin: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgb(var(--ink-rgb) / 0.6);
  max-width: 38rem;
}
.vote-progress {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.vote-tot {
  color: rgb(var(--ink-rgb) / 0.4);
  font-family: 'PP Editorial New', serif;
  font-style: italic;
}

/* Stage: lateral buttons + deck centrado */
.vote-stage {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px) 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: clamp(380px, 50vh, 520px);
}
@media (max-width: 800px) {
  .vote-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "deck deck" "left right";
    row-gap: 1.4rem;
  }
  .vote-deck { grid-area: deck; }
  .vote-side--normal { grid-area: left; }
  .vote-side--nuestro { grid-area: right; }
}

.vote-side {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  color: var(--ink);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.vote-side:disabled {
  opacity: 0.35;
  cursor: default;
}
.vote-side--normal { align-items: flex-end; text-align: right; }
.vote-side--nuestro { align-items: flex-start; text-align: left; }

.vote-side-cue {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.5);
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
}
.vote-side-tag {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.7);
  transition: color 0.25s ease;
}
.vote-side:hover:not(:disabled) .vote-side-cue {
  color: var(--ink);
  transform: translateX(var(--cue-shift, 0));
}
.vote-side--normal { --cue-shift: -8px; }
.vote-side--nuestro { --cue-shift: 8px; }
.vote-side:hover:not(:disabled) .vote-side-tag {
  color: var(--ink);
}

/* Deck: stack de cartas absolutas. Solo la top es interactiva. */
.vote-deck {
  position: relative;
  height: clamp(360px, 48vh, 480px);
  perspective: 1400px;
}

.vote-card,
.vote-summary {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--cream);
  border: 1px solid rgb(var(--ink-rgb) / 0.22);
  border-radius: 18px;
  box-shadow: 0 12px 30px -16px rgb(var(--ink-rgb) / 0.25);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.45s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
}

/* Stack offset: cartas detrás se ven en escalera. --i = orden, --top = índice de la top actual. --d = i - top */
.vote-card {
  --d: calc(var(--i) - var(--top, 0));
  transform:
    translateY(calc(var(--d) * 10px))
    translateX(calc(var(--d) * 0px))
    scale(calc(1 - var(--d) * 0.04))
    rotate(calc(var(--d) * -1deg));
  z-index: calc(100 - var(--i));
  opacity: 1;
}
.vote-card[data-state="hidden"] {
  pointer-events: none;
  opacity: 0;
}
.vote-card[data-state="flying-left"] {
  transform: translateX(-130%) rotate(-22deg);
  opacity: 0;
  pointer-events: none;
}
.vote-card[data-state="flying-right"] {
  transform: translateX(130%) rotate(22deg);
  opacity: 0;
  pointer-events: none;
}

.vote-card-num {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgb(var(--ink-rgb) / 0.55);
}

.vote-card-text {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
  align-self: flex-end;
  text-align: left;
  width: 100%;
}

/* Summary card — visible solo cuando todas las cartas se han votado. */
.vote-summary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.5s ease 0.2s, transform 0.55s cubic-bezier(0.5, 0, 0.2, 1) 0.2s;
}
.vote-summary[data-state="visible"] {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 200;
}

.vote-summary-tag {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgb(237 228 221 / 0.6);
}
.vote-summary-score {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--cream);
}
.vote-summary-tot {
  color: rgb(237 228 221 / 0.4);
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-size: 0.55em;
}
.vote-summary-msg {
  margin: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.3;
  color: rgb(237 228 221 / 0.85);
  max-width: 32ch;
}

.vote-reset {
  appearance: none;
  background: none;
  border: 1px solid rgb(237 228 221 / 0.4);
  border-radius: 999px;
  padding: 0.7em 1.4em;
  cursor: pointer;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  align-self: flex-start;
  transition: background 0.25s ease, color 0.25s ease;
}
.vote-reset:hover {
  background: var(--cream);
  color: var(--ink);
}

/* (Bloque game anterior — neutralizado) */
.approach-game {
  margin: 1rem 0 0;
  --bucket-bg: rgb(var(--ink-rgb) / 0.04);
  --bucket-border: rgb(var(--ink-rgb) / 0.22);
}

.game-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.6rem;
  flex-wrap: wrap;
}
.game-rules {
  margin: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: rgb(var(--ink-rgb) / 0.6);
}
.game-counter {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.game-counter-tot {
  color: rgb(var(--ink-rgb) / 0.4);
}

/* Tablero: 2 buckets a los lados + pool central. */
.game-board {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.4fr) 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
  min-height: clamp(360px, 50vh, 520px);
}
@media (max-width: 800px) {
  .game-board {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "pool pool"
      "left right";
  }
  .game-pool { grid-area: pool; }
  .game-bucket--normal { grid-area: left; }
  .game-bucket--nuestro { grid-area: right; }
}

.game-bucket {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  padding: 1.4rem 1.2rem;
  background: var(--bucket-bg);
  border: 1.5px dashed var(--bucket-border);
  border-radius: 18px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  min-height: 300px;
}
.game-bucket.is-targeted {
  background: rgb(var(--ink-rgb) / 0.1);
  border-color: var(--ink);
  border-style: solid;
}
.game-bucket--nuestro {
  background: var(--ink);
  border-color: var(--ink);
  border-style: solid;
}
.game-bucket--nuestro .game-bucket-tag,
.game-bucket--nuestro .game-bucket-cue { color: var(--cream); }

.game-bucket-tag {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.game-bucket-cue {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.4);
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.game-bucket.is-targeted .game-bucket-cue {
  transform: scale(1.15);
  color: var(--ink);
}
.game-bucket--nuestro.is-targeted .game-bucket-cue {
  color: var(--cream);
}

/* Chips colocadas dentro del bucket: stack apilable con leve overlap. */
.game-bucket .game-chip {
  position: relative;
  pointer-events: none;
  cursor: default;
  transform: rotate(var(--r, 0deg));
  margin: 0;
  z-index: 0;
}
.game-bucket--nuestro .game-chip {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

/* Pool central: cuadrícula floja de chips. */
.game-pool {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0.6rem;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgb(var(--ink-rgb) / 0.25);
  border-radius: 999px;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 4px 14px -8px rgb(var(--ink-rgb) / 0.25);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.25s ease, color 0.25s ease;
}
.game-chip:hover {
  transform: rotate(var(--r, 0deg)) translateY(-1px);
  box-shadow: 0 8px 22px -10px rgb(var(--ink-rgb) / 0.32);
}
.game-chip.is-dragging {
  cursor: grabbing;
  z-index: 10;
  box-shadow: 0 14px 36px -10px rgb(var(--ink-rgb) / 0.45);
  transition: none;
}
.game-chip.is-correct {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  cursor: default;
  box-shadow: none;
}
.game-chip.is-wrong {
  animation: chip-shake 0.45s ease;
  border-color: rgb(var(--ink-rgb) / 0.5);
}

@keyframes chip-shake {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateX(0); }
  20% { transform: rotate(var(--r, 0deg)) translateX(-8px); }
  40% { transform: rotate(var(--r, 0deg)) translateX(8px); }
  60% { transform: rotate(var(--r, 0deg)) translateX(-5px); }
  80% { transform: rotate(var(--r, 0deg)) translateX(5px); }
}

.game-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  min-height: 1.5rem;
}
.game-summary {
  margin: 0;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  color: var(--ink);
}
.game-summary.is-perfect { color: var(--ink); font-weight: 400; }

.game-reset {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgb(var(--ink-rgb) / 0.55);
  transition: color 0.3s ease;
}
.game-reset:hover { color: var(--ink); }

/* (Bloque toss anterior — neutralizado) */
.approach-toss {
  margin: 1rem 0 0;
}

.toss-instructions {
  margin: 0 0 1.6rem;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: rgb(var(--ink-rgb) / 0.6);
  max-width: 38rem;
}

.toss-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 1.6vw, 1.6rem);
}
@media (max-width: 700px) {
  .toss-grid { grid-template-columns: 1fr; }
}

.toss-cell {
  position: relative;
  min-height: clamp(200px, 22vw, 260px);
}

/* La verdad: vive debajo, alineada al mismo padding que la tarjeta. */
.toss-solution {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  border-top: 1px solid rgb(var(--ink-rgb) / 0.18);
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.18);
  opacity: 0;
  transition: opacity 0.45s ease 0.2s;
}
.toss-solution .toss-tag {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgb(var(--ink-rgb) / 0.55);
}
.toss-solution p {
  margin: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
}

/* La tarjeta-problema: cubre la verdad. Click → vuela y rota. */
.toss-card {
  appearance: none;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 4ch 1fr auto;
  align-items: center;
  column-gap: clamp(0.75rem, 1.4vw, 1.4rem);
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  background: var(--cream);
  border: 1px solid rgb(var(--ink-rgb) / 0.22);
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
  transform: rotate(0) translate(0, 0);
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.5, -0.2, 0.5, 1.2), opacity 0.45s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.toss-card:hover {
  box-shadow: 0 8px 24px -10px rgb(var(--ink-rgb) / 0.28);
  transform: rotate(-0.6deg) translateY(-2px);
}

.toss-num {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1;
  color: var(--ink);
}

.toss-text {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.toss-handle {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(var(--ink-rgb) / 0.4);
  font-family: 'Neue Faktum', sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.toss-card:hover .toss-handle {
  background: var(--ink);
  color: var(--cream);
}

/* Estado tirado: la tarjeta sale volando con una rotación direccional
   distinta por nth-child para que el conjunto se sienta orgánico. */
.toss-card.is-tossed {
  pointer-events: none;
  opacity: 0;
}
.toss-cell:nth-child(1) .toss-card.is-tossed { transform: translate(-30%, -45%) rotate(-22deg); }
.toss-cell:nth-child(2) .toss-card.is-tossed { transform: translate( 35%, -50%) rotate( 18deg); }
.toss-cell:nth-child(3) .toss-card.is-tossed { transform: translate(-25%,  55%) rotate( 14deg); }
.toss-cell:nth-child(4) .toss-card.is-tossed { transform: translate( 30%,  50%) rotate(-16deg); }

.toss-cell:has(.toss-card.is-tossed) .toss-solution {
  opacity: 1;
}

.toss-reset {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  margin: 1.4rem 0 0;
  cursor: pointer;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgb(var(--ink-rgb) / 0.55);
  transition: color 0.3s ease;
  display: none;
}
.toss-reset:hover { color: var(--ink); }

.approach-toss[data-any-tossed="true"] .toss-reset {
  display: inline-block;
}

/* (Bloque chat anterior — neutralizado, el HTML ya no lo usa) */
.approach-chat {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2vw, 2rem);
  max-width: 56rem;
  margin: 2rem auto 0;
  padding: 0 var(--margin);
}

.chat-line {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 80%;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-line--them {
  align-self: flex-start;
  align-items: flex-start;
}
.chat-line--us {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-tag {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1;
  color: rgb(var(--ink-rgb) / 0.5);
  padding: 0 1.2rem;
}

.chat-bubble {
  margin: 0;
  padding: 1rem 1.4rem;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-radius: 22px;
}

.chat-line--them .chat-bubble {
  background: transparent;
  color: rgb(var(--ink-rgb) / 0.65);
  border: 1px solid rgb(var(--ink-rgb) / 0.25);
  border-bottom-left-radius: 6px;
  font-style: italic;
}
.chat-line--us .chat-bubble {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-bottom-right-radius: 6px;
}

/* Reveal por step — cada burbuja entra con 0.55s extra sobre la anterior.
   Cuando data-state="active", aplicamos los delays. */
.approach-chat[data-state="active"] .chat-line[data-step="1"] { opacity: 1; transform: none; transition-delay: 0.10s; }
.approach-chat[data-state="active"] .chat-line[data-step="2"] { opacity: 1; transform: none; transition-delay: 0.65s; }
.approach-chat[data-state="active"] .chat-line[data-step="3"] { opacity: 1; transform: none; transition-delay: 1.30s; }
.approach-chat[data-state="active"] .chat-line[data-step="4"] { opacity: 1; transform: none; transition-delay: 1.85s; }
.approach-chat[data-state="active"] .chat-line[data-step="5"] { opacity: 1; transform: none; transition-delay: 2.50s; }
.approach-chat[data-state="active"] .chat-line[data-step="6"] { opacity: 1; transform: none; transition-delay: 3.05s; }
.approach-chat[data-state="active"] .chat-line[data-step="7"] { opacity: 1; transform: none; transition-delay: 3.70s; }
.approach-chat[data-state="active"] .chat-line[data-step="8"] { opacity: 1; transform: none; transition-delay: 4.25s; }

/* "Done" muestra todo de golpe sin esperas. */
.approach-chat[data-state="done"] .chat-line {
  opacity: 1;
  transform: none;
  transition: none;
}

.approach-chat-skip {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  margin: 1rem 0 0;
  align-self: center;
  cursor: pointer;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgb(var(--ink-rgb) / 0.55);
  transition: color 0.3s ease;
}
.approach-chat-skip:hover { color: var(--ink); }
.approach-chat[data-state="done"] .approach-chat-skip { display: none; }

@media (max-width: 700px) {
  .chat-line { max-width: 92%; }
  .chat-bubble { padding: 0.85rem 1.1rem; }
}

/* Cierre de la sección Problemas — sentencia que enlaza con la solución */
.approach-outro {
  margin: 4rem 0 0;
  max-width: 56rem;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.approach-num {
  grid-column: 1;
  grid-row: 1;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.approach-heading {
  grid-column: 2;
  grid-row: 1;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.approach-body {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.4;
  color: rgb(var(--ink-rgb) / 0.7);
  margin: 0;
  max-width: 32ch;
}

/* ===========================
   PLANS
   =========================== */

.plans {
  padding: 14rem var(--margin);
  background: var(--ink-deep);
  color: var(--cream);
}

.plans-title {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.plans-subtitle {
  font-size: 1.05rem;
  color: rgb(var(--cream-rgb) / 0.5);
  margin-bottom: 4rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.plan-card {
  border: 1px solid rgb(var(--cream-rgb) / 0.1);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  transition: border-color 0.4s, background 0.4s;
}

.plan-card:hover {
  border-color: rgb(var(--cream-rgb) / 0.25);
  background: rgb(var(--cream-rgb) / 0.03);
}

.plan-card-featured {
  border-color: var(--red);
}

.plan-card-featured:hover {
  border-color: var(--red);
  background: rgb(var(--red-rgb) / 0.08);
}

.plan-num {
  display: block;
  font-size: 0.72rem;
  color: rgb(var(--cream-rgb) / 0.3);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.plan-name {
  font-family: 'PP Editorial New', serif;
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.plan-tag {
  display: block;
  font-family: 'Suisse Intl', sans-serif;
  font-size: 0.98rem;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: rgb(var(--cream-rgb) / 0.78);
  margin: 0 0 1.75rem;
  max-width: 24rem;
}

.plan-card-featured .plan-tag {
  color: var(--red);
}

.plan-for {
  margin: 0 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(var(--cream-rgb) / 0.1);
}

.plan-for p {
  font-family: 'Suisse Intl', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgb(var(--cream-rgb) / 0.55);
  line-height: 1.6;
  margin: 0;
}

.plan-for p + p {
  margin-top: 0.9rem;
}

.plan-note {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgb(var(--cream-rgb) / 0.55);
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--cream-rgb) / 0.08);
}

.plan-card-featured .plan-note {
  color: rgb(var(--red-rgb) / 0.85);
  border-top-color: rgb(var(--red-rgb) / 0.22);
}

/* ===========================
   MARQUEE
   =========================== */

.marquee {
  overflow: hidden;
  padding: 1.25rem 0;
  white-space: nowrap;
}

.marquee-dark .marquee-track span {
  color: var(--cream);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-reverse .marquee-track {
  animation: marquee-scroll-reverse 25s linear infinite;
}

.marquee-track > span {
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-track span {
  font-family: 'SuisseIntl', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.marquee-track .mq-regular {
  font-weight: 400;
}

.marquee-track .mq-pill {
  font-weight: 400;
  border: 1px solid rgb(var(--ink-rgb) / 0.25);
  border-radius: 100px;
  padding: 0.35em 0.8em;
  display: inline-block;
}

.marquee-dark .mq-pill {
  border-color: rgb(var(--cream-rgb) / 0.25);
}

.marquee-track .mq-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  vertical-align: middle;
  margin: 0 0.6em;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ===========================
   FULL IMAGE
   =========================== */

.fullimage {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--red);
}

.fullimage-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--red);
}

.shapes-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 100vw;
  height: 100%;
}

/* ===========================
   PROCESS
   =========================== */

.process {
  padding: 14rem var(--margin);
  background: var(--ink);
  color: var(--cream);
  /* Flip ctx vars: foreground is now cream over ink */
  --ctx-fg: var(--cream);
  --ctx-fg-55: rgb(var(--cream-rgb) / 0.55);
  --ctx-fg-50: rgb(var(--cream-rgb) / 0.5);
  --ctx-fg-45: rgb(var(--cream-rgb) / 0.45);
  --ctx-fg-30: rgb(var(--cream-rgb) / 0.3);
  --ctx-fg-25: rgb(var(--cream-rgb) / 0.25);
  --ctx-fg-10: rgb(var(--cream-rgb) / 0.1);
  --ctx-fg-02: rgb(var(--cream-rgb) / 0.02);
}

.process-sticky {
}

/* Header con la misma maquetación que .approach-header: title (cols 1-7),
   subtitle (cols 8-12) alineados a la línea base. */
.process-header {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  column-gap: var(--gutter);
  align-items: start;
  margin-bottom: 4rem;
}

.process-title {
  grid-column: span 7;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 8.25vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--ctx-fg);
  margin: 0;
  transition: color 0.6s ease;
}

.process-aside {
  grid-column: 8 / -1;
  /* Cap-height offset para que "A TU MEDIDA" arranque a la altura visual de
     la cima de "CÓMO" (Neue Faktum tiene mucho ascent + line-height 0.86). */
  padding-top: clamp(0.6rem, 1.6vw, 1.7rem);
  max-width: 28rem;
}

.process-subtitle-kicker {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ctx-fg);
  margin: 0 0 0.6rem 0;
  transition: color 0.6s ease;
}

.process-subtitle {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ctx-fg-55);
  margin: 0;
  transition: color 0.6s ease;
}

.process-list {
  margin-top: 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: 4rem 1fr 1fr auto;
  column-gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--ctx-fg-10);
  cursor: pointer;
  transition: background 0.5s ease, border-color 0.6s ease;
}

.process-step:hover {
  background: var(--ctx-fg-02);
}

.process-step:last-child {
  border-bottom: 1px solid var(--ctx-fg-10);
}

.process-num {
  font-size: 0.8rem;
  color: var(--ctx-fg-30);
  letter-spacing: 0.05em;
  transition: color 0.6s ease;
}

.process-name {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ctx-fg);
  transition: color 0.6s ease;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--ctx-fg-50);
  line-height: 1.5;
  max-width: 400px;
  transition: color 0.6s ease;
}

.process-arrow {
  font-size: 1.4rem;
  color: var(--ctx-fg-25);
  transition: color 0.5s ease, transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  line-height: 1;
}

.process-step:hover .process-arrow {
  color: var(--red);
}

.process-step:hover .process-arrow {
  transform: rotate(45deg);
  color: var(--red);
}

/* Expandable detail */
.process-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
}

.process-step:hover .process-detail {
  max-height: 200px;
  opacity: 1;
}

.process-detail {
  grid-column: 3 / 4;
}

.process-detail p {
  font-size: 0.9rem;
  color: var(--ctx-fg-55);
  line-height: 1.5;
  max-width: 400px;
  padding: 0.75rem 0 0.5rem 2.5rem;
  transition: color 0.6s ease;
}

/* ===========================
   PROCESS — desktop horizontal scroll cards
   La sección crece hasta 250vh; .process-sticky se queda pinned en
   100vh; los 4 .process-step son tarjetas en flex-row con width 25%,
   y la primera arranca en 100% — JS la encoge a 25% según el progreso
   de scroll, haciendo que las otras tres entren desde la derecha.
   =========================== */
@media (min-width: 992px) {
  .process {
    /* runway: 100vh (sticky) + (N-1) * 100vh (fases). Para 3 steps → 300vh */
    height: 300vh;
    padding: 0;
    position: relative;
  }
  .process-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 8rem var(--margin) 4rem;
    display: flex;
    flex-direction: column;
  }
  .process-header {
    flex-shrink: 0;
    margin-bottom: 3rem;
  }
  .process-list {
    display: flex;
    flex: 1;
    margin: 0;
    gap: 1.25rem;
    align-items: stretch;
  }
  .process-step {
    position: relative;
    flex-shrink: 0;
    /* width inicial por orden; el JS la sobrescribe en runtime */
    width: 25%;
    /* Grid: cabecera (título + número) en fila 1, logo centrado en fila 2, detalle en fila 3 */
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    column-gap: 1rem;
    row-gap: 1.25rem;
    padding: 2rem;
    border: 1px solid rgb(var(--cream-rgb) / 0.14);
    border-radius: 1.5rem;
    background: rgb(var(--cream-rgb) / 0.025);
    cursor: default;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
  }
  /* widths iniciales en cascada (antes de que entre el JS) — 3 steps */
  .process-step:nth-child(1) { width: 100%; }
  .process-step:nth-child(2) { width: 66.66%; }
  .process-step:nth-child(3) { width: 33.33%; }
  .process-step:last-child {
    border-bottom: 1px solid rgb(var(--cream-rgb) / 0.14);
  }
  .process-step:hover {
    background: rgb(var(--cream-rgb) / 0.045);
  }
  .process-step .process-name {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: clamp(1.95rem, 2.7vw, 2.8rem);
    margin: 0;
  }
  .process-step .process-num {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  /* En card mode solo se muestra el párrafo del detalle (más completo).
     La descripción corta queda oculta para no duplicar mensaje. */
  .process-step .process-desc {
    display: none;
  }
  .process-step .process-arrow {
    display: none;
  }
  /* Logo absolutamente centrado en la card (independiente de cabecera/detalle) */
  .process-step .process-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Bounding box cuadrado para que las 3 ilustraciones (con distinta
       relación de aspecto) ocupen el mismo área visual. */
    width: clamp(140px, 55%, 260px);
    height: clamp(140px, 55%, 260px);
    object-fit: contain;
    object-position: center;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    /* Las 3 ilustraciones tienen fill cream nativo (#EDE4DD) — sin filtro para
       que el color coincida exactamente con el del texto en todas. */
    filter: none;
  }
  /* Acompañar (3ª): un pelín más pequeña que las otras */
  .process-step:nth-child(3) .process-logo {
    width: clamp(120px, 47%, 220px);
    height: clamp(120px, 47%, 220px);
  }
  /* Detalle siempre visible dentro de la tarjeta (ya no es expandible) */
  .process-step .process-detail {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: end;
    max-height: none;
    opacity: 1;
    overflow: visible;
    transition: none;
    margin-top: 0;
  }
  .process-step:hover .process-detail {
    max-height: none;
    opacity: 1;
  }
  .process-step .process-detail p {
    /* El texto no excede el ancho mínimo de la card (= ancho final),
       descontando el padding lateral (2rem * 2). Si el JS no ha entrado
       todavía, usamos un fallback razonable. */
    max-width: calc(var(--card-min-w, 30vw) - 4rem);
    margin-right: auto;
    text-align: left;
    padding: 0;
  }
}

/* ===========================
   QUOTE
   =========================== */

.quote {
  padding: 6rem var(--margin);
  background: var(--cream-soft);
}

.quote-inner {
  text-align: center;
}

.quote blockquote p {
  font-family: 'Suisse Intl', sans-serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding: 6rem var(--margin) 2rem;
  overflow: hidden;
}

.footer-image {
  position: relative;
  margin: 0 auto 4rem;
  overflow: hidden;
  height: 90vh;
  width: 40%;
  border-radius: 12px;
  background: var(--ink);
}

.footer-image img {
  --sy: 0px;
  display: block;
  position: absolute;
  top: -22%;
  left: 0;
  width: 100%;
  height: 144%;
  object-fit: cover;
  transform: translateY(var(--sy));
  will-change: transform;
}

.footer-image-text {
  max-width: 32rem;
  color: var(--cream);
  font-family: 'Neue Faktum', 'Suisse Intl', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8rem, 0.95vw, 1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 2rem 0;
}

@media (max-width: 900px) {
  .footer-image-text {
    max-width: none;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
}

.footer-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.footer-cta-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4.5rem 3rem;
  border: 1px solid rgb(var(--cream-rgb) / 0.18);
  border-radius: 100px;
  text-decoration: none;
  color: var(--cream);
  font-family: 'Neue Faktum', 'Suisse Intl', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: border-radius 0.45s cubic-bezier(0.7, 0, 0.2, 1), background 0.35s ease, border-color 0.35s ease;
}

.footer-cta-pill:hover {
  border-radius: 40px;
  background: rgb(var(--cream-rgb) / 0.06);
  border-color: rgb(var(--cream-rgb) / 0.32);
}

.footer-hero {
  text-align: center;
  font-size: clamp(5rem, 13vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 4rem;
  white-space: nowrap;
  padding: 0;
}

.footer-hero-regular {
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
}

.footer-hero-italic {
  font-family: 'PP Editorial New', serif;
  font-weight: 200;
  font-style: italic;
}

.footer-hero-underline {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.08em;
  text-decoration-thickness: 3px;
}

.footer-legal-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-legal-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgb(var(--cream-rgb) / 0.25);
  border-radius: 100px;
  color: rgb(var(--cream-rgb) / 0.55);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.footer-legal-pill:hover {
  color: var(--cream);
  border-color: rgb(var(--cream-rgb) / 0.55);
  background: rgb(var(--cream-rgb) / 0.04);
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(var(--cream-rgb) / 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgb(var(--cream-rgb) / 0.4);
}

.footer-bottom-brand {
  font-weight: 400;
}

.footer-bottom-tagline em {
  font-family: 'PP Editorial New', serif;
  font-style: italic;
}

/* ===========================
   RESPONSIVE — tablet
   =========================== */

@media (max-width: 1023px) {
  .glance-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .glance-card {
    min-height: 320px;
  }

  .glance-card-light {
    grid-column: span 2;
    min-height: 200px;
  }

  /* Mobile: --cols = 6, so span 3 → 2 cards per row */

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid .plan-card:last-child {
    grid-column: span 2;
  }

  .process-step {
    grid-template-columns: 3rem 1fr auto;
    column-gap: 1.5rem;
  }

  .process-desc {
    grid-column: 2;
    margin-top: 0.5rem;
  }

  .process-detail {
    grid-column: 2 / -1 !important;
  }

  .process-detail p {
    padding-left: 0;
  }

  .about {
    padding: 8rem var(--margin);
  }

  .about-statement {
    margin-bottom: 5rem;
  }

  .about-detail {
    column-gap: 3rem;
  }

  .process {
    padding: 8rem var(--margin);
  }

  .plans {
    padding: 8rem var(--margin);
  }

  .footer-cta-pill {
    padding: 3rem 2rem;
  }

  .form-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   RESPONSIVE — mobile
   =========================== */

@media (max-width: 767px) {

  :root {
    --margin: 1.25rem;
  }

  /* --- Hide custom cursor on touch --- */
  html {
    cursor: auto;
  }

  .cursor,
  .cursor-trail {
    display: none !important;
  }

  /* --- Nav --- */
  .nav {
    display: flex;
    justify-content: center;
    padding: 0.8rem var(--margin);
    background: transparent;
  }

  .nav-left,
  .nav-center,
  .nav-right {
    display: none;
  }

  .nav-mobile-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    background: rgb(var(--ink-rgb) / 0.65);
    border: 1px solid rgb(var(--cream-rgb) / 0.08);
    border-radius: 100px;
    padding: 0.25rem;
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    backdrop-filter: blur(24px) saturate(1.5);
  }

  .nav-mobile-bar canvas {
    justify-self: center;
    width: 38px;
    height: 38px;
    margin: -5px 0;
  }

  .nav-mobile-link {
    font-family: 'Suisse Intl', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
  }

  .nav-mobile-link:first-child {
    justify-self: start;
  }

  .nav-mobile-link:last-child {
    justify-self: end;
  }

  .nav-mobile-link:active {
    background: rgb(var(--cream-rgb) / 0.1);
  }

  /* --- Hero --- */
  .hero-top {
    height: auto;
    min-height: 80vh;
  }

  .hero-brand {
    height: 70vh;
    padding-bottom: 1.5rem;
  }

  .hero-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .hero-bottom-right {
    display: none;
  }

  .hero-bottom-left p,
  .hero-bottom-center p {
    font-size: 0.8rem;
  }

  .hero-video-label {
    font-size: 0.6rem;
  }

  .hero-video-tl,
  .hero-video-tr,
  .hero-video-bl,
  .hero-video-br {
    top: 0.8rem;
    left: 0.8rem;
  }

  .hero-video-tr {
    left: auto;
    right: 0.8rem;
  }

  .hero-video-bl {
    top: auto;
    bottom: 0.8rem;
  }

  .hero-video-br {
    top: auto;
    left: auto;
    bottom: 0.8rem;
    right: 0.8rem;
  }

  /* --- About --- */
  .about {
    padding: 5rem var(--margin);
  }

  .about-statement {
    margin-bottom: 3.5rem;
  }

  .about-statement p {
    font-size: clamp(1.75rem, 8.5vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }

  .br-m {
    display: inline;
  }

  .about-inline-img {
    width: 1.15em;
    height: 0.62em;
    border-radius: 0.08em;
  }

  .about-detail {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1.5rem;
  }

  .about-detail-left {
    display: none;
  }

  .about-detail-right {
    text-align: center;
  }

  .about-detail-right p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: none;
  }

  .text-link {
    font-size: 1rem;
    justify-content: center;
  }

  /* --- Hero video --- */
  .hero-video {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
  }

  /* --- Showcase --- */
  .showcase-media {
    aspect-ratio: 4 / 5;
  }

  .showcase-media img,
  .showcase-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .showcase-top-text,
  .showcase-bottom-text {
    font-size: clamp(3.5rem, 18vw, 7rem);
  }

  /* --- Clientes / para quién --- */
  .clients {
    padding: 5rem var(--margin);
  }

  .clients-subtitle {
    margin-bottom: 2.5rem;
  }

  .client-line-text {
    font-size: clamp(2rem, 10vw, 3.5rem);
    padding: 12px 0;
  }

  .client-line-img {
    display: none;
  }

  /* --- Approach (horizontal scroll) --- */
  .approach {
    padding: 5rem 0;
  }

  .approach-title,
  .approach-subtitle {
    padding: 0 var(--margin);
    text-align: center;
  }

  .approach-subtitle {
    margin-bottom: 2rem;
    max-width: none;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.5rem var(--margin) 1.25rem;
  }

  .approach-item {
    padding: 1.75rem 1.5rem;
    min-height: 18rem;
    border-radius: 24px;
  }

  .approach-num {
    margin-bottom: auto;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .approach-heading {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .approach-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0 0;
  }

  .approach-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(var(--ink-rgb) / 0.15);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .approach-dot.is-active {
    background: var(--red);
    transform: scale(1.3);
  }

  .approach-item:first-child {
    /* handled by grid padding */
  }

  .approach-item:last-child,
  .approach-item:nth-child(odd),
  .approach-item:nth-child(2n),
  .approach-item:last-child:nth-child(2n) {
    /* reset legacy hairline rules — pills handle their own borders */
  }

  /* --- Process --- */
  .process {
    padding: 5rem var(--margin);
  }

  .process-header {
    margin-bottom: 2rem;
    text-align: center;
  }

  .process-subtitle {
    max-width: none;
  }

  .process-list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .process-step {
    display: block;
    padding: 1.8rem 1.5rem 2rem;
    position: relative;
    background: rgb(var(--ink-rgb) / 0.025);
    border-radius: 12px;
    border: none;
    min-height: 140px;
    transition: background 0.4s ease;
    text-align: left;
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .process-step.is-open {
    background: rgb(var(--ink-rgb) / 0.04);
  }

  /* Disable hover on mobile */
  .process-step:hover {
    background: rgb(var(--ink-rgb) / 0.025);
  }

  .process-step:hover .process-detail {
    max-height: 0;
    opacity: 0;
  }

  .process-step:hover .process-arrow {
    transform: none;
    color: rgb(var(--ink-rgb) / 0.25);
  }

  /* Num + Name inline row */
  .process-num {
    font-size: 1.4rem;
    color: rgb(var(--ink-rgb) / 0.3);
    letter-spacing: 0.02em;
    display: inline;
    margin-right: 0.4rem;
    vertical-align: baseline;
    font-family: 'PP Editorial New', serif;
    font-weight: 400;
  }

  .process-name {
    font-size: 1.4rem;
    margin-bottom: 0;
    display: inline;
  }

  .process-desc {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: rgb(var(--ink-rgb) / 0.4);
    line-height: 1.5;
    max-width: none;
    padding-right: 0;
  }

  .process-arrow {
    display: block;
    position: absolute;
    top: 1.6rem;
    right: 1.5rem;
    font-size: 1.2rem;
    color: rgb(var(--ink-rgb) / 0.2);
    transition: transform 0.4s ease, color 0.4s ease;
  }

  .process-step.is-open .process-arrow {
    transform: rotate(45deg);
    color: var(--red);
  }

  .process-detail {
    grid-column: unset !important;
    max-height: 0;
    overflow: hidden;
  }

  .process-detail p {
    padding: 0.8rem 0 0;
    max-width: none;
    font-size: 0.85rem;
    color: rgb(var(--ink-rgb) / 0.6);
    line-height: 1.6;
  }

  /* Tap to expand on mobile (JS adds .is-open) */
  .process-step.is-open .process-detail {
    max-height: 300px;
    opacity: 1;
  }

  /* --- Plans --- */
  .plans {
    padding: 5rem var(--margin);
  }

  .plans-title {
    text-align: center;
  }

  .plans-subtitle {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid .plan-card:last-child {
    grid-column: auto;
  }

  .plan-card {
    padding: 2rem 1.5rem;
    border-radius: 14px;
  }

  /* --- Fullimage / shapes --- */
  .fullimage-wrapper {
    height: 60vh;
  }

  /* --- Footer --- */
  .footer {
    padding: 4rem var(--margin) 1.5rem;
  }

  .footer-image {
    margin-bottom: 2.5rem;
    height: 70vh;
  }

  .footer-cta {
    margin-bottom: 3rem;
  }

  .footer-cta-pill {
    padding: 1.8rem 2rem;
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    border-radius: 100px;
    white-space: nowrap;
  }

  .footer-hero {
    white-space: normal;
    font-size: clamp(3.5rem, 15vw, 6rem);
    margin-bottom: 3rem;
  }

  .footer-legal-pills {
    gap: 0.4rem;
  }

  .footer-legal-pill {
    padding: 0.5rem 0.9rem;
    font-size: 0.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .footer-bottom-brand {
    font-size: 0.65rem;
  }

  /* --- Form overlay --- */
  .form-overlay {
    height: 100vh;
    border-radius: 0;
  }

  .form-container {
    width: 92%;
    max-height: 85vh;
    padding-bottom: 2rem;
  }

  .form-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .form-option-box {
    min-height: 140px;
    padding: 0.8rem;
  }

  .form-option-name {
    font-size: 1.3rem;
  }

  .form-option-desc {
    font-size: 0.78rem;
  }

  .form-question {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 1.5rem;
  }

  .form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }

  .form-textarea {
    min-height: 140px;
    margin-bottom: 2rem;
  }

  .form-terms {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  /* --- Quote --- */
  /* --- Quote --- */
  .quote {
    padding: 4rem var(--margin);
  }
}

/* ===========================
   MOBILE MENU
   =========================== */

.mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: var(--ink-deep);
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2.5rem var(--margin) 1.5rem;
    overflow-y: auto;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu.is-fading .mobile-menu-nav,
  .mobile-menu.is-fading .mobile-menu-top,
  .mobile-menu.is-fading .mobile-menu-bottom {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-nav,
  .mobile-menu-top,
  .mobile-menu-bottom {
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  /* Close button */
  .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: var(--margin);
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    line-height: 1;
    opacity: 0.5;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-close:active {
    opacity: 1;
  }

  /* Top — logo blob */
  .mobile-menu-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
  }

  .mobile-menu-top canvas {
    width: 60px;
    height: 60px;
  }

  /* Nav links */
  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1;
  }

  .mobile-menu-link {
    font-family: 'PP Editorial New', serif;
    font-size: clamp(2.6rem, 12vw, 5rem);
    font-weight: 200;
    color: var(--cream);
    text-decoration: none;
    padding: 0.5rem 0;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgb(var(--cream-rgb) / 0.08);
  }

  .mobile-menu-link:first-child {
    border-top: 1px solid rgb(var(--cream-rgb) / 0.08);
  }

  .mobile-menu-link:active {
    color: var(--red);
  }

  /* Bottom — mirrors footer */
  .mobile-menu-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 1.5rem;
    border: 1px solid rgb(var(--cream-rgb) / 0.2);
    border-radius: 100px;
    text-decoration: none;
    color: var(--cream);
    font-family: 'Suisse Intl', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
  }

  .mobile-menu-pill:active {
    background: rgb(var(--cream-rgb) / 0.06);
    border-color: rgb(var(--cream-rgb) / 0.4);
  }

  .mobile-menu-hero {
    text-align: center;
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--cream);
  }

  .mobile-menu-legal {
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: rgb(var(--cream-rgb) / 0.35);
    border-top: 1px solid rgb(var(--cream-rgb) / 0.08);
    padding-top: 1rem;
    width: 100%;
  }

  .mobile-menu-legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.6rem;
  }

  .mobile-menu-legal-links a {
    color: rgb(var(--cream-rgb) / 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-menu-legal-links a:active {
    color: var(--cream);
  }
}

/* ===========================
   PROFILE PAGES — shared layout
   =========================== */

.profile-body {
  background: var(--cream-soft);
  color: var(--ink);
}

.profile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1.5rem var(--margin);
  background: transparent;
  mix-blend-mode: difference;
}

.profile-nav .profile-nav-logo {
  justify-self: center;
}

.profile-nav .profile-nav-logo img {
  display: block;
  height: 28px;
  width: auto;
}

.profile-nav .profile-nav-back {
  justify-self: start;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.profile-nav .profile-nav-back:hover {
  opacity: 0.7;
}

.profile-nav .profile-nav-cta {
  justify-self: end;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.85rem;
  color: var(--cream);
  text-decoration: none;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}

.profile-nav .profile-nav-cta:hover {
  opacity: 0.7;
}

/* HERO */
.profile-hero {
  background: var(--ink-deep);
  color: var(--cream);
  padding: 12rem var(--margin) 6rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-eyebrow {
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--cream-rgb) / 0.5);
  margin-bottom: 2rem;
  display: inline-block;
}

.profile-title {
  font-family: 'PP Editorial New', serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 5.2vw, 74px);
  line-height: 1.09;
  letter-spacing: -0.016em;
  color: rgb(var(--cream-rgb) / 0.9);
  max-width: 14em;
}

.profile-title::before {
  content: '';
  float: left;
  width: 0;
  height: 1em;
}

@media (min-width: 1024px) {
  .profile-title::before {
    width: min(12vw, 230px);
  }
}

/* SECTIONS COMMON */
.profile-section {
  padding: 8rem var(--margin);
}

.profile-section-eyebrow {
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--ink-rgb) / 0.4);
  margin-bottom: 1rem;
  display: block;
}

.profile-section-title {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3rem;
}

/* CONCERNS — 3 editorial cards */
.profile-concerns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.profile-concern {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  min-height: 18rem;
  border: 1px solid rgb(var(--ink-rgb) / 0.14);
  border-radius: 28px;
  background: transparent;
  transition: background 0.5s cubic-bezier(0.22, 0.9, 0.2, 1), color 0.4s ease, transform 0.5s cubic-bezier(0.22, 0.9, 0.2, 1), border-color 0.4s ease;
}

@media (hover: hover) {
  .profile-concern:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--cream-soft);
    transform: translateY(-4px);
  }
}

.profile-concern-num {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: rgb(var(--ink-rgb) / 0.25);
  line-height: 1;
  transition: color 0.4s ease;
}

@media (hover: hover) {
  .profile-concern:hover .profile-concern-num {
    color: rgb(var(--cream-soft-rgb) / 0.6);
  }
}

.profile-concern-text {
  margin-top: auto;
  font-family: 'PP Editorial New', serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* METHODOLOGY — numbered editorial steps */
.profile-method-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-method-step {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgb(var(--ink-rgb) / 0.12);
  align-items: baseline;
}

.profile-method-step:last-child {
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.12);
}

.profile-method-num {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: rgb(var(--ink-rgb) / 0.35);
}

.profile-method-content {
  max-width: 40rem;
}

.profile-method-name {
  font-family: 'PP Editorial New', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.profile-method-desc {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: rgb(var(--ink-rgb) / 0.6);
}

/* CONTACT */
.profile-contact {
  padding: 6rem var(--margin) 8rem;
  background: var(--ink-deep);
  color: var(--cream);
}

.profile-contact-lead {
  font-family: 'PP Editorial New', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  max-width: 30rem;
}

.profile-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem 2.25rem;
  border: 1px solid rgb(var(--cream-rgb) / 0.25);
  border-radius: 999px;
  color: var(--cream);
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.profile-contact-cta:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.profile-contact-cta .arrow {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.profile-contact-cta:hover .arrow {
  transform: translate(2px, -2px);
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .profile-concerns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .profile-hero {
    padding: 9rem var(--margin) 4rem;
  }

  .profile-section {
    padding: 5rem var(--margin);
  }

  .profile-concerns-grid {
    grid-template-columns: 1fr;
  }

  .profile-concern {
    min-height: 15rem;
    padding: 1.75rem 1.5rem;
  }

  .profile-method-step {
    grid-template-columns: 4rem 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
  }

  .profile-contact {
    padding: 4rem var(--margin) 6rem;
  }
}

/* ===========================
   Pitch — post-plans display block (dfy-style)
   =========================== */

.pitch-block {
  height: 95vh;
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
  background: var(--cream-soft);
  color: var(--ink);
  /* Scoped context — flips ctx-fg so flower svg and any
     ctx-driven children render in ink instead of cream */
  --ctx-fg: var(--ink);
  --ctx-fg-55: rgb(var(--ink-rgb) / 0.55);
  --ctx-fg-50: rgb(var(--ink-rgb) / 0.5);
  --ctx-fg-45: rgb(var(--ink-rgb) / 0.45);
  --ctx-fg-30: rgb(var(--ink-rgb) / 0.3);
  --ctx-fg-25: rgb(var(--ink-rgb) / 0.25);
  --ctx-fg-10: rgb(var(--ink-rgb) / 0.1);
  --ctx-fg-02: rgb(var(--ink-rgb) / 0.02);
}

.pitch {
  position: relative;
  color: var(--ink);
  padding: 7rem var(--margin) 3rem;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Number sits at the exact top of the section, same font metrics as
   the title, so their cap-heights align on line 1 */
/* Num and title scale together at constant ratio (num ≈ 83.6% of title)
   so the tuned structure holds at every viewport width */
.pitch-num {
  position: absolute;
  top: calc(7rem + 0.22em);
  right: var(--margin);
  font-family: 'PP Editorial New', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.3rem, 6.9vw, 11.7rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
  z-index: 2;
  margin: 0;
}

.pitch-title {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 300;
  font-size: clamp(2.75rem, 8.25vw, 14rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  margin: 0 0 2rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.pitch-title-line {
  display: block;
}

.pitch-title em {
  font-style: italic;
  font-weight: 300;
}

.pitch-letter {
  position: relative;
  display: inline-block;
}

.pitch-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.08em;
  height: 0.08em;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.pitch-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 0 1.5rem;
  position: relative;
  z-index: 2;
}

.pitch-lead {
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.53rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

.pitch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 360px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: start;
}

.pitch-tags li {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem 0.5rem;
  border: 1px solid rgb(var(--ink-rgb) / 0.35);
  border-radius: 999px;
  font-family: 'Suisse Intl', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.3s ease, background 0.3s ease;
}

@media (hover: hover) {
  .pitch-tags li:hover {
    border-color: rgb(var(--ink-rgb) / 0.7);
    background: rgb(var(--ink-rgb) / 0.05);
  }
}

.pitch-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Neue Faktum', sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.53rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  z-index: 2;
  width: fit-content;
  padding-bottom: 2px;
}

.pitch-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(.4, 0, 0, 1);
}

@media (hover: hover) {
  .pitch-link:hover::after {
    transform-origin: left;
    animation: pitch-line 0.9s cubic-bezier(.4, 0, 0, 1);
  }

  .pitch-link:hover .pitch-arrow {
    transform: translate(3px, -2px);
  }
}

@keyframes pitch-line {
  0%   { transform: scaleX(1); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: right; }
  51%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.pitch-arrow {
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.45s cubic-bezier(.4, 0, 0, 1);
}

/* ===========================
   Flower — decorative outline block
   =========================== */

/* Hidden SVG filter defs container */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  overflow: hidden;
}

.flower {
  position: relative;
  padding: 0;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.flower-svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ctx-fg);
  transition: color 0.6s ease;
}

.flower-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

/* Filled variant — path uses evenodd rule to self-outline */
.flower-svg--filled path {
  fill: currentColor;
  stroke: none;
}

/* Images sit at the very bottom of the flower, where the shape ends.
   Side by side with a small gap — no overlap, no cursor/scroll displacement.
   Only the inner <img> still shifts for the internal parallax. */
.flower-images {
  position: absolute;
  bottom: 0;
  right: calc(var(--margin) + 1rem);
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  z-index: 2;
  pointer-events: none;
}

.flower-img {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 18px 40px -12px rgb(var(--ink-rgb) / 0.22);
  will-change: transform;
}

/* Inner image is taller than its frame; scroll parallax translates only
   the image while the frame stays put */
.flower-img img,
.flower-img video {
  --sy: 0px;
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  transform: translateY(var(--sy));
  will-change: transform;
  pointer-events: none;
}

.flower-img--1 {
  width: clamp(140px, 28vh, 560px);
  aspect-ratio: 9/16;
  z-index: 1;
}

/* Pitch 01: vertical academylab — sin parallax y aspect-ratio del mockup
   (832/1248 ≈ 2/3) para que entre entero. Mismo alto de slot. */
.pitch-block:first-of-type .flower .flower-img--1,
.flower:not(.flower--alt):not(.flower--offset) .flower-img--1 {
  aspect-ratio: 832 / 1248;
}
.pitch-block:first-of-type .flower .flower-img--1 video,
.pitch-block:first-of-type .flower .flower-img--1 img,
.flower:not(.flower--alt):not(.flower--offset) .flower-img--1 video,
.flower:not(.flower--alt):not(.flower--offset) .flower-img--1 img {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
}

.flower-img--2 {
  /* Mismo alto en las 3 secciones, formato 16:9 → ancho derivado */
  width: auto;
  height: clamp(128px, 27.2vh, 544px);
  aspect-ratio: 16/9;
  z-index: 2;
}

/* Compo 2: different proportions */
.flower--alt .flower-img--1 {
  aspect-ratio: 3/4;
}
/* Forzamos el slot horizontal de pitch 02 a 16:9 (mismo alto) — comp1 estaba
   asomando "alargado" por interacción con flex/inset, mejor explícito. */
.flower--alt .flower-img--2 {
  width: auto;
  height: clamp(128px, 27.2vh, 544px);
  aspect-ratio: 16 / 9;
}

/* Slot horizontal de pitch 01: video mellowtone (1600x1004 ≈ 1.594).
   Sin parallax — el video se ve entero, sin recorte. */
.pitch-block:first-of-type .flower .flower-img--2,
.flower:not(.flower--alt):not(.flower--offset) .flower-img--2 {
  width: auto;
  height: clamp(128px, 27.2vh, 544px);
  aspect-ratio: 1600 / 1004;
}


/* Compo 3: different proportions */
.flower--offset .flower-img--1 {
  aspect-ratio: 4/5;
}
/* Slot horizontal de pitch 03 ajustado al ratio del video rr.mp4 (~1.55)
   Sin parallax — el video se ve entero, sin recorte. */
.flower--offset .flower-img--2 {
  width: auto;
  height: clamp(128px, 27.2vh, 544px);
  aspect-ratio: 1114 / 720;
}

/* Slot horizontal sin parallax: el video/imagen llena el frame sin moverse
   y sin recortarse (la aspect-ratio de cada slot ya coincide con la del media).
   Se anula la regla base de parallax (top -15%, height 130%, transform).
   Aplica a los 3 slots horizontales (flower-img--2) — pitch 01, 02 y 03. */
.flower-img--2 video,
.flower-img--2 img {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
}


@media (prefers-reduced-motion: reduce) {
  .flower-img {
    transition: none;
  }
}

@media (max-width: 900px) {
  .pitch-block {
    height: auto;
    display: block;
    margin-bottom: 2rem;
  }

  .flower {
    padding: 0;
    height: 40vh;
    flex: none;
  }

  .flower-svg path {
    stroke-width: 0.9;
  }

  .flower-images {
    bottom: 1rem;
    right: var(--margin);
  }

  .flower-img--1 {
    width: clamp(90px, 22vw, 140px);
  }

  .flower-img--2 {
    width: clamp(100px, 24vw, 160px);
  }
}

@media (max-width: 900px) {
  .pitch {
    padding: 5rem var(--margin) 3rem;
    min-height: 60vh;
  }

  .pitch-num {
    top: 5rem;
    font-size: clamp(2.25rem, 11vw, 4.5rem);
    line-height: 1.02;
  }

  .pitch-title {
    font-size: clamp(2.25rem, 11vw, 4.5rem);
    line-height: 1.02;
    margin-bottom: 2.25rem;
    max-width: 100%;
  }

  .pitch-copy {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
  }

  .pitch-lead,
  .pitch-detail {
    font-size: 0.95rem;
  }

  .pitch-link {
    font-size: 0.95rem;
  }
}

/* ===========================
   Scroll-triggered bg + fg invert
   body.bg-ink toggled by JS when scroll crosses the
   para-quién / cómo-funciona boundary. The fade is a
   time-based CSS transition, and all contextual text +
   line colors invert in lockstep via --ctx-* variables.
   =========================== */

body {
  transition: background-color 0.6s ease, color 0.6s ease;
  /* Default context: ink foreground on cream bg */
  --ctx-fg: var(--ink);
  --ctx-fg-55: rgb(var(--ink-rgb) / 0.55);
  --ctx-fg-50: rgb(var(--ink-rgb) / 0.5);
  --ctx-fg-45: rgb(var(--ink-rgb) / 0.45);
  --ctx-fg-30: rgb(var(--ink-rgb) / 0.3);
  --ctx-fg-25: rgb(var(--ink-rgb) / 0.25);
  --ctx-fg-10: rgb(var(--ink-rgb) / 0.1);
  --ctx-fg-02: rgb(var(--ink-rgb) / 0.02);
}

body.bg-cream {
  background-color: var(--cream-soft);
  color: var(--ink);
  --ctx-fg: var(--ink);
  --ctx-fg-55: rgb(var(--ink-rgb) / 0.55);
  --ctx-fg-50: rgb(var(--ink-rgb) / 0.5);
  --ctx-fg-45: rgb(var(--ink-rgb) / 0.45);
  --ctx-fg-30: rgb(var(--ink-rgb) / 0.3);
  --ctx-fg-25: rgb(var(--ink-rgb) / 0.25);
  --ctx-fg-10: rgb(var(--ink-rgb) / 0.1);
  --ctx-fg-02: rgb(var(--ink-rgb) / 0.02);
}


/* ===========================
   Floating contact button (FAB)
   =========================== */
.contact-fab {
  position: fixed;
  right: var(--margin);
  bottom: 1.75rem;
  /* Por encima del trail del cursor (9998) y de cualquier línea del fondo,
     para que su fondo cream interrumpa visualmente lo que pase por detrás. */
  z-index: 10001;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgb(var(--ink-rgb) / 0.12);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 6px 28px rgb(var(--ink-rgb) / 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.contact-fab:hover {
  transform: translateY(-3px);
  background: var(--cream-soft);
  box-shadow: 0 10px 32px rgb(var(--ink-rgb) / 0.22);
}
/* Bombeo del FAB cuando aparece el bocadillo (a los 10s) — mismo gesto
   que el ripple del dot activo en la navbar. */
.contact-fab::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.contact-fab:has(.contact-fab-bubble.is-visible)::after {
  animation: fabRipple 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes fabRipple {
  0%   { opacity: 0.55; transform: scale(0.95); }
  80%  { opacity: 0;    transform: scale(1.7); }
  100% { opacity: 0;    transform: scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-fab:has(.contact-fab-bubble.is-visible)::after { animation: none; }
}
.contact-fab-svg {
  display: block;
  width: 40px;
  height: auto;
  pointer-events: none;
}
/* Bocadillo: pill cream a la izquierda del FAB con cola apuntando al botón.
   Oculto por defecto. JS le añade .is-visible a los 10s en pantalla. */
.contact-fab-bubble {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgb(var(--ink-rgb) / 0.1);
  box-shadow: 0 4px 16px rgb(var(--ink-rgb) / 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.contact-fab-bubble.is-visible,
.contact-fab:hover .contact-fab-bubble {
  opacity: 1;
  transform: translate(0, -50%);
}
/* El texto del bocadillo se anima carácter a carácter al hacer hover sobre el FAB
   (vía initContactBubbleSwap → initCharSwap). No cambia ni la forma ni el color. */
.contact-fab-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--cream);
  transform: translateY(-50%);
}
.contact-fab-pupil {
  /* La pupila se actualiza en cada mousemove sin transición — sigue al cursor en directo */
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  /* Solo opacidad transiciona (para el cierre en hover); transform queda sin transition */
  transition: opacity 0.18s ease;
}
/* Ojo abierto (almendra): se aplasta verticalmente en hover */
.contact-fab-eye {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.28s cubic-bezier(0.7, 0, 0.2, 1);
}
/* Ojo cerrado (∩): se "dibuja" con stroke-dashoffset al hacer hover */
.contact-fab-eye-closed {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  opacity: 0;
  transition: stroke-dashoffset 0.35s 0.12s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.18s 0.12s ease;
}
.contact-fab:hover .contact-fab-eye {
  opacity: 0;
  transform: scaleY(0.05);
}
.contact-fab:hover .contact-fab-pupil {
  opacity: 0;
}
.contact-fab:hover .contact-fab-eye-closed {
  opacity: 1;
  stroke-dashoffset: 0;
}
@media (max-width: 768px) {
  .contact-fab {
    width: 56px;
    height: 56px;
    bottom: 1.25rem;
  }
  .contact-fab-svg { width: 34px; }
}
