/* Fuentes Barlow alojadas en el sitio (licencia OFL) */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/barlow-condensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/barlow-condensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/barlow-condensed-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Ferrearca — sistema visual
   Lenguaje tomado del logo: franja roja, franja negra, el pez blanco y rotulación condensada. */
:root {
  --ink: #141414;
  --ink-2: #1e1e1e;
  --ink-3: #2c2c2c;
  --bar: #3a3a3a;
  --paper: #f3f1ec;
  --paper-2: #e7e3da;
  --white: #ffffff;
  --muted: #66635d;
  --muted-dark: #a7a49d;
  --line: rgba(20, 20, 20, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #d7261e;
  --accent-ink: #a81c15;
  --accent-soft: #fbe4e1;
  --ok: #1f8a5b;
  --ok-soft: #e1f3ea;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(20, 20, 20, .06), 0 14px 30px -18px rgba(20, 20, 20, .35);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .6);
  --wrap: 1240px;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -0.005em; margin: 0 0 .45em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.05; letter-spacing: .005em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 700 .9rem/1 var(--display);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--accent); }
.section.dark .eyebrow, .site-footer .eyebrow { color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Botones: rectangulares, rotulados */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--radius);
  font: 700 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap; border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 6px 0 var(--accent-ink); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn-ghost { border-color: currentColor; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.link-arrow svg { width: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Topbar + header */
.topbar { background: #000; color: var(--muted-dark); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a[href^="tel:"] { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a[href^="tel:"]::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat; }
.open-now, [data-open-now] { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ccf86; box-shadow: 0 0 0 4px rgba(60, 207, 134, .2); }
.dot.closed { background: var(--accent); box-shadow: 0 0 0 4px rgba(215, 38, 30, .25); }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

/* Los botones del encabezado nunca se encogen ni parten su texto. */
.nav-actions { flex: none; }
.list-btn, .lang-switch { flex: none; white-space: nowrap; }
/* El contenedor mide como máximo 1240 px, así que en escritorio el menú es compacto en cualquier pantalla
   y "Mi lista" va solo con ícono, para que quepan los 9 enlaces, el selector ES | EN y la lista. */
@media (min-width: 1241px) {
  .nav { gap: 18px; }
  .menu a { padding: 10px 8px; font-size: .95rem; }
  .menu a::after { left: 8px; right: 8px; }
  .nav .list-btn { padding: 0 13px; }
  .nav .list-btn > span:not(.cart-count) { display: none; }
}

/* La barra negra (con el teléfono) y el menú quedan fijos juntos arriba al hacer scroll. */
.sticky-top { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .4); }
.nav { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 1.7rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; flex: none; }
.brand-mark { width: 42px; height: 42px; }
.brand small { display: block; font: 600 .72rem/1.2 var(--sans); letter-spacing: .06em; color: var(--accent); text-transform: none; margin-top: 3px; }
.menu { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.menu a { position: relative; display: block; padding: 10px 11px; font: 700 1.02rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #3a3936; white-space: nowrap; transition: color .2s; }
.menu a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .2s; }
.icon-btn:hover { background: var(--accent); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 700 .78rem/1 var(--sans); display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }
@media (max-width: 1240px) {
  .menu-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; margin: 0;
    background: var(--white); border-bottom: 4px solid var(--accent); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
    max-height: calc(100vh - 78px); overflow: auto;
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 16px 4px; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .menu a[aria-current="page"] { color: var(--accent); }
}

/* ===== HERO: el logo convertido en página ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bands { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(215, 38, 30, .9) 0 44%, rgba(16, 16, 16, .86) 44% 100%); }
.hero-fish { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-fish path { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-inner { position: relative; text-align: center; padding: clamp(80px, 12vh, 130px) 0 clamp(70px, 11vh, 120px); min-height: min(82vh, 760px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(3.2rem, 9vw, 8.2rem); line-height: .88; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero h1 em { color: #fff; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--accent); z-index: -1; }
.h1-pre { display: block; font: 700 clamp(1.2rem, 2.4vw, 1.9rem)/1 var(--display); letter-spacing: .22em; margin-bottom: 18px; color: rgba(255, 255, 255, .9); }
.hero .lead { color: rgba(255, 255, 255, .82); margin: 26px auto 0; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .hero-ctas { justify-content: center; }
.hero .hero-ctas .btn-ghost { color: #fff; }
.hero .hero-ctas .btn-ghost:hover { background: #fff; color: var(--ink); }
/* Barra inferior como la última línea del logo */
.hero-bar { background: var(--bar); color: #fff; }
.hero-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-bar div { padding: 20px 20px 20px 0; border-right: 1px solid var(--line-dark); }
.hero-bar div + div { padding-left: 22px; }
.hero-bar div:last-child { border-right: 0; }
.hero-bar strong { display: block; font: 800 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.hero-bar span { font-size: .88rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
  /* En el teléfono: una lista corta y tranquila en vez de 4 títulos grandes apretados en 2 columnas. */
  .hero-bar .wrap { grid-template-columns: 1fr; padding: 6px 0; border: 0; }
  .hero-bar .wrap > div { display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 11px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero-bar .wrap > div:last-child { border-bottom: 0; }
  .hero-bar .wrap > div::before { content: ''; grid-row: span 2; width: 8px; height: 8px; background: var(--accent); }
  .hero-bar strong { font-size: 1.15rem; letter-spacing: .05em; }
  .hero-bar span { font-size: .9rem; line-height: 1.35; color: rgba(255, 255, 255, .78); }
  .hero-fish { display: none; }
  .hero-bands { background: linear-gradient(180deg, rgba(215, 38, 30, .72) 0 52%, rgba(16, 16, 16, .7) 52% 100%); }
}

/* Hero de páginas interiores */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; border-bottom: 8px solid var(--accent); }
.page-hero .hero-media { z-index: -2; }
.page-hero .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, .94) 0%, rgba(14, 14, 14, .7) 55%, rgba(14, 14, 14, .35)); }
.page-hero .wrap { position: relative; padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, .8); }
.page-hero.plain { background: var(--paper); color: var(--ink); border-bottom: 0; }
.page-hero.plain .lead { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: 0 0 26px; list-style: none; padding: 0; }
.page-hero.plain .crumbs { color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--accent); }
.crumbs a:hover { color: var(--accent); }

