/* =========================================================
   Quimar — sistema visual "catálogo de distribuidora"
   Reescrito 2026-11-08. Respaldo del CSS anterior en
   Landing_pages/_backups/quimar-2026-11-08-antes-rediseno/
   ========================================================= */

:root {
  /* Marca (logo) */
  --violeta: #6C35A8;
  --violeta-hondo: #4F2386;
  --violeta-tinte: #F1ECF8;
  --azul: #0073CC;
  --verde: #7AB51D;          /* trazo del logo, solo como marcador */
  --whatsapp: #25D366;

  /* Neutros cálidos */
  --tinta: #1B1630;
  --tinta-2: #3A3450;
  --gris-texto: #5E596C;
  --papel: #F5F3EE;
  --papel-2: #EDEAE2;
  --borde: #DEDAD0;
  --blanco: #FFFFFF;
  --dorado-resenas: #E9A800;

  /* Tipografía */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --nav-h: 72px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 150ms;
  --t-base: 200ms;

  /* Alias heredados (los usa HTML/JS existente) */
  --p: var(--violeta);
  --b: var(--azul);
  --ink: var(--tinta);
  --muted: var(--gris-texto);
  --line: var(--borde);
  --soft: var(--papel);
  --marino: var(--tinta);
  --fondo: var(--papel);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  color: var(--tinta);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--gris-texto); line-height: 1.65; }
strong { color: var(--tinta); font-weight: 650; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--tinta);
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p, li, dd, summary { text-wrap: pretty; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.7rem); line-height: 1.04; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.2; font-variation-settings: "wdth" 106; }
h4 { font-size: 0.95rem; line-height: 1.3; }

::selection { background: var(--violeta); color: #fff; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.gray, .bg-soft { background: var(--papel); }

.intro {
  max-width: 52ch;
  margin: 0;
  color: var(--gris-texto);
  font-size: 1.02rem;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.head > div { min-width: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- Botones ---------- */
.btn,
.navbtn,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--violeta);
  border-radius: var(--radius);
  background: var(--violeta);
  color: #fff;
  font-family: var(--f-text);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
}
.btn:active,
.navbtn:active,
.footer-cta:active,
.wa-float:active { transform: scale(0.97); }

.btn.ghost,
.ghost {
  background: transparent;
  border-color: var(--tinta);
  color: var(--tinta);
}

/* WhatsApp: verde solo donde realmente abre WhatsApp */
.btn-wa[href*="wa.me"],
.btn-wa-outline[href*="wa.me"],
.navbtn[href*="wa.me"],
.footer-cta[href*="wa.me"] {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--tinta);
}
.btn-wa[href*="wa.me"]::before,
.btn-wa-outline[href*="wa.me"]::before,
.navbtn[href*="wa.me"]::before,
.footer-cta[href*="wa.me"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("/assets/img/icons/whatsapp.svg") center / contain no-repeat;
  mask: url("/assets/img/icons/whatsapp.svg") center / contain no-repeat;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--violeta-hondo); border-color: var(--violeta-hondo); }
  .btn.ghost:hover, .ghost:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
  .btn-wa[href*="wa.me"]:hover,
  .btn-wa-outline[href*="wa.me"]:hover,
  .navbtn[href*="wa.me"]:hover,
  .footer-cta[href*="wa.me"]:hover {
    background: #1EBE5A;
    border-color: #1EBE5A;
    color: var(--tinta);
  }
}

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.navin {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
}
/* El HTML trae 4 hijos (logo, toggle, nav, cta): el toggle ocupa 0 en desktop */
.navin > .menu-toggle { display: none; }

.logo { display: inline-flex; align-items: center; }
.logo img { display: block; width: 74px; height: 60px; object-fit: contain; }

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--tinta-2);
  font-size: 0.92rem;
  font-weight: 550;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out);
}
.links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--violeta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.links a[aria-current="page"] { color: var(--tinta); font-weight: 700; }
.links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .links a:hover { color: var(--tinta); }
  .links a:hover::after { transform: scaleX(1); }
}

