/* DelAgro Natural · El mostrador
   Paleta del Manual de Identidad 2026. Lima solo para lo activo y la acción.
   Radios: controles en píldora; paneles y fotos 4px; boleta 6px con perforación. */

@font-face {
  font-family: "Manrope";
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --forest: #0B4B31;
  --forest-deep: #063521;
  --forest-ink: #04281A;
  --lime: #A9CC18;
  --cream: #F3EBDD;
  --cream-2: #E7DCC7;
  --cream-3: #D8CAB0;
  --gold: #C8A14A;
  --text-on-cream-soft: #3A6B54;
  --text-on-forest-soft: #D6E2C3;
  --placeholder: #46705A;
  --rule-on-forest: rgb(243 235 221 / 0.2);
  --rule-on-cream: rgb(11 75 49 / 0.18);

  --font-sign: "Bungee", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r-panel: 4px;
  --r-slip: 6px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--forest) var(--cream-2);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font: 500 17px/1.6 var(--font-body);
  caret-color: var(--forest);
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: var(--forest-ink); }

img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a, button, select, input, label { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--forest); color: var(--cream);
  border-radius: var(--r-panel); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Rótulo: letras de pintor ---------- */
.sign {
  font-family: var(--font-sign);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-wrap: balance;
  --shade: var(--gold);
  text-shadow: 0.055em 0.055em 0 var(--shade);
}
.sign-xl { font-size: clamp(34px, 4.9vw, 72px); }
.sign-lg { font-size: clamp(30px, 3.9vw, 56px); }
.sign-md { font-size: clamp(26px, 3vw, 42px); }
.sign-sm { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.2; text-shadow: none; }

/* Pintura con grano: los paneles pintados llevan materia, no color digital plano. */
.painted, .painted-dark { position: relative; isolation: isolate; }
.painted { background: var(--forest); color: var(--cream); }
.painted-dark { background: var(--forest-deep); color: var(--cream); }
.painted::before, .painted-dark::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  opacity: 0.32;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: var(--r-pill);
  font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--lime); color: var(--forest-ink);
  box-shadow: 0 2px 0 rgb(4 40 26 / 0.35);
}
.btn-block { width: 100%; }
.btn-small { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .icon { transition: transform 200ms var(--ease-out); }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #B7D829; }
  .btn:hover .icon { transform: translateX(3px); }
  .text-link:hover { text-decoration-thickness: 2px; }
}

/* ---------- Encabezado: franja de rótulo ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--rule-on-cream);
}
.header-inner {
  max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: block; flex: none; border-radius: var(--r-panel); }

/* El PNG maestro se muestra intacto; el contenedor solo excluye el lienzo vacío. */
.logo-crop {
  --w: 70px;
  position: relative; display: block;
  width: var(--w); aspect-ratio: 867 / 752;
  overflow: hidden;
}
.logo-crop img {
  position: absolute; max-width: none;
  width: 108.54%; height: auto;
  left: -5.65%; top: -52%;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block;
  padding: 10px 12px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background-color 180ms ease;
}
.main-nav a[aria-current="true"] { background: var(--forest); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .main-nav a:not([aria-current="true"]):hover { background: var(--cream-2); }
}
.menu-toggle { display: none; }

/* ---------- Mostrador (hero) ---------- */
.hero { overflow: clip; padding-block: clamp(28px, 3.4vw, 48px) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  row-gap: clamp(24px, 3vw, 40px);
  position: relative; z-index: 1;
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero-title { grid-column: 1 / -1; color: var(--cream); }
.paint-line { display: block; }
.paint-line + .paint-line { color: var(--cream-2); }

.hero-lede { grid-column: 1 / span 4; align-self: start; max-width: 36ch; }
.hero-lede p { font-size: clamp(17px, 1.35vw, 19px); color: var(--text-on-forest-soft); }
.hero-lede .text-link { margin-top: 12px; color: var(--cream); }
.hero-direct { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule-on-forest); font-size: 15px; color: var(--text-on-forest-soft); }
.hero-direct a { display: inline-block; margin-top: 2px; font-size: 22px; font-weight: 800; color: var(--cream); text-decoration: none; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .hero-direct a:hover { text-decoration: underline; } }

