/* ============================================
   ORIGEN CRIOLLO — Frigorífico
   ============================================ */

:root {
  /* Paleta — Origen Criollo (basada en logo) */
  --c-ink:        #3C3851;   /* púrpura tinta del lettering */
  --c-blue:       #5C5673;   /* púrpura medio */
  --c-celeste:    #B9D4E6;   /* celeste pálido (rayos bandera) */
  --c-celeste-2:  #DBE9F1;   /* celeste muy claro */
  --c-cream:      #FFFFFF;   /* blanco puro */
  --c-paper:      #FFFFFF;   /* fondo papel — blanco */
  --c-white:      #FFFFFF;
  --c-gold:       #D89A5A;   /* sol terracota — acento principal */
  --c-gold-soft:  #E6B47C;   /* sol claro */
  --c-grey:       #6B6779;   /* gris púrpura */
  --c-grey-soft:  #E6E4E9;
  --c-black:      #1F1B2E;
  --c-dark:       #1F1B2E;   /* footer oscuro */
  --c-btn:        #62677E;   /* color de botones */

  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-body:    "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --max-w: 1380px;
  --pad-x: clamp(20px, 4vw, 64px);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;

  --t-fast: 220ms cubic-bezier(.2,.7,.2,1);
  --t-med:  420ms cubic-bezier(.2,.7,.2,1);
}

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

html, body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--c-celeste); color: var(--c-ink); }

/* ============================================
   TIPOGRAFÍA
   ============================================ */

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

.display-italic {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--f-mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-blue);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding: 50px 0; }

.flag-stripe {
  height: 6px;
  background: linear-gradient(
    180deg,
    var(--c-celeste) 0 33.33%,
    var(--c-white) 33.33% 66.66%,
    var(--c-celeste) 66.66% 100%
  );
  position: relative;
}
.flag-stripe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--c-gold-soft) 0 6px, transparent 7px);
  background-size: 100% 100%;
  opacity: 0.5;
  pointer-events: none;
}

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background var(--t-med), backdrop-filter var(--t-med), box-shadow var(--t-med);
  padding: 12px 0;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(10, 42, 94, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--c-ink);
}
.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform var(--t-fast);
}
.nav-logo:hover img { transform: scale(1.04); }
.nav-logo .word {
  display: flex; flex-direction: column;
  line-height: 1.05;
  border-left: 1px solid rgba(60, 56, 81, 0.18);
  padding-left: 14px;
}
.nav-logo .word .a {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.nav-logo .word .b {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 4px;
}
@media (max-width: 540px) {
  .nav-logo .word { display: none; }
  .nav-logo img { height: 64px; }
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--c-blue); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--c-celeste);
  transition: right var(--t-fast);
}
.nav-links a:hover::after { right: 0; }
/* ============================================
   BOTONES — sistema unificado
   ============================================
   Principal: #62677E con texto blanco.
   Hover:     fondo blanco con texto #62677E.
   El "arrow" interno hace el inverso para mantener contraste.
   Las flechas SVG usan stroke="currentColor" — el color se hereda
   del span contenedor, no hace falta forzarlo.
   ============================================ */

.nav-cta {
  font-size: 13px;
  padding: 10px 20px;
  background: var(--c-btn);
  color: #ffffff;
  border: 1px solid var(--c-btn);
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.nav-cta:hover {
  background: #ffffff;
  color: var(--c-btn);
  transform: translateY(-1px);
}

/* ============================================
   MENÚ MOBILE — hamburguesa + panel lateral
   ============================================ */

/* El botón hamburguesa no se ve en desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--t-fast);
}

/* Overlay oscuro detrás del panel */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 35, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
  z-index: 998;
}
.nav-drawer-overlay.open { opacity: 1; visibility: visible; }