.navbtn { min-height: 42px; padding: 0 16px; font-size: 0.88rem; }

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--tinta);
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.nav[data-open="true"] .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .menu-toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .navin { grid-template-columns: auto 1fr auto auto; gap: 10px; position: relative; }
  .navin > .menu-toggle { display: block; grid-column: 4; grid-row: 1; }
  .navin > div:last-child { grid-column: 3; grid-row: 1; }
  .logo img { width: 62px; height: 52px; }
  .navbtn { min-height: 40px; padding: 0 12px; font-size: 0.82rem; }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: #fff;
    border-bottom: 1px solid var(--borde);
  }
  .nav[data-open="true"] .links {
    display: flex;
    animation: menu-in var(--t-base) var(--ease-out);
  }
  .links a {
    min-height: 52px;
    padding: 0;
    border-bottom: 1px solid var(--borde);
    font-size: 1.05rem;
  }
  .links a:last-child { border-bottom: 0; }
  .links a::after { display: none; }
  .links a[aria-current="page"] { color: var(--violeta); }
}

@media (max-width: 420px) {
  .navbtn { font-size: 0; gap: 0; width: 42px; padding: 0; }
  .navbtn::before { width: 20px !important; height: 20px !important; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
  background: var(--papel);
  border-bottom: 1px solid var(--borde);
}
.heroin {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 {
  max-width: 19ch;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  line-height: 1.02;
}
.hero-copy > p { max-width: 50ch; font-size: clamp(1rem, 1.3vw, 1.12rem); margin: 0; }

.hero-media,
.visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: #fff;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.micro-benefits {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--borde);
}
.micro-benefits li {
  padding: 14px 22px 0 0;
  margin-right: 22px;
  border-right: 1px solid var(--borde);
  color: var(--tinta-2);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.micro-benefits li:last-child { border-right: 0; margin-right: 0; }
.micro-benefits li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  background: var(--verde);
}

/* ---------- Catálogo (home + /productos/) ---------- */
.categorias-section { background: #fff; }
.categorias-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.categorias-head h2 { max-width: 16ch; }
.categorias-head .intro { justify-self: end; }
.catalog-subtitle {
  margin: 0 0 14px;
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-grid,
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--tinta);
  border-left: 1px solid var(--borde);
  counter-reset: cat;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-right: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  counter-increment: cat;
}
.cat-card::before {
  content: counter(cat, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1;
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.75rem;
}

.cat-media {
  height: 220px;
  padding: 36px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms var(--ease-out);
}

.cat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 4px 22px 22px;
}
.cat-body h3 { font-size: 1.2rem; }
.cat-body p { margin: 0; font-size: 0.92rem; line-height: 1.5; }

.cat-actions { margin-top: auto; padding-top: 10px; }
.cat-body > .cat-btn { margin-top: auto; }

/* Enlace de tarjeta: texto con flecha + toda la tarjeta clickeable */
.btn.cat-btn {
  justify-content: flex-start;
  align-self: flex-start;
  min-height: 40px;
  padding: 0;
  margin-top: 10px;
  border: 0;
  background: none;
  color: var(--violeta);
  font-size: 0.92rem;
  font-weight: 650;
}
.btn.cat-btn::after {
  content: "→";
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}
.btn.cat-btn:active { transform: none; }
.cat-card .cat-btn-products::before,
.cat-card > .cat-body > .cat-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--tinta);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .cat-card { transition: background-color var(--t-base) var(--ease-out); }
  .cat-card:hover { background: var(--papel); }
  .cat-card:hover .cat-media img { transform: scale(1.03); }
  .cat-card:hover .btn.cat-btn { background: none; color: var(--violeta-hondo); }
  .cat-card:hover .btn.cat-btn::after { transform: translateX(4px); }
}

/* ---------- Quiénes somos (home) ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--papel-2);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about h2 { max-width: 20ch; margin-bottom: 16px; font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.about-lead { max-width: 52ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--tinta);
}
.stat {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--borde);
}
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--borde); }
.stat b {
  display: block;
  color: var(--tinta);
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.stat span {
  display: block;
  margin-top: 4px;
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* ---------- Logística (home) ---------- */
.logistics-section { background: var(--papel); }
.logistics-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.logistics-intro h2 { max-width: 16ch; }
.logistics-intro p { max-width: 46ch; margin: 0; justify-self: end; }
.logistics-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--tinta);
  border-bottom: 1px solid var(--borde);
}
.logistics-routes article { padding: 28px 32px 32px 0; }
.logistics-routes article + article { padding-left: 32px; border-left: 1px solid var(--borde); }
.logistics-routes h3 { margin-bottom: 10px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.logistics-routes p { max-width: 44ch; margin-bottom: 18px; }
.logistics-routes a,
.boxinfo a,
.rv-card a,
.pd a,
.product-availability-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--violeta);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .logistics-routes a:hover,
  .boxinfo a:hover,
  .rv-card a:hover,
  .pd a:hover,
  .product-availability-list a:hover { color: var(--violeta-hondo); text-decoration-thickness: 2px; }
}