.hero-vitrina { grid-column: 5 / span 4; align-self: start; }
.boleta { grid-column: 9 / span 4; align-self: start; }

/* El mostrador: banda donde descansan vitrina y boleta. */
.counter {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: var(--forest-deep);
  border-top: 3px solid var(--gold);
}
.counter::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); opacity: 0.35; mix-blend-mode: soft-light;
}

/* Vitrina: foto en marco pintado */
.vitrina {
  position: relative;
  padding: 10px;
  background: var(--forest-ink);
  border-radius: var(--r-panel);
  box-shadow: 0 22px 40px -22px rgb(2 22 14 / 0.75);
}
.vitrina img, .vitrina video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
  outline: 1px solid rgb(243 235 221 / 0.35); outline-offset: -7px;
}
.hero-vitrina img { aspect-ratio: 1 / 1; object-position: center 30%; }
.plaque {
  position: absolute; left: 22px; bottom: 22px;
  padding: 6px 10px;
  background: var(--cream); color: var(--forest);
  border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 2px 0 rgb(4 40 26 / 0.3);
}

/* ---------- Boleta de talonario ---------- */
.boleta {
  position: relative;
  filter: drop-shadow(0 18px 22px rgb(2 22 14 / 0.45));
}
.boleta::before, .boleta::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  border-radius: var(--r-slip);
  z-index: -1;
}
.boleta::before { background: var(--cream-2); transform: translateY(7px) scale(0.985); }
.boleta::after  { background: var(--cream-3); transform: translateY(14px) scale(0.965); z-index: -2; }

.boleta-sheet {
  position: relative;
  padding: 26px clamp(18px, 1.6vw, 24px) 20px;
  background: var(--cream); color: var(--forest);
  border-radius: 0 0 var(--r-slip) var(--r-slip);
  /* Perforación del talonario */
  -webkit-mask: radial-gradient(circle 4.5px at 50% 0, #0000 96%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(circle 4.5px at 50% 0, #0000 96%, #000) 0 0 / 14px 100% repeat-x;
}
.boleta-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 2px dashed var(--rule-on-cream);
}
.boleta-head h2 { font-family: var(--font-sign); font-weight: 400; font-size: 20px; text-transform: uppercase; }
.boleta-head span { font-size: 12px; font-weight: 700; color: var(--text-on-cream-soft); }

.field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block; padding: 0; margin-bottom: 6px;
  font-size: 14px; font-weight: 800;
}
.optional { font-weight: 600; color: var(--text-on-cream-soft); margin-left: 4px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest);
  transform: rotate(45deg); pointer-events: none;
}
select, input[type="text"] {
  width: 100%; min-height: 48px;
  padding: 11px 14px;
  background: #FBF7EF; color: var(--forest);
  border: 1.5px solid rgb(11 75 49 / 0.45);
  border-radius: 10px;
  font-size: 16px; font-weight: 600;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
select { appearance: none; padding-right: 40px; }
input::placeholder { color: var(--placeholder); font-weight: 500; opacity: 1; }
select:focus-visible, input:focus-visible {
  outline: none; border-color: var(--forest);
  box-shadow: 0 0 0 3px rgb(200 161 74 / 0.55);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--forest);
  border: 1.5px solid rgb(11 75 49 / 0.45);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip .icon { width: 16px; height: 16px; stroke-width: 2.4; display: none; }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--forest-ink); }
.chip[aria-pressed="true"] .icon { display: block; }
@media (hover: hover) and (pointer: fine) {
  .chip[aria-pressed="false"]:hover { border-color: var(--forest); background: rgb(11 75 49 / 0.06); }
}

.boleta-preview {
  margin: 4px 0 16px; padding: 12px 14px;
  background: rgb(11 75 49 / 0.06);
  border-left: 1px solid var(--rule-on-cream);
  border-radius: 0 6px 6px 0;
}
.preview-label { font-size: 12px; font-weight: 800; color: var(--text-on-cream-soft); margin-bottom: 4px; }
.preview-text { font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.boleta-note { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-on-cream-soft); }

/* La hoja se desprende del talonario al enviar. */
.boleta-sheet.is-tearing { animation: tear 420ms var(--ease-out) forwards; }
.boleta-sheet.is-fresh { animation: fresh 260ms var(--ease-out); }
@keyframes tear {
  to { transform: translate(18px, -36px) rotate(4deg); opacity: 0; }
}
@keyframes fresh {
  from { transform: translateY(10px); opacity: 0; }
}

