/* =====================================================================
   ORO DE CUY · Agrocotomono Ingenieros EIRL
   Hoja de estilos pública — mobile, tablet y escritorio
   ===================================================================== */

:root {
  --verde-900: #0e4a2a;
  --verde-600: #2f7d32;
  --oro: #e3a820;
  --verde-700: color-mix(in srgb, var(--verde-900) 55%, var(--verde-600));
  --oro-claro: color-mix(in srgb, var(--oro) 72%, #fff3b8);
  --tinta: #1c2b20;
  --gris: #536457;
  --crema: #f3f7ec;
  --linea: #dfe8d6;
  --blanco: #ffffff;
  --script: 'Kaushan Script', 'Segoe Script', 'Brush Script MT', cursive;
  --fuente: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 84px;
  --radio: 18px;
  --sombra: 0 18px 40px -22px rgba(14, 74, 42, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); color: var(--tinta); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--verde-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }

/* ---------- Esqueletos de carga ---------- */
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk {
  background-color: #e6eddf;
  background-image: linear-gradient(100deg, #e6eddf 30%, #f5f9f1 50%, #e6eddf 70%);
  background-size: 200% 100%;
  animation: sk 1.3s linear infinite;
  border-radius: 10px;
}
.media { position: relative; overflow: hidden; background: #edf3e7; }
.media img { display: block; width: 100%; opacity: 0; transition: opacity .5s ease; }
.media.cargado img { opacity: 1; }
.media:not(.cargado)::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  background-size: 200% 100%; animation: sk 1.3s linear infinite;
}
.bg-carga:not(.cargado) {
  background-image: linear-gradient(100deg, #0f4a2a 30%, #1d6440 50%, #0f4a2a 70%) !important;
  background-size: 200% 100% !important; animation: sk 1.5s linear infinite;
}
.pv-flash { animation: pvflash .7s ease; }
@keyframes pvflash { 0% { box-shadow: 0 0 0 0 rgba(227,168,32,.9); } 100% { box-shadow: 0 0 0 14px rgba(227,168,32,0); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-verde { background: var(--verde-900); color: #fff; }
.btn-verde:hover { background: var(--verde-700); }
.btn-oro { background: var(--oro); color: #1d2a1d; }
.btn-oro:hover { background: var(--oro-claro); }
.btn-borde { border-color: var(--verde-900); color: var(--verde-900); background: transparent; }
.btn-borde:hover { background: var(--verde-900); color: #fff; }
.btn-bloque { width: 100%; }
.btn.cargando {
  pointer-events: none; color: rgba(255,255,255,.85);
  background-image: linear-gradient(100deg, var(--verde-900) 30%, var(--verde-600) 50%, var(--verde-900) 70%);
  background-size: 200% 100%; animation: sk 1.1s linear infinite;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.sitio-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s; }
.sitio-header.con-sombra { box-shadow: 0 8px 26px -18px rgba(0,0,0,.45); }
.header-in { display: flex; align-items: center; min-height: var(--header-h); gap: 16px; }
.marca { display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.marca-logo { width: var(--logo-w); height: auto; display: block; }
.marca-sep { width: 2px; align-self: stretch; margin-block: 18px; background: var(--verde-900); opacity: .55; flex: none; }
.marca-sep.claro { background: #fff; }
.marca-empresa { display: flex; flex-direction: column; color: var(--verde-900); font-weight: 700; font-size: 15px; line-height: 1.25; white-space: nowrap; }

.nav-principal { margin-left: auto; }
.nav-principal ul { list-style: none; display: flex; gap: clamp(14px, 2.2vw, 38px); margin: 0; padding: 0; }
.nav-principal a { position: relative; display: block; padding: 10px 2px; font-size: 14px; font-weight: 500; color: #2b3a2f; text-decoration: none; }
.nav-principal a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--verde-900); transform: scaleX(0); transition: transform .25s; }
.nav-principal a:hover::after, .nav-principal a.activo::after { transform: scaleX(1); }
.nav-principal a.activo { color: var(--verde-900); font-weight: 700; }

.btn-wsp-header {
  display: inline-flex; align-items: center; gap: 10px; margin-left: clamp(12px, 2.6vw, 44px);
  background: var(--verde-900); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 13px 28px; border-radius: 999px; white-space: nowrap; transition: background-color .2s;
}
.btn-wsp-header .ico { width: 26px; height: 26px; }
.btn-wsp-header:hover { background: var(--verde-700); }
.hamburguesa { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; color: var(--verde-900); cursor: pointer; align-items: center; justify-content: center; flex: none; }
.hamburguesa .ico { width: 24px; height: 24px; }

/* Menú móvil */
.menu-movil { position: fixed; inset: 0; z-index: 90; background: rgba(6, 30, 16, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.menu-movil.abierto { opacity: 1; visibility: visible; }
.menu-movil-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 22px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 18px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.menu-movil.abierto .menu-movil-panel { transform: none; }
.menu-movil-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-movil-logo { width: 150px; }
.menu-cerrar { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; color: var(--verde-900); cursor: pointer; display: grid; place-items: center; }
.menu-movil ul { list-style: none; margin: 0; padding: 0; }
.menu-movil li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--linea); text-decoration: none; font-weight: 700; color: var(--verde-900); font-size: 17px; }
.menu-movil li a .ico { width: 18px; color: var(--oro); }
.menu-movil-dato { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gris); margin: 0; word-break: break-all; }

/* =====================================================================
   PORTADA (HERO)
   ===================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--verde-900); }
.hero-fondo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,38,20,.93) 0%, rgba(9,48,26,.82) 28%, rgba(9,48,26,.30) 52%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(7,38,20,.55) 0%, rgba(7,38,20,0) 35%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(16px, 2vw, 28px); align-items: center;
  min-height: clamp(500px, 64vh, 640px); padding-block: clamp(36px, 5vw, 56px) clamp(24px, 3vw, 36px);
}
.hero-texto { animation: entrar .9s ease both; }
.hero-kicker { margin: 0 0 6px; font-weight: 600; font-size: clamp(15px, 1.3vw, 19px); }
.hero-titulo { margin: 0 0 18px; font-weight: 800; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -.01em; }
.hero-titulo > span { display: block; }
.hero-titulo .script { color: var(--oro); font-size: 1.14em; line-height: 1.25; text-shadow: 0 3px 14px rgba(0,0,0,.3); }
.hero-p { margin: 0 0 28px; max-width: 48ch; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6; }
.hero-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.hero-badges li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(14px, 1.8vw, 26px); border-left: 1px solid rgba(255,255,255,.45); }
.hero-badges li:first-child { border-left: 0; padding-left: 0; }
.badge-ico { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; }
.badge-ico .ico { width: 28px; height: 28px; }
.badge-txt { margin-top: 8px; font-weight: 700; font-size: 13px; line-height: 1.25; max-width: 12ch; }

.hero-producto { position: relative; align-self: end; animation: entrar 1s .15s ease both; }
.media-hero { background: transparent; border-radius: 24px; }
.media-hero:not(.cargado) { min-height: 280px; background: rgba(255,255,255,.06); }
.media-hero img { filter: drop-shadow(0 22px 22px rgba(0,0,0,.35)); }
.hero-brotes { position: absolute; left: -26px; bottom: -6px; width: 150px; pointer-events: none; }

.hero-lateral { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 26px; padding-top: 6px; animation: entrar 1s .3s ease both; }
.frase-script { margin: 0; font-family: var(--script); color: var(--oro-claro); font-size: clamp(22px, 2vw, 31px); line-height: 1.12; text-align: center; transform: rotate(-8deg); text-shadow: 0 3px 12px rgba(0,0,0,.35); }
.frase-script span { display: block; }
.frase-script svg { display: block; width: 70%; margin: 4px auto 0; color: var(--oro); }
.tarjeta-cotiza { background: rgba(13, 74, 42, .9); border: 2px solid rgba(255,255,255,.8); border-radius: 22px; padding: 6px 22px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.cotiza-fila { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.cotiza-fila:last-child { border-bottom: 0; }
.cotiza-fila .ico { width: 26px; height: 26px; }
.cotiza-principal { font-size: clamp(16px, 1.35vw, 19px); }
.cotiza-principal strong { font-weight: 700; }
.cotiza-principal .ico { width: 38px; height: 38px; color: var(--oro); }
.cotiza-principal:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.cotiza-mail { font-size: 12.5px; font-weight: 500; word-break: break-all; }
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   DESTACADOS
   ===================================================================== */
.destacados { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f9f1, var(--crema)); padding: 28px 0 32px; }
.hojas-borde { position: absolute; top: 50%; width: 120px; transform: translateY(-50%); pointer-events: none; }
.hojas-borde.izq { left: 0; }
.hojas-borde.der { right: 0; }
.destacados-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.destacado { text-align: center; padding: 4px clamp(12px, 2vw, 28px); border-left: 1px solid #cfdcc4; }
.destacado:first-child { border-left: 0; }
.destacado-ico { width: 42px; height: 42px; color: var(--verde-700); }
.destacado h3 { margin: 8px 0 6px; font-size: 15px; font-weight: 800; color: var(--verde-900); line-height: 1.25; }
.destacado p { margin: 0 auto; max-width: 28ch; font-size: 13px; line-height: 1.5; color: var(--gris); }

/* =====================================================================
   CABECERAS DE SECCIÓN
   ===================================================================== */
.seccion { padding-block: clamp(56px, 7vw, 100px); }
.antetitulo { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--verde-900); }
.antetitulo.claro { color: rgba(255,255,255,.88); }
.sec-titulo { margin: 0 0 16px; font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; line-height: 1.12; color: var(--verde-900); }
.sec-titulo > span { display: block; }
.sec-titulo .script { margin-top: 4px; font-size: 1.04em; line-height: 1.2; color: var(--verde-900); }
.sec-cabecera.centrada { text-align: center; }
.sec-intro { max-width: 62ch; margin: 0 auto 8px; text-align: center; color: var(--gris); }
.sec-intro.izq { text-align: left; margin-left: 0; }
.sec-intro:empty { display: none; }

.prosa { color: #2b3a2f; font-size: 15px; }
.prosa > :first-child { margin-top: 0; }
.prosa p { margin: 0 0 12px; }
.prosa h2, .prosa h3, .prosa h4 { color: var(--verde-900); line-height: 1.25; margin: 22px 0 10px; }
.prosa ul, .prosa ol { padding-left: 22px; margin: 0 0 14px; }
.prosa li { margin-bottom: 6px; }
.prosa li::marker { color: var(--verde-600); }
.prosa a { color: var(--verde-700); font-weight: 600; }
.prosa img { border-radius: 12px; }
.prosa blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--oro); background: var(--crema); border-radius: 0 12px 12px 0; }
.prosa table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; display: block; overflow-x: auto; }
.prosa th, .prosa td { padding: 10px 12px; border: 1px solid var(--linea); text-align: left; }
.prosa th { background: var(--crema); color: var(--verde-900); }

/* =====================================================================
   PRODUCTOS
   ===================================================================== */
.productos { position: relative; padding: clamp(40px, 5vw, 56px) 0 clamp(48px, 6vw, 64px); background: linear-gradient(180deg, #fbfdf8, #fff); }
.productos-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.productos-intro .prosa { margin-bottom: 20px; }
.productos-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.prod-card {
  position: relative; display: grid; grid-template-columns: 42% minmax(0, 1fr);
  background: #fff; border-radius: var(--radio); overflow: hidden; min-height: 236px;
  box-shadow: var(--sombra), 0 0 0 1px #e1eadA;
}
.prod-media {
  display: flex; align-items: center; justify-content: center; padding: 14px;
  background:
    radial-gradient(circle at 22% 88%, #7fbf55 0 16%, transparent 17%),
    radial-gradient(circle at 80% 92%, #5ea83c 0 12%, transparent 13%),
    radial-gradient(ellipse at 50% 40%, #ffffff 0 45%, #e5f0da 100%);
}
.prod-media img { width: 100%; height: 100%; max-height: 230px; object-fit: contain; border-radius: 12px; }
.prod-cuerpo { display: flex; flex-direction: column; padding: 0 18px 18px 8px; min-width: 0; }
.prod-cinta {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 14px -30px; padding: 8px 26px 8px 22px;
  background: linear-gradient(90deg, var(--verde-900), var(--verde-700)); color: #fff; border-radius: 12px 4px 4px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.prod-cinta .ico { width: 30px; height: 30px; }
.prod-cinta span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.prod-cinta small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.prod-cinta strong { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.prod-cinta.grande { margin: 0 0 18px; width: fit-content; padding-right: 40px; }
.prod-cinta.grande strong { font-size: 24px; }
.prod-lista { list-style: none; margin: 0 0 12px; padding: 0; }
.prod-lista li { position: relative; padding-left: 16px; margin-bottom: 6px; font-size: 13.5px; line-height: 1.45; color: #2b3a2f; }
.prod-lista li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--verde-700); }
.prod-pres-tit { display: flex; align-items: center; gap: 6px; margin: 2px 0 8px; font-size: 13px; font-weight: 700; }
.prod-pres-tit .ico { width: 17px; height: 17px; color: var(--verde-700); }
.prod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 16px; border: 1.5px solid #2c3a30; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--tinta); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--verde-900); border-color: var(--verde-900); color: #fff; }
.prod-mas { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--verde-700); text-decoration: none; align-self: flex-start; }
.prod-mas .ico { width: 16px; height: 16px; transition: transform .2s; }
.prod-mas:hover .ico { transform: translateX(3px); }
.prod-card.es-esqueleto { box-shadow: 0 0 0 1px #e6eddf; }
.prod-card.es-esqueleto .prod-media { border-radius: 0; }
.prod-card.es-esqueleto .prod-cuerpo { padding-top: 14px; }
.sk-cinta { height: 48px; margin-bottom: 14px; }
.sk-linea { height: 12px; margin: 8px 0; }
.sk-linea.w80 { width: 80%; } .sk-linea.w60 { width: 60%; } .sk-linea.w40 { width: 40%; }
.sk-linea.mt { margin-top: 16px; }
.sk-chips { display: flex; gap: 8px; margin-top: 8px; }
.sk-chips span { width: 58px; height: 28px; border-radius: 999px; }
.estado-vacio { grid-column: 1 / -1; text-align: center; padding: 34px 20px; border: 2px dashed var(--linea); border-radius: var(--radio); color: var(--gris); }

/* =====================================================================
   NOSOTROS
   ===================================================================== */
.nosotros-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nosotros-media { position: relative; isolation: isolate; margin: 0 18px 22px 0; }
.nosotros-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--oro); border-radius: 26px; z-index: -1; }
.media-marco { border-radius: 26px; aspect-ratio: 4 / 3; box-shadow: var(--sombra); }
.media-marco img { height: 100%; object-fit: cover; }
.nosotros-sello { position: absolute; right: -14px; bottom: -26px; display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 16px 10px 10px; border-radius: 18px; box-shadow: var(--sombra); }
.nosotros-sello img { width: 50px; height: 50px; }
.nosotros-sello span { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--verde-900); max-width: 18ch; }
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin: 26px 0 0; }
.cifra { border-left: 3px solid var(--oro); padding: 4px 0 4px 14px; }
.cifra dt { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; color: var(--verde-900); line-height: 1.1; }
.cifra dd { margin: 4px 0 0; font-size: 13px; color: var(--gris); line-height: 1.35; }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
.mv { background: var(--crema); border: 1px solid var(--linea); border-radius: 22px; padding: clamp(22px, 3vw, 32px); }
.mv-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--verde-900); color: var(--oro-claro); display: grid; place-items: center; }
.mv-ico .ico { width: 28px; height: 28px; }
.mv h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 800; color: var(--verde-900); }

/* =====================================================================
   BENEFICIOS
   ===================================================================== */
.beneficios { background: var(--crema); }
.beneficios-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 36px 0 clamp(36px, 5vw, 56px); }
.beneficio { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 26px 24px; }
.beneficio-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--verde-900), var(--verde-700)); color: var(--oro-claro); }
.beneficio-ico .ico { width: 30px; height: 30px; }
.beneficio h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 800; color: var(--verde-900); line-height: 1.3; }
.beneficio p { margin: 0; font-size: 14px; color: var(--gris); }
.uso {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4vw, 52px); border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 15% 20%, rgba(227,168,32,.25), transparent 45%), linear-gradient(120deg, var(--verde-900), var(--verde-700));
}
.uso .media { background: transparent; border-radius: 18px; }
.uso .media:not(.cargado) { min-height: 220px; background: rgba(255,255,255,.08); }
.uso .media img { filter: drop-shadow(0 18px 20px rgba(0,0,0,.35)); }
.uso-titulo { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.uso .prosa { color: rgba(255,255,255,.93); margin-bottom: 20px; }
.uso .prosa h3, .uso .prosa h4, .uso .prosa strong { color: var(--oro-claro); }
.uso .prosa li::marker { color: var(--oro); }

/* =====================================================================
   GALERÍA
   ===================================================================== */
.galeria-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 24px; }
.galeria-filtros:empty { display: none; }
.filtro { padding: 8px 18px; border: 1.5px solid var(--linea); border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filtro:hover { border-color: var(--verde-700); }
.filtro[aria-selected="true"] { background: var(--verde-900); border-color: var(--verde-900); color: #fff; }
.galeria-grid { columns: 4 240px; column-gap: 16px; margin-top: 26px; }
.gal-item { break-inside: avoid; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; background: #edf3e7; text-align: left; }
.gal-item.es-esqueleto { cursor: default; }
.gal-item.es-esqueleto .sk { border-radius: 18px; }
.gal-item.oculto { display: none; }
.gal-item .media { border-radius: 18px; }
.gal-item .media:not(.cargado) { min-height: 200px; }
.gal-pie { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 14px 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; color: #fff; background: linear-gradient(0deg, rgba(7,38,20,.88), transparent); opacity: 0; transition: opacity .25s; }
.gal-pie strong { font-size: 14px; line-height: 1.3; }
.gal-pie .ico { width: 20px; height: 20px; flex: none; }
.gal-item:hover .gal-pie, .gal-item:focus-visible .gal-pie { opacity: 1; }
@media (hover: none) { .gal-pie { opacity: 1; } }

/* =====================================================================
   CONTACTO
   ===================================================================== */
.contacto { background: linear-gradient(180deg, #fff, var(--crema)); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contacto-datos { list-style: none; margin: 22px 0 0; padding: 0; }
.contacto-datos li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.cd-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; border: 1px solid var(--linea); color: var(--verde-900); }
.cd-ico .ico { width: 22px; height: 22px; }
.contacto-datos small { display: block; font-size: 12px; font-weight: 600; color: var(--gris); }
.contacto-datos a, .contacto-datos span { font-weight: 700; color: var(--verde-900); text-decoration: none; word-break: break-word; }
.form-contacto { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--sombra), 0 0 0 1px var(--linea); }
.form-titulo { margin: 0 0 18px; font-size: 22px; font-weight: 800; color: var(--verde-900); }
.campo-doble { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campo { display: block; margin-bottom: 14px; }
.campo > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid #d3decb; border-radius: 12px; background: #fbfdf9; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--verde-700); box-shadow: 0 0 0 4px rgba(47,125,50,.15); }
.campo.invalido input, .campo.invalido textarea { border-color: #b3261e; }
.campo-error { display: block; margin-top: 5px; font-size: 12px; color: #b3261e; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: center; gap: 10px; margin: 2px 0 16px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--verde-900); }
.form-estado { margin: 12px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-estado.ok { color: var(--verde-700); }
.form-estado.error { color: #b3261e; }
.mapa { position: relative; margin-top: clamp(32px, 5vw, 48px); height: clamp(260px, 32vw, 360px); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--linea); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =====================================================================
   FRANJA COMPROMISO
   ===================================================================== */
.compromiso { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.compromiso-fondo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 70%; }
.compromiso::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,44,24,.88), rgba(8,44,24,.6) 55%, rgba(8,44,24,.75)); }
.compromiso-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr) minmax(0, .9fr); gap: 24px; align-items: center; padding-block: clamp(26px, 3vw, 36px); }
.compromiso h2 { margin: 2px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.15; }
.compromiso h2 > span { display: block; }
.compromiso h2 .script { font-size: 1.1em; }
.compromiso-items { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.compromiso-items li { display: flex; align-items: center; gap: 12px; padding: 0 clamp(12px, 1.8vw, 24px); border-left: 1px solid rgba(255,255,255,.4); font-weight: 600; font-size: 14px; line-height: 1.3; }
.compromiso-items li:first-child { border-left: 0; }
.comp-ico { width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; flex: none; }
.comp-ico .ico { width: 28px; height: 28px; }
.frase-script.chica { font-size: clamp(20px, 1.8vw, 26px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.sitio-footer { position: relative; overflow: hidden; background: var(--verde-900); color: #fff; }
.footer-hojas { position: absolute; right: 0; bottom: 0; width: 230px; pointer-events: none; opacity: .9; }
.footer-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 22px; padding-right: clamp(16px, 12vw, 200px); }
.footer-marca { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: min(calc(var(--logo-w) * .85), 210px); display: block; }
.footer-empresa { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; line-height: 1.3; }
.footer-datos { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-datos li { display: flex; align-items: center; gap: 10px; padding: 4px clamp(12px, 1.8vw, 26px); border-left: 1px solid rgba(255,255,255,.35); font-size: 13px; }
.footer-datos li:first-child { border-left: 0; }
.footer-datos a { color: #fff; text-decoration: none; word-break: break-all; }
.footer-datos a:hover { text-decoration: underline; }
.footer-datos .ico { width: 20px; height: 20px; }
.footer-redes { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.footer-redes a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--verde-900); transition: background-color .2s; }
.footer-redes a:hover { background: var(--oro); }
.footer-redes .ico { width: 19px; height: 19px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.footer-legal p { margin: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 12px; opacity: .75; text-align: center; }

/* WhatsApp flotante */
.wsp-flotante { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); text-decoration: none; transition: transform .2s; }
.wsp-flotante:hover { transform: scale(1.06); }
.wsp-flotante > .ico { width: 32px; height: 32px; }
.wsp-flotante-txt { position: absolute; right: 72px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: #fff; color: var(--tinta); font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.wsp-flotante.mostrar .wsp-flotante-txt { opacity: 1; transform: translate(0, -50%); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 60px 70px; background: rgba(5, 22, 12, .94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.abierto { opacity: 1; visibility: visible; }
.lb-figura { margin: 0; max-width: min(1100px, 100%); width: 100%; text-align: center; }
.lb-media { min-height: 40vh; display: grid; place-items: center; border-radius: 16px; background-color: rgba(255,255,255,.06); }
.lb-media:not(.sk) { background: transparent; }
.lb-media.sk { background-image: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.04) 70%); }
.lb-media img { max-width: 100%; max-height: 78vh; width: auto; border-radius: 14px; display: block; margin: auto; transition: opacity .3s; }
.lb-media.sk img { opacity: 0; }
.lb-figura figcaption { margin-top: 14px; color: #fff; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.lb-desc { opacity: .8; }
.lb-contador { opacity: .6; }
.lb-cerrar, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb-cerrar:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-cerrar { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-cerrar .ico, .lb-nav .ico { width: 24px; height: 24px; }

/* =====================================================================
   DETALLE DE PRODUCTO
   ===================================================================== */
.detalle-cabecera { background: linear-gradient(90deg, var(--verde-900), var(--verde-700)); color: #fff; padding: 16px 0; }
.migas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.migas a { color: rgba(255,255,255,.85); text-decoration: none; }
.migas a:hover { color: #fff; text-decoration: underline; }
.migas span { opacity: .5; }
.detalle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.detalle-principal { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 1 / 1; border-radius: 26px; background: radial-gradient(circle at 50% 40%, #fff 0 40%, #e4efd8 100%); box-shadow: 0 0 0 1px var(--linea); }
.detalle-principal img { height: 100%; object-fit: contain; padding: clamp(14px, 3vw, 30px); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--verde-900); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.zoom-hint .ico { width: 16px; height: 16px; }
.detalle-miniaturas { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.mini { flex: none; width: 80px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 14px; cursor: pointer; }
.mini.activa { border-color: var(--verde-700); }
.mini img { height: 100%; object-fit: cover; }
.detalle-titulo { margin: 0 0 14px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.12; color: var(--verde-900); }
.detalle-info .prod-lista li { font-size: 15px; }
.cotizador { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linea); }
.cotizador fieldset { border: 0; padding: 0; margin: 0; }
.cotizador legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.cotizador legend .ico { width: 18px; height: 18px; color: var(--verde-700); }
.chips-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-radio label { position: relative; }
.chips-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-radio span { display: inline-block; padding: 9px 22px; border: 1.5px solid #2c3a30; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.chips-radio input:checked + span { background: var(--verde-900); border-color: var(--verde-900); color: #fff; }
.chips-radio input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.cantidad { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 20px 0; font-weight: 600; font-size: 14px; }
.cantidad-ctrl { display: inline-flex; border: 1.5px solid #d3decb; border-radius: 999px; overflow: hidden; background: #fff; }
.cantidad-ctrl button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 20px; font-weight: 700; color: var(--verde-900); cursor: pointer; }
.cantidad-ctrl button:hover { background: var(--crema); }
.cantidad-ctrl input { width: 70px; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.cantidad-ctrl input::-webkit-outer-spin-button, .cantidad-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cotizador-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.cotizador-nota { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--gris); }
.cotizador-nota .ico { width: 18px; height: 18px; color: var(--verde-700); }
.pestanas { display: flex; gap: 4px; margin-top: clamp(40px, 5vw, 60px); border-bottom: 2px solid var(--linea); overflow-x: auto; }
.pestanas button { padding: 14px 18px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; font-weight: 700; font-size: 15px; color: var(--gris); cursor: pointer; white-space: nowrap; }
.pestanas button[aria-selected="true"] { color: var(--verde-900); border-bottom-color: var(--oro); }
.pestana { padding: 24px 0 0; max-width: 80ch; }
.otros-productos { background: var(--crema); }
.otros-productos .productos-lista { margin-top: 26px; }
.vacio-404 { text-align: center; }
.vacio-404 .vacio-ico { width: 64px; height: 64px; color: var(--verde-700); }
.vacio-404 h1 { color: var(--verde-900); margin: 12px 0 8px; }
.vacio-404 p { color: var(--gris); max-width: 52ch; margin: 0 auto 22px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero-lateral { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 0; }
  .hero-lateral .frase-script { flex: 1; }
  .tarjeta-cotiza { width: min(460px, 100%); }
  .productos-grid { grid-template-columns: 1fr; }
  .productos-intro { max-width: 720px; }
}

@media (max-width: 1120px) {
  .nav-principal { display: none; }
  .hamburguesa { display: inline-flex; }
  .btn-wsp-header { margin-left: auto; }
  .footer-in { justify-content: center; text-align: center; padding-right: clamp(16px, 4vw, 44px); }
  .footer-hojas { width: 150px; opacity: .45; }
}

@media (max-width: 992px) {
  :root { --header-h: 74px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,38,20,.9) 0%, rgba(9,48,26,.78) 45%, rgba(9,48,26,.55) 70%, rgba(7,38,20,.85) 100%); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-producto { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero-lateral { flex-direction: column; align-items: stretch; }
  .tarjeta-cotiza { width: 100%; max-width: 560px; margin-inline: auto; }
  .destacados-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .destacado:nth-child(odd) { border-left: 0; }
  .hojas-borde { display: none; }
  .nosotros-grid, .uso, .contacto-grid { grid-template-columns: 1fr; }
  .nosotros-media { max-width: 620px; }
  .beneficios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uso-media { max-width: 480px; }
  .compromiso-grid { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .compromiso-items { flex-wrap: wrap; row-gap: 16px; }
  .detalle-grid { grid-template-columns: 1fr; }
  .detalle-galeria { max-width: 560px; }
}

@media (max-width: 860px) {
  .productos-lista { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .marca-logo { width: var(--logo-w-m); }
  .marca { gap: 10px; }
  .marca-empresa { font-size: 12.5px; }
  .marca-sep { margin-block: 16px; }
  .btn-wsp-header { padding: 11px 18px; font-size: 14px; }
  .btn-wsp-header .ico { width: 22px; height: 22px; }
  .footer-logo { width: min(var(--logo-w-m), 190px); }
  .lightbox { padding: 64px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (max-width: 640px) {
  .btn-wsp-header { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .btn-wsp-header span { display: none; }
  .hero-titulo { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-badges li { padding: 0 6px; }
  .hero-badges li:first-child { padding-left: 0; }
  .badge-ico { width: 46px; height: 46px; }
  .badge-txt { font-size: 12px; }
  .hero-brotes { width: 100px; left: -10px; }
  .campo-doble, .mv-grid, .beneficios-grid { grid-template-columns: 1fr; }
  .compromiso-items { flex-direction: column; align-items: center; }
  .compromiso-items li { border-left: 0; padding: 0; width: min(280px, 100%); }
  .footer-datos { flex-direction: column; align-items: center; gap: 8px; }
  .footer-datos li { border-left: 0; padding: 0; }
  .footer-marca { flex-direction: column; gap: 8px; }
  .footer-marca .marca-sep { display: none; }
  .galeria-grid { columns: 2 140px; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; border-radius: 14px; }
  .wsp-flotante-txt { display: none; }
  .nosotros-sello { right: -6px; }
}

@media (max-width: 520px) {
  .prod-card { grid-template-columns: 1fr; }
  .prod-media { height: 220px; }
  .prod-cuerpo { padding: 0 18px 18px; }
  .prod-cinta { margin-left: -18px; margin-top: -24px; position: relative; z-index: 1; width: calc(100% + 18px); }
  .destacados-grid { grid-template-columns: 1fr; row-gap: 0; }
  .destacado { display: grid; grid-template-columns: 48px 1fr; text-align: left; column-gap: 14px; padding: 14px 0; border-left: 0; border-top: 1px solid #d5e0cb; }
  .destacado:first-child { border-top: 0; }
  .destacado-ico { grid-row: span 2; align-self: center; }
  .destacado h3 { margin: 0 0 2px; }
  .destacado p { margin: 0; max-width: none; }
  .cotizador-botones .btn { width: 100%; }
}

@media (max-width: 380px) {
  .marca-sep, .marca-empresa { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Ajuste: en celulares angostos se oculta la razón social junto al logo para no chocar con los botones */
@media (max-width: 460px) {
  .marca-sep, .marca-empresa { display: none; }
}
@media (max-width: 640px) {
  .hero-badges li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .hero-badges { row-gap: 16px; }
}

/* =====================================================================
   SELLO DE CERTIFICACIÓN EN LA PORTADA (v1.1)
   - Con envases: se apoya como sticker en una esquina de los envases.
   - Sin envases: pasa al centro, más grande, con halo y anillo giratorio.
   ===================================================================== */
.hero-producto { isolation: isolate; }
.hero-sello {
  position: absolute; z-index: 3; top: -4%; right: -4%;
  width: min(var(--sello-w, 170px), 34vw); aspect-ratio: 1 / 1;
  animation: sello-llega 1s .55s cubic-bezier(.2, .9, .3, 1.25) both;
}
.hero[data-sello-lado="izquierda"] .hero-sello { right: auto; left: -4%; }
.hero[data-sello="0"] .hero-sello { display: none; }
.sello-cuerpo {
  position: relative; width: 100%; height: 100%; cursor: pointer;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .42));
  animation: sello-flota 6s 1.6s ease-in-out infinite;
}
.sello-cuerpo.giro { animation: sello-giro .9s cubic-bezier(.3, .7, .3, 1), sello-flota 6s 1.6s ease-in-out infinite; }
.media-sello { width: 100%; height: 100%; border-radius: 50%; background: transparent; }
.media-sello:not(.cargado) { background: rgba(255, 255, 255, .1); }
.media-sello img { width: 100%; height: 100%; object-fit: contain; }
.sello-brillo {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: var(--sello-src); mask-image: var(--sello-src);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .7) 49%, transparent 60%);
  background-size: 260% 100%; background-position: 160% 0;
  mix-blend-mode: overlay;
  animation: sello-brillo 5.5s 2.2s ease-in-out infinite;
}
.sello-anillo {
  position: absolute; inset: -16%; width: 132%; height: 132%; display: none;
  color: var(--oro-claro); overflow: visible; pointer-events: none;
  transform-origin: 50% 50%; animation: sello-gira 40s linear infinite;
}
.sello-anillo text { fill: currentColor; font: 700 15px var(--fuente); letter-spacing: .12em; text-transform: uppercase; }

/* Sin envases: el sello protagoniza el centro de la portada */
.hero[data-envases="0"] .media-hero { display: none; }
.hero[data-envases="0"] .hero-producto { align-self: center; display: grid; place-items: center; min-height: 380px; }
.hero[data-envases="0"] .hero-sello {
  position: relative; inset: auto; margin: 48px auto;
  width: min(calc(var(--sello-w, 170px) * 1.6), 100%, 420px);
}
.hero[data-envases="0"] .hero-sello::before {
  content: ""; position: absolute; inset: -24%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 198, 78, .45) 0%, rgba(243, 198, 78, .12) 45%, rgba(243, 198, 78, 0) 68%);
  animation: sello-pulso 4s ease-in-out infinite;
}
.hero[data-envases="0"] .sello-anillo { display: block; }
.hero[data-envases="0"] .hero-brotes { left: 50%; bottom: 4px; transform: translateX(-120%); }
.hero[data-envases="0"][data-sello="0"] .hero-producto { display: none; }
@media (min-width: 1241px) {
  .hero[data-envases="0"][data-sello="0"] .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
}

@keyframes sello-llega { from { opacity: 0; transform: scale(.35) rotate(-28deg); } to { opacity: 1; transform: none; } }
@keyframes sello-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes sello-brillo { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
@keyframes sello-gira { to { rotate: 360deg; } }
@keyframes sello-pulso { 0%, 100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
@keyframes sello-giro { from { transform: perspective(700px) rotateY(0); } to { transform: perspective(700px) rotateY(360deg); } }

@media (max-width: 992px) {
  .hero-sello { width: min(var(--sello-w, 170px), 30vw); top: -6%; right: 0; }
  .hero[data-sello-lado="izquierda"] .hero-sello { left: 0; }
  .hero[data-envases="0"] .hero-producto { min-height: 0; }
  .hero[data-envases="0"] .hero-sello { width: min(calc(var(--sello-w, 170px) * 1.4), 64vw, 320px); margin: 34px auto 20px; }
}
@media (max-width: 640px) {
  .hero-sello { width: min(var(--sello-w, 170px), 32vw); }
  .sello-anillo text { font-size: 17px; }
}

/* v1.1 · ajustes finos tras revisión visual */
/* El anillo de texto se separa del borde dentado del sello para leerse completo */
.hero[data-envases="0"] .sello-anillo { inset: -27%; width: 154%; height: 154%; }
.hero[data-envases="0"] .hero-sello { margin: 70px auto; }
/* Íconos de la portada: siempre en filas de 3, sin cortes raros */
.hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); row-gap: 18px; }
.hero-badges li { padding: 0 clamp(10px, 1.3vw, 22px); }
.hero-badges li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
@media (max-width: 992px) {
  .hero[data-envases="0"] .hero-sello { margin: 54px auto 40px; }
}
/* El anillo es más grande que su contenedor: anula el max-width global de los SVG */
.sello-anillo { max-width: none; }

/* =====================================================================
   v1.2 · SELLO CON POSICIÓN LIBRE
   El sello se ubica en cualquier punto de la portada (X/Y en %), con una
   posición y tamaño para computadora y otra para celular/tablet.
   Ya no depende de si los envases están visibles o no.
   ===================================================================== */
.hero-grid { position: relative; }
.hero[data-sello] .hero-grid > .hero-sello.libre {
  position: absolute; z-index: 4; margin: 0; inset: auto;
  left: var(--sello-x, 64%); top: var(--sello-y, 58%);
  translate: -50% -50%;
  width: min(var(--sello-w, 170px), 40vw);
}
.hero[data-sello="0"] .hero-grid > .hero-sello.libre { display: none; }

/* Efecto destacado (halo + anillo) ahora es una opción propia */
.hero[data-sello-efecto="0"] .hero-sello::before { display: none; }
.hero[data-sello-efecto="0"] .sello-anillo { display: none; }
.hero[data-sello-efecto="1"] .sello-anillo { display: block; inset: -27%; width: 154%; height: 154%; }
.hero[data-sello-efecto="1"] .hero-sello::before {
  content: ""; position: absolute; inset: -24%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 198, 78, .45) 0%, rgba(243, 198, 78, .12) 45%, rgba(243, 198, 78, 0) 68%);
  animation: sello-pulso 4s ease-in-out infinite;
}
/* Sin envases, la columna central conserva su espacio para el sello */
.hero[data-envases="0"] .hero-producto { min-height: 340px; }

@media (max-width: 992px) {
  .hero[data-sello] .hero-grid > .hero-sello.libre {
    left: var(--sello-x-m, 79%); top: var(--sello-y-m, 45%);
    width: min(var(--sello-w-m, 120px), 60vw);
  }
  .hero[data-envases="0"] .hero-producto { min-height: 220px; }
}

/* Vista previa del panel: el sello se puede arrastrar */
.is-preview .hero-sello.libre { cursor: grab; touch-action: none; }
.is-preview .hero-sello.libre .sello-cuerpo { cursor: grab; }
.is-preview .hero-sello.libre::after {
  content: "Arrástrame"; position: absolute; left: 50%; top: 100%; translate: -50% 6px;
  padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff;
  font: 700 11px var(--fuente); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s;
}
.is-preview .hero-sello.libre:hover::after { opacity: 1; }
.is-preview .hero-sello.libre.arrastrando { cursor: grabbing; outline: 2px dashed var(--oro); outline-offset: 6px; border-radius: 50%; }
.is-preview .hero-sello.libre.arrastrando .sello-cuerpo { animation: none; }