/* ---------- Reseñas ---------- */
.rv { background: #fff; border-top: 1px solid var(--borde); }
.rv-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 32px 56px;
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.rv-top h2 { max-width: 15ch; margin-bottom: 16px; }
.rv-top .intro { font-size: 0.92rem; }

.rv-summary {
  padding: 24px;
  border: 1px solid var(--tinta);
  border-radius: var(--radius);
  background: #fff;
}
.rv-google {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--tinta-2);
  font-family: var(--f-mono);
  font-size: 0.78rem;
}
.rv-score { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rv-score b {
  color: var(--tinta);
  font-family: var(--f-display);
  font-size: 3.4rem;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.rv-score small { display: block; margin-top: 4px; color: var(--gris-texto); font-family: var(--f-mono); font-size: 0.76rem; }
.rv-stars { color: var(--dorado-resenas); font-size: 1.05rem; letter-spacing: 2px; }

.rv-dist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rv-dist li {
  display: grid;
  grid-template-columns: 26px 1fr 26px;
  align-items: center;
  gap: 10px;
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.74rem;
}
.rv-dist li > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rv-dist i { display: block; height: 6px; overflow: hidden; background: var(--papel-2); }
.rv-dist em { display: block; height: 100%; background: var(--dorado-resenas); transition: width 700ms var(--ease-out); }
.rv-summary p,
.rv-summary-note { margin: 16px 0 !important; font-size: 0.8rem; color: var(--gris-texto); }
.rv-summary .btn { width: 100%; }

.rv-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.rv-list { display: flex; width: max-content; padding: 2px 0 8px; }
.rv-list.is-moving { animation: reviews-scroll 60s linear infinite; }
.rv-list.is-paused { animation-play-state: paused; }
.rv-group { display: flex; flex: none; gap: 16px; padding-right: 16px; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rv-card {
  display: flex;
  flex: 0 0 min(340px, 82vw);
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 18px;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--papel);
}
.rv-card::before {
  content: "★★★★★";
  color: var(--dorado-resenas);
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.rv-card p { flex: 1; margin: 0; color: var(--tinta); font-size: 0.95rem; line-height: 1.6; }
.rv-card a { font-size: 0.82rem; }
.rv-who { order: 2; padding-top: 12px; border-top: 1px solid var(--borde); }
.rv-card a { order: 3; }
.rv-who b { display: block; color: var(--tinta); font-size: 0.9rem; }
.rv-who small { color: var(--gris-texto); font-family: var(--f-mono); font-size: 0.72rem; }
.rv-cta { margin-top: 24px; text-align: center; }

/* ---------- Marcas ---------- */
#marcas { padding-block: clamp(48px, 6vw, 72px); }
#marcas .head { margin-bottom: 28px; }
.logo-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.logo-track { display: flex; width: max-content; align-items: center; animation: logos-scroll 48s linear infinite; }
.logo-group { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; }
.logo-item {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 54px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  opacity: 0.75;
  transition: filter var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
}
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
  .logo-marquee:hover .logo-track { animation-play-state: paused; }
  .logo-item:hover { filter: none; opacity: 1; }
}

/* ---------- Más pedidos (home) ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: #fff;
}
.prod-media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid var(--borde); }
.prod-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.pd { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 14px; }
.pd b {
  color: var(--tinta);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 800;
  font-variation-settings: "wdth" 108;
}
.pd span { display: block; margin-top: 2px; color: var(--gris-texto); font-size: 0.86rem; }
.pd a { margin-top: auto; padding-top: 10px; font-size: 0.88rem; text-decoration: none; }
.pd a::after { content: "→"; transition: transform var(--t-base) var(--ease-out); }
.pd a::before { content: ""; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) {
  .prod:hover .prod-media img { transform: scale(1.03); }
  .prod:hover .pd a::after { transform: translateX(4px); }
}

/* ---------- Contacto (bloque oscuro) ---------- */
.contact {
  padding: clamp(56px, 8vw, 104px) 0;
  background: var(--tinta);
  color: #fff;
}
.contact h1,
.contact h2,
.contact h3 { color: #fff; }
.contact p { color: rgba(255, 255, 255, 0.72); }
.contactin {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 32px 72px;
  align-items: center;
}
.contactin > div > h2 { max-width: 14ch; margin-bottom: 16px; }
.contactin > div > p { max-width: 44ch; margin-bottom: 28px; }

.boxinfo {
  padding: 24px;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: #fff;
}
.boxinfo h2,
.boxinfo h3 { margin: 0 0 10px; }
.boxinfo p:last-child { margin-bottom: 0; }

.contact .boxinfo {
  padding: 4px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: none;
  color: #fff;
}
.row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.98rem;
  line-height: 1.5;
}
.row small {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}

/* Página /contacto/ */
.contact-card { min-width: 0; }
.contact-card-main h1 { max-width: 14ch; margin-bottom: 18px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.contact-card-main p { max-width: 46ch; }
.contact-card-main .btn { margin-top: 12px; }
.contact-card-secondary {
  align-self: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}
.contact-card-secondary h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.contact-location {
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-family: var(--f-mono);
  font-size: 0.85rem;
}
.btn.contact-google-btn { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn.contact-google-btn:hover { background: #fff; border-color: #fff; color: var(--tinta); }
}

/* La home muestra las 8 categorías en dos filas de 4 */
@media (min-width: 981px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Mayorista / Productos / Distribución / Envíos ---------- */
.mayorista-hero,
.productos-hero {
  background: var(--papel);
  border-bottom: 1px solid var(--borde);
}
.mayorista-hero h1,
.productos-hero h1 { max-width: 17ch; margin-bottom: 20px; }

/* Páginas simples (distribución, envíos): primera sección con aire de portada */
main > .section:first-child:not(.hero):not(.contact):not(.category-hero-rich) h1 { max-width: 18ch; margin-bottom: 20px; }

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--borde);
}
.kpis li {
  padding: 14px 22px 0 0;
  margin-right: 22px;
  border-right: 1px solid var(--borde);
  color: var(--tinta-2);
  font-family: var(--f-mono);
  font-size: 0.78rem;
}
.kpis li:last-child { border-right: 0; }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 32px;
  margin-top: 28px;
  border-top: 1px solid var(--tinta);
}
.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 4px 0 0;
  border-bottom: 1px solid var(--borde);
  color: var(--tinta);
  font-weight: 600;
  transition: color var(--t-fast) var(--ease-out);
}
.pill::after { content: "→"; flex: none; margin-left: 12px; color: var(--violeta); transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { color: var(--violeta); }
  .pill:hover::after { transform: translateX(4px); }
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.section > .wrap > h2 + .cards-2,
.section > .wrap > h2 + .steps,
.section > .wrap > h2 + .pill-grid { margin-top: 32px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--tinta);
  counter-reset: step;
}
.step { padding: 20px 24px 8px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--borde); }
.step b {
  display: block;
  color: var(--violeta);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
}
.step p { margin: 10px 0 0; color: var(--tinta-2); }