/* Cinta métrica */
.tape { position: relative; overflow: hidden; background: #fff; border-bottom: 2px solid var(--ink); height: 64px; }
.tape-track { display: flex; width: max-content; height: 100%; animation: slide 50s linear infinite; }
.tape-seg { position: relative; flex: none; width: 260px; height: 100%; display: flex; align-items: flex-end; padding: 0 0 10px 14px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 13px) top left / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 65px) top left / 100% 22px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left / 3px 34px no-repeat;
}
.tape-seg b { position: absolute; left: 8px; top: 26px; font: 800 1.15rem/1 var(--display); color: var(--accent); }
.tape-seg span { font: 700 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-left: 30px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Secciones */
.section { padding: clamp(76px, 10vw, 136px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 92px) 0; }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .lead, .section.dark .muted { color: var(--muted-dark); }
.section.white { background: var(--white); }
.section.red { background: var(--accent); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.section.dark .section-head { border-color: var(--line-dark); }
.section-head h2 { max-width: 18ch; margin-bottom: 0; }
.section-head .lead { margin: 0; max-width: 44ch; }

/* Pez como marca de agua en secciones oscuras */
.fish-mark { position: absolute; right: -6%; top: 50%; width: min(70vw, 900px); transform: translateY(-50%); pointer-events: none; opacity: .06; }
.fish-mark path { fill: none; stroke: #fff; stroke-width: 26; stroke-linecap: round; }
.section.dark > .wrap, .section.red > .wrap { position: relative; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Letreros de pasillo (departamentos) */
.aisles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 22px; }
@media (max-width: 960px) { .aisles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aisles { grid-template-columns: 1fr; } }
.aisle { position: relative; display: block; padding-top: 22px; }
.aisle::before, .aisle::after { content: ''; position: absolute; top: 0; width: 2px; height: 24px; background: #8d8a83; }
.aisle::before { left: 22%; } .aisle::after { right: 22%; }
.aisle-sign { position: relative; display: flex; align-items: stretch; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease); transform-origin: top center; }
.aisle:hover .aisle-sign { transform: rotate(-1.2deg); }
.aisle-num { flex: none; display: grid; place-items: center; width: 74px; background: var(--accent); font: 800 2.2rem/1 var(--display); }
.aisle-num small { display: block; font: 700 .6rem/1 var(--display); letter-spacing: .2em; text-align: center; margin-bottom: 4px; opacity: .85; }
.aisle-title { padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.aisle-title strong { font: 800 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.aisle-title span { font-size: .82rem; color: var(--muted-dark); margin-top: 4px; }
.aisle-photo { position: relative; display: block; margin-top: 12px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.aisle-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.aisle:hover .aisle-photo img { transform: scale(1.05); filter: none; }
.aisle-photo .go { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: var(--radius); transition: background .2s, color .2s; }
.aisle:hover .go { background: var(--accent); color: #fff; }
.aisle-photo .go svg { width: 20px; }

/* Marcas */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } }
.brand-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 4vw, 44px); background: #1d1d1d; border: 1px solid var(--line-dark); border-top: 6px solid var(--accent); border-radius: var(--radius); transition: background .3s, transform .3s var(--ease); }
.brand-card:hover { background: #242424; transform: translateY(-4px); }
.brand-word { font: 800 clamp(4rem, 9vw, 7.5rem)/.85 var(--display); letter-spacing: .02em; color: #fff; }
.brand-copy { color: var(--muted-dark); max-width: 40ch; }
.brand-card .link-arrow { align-self: flex-start; margin-top: 8px; color: #fff; }
.brand-tag { display: inline-block; margin-right: 8px; padding: 3px 7px 2px; background: var(--ink); color: #fff; font: 800 .78rem/1 var(--display); letter-spacing: .1em; vertical-align: 2px; }

/* Ficha técnica (beneficios) */
.feature { padding: 26px 0 0; border-top: 4px solid var(--ink); }
.grid:has(> .feature) { row-gap: 52px; }
.section.dark .feature { border-color: var(--accent); }
.feature .ico { width: 40px; height: 40px; color: var(--accent); margin-bottom: 18px; }
.feature .ico svg { width: 36px; height: 36px; stroke-width: 1.6; }
.feature h3 { font-size: 1.6rem; }
.feature p { color: var(--muted); margin: 0; }
.section.dark .feature p { color: var(--muted-dark); }

/* Media */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.media.wide img, .media.wide video { aspect-ratio: 16 / 10; }
.media .badge { position: absolute; left: 0; bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--accent); color: #fff; font: 700 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.media-stack { position: relative; }
.media-stack::before { content: ''; position: absolute; left: -18px; top: -18px; width: 40%; height: 40%; background: var(--accent); z-index: 0; }
.media-stack .media { z-index: 1; }
.media-stack .media.float { position: absolute; width: 46%; right: -6%; bottom: -10%; border: 8px solid var(--white); z-index: 2; }
.media-stack .media.float img, .media-stack .media.float video { aspect-ratio: 1; }
@media (max-width: 880px) { .media-stack .media.float { right: 4%; bottom: -8%; } .media-stack::before { left: -8px; top: -8px; } }

/* Banda de video */
.video-band { position: relative; min-height: clamp(440px, 72vh, 700px); padding: 72px 0; overflow: hidden; color: #fff; display: flex; align-items: center; isolation: isolate; }
.video-band video, .video-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.video-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .88), rgba(10, 10, 10, .35)); }
.video-band .wrap { position: relative; }
.video-band h2 { font-size: clamp(2.8rem, 7vw, 6rem); max-width: 13ch; }
.video-band p { color: rgba(255, 255, 255, .82); max-width: 50ch; margin: 0 0 30px; font-size: 1.1rem; }
.video-band .eyebrow { color: #fff; }

/* Catálogo */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; align-items: center; }
.chip { padding: 12px 18px; border: 2px solid var(--ink); background: transparent; font: 700 .98rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius); transition: .2s; }
.chip:hover { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.search input { border: 0; outline: 0; background: none; width: 100%; }
.search svg { width: 18px; color: var(--muted); flex: none; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

/* Producto = etiqueta de estante sobre pegboard */
.product { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle, rgba(0, 0, 0, .16) 2.2px, transparent 2.6px) 0 0 / 22px 22px, #d9c8a9;
}
.product-visual::before { content: ''; position: absolute; top: 18px; left: 50%; width: 30px; height: 6px; margin-left: -15px; background: #9a9890; border-radius: 3px; }
.product-visual svg { width: 36%; height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); }
.product-visual[data-cat="herramientas"] { background-color: #2b2b2b; color: #f3f1ec; background-image: radial-gradient(circle, rgba(0, 0, 0, .55) 2.2px, transparent 2.6px); }
.product-visual[data-cat="plomeria"] { background-color: #cfd8da; }
.product-visual[data-cat="electricidad"] { background-color: #e6d49c; }
.product-visual[data-cat="pintura"] { background-color: #e9b7b0; color: var(--accent-ink); }
.product-visual[data-cat="tornilleria"] { background-color: #c9c7c2; }
.product-visual[data-cat="jardin"] { background-color: #bfcfb1; }
.product-visual.has-photo { background: #111; }
.product-visual.has-photo::before { display: none; }
.product-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-visual.has-photo img { transform: scale(1.05); }
.product .tag { z-index: 1; }
.product .tag { position: absolute; top: 14px; left: 0; padding: 7px 12px; background: var(--accent); color: #fff; font: 700 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.product-body { position: relative; padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 5px solid var(--accent); }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-cat { font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sku { font: 600 .72rem/1 ui-monospace, 'Consolas', monospace; color: var(--muted); }
.product h3 { font: 600 1.02rem/1.35 var(--sans); text-transform: none; letter-spacing: 0; margin: 8px 0 16px; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { font: 800 2.1rem/1 var(--display); letter-spacing: 0; }
.price sup { font-size: .5em; vertical-align: .75em; margin-right: 1px; }
.price small { display: block; font: 500 .78rem/1.4 var(--sans); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.barcode { height: 18px; width: 70px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 3px, var(--ink) 3px 5px, transparent 5px 6px, var(--ink) 6px 7px, transparent 7px 10px); opacity: .75; }
.add { width: 48px; height: 48px; border-radius: var(--radius); background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s; }
.add:hover { background: var(--accent); }
.add svg { width: 22px; }
.add.added { background: var(--ok); }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Producto sin precio: unidad de venta + botón agregar */
.unit { font: 600 .9rem/1.3 var(--sans); color: var(--muted); }
.add-btn { margin-top: 14px; width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius); background: var(--ink); color: #fff; font: 700 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.add-btn svg { width: 18px; }
.add-btn:hover { background: var(--accent); }
.add-btn.added { background: var(--ok); }

/* Botón "Mi lista" del header y botón flotante */
.list-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--radius); background: var(--ink); color: #fff; font: 700 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.list-btn:hover { background: var(--accent); }
.list-btn svg { width: 20px; }
@media (max-width: 520px) { .list-btn > span:not(.cart-count) { display: none; } .list-btn { padding: 0 13px; } }
.list-fab { position: fixed; left: 20px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(215, 38, 30, .7); transform: translateY(140%); transition: transform .35s var(--ease); }
.list-fab svg { width: 20px; }
.list-fab .cart-count { position: static; transform: none; background: #fff; color: var(--accent); border: 0; }
.has-list .list-fab { transform: none; }
.cart-open .list-fab { transform: translateY(140%); }

/* Lista para cotizar */
.q-add { margin: 18px 0 8px; padding: 16px; background: var(--white); border: 2px dashed rgba(20, 20, 20, .2); border-radius: var(--radius); }
.q-add label { display: block; font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.q-add-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; }
.q-add-row input { width: 100%; padding: 11px 12px; border: 2px solid rgba(20, 20, 20, .18); border-radius: var(--radius); background: #fff; }
.q-add-row input:focus { outline: none; border-color: var(--accent); }
.q-add-row .btn { min-height: 46px; padding: 0 16px; font-size: .95rem; }
.q-remove { justify-self: end; font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: underline; }
.q-remove:hover { color: var(--accent); }
.q-clear { font: inherit; color: var(--accent); text-decoration: underline; font-weight: 600; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 4px 0 #1aa04d; }
.btn-wa:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Carrito */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 90; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); border-left: 6px solid var(--accent); }
.cart-open .drawer { transform: none; }
.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; background: var(--ink); color: #fff; }
.drawer-head h2 { font-size: 1.9rem; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 2px solid var(--ink); background: var(--white); }
.line-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.line-item .name { font-weight: 600; font-size: .98rem; }
.line-item .sub { color: var(--muted); font-size: .85rem; }
.line-item .price { font-size: 1.3rem; }
.line-item .qty { justify-self: start; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.qty button { width: 32px; height: 30px; display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: .92rem; }
.totals { display: grid; gap: 6px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; font-size: .95rem; }
.totals .grand { font: 800 1.8rem/1.1 var(--display); text-transform: uppercase; padding-top: 10px; border-top: 2px solid var(--ink); margin-top: 6px; }

/* Pagos */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pay-method { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); text-align: left; transition: border-color .2s, transform .2s; }
.pay-method:hover { transform: translateY(-2px); border-color: var(--ink); }
.pay-method strong { font: 800 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.pay-method span { font-size: .84rem; color: var(--muted); }
.pay-method .pm-ico { width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); margin-bottom: 4px; }
.pay-method .pm-ico svg { width: 28px; }
.pay-method[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pay-method[aria-checked="true"]::after { content: '✓'; position: absolute; top: 12px; right: 14px; width: 24px; height: 24px; background: var(--accent); color: #fff; font-size: .8rem; display: grid; place-items: center; }

.panel { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.panel h3 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: var(--radius); border: 2px solid rgba(20, 20, 20, .18); background: #fff; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.flow li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.flow .st { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: #fff; transition: .3s; }
.flow li.run { color: var(--ink); }
.flow li.run .st { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.flow li.done { color: var(--ink); }
.flow li.done .st { background: var(--ok); border-color: var(--ok); color: #fff; }
.flow time { font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

.receipt { border-radius: var(--radius); background: var(--ok-soft); border-left: 6px solid var(--ok); padding: 24px; display: none; }
.receipt.show { display: block; animation: rise .5s var(--ease); }
.receipt h3 { color: var(--ok); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.demo-flag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #ffd23f; color: #3d2f00; font: 700 .82rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }

/* Panel de automatizaciones */
.dash { border-radius: 6px; background: #1b1b1b; border: 1px solid var(--line-dark); overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; }
.dash-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--accent); font: 700 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.dash-body { padding: 20px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 16px; border-radius: 4px; background: rgba(255, 255, 255, .05); border-top: 3px solid var(--accent); }
.kpi span { font-size: .78rem; color: var(--muted-dark); }
.kpi strong { display: block; font: 800 2rem/1.1 var(--display); margin-top: 4px; }
.kpi em { font-size: .76rem; color: #5fd49b; }
.feed { display: grid; gap: 8px; }
.feed-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 4px; background: rgba(255, 255, 255, .04); font-size: .9rem; animation: rise .5s var(--ease); }
.feed-item .fi { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: rgba(95, 212, 155, .14); color: #5fd49b; }
.feed-item .fi svg { width: 16px; }
.feed-item small { color: var(--muted-dark); font-size: .78rem; }
.feed-item b { font-weight: 600; }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:last-child { display: none; } }

/* Confirmación por WhatsApp (vista del cliente) */
.phone { width: min(380px, 100%); margin-inline: auto; background: #0b141a; border: 10px solid #000; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #202c33; color: #e9edef; }
.phone-top b { display: block; font-size: .98rem; }
.phone-top small { color: #8696a0; font-size: .78rem; }
.phone-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; }
.phone-avatar svg { width: 20px; }
.phone-chat { display: grid; gap: 8px; padding: 16px 12px 20px; background: #0b141a radial-gradient(circle, rgba(255, 255, 255, .03) 1px, transparent 1.5px) 0 0 / 14px 14px; }
.bubble { position: relative; max-width: 88%; padding: 8px 10px 18px; border-radius: 8px; font-size: .86rem; line-height: 1.45; color: #e9edef; }
.bubble.in { background: #202c33; justify-self: start; border-top-left-radius: 0; }
.bubble.out { background: #005c4b; justify-self: end; border-top-right-radius: 0; }
.bubble time { position: absolute; right: 8px; bottom: 4px; font-size: .66rem; color: rgba(233, 237, 239, .6); }
.bubble.file { display: flex; gap: 10px; align-items: center; padding-right: 40px; }
.bubble.file svg { width: 30px; height: 30px; flex: none; color: #ff8a80; }
.bubble.file small { display: block; color: #8696a0; font-size: .72rem; }

.auto-card { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--accent); }
.auto-card .when { display: inline-block; font: 700 .82rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.auto-card h3 { font-size: 1.7rem; }
.auto-card .chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.auto-card .chain span { padding: 6px 10px; background: var(--paper); font-size: .84rem; font-weight: 600; }
.auto-card .chain svg { width: 14px; color: var(--accent); }

/* Testimonios */
.quote { padding: 30px; background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; }
.quote::before { content: '“'; position: absolute; top: -6px; right: 20px; font: 800 7rem/1 var(--display); color: var(--accent); opacity: .9; }
.quote blockquote { margin: 0 0 24px; font: 500 1.12rem/1.55 var(--sans); }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; }
.quote .avatar { width: 44px; height: 44px; border-radius: var(--radius); background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--display); }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }

/* Valoración real de Google */
.rating-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 56px); background: var(--white); border-top: 8px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-score { display: grid; justify-items: center; text-align: center; padding: 28px 36px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.rating-score strong { font: 800 clamp(4.5rem, 10vw, 7rem)/.85 var(--display); }
.rating-score .stars { font-size: 1.4rem; margin: 10px 0 6px; }
.rating-score span:last-child { font-size: .9rem; color: var(--muted-dark); }
.rating-card h2 { margin-bottom: .3em; }
.rating-card .lead { margin-bottom: 0; }
@media (max-width: 760px) { .rating-card { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; font: 700 1.4rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; background: linear-gradient(#fff, #fff) center / 14px 2.5px no-repeat, linear-gradient(#fff, #fff) center / 2.5px 14px no-repeat, var(--ink); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq .answer { padding: 0 52px 24px 0; color: var(--muted); max-width: 72ch; }

/* Visítanos */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius); overflow: hidden; background: var(--white); border-top: 8px solid var(--accent); box-shadow: var(--shadow); }
.visit-info { padding: clamp(28px, 4vw, 52px); }
.visit iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.5) contrast(1.05); }
@media (max-width: 880px) { .visit { grid-template-columns: 1fr; } .visit iframe { min-height: 320px; } }
.info-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.info-list svg { width: 24px; color: var(--accent); margin-top: 2px; }
.info-list b { display: block; font: 700 .85rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; color: var(--accent); }

/* Zonas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 12px 16px; border: 2px solid var(--line-dark); font: 700 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #e9e7e2; }
.areas span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Pasos */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { counter-increment: s; display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 26px 0; border-top: 2px solid var(--ink); }
.section.dark .step { border-color: var(--line-dark); }
.step::before { content: counter(s, decimal-leading-zero); font: 800 3rem/.9 var(--display); color: var(--accent); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.section.dark .step p { color: var(--muted-dark); }

/* CTA final */
.cta { position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; isolation: isolate; border-radius: var(--radius); }
.cta::before { content: ''; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--ink); z-index: -1; }
.cta .fish-mark { opacity: .18; right: -10%; width: 70%; z-index: -1; }
.cta h2 { margin: 0 0 12px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 50ch; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* Prosa */
.prose { max-width: 70ch; }
.prose h2 { margin-top: .4em; }
.prose p, .prose li { color: #3a3936; }
.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist li::before { content: ''; width: 22px; height: 22px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 3px; }
.section.dark .checklist li { color: #e9e7e2; }

/* Logo completo y frase */
.emblem { display: block; width: 100%; height: auto; border-radius: 3px; }
.emblem-lg { box-shadow: var(--shadow-lg); }
.footer-emblem { display: block; max-width: 300px; margin-bottom: 22px; }
.motto { margin: 0 0 28px; font: 800 clamp(3rem, 7vw, 6rem)/.9 var(--display); text-transform: uppercase; }
.motto small { display: block; font-size: .32em; letter-spacing: .2em; margin-bottom: 14px; color: var(--muted-dark); }

/* Footer */
.site-footer { background: #0d0d0d; color: var(--muted-dark); padding: 88px 0 0; font-size: .95rem; border-top: 10px solid var(--accent); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 700 1.05rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding: 22px 0; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-sign { font: 800 clamp(1.9rem, 7.4vw, 7.6rem)/.8 var(--display); text-transform: uppercase; color: #fff; white-space: nowrap; letter-spacing: -0.01em; margin: 70px 0 -0.06em; text-align: center; }
.footer-sign em { color: var(--accent); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: #fff; padding: 14px 20px; border-left: 5px solid var(--accent); font-size: .95rem; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.hero-fish path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tape-track { animation: none; }
  .hero-fish path { stroke-dashoffset: 0; animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Hero con la fachada real: las franjas dejan ver la tienda */
.hero-media picture { position: absolute; inset: 0; }
.hero-bands { background: linear-gradient(180deg, rgba(215, 38, 30, .7) 0 44%, rgba(16, 16, 16, .66) 44% 100%); }
.hero h1, .hero .h1-pre, .hero .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }

/* Marcas con foto de su exhibidor */
.brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-card { padding: 0 0 clamp(22px, 3vw, 32px); overflow: hidden; }
.brand-card > :not(.brand-photo) { margin-inline: clamp(20px, 2.4vw, 30px); }
.brand-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.brand-card:hover .brand-photo img { transform: scale(1.05); }
.brand-word { font-size: clamp(2.6rem, 4.2vw, 4rem); margin-top: 6px; }
@media (max-width: 960px) { .brands { grid-template-columns: 1fr; } }

/* "Ferretería al alcance de tus manos": lo que fabricamos, como una orden de taller */
.made-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.made-band h2 { max-width: 13ch; }
.made-band .made-close { margin: 22px 0 0; font: 800 clamp(1.5rem, 2.6vw, 2rem)/1 var(--display); text-transform: uppercase; color: var(--accent); }
.made-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); }
.made-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 18px 22px; border-bottom: 1px dashed var(--line); }
.made-list li:last-child { border-bottom: 0; background: var(--accent); color: #fff; }
.made-list b { grid-row: span 2; font: 800 1.9rem/1 var(--display); color: var(--accent); }
.made-list li:last-child b { color: #fff; }
.made-list strong { font: 800 clamp(1.35rem, 2.2vw, 1.7rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.made-list span { font-size: .95rem; color: var(--muted); }
.made-list li:last-child span { color: rgba(255, 255, 255, .9); }
@media (max-width: 880px) { .made-band .wrap { grid-template-columns: 1fr; } .made-list { box-shadow: 6px 6px 0 var(--ink); } }

/* Especialidades difíciles de conseguir: empaquetaduras y pernos en U */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spec-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4px; background: var(--ink); aspect-ratio: 16 / 10; }
.spec-photos > * { position: relative; overflow: hidden; min-height: 0; }
.spec-photos .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.spec-photos .stack > * { position: relative; overflow: hidden; min-height: 0; }
.spec-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.spec-card:hover .spec-photos img { transform: scale(1.04); }
.spec-photos .badge { position: absolute; left: 0; bottom: 14px; z-index: 1; font-size: .8rem; padding: 8px 12px; }
.spec-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 34px); }
.spec-num { font: 800 .9rem/1 var(--display); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.spec-body h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: .95; }
.spec-body p { margin: 0; color: var(--muted); }
.spec-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.spec-tags li { padding: 7px 12px; background: var(--paper); border: 1px solid var(--line); font: 700 .85rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.spec-body .link-arrow { margin-top: auto; padding-top: 8px; align-self: flex-start; }
/* El letrero: borde de cinta métrica arriba y la frase en grande */
.spec-banner { position: relative; overflow: hidden; isolation: isolate; margin-top: 24px; padding: clamp(46px, 6vw, 72px) clamp(24px, 5vw, 64px) clamp(32px, 5vw, 56px); background: var(--accent); color: #fff; border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.spec-banner::before { content: ''; position: absolute; inset: 0 0 auto; height: 26px; border-bottom: 2px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 60px) bottom / 100% 16px no-repeat, repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px) bottom / 100% 8px no-repeat, #ffd23f; }
.spec-banner .fish-mark { opacity: .16; right: -12%; width: 70%; z-index: -1; }
.spec-kicker { margin: 0 0 8px; font: 800 clamp(1.2rem, 2.2vw, 1.6rem)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.spec-banner h3 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .92; max-width: 15ch; text-transform: uppercase; }
.spec-banner p:not(.spec-kicker) { margin: 16px 0 0; max-width: 54ch; color: rgba(255, 255, 255, .9); }
.spec-banner .btns { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 960px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-banner { grid-template-columns: 1fr; }
  .spec-banner .btns { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 520px) { .spec-photos { aspect-ratio: 4 / 3; } }

/* Texto + video vertical (los videos de la tienda se grabaron con el celular en vertical) */
.video-split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 90px); align-items: center; }
.video-split h2 { max-width: 16ch; }
.video-frame { position: relative; width: clamp(260px, 26vw, 340px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame .badge { position: absolute; left: 0; bottom: 18px; }
@media (max-width: 760px) {
  .video-split .wrap { grid-template-columns: 1fr; }
  .video-frame { width: min(280px, 80%); margin-inline: auto; }
}

/* Selector de idioma ES | EN */
.lang-switch { display: inline-flex; align-items: center; height: 48px; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; font: 800 .95rem/1 var(--display); letter-spacing: .08em; }
.lang-switch a, .lang-switch span { display: grid; place-items: center; height: 100%; padding: 0 11px; }
.lang-switch span[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:hover { background: var(--accent); color: #fff; }
/* En la barra superior solo aparece en teléfonos, donde el encabezado no tiene espacio para el selector. */
.topbar-end { display: inline-flex; align-items: center; gap: 12px; }
.topbar .lang-switch { display: none; height: 24px; border-color: rgba(255, 255, 255, .45); font-size: .78rem; }
.topbar .lang-switch a, .topbar .lang-switch span { padding: 0 7px; color: #fff; }
.topbar .lang-switch span[aria-current] { background: #fff; color: var(--ink); }
@media (max-width: 600px) {
  .nav .lang-switch { display: none; }
  .topbar .lang-switch { display: inline-flex; }
}

/* Galería de fotos reales */
.gallery-white { background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--ink); color: #fff; font: 700 .95rem/1.1 var(--display); letter-spacing: .06em; text-transform: uppercase; border-top: 3px solid var(--accent); }
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-item { aspect-ratio: 1; }
  .gallery-item figcaption { font-size: .78rem; padding: 6px 8px; }
}

/* Buscador de tornillos */
.screw-section { background: var(--white); border-bottom: 1px solid var(--line); }
.screw-photo { margin-top: 26px; }
.screw-finder { border-top-color: var(--accent); }
.sf-qty { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 8px; }
.sf-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sf-checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 .95rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer; }
.sf-checks input { width: 20px; height: 20px; accent-color: var(--accent); }
.sf-preview { margin: 18px 0; padding: 14px 16px; background: var(--paper); border-left: 4px solid var(--accent); font-size: .98rem; min-height: 52px; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-actions .btn { flex: 1 1 200px; }

/* ===== Ajustes para teléfonos ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.list-fab { visibility: hidden; }
.has-list .list-fab { visibility: visible; }
.cart-open .list-fab { visibility: hidden; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section.tight { padding: 44px 0; }
  .section-head { margin-bottom: 28px; padding-bottom: 18px; gap: 14px; }
  .lead { font-size: 1.02rem; }
  .btn { min-height: 50px; padding: 0 20px; font-size: .98rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-inner { min-height: 0; padding: 72px 0 60px; }
  .hero h1 { font-size: 3.5rem; }
  .hero .lead { font-size: 1rem; margin-top: 20px; }
  .hero-ctas { margin-top: 26px; }

  /* Filtros: una sola fila que se desliza con el dedo */
  .toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 11px 14px; font-size: .9rem; }
  .search { flex: none; }

  /* Catálogo: 2 columnas, tarjetas compactas */
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-visual { aspect-ratio: 4 / 3; }
  .product-visual::before { top: 10px; width: 22px; height: 4px; margin-left: -11px; }
  .product-visual svg { width: 42%; }
  .product .tag { top: 8px; padding: 5px 8px; font-size: .68rem; }
  .product-body { padding: 10px 10px 12px; border-top-width: 4px; }
  .product-meta .sku, .barcode { display: none; }
  .product-cat { font-size: .68rem; letter-spacing: .1em; }
  .product h3 { font-size: .9rem; line-height: 1.3; margin: 5px 0 8px; }
  .brand-tag { font-size: .66rem; padding: 2px 5px 1px; margin-right: 4px; }
  .unit { font-size: .8rem; }
  .add-btn { margin-top: 10px; min-height: 42px; font-size: .85rem; gap: 6px; }
  .add-btn svg { width: 15px; }

  /* Pasillos: 2 columnas compactas */
  .aisles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .aisle { padding-top: 14px; }
  .aisle::before, .aisle::after { height: 16px; }
  .aisle-sign { flex-direction: column; }
  .aisle-num { width: auto; padding: 6px 10px; font-size: 1.2rem; justify-content: flex-start; }
  .aisle-num > span { display: flex; align-items: baseline; gap: 6px; }
  .aisle-num small { margin: 0; font-size: .62rem; }
  .aisle-title { padding: 8px 10px 10px; }
  .aisle-title strong { font-size: 1.15rem; }
  .aisle-title span { display: none; }
  .aisle-photo { margin-top: 8px; aspect-ratio: 1; }
  .aisle-photo .go { width: 36px; height: 36px; right: 8px; bottom: 8px; }

  /* Marcas, valoración, CTA */
  .brand-card { padding-bottom: 22px; }
  .brand-word { font-size: 3rem; }
  .rating-score { padding: 22px; }
  .rating-score strong { font-size: 4.2rem; }
  .cta { padding: 32px 22px; }

  /* Enlaces del footer más fáciles de tocar y espacio para los botones flotantes */
  .site-footer { padding-top: 64px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 8px 0; }
  .footer-bottom { padding-bottom: 100px; }
  .crumbs a { display: inline-block; padding: 6px 0; }

  /* Lista para cotizar: nombre y nota en una sola fila, más espacio para los productos */
  .drawer-head { padding: 16px 18px; }
  .drawer-head h2 { font-size: 1.5rem; }
  .drawer-body { padding: 4px 18px; }
  .drawer-foot { padding: 14px 18px 18px; }
  .drawer-foot .form-grid { grid-template-columns: 1fr 1fr; }
  .drawer-foot .field label { font-size: .72rem; margin-bottom: 5px; }
  .drawer-foot .field input { padding: 10px 11px; }
  .line-item { padding: 12px 0; }
  .q-add { padding: 12px; margin-top: 12px; }

  /* Botones flotantes más pequeños */
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 16px; }
  .list-fab { left: 14px; bottom: 18px; height: 50px; padding: 0 16px; font-size: .95rem; }
}
