/* ==========================================================================
   Zufruta Express — Hoja de estilos principal
   Fruta congelada IQF y pulpas de fruta
   ========================================================================== */

/* ---------- Fuentes auto-hospedadas ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-italic-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: optional;
}

/* ---------- Variables de marca ---------- */
:root {
  --morado: #4B2E90;
  --morado-osc: #2E1D5B;
  --rojo: #E32330;
  --rojo-osc: #8E1420;
  --naranja: #F6A21C;
  --verde: #17573C;
  --verde-osc: #0F4530;
  --verde-claro: #7FE3A8;
  --tinta: #232227;
  --gris: #4A4852;
  --gris-claro: #6B6875;
  --hueso: #FCFBF9;
  --wsp: #25D366;
  --radio: 22px;
  --ancho: 1240px;
}

/* ---------- Reset y base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  color: var(--tinta);
  background: var(--hueso);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: var(--morado); text-decoration: none; transition: color .22s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
a:hover { color: var(--rojo); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 3px solid var(--morado, #4B2E90); outline-offset: 2px; }

.container { max-width: var(--ancho); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 16px; padding: 16px 28px; border-radius: 999px;
  border: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), background-color .22s ease, color .22s ease, box-shadow .24s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn--morado { background: var(--morado); color: #fff; box-shadow: 0 10px 26px rgba(75,46,144,.3); }
.btn--morado:hover { background: var(--morado-osc); color: #fff; }
.btn--naranja { background: var(--naranja); color: var(--tinta); }
.btn--naranja:hover { background: #fff; color: var(--verde); }
.btn--wsp { background: var(--wsp); color: #0B3B22; }
.btn--wsp:hover { background: #fff; color: var(--verde); }
.btn--linea { background: #fff; color: var(--tinta); border: 2px solid var(--tinta); }
.btn--linea:hover { background: var(--tinta); color: #fff; }
.btn--fantasma { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn--fantasma:hover { background: #fff; color: var(--morado); }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, var(--morado) 0%, var(--morado-osc) 100%); }
.topbar__inner {
  max-width: var(--ancho); margin: 0 auto; padding: 8px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.topbar__msg { margin: 0; color: #fff; font-weight: 700; font-size: 13.5px; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.social-ico {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.14);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.social-ico:hover { color: #fff; }
.social-ico--fb:hover { background: #fff; color: var(--morado); }
.social-ico--ig:hover { background: #fff; color: var(--rojo); }
.topbar__wsp {
  display: inline-flex; align-items: center; gap: 7px; background: var(--verde); color: #fff;
  font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.topbar__wsp:hover { background: var(--wsp); color: #0B3B22; }
.topbar__wsp .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verde-claro); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252,251,249,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(35,34,39,.08); }
.nav { max-width: var(--ancho); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { width: 170px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 14.5px; font-weight: 600; color: var(--tinta); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--morado); }
.nav__links a[aria-current="page"] { font-weight: 800; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1.5px solid rgba(35,34,39,.15); background: #fff; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2.5px; background: var(--tinta); border-radius: 2px; display: block; }
.mobile-menu { display: none; border-top: 1px solid rgba(35,34,39,.08); background: var(--hueso); padding: 10px 20px 20px; }
.mobile-menu.is-open { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a { display: block; padding: 14px 6px; font-size: 17px; font-weight: 700; color: var(--tinta); border-bottom: 1px solid rgba(35,34,39,.06); }
.mobile-menu a[aria-current="page"] { color: var(--morado); }
.mobile-menu .btn { margin-top: 14px; }

@media (max-width: 1060px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------- Secciones ---------- */
.section { max-width: var(--ancho); margin: 0 auto; padding: 80px 20px; }
.section--tight { padding: 56px 20px; }
.eyebrow { margin: 0 0 10px; font-weight: 800; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--rojo { color: var(--rojo); }
.eyebrow--morado { color: var(--morado); }
.eyebrow--verde { color: var(--verde); }
.eyebrow--naranja { color: var(--naranja); }
.section__title { font-weight: 900; font-size: clamp(30px, 4vw, 46px); color: var(--tinta); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--gris); }
.serif-it { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--claro { background: linear-gradient(175deg, #FCFBF9 0%, #F3EDFA 55%, #EAF4F9 100%); }
.hero__inner { position: relative; max-width: var(--ancho); margin: 0 auto; padding: 56px 20px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; }
.hero__title { font-weight: 900; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; color: var(--tinta); margin: 0 0 20px; }
.hero__title .c-morado { color: var(--morado); }
.hero__title .c-rojo { color: var(--rojo); }
/* Hero de páginas internas: título más chico que el home (según diseño .dc). */
.hero__title--interna { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.03; max-width: 760px; text-wrap: balance; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
  font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.badge--rojo { border: 1.5px solid rgba(227,35,48,.25); color: var(--rojo-osc); }
.badge--verde { border: 1.5px solid rgba(23,87,60,.25); color: var(--verde); }
.badge--naranja { border: 1.5px solid rgba(246,162,28,.35); color: #8A5A0B; }
.pill {
  margin: 0 0 18px; display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1.5px solid rgba(75,46,144,.2); color: var(--morado); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stage { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero__stage .halo { position: absolute; width: min(88%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, rgba(255,255,255,.4) 55%, rgba(255,255,255,0) 75%); }
.hero__product { position: relative; z-index: 2; width: min(96%, 540px); height: auto; filter: drop-shadow(0 26px 34px rgba(35,34,39,.2)); animation: zfFloat 9s ease-in-out infinite; }
.breadcrumb { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--gris-claro); }
.breadcrumb a { color: var(--gris-claro); }
.breadcrumb a:hover { color: var(--morado); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--morado); font-weight: 700; }

/* Frutas flotantes del hero */
.hero__fruit { position: absolute; height: auto; }
.hero__blob { position: absolute; border-radius: 50%; }

/* ---------- Barra de confianza ---------- */
.trust { background: var(--morado-osc); }
.trust__inner { max-width: var(--ancho); margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.trust__item { display: flex; align-items: flex-start; gap: 12px; justify-content: center; }
.trust__ico { flex: none; font-size: 22px; line-height: 1.2; }
.trust__text { display: flex; flex-direction: column; gap: 2px; }
.trust__text b { color: #fff; font-weight: 800; font-size: 14.5px; }
.trust__text span { color: rgba(255,255,255,.62); font-weight: 500; font-size: 12.5px; line-height: 1.4; }
@media (max-width: 640px) { .trust__inner { max-width: 300px; } .trust__item { justify-content: flex-start; } }
@media (min-width: 641px) and (max-width: 982px) { .trust__inner { grid-template-columns: 1fr 1fr; max-width: 680px; } .trust__item { justify-content: flex-start; } }

/* Trust bar reutilizable (.trust-bar / .trust-item) — mismo diseño que el trust
   bar del index. Autocontenido: pon <section class="trust-bar"><div class="trust-bar__inner">
   <div class="trust-item"><span class="trust-item__ico">❄️</span><span class="trust-item__text">
   <b>Título</b><span>Subtítulo</span></span></div>…</div></section> */
.trust-bar { background: var(--morado-osc); }
.trust-bar__inner { max-width: var(--ancho); margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; justify-content: center; }
.trust-item__ico { flex: none; font-size: 22px; line-height: 1.2; }
.trust-item__text { display: flex; flex-direction: column; gap: 2px; }
.trust-item__text b { color: #fff; font-weight: 800; font-size: 14.5px; }
.trust-item__text span { color: rgba(255,255,255,.62); font-weight: 500; font-size: 12.5px; line-height: 1.4; }
@media (max-width: 640px) { .trust-bar__inner { max-width: 300px; } .trust-item { justify-content: flex-start; } }
@media (min-width: 641px) and (max-width: 982px) { .trust-bar__inner { grid-template-columns: 1fr 1fr; max-width: 680px; } .trust-item { justify-content: flex-start; } }

/* ---------- Líneas de producto ---------- */
.lineas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); gap: 24px; }
.linea { position: relative; overflow: hidden; border-radius: 28px; color: #fff; display: flex; flex-direction: column; }
.linea--iqf { background: linear-gradient(160deg, var(--morado) 0%, var(--morado-osc) 100%); }
.linea--pulpa { background: linear-gradient(160deg, var(--rojo) 0%, var(--rojo-osc) 100%); }
.linea__body { padding: 36px 32px 0; }
.linea__tag { margin: 0 0 8px; display: inline-block; background: rgba(255,255,255,.16); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.linea__title { font-weight: 900; font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; }
.linea__desc { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 0 18px; max-width: 440px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.linea__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 32px 32px; margin-top: auto; }
.linea__foot img { width: min(38%,190px); height: auto; margin-bottom: -56px; }
.linea__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; font-weight: 800; font-size: 15.5px; padding: 15px 26px; border-radius: 999px; flex: none; }
.linea--iqf .linea__btn { color: var(--morado); }
.linea--iqf .linea__btn:hover { background: var(--naranja); color: var(--tinta); }
.linea--pulpa .linea__btn { color: var(--rojo); }
.linea--pulpa .linea__btn:hover { background: var(--tinta); color: #fff; }

/* ---------- Tabs / filtros ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; background: #F1EFEA; padding: 6px; border-radius: 999px; }
.tab { border: none; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; background: transparent; color: var(--gris); }
.tab.is-active { background: var(--morado); color: #fff; box-shadow: 0 4px 12px rgba(75,46,144,.3); }

/* ---------- Grid de productos ---------- */
.grid-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,250px),1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid rgba(35,34,39,.08); border-radius: var(--radio); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(35,34,39,.12); }
.card__media { position: relative; padding: 22px 22px 0; display: flex; justify-content: center; }
.card__media img { width: 74%; max-width: 210px; height: auto; filter: drop-shadow(0 12px 16px rgba(35,34,39,.16)); }
.card__flag { position: absolute; top: 14px; left: 14px; z-index: 2; color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { font-weight: 800; font-size: 18px; color: var(--tinta); }
.card__pres { margin: 0; font-size: 13.5px; color: var(--gris-claro); font-weight: 500; }
.card__spec { margin: 0 0 12px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #9B98A3; letter-spacing: .02em; }
.card__wsp { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 2px solid var(--verde); color: var(--verde); font-weight: 800; font-size: 14px; padding: 12px; border-radius: 999px; }
.card__wsp:hover { background: var(--verde); color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Paginación ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 6px; border-radius: 999px; border: 1.5px solid rgba(35,34,39,.15); background: #fff; color: var(--gris); font-weight: 800; font-size: 15px; }
.pager button.is-active { background: var(--morado); color: #fff; border-color: var(--morado); box-shadow: 0 4px 12px rgba(75,46,144,.3); }
.pager button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Bloques informativos ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); gap: 44px; align-items: center; }
.feature { background: #fff; border: 1px solid rgba(35,34,39,.08); border-radius: 20px; padding: 26px 26px 24px; box-shadow: 0 6px 18px rgba(46,29,91,.05); }
.feature__ico { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-weight: 800; font-size: 18px; color: var(--tinta); margin: 0 0 6px; }
.feature p { font-size: 14.5px; line-height: 1.55; color: #5A5762; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 20px; }
.media-16x9 { border-radius: 20px; aspect-ratio: 16/9; width: 100%; height: auto; object-fit: cover; box-shadow: 0 12px 28px rgba(46,29,91,.14); }

/* ---------- Franja de color ---------- */
.band { position: relative; overflow: hidden; }
.band--verde { background: var(--verde); color: #fff; }
.band--crema { background: #F6F4EF; }
.band--iqf { background: linear-gradient(180deg, #EAF4F9 0%, #F4F9FC 100%); }
.band--lila { background: linear-gradient(180deg, #F3EDFA 0%, #FCFBF9 100%); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1.5px solid rgba(35,34,39,.1); border-radius: 18px; overflow: hidden; }
.faq__item[open] { border-color: rgba(75,46,144,.35); }
.faq__q { width: 100%; border: none; background: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 20px 24px; list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-weight: 800; font-size: 17px; color: var(--tinta); }
.faq__q .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F1EFEA; color: var(--gris); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease, color .2s ease; }
.faq__item[open] .plus { transform: rotate(45deg); background: var(--morado); color: #fff; }
.faq__a { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--gris); max-width: 720px; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px,6vw,72px); text-align: center; color: #fff; }
.cta-final--morado { background: linear-gradient(150deg, var(--morado) 0%, var(--morado-osc) 60%, var(--verde) 130%); }
.cta-final--verde { background: linear-gradient(150deg, var(--verde) 0%, var(--verde-osc) 60%, var(--morado-osc) 130%); }
.cta-final h2 { font-weight: 900; font-size: clamp(28px,5vw,50px); line-height: 1.04; margin: 0 0 14px; }
.cta-final p { max-width: 560px; margin: 0 auto 30px; font-size: 17.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.blob-deco { position: absolute; border-radius: 50%; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #1E1B26; color: #fff; }
.site-footer__inner { max-width: var(--ancho); margin: 0 auto; padding: 64px 20px 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 16px; }
.footer-tagline { margin: 0; font-weight: 900; font-size: 26px; line-height: 1.15; color: #fff; }
.footer-tagline .c-rojo { color: var(--rojo); }
.footer-tagline .draw { position: relative; display: inline-block; white-space: nowrap; }
.footer-tagline .draw svg { position: absolute; left: 0; right: 0; bottom: -8px; width: 100%; height: 10px; overflow: visible; }
.footer-tagline .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zfDraw 2.4s ease-in-out infinite; }
.footer-col h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--naranja); margin: 0 0 14px; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: rgba(255,255,255,.75); }
.footer-col a { display: inline-flex; align-items: center; gap: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col .wsp { color: var(--verde-claro); font-weight: 700; }
.footer-socials { display: flex; gap: 10px; margin-top: 6px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-socials a.fb:hover { background: var(--morado); }
.footer-socials a.ig:hover { background: var(--rojo); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-legal__copy { flex: 1 1 auto; min-width: 220px; }
.footer-legal__links { flex: 1 1 auto; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-legal__links a { color: rgba(255,255,255,.6); }
.footer-legal__links a:hover { color: #fff; }
.footer-legal__credit { flex: 1 1 auto; min-width: 220px; display: inline-flex; align-items: center; gap: 7px; justify-content: flex-end; }
.footer-legal__credit a { color: var(--naranja); font-weight: 700; }
.footer-legal__credit a:hover { color: #fff; }
@media (max-width: 897px) {
  .footer-legal { justify-content: center; text-align: center; }
  .footer-legal__copy, .footer-legal__links, .footer-legal__credit { justify-content: center; text-align: center; min-width: 0; }
}

/* ---------- WhatsApp flotante ---------- */
.wsp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 60px; height: 60px;
  border-radius: 50%; background: var(--wsp); box-shadow: 0 10px 24px rgba(18,140,80,.4);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.wsp-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Animaciones ---------- */
@keyframes zfFloat { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-14px) rotate(var(--r,0deg)); } }
@keyframes zfDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(18px,-12px) scale(1.06); } }
@keyframes zfDraw { 0% { stroke-dashoffset: 1; } 45% { stroke-dashoffset: 0; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }

/* Reveal al hacer scroll (sin JS: contenido visible por defecto) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Beneficios (producto con flechas) ---------- */
.ben-grid { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: nowrap; }
.ben-col { display: flex; flex-direction: column; gap: 40px; }
.ben-col:first-child { align-items: flex-end; margin-right: -14px; }
.ben-col:last-child { align-items: flex-start; margin-left: -14px; }
.ben-item { display: flex; align-items: center; gap: 12px; }
.ben-item--l { justify-content: flex-end; }
.ben-item--r { justify-content: flex-start; }
.ben-product { width: 270px; max-width: 46vw; height: auto; filter: drop-shadow(0 24px 30px rgba(35,34,39,.28)); animation: zfTilt 6s ease-in-out infinite; position: relative; z-index: 2; }
@keyframes zfArrowR { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
@keyframes zfArrowL { 0%,100% { transform: scaleX(-1) translateX(0); } 50% { transform: scaleX(-1) translateX(7px); } }
@keyframes zfTilt { 0%,100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-12px); } }
@media (max-width: 860px) {
  .ben-grid { flex-direction: column; gap: 22px; }
  .ben-product { order: -1; margin-bottom: 8px; }
  .ben-col { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 22px 18px; width: 100%; max-width: 520px; margin: 0; }
  .ben-item { width: calc(50% - 12px); flex-direction: column; text-align: center; gap: 8px; }
  .ben-item div { text-align: center !important; }
  .zf-benef-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Bloque específico del INDEX (home): animaciones, catálogo, hovers, responsive.
   Clases zf-*/scp-* y [data-tab] usadas SOLO por index.html; no afectan a las
   demás páginas (que no las contienen). Portado desde el diseño de referencia.
   ========================================================================== */
/* Los keyframes (zfFloat, zfDrift, zfDraw, zfArrowR, zfArrowL, zfTilt) ya están
   definidos como globales en la sección "Animaciones"; aquí se reutilizan. */
@media (prefers-reduced-motion: reduce){*{animation:none !important;transition:none !important}}

/* Catálogo del index (filtro + paginación) */
.zf-hidden{display:none !important}
[data-tab]{cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease;background:transparent !important;color:#4A4852 !important;box-shadow:none !important}
[data-tab].zf-tab-active{background:#4B2E90 !important;color:#fff !important;box-shadow:0 4px 12px rgba(75,46,144,.3) !important}
.zf-pager{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.zf-pg{min-width:42px;height:42px;padding:0 12px;border:1.5px solid rgba(75,46,144,.25);background:#fff;color:#4B2E90;border-radius:10px;font-weight:800;font-size:15px;cursor:pointer;transition:background .15s}
.zf-pg:hover{background:#F3EFFB}
.zf-pg-active{background:#4B2E90;color:#fff;border-color:#4B2E90}
.zf-pg:disabled{opacity:.4;cursor:default}

/* Hover de elementos interactivos de la home (scp*) */
[class*="scp"]{transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease,background-color .22s ease,color .22s ease,border-color .22s ease}
[class*="scp"]:hover{transform:translateY(-3px)}
[class*="scp"]:active{transform:translateY(-1px) scale(.98)}
.scp0:hover{background:#fff !important;color:#4B2E90 !important}
.scp4:hover{background:#3A2373 !important;color:#fff !important;transform:translateY(-2px) !important}
.scp5:hover{background:#232227 !important;color:#fff !important}
.scp6:hover{background:#F6A21C !important;color:#232227 !important}
.scp7:hover{background:#3A2373 !important;color:#fff !important}
.scp8:hover{transform:translateY(-5px) !important;box-shadow:0 18px 34px rgba(35,34,39,.12) !important}
.scp9:hover{background:#17573C !important;color:#fff !important}
.scpa:hover{background:#fff !important;color:#17573C !important}

/* Responsive del index */
@media (max-width:640px){
  .zf-hero-stage{min-height:330px !important}
  .zf-hero-fruit{transform:scale(.7)}
  .zf-hero-top{display:none !important}
  .zf-hero-topL{top:16% !important;left:10% !important}
  .zf-hero-topR{top:14% !important;right:10% !important}
  .zf-trust{max-width:280px}
  .zf-trust-item{justify-content:flex-start !important}
  .zf-bag-side{bottom:-6px !important}
  .zf-bag-center{bottom:-14px !important}
  .zf-line-imgs{height:250px !important}
  .zf-wa-sep{display:none !important}
  .zf-wa-num{display:block;text-align:center}
  .zf-wa-final{flex-direction:column !important;justify-content:center !important;align-items:center !important;gap:2px !important;text-align:center !important}
}
@media (min-width:861px){
  .zf-benef-col:first-child{margin-right:-18px}
  .zf-benef-col:last-child{margin-left:-18px}
  .zf-benef-col:first-child .zf-benef-item > span{order:2}
  .zf-benef-col:first-child .zf-benef-item > div{order:1}
  .zf-benef-col:first-child .zf-benef-item > svg{order:3}
}
@media (max-width:860px){
  .zf-benef-grid{flex-direction:column !important}
  .zf-benef-grid > div:nth-child(2){order:-1;margin-bottom:16px}
  .zf-benef-col{flex-direction:row !important;flex-wrap:wrap;justify-content:center;gap:22px 18px !important;align-items:flex-start !important;width:100%;max-width:520px}
  .zf-benef-item{width:calc(50% - 12px);flex-direction:column !important;text-align:center !important;gap:8px !important}
  .zf-benef-item > div{text-align:center !important}
  .zf-benef-arrow{display:none !important}
}
@media (min-width:511px) and (max-width:982px){
  .zf-trust{max-width:640px !important;grid-template-columns:1fr 1fr !important}
  .zf-trust-item{justify-content:flex-start !important}
}

/* ==========================================================================
   Página de CONTACTO: formulario "Solicita tu cotización" + hovers (ccp).
   Clases .zf-int-active/.ccp* y estilos de input usados solo por contacto.html
   (ninguna otra página tiene formulario ni clases ccp). ccp evita colisión con
   las clases scp del index.
   ========================================================================== */
input, select, textarea { font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #4B2E90 !important; box-shadow: 0 0 0 3px rgba(75,46,144,.15); }
.zf-int-active { background: #4B2E90 !important; color: #fff !important; border-color: #4B2E90 !important; }
[class*="ccp"] { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, background-color .22s ease, color .22s ease, border-color .22s ease; }
[class*="ccp"]:hover { transform: translateY(-3px); }
[class*="ccp"]:active { transform: translateY(-1px) scale(.98); }
.ccp0:hover { background:#fff !important; color:#4B2E90 !important; }
.ccp1:hover { background:#fff !important; color:#E32330 !important; }
.ccp3:hover { color:#4B2E90 !important; }
.ccp4:hover { transform: translateY(-5px) !important; box-shadow: 0 18px 34px rgba(35,34,39,.12) !important; color: inherit !important; }
.ccp5:hover { background:#17573C !important; color:#fff !important; }
.ccp6:hover { color:#F6A21C !important; }
.ccp7:hover { background:#fff !important; color:#17573C !important; }

/* Home: en desktop grande, la columna de texto del hero recibe más ancho para que
   el <h1> quede en 4 líneas (como el diseño) con "Congelada IQF" junto. Solo aplica
   a index.html (única con .home-hero__grid) y solo ≥981px; en móvil/tablet el grid
   auto-fit original sigue mandando (apila y no se encima con la imagen). */
@media (min-width: 981px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.82fr) !important; }
}
