/* ============================================================
   "POR QUÉ SOMOS COOP" — Manifiesto 2023
   Página interna. Reusa tokens de styles.css y el chrome
   (nav / footer) de case-styles.css. Cargar ambos antes.
   ============================================================ */

.manif { background: var(--paper); }

/* ---------- Hero ---------- */
.mhero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-bottom: var(--bw) solid var(--ink);
  padding: 84px 0 92px;
}
.mhero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 26px;
}
.mhero__eyebrow b { font-weight: 900; }
.mhero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}
.mhero__title em {
  font-style: normal;
  color: var(--orange);
}
.mhero__intro {
  max-width: 760px;
  margin: 40px 0 0;
  border-left: var(--bw) solid var(--ink);
  padding-left: 26px;
}
.mhero__intro p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.mhero__intro p + p { margin-top: 18px; }
.mhero__intro strong { font-weight: 700; }

/* ---------- Manifiesto grid ---------- */
.manifgrid {
  background: var(--paper);
  padding: 86px 0 96px;
  position: relative;
  overflow: hidden;
}
.manifgrid__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 52px;
}
.manifgrid__kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.manifgrid__lead {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  max-width: 26ch;
  text-wrap: balance;
}
.manifgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
  position: relative;
  z-index: 2;
}

/* ---------- Blob card ---------- */
.blob {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 360px;
  padding: 64px 78px;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.blob:hover { transform: scale(1.025) rotate(0deg); }
.blob__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 0 0 26px;
  opacity: 0.95;
}
.blob__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.06;
  margin: 0 0 14px;
  text-wrap: balance;
}
.blob__body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
  max-width: 26ch;
}
.blob__body strong { font-weight: 700; }

/* Colores: solo la paleta de marca usada en el resto del sitio
   (naranja · verde · azul · rosa · ink). Texto siempre blanco. */
.blob--01 { background: var(--orange); color: #fff; border-radius: 47% 53% 64% 36% / 52% 44% 56% 48%; transform: rotate(-2deg); }
.blob--02 { background: var(--green);  color: #fff; border-radius: 61% 39% 47% 53% / 56% 52% 48% 44%; transform: rotate(1.5deg); }
.blob--03 { background: var(--blue);   color: #fff; border-radius: 40% 60% 58% 42% / 48% 46% 54% 52%; transform: rotate(-1deg); }
.blob--04 { background: var(--pink);   color: #fff; border-radius: 54% 46% 38% 62% / 57% 42% 58% 43%; transform: rotate(1.5deg); }
.blob--05 { background: var(--ink);    color: #fff; border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(-1.5deg); }
.blob--06 { background: var(--orange); color: #fff; border-radius: 44% 56% 50% 50% / 60% 47% 53% 40%; transform: rotate(1deg); }
.blob--07 { background: var(--blue);   color: #fff; border-radius: 50% 50% 40% 60% / 55% 55% 45% 45%; transform: rotate(-2deg); }
.blob--08 { background: var(--pink);   color: #fff; border-radius: 60% 40% 47% 53% / 42% 56% 44% 58%; transform: rotate(1.5deg); }
.blob--09 { background: var(--green);  color: #fff; border-radius: 46% 54% 60% 40% / 53% 44% 56% 47%; transform: rotate(-1deg); }

/* ---------- Decoraciones flotantes ---------- */
.manif .deco-shape { position: absolute; z-index: 1; pointer-events: none; }
.deco-float { position: absolute; z-index: 1; pointer-events: none; }

/* ---------- Banda de equipo ---------- */
.mteam {
  background: var(--cream);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.mteam__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.mteam__copy .blob__num,
.mteam__kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  display: block;
}
.mteam__h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 0.98;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.mteam__h em { font-style: normal; color: var(--orange); }
.mteam__p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 42ch;
  text-wrap: pretty;
}
.mteam__photo {
  position: relative;
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transform: rotate(-1deg);
  background: var(--paper);
}
.mteam__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) {
  .mteam { padding: 60px 0; }
  .mteam__grid { grid-template-columns: 1fr; gap: 30px; }
  .mteam__photo { transform: rotate(0); }
}

/* ---------- "¿Te unes?" — cierre negro ---------- */
.mjoin {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 30px 0 110px;
  text-align: center;
}
.mjoin__blob {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: min(640px, 90vw);
  min-height: 480px;
  margin: 0 auto;
  padding: 70px 96px;
  background: var(--ink);
  color: #fff;
  border-radius: 56% 44% 49% 51% / 52% 53% 47% 48%;
}
.mjoin__q {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  margin: 0;
}
.mjoin__seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.mjoin__seal-mark {
  width: 91px;
  height: auto;
  display: block;
}
.mjoin__seal-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.78;
}
.mjoin__p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
  opacity: 0.92;
}
.mjoin__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.mjoin .pill--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.mjoin .pill--ghost { background: transparent; color: #fff; border-color: #fff; }
.mjoin .pill--ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .manifgrid__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .blob { min-height: 320px; padding: 56px 60px; }
}
@media (max-width: 880px) {
  .mhero { padding: 60px 0 70px; }
  .mhero__intro { padding-left: 20px; }
}
@media (max-width: 620px) {
  .manifgrid { padding: 60px 0 70px; }
  .manifgrid__grid { grid-template-columns: 1fr; gap: 22px; }
  .blob {
    min-height: 0;
    padding: 58px 52px;
    transform: rotate(0deg) !important;
  }
  .blob__body { font-size: 16px; max-width: 28ch; }
  .mjoin__blob { min-height: 380px; padding: 56px 52px; }
  /* En móvil ocultamos algunas decoraciones para evitar ruido */
  .deco-float--hide-sm { display: none; }
}

/* QA responsive (24 nov 2026): el eyebrow no se parte en columnas en móvil */
@media (max-width: 600px) {
  .mhero__eyebrow { display: block; line-height: 1.6; }
}