/* Panel lateral blanco que entra desde la derecha */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(80vw, 340px);
  background: #ffffff;
  box-shadow: -20px 0 60px -20px rgba(10, 42, 94, 0.35);
  transform: translateX(100%);
  transition: transform var(--t-med) cubic-bezier(.2,.7,.2,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 40px;
  box-sizing: border-box;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-close {
  align-self: flex-end;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--c-ink);
  cursor: pointer;
  margin-bottom: 16px;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
}
.nav-drawer-links a {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--c-ink);
  padding: 22px 0;
  border-bottom: 1px solid rgba(60, 56, 81, 0.12);
  transition: color var(--t-fast);
}
.nav-drawer-links a:hover { color: var(--c-blue); }

.nav-drawer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 32px;
  font-size: 15px;
  padding: 14px 24px;
}
.nav-drawer-cta .arrow {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--c-btn);
}

/* En mobile: ocultar links y CTA de la barra, mostrar hamburguesa */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

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

.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(48px, 7vw, 104px);
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 .italic { font-style: italic; color: var(--c-blue); font-weight: 300; }
.hero h1 .stamp {
  display: inline-block;
  position: relative;
}
.hero h1 .stamp::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: 6px;
  height: 14px;
  background: var(--c-gold);
  opacity: 0.5;
  z-index: -1;
  transform: skewX(-8deg);
}
.hero-lead {
  font-size: 18px;
  color: var(--c-grey);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 26px;
  background: var(--c-btn);
  color: #ffffff;
  border: 1px solid var(--c-btn);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 6px 18px rgba(98, 103, 126, 0.18);
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--c-btn);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(98, 103, 126, 0.28);
}
/* Arrow chip: inverso del botón → blanco con flecha #62677E,
   en hover se vuelve #62677E con flecha blanca. */
.btn-primary .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--c-btn);
  display: inline-grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
}
.btn-primary:hover .arrow {
  background: var(--c-btn);
  color: #ffffff;
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: transparent;
  border: 1px solid var(--c-btn);
  border-radius: 999px;
  font-size: 14px;
  color: var(--c-btn);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.btn-ghost:hover {
  background: var(--c-btn);
  color: #ffffff;
}

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  max-width: 540px;
}
.hero-meta-item .k {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--c-ink);
  line-height: 1;
}
.hero-meta-item .v {
  font-size: 12px;
  color: var(--c-grey);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* hero visual stack */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 680px;
}
.hero-visual .frame {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-celeste-2);
  box-shadow: 0 30px 60px -20px rgba(10, 42, 94, 0.35);
}
.hero-visual .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero-visual .frame:hover img { transform: scale(1.06); }
.hero-visual .frame.main {
  inset: 0 0 0 8%;
  z-index: 2;
}
.hero-visual .frame.aux {
  width: 38%;
  aspect-ratio: 3/4;
  bottom: -4%;
  left: -4%;
  z-index: 3;
  border: 6px solid var(--c-paper);
}
.hero-visual .badge {
  position: absolute;
  top: -18px; right: 8%;
  width: 132px; height: 132px;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  z-index: 4;
  box-shadow: 0 18px 36px rgba(10, 42, 94, 0.3);
  animation: spinBadge 22s linear infinite;
  border: 2px solid var(--c-gold-soft);
}
.hero-visual .badge .inner {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  line-height: 1.1;
  padding: 8px;
}
.hero-visual .badge .inner strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-style: normal;
  font-size: 26px;
  color: var(--c-celeste);
  margin: 4px 0;
  letter-spacing: 0.02em;
}
@keyframes spinBadge { to { transform: rotate(360deg); } }

.hero-flag-bg {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 60%;
  height: 200px;
  background: repeating-linear-gradient(
    180deg,
    var(--c-celeste-2) 0 8px,
    transparent 8px 24px
  );
  opacity: 0.5;
  z-index: 0;
  transform: rotate(-6deg);
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 3/4; max-height: 520px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .hero-meta-item .k { font-size: 26px; }
}

/* ============================================
   HERO — overrides solo para mobile
   ============================================ */