/* ---------- Estantería ---------- */
.shelf-section { background: var(--cream); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .sign { color: var(--forest); }
.section-lede { margin-top: 18px; max-width: 58ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--text-on-cream-soft); }

.shelf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px) 0;
}
.bay { position: relative; display: flex; flex-direction: column; min-width: 0; }
.bay:nth-child(1) { grid-column: span 7; }
.bay:nth-child(2) { grid-column: span 5; }
.bay:nth-child(n+3) { grid-column: span 4; }
/* La última línea es una tabla ancha: foto y rótulo lado a lado. */
.bay:nth-child(9) { grid-column: 1 / -1; flex-direction: row; }
.bay:nth-child(9) .bay-photo { flex: 0 0 58%; aspect-ratio: auto; height: clamp(300px, 28vw, 400px); border-radius: var(--r-panel) 0 0 var(--r-panel); }
.bay:nth-child(9) .bay-label { border-top: 0; border-left: 3px solid var(--gold); justify-content: center; padding: 28px 32px; border-radius: 0 var(--r-panel) var(--r-panel) 0; box-shadow: none; }
.bay:nth-child(9) .bay-label .tag { margin-top: 8px; }
.bay-photo {
  position: relative; overflow: hidden;
  background: var(--forest-deep);
  aspect-ratio: 16 / 10;
}
.bay:nth-child(-n+2) .bay-photo { aspect-ratio: auto; height: clamp(280px, 30vw, 420px); }
.bay-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }

/* Tablilla: borde de estante pintado */
.bay-label {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 18px 18px 20px;
  background: var(--forest); color: var(--cream);
  border-top: 3px solid var(--gold);
  box-shadow: inset 1px 0 0 rgb(243 235 221 / 0.16);
}
/* Esquinas redondeadas solo en los extremos de cada fila (1-2, 3-5, 6-8) */
.bay:nth-child(1) .bay-label { box-shadow: none; }
.bay:nth-child(1) .bay-photo { border-top-left-radius: var(--r-panel); }
.bay:nth-child(1) .bay-label { border-bottom-left-radius: var(--r-panel); }
.bay:nth-child(2) .bay-photo, .bay:nth-child(5) .bay-photo { border-top-right-radius: var(--r-panel); }
.bay:nth-child(2) .bay-label, .bay:nth-child(5) .bay-label { border-bottom-right-radius: var(--r-panel); }
.bay-photo + .bay-label { margin-top: 0; }
.bay-label h3 {
  font-family: var(--font-sign); font-weight: 400; text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05;
}
.bay-label p { font-size: 15px; line-height: 1.5; color: var(--text-on-forest-soft); max-width: 52ch; }
.bay-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; width: 100%; }
/* Toda la tarjeta lleva a la página de la línea; el marbete queda por encima. */
.bay-link { color: inherit; text-decoration: none; }
.bay-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bay-link:focus-visible { outline: none; }
.bay:has(.bay-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.bay .tag { z-index: 2; }
.bay-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--cream); }
.bay-more .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
/* Líneas sin foto: rótulo pintado */
.bay-sign .bay-label {
  border-top: 0; border-radius: var(--r-panel) !important; box-shadow: none !important;
  min-height: 260px; padding: 26px 22px 22px;
  background: var(--forest-deep); position: relative; isolation: isolate;
}
.bay-sign .bay-label::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image: var(--grain); opacity: 0.35; mix-blend-mode: soft-light;
}
.bay-sign .bay-label h3 { font-size: clamp(24px, 2.2vw, 32px); text-shadow: 0.055em 0.055em 0 var(--gold); }
.bay-sign:nth-child(6) .bay-label { background: var(--forest); }
.bay-label p { margin-bottom: 8px; }

