/* Boggiano Fiambrerías — estilos
   Paleta de la tienda original (pizarra + gris claro + Work Sans) con los acentos del logo.
   Lenguaje sobrio: colores planos, bordes marcados, grillas de línea compartida y redondeo leve.
   Mobile-first. */

:root {
  --slate: #3a4750;
  --slate-2: #2b353c;
  --ink: #252c33;
  --ink-2: #5d6873;
  --bg: #eeeeee;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --line: #d4d4d4;
  --line-dark: rgba(255, 255, 255, .16);
  --red: #b3121b;
  --red-2: #8e0e15;
  --gold: #f2c230;
  --gold-2: #dba90f;

  --r: 10px;
  --r-sm: 6px;
  --header-h: 68px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: square; stroke-linejoin: miter; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .12s ease, border-color .12s ease, color .12s ease;
  white-space: nowrap;
}
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-dark { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- Demo bar ---------- */
.demo-bar { background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 6px 12px; }

/* ---------- Header ---------- */
/* Igual que la tienda original: menú en texto simple, desplegable de Productos y buscador. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate); color: #fff; }
.site-header > .container { max-width: 1440px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.logo { height: 50px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 2px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }

.header-search { display: flex; align-items: center; height: 44px; border: 1.5px solid rgba(255, 255, 255, .85); }
.header-search:focus-within { border-color: var(--gold); }
.header-search input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: none; color: #fff; font-size: 16px; }
.header-search input::placeholder { color: rgba(255, 255, 255, .85); }
.header-search button { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: none; color: #fff; cursor: pointer; }
.header-search button .icon { width: 22px; height: 22px; }
.search-desktop { display: none; width: 270px; }
.search-mobile { margin: 16px 20px 4px; }

.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--slate-2); border-bottom: 4px solid var(--gold);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav ul { list-style: none; margin: 0; padding: 0 20px 20px; }
.nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line-dark); }
.nav li > a { flex: 1; padding: 15px 0; font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav li.nav-wa { margin-top: 20px; border-bottom: 0; }
.nav li.nav-wa a { justify-content: center; padding: 0 22px; font-size: 14px; font-weight: 700; color: var(--ink); }

.mega-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; }
.mega-toggle .icon { transition: transform .15s ease; }
.has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }
.mega { display: none; flex-basis: 100%; }
.has-mega.is-open .mega { display: block; }
.mega-inner { display: grid; gap: 18px; margin-bottom: 16px; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold); }
.mega-col { display: grid; gap: 18px; align-content: start; }
.mega-group { display: grid; gap: 6px; }
.mega-group a { font-size: 15px; color: rgba(255, 255, 255, .75); }
.mega-group .mega-cat { font-weight: 700; color: #fff; }

@media (min-width: 1024px) {
  .menu-toggle, .nav li.nav-wa, .search-mobile { display: none; }
  .nav, .nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; overflow: visible; }
  .nav ul { display: flex; padding: 0; height: var(--header-h); }
  .nav li { flex-wrap: nowrap; height: 100%; border: 0; }
  .nav li > a {
    position: relative; display: flex; align-items: center; flex: none; height: 100%;
    padding: 0 9px; font-size: 15px; font-weight: 500; color: #fff; transition: color .12s ease;
  }
  .nav li > a:hover, .has-mega:hover > a { color: var(--gold); }
  .nav a[aria-current="page"] { color: #fff; }
  .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 18px; height: 2px; background: var(--gold); }
  .mega-toggle { width: auto; height: 100%; padding: 0 8px 0 0; margin-left: -6px; }
  .mega-toggle .icon { width: 18px; height: 18px; }

  .mega {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); color: var(--ink); border-bottom: 3px solid var(--slate);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .12);
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
  .mega-inner {
    grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1440px; margin: 0 auto;
    padding: 30px 20px 34px; border: 0; text-align: center;
  }
  .mega-col { gap: 24px; }
  .mega-group a { font-size: 16px; color: var(--ink); }
  .mega-group a:hover { color: var(--red); }
  .mega-group .mega-cat { margin-bottom: 2px; font-size: 17px; color: var(--ink); }
}
@media (min-width: 1280px) {
  .search-desktop { display: flex; }
}
@media (min-width: 1440px) {
  .nav li > a { padding: 0 12px; font-size: 16px; }
  .nav a[aria-current="page"]::after { left: 12px; right: 12px; }
}

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--paper); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px;
  margin-bottom: 28px; padding-bottom: 18px; border-bottom: 3px solid var(--ink);
}
.section-head h2 { font-size: clamp(28px, 5vw, 44px); }
.section-head p { color: var(--ink-2); max-width: 560px; margin-top: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--red);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--red); }

/* Toldo: franja rayada roja y crema */
.awning { height: 14px; background: repeating-linear-gradient(90deg, var(--red) 0 36px, #f3ead8 36px 72px); }

/* ---------- Hero ---------- */
.hero { color: #fff; background: var(--slate); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 56px 20px 64px; }
.hero h1 { font-size: clamp(40px, 8.4vw, 76px); letter-spacing: -.04em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.hero-lead { margin-top: 20px; font-size: clamp(17px, 2.4vw, 19px); color: rgba(255, 255, 255, .8); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-dark);
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
}
.hero-tags span { display: inline-flex; align-items: center; gap: 6px; }
.hero-tags .icon { color: var(--gold); }

.hero-photo { position: relative; isolation: isolate; aspect-ratio: 4 / 3; margin: 0 14px 14px 0; }
.hero-photo::after {
  content: ""; position: absolute; z-index: -1; inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold); border-radius: var(--r);
}
.hero-photo img, .hero-photo-empty { width: 100%; height: 100%; border-radius: var(--r); }
.hero-photo img { object-fit: cover; }
.hero-photo-empty {
  display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: var(--slate-2); border: 2px dashed var(--line-dark);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.hero-photo-empty .icon { width: 44px; height: 44px; stroke-width: 1.4; color: var(--gold); }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 88px 20px 96px; }
  .hero-cta .btn { flex: 0 0 auto; }
}

/* Encabezado de páginas internas */
.page-hero { color: #fff; background: var(--slate); }
.page-hero .container { padding-top: 52px; padding-bottom: 52px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { margin-top: 14px; font-size: clamp(36px, 7vw, 60px); letter-spacing: -.035em; }
.page-hero p { margin-top: 14px; max-width: 620px; color: rgba(255, 255, 255, .8); font-size: 18px; }

/* ---------- Grillas de tarjetas ---------- */
.cat-grid, .prod-grid, .brands, .features, .steps, .suc-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .cat-grid, .prod-grid, .brands, .features, .steps, .suc-grid { gap: 20px; } }
.cat-card, .prod-card, .brand-tile, .feature, .step, .suc-card {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.prod-card:hover, .brand-tile:hover { border-color: var(--slate); }

/* ---------- Categorías ---------- */
.cat-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(7, 1fr); } }
.cat-card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 20px 18px; }
.cat-card:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.cat-card:hover .cat-icon { color: var(--gold); }
.cat-card:hover span { color: rgba(255, 255, 255, .7); }
.cat-icon { color: var(--red); }
.cat-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.cat-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.cat-card span { font-size: 13px; color: var(--ink-2); }

/* ---------- Productos ---------- */
.prod-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod-card { display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--soft); color: var(--slate); border-bottom: 1px solid var(--line); }
.prod-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10%; }
.prod-media .icon { width: 34%; height: 34%; stroke-width: 1.2; opacity: .55; }
.prod-badge {
  position: absolute; top: 0; left: 0; padding: 5px 10px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.prod-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 16px 18px; }