@media (max-width: 720px) {
  .hero {
    padding-top: 96px;   /* justo debajo del nav */
    padding-bottom: 40px;
  }
  /* Flex column con orden: imagen primero, copy después, stats al final */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .hero-visual {
    order: 1;
    aspect-ratio: 4/3;
    max-height: none;
    width: 100%;
    margin: 0;
  }
  /* Sello más chico y reubicado para no comerse el frame */
  .hero-visual .badge {
    width: 96px; height: 96px;
    top: -14px; right: 4%;
  }
  .hero-visual .badge .inner { font-size: 11px; padding: 6px; }
  .hero-visual .badge .inner strong { font-size: 19px; margin: 2px 0; }
  /* Frame principal full-bleed; auxiliar más compacto */
  .hero-visual .frame.main { inset: 0; }
  .hero-visual .frame.aux {
    width: 34%;
    bottom: -6%;
    left: 4%;
    border-width: 4px;
  }
  .hero-copy { order: 2; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-lead {
    font-size: 16px;
    margin-bottom: 22px;
  }
  /* CTA full-width */
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta-row .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
  }
  /* Stats contenidos: caja con divisores entre items */
  .hero-meta {
    order: 3;
    margin-top: 8px;
    background: rgba(60, 56, 81, 0.04);
    border: 1px solid rgba(60, 56, 81, 0.10);
    border-radius: 14px;
    padding: 18px 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: none;
  }
  .hero-meta-item {
    padding: 0 10px;
    text-align: center;
    border-right: 1px solid rgba(60, 56, 81, 0.12);
  }
  .hero-meta-item:last-child { border-right: none; }
  .hero-meta-item .k {
    font-size: 28px;
    color: var(--c-ink);
  }
  .hero-meta-item .v {
    margin-top: 4px;
    font-size: 11px;
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  color: var(--c-blue);
  font-weight: 300;
}
.section-head p {
  color: var(--c-grey);
  max-width: 460px;
  justify-self: end;
}
.section-head .eyebrow { display: block; margin-bottom: 16px; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
}

/* ============================================
   LINEAS DE PRODUCTO
   ============================================ */

.lineas {
  background: var(--c-paper);
  position: relative;
}
.lineas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .lineas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .lineas-grid { grid-template-columns: 1fr; } }

.linea-card {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
  border: 1px solid rgba(10, 42, 94, 0.06);
}
.linea-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -24px rgba(10, 42, 94, 0.3);
}
.linea-card.alt { transform: translateY(28px); }
.linea-card.alt:hover { transform: translateY(22px); }

.linea-num {
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-white);
  z-index: 3;
  mix-blend-mode: difference;
}
.linea-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--c-celeste-2);
  position: relative;
}
.linea-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter var(--t-med);
}
.linea-card:hover .linea-img img { transform: scale(1.06); }
.linea-img image-slot {
  width: 100%; height: 100%;
  display: block;
}
.linea-img image-slot img,
.linea-img image-slot canvas {
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.linea-card:hover .linea-img image-slot img,
.linea-card:hover .linea-img image-slot canvas {
  transform: scale(1.06);
}
.linea-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 42, 94, 0.45));
}
.linea-body {
  padding: 22px 22px 26px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.linea-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.linea-name {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.linea-name em { font-style: italic; color: var(--c-blue); font-weight: 300; }
.linea-desc {
  font-size: 13.5px;
  color: var(--c-grey);
  line-height: 1.55;
}
.linea-more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex; align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-btn);
}
.linea-more .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-btn);
  background: transparent;
  color: var(--c-btn);
  display: inline-grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.linea-card:hover .linea-more .arrow {
  background: var(--c-btn);
  color: #ffffff;
  transform: translateX(4px);
}

/* ============================================
   STATS
   ============================================ */

.stats {
  background: var(--c-ink);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.stats::before {
  display: none;
}
.stats .container { position: relative; z-index: 1; }
.stats-head { 
  display: block;
  margin-bottom: 60px;
  max-width: 760px;
}
.stats-head .eyebrow { color: var(--c-celeste); }
.stats-head .eyebrow .dot { background: var(--c-celeste); }
.stats-head h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin-top: 16px;
  color: var(--c-white);
}
.stats-head h2 em { font-style: italic; color: var(--c-celeste); font-weight: 300; }
.stats-head p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-top: 20px;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr; } }