/* Marbete: la etiqueta de precio es el control para añadir */
.tag {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 10px 16px 10px 30px;
  background: var(--cream); color: var(--forest);
  border: 0;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
  font-size: 14px; font-weight: 800; white-space: nowrap;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.tag::before {
  content: ""; position: absolute; left: 13px; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--forest);
}
.tag:active { transform: scale(0.97); }
.tag .tag-on { display: none; }
.tag[aria-pressed="true"] { background: var(--lime); color: var(--forest-ink); }
.tag[aria-pressed="true"] .tag-on { display: inline; }
.tag[aria-pressed="true"] .tag-off { display: none; }
@media (hover: hover) and (pointer: fine) {
  .bay:hover .bay-more .icon { transform: translateX(4px); }
  .bay:hover .bay-link { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
  .tag[aria-pressed="false"]:hover { background: #FBF7EF; }
  .bay:hover .bay-photo img { transform: scale(1.03); }
}

.shelf-more {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--rule-on-cream);
  font-weight: 600; color: var(--text-on-cream-soft);
}

/* ---------- Pizarra de cultivos ---------- */
.board-section { background: var(--cream); padding-top: 0; }
.board {
  border-radius: var(--r-panel);
  padding: clamp(28px, 4vw, 56px);
  border: 10px solid var(--forest-ink);
  box-shadow: 0 24px 48px -28px rgb(2 22 14 / 0.7);
}
.board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: 28px; }
.board-head .sign { --shade: var(--forest-ink); }
.board-head p { max-width: 42ch; color: var(--text-on-forest-soft); }
.board-rows { margin: 0; padding: 0; border: 0; min-width: 0; }
.board-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--rule-on-forest);
}
.crop {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding: 10px 4px;
  border-bottom: 1px solid var(--rule-on-forest);
  cursor: pointer;
}
.crop input { position: absolute; opacity: 0; pointer-events: none; }
.crop-name {
  font-family: var(--font-sign); text-transform: uppercase;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.1;
  transition: color 180ms ease;
}
.crop-mark {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgb(243 235 221 / 0.55);
  display: grid; place-items: center;
  transition: background-color 180ms ease, border-color 180ms ease, transform 200ms var(--ease-out);
}
.crop-mark .icon { width: 16px; height: 16px; stroke: var(--forest-ink); stroke-width: 2.6; opacity: 0; }
.crop input:checked ~ .crop-name { color: var(--lime); }
.crop input:checked ~ .crop-mark { background: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.crop input:checked ~ .crop-mark .icon { opacity: 1; }
.crop input:focus-visible ~ .crop-name { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) {
  .crop:hover .crop-mark { border-color: var(--cream); }
}
.board-status:empty { display: none; }
.board-status { margin-top: 16px; font-weight: 700; color: var(--text-on-forest-soft); }

/* ---------- Desde el aire ---------- */
.drone-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.drone-copy { grid-column: 1 / span 5; }
.drone-copy .sign { --shade: var(--forest-ink); }
.drone-copy p { margin: 20px 0 28px; max-width: 44ch; color: var(--text-on-forest-soft); }
.drone-vitrina { grid-column: 6 / -1; }
.drone-vitrina video { aspect-ratio: 16 / 9; background: var(--forest-ink); }
.drone-vitrina .plaque { bottom: auto; top: 22px; }
.video-toggle {
  position: absolute; right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  background: var(--cream); color: var(--forest);
  border: 0; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 800;
  transition: transform 160ms var(--ease-out);
}
.video-toggle:active { transform: scale(0.97); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon-play { fill: currentColor; stroke: none; }
.video-toggle .icon-pause, .video-toggle[aria-pressed="true"] .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-pause { display: block; }

/* ---------- Cómo atendemos ---------- */
.care-section { background: var(--cream); }
.care-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px); align-items: start;
}
.care-vitrina { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.care-vitrina img { aspect-ratio: 4 / 5; object-position: 42% center; }
.care-copy { grid-column: 7 / -1; }
.care-copy .sign { color: var(--forest); }
.steps { margin-top: 28px; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--rule-on-cream);
}
.step-no {
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--forest); color: var(--cream);
  border-radius: var(--r-panel);
  font-family: var(--font-sign); font-size: 24px;
}
.steps h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.steps p { margin-top: 4px; color: var(--text-on-cream-soft); max-width: 46ch; }

