/* ============================================================
   LATINO EXPRESS · nosotros.css — /nosotros/ · /en/about/
   A1 editorial sticky (retratos REALES) · A2 specs-halo del credo
   A3 banda Rolex · FAQ (arriba de stats, 0704-i2) · A4 stats · fe
   ============================================================ */

/* ---------- A1 · HISTORIA editorial sticky ---------- */
.historia {
  position: relative; overflow: clip;
  background: linear-gradient(180deg, #F4F6F8, var(--surface) 30%);
  color: var(--tx);
  padding-bottom: clamp(72px, 8vw, 120px);
}
.historia::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle 1.5px at 10px 10px, rgba(12, 7, 8, .1) 45%, transparent 55%);
  background-size: 42px 42px;
}
.historia-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 5vw, 80px);
  /* R2-T6: patrón ancho — el dueño pidió reducir los márgenes laterales.
     El padding lateral var(--pad-x) NEUTRALIZABA el patrón (72px + 72px
     dejaban el contenido en ~1210px @1440): en desktop el wrap manda solo
     (margen = 3vw por lado) y el padding vive únicamente en móvil (≤900). */
  max-width: min(1720px, 94vw); margin: 0 auto; padding: 0;
  align-items: start;
}
.historia-founders, .hermana-media { position: sticky; top: 104px; display: grid; gap: 18px; }
.founder-duo, .hermana-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder, .hermana-fig {
  position: relative; border-radius: 18px; overflow: clip;
  background: linear-gradient(170deg, #1B0D0E, var(--ink) 70%);
  border: 1px solid rgba(235, 181, 89, .3);
  box-shadow: 0 20px 48px rgba(10, 12, 16, .24);
}
.founder img, .hermana-fig img { width: 100%; height: auto; display: block; }
.founder figcaption, .hermana-fig figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(12, 7, 8, .72);
  border: 1px solid rgba(235, 181, 89, .3);
}
.founder figcaption b, .hermana-fig figcaption b { font-size: 13.5px; color: var(--cream-hi); }
.founder figcaption span, .hermana-fig figcaption span { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.founders-quote {
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.6; color: var(--tx-muted);
  border-left: 3px solid var(--accent); padding-left: 16px;
}
.founders-quote b { color: var(--accent); font-style: normal; font-family: var(--ui); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 8px; }
.historia-copy { display: grid; gap: 18px; }
.historia-copy h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); color: var(--ink); margin-top: 14px; }
.historia-copy h2 em { color: var(--accent); }
.historia-copy p { font-size: clamp(15px, 1.2vw, 17px); color: var(--tx-muted); max-width: 62ch; }
.historia-pull {
  font-family: var(--disp); text-transform: uppercase; line-height: 1.15;
  font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--ink);
  border-left: 4px solid var(--gold-deep); padding-left: 18px; max-width: 30ch;
  margin: 8px 0;
}
.historia-pull em { color: var(--accent); }
@media (max-width: 900px) {
  /* móvil: el patrón ancho R2-T6 no muerde (94vw < 100% aquí estrecharía);
     el padding lateral regresa aquí (20px cómodos, no 3vw=12px) */
  .historia-inner { grid-template-columns: 1fr; max-width: none; padding: 0 var(--pad-x); }
  .historia-founders, .hermana-media { position: static; }
}

/* ---------- A2 · EL CREDO (V3 specs-halo: logo centro + 6 valores 3+3) ---------- */
.credo {
  position: relative; overflow: clip;
  background: var(--surface-2); color: var(--tx);
  /* R2-T6/T16: sin padding lateral en desktop — el wrap min(1720px,94vw)
     gobierna los márgenes (el var(--pad-x) lo capaba a 1296px @1440) */
  padding: clamp(72px, 9vw, 128px) 0;
}
/* R2-T6: mismo patrón ancho que la historia (orden del dueño) */
.credo-head { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 14px; max-width: min(1720px, 94vw); margin: 0 auto clamp(40px, 5vw, 64px); }
.credo-head h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); color: var(--ink); }
.credo-head h2 em { color: var(--accent); }
.credo-halo {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3.4vw, 64px);
  max-width: min(1720px, 94vw); margin: 0 auto; align-items: center;
}
.credo-core {
  position: relative;
  /* R2-T16: «hacer ese círculo más grande con el logo (también más grande)»
     — 340→440px de techo, y el logo pasa de 86% a 90% con menos padding */
  width: min(30vw, 440px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #221214, var(--ink) 72%);
  border: 1px solid rgba(235, 181, 89, .35);
  box-shadow: 0 26px 60px rgba(10, 12, 16, .3);
  display: grid; place-items: center;
  padding: 7%;
}
.credo-core::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px dashed rgba(183, 6, 3, .25);
}
.credo-core img { width: 90%; height: auto; }
.credo-col { display: grid; gap: clamp(22px, 3vw, 40px); }
.valor { position: relative; display: grid; gap: 4px; }
.credo-col--l .valor { justify-items: end; text-align: right; }
/* R2-T16: «con los textos un poco más grandes y que tengan un emoji» */
.valor b { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(17px, 1.7vw, 25px); color: var(--ink); letter-spacing: 0; }
.valor span { font-size: clamp(14px, 1.1vw, 16.5px); color: var(--tx-muted); }
/* R2-T16b: pictogramas SVG monocromos en rojo de marca — los emojis multicolor
   no se pueden teñir y rompían la identidad («un mismo color rojo», orden del
   dueño). Inline en el HTML: heredan var(--accent) vía currentColor. */