.stat {
  padding: 40px 24px;
  position: relative;
}
.stat:last-child { border-right: none; }
@media (max-width: 800px) {
  .stat:nth-child(2n) { border-right: none; }
}
.stat-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 110px);
  color: var(--c-white);
  line-height: 0.95;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 4px;
}
.stat-num .plus {
  color: var(--c-celeste);
  font-size: 0.55em;
  font-style: italic;
  font-weight: 300;
  margin-right: 2px;
}
.stat-num .suf {
  font-family: var(--f-body);
  font-size: 0.22em;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 12px;
  align-self: center;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 12px;
  max-width: 220px;
  line-height: 1.4;
}

/* ============================================
   DISTRIBUIDOR
   ============================================ */

.distrib {
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.distrib-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.distrib-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  margin: 18px 0 28px;
  text-wrap: balance;
}
.distrib-copy h2 em { font-style: italic; color: var(--c-blue); font-weight: 300; }
.distrib-copy p { color: var(--c-grey); max-width: 460px; margin-bottom: 32px; font-size: 17px; }

.distrib-list {
  display: grid; gap: 14px;
  margin-bottom: 36px;
}
.distrib-list li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14.5px;
  color: var(--c-ink);
}
.distrib-list li .tick {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-celeste);
  display: grid; place-items: center;
  font-size: 12px;
  margin-top: 1px;
}

.distrib-visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-blue);
}
.distrib-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.distrib-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,42,94,0.55), rgba(10,42,94,0.0) 60%);
}
.distrib-visual .map-pin {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--c-celeste);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(123, 181, 224, 0.3), 0 0 0 12px rgba(123, 181, 224, 0.12);
  z-index: 2;
}
.distrib-visual .ticker {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  z-index: 3;
  box-shadow: 0 18px 40px rgba(10, 42, 94, 0.25);
}
.distrib-visual .ticker .ico {
  width: 38px; height: 38px;
  background: var(--c-ink);
  color: var(--c-celeste);
  border-radius: 50%;
  display: grid; place-items: center;
}
.distrib-visual .ticker .t {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1;
}
.distrib-visual .ticker .s {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-top: 4px;
}

/* En mobile el cartel se achica para no tapar la foto del camión */
@media (max-width: 640px) {
  .distrib-visual .ticker {
    left: 14px; bottom: 14px;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 12px;
  }
  .distrib-visual .ticker .ico { width: 30px; height: 30px; }
  .distrib-visual .ticker .ico svg { width: 15px; height: 15px; }
  .distrib-visual .ticker .t { font-size: 16px; }
  .distrib-visual .ticker .s { font-size: 8px; letter-spacing: 0.14em; margin-top: 3px; }
}