/* Aviso clavado en la pared */
.notice {
  grid-column: 7 / -1;
  position: relative;
  padding: 26px 28px 24px;
  background: #FBF7EF;
  border: 1.5px solid var(--rule-on-cream);
  border-radius: var(--r-panel);
  border-top: 3px solid var(--gold);
}
.notice h3 { color: var(--forest); margin-bottom: 14px; }
.notice ul { columns: 2; column-gap: 28px; }
.notice li {
  break-inside: avoid; position: relative;
  padding: 6px 0 6px 22px; font-weight: 600; line-height: 1.4;
}
.notice li::before {
  content: ""; position: absolute; left: 2px; top: 0.85em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

/* ---------- Quiénes somos: el aviso de la entrada ---------- */
.about-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px) clamp(24px, 3vw, 48px);
}
.about-head { grid-column: 1 / span 6; }
.about-head .sign { --shade: var(--forest-ink); max-width: 14ch; }
.about-place {
  display: block; margin-top: 28px; padding-top: 18px;
  border-top: 3px solid var(--gold);
  font-style: normal; font-weight: 700; font-size: 17px; line-height: 1.5;
  max-width: 34ch;
}
.about-place-label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--text-on-forest-soft); }
.about-place .text-link { margin-top: 4px; color: var(--cream); }
.about-copy { grid-column: 7 / -1; align-self: end; }
.about-copy p { font-size: clamp(17px, 1.3vw, 19px); color: var(--text-on-forest-soft); max-width: 58ch; }
.about-copy p:first-child { color: var(--cream); font-weight: 600; }
.about-copy p + p { margin-top: 16px; }
.about-pillars {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-on-forest);
}
.about-pillars li { padding: 22px clamp(16px, 2vw, 28px) 4px 0; }
.about-pillars li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--rule-on-forest); }
.about-pillars strong {
  display: block; font-family: var(--font-sign); font-weight: 400; text-transform: uppercase;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; color: var(--cream);
}
.about-pillars span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-on-forest-soft); }
.contact-address { margin-top: 18px; font-size: 15px; color: var(--text-on-forest-soft); }

/* ---------- Marcas ---------- */
.brands-section { background: var(--cream-2); padding-bottom: 0; }
.brands-section .marquee { border-bottom: 0; }
.brands-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.brands-head .sign { color: var(--forest); max-width: 18ch; }
.brands-head p { margin-top: 12px; color: var(--text-on-cream-soft); }
.pause-toggle {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 10px 16px;
  background: transparent; color: var(--forest);
  border: 1.5px solid rgb(11 75 49 / 0.45); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 800;
}
.pause-toggle .icon { width: 18px; height: 18px; }
.pause-toggle .icon-play { display: none; fill: currentColor; stroke: none; }
.pause-toggle[aria-pressed="true"] .icon-play { display: block; }
.pause-toggle[aria-pressed="true"] .icon-pause { display: none; }

