/* ============================================================
   PROMO BAGS — Bloque 3: Nosotros + Cómo funciona
   Componentes: statement (MVV), valores, historia 90g, fábrica CDMX,
   pasos (timeline) y FAQ (details). Reutiliza tokens-v1 + catalogo-v1.
   ============================================================ */

/* ============================================================
   C9 · NOSOTROS REDISEÑO (06-jul) — opener, MVV etiquetadas,
   valores con íconos SVG, historia 90g, fábrica con mapa estilizado.
   ============================================================ */

/* ---------- APERTURA (peso visual: copy + collage real) ---------- */
.nos-hero { padding-top: clamp(2rem,1rem+4vw,3.6rem); }
.nos-hero__inner { display: grid; gap: clamp(1.6rem,1rem+3vw,3.2rem); align-items: center; }
@media (min-width: 900px){ .nos-hero__inner { grid-template-columns: 1.05fr .95fr; } }
.nos-hero__copy { max-width: 44ch; }
.nos-hero__sub { margin-top: 1.2rem; font-size: var(--t-lead); color: var(--texto-tenue); }
.nos-hero__sub b { color: var(--texto); font-weight: 600; }
.nos-stats { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 1.8rem; }
.nos-stat { display: flex; flex-direction: column; gap: .1rem; }
.nos-stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--verde-vibrante); line-height: 1; }
.nos-stat span { font-size: .8rem; color: var(--texto-tenue); max-width: 18ch; }

/* collage de piezas reales (magazine: 1 grande + 2 apiladas) */
.nos-hero__collage {
  position: relative; display: grid; gap: .7rem;
  grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr;
  aspect-ratio: 1/1; max-width: 520px; margin-inline: auto; width: 100%;
}
.collage { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sombra-card); border: 1px solid var(--panel-borde); background: var(--panel); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage--a { grid-column: 1; grid-row: 1 / 3; }
.collage--b { grid-column: 2; grid-row: 1; }
.collage--c { grid-column: 2; grid-row: 2; }
.collage figcaption {
  position: absolute; left: .5rem; bottom: .5rem;
  font-size: .68rem; font-weight: 700; color: var(--texto);
  background: rgba(30,37,39,.72); border: 1px solid var(--panel-borde);
  padding: .2rem .5rem; border-radius: var(--r-pill); backdrop-filter: blur(6px);
}
.collage__tag {
  position: absolute; top: -.7rem; right: -.4rem; z-index: 3;
  font-family: var(--font-body); font-size: .72rem; font-weight: 800;
  color: var(--verde-bosque); background: var(--verde-vibrante);
  padding: .3rem .7rem; border-radius: var(--r-pill); box-shadow: var(--sombra-card);
  transform: rotate(3deg);
}