@media (max-width: 980px) {
  .distrib-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   RECETAS
   ============================================ */

.recetas {
  background: var(--c-paper);
  position: relative;
}
.recetas-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.recetas-img {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.recetas-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.recetas-img:hover img { transform: scale(1.05); }
.recetas-img .sticker {
  position: absolute;
  right: -28px; top: 40px;
  background: var(--c-celeste);
  color: var(--c-ink);
  padding: 18px 22px;
  border-radius: 14px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.1;
  box-shadow: 0 16px 30px rgba(10,42,94, 0.25);
  transform: rotate(4deg);
}
.recetas-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 0.98;
  margin: 18px 0 28px;
  text-wrap: balance;
}
.recetas-copy h2 em { font-style: italic; color: var(--c-blue); font-weight: 300; }
.recetas-copy p { color: var(--c-grey); max-width: 440px; margin-bottom: 32px; font-size: 17px; }

.recetas-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.recetas-tags span {
  padding: 8px 14px;
  border: 1px solid rgba(10, 42, 94, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  background: var(--c-white);
  transition: all var(--t-fast);
}
.recetas-tags span:hover { background: var(--c-ink); color: var(--c-cream); border-color: var(--c-ink); }

@media (max-width: 980px) {
  .recetas-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   CONTACTO
   ============================================ */

.contacto {
  position: relative;
  background: var(--c-ink);
  color: var(--c-cream);
  overflow: hidden;
}
.contacto::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/contacto-cerdos.webp") center/cover;
  opacity: 0.18;
  filter: grayscale(0.3);
}
.contacto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contacto-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  color: var(--c-white);
  margin: 18px 0 24px;
}
.contacto-copy h2 em { font-style: italic; color: var(--c-celeste); font-weight: 300; }
.contacto-copy p { color: rgba(255,255,255,0.75); max-width: 380px; font-size: 16px; }
.contacto-copy .eyebrow { color: var(--c-celeste); }
.contacto-copy .eyebrow .dot { background: var(--c-celeste); }
.contacto-direct {
  margin-top: 36px;
  display: grid; gap: 14px;
}
.contacto-direct a {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--c-cream);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  transition: color var(--t-fast);
}
.contacto-direct a:last-child { border-bottom: 1px solid rgba(255,255,255,0.15); }
.contacto-direct a:hover { color: var(--c-celeste); }
.contacto-direct .key {
  flex: 0 0 90px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* form */
.form-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.form-card .form-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 8px;
}
.form-card h3 {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 26px;
}
.form-card h3 em { font-style: italic; color: var(--c-blue); font-weight: 300; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field {
  position: relative;
  display: flex; flex-direction: column;
}
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 42, 94, 0.18);
  border-radius: 10px;
  background: var(--c-white);
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(123, 181, 224, 0.25);
}
.field.error input, .field.error textarea, .field.error select {
  border-color: #B8453C;
}
.field-error {
  font-size: 11px;
  color: #B8453C;
  margin-top: 4px;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}
.form-submit {
  margin-top: 22px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.form-status {
  font-size: 13px;
  color: var(--c-blue);
  font-family: var(--f-mono);
}
.form-status.ok {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123, 181, 224, 0.25);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--c-ink);
}

@media (max-width: 980px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px; }
}

/* En mobile, los datos de contacto se apilan: rótulo arriba, dato abajo */
@media (max-width: 640px) {
  .contacto-direct a {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 10px;
    font-size: 15px;
    line-height: 1.3;
  }
  .contacto-direct .key {
    flex: 0 0 100%;
    margin-bottom: 2px;
  }
}

/* ============================================
   FOOTER (oscuro)
   ============================================ */

.footer {
  background: var(--c-dark);
  color: var(--c-cream);
  padding: 96px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-campo {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/footer-campo.png") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 224, 0.55);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a,
.footer li .footer-addr {
  color: var(--c-cream);
  font-size: 14px;
  transition: color var(--t-fast);
  opacity: 0.88;
}
.footer li a:hover { color: var(--c-gold-soft); opacity: 1; }
.footer li .footer-addr { cursor: default; }
.footer-brand .nav-logo { color: var(--c-cream); }
.footer-brand.footer-brand,
.footer-brand .footer-logo-big {
  display: block;
}
.footer-brand .footer-logo-big img {
  height: 180px;
  width: auto;
  display: block;
}
@media (max-width: 800px) {
  .footer-brand .footer-logo-big img { height: 140px; }
}
.footer-bottom {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 236, 224, 0.14);
  font-size: 12px;
  color: rgba(244, 236, 224, 0.62);
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(244, 236, 224, 0.22);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--c-cream);
  transition: all var(--t-fast);
}
.footer-socials a:hover {
  background: var(--c-gold);
  color: var(--c-dark);
  border-color: var(--c-gold);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }

/* ============================================
   PRODUCT PAGE — HEADER centrado (sin banner)
   ============================================ */

.product-header {
  padding: 96px 0 28px;
  text-align: center;
  background: var(--c-paper);
}
.product-header .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 0.32em;
  font-size: 15px;
  color: var(--c-ink);
  font-weight: 500;
  white-space: nowrap;
}
.product-header .eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--c-gold);
  margin-right: 14px;
}
.product-header .brand-logo {
  display: block;
  margin: 0 auto 32px;
  height: 190px;
  width: auto;
}
.product-header h1 {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.product-header h1 em {
  font-style: italic;
  color: var(--c-blue);
  font-weight: 300;
}
.product-header .lead {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--c-grey);
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .product-header { padding: 76px 0 28px; }
  .product-header .brand-logo { height: 150px; margin-bottom: 24px; }
  .product-header .eyebrow { font-size: 13px; }
}

