/* ═══════════════════════════════════════════════════════════
   Prosepan · sistema visual
   Tipografía  Poppins (display) · Inter (texto) · IBM Plex Mono (datos)
   Color       blanco neutro · tinta casi negra · marrón de marca
               como acento · verde oliva como segundo acento
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Base neutra: sin crema, para no teñir las fotografías */
  --paper:      #FFFFFF;
  --mist:       #EFEFEC;
  --mist-deep:  #E4E4DF;

  /* Tinta: contraste alto */
  --ink:        #121210;
  --ink-mid:    #3A3A34;
  --slate:      #5E5E56;

  /* Acentos */
  --brown:      #8A5629;   /* marca Prosepan, solo en acentos */
  --brown-deep: #6B4220;
  --olive:      #3D5240;   /* del saco de harina de las fotos */
  --olive-deep: #2E3E31;

  --hair:       rgba(18,18,16,0.14);
  --hair-soft:  rgba(18,18,16,0.07);

  /* Tipografías (editables en Apariencia) */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-text:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --nav-h:      78px;
  --shell:      1240px;
}

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

html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust:100%;
}

body {
  font-family:var(--font-text);
  font-size:1rem;
  line-height:1.7;
  color:var(--slate);
  background:var(--paper);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  font-feature-settings:'ss01','cv05';
}

img { max-width:100%; display:block; }
a   { color:inherit; }

:focus-visible {
  outline:2px solid var(--brown);
  outline-offset:3px;
  border-radius:1px;
}

/* ─── Tipografía ─── */
h1, h2, h3, .display {
  font-family:var(--font-display);
  color:var(--ink);
  font-weight:300;
  letter-spacing:-0.03em;
  line-height:1.08;
}
h3 { font-weight:500; letter-spacing:-0.015em; line-height:1.3; }

.h-hero  { font-size:clamp(2.7rem, 6.4vw, 5rem); font-weight:200; }
.h-page  { font-size:clamp(2.1rem, 4.6vw, 3.5rem); }
.h-sec   { font-size:clamp(1.7rem, 3.2vw, 2.5rem); }
.h-sub   { font-size:clamp(1.15rem, 1.7vw, 1.35rem); font-weight:500; letter-spacing:-0.015em; }

.lead { font-size:clamp(1.05rem, 1.5vw, 1.2rem); line-height:1.62; color:var(--ink-mid); }

.label {
  font-size:.67rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:var(--brown); display:block;
}
.label--olive { color:var(--olive); }
.label--pale  { color:rgba(255,255,255,.62); }

.mono {
  font-family:var(--font-mono);
  font-size:.7rem; letter-spacing:.06em; font-variant-numeric:tabular-nums;
}

.prose p { margin-bottom:1.15em; max-width:66ch; }
.prose p:last-child { margin-bottom:0; }
.prose strong { color:var(--ink); font-weight:600; }

/* ─── Estructura ─── */
.shell { max-width:var(--shell); margin:0 auto; padding:0 clamp(20px,5vw,56px); }