.prod-meta { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.prod-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.prod-brand { font-size: 14px; color: var(--ink-2); }
.prod-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  transition: background .12s ease, color .12s ease;
}
.prod-cta:hover { background: var(--red); color: #fff; border-top-color: var(--red); }

/* ---------- Catálogo ---------- */
.catalog-tools { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding: 16px 0 12px; }
.search {
  display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px;
  border: 2px solid var(--ink); background: var(--paper);
}
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; font-size: 16px; }
.search .icon { color: var(--ink); }
.chips { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 14px; border: 1.5px solid var(--ink);
  background: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .12s ease, color .12s ease;
}
.chip:hover { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips-sub { gap: 18px; margin-top: 8px; }
.chips-sub .chip { height: 32px; padding: 0; border: 0; border-bottom: 3px solid transparent; background: transparent; font-size: 12px; color: var(--ink-2); }
.chips-sub .chip:hover { background: transparent; color: var(--ink); }
.chips-sub .chip[aria-pressed="true"] { background: transparent; color: var(--ink); border-bottom-color: var(--red); }
.catalog-count { margin: 8px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.empty { padding: 48px 24px; text-align: center; background: var(--paper); border: 2px solid var(--ink); }
.empty h3 { font-size: 22px; }
.empty p { margin: 8px auto 22px; color: var(--ink-2); max-width: 420px; }

/* ---------- Features ---------- */
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 28px 24px; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--slate); color: var(--gold); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { margin-top: 20px; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- Marcas ---------- */
.brands { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brands { grid-template-columns: repeat(6, 1fr); } }
.brand-tile {
  display: grid; place-items: center; min-height: 110px; padding: 16px; text-align: center;
  font-weight: 800; font-size: 18px; color: var(--slate); text-transform: uppercase; letter-spacing: .04em;
}
.brand-tile.is-placeholder { color: #a9b0b7; font-weight: 600; font-size: 12px; letter-spacing: .1em; background: var(--soft); }
.brand-tile.has-logo img { max-width: 100%; max-height: 78px; object-fit: contain; }

/* ---------- Banda CTA ---------- */
.band { display: grid; gap: 24px; padding: 40px 24px; color: #fff; background: var(--red); border-left: 12px solid var(--gold); }
.band h2 { font-size: clamp(28px, 4.8vw, 42px); }
.band p { margin-top: 10px; color: rgba(255, 255, 255, .88); max-width: 560px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band-dark { background: var(--slate); border-left-color: var(--red); }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; align-items: center; padding: 52px 56px; } }

/* ---------- Contenido / prosa ---------- */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.prose h2 { font-size: clamp(28px, 4.4vw, 40px); margin: 14px 0 18px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--ink-2); font-size: 17px; }
.split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-slot {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 20px; text-align: center;
  background: var(--soft); border: 2px dashed #b9bec3;
  color: #8d959c; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.photo-slot .icon { width: 40px; height: 40px; margin: 0 auto 10px; display: block; }

.steps { counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px 24px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 48px; font-weight: 800; line-height: 1; color: var(--red); letter-spacing: -.04em;
}
.step h3 { margin-top: 18px; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- Empleos ---------- */
.jobs { display: grid; border-top: 1px solid var(--line); }
.job {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.job h3 { font-size: 20px; }
.job p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.job-zone { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ---------- Formularios ---------- */
.form-card { padding: 24px; background: var(--paper); border: 2px solid var(--ink); }
@media (min-width: 700px) { .form-card { padding: 36px; } }
.form-card h2 { font-size: 28px; }
.form-card > p { margin-top: 6px; color: var(--ink-2); }
.form-grid { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #b9bec3;
  background: var(--paper); font-size: 16px; transition: border-color .12s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.form-note { font-size: 13px; color: var(--ink-2); }
.field input[type="file"] { padding: 11px 12px; font-size: 14px; cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); }
.form-status { padding: 14px 16px; border-left: 4px solid var(--slate); background: var(--soft); font-size: 15px; font-weight: 600; }
.form-status.is-ok { border-left-color: #2f7d32; color: #1f5a22; background: #eef6ee; }
.form-status.is-error { border-left-color: var(--red); color: var(--red-2); background: #fbeeee; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; } }
.info-list { display: grid; border-top: 1px solid var(--line); }
.info-list .info-list { border-top: 0; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item .feature-icon { width: 44px; height: 44px; flex: none; }
.info-item h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.info-item p, .info-item a { color: var(--ink-2); font-size: 15px; word-break: break-word; }
a.info-item:hover h3 { color: var(--red); }
.map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 2px solid var(--ink); border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-2); color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer-grid { display: grid; gap: 36px; padding: 56px 20px 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .logo { height: 56px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--line-dark); color: #fff; transition: background .12s ease, border-color .12s ease; }
.socials a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 20px; padding-bottom: 24px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: #25d366; color: #fff; border: 2px solid #1da851;
  transition: background .12s ease;
}
.wa-float:hover { background: #1da851; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ---------- Sucursales ---------- */
@media (min-width: 700px) { .suc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .suc-grid { grid-template-columns: repeat(3, 1fr); } }
.suc-card { display: flex; flex-direction: column; }
.suc-map { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--line); }
.photo-slot.suc-map { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.suc-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 20px; }
.suc-info { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.suc-info li { display: flex; gap: 10px; align-items: flex-start; }
.suc-info .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--red); }
.suc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* ---------- Redondeos ---------- */
/* Leves y en un solo lugar: para endurecer o suavizar el sitio alcanza con tocar --r y --r-sm. */
.btn, .menu-toggle, .header-search, .chip, .field input, .field select, .field textarea,
.feature-icon, .socials a { border-radius: var(--r-sm); }
.chips-sub .chip { border-radius: 0; }
.search, .form-card, .empty, .band, .photo-slot, .split-img { border-radius: var(--r); }
.form-status { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prod-badge { border-radius: 0 0 var(--r-sm) 0; }
.map { border-radius: var(--r) var(--r) 0 0; }
.wa-float { border-radius: 50%; }