/* ---------- MISIÓN / VISIÓN (etiquetadas, diseño propio) ---------- */
.mvv { display: grid; gap: clamp(1rem,.6rem+1.5vw,1.6rem); margin-top: clamp(1.6rem,1rem+2vw,2.4rem); }
@media (min-width: 820px){ .mvv { grid-template-columns: 1fr 1fr; } }
.mvv__card {
  background: #F7F5EE; border: 1px solid var(--linea-crema); border-radius: var(--r-xl);
  padding: clamp(1.4rem,1rem+1.5vw,2rem); position: relative; overflow: hidden;
  border-top: 4px solid var(--verde-marca);
}
.mvv__card--vision { border-top-color: var(--azul-confianza); }
.mvv__top { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.mvv__ico { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center;
  border-radius: var(--r-md); color: var(--verde-bosque); background: rgba(125,192,93,.2); }
.mvv__card--vision .mvv__ico { color: #2b6b83; background: rgba(110,176,200,.22); }
.mvv__ico svg { width: 1.5rem; height: 1.5rem; }
.mvv__label { font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--tinta); }
.mvv__text { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em;
  line-height: 1.32; font-size: clamp(1.05rem,.95rem+.6vw,1.32rem); color: var(--tinta); text-wrap: pretty;
  padding-bottom: .2rem; }
.mvv__card { padding-bottom: clamp(1.7rem,1.2rem+1.5vw,2.3rem); }

/* ---------- VALORES · ícono SVG (reemplaza el número) ---------- */
.valor__icon { width: 2.7rem; height: 2.7rem; flex: none; display: grid; place-items: center;
  border-radius: var(--r-md); color: var(--verde-bosque); background: var(--verde-vibrante); }
.valor__icon svg { width: 1.5rem; height: 1.5rem; }

/* ---------- HISTORIA 90g · badge sobre el video ---------- */
.historia__media { position: relative; }
.historia__badge {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2;
  font-size: .82rem; color: var(--texto); background: rgba(30,37,39,.7);
  border: 1px solid var(--panel-borde); padding: .4rem .7rem; border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.historia__badge b { font-family: var(--font-display); color: var(--verde-vibrante); }

/* ---------- FÁBRICA CDMX · 2 columnas con mapa estilizado ---------- */
.fabrica {
  display: grid; gap: clamp(1.4rem,1rem+2.5vw,2.6rem); align-items: center;
  border: 1px solid rgba(110,176,200,.3); border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 100% 0%, rgba(110,176,200,.12), transparent 55%), #F7F5EE;
  padding: clamp(1.5rem,1rem+2.5vw,2.8rem);
}
@media (min-width: 860px){ .fabrica { grid-template-columns: 1.05fr .95fr; } }
.mapa { width: 100%; max-width: 420px; margin-inline: auto; }
.mapa svg { width: 100%; height: auto; display: block; }
.mapa__land { fill: rgba(42,51,53,.06); stroke: rgba(42,51,53,.18); stroke-width: 1.5; }
.mapa__cov { }
.mapa__ring { fill: none; stroke: var(--azul-confianza); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: .55; }
.mapa__ring--2 { opacity: .35; }
.mapa__arc { stroke: var(--azul-confianza); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .7; }
.mapa__city circle { fill: var(--tinta); }
.mapa__city text, .mapa__label { font-family: var(--font-body); font-weight: 700; fill: var(--tinta-tenue); font-size: 9px; }
.mapa__label { fill: var(--tinta); font-weight: 800; font-size: 10px; }
.mapa__dot { fill: var(--azul-confianza); opacity: .8; }
.mapa__pin path { fill: var(--verde-bosque); }
.mapa__pindot { fill: var(--verde-vibrante); }

/* ---------- STATEMENT (misión / visión, texto grande) ---------- */
.statement { max-width: 40ch; margin-inline: auto; text-align: center; }
.statement .big {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.12; font-size: clamp(1.5rem, 1.1rem + 2.4vw, 2.6rem);
  color: var(--tinta); text-wrap: balance;
}
.section--profundo .statement .big { color: var(--texto); }
.statement .big .accent { display: inline; }

/* ---------- VALORES ---------- */
.valores {
  display: grid; gap: clamp(.9rem,.5rem+1.5vw,1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr));
  margin-top: clamp(2rem,1rem+3vw,3rem);
}
.valor {
  background: var(--panel); border: 1px solid var(--panel-borde);
  border-radius: var(--r-lg); padding: 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.valor:hover { transform: translateY(-3px); border-color: rgba(162,237,85,.32); }
.valor__n {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  width: 2.1rem; height: 2.1rem; flex: none; display: grid; place-items: center;
  border-radius: 50%; color: var(--verde-bosque); background: var(--verde-vibrante);
}
.valor h3 { color: var(--texto); font-size: 1.15rem; }
.valor p { color: var(--texto-tenue); font-size: .92rem; }

/* ---------- HISTORIA 90g (dos columnas) ---------- */
.historia { display: grid; gap: clamp(1.4rem,1rem+3vw,3rem); align-items: center; }
@media (min-width: 820px){ .historia { grid-template-columns: 1.1fr 1fr; } }
.historia__media {
  aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(125,192,93,.16), transparent 60%), #F7F5EE;
  border: 1px solid var(--linea-crema);
}
.historia__media img, .historia__media video { width: 100%; height: 100%; object-fit: cover; }
.gramaje { display: flex; gap: 1rem; margin: 1.2rem 0; }
.gramaje div { flex: 1; background: var(--panel); border: 1px solid var(--panel-borde); border-radius: var(--r-md); padding: 1rem; }
.gramaje b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; display: block; }
.gramaje .g b { color: var(--verde-vibrante); }
.gramaje .m b { color: var(--texto-suave); }
.gramaje span { font-size: .82rem; color: var(--texto-tenue); }

/* ---------- FÁBRICA CDMX (bloque de confianza) ---------- */
.fabrica {
  border: 1px solid rgba(110,176,200,.3); border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 0% 0%, rgba(110,176,200,.12), transparent 55%), var(--panel);
  padding: clamp(1.5rem,1rem+2.5vw,2.8rem);
}
.fabrica__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.fabrica__list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--texto-tenue); }
.fabrica__list svg { width: 1.25em; height: 1.25em; color: var(--azul-confianza); flex: none; margin-top: .15em; }

/* ---------- PASOS (timeline) ---------- */
.pasos { display: grid; gap: clamp(1rem,.6rem+1.5vw,1.5rem); margin-top: clamp(2rem,1rem+3vw,3rem); counter-reset: paso; }
@media (min-width: 760px){ .pasos { grid-template-columns: repeat(5, 1fr); } }
.paso {
  position: relative; background: #F7F5EE; border: 1px solid var(--linea-crema);
  border-radius: var(--r-lg); padding: 1.3rem 1.15rem; display: flex; flex-direction: column; gap: .5rem;
}
.paso__n {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  width: 2.2rem; height: 2.2rem; flex: none; display: grid; place-items: center;
  border-radius: 50%; color: var(--crema); background: var(--verde-bosque);
}
.paso h3 { color: var(--tinta); font-size: 1.05rem; }
.paso p { color: var(--tinta-tenue); font-size: .9rem; }
.paso__free {
  align-self: flex-start; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  color: var(--verde-bosque); background: rgba(125,192,93,.18); padding: .18rem .5rem; border-radius: var(--r-pill);
}
.pasos__nota { text-align: center; margin-top: clamp(1rem,.6rem+1.5vw,1.5rem);
  color: var(--tinta-tenue); font-size: .9rem; }