.valor .v-emoji { font-style: normal; line-height: 1; display: inline-block; margin-right: 10px; vertical-align: -0.16em; color: var(--accent); }
.valor .v-emoji svg { width: 1.18em; height: 1.18em; display: block; }
.valor .lead { display: block; width: clamp(34px, 5vw, 104px); height: 10px; overflow: visible; margin-bottom: 2px; }
.valor .lead path { fill: none; stroke: var(--gold-deep); stroke-width: 1.5; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .9; }
@media (max-width: 900px) {
  .credo { padding-inline: var(--pad-x); } /* R2-T6: el padding lateral regresa en móvil */
  .credo-halo { grid-template-columns: 1fr; justify-items: center; }
  .credo-core { order: -1; width: min(58vw, 272px); } /* R2-T16: también crece en móvil */
  .credo-col--l .valor { justify-items: start; text-align: left; }
  .valor .lead { display: none; }
  .credo-col { width: 100%; max-width: 460px; }
}

/* la cabecera del credo: sub bajo el h2 */
.credo-head p { font-size: 15px; color: var(--tx-muted); max-width: 52ch; }

/* ---------- A3 · BANDA «ROLEX» (frase + photo-pill + taxi sangrando) ---------- */
.rolex {
  position: relative; overflow: clip;
  background: linear-gradient(180deg, #0A0506, var(--ink-2));
  padding: clamp(84px, 11vw, 160px) var(--pad-x);
}
.rolex-ghost {
  position: absolute; left: -2%; bottom: -8%;
  font-size: min(16vw, 290px);
  -webkit-text-stroke-color: rgba(235, 181, 89, .09);
  will-change: transform;
}
.rolex-phrase {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  font-size: clamp(2rem, 6vw, 5rem);
  color: var(--on-dark); line-height: 1.04;
  text-shadow: 0 2px 5px rgba(6, 3, 2, .5);
}
.rolex-phrase em { color: var(--accent-hi); text-shadow: 0 2px 5px rgba(6, 3, 2, .55), 0 8px 30px rgba(183, 6, 3, .45); }
.photo-pill {
  display: inline-block; width: 2.2em; height: .78em;
  border-radius: 999px; overflow: hidden; vertical-align: -0.12em;
  border: 1px solid rgba(235, 181, 89, .45);
  box-shadow: 0 10px 26px rgba(3, 1, 1, .5);
}
.photo-pill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rolex-cut {
  position: absolute; right: -4%; bottom: -6%; z-index: 3;
  width: min(36vw, 540px); pointer-events: none; will-change: transform;
}
.rolex-cut img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .rolex { padding-bottom: clamp(150px, 34vw, 220px); }
  .rolex-cut { width: 62vw; right: -6%; bottom: -3%; }
  .rolex-ghost { font-size: 26vw; }
}

/* ============================================================
   MUNDO · mosaico compacto de fotos crisp (la galería murió;
   sus mejores fotos viven aquí, rotuladas «imágenes ilustrativas»)
   ============================================================ */