.note {
  padding: 16px 18px;
  border-left: 3px solid var(--violeta);
  background: var(--violeta-tinte);
}
.note p { margin: 0; color: var(--tinta-2); }

.cta-band { background: var(--papel); border-top: 1px solid var(--borde); }
.cta-band-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin: 10px 0 0; }

/* ---------- Landings de categoría ---------- */
.category-landing-rich { color: var(--tinta); }
.category-landing-rich .section { padding: clamp(52px, 7vw, 96px) 0; }
.category-landing-rich .head { margin-bottom: clamp(24px, 3vw, 36px); }

.breadcrumb,
.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0 0 clamp(24px, 4vw, 40px);
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.75rem;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--borde); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--tinta); }
@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { color: var(--violeta); text-decoration-color: currentColor; }
}

.category-hero-rich {
  background: var(--papel);
  border-bottom: 1px solid var(--borde);
  padding-top: clamp(24px, 4vw, 40px) !important;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero-grid-text-only { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.category-landing-rich h1 { max-width: 13ch; margin-bottom: 20px; }
.hero-intro { max-width: 50ch; margin: 0 0 28px; font-size: clamp(1rem, 1.3vw, 1.12rem); }

.category-rich-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: #fff;
}
.category-rich-media img { display: block; width: 100%; height: 100%; object-fit: scale-down; }

/* Grilla editorial de subcategorías */
.category-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--tinta);
  border-left: 1px solid var(--borde);
}
.cat-item {
  margin: 0;
  background: #fff;
  border-right: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}