/* ============================================
   PRODUCT GRID — sin cards, imágenes flotantes
   ============================================ */

.products {
  padding: 50px 0;
  background: var(--c-paper);
}
.product-cat + .product-cat {
  margin-top: 64px;
}
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 16%, transparent);
}
.cat-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--c-ink);
}
.cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr; } }

.product-item {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.product-item .pimg {
  width: 100%;
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  position: relative;
  margin-bottom: 4px;
  transition: transform var(--t-med);
}
.product-item:hover .pimg { transform: translateY(-6px); }
.product-item .pimg img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  display: block;
  background: transparent;
}
/* image-slot: ocupa todo el contenedor con sombra debajo del producto */
.product-item .pimg image-slot {
  width: 100%;
  height: 100%;
  background: transparent;
  display: block;
  filter: drop-shadow(0 18px 22px rgba(60, 56, 81, 0.18));
}
/* quitar el fondo gris y borde punteado del image-slot
   para que el PNG flote sin recuadro */
.product-item .pimg image-slot::part(frame) {
  background: transparent;
}
.product-item .pimg image-slot::part(ring) {
  border: none;
}
.product-item .pname {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--c-ink);
}

/* ============================================
   DOWNLOAD CATALOG — botón centrado
   ============================================ */

.catalog-row {
  display: flex; justify-content: center;
  padding: 50px 0;
  background: var(--c-paper);
}
.catalog-row .btn-primary {
  padding: 16px 28px 16px 32px;
  font-size: 14px;
}

/* ============================================
   CORTES DEL CERDO — ilustración + lista
   ============================================ */

.cuts {
  background: var(--c-grey-soft);
  padding: 50px 0;
  position: relative;
}
.cuts-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.cuts-illustration {
  position: relative;
  width: 100%;
}
.cuts-illustration .pig-mask {
  width: 100%;
  aspect-ratio: 4662 / 2555;
  background-color: var(--c-ink);
  -webkit-mask-image: url("assets/chancho-cortes.png");
          mask-image: url("assets/chancho-cortes.png");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
.cuts-illustration img {
  width: 100%;
  height: auto;
  display: block;
}
.cuts-illustration image-slot {
  width: 100%; height: auto; aspect-ratio: 5/3.5;
  display: block;
  background: transparent;
}
.cuts-illustration image-slot img,
.cuts-illustration image-slot canvas {
  width: 100%; height: 100%; object-fit: contain; background: transparent;
}
.cuts-illustration svg {
  width: 100%; height: auto; display: block;
}

.cuts-copy h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 32px;
  text-wrap: balance;
}
.cuts-copy h2 em {
  font-style: italic;
  color: var(--c-blue);
  font-weight: 300;
}
.cuts-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cuts-list li {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-ink);
}
.cuts-list li .n {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--c-ink);
  margin-right: 4px;
}

@media (max-width: 880px) {
  .cuts { padding: 50px 0; }
  .cuts-grid { grid-template-columns: 1fr; gap: 36px; }
  .cuts-list { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

/* ============================================
   FIAMBRES — Selección de marca
   ============================================ */
.brand-picker {
  padding: 120px 0 96px;
  background: var(--c-paper);
}
.brand-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.brand-intro .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 0.32em;
  font-size: 15px;
  color: var(--c-ink);
}
.brand-intro h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.brand-intro h1 em {
  font-style: italic;
  color: var(--c-blue);
  font-weight: 300;
}
.brand-intro .lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-grey);
  max-width: 480px;
  margin: 0 auto;
}