.marquee {
  overflow: hidden;
  border-block: 3px solid var(--forest);
  background: var(--cream);
}
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee-set { display: flex; align-items: center; flex: none; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: clamp(160px, 16vw, 210px); height: 104px; padding: 16px 22px;
  border-right: 1px solid var(--rule-on-cream);
  color: var(--forest); text-decoration: none;
}
.brand-mark img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
/* Logos claros: se entintan en verde bosque para que toda la franja comparta el mismo fondo crema. */
.brand-mark.on-dark img { max-height: 48px; filter: brightness(0) invert(21%) sepia(28%) saturate(1500%) hue-rotate(118deg) brightness(88%); }
.brand-mark .brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark img:not([hidden]) + .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.marquee.is-paused .marquee-track,
.marquee.is-offscreen .marquee-track,
.marquee:has(:focus-visible) .marquee-track { animation-play-state: paused; }
/* Pausa al pasar el mouse solo donde hay mouse: en pantallas táctiles el toque dejaba la franja detenida. */
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contacto ---------- */
.contact-section { padding-block: var(--section-y) calc(var(--section-y) * 0.85); }
.contact-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px); align-items: end;
}
.contact-copy { grid-column: 1 / span 7; }
.contact-copy .sign { color: var(--cream); max-width: 12ch; }
.contact-phone {
  display: inline-block; margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  font-variant-numeric: tabular-nums; color: var(--lime); text-decoration: none;
}
.contact-phone { display: inline-flex; align-items: center; gap: 0.35em; }
.wa-badge {
  display: grid; place-items: center; flex: none;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--lime); color: var(--forest-ink);
  transition: transform 160ms var(--ease-out);
}
.icon-wa { width: 62%; height: 62%; fill: currentColor; }
.contact-phone:active .wa-badge { transform: scale(0.94); }
.hero-direct a { display: inline-flex !important; align-items: center; gap: 10px; }
.hero-direct .icon { width: 22px; height: 22px; color: var(--lime); }
.contact-mail { display: block; margin-top: 12px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .contact-phone:hover, .contact-mail:hover { text-decoration: underline; }
}
.contact-slip {
  grid-column: 8 / -1;
  padding: 24px;
  background: var(--cream); color: var(--forest);
  border-radius: var(--r-slip);
  box-shadow: 0 22px 40px -24px rgb(2 22 14 / 0.8);
}
.slip-title { font-family: var(--font-sign); text-transform: uppercase; font-size: 18px; margin-bottom: 10px; }
.slip-list { margin-bottom: 18px; }
.slip-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--rule-on-cream); }
.slip-list dt { font-size: 13px; font-weight: 800; color: var(--text-on-cream-soft); padding-top: 2px; }
.slip-list dd { font-weight: 700; overflow-wrap: anywhere; }
.contact-slip .text-link { margin-top: 6px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--cream); padding-block: 44px 120px; border-top: 1px solid var(--rule-on-cream); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.logo-footer { --w: 104px; }
.footer-slogan { font-weight: 700; font-size: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer nav a:hover { text-decoration: underline; } }
.footer-legal { grid-column: 1 / -1; font-size: 13px; color: var(--text-on-cream-soft); max-width: 90ch; }

/* ---------- Consulta fija ---------- */
.dock {
  position: fixed; z-index: 30;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 8px 8px 8px 18px;
  background: var(--forest); color: var(--cream);
  border-radius: var(--r-pill);
  box-shadow: 0 14px 30px -12px rgb(2 22 14 / 0.6);
  transform: translateY(calc(100% + 32px));
  opacity: 0; visibility: hidden;
  transition: transform 180ms var(--ease-out), opacity 180ms ease, visibility 0s linear 180ms;
}
.dock.is-visible {
  transform: none; opacity: 1; visibility: visible;
  transition: transform 260ms var(--ease-out), opacity 200ms ease, visibility 0s;
}
.dock-text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-label { font-weight: 800; color: var(--cream); }
.dock-text [data-dock-summary] { color: var(--text-on-forest-soft); font-weight: 600; }