.cat-item a { display: flex; flex-direction: column; height: 100%; padding: 16px 18px 20px; color: inherit; }
.cat-item figure {
  margin: 0 0 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: #fff;
}
.cat-item img { display: block; width: 100%; height: 100%; object-fit: scale-down; transition: transform 320ms var(--ease-out); }
.cat-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.cat-item p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.cat-item a[href*="wa.me"] h3::after {
  content: " →";
  color: var(--violeta);
}
@media (hover: hover) and (pointer: fine) {
  .cat-item { transition: background-color var(--t-base) var(--ease-out); }
  .cat-item:hover { background: var(--papel); }
  .cat-item:hover img { transform: scale(1.03); }
  .cat-item:hover h3 { color: var(--violeta); }
}

/* Ficha de compra por categoría: datos reales como una ficha de catálogo */
.ficha {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.ficha-head h2 { max-width: 16ch; margin-bottom: 14px; }
.ficha-head p { max-width: 40ch; margin: 0 0 24px; color: var(--gris-texto); }
.ficha-datos { margin: 0; border-top: 1px solid var(--tinta); }
.ficha-datos > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 6px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--borde);
}
.ficha-datos dt {
  padding-top: 3px;
  color: var(--tinta-2);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ficha-datos dd { margin: 0; color: var(--tinta); line-height: 1.55; }
.ficha-datos a { color: var(--violeta); text-underline-offset: 3px; }


/* FAQ */
.faq-list { border-top: 1px solid var(--tinta); }
.faq-item { border-bottom: 1px solid var(--borde); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  color: var(--tinta);
  font-size: 1.02rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--borde);
  border-radius: 2px;
  color: var(--violeta);
  font-family: var(--f-mono);
  font-size: 1rem;
  transition: transform var(--t-base) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 72ch; margin: 0; padding: 0 48px 20px 0; }