.section      { padding:clamp(52px,6vw,88px) 0; }
.section--tight { padding:clamp(40px,5vw,64px) 0; }
.section--mist  { background:var(--mist); }
.section--ink   { background:var(--ink); color:rgba(255,255,255,.72); }
.section--ink h1, .section--ink h2, .section--ink h3 { color:#fff; }
.section--olive { background:var(--olive); color:rgba(255,255,255,.78); }
.section--olive h1, .section--olive h2, .section--olive h3 { color:#fff; }

/* Encabezado de sección: rótulo + regla, mismo patrón en todo el sitio */
.sec-head { margin-bottom:clamp(36px,4.5vw,60px); max-width:62ch; }
.sec-head .label { margin-bottom:18px; }
.sec-head h2 { margin-bottom:20px; }
.sec-head .lead { max-width:58ch; }
.sec-head--center { margin-left:auto; margin-right:auto; text-align:center; }

.rule { height:1px; background:var(--hair); border:0; }

/* ─── Botones ─── */
.btn {
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-text);
  font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  text-decoration:none; padding:15px 28px; border:1px solid transparent;
  transition:background .2s, color .2s, border-color .2s, transform .2s;
  cursor:pointer;
}
.btn:hover { transform:translateY(-1px); }
.btn--solid   { background:var(--ink); color:#fff; }
.btn--solid:hover { background:#000; }
.btn--outline { border-color:var(--hair); color:var(--ink); }
.btn--outline:hover { border-color:var(--ink); background:var(--ink); color:#fff; }
.btn--olive   { background:var(--olive); color:#fff; }
.btn--olive:hover { background:var(--olive-deep); }
.btn--pale    { border-color:rgba(255,255,255,.35); color:#fff; }
.btn--pale:hover { background:#fff; color:var(--ink); }
.btn-row { display:flex; flex-wrap:wrap; gap:12px; }

/* Enlace de texto con subrayado que crece */
.link {
  color:var(--brown); text-decoration:none; font-weight:500;
  border-bottom:1px solid rgba(138,86,41,.35); padding-bottom:1px;
  transition:border-color .2s, color .2s;
}
.link:hover { color:var(--brown-deep); border-color:var(--brown-deep); }

/* ═══ NAVEGACIÓN ═══ */
.nav {
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.93);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hair-soft);
  height:var(--nav-h);
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:0 clamp(20px,5vw,56px);
}
.nav__logo { display:block; flex-shrink:0; }
.nav__logo img { height:48px; width:auto; }

.nav__links { display:flex; align-items:center; gap:22px; }
.nav__links a {
  position:relative; text-decoration:none; white-space:nowrap;
  font-size:.71rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-mid); padding:8px 0; transition:color .2s;
}
.nav__links a::after {
  content:''; position:absolute; left:0; right:100%; bottom:2px; height:1px;
  background:var(--brown); transition:right .25s ease;
}
.nav__links a:hover { color:var(--ink); }
.nav__links a:hover::after { right:0; }
.nav__links a[aria-current="page"] { color:var(--ink); font-weight:600; }
.nav__links a[aria-current="page"]::after { right:0; }

.nav__cta { background:var(--ink); color:#fff !important; padding:12px 22px !important; }
.nav__cta::after { display:none !important; }
.nav__cta:hover { background:#000; }

.nav__toggle {
  display:none; width:44px; height:44px; position:relative;
  background:none; border:0; cursor:pointer; flex-shrink:0;
}
.nav__toggle span {
  position:absolute; left:11px; width:22px; height:1.5px; background:var(--ink);
  transition:transform .3s, opacity .2s;
}
.nav__toggle span:nth-child(1) { top:16px }
.nav__toggle span:nth-child(2) { top:22px }
.nav__toggle span:nth-child(3) { top:28px }
.nav.is-open .nav__toggle span:nth-child(1) { transform:translateY(6px) rotate(45deg) }
.nav.is-open .nav__toggle span:nth-child(2) { opacity:0 }
.nav.is-open .nav__toggle span:nth-child(3) { transform:translateY(-6px) rotate(-45deg) }

/* ═══ FIRMA: RIEL DE LATITUD ═══
   Chile de Arica (18°28′S) a Punta Arenas (53°10′S).
   Las marcas están en su latitud real, cada 5°.            */
.rail { position:relative; width:124px; flex-shrink:0; align-self:stretch; min-height:340px; }
.rail__line {
  position:absolute; left:24px; top:0; bottom:0; width:1px; background:var(--hair);
  transform-origin:top; animation:railDraw 1.1s cubic-bezier(.6,0,.2,1) both;
}
@keyframes railDraw { from { transform:scaleY(0) } to { transform:scaleY(1) } }

.rail__tick {
  position:absolute; left:24px; width:9px; height:1px; background:var(--hair);
  opacity:0; animation:railFade .5s ease both;
}
.rail__stop { position:absolute; left:0; width:100%; opacity:0; animation:railFade .6s ease both; }
.rail__stop::before {
  content:''; position:absolute; left:21px; top:7px;
  width:7px; height:7px; border-radius:50%; background:var(--brown);
}
.rail__stop--end::before { background:var(--olive); }
.rail__stop b {
  display:block; margin-left:42px; white-space:nowrap; font-family:var(--font-display);
  font-size:.9rem; font-weight:500; color:var(--ink); letter-spacing:-0.01em; line-height:1.3;
}
.rail__stop .mono { display:block; margin-left:42px; color:var(--slate); white-space:nowrap; }
@keyframes railFade { from { opacity:0; transform:translateX(-6px) } to { opacity:1; transform:none } }

/* ═══ PORTADA ═══ */
.hero { padding:clamp(56px,7vw,92px) 0 clamp(64px,7vw,96px); }
.hero__grid { display:grid; grid-template-columns:124px minmax(0,1fr) minmax(0,.78fr); gap:clamp(24px,3.5vw,48px); align-items:stretch; }
.hero__body { min-width:0; padding-bottom:8px; align-self:center; }
.hero__media { position:relative; min-height:clamp(360px,42vw,520px); }
.hero__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero__media figcaption { position:absolute; left:0; right:0; bottom:-30px; }
.hero__body .label { margin-bottom:24px; }
.hero h1 { margin-bottom:26px; max-width:13ch; }
.hero h1 .thin { color:var(--brown); }
.hero__lead { max-width:44ch; margin-bottom:36px; }

/* Cifras bajo la portada */
.figures { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--hair-soft); margin-top:clamp(52px,6vw,84px); border-top:1px solid var(--hair-soft); }
.figure { background:var(--paper); padding:26px 26px 26px 0; }
.figures .figure + .figure { padding-left:26px; }
.figure b {
  display:block; font-family:var(--font-display); font-weight:200;
  font-size:clamp(2.2rem,4vw,3.1rem); color:var(--ink); line-height:1; letter-spacing:-0.04em;
}
.figure span { display:block; margin-top:10px; font-size:.78rem; color:var(--slate); line-height:1.45; }

/* Banda de imagen a sangre */
.band { width:100%; height:clamp(320px,46vw,560px); object-fit:cover; }
.band-wrap { margin-top:clamp(48px,6vw,80px); }
.band-cap {
  max-width:var(--shell); margin:14px auto 0; padding:0 clamp(20px,5vw,56px);
  font-size:.74rem; color:var(--slate);
}

/* ═══ CABECERA DE PÁGINA INTERIOR ═══ */
.pagehead { padding:clamp(40px,5vw,64px) 0 clamp(32px,4vw,52px); border-bottom:1px solid var(--hair-soft); }
.pagehead .label { margin-bottom:20px; }
.pagehead h1 { margin-bottom:24px; max-width:20ch; }
.pagehead .lead { max-width:62ch; }
.crumb { font-size:.72rem; color:var(--slate); margin-bottom:26px; }
.crumb a { text-decoration:none; border-bottom:1px solid var(--hair); }
.crumb a:hover { color:var(--ink); border-color:var(--ink); }

/* ═══ BLOQUE PARTIDO ═══ */
.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center; }
.split--wide-text { grid-template-columns:1.15fr .85fr; }
.split--wide-media { grid-template-columns:.85fr 1.15fr; }
.split--rail { grid-template-columns:210px minmax(0,1fr); gap:clamp(28px,6vw,80px); }
.split__media img { width:100%; }
.split--flip .split__media { order:2; }
.split__body .label { margin-bottom:18px; }
.split__body h2 { margin-bottom:22px; }
.split__body .btn-row { margin-top:30px; }

figure figcaption { margin-top:12px; font-size:.74rem; color:var(--slate); }

/* ═══ TARJETAS ═══ */
.cards { display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(20px,2.5vw,32px); }
.cards--3 { grid-template-columns:repeat(3,1fr); }
.card { background:var(--paper); border:1px solid var(--hair-soft); display:flex; flex-direction:column; }
.section--mist .card { background:var(--paper); border-color:transparent; }
.card img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.card__body { padding:28px 28px 32px; }
.card__body h3 { margin-bottom:12px; }
.card__body p { font-size:.95rem; }

/* ═══ LISTA ENUMERADA (beneficios masa madre) ═══ */
.numlist { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--hair-soft); border-top:1px solid var(--hair-soft); }
.numlist li { list-style:none; background:var(--paper); padding:30px 28px 34px; }
.section--mist .numlist { background:var(--mist-deep); border-top-color:var(--mist-deep); }
.section--mist .numlist li { background:var(--mist); }
.numlist .mono { color:var(--olive); display:block; margin-bottom:12px; font-weight:600; }
.numlist b { display:block; color:var(--ink); font-family:var(--font-display); font-weight:500; font-size:1rem; margin-bottom:8px; letter-spacing:-0.01em; }
.numlist span { font-size:.93rem; }

/* ═══ LÍNEA DE TIEMPO ═══ */
.timeline { display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--hair); }
.tl { padding:30px 26px 0 0; position:relative; }
.tl::before { content:''; position:absolute; top:-4px; left:0; width:7px; height:7px; border-radius:50%; background:var(--brown); }
.tl b {
  display:block; font-family:var(--font-display); font-weight:300;
  font-size:1.5rem; color:var(--ink); letter-spacing:-0.02em; margin-bottom:10px;
}
.tl p { font-size:.92rem; }

/* ═══ CITA ═══ */
.pull { max-width:44ch; }
.pull blockquote {
  font-family:var(--font-display); font-weight:200;
  font-size:clamp(1.4rem,2.6vw,2rem); line-height:1.3; letter-spacing:-0.025em;
  color:#fff; margin-bottom:26px;
}
.pull cite { font-style:normal; font-size:.78rem; color:rgba(255,255,255,.6); }

/* ═══ GALERÍA ═══ */
.grid-photos { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.grid-photos a { display:block; overflow:hidden; }
.grid-photos img { width:100%; aspect-ratio:1; object-fit:cover; transition:transform .5s ease; }
.grid-photos a:hover img { transform:scale(1.05); }
.grid-photos .wide { grid-column:span 2; }
.grid-photos .wide img { aspect-ratio:2/1; }

/* ═══ DATOS DE CONTACTO ═══ */
.datalist { border-top:1px solid var(--hair); }
.data { padding:24px 0; border-bottom:1px solid var(--hair-soft); }
.data .label { margin-bottom:8px; }
.data a, .data strong {
  font-family:var(--font-display); font-weight:400; font-size:1.25rem;
  color:var(--ink); text-decoration:none; letter-spacing:-0.015em;
}
.data a:hover { color:var(--brown); }
.data small { display:block; margin-top:6px; font-size:.82rem; }

/* ═══ FORMULARIO ═══ */
.form { display:grid; gap:20px; }
.field { display:grid; gap:8px; }
.field label { font-size:.67rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mid); }
.field input, .field textarea {
  font-family:var(--font-text); font-size:.97rem; color:var(--ink);
  background:var(--paper); border:1px solid var(--hair); padding:14px 16px;
  transition:border-color .2s;
}
.field input:focus, .field textarea:focus { outline:none; border-color:var(--ink); }
.field textarea { min-height:140px; resize:vertical; }
.form button { justify-self:start; }
.note { font-size:.8rem; color:var(--slate); }
.note--ok { color:var(--olive); font-weight:500; }
.note--error { color:#a3332b; font-weight:500; }
.field--trampa { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form { position:relative; }
.form button[disabled] { opacity:.6; cursor:wait; }

/* ═══ PIE ═══ */
.foot { background:var(--ink); color:rgba(255,255,255,.6); padding:clamp(56px,7vw,88px) 0 0; }
.foot__grid { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:clamp(28px,4vw,56px); padding-bottom:52px; }
.foot__brand img { height:64px; margin-bottom:20px; }
.foot__brand p { font-size:.9rem; max-width:36ch; }
.foot__col h4 {
  font-family:var(--font-text); font-size:.67rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:#fff; margin-bottom:18px;
}
.foot__col a { display:block; text-decoration:none; font-size:.9rem; padding:6px 0; transition:color .2s; }
.foot__col a:hover { color:#fff; }
.foot__bottom {
  border-top:1px solid rgba(255,255,255,.12); padding:22px 0 32px;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.76rem;
}

/* ═══ REVELADO AL DESPLAZAR ═══ */
.js .reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .js .reveal { opacity:1; transform:none; transition:none; }
  .rail__line, .rail__tick, .rail__stop { animation:none; opacity:1; transform:none; }
  .btn:hover, .grid-photos a:hover img { transform:none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width:1180px) {
  .nav__links { gap:15px; }
  .nav__links a { font-size:.66rem; letter-spacing:.06em; }
  .nav__logo img { height:42px; }
}
@media (max-width:1000px) {
  .nav__toggle { display:block; }
  .nav__links {
    position:absolute; top:var(--nav-h); left:0; right:0; display:none;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--paper); border-bottom:1px solid var(--hair);
    padding:6px clamp(20px,5vw,56px) 24px;
    box-shadow:0 24px 40px -28px rgba(18,18,16,.5);
  }
  .nav.is-open .nav__links { display:flex; }
  .nav__links a { font-size:.8rem; letter-spacing:.1em; padding:15px 0; border-bottom:1px solid var(--hair-soft); }
  .nav__links a::after { display:none; }
  .nav__cta { margin-top:16px; justify-content:center; border-bottom:0 !important; }

  .rail { display:none; }
  .hero__grid { grid-template-columns:1fr; gap:32px; }
  .hero__media { min-height:300px; }
  .split, .split--wide-text, .split--wide-media, .split--rail { grid-template-columns:1fr; gap:32px; }
  .split--flip .split__media { order:0; }
  .cards, .cards--3 { grid-template-columns:1fr; }
  .numlist { grid-template-columns:1fr; }
  .timeline { grid-template-columns:1fr 1fr; }
  .tl { padding:26px 20px 26px 0; }
  .grid-photos { grid-template-columns:repeat(2,1fr); }
  .foot__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:620px) {
  .figures { grid-template-columns:1fr; }
  .figure, .figures .figure + .figure { padding:22px 0; }
  .timeline { grid-template-columns:1fr; }
  .grid-photos .wide { grid-column:span 2; }
  .foot__grid { grid-template-columns:1fr; }
}

/* ─── Riel: variantes ─── */
.rail__stop--end { bottom:0; }
.rail__stop--end::before { top:auto; bottom:6px; }

.rail--page { width:150px; min-height:440px; }
.rail--page .rail__tick { width:13px; }
.rail--page .rail__tick b {
  position:absolute; left:22px; top:-8px; font-family:var(--font-mono);
  font-size:.66rem; font-weight:400; color:var(--slate); letter-spacing:.04em; white-space:nowrap;
}
@media (max-width:1000px) {
  .rail--page { display:block; width:100%; min-height:0; height:300px; margin-bottom:8px; }
}

/* ═══ VIDEO ═══ */
.video { position:relative; aspect-ratio:16/9; background:#000; max-width:1040px; }
.video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ═══ LOGOS DE CLIENTES ═══ */
.logos__title {
  font-family:var(--font-text); font-size:.67rem; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-mid); margin:0 0 16px;
}
.logos + .logos__title { margin-top:clamp(36px,4vw,52px); }
.logos { list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.logos--4 { grid-template-columns:repeat(4,1fr); }
.logos li {
  background:#fff; border:1px solid var(--hair-soft); height:124px; padding:22px 26px;
  display:flex; align-items:center; justify-content:center;
}
.logos img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }

/* ═══ RIEL POR REGIONES ═══
   El mismo riel de latitud, ahora con los locales de cada región
   en la latitud real de su capital.                            */
.split--regions { grid-template-columns:minmax(0,340px) minmax(0,1fr); gap:clamp(36px,7vw,96px); align-items:start; }
.regions { list-style:none; position:relative; height:660px; margin-bottom:24px; }
.regions::before {
  content:''; position:absolute; left:3px; top:9px; bottom:-9px; width:1px; background:var(--hair);
  transform-origin:top; animation:railDraw 1.1s cubic-bezier(.6,0,.2,1) both;
}
.regions li {
  position:absolute; left:0; right:0; padding-left:26px; line-height:18px;
  display:flex; align-items:baseline; justify-content:space-between; gap:14px;
  opacity:0; animation:railFade .6s ease both;
}
.regions li::before {
  content:''; position:absolute; left:0; top:6px; width:7px; height:7px; border-radius:50%; background:var(--brown);
}
.regions li:last-child::before { background:var(--olive); }
.regions b {
  font-family:var(--font-display); font-size:.9rem; font-weight:500; color:var(--ink);
  letter-spacing:-0.01em; white-space:nowrap;
}
.regions .mono { color:var(--slate); white-space:nowrap; }

@media (prefers-reduced-motion:reduce) {
  .regions::before, .regions li { animation:none; opacity:1; transform:none; }
}
@media (max-width:1000px) {
  .split--regions { grid-template-columns:1fr; }
  .regions { height:auto; margin-bottom:0; border-top:1px solid var(--hair); }
  .regions::before { display:none; }
  .regions li { position:relative; top:auto !important; padding:13px 0 13px 22px; border-bottom:1px solid var(--hair-soft); }
  .regions li::before { top:19px; }
  .logos { grid-template-columns:repeat(3,1fr); }
  .logos--4 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px) {
  .logos { grid-template-columns:repeat(2,1fr); }
  .logos li { height:104px; padding:18px 20px; }
}

/* ═══ NUESTRAS MARCAS: logos oficiales ═══ */
.brands { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,2.5vw,32px); }
.brand { background:var(--paper); border:1px solid var(--hair-soft); display:flex; flex-direction:column; }
.brand__mark {
  display:flex; align-items:center; justify-content:center;
  height:clamp(220px,24vw,300px); padding:clamp(28px,4vw,48px); background:#fff; border-bottom:1px solid var(--hair-soft);
}
.brand__mark--crema { background:#F3E9D8; }
.brand__mark img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.brand__body { padding:26px 28px 30px; }
.brand__body .label { margin-bottom:12px; }
.brand__body h3 { margin-bottom:10px; }
.brand__body p { font-size:.95rem; }
.split__logo { width:96px; height:auto; margin-bottom:22px; }
.afiche { margin:0 0 clamp(28px,3.5vw,44px); }
.afiche img { width:100%; height:auto; border:1px solid var(--hair-soft); }
@media (max-width:820px) {
  .brands { grid-template-columns:1fr; }
  .brand__mark { height:220px; }
}

/* ═══ PRODUCTOS EL ESPIGAL ═══ */
.products { list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,28px); }
.products li { background:var(--paper); border:1px solid var(--hair-soft); display:flex; flex-direction:column; }
.products img { width:100%; aspect-ratio:1; object-fit:contain; background:#fff; padding:6%; box-sizing:border-box; }
.products--photo img { object-fit:cover; padding:0; aspect-ratio:4/5; }
.products figcaption { padding:18px 20px 22px; border-top:1px solid var(--hair-soft); }
.products figcaption b { display:block; font-family:var(--font-display); font-weight:500; font-size:1rem; color:var(--ink); margin-bottom:4px; }
.products figcaption span { font-size:.85rem; color:var(--slate); line-height:1.45; }
.products--3 { grid-template-columns:repeat(3,1fr); }

/* ═══ MISIÓN, VISIÓN Y VALORES ═══ */
.mvv { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,2.5vw,32px); }
.mvv article { background:var(--paper); border:1px solid var(--hair-soft); padding:32px 32px 36px; }
.section--mist .mvv article { border-color:transparent; }
.mvv .label { margin-bottom:14px; }
.mvv h3 { margin-bottom:14px; }
.mvv p { max-width:60ch; }
.values { list-style:none; display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--hair-soft); border-top:1px solid var(--hair-soft); margin-top:clamp(20px,2.5vw,32px); }
.values li { background:var(--paper); padding:26px 22px; }
.section--mist .values { background:var(--mist-deep); border-top-color:var(--mist-deep); }
.section--mist .values li { background:var(--mist); }
.values small { display:block; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.08em; color:var(--slate); margin-bottom:10px; }
.values b { display:block; font-family:var(--font-display); font-weight:300; font-size:clamp(1.15rem,1.8vw,1.5rem); color:var(--ink); letter-spacing:-0.02em; }
@media (max-width:1000px) {
  .products, .products--3 { grid-template-columns:1fr 1fr; }
  .mvv { grid-template-columns:1fr; }
  .values { grid-template-columns:1fr 1fr; }
}
@media (max-width:620px) {
  .products, .products--3 { grid-template-columns:1fr; }
  .values { grid-template-columns:1fr; }
}

/* ═══ FOTO HISTÓRICA ═══ */
.hist-photo img { width:100%; display:block; }
.hist-photo figcaption { max-width:78ch; margin-top:14px; font-size:.86rem; line-height:1.55; color:var(--slate); }

.figure-wide { margin-top:clamp(28px,4vw,48px); }
.figure-wide img { width:100%; display:block; }

/* Listas numeradas de 4 y 7 elementos (Pan de verdad, Quiénes somos) */
.numlist--4 { grid-template-columns:repeat(4,1fr); }
.numlist--7 li:last-child { grid-column:1 / -1; }
@media (max-width:1000px) { .numlist--4 { grid-template-columns:1fr 1fr; } }
@media (max-width:620px) { .numlist--4 { grid-template-columns:1fr; } }

/* ═══ upcms: variantes que antes eran estilos en línea ═══ */
.section.pt-0 { padding-top:0; }
.section--ink .sec-head .lead { color:rgba(255,255,255,.8); }
.section--olive .sec-head .lead { color:rgba(255,255,255,.85); }
.sec-head--solo { margin-bottom:0; }
.figures--plain { margin-top:0; }
.figures--plain .figure { background:transparent; }
.prose > .btn-row { margin-top:34px; }
.products + .btn-row { margin-top:36px; }
.card__source { margin-top:14px; font-size:.8rem; color:var(--slate); }
.pull .label { margin-bottom:26px; }
.split--regions > div > .label { margin-bottom:26px; }
.up-orphan { padding:20px; background:#fff3df; color:#b36b00; text-align:center; font:14px system-ui; }
