/* Lidiblock — industrial catalog. Visual: website2. Org: website1. Type: Inter + Barlow Condensed. */
:root {
  --orange: #fb6c00;
  --orange-deep: #d85a00;
  --black: #0b0d0c;
  --ink: #141414;
  --char: #1c1c1c;
  --gold: #f9b637;
  --warm: #4b4038;
  --sand: #caaa98;
  --paper: #f3f1ec;
  --muted: #8a827b;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(11, 13, 12, 0.12);
  --header: 160px;
  --max: 1320px;
  --gutter: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
  --radius-sm: 12px;
  --pill: 999px;
  --obra: #efce49;
  --obra-deep: #e7bd14;
  --obra-mist: #f7e6a1;
  --obra-ash: #161b20;
  --obra-steel: #8b939c;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-optical-sizing: auto;
  background: var(--black);
  color: var(--paper);
  line-height: 1.5;
  -webkit-tap-highlight-color: rgba(251, 108, 0, 0.25);
  touch-action: manipulation;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3 { font-family: "Barlow Condensed", Inter, sans-serif; text-wrap: balance; letter-spacing: 0.02em; margin: 0; }
p { text-wrap: pretty; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: var(--black);
  padding: 8px 12px;
  z-index: 100;
  border-radius: var(--pill);
}
.skip:focus { top: 12px; }

#contenido { scroll-margin-top: 148px; }
.filter-list small { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 8px; }

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Top utility */
.util {
  background: #070807;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.util .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  flex-wrap: wrap;
}
.util a { color: var(--paper); }
.util a:hover { color: var(--gold); }
.util-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

/* Main header */
.mast {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.mast-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.brand span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.search {
  display: flex;
  min-width: 0;
}
.search input {
  flex: 1;
  min-width: 0;
  background: #0e0e0e;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 12px 14px;
  border-radius: var(--pill) 0 0 var(--pill);
}
.search input:focus { outline: 2px solid var(--orange); outline-offset: 0; }
.search button {
  background: var(--orange);
  border: 0;
  color: var(--black);
  padding: 0 18px;
  cursor: pointer;
  border-radius: 0 var(--pill) var(--pill) 0;
  font-weight: 700;
  font-size: 11px;
}
.search button:hover { background: var(--orange-deep); }
.search button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--black);
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  white-space: nowrap;
  border-radius: var(--pill);
}
.wa:hover { background: var(--orange-deep); }
.wa:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  cursor: pointer;
  border-radius: 12px;
}
.menu-toggle:focus-visible { outline: 2px solid var(--orange); }
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle-bars {
  position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Mega menu */
.cats {
  background: #101010;
  border-top: 1px solid var(--line);
}
.cats ul.primary {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  overflow: visible;
}
.cats ul.primary > li { position: relative; }
.cats ul.primary > li > a,
.cats ul.primary > li > button {
  display: block;
  background: none;
  border: 0;
  color: var(--paper);
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.cats ul.primary > li > a:hover:not([aria-current="page"]),
.cats ul.primary > li > button:hover,
.cats ul.primary > li:focus-within > button { color: var(--orange); }
.cats ul.primary > li > a:focus-visible,
.cats ul.primary > li > button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cats ul.primary > li > a[aria-current="page"] {
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  border-radius: var(--pill);
}
.cats ul.primary > li > a[aria-current="page"]:hover,
.cats ul.primary > li:focus-within > a[aria-current="page"] {
  background: var(--orange-deep);
}
.cats ul.primary > li > a.nav-obra:hover:not([aria-current="page"]) { color: var(--obra); }
.cats ul.primary > li > a.nav-obra[aria-current="page"] {
  background: var(--obra);
  color: #0b0d0c;
}
.cats ul.primary > li > a.nav-obra[aria-current="page"]:hover,
.cats ul.primary > li:focus-within > a.nav-obra[aria-current="page"] {
  background: var(--obra-deep);
}

.mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 280px;
  background: #171717;
  border: 1px solid var(--line);
  padding: 12px;
  z-index: 30;
  border-radius: var(--radius-sm);
}
.cats li:hover > .mega,
.cats li:focus-within > .mega { display: grid; gap: 4px; }
.mega a {
  padding: 8px 10px;
  color: var(--sand);
  font-size: 12px;
  border-radius: 10px;
}
.mega a:hover:not([aria-current="page"]) { background: #222; color: #fff; }
.mega a small { color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.mega a[aria-current="page"] {
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
}
.mega a[aria-current="page"] small { color: var(--black); }

.cats.open .primary { display: flex; flex-direction: column; }

body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--orange);
  color: var(--black);
  border: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  cursor: pointer;
  border-radius: var(--pill);
}
.btn:hover { background: var(--orange-deep); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ink { background: var(--black); color: #fff; }
.btn-ink:hover { background: #000; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  overflow: hidden;
  background: #080808;
}
.hero-track {
  display: flex;
  height: min(86vh, 760px);
  transition: transform 700ms var(--ease);
}
.hero-slide {
  min-width: 100%;
  position: relative;
  background: #111 center/cover no-repeat;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.35) 55%, rgba(8,8,8,.55) 100%);
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: 40px var(--gutter);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero p { max-width: 46ch; color: #ddd; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.chip {
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-nav {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-nav button {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  cursor: pointer;
  border-radius: var(--pill);
}
.hero-nav button:focus-visible { outline: 2px solid var(--orange); }

.hero-logo {
  position: absolute;
  z-index: 3;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  top: 24px;
  width: min(168px, 38vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.theme-obra .hero-copy {
  justify-content: flex-end;
  padding-top: min(220px, 42vw);
  padding-bottom: 48px;
}

/* Full-bleed banners L→R */
.strip {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #111 center/cover no-repeat;
}
.strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,13,12,.88), rgba(11,13,12,.35) 50%, rgba(251,108,0,.25));
}
.strip-inner {
  position: relative;
  z-index: 1;
  transform: translateX(-48px);
  opacity: 0;
  transition: transform 900ms var(--ease), opacity 900ms var(--ease);
}
.strip.in .strip-inner { transform: translateX(0); opacity: 1; }
.strip h2 {
  font-size: clamp(36px, 6vw, 72px);
  text-transform: uppercase;
  line-height: 0.92;
  max-width: 12ch;
}
.strip p { max-width: 42ch; color: #eee; }

/* Section banners (shorter than home hero) */
.section-hero {
  position: relative;
  min-height: min(48vh, 420px);
  overflow: hidden;
  background: #111 center/cover no-repeat;
}
.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.38) 55%, rgba(8,8,8,.55) 100%);
}
.section-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(48vh, 420px);
  padding-block: 40px 36px;
}
.section-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 16ch;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track, .strip-inner { transition: none; }
  .strip-inner { opacity: 1; transform: none; }
}

/* Sections */
.section { padding: 72px 0; }
.section-light { background: var(--paper); color: var(--black); }
.section-char { background: var(--char); }
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}
.head-row h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
}
.link-more { color: var(--orange); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.link-more:hover { color: var(--orange-deep); }
.section-light .link-more { color: var(--orange-deep); }

.callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.callout {
  background: var(--ink);
  border: 0;
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1.5px rgba(239, 206, 73, 0.5), 0 14px 36px rgba(0, 0, 0, 0.38);
}
.callout::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}
.callout > * { position: relative; z-index: 1; }
.callout h3 { text-transform: uppercase; font-size: 28px; }