/* Relacionados */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tinta);
}
.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--borde);
  color: var(--tinta);
  font-weight: 600;
  transition: color var(--t-fast) var(--ease-out);
}
.related-grid a::after { content: "→"; color: var(--violeta); transition: transform var(--t-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .related-grid a:hover { color: var(--violeta); }
  .related-grid a:hover::after { transform: translateX(4px); }
}

/* Tabla de presentaciones y disponibilidad (piscinas) */
.product-table-wrap { overflow-x: auto; border-top: 1px solid var(--tinta); }
.product-presentation-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.product-presentation-table th,
.product-presentation-table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--borde);
  text-align: left;
  vertical-align: top;
}
.product-presentation-table thead th {
  color: var(--gris-texto);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-presentation-table tbody th {
  color: var(--tinta);
  font-weight: 600;
}
.product-presentation-table td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.product-presentation-table td a {
  color: var(--violeta);
  font-weight: 600;
  text-decoration: none;
}
.product-presentation-table td a::after { content: " →"; }
@media (hover: hover) and (pointer: fine) {
  .product-presentation-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.table-note { margin: 14px 0 0; color: var(--gris-texto); font-size: 0.92rem; }

/* Foto de producto chica: se muestra a tamaño real, sin estirarla */
.category-rich-media.is-product { display: grid; place-items: center; }
.category-rich-media.is-product img { width: auto; height: auto; max-width: 100%; max-height: 100%; }

.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;
}
.product-availability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tinta);
}
.product-availability-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--borde);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: clamp(48px, 6vw, 72px) 0 24px;
  background: var(--tinta);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr;
  gap: 40px;
}
.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-brand h2 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: -0.01em;
  text-transform: none;
}
.footer-text { margin: 0; color: rgba(255, 255, 255, 0.68); }
.footer-text strong { color: #fff; font-weight: 600; }
.footer-cta { margin-top: 20px; min-height: 44px; font-size: 0.88rem; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer address { font-style: normal; }
.site-footer address strong { display: block; color: rgba(255, 255, 255, 0.5); font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer a { transition: color var(--t-fast) var(--ease-out); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--f-mono);
  font-size: 0.8rem;
}
.footer-bottom small { font-size: inherit; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: #fff; }
  .footer-social a:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 6px 20px rgba(27, 22, 48, 0.22);
  transition: transform var(--t-fast) var(--ease-out);
}
.wa-float img { width: 28px; height: 28px; }
.wa-float { transition: transform var(--t-fast) var(--ease-out), opacity 200ms var(--ease-out); }
.wa-float.is-hidden { opacity: 0; transform: translateY(8px) scale(0.92); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.05); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .heroin,
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .catalog-grid,
  .cats-grid,
  .category-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .rv-top { grid-template-columns: 1fr; }
  .contactin { grid-template-columns: 1fr; }
  .ficha { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--borde); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .categorias-head,
  .logistics-intro { grid-template-columns: 1fr; }
  .categorias-head .intro,
  .logistics-intro p { justify-self: start; }
  .catalog-grid,
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card { flex-direction: row; align-items: stretch; }
  .cat-media { flex: 0 0 120px; height: auto; min-height: 120px; padding: 30px 10px 10px; }
  .cat-body { padding: 16px 16px 12px 4px; }
  .cat-body h3 { font-size: 1.08rem; }
  .cat-body p { font-size: 0.86rem; }
  .micro-benefits { grid-template-columns: 1fr; }
  .micro-benefits li { padding: 10px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--borde); }
  .kpis { flex-direction: column; }
  .kpis li { padding: 10px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--borde); }
  .logistics-routes { grid-template-columns: 1fr; }
  .logistics-routes article,
  .logistics-routes article + article { padding: 24px 0; border-left: 0; }
  .logistics-routes article + article { border-top: 1px solid var(--borde); }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .category-editorial { grid-template-columns: 1fr 1fr; }
  .cat-item a { padding: 12px 12px 16px; }
  .cat-item h3 { font-size: 0.98rem; }
  .cat-item p { font-size: 0.82rem; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .ficha-datos > div { grid-template-columns: 1fr; padding: 14px 0; }
  .product-availability-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .product-table-wrap { overflow: visible; }
  .product-presentation-table { min-width: 0; }
  .product-presentation-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .product-presentation-table tr { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--borde); }
  .product-presentation-table tbody th,
  .product-presentation-table td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .product-presentation-table td:last-child { margin-top: 6px; text-align: left; }
  .rv-card { flex-basis: 82vw; }
  .logo-group { gap: 36px; padding-right: 36px; }
  .logo-item { height: 44px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .btn-wa,
  .hero .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd { padding: 12px; }
  .pd b { font-size: 1rem; }
  .pd span { font-size: 0.8rem; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--borde); }
  .footer-grid { grid-template-columns: 1fr; }
  .rv-score b { font-size: 2.8rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-list { animation: none; }
  .rv-group[aria-hidden="true"] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { width: 100%; animation: none; }
  .logo-group { flex-wrap: wrap; justify-content: center; gap: 24px 40px; padding-right: 0; width: 100%; }
  .logo-group[aria-hidden="true"] { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Distribución: días de reparto ---------- */
.reparto-kicker {
  margin: 0 0 14px;
  color: var(--violeta);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reparto-dias {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 2px solid var(--tinta);
}
.reparto-dias li {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 8px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--borde);
}
.reparto-dia {
  color: var(--violeta);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reparto-zonas {
  color: var(--tinta);
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 650;
  line-height: 1.3;
}
.reparto-nota {
  margin: 22px 0 0;
  padding: 16px 18px;
  background: var(--violeta-tinte);
  border-left: 3px solid var(--violeta);
  border-radius: var(--radius);
  color: var(--tinta-2);
}
@media (max-width: 560px) {
  .reparto-dias li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ---------- 404 ---------- */
.error-404 h1 { max-width: 14ch; margin-bottom: 20px; }
.error-404 .pill-grid { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Tienda online ---------- */
.tienda-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 32px; padding: 20px 0; border-bottom: 1px solid var(--borde); }
.tienda-band p { margin: 0; max-width: 60ch; }

/* ---------- Mapa de contacto ---------- */
.contact-map {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--papel-2);
  aspect-ratio: 16 / 7;
}
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
  .contact-map { aspect-ratio: 4 / 3; }
}
.stats.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.stats-3 .stat:nth-child(n+2) { padding-left: 16px; border-left: 1px solid var(--borde); }
@media (max-width: 700px) {
  .stats.stats-3 { grid-template-columns: 1fr; }
  .stats-3 .stat:nth-child(n) { padding-left: 0; border-left: 0; }
}
