/* =========================================================
   /servicios.html — Subpágina Galeazzi
   ========================================================= */

.page-servicios{ background: var(--cream); }

/* Navbar en subpágina: siempre fondo blanco sólido */
.page-servicios .nav__links a.is-current{
  color: var(--forest);
  border-bottom-color: rgba(31,61,42,0.6);
}

/* =========================================================
   HERO COMPACTO
   ========================================================= */
.sub-hero{
  background: var(--cream);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sub-hero--image{ min-height: 60vh; }
.sub-hero__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sub-hero__overlay{
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 100%);
}
.sub-hero__inner{
  position: absolute;
  bottom: 8vw;
  left: 6vw;
  z-index: 2;
  max-width: 720px;
}
.sub-hero--image .sub-hero__title{
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.sub-hero--image .sub-hero__lead{
  color: rgba(255,255,255,0.85);
}
.sub-hero__title{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sub-hero__lead{
  margin-top: 20px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
}

/* =========================================================
   CHIP BAR STICKY SUPERIOR (reemplaza al navigator lateral)
   ========================================================= */
.svc-chips{
  position: sticky;
  top: 84px;
  z-index: 900;
  width: 100%;
  padding: 16px 5vw;
  background: rgba(245,242,237,0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(31,61,42,0.08);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.svc-chips.is-visible{ opacity: 1; }
.svc-chips__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-chips__inner::-webkit-scrollbar{ display: none; }
.svc-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(31,61,42,0.15);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.65;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.svc-chip:hover{
  opacity: 1;
  background: rgba(31,61,42,0.05);
}
.svc-chip span{
  font-weight: 400;
  font-size: 11px;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}
.svc-chip.is-active{
  opacity: 1;
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.svc-chip.is-active span{ color: var(--lime-soft); opacity: 1; }

/* =========================================================
   SVC SECCIONES BASE
   ========================================================= */
.svc-main{ position: relative; }
.svc{
  padding-block: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.svc__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw;
  position: relative;
}

.svc__head{
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: 80px;
}
.svc__head-left{
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svc__num{
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  background: linear-gradient(180deg, #8A9469 0%, #5A6647 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.svc__head-left{ gap: 0; }
.svc__title{ margin-top: 0; }
.svc__title{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.svc__tagline{
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 480px;
}
.svc__head-right{
  padding-top: 8px;
}
.svc__lead{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 560px;
}
.svc__lead-sec{
  margin-top: 32px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

/* =========================================================
   CARRUSEL HORIZONTAL (Agroinsumos + Logística)
   ========================================================= */
.svc-carousel{
  position: relative;
  margin-top: 100px;
}
.svc-carousel__track{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 24px;
  scrollbar-width: none;
  touch-action: pan-x;
}
.svc-carousel__track::-webkit-scrollbar{ display: none; }

.prod-card{
  flex: 0 0 clamp(260px, 28vw, 340px);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--line);
}
.prod-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform .8s var(--ease);
}
.prod-card:hover img{ transform: scale(1.05); }
.prod-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.prod-card__body{
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  color: var(--white);
  z-index: 2;
}
.prod-card__body h3{
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.prod-card__body p{
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 240px;
}

.svc-carousel__nav{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.svc-carousel__btn{
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--forest);
  color: var(--forest);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.svc-carousel__btn:hover{ background: var(--forest); color: var(--white); }
.svc-carousel__btn svg{ width: 18px; height: 18px; }

.svc-carousel__nav--dark .svc-carousel__btn{
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.svc-carousel__nav--dark .svc-carousel__btn:hover{
  background: var(--white); color: var(--forest);
}

/* =========================================================
   BLOQUE FINANCIACIÓN (Agroinsumos)
   ========================================================= */
.finance-block{
  margin-top: 100px;
  background: var(--forest);
  border: 0;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}
.finance-block__left h3{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.1;
}
.finance-block__left p{
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(245,242,237,0.7);
  max-width: 320px;
  line-height: 1.55;
}
.finance-block__opts{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.finance-opt{
  padding: 12px 24px;
  border-right: 1px solid rgba(245,242,237,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.finance-opt:last-child{ border-right: 0; }
.finance-opt svg{
  width: 32px; height: 32px;
  color: var(--cream);
  opacity: 0.85;
}
.finance-opt span{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
}

/* =========================================================
   MARQUEE MARCAS PARTNERS (Agroinsumos)
   ========================================================= */
.brands-marquee{
  margin-top: 100px;
  padding-block: 20px 0;
}
.brands-marquee__label{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.brands-marquee__viewport{
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}
.brands-marquee__track{
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: fit-content;
}
.brands-marquee__viewport:hover .brands-marquee__track{ animation-play-state: paused; }
.brands-marquee__track img{
  max-height: 40px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter .4s ease, opacity .4s ease;
}
.brands-marquee__track img:hover{
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes marquee{
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

/* =========================================================
   REFERENTE
   ========================================================= */
.referente{
  margin-top: 100px;
  background: rgba(31,61,42,0.04);
  border: 1px solid rgba(31,61,42,0.10);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.referente--dark{
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-color: rgba(255,255,255,0.16);
}
.referente__label{
  display: flex; flex-direction: column; gap: 8px;
  min-width: 200px;
}
.referente__eyebrow{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.referente--dark .referente__eyebrow{ color: rgba(255,255,255,0.55); }
.referente__sub{
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
.referente--dark .referente__sub{ color: rgba(255,255,255,0.7); }
.referente__who{
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.referente__name{
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.referente--dark .referente__name{ color: var(--white); }
.referente__role{
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
.referente--dark .referente__role{ color: rgba(255,255,255,0.6); }

.referente__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--forest);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background .3s var(--ease);
}
.referente__cta:hover{ background: var(--forest-deep); }
.referente__cta--dark{
  background: var(--cream);
  color: var(--forest);
}
.referente__cta--dark:hover{ background: var(--white); color: var(--forest-deep); }
.referente__arrow{
  transition: transform .3s var(--ease);
}
.referente__cta:hover .referente__arrow{ transform: translate(4px, -1px); }

/* =========================================================
   FRASE EDITORIAL DE CIERRE
   ========================================================= */
.svc-quote{
  margin-top: 80px;
  padding-block: 40px 0;
  text-align: center;
}
.svc-quote__divider{
  display: block;
  width: 40px; height: 1px;
  background: var(--sage);
  margin: 0 auto 32px auto;
}
.svc-quote--dark .svc-quote__divider{ background: rgba(184,194,154,0.6); }
.svc-quote__text{
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--forest);
  max-width: 800px;
  margin: 0 auto;
}
.svc-quote--dark .svc-quote__text{ color: var(--cream); }

/* =========================================================
   ACOPIO — Grains + Bento
   ========================================================= */
.grains{
  margin-top: 80px;
}
.grains__label{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 32px;
}
.grains__grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grains__grid li{
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.grains__grid li:last-child{ border-right: 0; }
.grains__grid svg{
  width: 40px; height: 40px;
  color: var(--sage);
}
.grains__grid span{
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

.acopio-wrap{ margin-top: 100px; }
.acopio-bento{
  display: grid;
  grid-template-columns: 1fr 1fr 380px;
  grid-template-areas:
    "c1 c2 img"
    "c3 c4 img";
  gap: 20px;
}
/* En desktop los wrappers .acopio-frame y .ab-card__content son transparentes al layout */
.acopio-frame{ display: contents; }
.ab-card__content{ display: contents; }
/* Dots solo visibles en el carrusel mobile */
.acopio-dots{ display: none; }
.acopio-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(31,61,42,0.20);
  transition: background .3s var(--ease), transform .3s var(--ease);
  display: inline-block;
}
.acopio-dot.is-active{
  background: var(--forest);
  transform: scale(1.15);
}
.ab-card{
  background: rgba(31,61,42,0.04);
  border: 1px solid rgba(31,61,42,0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column;
}
.ab-card:nth-child(1){ grid-area: c1; }
.ab-card:nth-child(2){ grid-area: c2; }
.ab-card:nth-child(3){ grid-area: c3; }
.ab-card:nth-child(4){ grid-area: c4; }
.ab-card__num{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--sage);
}
.ab-card__icon{
  width: 28px; height: 28px;
  color: var(--forest);
  margin-top: 20px;
}
.ab-card h4{
  margin-top: 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
}
.ab-card p{
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.ab-img{
  grid-area: img;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--line);
}
.ab-img img{
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   PULVERIZACIÓN — Tabs + Cards
   ========================================================= */
.tabs{ margin-top: 80px; }
.tabs__head{
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}
.tab{
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tab.is-active{
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.tabs__panel{
  display: none;
}
.tabs__panel.is-active{
  display: block;
  animation: tabsFade .4s var(--ease);
}
@keyframes tabsFade{
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.pulv-grid{
  display: grid;
  gap: 20px;
}
.pulv-grid--3{ grid-template-columns: repeat(3, 1fr); }
.pulv-grid--2{ grid-template-columns: repeat(2, 1fr); }

@media (min-width: 1025px){
  .pulv-grid--2{
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
  .pulv-grid--2 > .pulv-card:nth-child(1){ grid-column: 1 / 2; }
  .pulv-grid--2 > .pulv-card:nth-child(2){ grid-column: 2 / 3; }
}

.pulv-card{
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
  display: flex;
  align-items: flex-end;
}
.pulv-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.pulv-card:hover img{ transform: scale(1.04); }
.pulv-card__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.pulv-card__badge{
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  z-index: 2;
}
.pulv-card__body{
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--white);
}
.pulv-card__body h3{
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.pulv-card__body ul{
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.pulv-card__body li{
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  padding-left: 14px;
  position: relative;
}
.pulv-card__body li::before{
  content: "•";
  position: absolute; left: 0; top: 0;
  color: var(--lime-soft);
}

/* Card destacada sage (WEED IT / Variable) */
.pulv-card--sage{
  background: #9DAF6B;
  align-items: stretch;
}
.pulv-card--sage img{ display: none; }
.pulv-card--sage .pulv-card__overlay{ display: none; }
.pulv-card--sage .pulv-card__body{
  padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pulv-card__tech{
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 12px;
  background: var(--white);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--forest);
  z-index: 2;
}
.pulv-card__icon{
  position: absolute;
  top: 32px; left: 32px;
  width: 48px; height: 48px;
  color: var(--forest);
  z-index: 2;
}
.pulv-card__body--sage h3{ color: var(--forest); }
.pulv-card__body--sage li{ color: var(--forest); }
.pulv-card__body--sage li::before{ color: var(--forest); }

/* =========================================================
   PRODUCCIÓN — Pilares + Imagen cierre
   ========================================================= */
.pillars{
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar{
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  min-height: 340px;
  display: flex; flex-direction: column;
  transition: background .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
  color: var(--ink);
}
.pillar:hover{
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-6px);
  color: var(--white);
}
.pillar__num{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--sage);
  transition: color .3s var(--ease);
}
.pillar:hover .pillar__num{ color: var(--lime-soft); }
.pillar__icon{
  width: 32px; height: 32px;
  margin-top: 24px;
  color: currentColor;
}
.pillar h4{
  margin-top: 32px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: currentColor;
}
.pillar p{
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.pillar:hover p{ color: rgba(255,255,255,0.85); }

/* Pilares con imagen de fondo (Diversificación 01 · Sostenibles 02 · Innovación 03) */
.pillar--bg{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: transparent;
  color: var(--white);
  min-height: 380px;
  justify-content: flex-end;
}
.pillar--bg::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,61,42,0.15) 0%, rgba(31,61,42,0.55) 55%, rgba(31,61,42,0.85) 100%);
  z-index: -1;
}
.pillar--bg > *{ position: relative; }
.pillar--bg .pillar__num{ color: rgba(255,255,255,0.85); }
.pillar--bg .pillar__icon{ color: var(--white); }
.pillar--bg h4{ color: var(--white); }
.pillar--bg p{ color: rgba(255,255,255,0.9); }
.pillar--bg:hover{
  background-color: transparent;
  border-color: transparent;
  transform: translateY(-6px);
  color: var(--white);
}
.pillar--bg:hover .pillar__num{ color: var(--lime-soft); }
.pillar--bg:hover p{ color: rgba(255,255,255,0.95); }

.pillar--01{ background-image: url('images/servicios/produccion/pillar-01-diversificacion.jpg'); }
.pillar--02{ background-image: url('images/servicios/produccion/pillar-02-sostenibles.jpg'); }
.pillar--03{ background-image: url('images/servicios/produccion/pillar-03-innovacion.jpg'); }

/* En desktop el wrapper .pillars-wrap es transparente al layout */
.pillars-wrap{ display: contents; }
.pillars-dots{ display: none; }
.pillars-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(31,61,42,0.20);
  transition: background .3s var(--ease), transform .3s var(--ease);
  display: inline-block;
}
.pillars-dot.is-active{
  background: var(--forest);
  transform: scale(1.15);
}

.prod-hero{
  margin: 80px 0 0;
  aspect-ratio: 21 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}
.prod-hero img{
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   LOGÍSTICA — Sección cream (coherente con las otras)
   ========================================================= */
.svc--dark{
  background: var(--cream);
  color: var(--ink);
}
.svc--dark .svc__title{ color: var(--ink); }
.svc--dark .svc__lead{ color: var(--ink); }

.log-stats{
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.log-stats li{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px;
  min-height: 220px;
  background: var(--forest);
  border: 1px solid rgba(184,194,154,0.20);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(31,61,42,0.15);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.log-stats li:hover{
  transform: translateY(-4px);
  border-color: rgba(184,194,154,0.35);
}
.log-stats__num{
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.log-stats__label{
  margin-top: auto;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.7);
}
.log-copy{
  margin-top: 80px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
}

/* CTA FINAL: se usan los estilos de styles.css (banner con foto) */

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .svc-nav{ display: none; }
  .svc-chips{
    display: flex;
    position: sticky;
    top: 64px;
    z-index: 30;
    gap: 8px;
    padding: 12px 5vw;
    background: rgba(245,242,237,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .svc-chips::-webkit-scrollbar{ display: none; }
  .svc-chip{
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    transition: all .3s var(--ease);
  }
  .svc-chip span{
    font-size: 11px;
    color: var(--sage);
    font-variant-numeric: tabular-nums;
  }
  .svc-chip.is-active{
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
  }
  .svc-chip.is-active span{ color: var(--lime-soft); }

  .svc__inner{
    padding: 0 6vw;
  }
  .svc__head{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .finance-block{ grid-template-columns: 1fr; }
  .finance-block__opts{ gap: 16px; }
  .acopio-bento{
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "c1 c2" "c3 c4" "img img";
  }
  .ab-img{ aspect-ratio: 16 / 9; }
  /* Pilares Producción: carrusel horizontal mobile */
  .pillars-wrap{ display: block; margin-top: 60px; }
  .pillars{
    margin-top: 0;
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 24px 24px;
    margin-inline: -24px;
    scroll-padding-inline: 24px;
    touch-action: pan-x pan-y;
  }
  .pillars::-webkit-scrollbar{ display: none; }
  .pillar{
    flex: 0 0 78vw;
    min-width: 78vw;
    scroll-snap-align: center;
    padding: 32px 24px;
    min-height: 340px;
    border: 1px solid rgba(31,61,42,0.12);
    border-radius: 20px;
    /* background-color, NO el shorthand: el shorthand pisa el background-image de .pillar--01/02/03 */
    background-color: transparent;
  }
  .pillar:hover{
    background-color: transparent;
    border-color: rgba(31,61,42,0.12);
    transform: none;
    color: var(--ink);
  }
  .pillar:hover .pillar__num{ color: var(--sage); }
  .pillar:hover p{ color: var(--muted); }

  /* Preserva el bg image en los pilares con imagen (mobile carrusel) */
  .pillar.pillar--bg{
    background-color: transparent;
    border-color: transparent;
    min-height: 420px;
  }
  .pillar.pillar--bg:hover{
    background-color: transparent;
    border-color: transparent;
    color: var(--white);
  }
  .pillar.pillar--bg:hover .pillar__num{ color: rgba(255,255,255,0.85); }
  .pillar.pillar--bg:hover p{ color: rgba(255,255,255,0.9); }
  .pillar__num{ font-size: 12px; }
  .pillar__icon{ width: 28px; height: 28px; margin-top: 20px; color: var(--forest); }
  .pillar h4{ font-size: 22px; margin-top: 24px; line-height: 1.15; }
  .pillar p{ font-size: 14px; line-height: 1.55; margin-top: 14px; }

  .pillars-dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .log-grid{ grid-template-columns: 1fr; gap: 48px; }
  .brands-marquee__track img{ max-height: 32px; }
}

@media (max-width: 768px){
  .sub-hero{ min-height: 60svh; }
  .sub-hero--image{ min-height: 60svh; }
  .sub-hero__inner{ bottom: 32px; left: 24px; right: 24px; max-width: 100%; }
  .sub-hero__title{ font-size: clamp(28px, 8vw, 40px); }
  .sub-hero__lead{ font-size: 14px; max-width: 100%; }
  .svc{ padding-block: 80px; }
  .svc__inner{ padding: 0 24px; }
  .svc__num{ font-size: clamp(32px, 8vw, 48px); margin-bottom: 16px; }
  .svc__title{ font-size: clamp(28px, 7.5vw, 40px); line-height: 1.05; }
  .svc__tagline{ font-size: clamp(15px, 4vw, 18px); }
  .svc__lead, .svc__lead-sec{ font-size: 15px; }

  /* Chip bar — ocultada en mobile.
     La barra sticky con overflow-x:auto interceptaba touches verticales en
     iOS y "trababa" el scroll de la página cuando el dedo caía sobre ella.
     En mobile la navegación se hace desde el burger menu, no hace falta. */
  .svc-chips{ display: none !important; }

  /* Log stats — cards forest en columna, gap 16 */
  .log-stats{
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 60px;
    padding-inline: 24px;
  }
  .log-stats li{
    padding: 32px 24px;
    min-height: 180px;
    border-radius: 18px;
  }
  .log-stats__num{ font-size: clamp(44px, 12vw, 64px); }
  .log-copy{ margin-top: 40px; font-size: 15px; }
  .grains__grid{ grid-template-columns: repeat(3, 1fr); }
  .grains__grid li:nth-child(3n){ border-right: 0; }
  .grains__grid li:nth-child(-n+3){ border-bottom: 1px solid var(--line); }
  /* Acopio: carrusel horizontal con imagen de fondo compartida + glass forest */
  .acopio-wrap{ margin-top: 60px; }

  .acopio-frame{
    display: block;
    position: relative;
    margin: 0 24px;
    min-height: 460px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('images/servicios/acopio/almacenamiento-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .acopio-frame::before{
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(31,61,42,0.35) 0%, rgba(31,61,42,0.55) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .acopio-bento{
    position: relative;
    z-index: 2;
    display: flex;
    grid-template-columns: none;
    grid-template-areas: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 32px 20px;
    margin-inline: 0;
    scroll-padding-inline: 20px;
    touch-action: pan-x pan-y;
    min-height: 460px;
    align-items: stretch;
  }
  .acopio-bento::-webkit-scrollbar{ display: none; }

  .ab-card{
    flex: 0 0 calc(78vw - 40px);
    min-width: calc(78vw - 40px);
    aspect-ratio: auto;
    min-height: 300px;
    scroll-snap-align: center;
    padding: 24px;
    border: 1px solid rgba(184,194,154,0.18);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(31,61,42,0.55);
    background-image: none;
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    display: flex;
    flex-direction: column;
  }
  .ab-card::before{ content: none; }
  .ab-card__content{
    display: flex;
    flex-direction: column;
    position: static;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
  }
  .ab-card__num{
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 400;
  }
  .ab-card__icon{
    color: rgba(255,255,255,0.9);
    width: 24px; height: 24px;
    margin-top: 12px;
    display: block;
  }
  .ab-card h4{
    color: #fff;
    margin-top: 16px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
  }
  .ab-card p{
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ab-img{ display: none; }
  .acopio-dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .pulv-grid--3, .pulv-grid--2{ grid-template-columns: 1fr; }
  .referente{
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
  }
  .referente__label{ min-width: 0; }
  .brands-marquee__track img{ max-height: 28px; }
  .brands-marquee__track{ gap: 60px; }
  .finance-block__opts{ grid-template-columns: 1fr; }
  .finance-opt{
    border-right: 0;
    border-bottom: 1px solid rgba(245,242,237,0.15);
    padding: 20px 0;
  }
  .finance-opt:last-child{ border-bottom: 0; }

  /* Finance block: forest bg + colores invertidos en mobile */
  .finance-block{
    background: var(--forest);
    border: 0;
    border-radius: 20px;
    padding: 40px 28px;
    margin-left: 24px;
    margin-right: 24px;
  }
  .finance-block__left h3{ color: var(--cream); }
  .finance-block__left p{ color: rgba(245,242,237,0.7); }
  .finance-opt svg{ color: var(--cream); opacity: 0.85; }
  .finance-opt span{ color: var(--cream); }
}