.mundo {
  position: relative; overflow: clip;
  background: var(--surface); color: var(--tx);
  /* R2-T17: «reducir un poco más el margen de los lados» — padding lateral
     fuera en desktop; el wrap ancho min(1720px,94vw) gobierna */
  padding: clamp(64px, 8vw, 110px) 0;
}
.mundo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle 1.5px at 10px 10px, rgba(12, 7, 8, .1) 45%, transparent 55%);
  background-size: 44px 44px;
}
.mundo-head {
  position: relative; z-index: 2;
  /* R2-T17: 1280px → patrón ancho */
  max-width: min(1720px, 94vw); margin: 0 auto clamp(26px, 3.4vw, 42px);
  display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: end; justify-content: space-between;
}
.mundo-head h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); color: var(--ink); margin-top: 14px; }
.mundo-head h2 em { color: var(--accent); }
.mundo-note { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-muted); }
.mundo-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  /* R2-T17: 1280px → patrón ancho */
  max-width: min(1720px, 94vw); margin: 0 auto;
}
.m-tile {
  position: relative; overflow: clip; border-radius: 16px;
  padding: 0; display: block; width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  box-shadow: 0 12px 30px rgba(10, 12, 16, .14);
  cursor: zoom-in; will-change: transform;
}
.m-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.m-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  border: 2px solid rgba(235, 181, 89, 0); pointer-events: none;
  transition: border-color .25s ease;
}
.m-tile:hover::after, .m-tile:focus-visible::after { border-color: rgba(235, 181, 89, .75); }
.m-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) {
  .mundo { padding-inline: var(--pad-x); } /* R2-T17: padding lateral solo en móvil */
}
@media (max-width: 760px) {
  .mundo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ---------- A5 · FAQ (ARRIBA de stats, ley 0704-i2) ----------
   R2-T7: dos columnas por orden del dueño — título display a la
   izquierda (~34%, sticky) + acordeón a la derecha (~62%) */
.faq {
  position: relative; overflow: clip;
  background: var(--surface); color: var(--tx);
  /* R2-T7: sin padding lateral en desktop — el wrap ancho gobierna de verdad */
  padding: clamp(72px, 9vw, 128px) 0;
}
.faq-inner {
  position: relative; z-index: 2;
  max-width: min(1720px, 94vw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 62fr);
  column-gap: clamp(28px, 4vw, 88px); align-items: start;
}
.faq-left { position: sticky; top: 104px; display: grid; gap: 18px; justify-items: start; }
.faq-head { display: grid; gap: 14px; }
.faq-lead { font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.7; color: var(--tx-muted); max-width: 40ch; }
.faq-lead a { color: var(--accent); font-weight: 800; white-space: nowrap; }
.faq-lead a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-wa { margin-top: 4px; }
.faq-list { min-width: 0; }
.faq-head h2 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); color: var(--ink); }
.faq-head h2 em { color: var(--accent); }
.faq-item { border-top: 1px solid var(--hair-ink); }
.faq-item:last-child { border-bottom: 1px solid var(--hair-ink); }
.faq-q {
  display: flex; align-items: center; gap: 16px; width: 100%;
  /* R2-T18: «reducir un poco la separación vertical» — padding 18→12px (−33%)
     y min-height 56→46px; item cerrado medido 65.8→53.8px @1440 */
  text-align: left; padding: 12px 4px; min-height: 46px;
}
.faq-q i { font-style: normal; font-family: var(--disp); font-size: 13px; color: var(--gold-deep); flex: none; }
.faq-q b { font-size: clamp(15.5px, 1.3vw, 18px); font-weight: 800; color: var(--ink); }
.faq-q .chev {
  margin-left: auto; flex: none;
  width: 13px; height: 9px; fill: none; stroke: var(--accent);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 8px; }
.faq-a p { padding: 0 4px 12px 33px; font-size: 15px; color: var(--tx-muted); max-width: 60ch; } /* R2-T18: 18→12px */
/* apertura por 0fr→1fr (exención CSS §12.12 — GSAP jamás lo toca) */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
html.acc-measure .faq-a { grid-template-rows: 0fr !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }
/* móvil: apilado natural — título arriba, preguntas abajo (R2-T7) */
@media (max-width: 900px) {
  .faq { padding-inline: var(--pad-x); }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-left { position: static; margin-bottom: clamp(26px, 6vw, 40px); }
}

/* ---------- A4 · STATS count-up ---------- */
.stats {
  position: relative; overflow: clip;
  background: var(--surface-2); color: var(--tx);
  padding: clamp(64px, 8vw, 110px) var(--pad-x);
}
.stats-ghost {
  position: absolute; right: -2%; top: -14%;
  font-size: min(18vw, 320px);
  -webkit-text-stroke-color: rgba(12, 7, 8, .07);
  will-change: transform;
}
.stats-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1180px; margin: 0 auto;
}
.stat { padding: 10px clamp(14px, 2vw, 32px); display: grid; gap: 6px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--hair-ink); }
.stat-n {
  font-family: var(--disp); font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  color: var(--accent); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-n .n { display: inline-block; min-width: 1.2ch; }
.stat-n sup { font-size: .45em; top: -0.7em; position: relative; }
.stat-l { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tx); }
.stat small { font-size: 12.5px; color: var(--tx-muted); }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- cierre propio · «CON FE Y CON RUMBO» (0720-a6) ----------
   R2-T8: re-nacido como ESPEJO editorial de «Nuestra historia» por orden
   del dueño («como la de Nuestra historia… con las fotitos del otro lado»):
   copy a la IZQUIERDA, fotos sticky a la DERECHA. Hechos §1: misión,
   visión, filosofía y el lema de fe, con respeto. Clases .hermana-*
   propias: «espejo» ya es del ④.7 del Home (home.css carga aquí) y
   «founder» dispara la entrada dual de inner.js (frontera R2: no se toca). */
.hermana { padding-top: clamp(64px, 7vw, 110px); background: var(--surface); }
@media (min-width: 901px) {
  .hermana .historia-inner { grid-template-columns: 1.08fr .92fr; }
}
.hermana .historia-copy p b { color: var(--accent); font-weight: 800; }
.hermana-lema {
  margin-top: 6px;
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; color: var(--tx);
  max-width: 44ch;
  border-left: 3px solid var(--gold-deep); padding-left: 18px;
}
.hermana-lema span { display: block; margin-top: 8px; font-family: var(--ui); font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