.brand-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .brand-cards { grid-template-columns: 1fr; max-width: 460px; }
  .brand-picker { padding: 96px 0 72px; }
}
.brand-card {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--c-ink) 14%, transparent);
  background: #fff;
  border-radius: 4px;
  padding: 48px 40px 36px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  box-shadow: 0 1px 2px rgba(60, 56, 81, 0.04);
}
.brand-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c-ink) 26%, transparent);
  box-shadow: 0 26px 50px -24px rgba(60, 56, 81, 0.42);
}
.brand-card-logo {
  height: 150px;
  display: grid;
  place-items: center;
  width: 100%;
}
.brand-card-logo img {
  max-height: 150px;
  max-width: 82%;
  object-fit: contain;
  display: block;
}
.brand-card-tag {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--c-grey);
  max-width: 280px;
  margin: 0;
}
.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-top: auto;
}
.brand-card-cta .arrow {
  display: inline-flex;
  transition: transform var(--t-med);
}
.brand-card:hover .brand-card-cta .arrow { transform: translateX(5px); }

/* ============================================
   FIAMBRES — Barra de marcas (volver / cambiar)
   ============================================ */
.brand-catalog-view {
  padding-top: 104px;
}
.brand-switchbar {
  position: sticky;
  top: 104px;
  z-index: 40;
  background: color-mix(in srgb, var(--c-paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-ink) 12%, transparent);
}
.brand-switchbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand-back {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  transition: color var(--t-fast);
}
.brand-back:hover { color: var(--c-blue); }
.brand-back { white-space: nowrap; }
.brand-back-arrow { font-size: 17px; line-height: 1; transition: transform var(--t-fast); }
.brand-back:hover .brand-back-arrow { transform: translateX(-3px); }
.brand-switch {
  display: flex;
  gap: 8px;
}
.brand-switch-item {
  appearance: none;
  cursor: pointer;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--c-ink) 14%, transparent);
  border-radius: 3px;
  height: 46px;
  min-width: 76px;
  padding: 6px 14px;
  display: grid;
  place-items: center;
  opacity: 0.5;
  filter: grayscale(0.4);
  transition: opacity var(--t-fast), filter var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.brand-switch-item img {
  max-height: 32px;
  max-width: 100px;
  object-fit: contain;
  display: block;
}
.brand-switch-item:hover { opacity: 0.85; filter: grayscale(0); }
.brand-switch-item.active {
  opacity: 1;
  filter: none;
  border-color: color-mix(in srgb, var(--c-ink) 32%, transparent);
  box-shadow: 0 4px 12px -6px rgba(60, 56, 81, 0.4);
}

/* Header del catálogo de marca: logo de marca grande */
.brand-header { padding-top: 56px; }
.brand-header-logo {
  display: grid;
  place-items: center;
  height: 168px;
  margin: 0 auto 28px;
}
.brand-header-logo img {
  max-height: 168px;
  max-width: 340px;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .brand-catalog-view { padding-top: 88px; }
  .brand-switchbar { top: 88px; }
  .brand-header-logo { height: 120px; }
  .brand-header-logo img { max-height: 120px; max-width: 240px; }
  .brand-switch-item { min-width: 60px; height: 42px; }
  .brand-back { font-size: 13px; }
}

/* Animación de entrada para contenido dinámico de marca */
@keyframes fbFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fb-anim {
  opacity: 0;
  animation: fbFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fb-anim.d1 { animation-delay: 80ms; }
.fb-anim.d2 { animation-delay: 160ms; }
.fb-anim.d3 { animation-delay: 240ms; }
.fb-anim.d4 { animation-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  .fb-anim { animation: none; opacity: 1; }
}

/* ============================================
   FIAMBRES — Banner cinematográfico
   ============================================ */
.fiambres-banner {
  position: relative;
  height: clamp(380px, 52vh, 560px);
  overflow: hidden;
  background: var(--c-dark);
  isolation: isolate;
}
.fiambres-banner image-slot {
  z-index: 0;
}
/* zoom lento tipo video sobre la imagen cargada */
.fiambres-banner image-slot::part(image) {
  animation: bannerZoom 22s ease-in-out infinite alternate;
}
.fiambres-banner image-slot::part(frame) {
  background: transparent;
}
@keyframes bannerZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
@media (prefers-reduced-motion: reduce) {
  .fiambres-banner image-slot::part(image) { animation: none; }
}
.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 18, 30, 0.55) 0%, rgba(20, 18, 30, 0.35) 42%, rgba(20, 18, 30, 0.72) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(20, 18, 30, 0.5) 100%);
  pointer-events: none;
}
.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
  pointer-events: none;
}
.banner-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}
.banner-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.banner-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-celeste-2, #cfe3f1);
}
.banner-sub {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 420px;
  margin: 0;
}