/* ---------- FAQ (details nativo) ---------- */
.faq { max-width: 760px; margin: clamp(2rem, 1rem + 3vw, 3rem) auto 0; display: grid; gap: .7rem; }
.faq details {
  background: var(--panel); border: 1px solid var(--panel-borde); border-radius: var(--r-md);
  padding: 0 1.2rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 0; font-weight: 700; color: var(--texto);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--verde-marca); border-bottom: 2px solid var(--verde-marca);
  transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq p { color: var(--texto-tenue); padding: 0 0 1.1rem; font-size: .95rem; }
.faq b { color: var(--texto); }

/* separadores de sección claros sobre crema para eyebrow/acento ya cubiertos por catalogo-v1 */
.section--crema .valor, .section--crema .fabrica { background: #F7F5EE; }
.section--crema .valor h3, .section--crema .fabrica { color: var(--tinta); }
.section--crema .valor p { color: var(--tinta-tenue); }
/* C9 fix: la lista de fábrica hereda texto claro (fondo oscuro) — sobre crema debe ser oscuro. */
.section--crema .fabrica__list li { color: var(--tinta-tenue); }
.section--crema .fabrica__list svg { color: #2b6b83; }   /* azul-confianza legible sobre crema */

/* ============================================================
   P2 — Revisión de diseño (Katherine)
   ============================================================ */
/* 2.14 — Quiénes somos sin collage: columna única centrada, título protagonista */
.nos-hero--centro .nos-hero__inner { grid-template-columns: 1fr; }
@media (min-width: 900px){ .nos-hero--centro .nos-hero__inner { grid-template-columns: 1fr; } }
.nos-hero--centro { text-align: center; padding-bottom: clamp(1.4rem,1rem+2vw,2.4rem); }
.nos-hero--centro .nos-hero__copy { max-width: 62ch; margin-inline: auto; }
.nos-hero--centro h1 { font-size: clamp(2.7rem, 2rem + 4vw, 4.6rem); }
.nos-hero--centro .nos-stats { justify-content: center; gap: 1rem 2.4rem; margin-top: 2.2rem; }
.nos-hero--centro .nos-stat { align-items: center; text-align: center; }
.nos-hero--centro .nos-stat span { max-width: 22ch; }

/* 2.15 — Misión/Visión más legibles: más aire y line-height, menos cursiva apretada */
.mvv__text { line-height: 1.5; font-size: clamp(1.1rem,.98rem+.6vw,1.34rem); }
.mvv__card { padding: clamp(1.6rem,1.2rem+1.6vw,2.4rem); }
.mvv__text .accent { font-style: italic; }

/* 2.16 — Valores: 3 columnas exactas (6 = 2 filas llenas, sin fila incompleta) */
@media (min-width: 560px) and (max-width: 899px){ .valores { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px){ .valores { grid-template-columns: repeat(3,1fr); } }
/* 2.16/2.19 — hover de iluminación verde (referencia para los 5 pasos de Cómo funciona) */
.valor:hover { box-shadow: 0 0 0 1px rgba(162,237,85,.4), 0 10px 30px rgba(162,237,85,.14); }

/* 2.17 — Historia: aire entre video y texto + tarjetas de gramaje con más respiro */
@media (min-width: 820px){ .historia { gap: clamp(2rem,1.4rem+3vw,3.6rem); } }
.gramaje { gap: 1.1rem; margin: 1.6rem 0; }
.gramaje div { padding: 1.15rem 1.1rem; }
.gramaje span { line-height: 1.45; }

/* 2.18 — Fábrica: equilibrio y botón con aire */
.fabrica__list { margin-top: 1.3rem; }
.fabrica__copy .cta { margin-top: .4rem; }

/* 2.19 — Los 5 pasos: mismo hover de iluminación verde que las tarjetas de reglas */
.paso { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.paso:hover { transform: translateY(-3px); border-color: rgba(125,192,93,.5);
  box-shadow: 0 0 0 1px rgba(125,192,93,.4), 0 12px 30px rgba(125,192,93,.16); }

/* 2.5 — aire del subtítulo bajo los 5 pasos y del botón "Empezar mi pedido" */
.pasos__nota { margin-top: clamp(1.6rem,1.1rem+2vw,2.4rem); max-width: 46ch; margin-inline: auto; line-height: 1.5; }
/* 2.5 — la última FAQ no queda pegada al botón de abajo al desplegarse */
.faq details[open] { margin-bottom: .2rem; }
.faq + div { margin-top: clamp(2.4rem,1.4rem+3vw,3.4rem) !important; }