/* ---------- Entrada del rótulo: se pinta una vez ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .paint-line { animation: paint 900ms var(--ease-in-out) both; }
  .js .paint-line + .paint-line { animation-delay: 140ms; }
}
@keyframes paint {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 -0.2em 0 0); }
}

/* ---------- Adaptación ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding-inline: 9px; font-size: 14px; }
  .hero-lede { grid-column: 1 / span 12; max-width: 60ch; }
  .hero-vitrina { grid-column: 1 / span 6; }
  .boleta { grid-column: 7 / span 6; }
  .counter { height: 30%; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drone-copy, .drone-vitrina { grid-column: 1 / -1; }
  .care-vitrina { grid-column: 1 / span 5; grid-row: auto; }
  .care-copy { grid-column: 6 / -1; }
  .notice { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .logo-crop { --w: 58px; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 12px;
    background: transparent; border: 1.5px solid rgb(11 75 49 / 0.35); border-radius: var(--r-pill);
    font-size: 14px; font-weight: 800;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after {
    display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform 200ms var(--ease-out), opacity 160ms ease;
  }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -5px; }
  .menu-bars::after { top: 5px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--cream); border-bottom: 1px solid var(--rule-on-cream);
    box-shadow: 0 18px 24px -18px rgb(11 75 49 / 0.35);
    transform-origin: top center;
    transform: translateY(-6px); opacity: 0; visibility: hidden;
    transition: transform 180ms var(--ease-out), opacity 160ms ease, visibility 0s linear 180ms;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 220ms var(--ease-out), opacity 180ms ease, visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; font-size: 17px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta { padding-inline: 16px; font-size: 14px; min-height: 44px; }
  .hero-grid { row-gap: 22px; }
  .hero-vitrina { grid-column: 1 / -1; order: 3; }
  .hero-vitrina img { aspect-ratio: 16 / 10; object-position: center 42%; }
  .boleta { grid-column: 1 / -1; order: 2; }
  .hero-lede .text-link, .hero-direct { display: none; }
  .counter { display: none; }
  .counter { height: 26%; }
  .shelf { grid-template-columns: 1fr; row-gap: 16px; }
  .bay .bay-photo, .bay .bay-label { border-radius: 0; box-shadow: none; }
  .bay .bay-photo { border-radius: var(--r-panel) var(--r-panel) 0 0; }
  .bay .bay-label { border-radius: 0 0 var(--r-panel) var(--r-panel); }
  .bay:nth-child(n) { grid-column: auto; flex-direction: column; }
  .bay:nth-child(9) .bay-photo { flex: none; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .bay:nth-child(9) .bay-label { border-left: 0; border-top: 3px solid var(--gold); padding: 18px 18px 20px; }
  .bay:nth-child(-n+2) .bay-photo { height: auto; aspect-ratio: 16 / 10; }
  .bay-label { grid-template-columns: 1fr; align-items: start; }
  .tag { justify-self: start; }
  .board { border-width: 6px; padding: 24px 18px; }
  .board-grid { grid-template-columns: 1fr; }
  .crop { min-height: 60px; }
  .care-vitrina, .care-copy { grid-column: 1 / -1; }
  .care-vitrina img { aspect-ratio: 16 / 11; }
  .notice { padding: 22px 20px; }
  .notice ul { columns: 1; }
  .brands-head { flex-direction: column; align-items: start; }
  .contact-copy, .contact-slip { grid-column: 1 / -1; }
  .about-head, .about-copy { grid-column: 1 / -1; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-pillars li, .about-pillars li + li { padding: 18px 0 16px; border-left: 0; }
  .about-pillars li + li { border-top: 1px solid var(--rule-on-forest); }
  .footer-grid { grid-template-columns: 1fr; }
  .dock { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: none; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; overscroll-behavior-x: contain; }
  .marquee-set[aria-hidden="true"] { display: none; }
  [data-marquee-toggle] { display: none; }
  .boleta-sheet.is-tearing { animation: fade-out 160ms ease forwards; }
  .boleta-sheet.is-fresh { animation: none; }
  .bay-photo img, .btn, .chip, .tag, .crop-mark, .dock, .main-nav { transition-property: opacity, background-color, border-color, visibility; }
}
@keyframes fade-out { to { opacity: 0; } }

/* ---------- Páginas de cada línea ---------- */
.line-hero { padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.line-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: center; }
.line-hero-copy { grid-column: 1 / span 7; }
.line-hero:not(.has-photo) .line-hero-copy { grid-column: 1 / span 10; }
.line-hero .sign { color: var(--cream); margin-top: 14px; }
.line-lede { margin-top: 18px; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--text-on-forest-soft); }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.line-vitrina { grid-column: 8 / -1; }
.line-vitrina img { aspect-ratio: 4 / 3.4; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; font-weight: 700; color: var(--text-on-forest-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: underline; text-underline-offset: 0.25em; }
.crumbs [aria-current] { color: var(--cream); }

.line-body { background: var(--cream); }
.line-body-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px); }
.catalog-group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px clamp(24px, 3vw, 48px); }
.catalog-group > .sign { grid-column: 1 / span 4; color: var(--forest); }
.catalog-group > :not(.sign) { grid-column: 5 / -1; }
.catalog-text { max-width: 60ch; font-size: 18px; color: var(--text-on-cream-soft); }
.catalog-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px);
  border-top: 2px solid var(--forest);
}
.catalog-list li { padding: 14px 0 13px; border-bottom: 1px solid var(--rule-on-cream); }
.catalog-name { display: block; font-weight: 800; font-size: 18px; line-height: 1.3; }
.catalog-detail { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--text-on-cream-soft); font-variant-numeric: tabular-nums; }
.catalog-note {
  grid-column: 5 / -1; padding: 18px 20px;
  background: #FBF7EF; border: 1.5px solid var(--rule-on-cream); border-top: 3px solid var(--gold); border-radius: var(--r-panel);
  font-weight: 600;
}
.spec-slip { padding: 22px 24px; background: #FBF7EF; border: 1.5px solid var(--rule-on-cream); border-radius: var(--r-slip); }
.spec-title { font-family: var(--font-sign); text-transform: uppercase; font-size: 16px; margin-bottom: 8px; }
.spec-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--rule-on-cream); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { font-size: 14px; font-weight: 800; color: var(--text-on-cream-soft); }
.spec-list dd { font-weight: 600; }

