/* ==========================================================================
   Ferretería La Llave — hoja de estilos
   Tokens → base → componentes → secciones → cesta → utilidades → responsive
   ========================================================================== */

:root {
  --azul: #10233f;
  --azul-2: #182f52;
  --azul-3: #22406b;
  --amarillo: #f5b81c;
  --amarillo-2: #ffd257;
  --gris: #f2f3f5;
  --gris-2: #e4e6ea;
  --blanco: #ffffff;
  --rojo: #d7412a;
  --verde: #2d9d5c;
  --wa: #25d366;

  --ink: #14181f;
  --ink-2: rgba(20, 24, 31, .72);
  --ink-3: rgba(20, 24, 31, .5);
  --line: rgba(20, 24, 31, .12);
  --surface: rgba(20, 24, 31, .04);
  --panel: var(--blanco);

  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --topbar-h: 38px;
  --nav-h: 76px;
  --radius: 6px;
  --radius-lg: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

.section--dark {
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .74);
  --ink-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .14);
  --surface: rgba(255, 255, 255, .06);
  --panel: var(--azul-2);
  background: var(--azul);
  color: var(--ink);
}
.section--gris { background: var(--gris); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--blanco); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
mark { background: none; color: inherit; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--azul); color: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }

/* Tipografía */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-3); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--amarillo); }
.section--dark .eyebrow { color: var(--amarillo); }
.h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.link { display: inline-block; font-weight: 700; color: var(--azul-3); border-bottom: 2px solid var(--amarillo); transition: color .3s, border-color .3s; }
.link:hover { color: var(--azul); border-color: var(--azul); }
.section--dark .link { color: #fff; }
.section--dark .link:hover { color: var(--amarillo); border-color: var(--amarillo); }

.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section__head--split .lead { margin: 0; justify-self: end; }
.section__head--split .nota { justify-self: end; margin: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amarillo); color: var(--azul); box-shadow: 0 8px 22px -10px rgba(245, 184, 28, .8); }
.btn--primary:hover { background: var(--amarillo-2); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: var(--surface); }
.btn--wa { background: #fff; color: #1a7f44; border-color: rgba(37, 211, 102, .6); }
.btn--wa:hover { background: #ecfbf1; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Barra superior y navegación
   -------------------------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--amarillo); z-index: 1200; }