/* ============================================
   PRÓXIMAMENTE — Vacuno / Pollos
   ============================================ */
.coming-soon {
  position: relative;
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-paper);
  padding: 120px 0;
  overflow: hidden;
}
.cs-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 26px;
}
.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  margin-right: 14px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-gold) 60%, transparent);
  animation: csPulse 2.2s ease-out infinite;
}
@keyframes csPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-gold) 55%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in srgb, var(--c-gold) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-gold) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-dot { animation: none; }
}
.cs-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.cs-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-blue);
}
.cs-lead {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--c-grey);
  max-width: 500px;
  margin: 0 0 44px;
  text-wrap: pretty;
}
.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
@media (max-width: 600px) {
  .coming-soon { min-height: calc(100vh - 88px); padding: 96px 0; }
  .cs-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .cs-actions .btn-primary, .cs-actions .btn-ghost { justify-content: center; width: 100%; }
}

/* ============================================
   IMÁGENES POR ARCHIVO (reemplazo de image-slot)
   ProductImg renderiza <img.product-img> o, si el archivo
   no existe todavía, un <div.img-placeholder> gris.
   ============================================ */

/* Productos (Frescos / Fiambres): PNG flotante sin recuadro */
.product-item .pimg .product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 18px 22px rgba(60, 56, 81, 0.18));
}

/* Placeholder gris cuando falta la foto del producto */
.product-item .pimg .img-placeholder {
  width: 82%;
  height: 82%;
  border-radius: 14px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(60, 56, 81, 0.05),
      rgba(60, 56, 81, 0.05) 10px,
      rgba(60, 56, 81, 0.08) 10px,
      rgba(60, 56, 81, 0.08) 20px
    );
  border: 1px dashed rgba(60, 56, 81, 0.18);
}

/* Tarjetas de líneas del Home: foto que cubre todo */
.linea-img .product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.linea-card:hover .linea-img .product-img { transform: scale(1.06); }

.linea-img .img-placeholder {
  width: 100%; height: 100%;
  background: var(--c-celeste-2);
}

/* Banner de Fiambres: imagen de fondo a pantalla completa */
.fiambres-banner .product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fiambres-banner .img-placeholder {
  width: 100%; height: 100%;
  background: var(--c-blue, #2A4D7E);
}

/* Video del banner: cubre todo, sin controles, autoplay */
.fiambres-banner .banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* no se puede pausar/clickear */
}
/* Ocultar el botón de play/pausa en todos los navegadores */
.fiambres-banner .banner-video::-webkit-media-controls,
.fiambres-banner .banner-video::-webkit-media-controls-enclosure,
.fiambres-banner .banner-video::-webkit-media-controls-panel,
.fiambres-banner .banner-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none !important;
}

/* ============================================
   IMÁGENES LOCALES EN HERO Y DISTRIBUIDORES
   (antes venían de Unsplash, ahora son archivos)
   ============================================ */

/* Hero: las dos fotos del bloque visual */
.hero-visual .frame .product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero-visual .frame:hover .product-img { transform: scale(1.06); }
.hero-visual .frame .img-placeholder {
  width: 100%; height: 100%;
  background: var(--c-celeste-2);
}

/* Distribuidores: foto del camión */
.distrib-visual .product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.distrib-visual .img-placeholder {
  width: 100%; height: 100%;
  background: var(--c-blue);
}
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  z-index: 9999;
}
.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.48);
}
.whatsapp-btn img {
  width: 30px;
  height: 30px;
}

@media (max-width: 720px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-btn img {
    width: 26px;
    height: 26px;
  }
}