.line-cta-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); align-items: end; }
.line-cta-grid > div:first-child { grid-column: 1 / span 7; }
.line-cta .sign { color: var(--cream); max-width: 16ch; }
.line-cta p { margin-top: 16px; max-width: 48ch; color: var(--text-on-forest-soft); font-size: 18px; }
.line-cta-actions { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.line-cta .contact-phone { margin-top: 0; font-size: clamp(24px, 2.4vw, 32px); }

.other-lines { background: var(--cream-2); padding-block: clamp(48px, 6vw, 80px); }
.other-lines .sign { color: var(--forest); margin-bottom: 22px; }
.other-list { display: flex; flex-wrap: wrap; gap: 10px; }
.other-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px;
  background: var(--forest); color: var(--cream); border-radius: var(--r-pill);
  font-weight: 800; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}
.other-list a:active { transform: scale(0.97); }
.other-list .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .other-list a:hover { background: var(--forest-ink); }
  .other-list a:hover .icon { transform: translateX(3px); }
}

@media (max-width: 900px) {
  .line-hero-copy, .line-hero:not(.has-photo) .line-hero-copy, .line-vitrina { grid-column: 1 / -1; }
  .catalog-group > .sign, .catalog-group > :not(.sign), .catalog-note { grid-column: 1 / -1; }
  .line-cta-grid > div:first-child, .line-cta-actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .catalog-list { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; gap: 2px; }
  .line-vitrina img { aspect-ratio: 16 / 10; }
  .bay-actions { justify-content: flex-start; }
}

/* Preguntas frecuentes (inicio y páginas de línea) */
.faq-section { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(24px, 3vw, 48px); }
.faq-grid > .sign { grid-column: 1 / span 4; color: var(--forest); }
.faq-list { grid-column: 5 / -1; border-top: 2px solid var(--forest); }
.faq-item { border-bottom: 1px solid var(--rule-on-cream); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 18px; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1.5px solid var(--forest); border-radius: var(--r-pill); font-size: 20px; line-height: 1;
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.faq-item p { padding: 0 48px 18px 0; max-width: 62ch; color: var(--text-on-cream-soft); font-size: 17px; }
.line-faq { background: var(--cream); padding-top: 0; }
.drone-copy .text-link { display: inline-block; margin-bottom: 24px; color: var(--cream); }
@media (max-width: 900px) {
  .faq-grid > .sign, .faq-list { grid-column: 1 / -1; }
  .faq-item p { padding-right: 0; }
}

/* Productos con ficha técnica */
.catalog-link { color: var(--forest); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.catalog-ficha { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--forest); color: var(--cream); font-size: 12px; font-weight: 800; text-decoration: none; vertical-align: 2px; }
@media (hover: hover) and (pointer: fine) { .catalog-link:hover { text-decoration-thickness: 2.5px; } }
.sign-product { font-size: clamp(34px, 5vw, 64px); }

/* Política de privacidad */
.legal-text + .legal-text { margin-top: 12px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 0.2em; }

/* Aviso de cookies */
.cookie-bar {
  position: fixed; z-index: 45; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  max-width: min(560px, calc(100vw - 32px)); padding: 14px 16px;
  background: var(--cream); color: var(--forest-ink);
  border: 1.5px solid var(--rule-on-cream); border-top: 3px solid var(--gold); border-radius: var(--r-slip);
  box-shadow: 0 14px 30px -12px rgb(2 22 14 / 0.45);
}
.cookie-bar p { flex: 1 1 260px; font-size: 14px; line-height: 1.45; }
.cookie-bar a { text-decoration: underline; text-underline-offset: 0.2em; font-weight: 700; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-no { background: transparent; border: 1.5px solid var(--forest); color: var(--forest); }
body.has-cookie-bar .dock { visibility: hidden; }
@media (max-width: 760px) { .cookie-bar { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: none; } }