.topbar { background: var(--azul); color: rgba(255, 255, 255, .85); font-size: .82rem; height: var(--topbar-h); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.topbar__txt strong { color: var(--amarillo); font-weight: 700; }
.topbar__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.topbar__tel svg { width: 14px; height: 14px; fill: none; stroke: var(--amarillo); stroke-width: 2; }

.estado { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.estado i { width: 9px; height: 9px; border-radius: 50%; background: #9aa; }
.estado.is-open i { background: #4ade80; animation: pulse 2s infinite; }
.estado.is-closed i { background: #f87171; }
.estado--sm { margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .72rem; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.nav { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.nav.is-scrolled { box-shadow: 0 10px 30px -20px rgba(16, 35, 63, .4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.logo__txt small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { position: relative; font-weight: 600; font-size: .98rem; padding: 6px 0; color: var(--ink-2); transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.btn--cesta { position: relative; padding: 12px 18px; }
.cesta__num { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--rojo); color: #fff; font-family: var(--font-body); font-size: .74rem; font-weight: 700; }
.cesta__num.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; }
.burger span { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 2px; background: var(--azul); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 29px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 900; background: var(--azul); color: #fff; display: grid; align-content: center; gap: 40px; padding: 100px var(--gutter) 40px; transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; }
.menu.is-open { transform: none; visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-family: var(--font-display); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 800; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__foot { display: flex; flex-direction: column; gap: 12px; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.menu__foot .btn { justify-content: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background: var(--gris); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(245, 184, 28, .18), transparent 55%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__eyebrow { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-3); margin-bottom: 18px; }
.hero__title { font-family: var(--font-display); font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; color: var(--azul); }
.hero__title mark { position: relative; display: inline-block; padding: 0 .12em; }
.hero__title mark::before { content: ""; position: absolute; inset: 8% -2% 6%; background: var(--amarillo); z-index: -1; transform: skew(-6deg); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 52ch; margin: 22px 0 28px; }

.buscador { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; background: var(--blanco); border: 2px solid var(--gris-2); border-radius: var(--radius-lg); box-shadow: 0 20px 40px -30px rgba(16, 35, 63, .5); transition: border-color .3s, box-shadow .3s; }
.buscador:focus-within { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(245, 184, 28, .3); }
.buscador svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.buscador input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 10px 0; color: var(--ink); }
.buscador input:focus { outline: 0; }
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador .btn { padding: 13px 20px; }
.buscador__limpiar { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface); font-size: 1.2rem; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .88rem; color: var(--ink-3); }
.chips button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanco); font-size: .86rem; font-weight: 600; transition: background .25s, border-color .25s, color .25s; }
.chips button:hover { background: var(--azul); border-color: var(--azul); color: #fff; }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 40px 70px -40px rgba(16, 35, 63, .7); }
.hero__stats { position: absolute; left: -24px; bottom: 28px; display: flex; gap: 0; background: var(--azul); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.hero__stats li { display: flex; flex-direction: column; padding: 16px 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hero__stats li:last-child { border-right: 0; }
.hero__stats strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--amarillo); }
.hero__stats span:last-child { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.cinta-peligro { position: absolute; top: -14px; right: -14px; width: 120px; height: 28px; transform: rotate(8deg); background: repeating-linear-gradient(135deg, var(--amarillo) 0 14px, var(--azul) 14px 28px); border-radius: 3px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4); }

/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */
.servicios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.servicio { position: relative; padding: 28px 26px 24px; background: var(--blanco); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 4px solid var(--amarillo); transition: transform .3s var(--ease), box-shadow .3s; }
.servicio:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(16, 35, 63, .4); }
.servicio svg { width: 36px; height: 36px; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.servicio h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.servicio p { font-size: .95rem; color: var(--ink-2); margin-bottom: 14px; }
.servicio__precio { display: inline-block; padding: 5px 10px; border-radius: 4px; background: var(--gris); font-size: .8rem; font-weight: 700; color: var(--azul-3); }

/* --------------------------------------------------------------------------
   Catálogo
   -------------------------------------------------------------------------- */
.filtros { display: grid; gap: 16px; margin-bottom: 20px; }
.buscador--cat { max-width: 560px; background: var(--azul-2); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.buscador--cat:focus-within { border-color: var(--amarillo); box-shadow: none; }
.buscador--cat input { color: #fff; }
.buscador--cat input::placeholder { color: rgba(255, 255, 255, .5); }
.buscador--cat svg { stroke: rgba(255, 255, 255, .6); }
.buscador--cat .buscador__limpiar { background: rgba(255, 255, 255, .12); color: #fff; }
.secciones { display: flex; flex-wrap: wrap; gap: 8px; }
.seccion-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.seccion-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.seccion-btn.is-active { background: var(--amarillo); border-color: var(--amarillo); color: var(--azul); }
.catalogo__resultado { font-size: .86rem; color: var(--ink-3); margin: 0 0 16px; min-height: 1.3em; }

.productos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.producto { display: flex; flex-direction: column; background: var(--azul-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 18px 16px; transition: transform .3s var(--ease), border-color .3s; animation: fadeUp .5s var(--ease) both; }
.producto:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .3); }
.producto__cat { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 8px; }
.producto h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; line-height: 1.25; margin-bottom: 4px; }
.producto p { font-size: .86rem; color: var(--ink-2); margin: 0 0 14px; flex: 1; }
.producto__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.producto__precio { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; }
.producto__precio small { font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.stock--pedido::before { background: var(--amarillo); }
.btn--reservar { padding: 10px 14px; font-size: .92rem; background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--reservar:hover { background: var(--amarillo); border-color: var(--amarillo); color: var(--azul); }
.btn--reservar.is-added { background: var(--verde); border-color: var(--verde); color: #fff; }
.catalogo__vacio { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); margin-top: 8px; }
.catalogo__vacio h3 { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; margin-bottom: 8px; }
.catalogo__vacio p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 20px; }
.catalogo__vacio-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.catalogo__vacio-cta .btn--ghost { color: #fff; }
.catalogo__nota, .catalogo__nojs { margin: 32px 0 0; font-size: .86rem; color: var(--ink-3); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   La tienda
   -------------------------------------------------------------------------- */
.tienda__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.tienda__media { position: relative; height: clamp(420px, 46vw, 600px); }
.tienda__foto { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 40px 70px -40px rgba(16, 35, 63, .5); }
.tienda__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tienda__foto:hover img { transform: scale(1.05); }
.tienda__foto--a { left: 0; top: 0; width: 64%; height: 82%; }
.tienda__foto--b { right: 0; bottom: 0; width: 50%; height: 44%; border: 6px solid var(--blanco); }
.tienda__anio { position: absolute; right: 6%; top: 6%; width: 110px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--amarillo); color: var(--azul); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .5); transform: rotate(-8deg); }
.tienda__anio b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.tienda__anio small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; order: -1; }
.tienda__text p:not(.eyebrow) { color: var(--ink-2); }
.tienda__text .lead { color: var(--ink); }
.tienda__lista { display: grid; gap: 10px; margin: 20px 0 28px; }
.tienda__lista li { position: relative; padding-left: 28px; font-size: .96rem; color: var(--ink-2); }
.tienda__lista li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; background: var(--amarillo); color: var(--azul); font-size: .75rem; font-weight: 800; }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.cifra strong { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--azul); margin-bottom: 4px; }
.cifra strong small { font-size: 1.1rem; color: var(--ink-3); }
.cifra span { font-size: .84rem; color: var(--ink-3); }

.marcas { display: flex; align-items: center; gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.marcas ul { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Preguntas (acordeón)
   -------------------------------------------------------------------------- */
.preguntas__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.preguntas__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.preguntas__head .btn { margin-top: 8px; }
.acordeon details { background: var(--blanco); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden; }
.acordeon summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background .25s; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gris); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--azul); transition: transform .3s var(--ease), background .25s; }
.acordeon details[open] summary::after { transform: rotate(45deg); background: var(--amarillo); }
.acordeon summary:hover { background: var(--surface); }
.acordeon details > div { padding: 0 22px 20px; }
.acordeon details > div p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* --------------------------------------------------------------------------
   Opiniones
   -------------------------------------------------------------------------- */
.nota { display: flex; align-items: center; gap: 14px; }
.nota strong { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--azul); }
.nota div { display: flex; flex-direction: column; gap: 2px; font-size: .86rem; color: var(--ink-2); }
.nota a { text-decoration: underline; text-underline-offset: 3px; }
.estrellas { color: var(--amarillo); letter-spacing: .08em; font-size: 1.05rem; }
.opiniones__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opinion { margin: 0; padding: 28px 26px; background: var(--gris); border-radius: var(--radius-lg); border-left: 4px solid var(--amarillo); }
.opinion p { font-size: 1.05rem; line-height: 1.5; margin-bottom: 18px; }
.opinion footer { display: flex; flex-direction: column; font-size: .86rem; }
.opinion footer span { color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Visítanos
   -------------------------------------------------------------------------- */
.visitanos__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.datos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.dato h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 8px; }
.dato p { color: var(--ink-2); margin-bottom: 8px; }
.dato p a:hover { color: var(--amarillo); }
.dato--horario { grid-column: 1 / -1; }
.horario { width: 100%; border-collapse: collapse; font-size: .95rem; }
.horario th, .horario td { padding: 8px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.horario td { text-align: right; color: var(--ink-2); white-space: nowrap; }
.horario tr.is-today th, .horario tr.is-today td { font-weight: 700; color: var(--amarillo); }
.visitanos__mapa { display: grid; gap: 14px; }
.visitanos__mapa iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg); filter: saturate(.8); }
.reparto { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--azul-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.reparto svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--amarillo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reparto div { display: flex; flex-direction: column; gap: 4px; }
.reparto strong { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; }
.reparto span { font-size: .9rem; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: #0b1a30; color: #fff; padding: clamp(48px, 6vw, 80px) 0 28px; border-top: 6px solid var(--amarillo); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand p { margin: 16px 0 18px; max-width: 36ch; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer__social { display: flex; gap: 18px; font-size: .86rem; font-weight: 700; }
.footer__social a { border-bottom: 2px solid transparent; transition: border-color .3s; }
.footer__social a:hover { border-bottom-color: var(--amarillo); }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.footer__col h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amarillo); margin-bottom: 6px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 22px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover, .footer__credit a:hover { color: #fff; }
.footer__credit { margin-left: auto; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.totop { width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; transition: background .3s; }
.totop:hover { background: rgba(255, 255, 255, .1); }

/* --------------------------------------------------------------------------
   Cesta "pide y recoge"
   -------------------------------------------------------------------------- */
.cesta-fondo { position: fixed; inset: 0; z-index: 1300; background: rgba(11, 26, 48, .6); backdrop-filter: blur(2px); animation: fade .3s; }
.cesta-fondo[hidden] { display: none; }
.cesta { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1400; width: min(100%, 440px); background: var(--blanco); color: var(--ink); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden; }
.cesta.is-open { transform: none; visibility: visible; }
.cesta__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.cesta__head .eyebrow { margin-bottom: 4px; }
.cesta__head h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; text-transform: uppercase; }
.cesta__cerrar { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gris); font-size: 1.5rem; line-height: 1; }
.cesta__body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
.cesta__vacia { color: var(--ink-2); font-size: .95rem; }
.cesta__lista { display: grid; gap: 10px; margin-bottom: 20px; }
.cesta__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; background: var(--gris); border-radius: var(--radius); font-size: .92rem; }
.cesta__item strong { font-weight: 700; }
.cesta__item small { color: var(--ink-3); }
.cesta__item .cant { display: inline-flex; align-items: center; gap: 4px; grid-row: 1 / 3; align-self: center; }
.cant button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-weight: 700; line-height: 1; }
.cant span { min-width: 22px; text-align: center; font-weight: 700; }
.cesta__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; margin-bottom: 14px; border-top: 2px solid var(--azul); border-bottom: 1px solid var(--line); }
.cesta__total span { font-size: .86rem; color: var(--ink-2); }
.cesta__total strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--azul); }
.cesta__form { display: grid; gap: 12px; }
.input { display: flex; flex-direction: column; gap: 5px; }
.input > span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.input input, .input textarea { width: 100%; padding: 12px 13px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; transition: border-color .25s, box-shadow .25s; }
.input input:focus, .input textarea:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(245, 184, 28, .35); }
.input.is-invalid input { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(215, 65, 42, .15); }
.input textarea { resize: vertical; }
.cesta__cuando legend { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.cesta__cuando { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill:has(input:checked) { background: var(--azul); border-color: var(--azul); color: #fff; }
.pill:has(input:focus-visible) { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.cesta__nota { font-size: .8rem; color: var(--ink-3); margin: 4px 0 0; }
.cesta__ok { text-align: center; padding: 20px 0; }
.cesta__ok svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--verde); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px; }
.cesta__ok h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.cesta__ok p { color: var(--ink-2); }
.cesta__ok .btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   CTA móvil, toast, reveals
   -------------------------------------------------------------------------- */
.mobile-cta { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800; padding: 16px; border-radius: var(--radius); background: var(--azul); color: #fff; text-align: center; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); transform: translateY(120%); transition: transform .5s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 1600; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; max-width: min(92vw, 480px); border-radius: var(--radius); background: var(--azul); color: #fff; font-size: .92rem; text-align: center; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); transition: transform .5s var(--ease), opacity .4s; pointer-events: none; border-left: 4px solid var(--amarillo); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"] { transition-delay: .1s; }
html.js [data-reveal][data-delay="2"] { transition-delay: .2s; }
html.js [data-reveal][data-delay="3"] { transition-delay: .3s; }
html.js [data-reveal][data-delay="4"] { transition-delay: .4s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .productos { grid-template-columns: repeat(3, 1fr); }
  .servicios__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .topbar__txt { display: none; }
  .nav__links { display: none; }
  .btn--cesta span { display: none; }
  .btn--cesta { padding: 12px; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__stats { position: static; margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .cinta-peligro { top: -10px; right: 8px; }
  .section__head--split { grid-template-columns: 1fr; gap: 12px; }
  .section__head--split .lead, .section__head--split .nota { justify-self: start; }
  .productos { grid-template-columns: repeat(2, 1fr); }
  .tienda__grid, .preguntas__grid, .visitanos__grid { grid-template-columns: 1fr; }
  .tienda__media { height: 400px; }
  .preguntas__head { position: static; }
  .opiniones__grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .footer { padding-bottom: 90px; }
}

@media (max-width: 600px) {
  .buscador { flex-wrap: wrap; padding: 10px; }
  .buscador svg { display: none; }
  .buscador input { flex: 1 1 100%; padding: 8px 6px; }
  .buscador .btn { flex: 1 1 100%; }
  .buscador--cat { flex-wrap: nowrap; }
  .servicios__grid { grid-template-columns: 1fr; }
  .productos { grid-template-columns: 1fr; }
  .cifras { grid-template-columns: 1fr 1fr; }
  .datos { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__credit { margin-left: 0; }
  .marcas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tienda__anio { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