.callout-ficha {
  min-height: 380px;
  padding: 22px 16px 16px;
  gap: 18px;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 0 0 1.5px rgba(239, 206, 73, 0.5), 0 14px 36px rgba(0, 0, 0, 0.38);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.callout-ficha::after {
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.08) 28%, rgba(8, 10, 12, 0.82) 100%);
}
.callout-ficha:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--obra), 0 18px 40px rgba(0, 0, 0, 0.45);
}
.callout-copy h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 0.95;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.callout-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.35;
  max-width: 28ch;
}
.callout-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(10, 14, 16, 0.58);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.callout-cta i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--obra);
  color: #0b0d0c;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}
.callout-cta i::before {
  content: "›";
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  translate: 0 -1px;
}
.callout-ficha:hover .callout-cta {
  background: rgba(10, 14, 16, 0.78);
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.brand-pill {
  border: 1px solid var(--line-dark);
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--pill);
}

/* Product grid */
.grid-prods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: #111;
  color: #fff;
  border: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  outline: 1.5px solid rgba(251, 108, 0, 0.78);
  outline-offset: 0;
}
.card-fig {
  aspect-ratio: 1;
  background: #fff;
  position: relative;
  width: 100%;
}
.card-fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.card-fig img.product-photo {
  object-fit: contain;
  background: #fff;
  padding: 10%;
  box-sizing: border-box;
}
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--pill);
  z-index: 2;
}
.card-body {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #111;
  z-index: 1;
}
.sku { font-size: 12px; color: rgba(243,241,236,.7); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.card h3 { font-family: Inter, sans-serif; font-size: 15px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; }
.price { font-weight: 750; color: var(--gold); font-variant-numeric: tabular-nums; font-size: 18px; }
.price-note {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(243,241,236,.7);
  line-height: 1.35;
}
.card-act { display: flex; gap: 10px; margin-top: 12px; }
.card-act .btn { flex: 1; padding: 12px 10px; font-size: 11px; }
.card-act .btn-ink { background: #fff; color: var(--black); }
.card-act .btn-ink:hover { background: var(--paper); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-tile {
  background: #fff;
  color: var(--black);
  padding: 18px;
  min-height: 140px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.cat-tile:hover { border-color: var(--orange); }
.cat-tile strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 22px; text-transform: uppercase; }
.cat-tile span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Why */
.why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-item {
  background: #111;
  padding: 18px;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
}
.why-item b { display: block; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }

/* Catalog layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding-block: 32px 72px;
}
.filters {
  background: #141414;
  border: 1px solid var(--line);
  padding: 18px;
  height: max-content;
  position: sticky;
  top: calc(var(--header) + 12px);
  border-radius: var(--radius);
}
.filters h2 { font-size: 20px; text-transform: uppercase; margin-bottom: 12px; }
.filters label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.filters select, .filters input {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.filters select:focus, .filters input:focus { outline: 2px solid var(--orange); }
.filter-list { list-style: none; margin: 0; padding: 0; overflow: visible; }
.filter-list a { display: flex; justify-content: space-between; padding: 8px 10px; color: var(--sand); font-size: 14px; min-width: 0; border-radius: 10px; }
.filter-list a:hover:not([aria-current="page"]) { color: var(--orange); }
.filter-list a[aria-current="page"] {
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
}
.filter-list a[aria-current="page"] small { color: var(--black); }
.results-meta { color: var(--muted); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.pager {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.pager-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pager-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.pager a, .pager span {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pager a:hover, .pager [aria-current="page"] { background: var(--orange); border-color: var(--orange); color: var(--black); font-weight: 700; }
.pager-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pager-jump label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pager-jump input {
  width: 72px;
  background: #0e0e0e;
  border: 1px solid var(--line);
  color: #fff;
  padding: 8px 10px;
  border-radius: var(--pill);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.pager-jump input:focus { outline: 2px solid var(--orange); }
.pager-jump .btn { padding: 8px 16px; font-size: 12px; }
html[data-theme="obra"] .pager a:hover,
html[data-theme="obra"] .pager [aria-current="page"] {
  background: var(--obra);
  border-color: var(--obra);
  color: #0b0d0c;
}
html[data-theme="obra"] .pager-jump input:focus { outline-color: var(--obra); }

.empty { padding: 48px 0; color: var(--muted); }

/* Product sheet */
.sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-block: 48px 80px;
}
.sheet > div:last-child {
  padding: 12px 8px 12px 16px;
}
.sheet-fig {
  background: #fff;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.sheet-fig img { width: 100%; height: 100%; object-fit: cover; }
.sheet-fig img.product-photo {
  object-fit: contain;
  background: #fff;
  padding: 15%;
  box-sizing: border-box;
}
.sheet h1 { font-size: clamp(28px, 4vw, 48px); text-transform: uppercase; }
.sheet .price { font-size: 32px; }
.sheet .price-note { font-size: 13px; margin-top: 4px; color: var(--gold); }
.specs { margin: 20px 0; border-top: 1px solid var(--line); }
.specs div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  align-items: start;
}
.specs strong, .specs a { white-space: pre-line; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-block: 48px 80px;
}
.contact-card { background: #141414; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.specs a { color: #fff; font-weight: 600; }
.specs a:hover { color: var(--gold); }
.form { display: grid; gap: 12px; }
.form label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  background: #0e0e0e;
  border: 1px solid var(--line);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); }

/* Footer */
.foot {
  background: #070807;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}
.foot h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 12px; color: var(--gold); }
.foot a { display: block; color: var(--sand); padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot-map { margin-top: 36px; }
.foot-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.foot-map-head h3 { margin-bottom: 0; }
.foot-map-head a {
  display: inline;
  padding: 0;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.foot-map-frame {
  height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #101010;
  box-shadow: inset 0 0 0 1px rgba(251, 108, 0, 0.22);
}
.foot-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.legal { margin-top: 32px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }

@media (max-width: 960px) {
  .mast-row { grid-template-columns: auto 1fr auto auto; }
  .callouts, .grid-prods, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why, .sheet, .contact-grid, .catalog-layout, .foot-grid { grid-template-columns: 1fr; }
  .foot-map-frame { height: 220px; }
  .filters { position: static; }
  .menu-toggle { display: inline-flex; }
  .cats {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: min(78vh, 640px);
    overflow: auto;
    background: #101010;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .cats.open { display: block; }
  .cats ul.primary {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 8px 0 16px;
  }
  .cats ul.primary > li > a {
    white-space: normal;
    padding: 14px 4px;
  }
  .mega { position: static; display: none; }
  .cats li:hover > .mega { display: none; }
  .cats li.open > .mega,
  .cats li:focus-within > .mega { display: grid; }
}

@media (max-width: 640px) {
  .search { display: none; }
  .mast-row { grid-template-columns: 1fr auto auto; }
  .grid-prods, .callouts, .cat-grid, .why-grid { grid-template-columns: 1fr; }
  .wa span { display: none; }
}

/* Sofía chat widget — skin glass/avatar viene de js/sofia-widget.js */

/* Construcción — amarillo Lidiblock #efce49 + gris (distinto al naranja de herramientas) */
html[data-theme="obra"],
.theme-obra {
  --orange: var(--obra);
  --orange-deep: var(--obra-deep);
  --gold: var(--obra-mist);
  --warm: #4a5158;
  --sand: #9aa3ab;
  --black: var(--obra-ash);
}
.theme-obra {
  background: #12161a;
}
.theme-obra .hero-slide::after {
  background: linear-gradient(90deg, rgba(14,13,10,.86) 0%, rgba(14,13,10,.32) 55%, rgba(18,16,10,.58) 100%);
}
html[data-theme="obra"] .section-hero::after {
  background: linear-gradient(90deg, rgba(14,13,10,.88) 0%, rgba(14,13,10,.4) 55%, rgba(20,17,10,.62) 100%);
}
.theme-obra .eyebrow,
html[data-theme="obra"] .eyebrow { color: var(--obra-mist); }
.tools-cut {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 56px var(--gutter) 8px;
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.tools-cut span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tools-cut::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.card-obra {
  background: #1a2026;
  outline-color: rgba(239, 206, 73, 0.72);
}
.card-obra .card-body { background: #1a2026; }
.card-obra .price { color: var(--obra); }
.card-obra .price-note { color: var(--obra-mist); }
.card-obra .tag {
  background: var(--obra);
  color: #0b0d0c;
}
.card-obra .btn {
  background: var(--obra);
  color: #0b0d0c;
}
.card-obra .btn:hover { background: var(--obra-deep); }
html[data-theme="obra"] .sheet .price { color: var(--obra); }
html[data-theme="obra"] .sheet .price-note { color: var(--obra-mist); }
