/* Tec3D — el gavetero */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlowc-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlowc-700.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Stencil"; font-weight: 800; font-display: swap; src: url(../fonts/stencil-800.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(../fonts/barlowc-800.woff2) format("woff2"); }

:root {
  --rack: #1c1c1e;
  --rack-2: #26272a;
  --rack-3: #303135;
  --plate: #141416;
  --ink: #111111;
  --orange: #e77714;
  --orange-d: #bc5d0b;
  --orange-l: #f7943a;
  --bone: #e9e6df;
  --bone-2: #d8d4ca;
  --steel: #9a9fa8;
  --text: #ecebe7;
  --text-2: #b4b7bd;
  --err: #ff8a65;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", system-ui, sans-serif;
  --f-stencil: "Big Shoulders Stencil", "Barlow Condensed", sans-serif;

  --gap: 10px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 80px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--rack);
  /* chapa perforada */
  background-image: radial-gradient(circle at 50% 50%, #101012 0 2.2px, transparent 2.6px);
  background-size: 16px 16px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: var(--ink); }
html { scrollbar-color: var(--rack-3) var(--plate); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--plate); }
::-webkit-scrollbar-thumb { background: var(--rack-3); border: 3px solid var(--plate); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange-d); }

img, svg { display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sprite { position: absolute; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1344px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Rótulo ---------- */
.label {
  display: inline-block;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  padding: .45em .7em .4em;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.25);
  font-variant-numeric: tabular-nums;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase;
  padding: .7em 1.15em .65em; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: inset 0 -4px 0 var(--orange-d), 0 2px 6px rgba(0,0,0,.35); }
.btn--orange:hover { background: var(--orange-l); }
.btn--orange:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--orange-d), 0 1px 3px rgba(0,0,0,.35); }
.btn--block { width: 100%; }
.btn svg { flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: .15em;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 22, .94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--rack-3);
}
.top__in { height: var(--header-h); display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__img { width: auto; height: 66px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); border-color: var(--orange); }
.top__cta { padding-block: .55em .5em; font-size: 1.05rem; }
.top__menu { display: none; margin-left: auto; background: none; border: 2px solid var(--rack-3); color: var(--text); border-radius: 4px; padding: 7px; cursor: pointer; }

@media (max-width: 1040px) {
  .top__in { gap: 14px; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--plate); border-bottom: 2px solid var(--rack-3);
    padding: 8px var(--gutter) 16px;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease); }
  .nav a { padding: 14px 0; font-size: 1.35rem; border-bottom: 1px solid var(--rack-3); }
  .top__menu { display: block; }
  .top__cta { margin-left: auto; }
  .top__menu { margin-left: 0; }
}
@media (max-width: 420px) {
  .top__cta { font-size: .95rem; padding-inline: .8em; }
  .logo__img { height: 54px; }
}

/* ---------- Rack (hero) ---------- */
.rack {
  max-width: 1440px; margin-inline: auto;
  padding: 24px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  height: max(640px, calc(100svh - var(--header-h)));
  max-height: 940px;
}

.plate {
  position: relative;
  background: var(--plate);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px #2c2d31, 0 6px 18px rgba(0,0,0,.35);
}
/* remaches */
.plate::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    radial-gradient(circle, #3a3b40 0 3px, transparent 3.5px) left top / 8px 8px no-repeat,
    radial-gradient(circle, #3a3b40 0 3px, transparent 3.5px) right top / 8px 8px no-repeat,
    radial-gradient(circle, #3a3b40 0 3px, transparent 3.5px) left bottom / 8px 8px no-repeat,
    radial-gradient(circle, #3a3b40 0 3px, transparent 3.5px) right bottom / 8px 8px no-repeat;
}

.hero__head {
  grid-column: 1 / 6; grid-row: 1 / 4;
  padding: clamp(28px, 3.4vw, 52px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2vw, 26px);
}
.hero__head h1 { font-size: clamp(3rem, min(6vw, 9.4svh), 6rem); line-height: .9; max-width: 14ch; }
.hero__head h1 em { font-style: normal; color: var(--orange); display: block; }
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: var(--text-2); max-width: 44ch; }
.hero__head .link-arrow { align-self: flex-start; }

/* cajón abierto */
.drawer-open {
  grid-column: 6 / 9; grid-row: 1 / 4;
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: #0d0d0f;
  box-shadow: inset 0 0 0 3px var(--orange), inset 0 18px 30px rgba(0,0,0,.6);
}
.drawer-open__inside { position: absolute; inset: 0 0 26% 0; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px 8px; }
.gearset { width: 100%; height: 100%; min-height: 0; color: var(--bone); }
.gearset__spec { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; font-family: var(--f-display); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); font-variant-numeric: tabular-nums; }
.gearset__spec b { color: var(--bone); font-weight: 700; }
.drawer-open__front {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: var(--orange);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: inset 0 -12px 0 var(--orange-d), inset 0 2px 0 var(--orange-l), 0 -8px 18px rgba(0,0,0,.45);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
}
.drawer-open__front .label { font-size: clamp(.8rem, 1vw, 1rem); max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* animación de apertura: el frente baja y deja ver la pieza */
@media (prefers-reduced-motion: no-preference) {
  .js .drawer-open__front { animation: pull 1.1s var(--ease) .25s both; }
  .js .drawer-open__inside { animation: reveal 1.1s var(--ease) .25s both; }
}
@keyframes pull { from { height: 100%; } to { height: 26%; } }
@keyframes reveal { from { opacity: 0; filter: blur(6px); transform: translateY(18px) scale(.97); } to { opacity: 1; filter: none; transform: none; } }

/* ranura vacía = CTA */
.slot {
  grid-column: 1 / 3; grid-row: 4 / 6;
  border-radius: var(--radius);
  border: 3px dashed var(--orange);
  background: rgba(231, 119, 20, .06);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: clamp(16px, 2vw, 28px);
  text-decoration: none; color: var(--text);
  transition: background-color .25s var(--ease), border-style .25s;
}
.slot:hover { background: rgba(231, 119, 20, .16); border-style: solid; }
.slot__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3vw, 3rem); text-transform: uppercase; line-height: .9; color: var(--orange); }
.slot__text { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.25; }
.slot__text svg { flex: none; color: var(--orange); }

/* cajones cerrados */
.hero__drawers {
  grid-column: 3 / 9; grid-row: 4 / 6;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--gap);
}
.hero__drawers li { display: contents; }
.drawer {
  position: relative; display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14%;
  background: var(--orange);
  border-radius: 4px 4px 10px 10px;
  text-decoration: none;
  box-shadow: inset 0 -14px 0 var(--orange-d), inset 0 2px 0 var(--orange-l), 0 4px 10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.drawer::after { /* tirador */
  content: ""; position: absolute; left: 32%; right: 32%; bottom: 24px; height: 7px;
  border-radius: 4px; background: var(--orange-d); box-shadow: inset 0 2px 2px rgba(0,0,0,.25);
}
.drawer .label { font-size: clamp(.7rem, .9vw, .9rem); max-width: calc(100% - 14px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer:hover { transform: translateY(4px) scale(1.02); box-shadow: inset 0 -14px 0 var(--orange-d), inset 0 2px 0 var(--orange-l), 0 10px 20px rgba(0,0,0,.5); }

@media (max-width: 860px) {
  .rack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none; grid-auto-rows: auto;
    height: auto; max-height: none; padding-top: 16px;
  }
  .hero__head { grid-column: 1 / -1; grid-row: auto; padding: 28px 22px 30px; }
  .hero__head h1 { font-size: clamp(2.7rem, 12.5vw, 4.4rem); }
  .drawer-open { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1 / 1; max-height: 520px; }
  .slot { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; }
  .slot__title { font-size: 2rem; }
  .hero__drawers { grid-column: 1 / -1; grid-row: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 74px; }
  .hide-sm { display: none !important; }
  .drawer { padding-top: 12px; }
  .drawer::after { bottom: 18px; }
}
@media (max-width: 480px) {
  .hero__drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 64px; }
  .drawer .label { font-size: .85rem; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(32px, 4vw, 56px); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head h2 { font-size: clamp(2.6rem, 6vw, 5.25rem); }
.section__head p { color: var(--text-2); font-size: 1.15rem; max-width: 52ch; }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; } }

/* Caja = cajón con contenido */
.box { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--rack-2); box-shadow: inset 0 0 0 1px #34353a, 0 6px 16px rgba(0,0,0,.3); overflow: hidden; }
.box__front { background: var(--orange); padding: 16px 18px 24px; box-shadow: inset 0 -8px 0 var(--orange-d), inset 0 2px 0 var(--orange-l); }
.box__in { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.label--h { font-size: 1.15rem; margin: 0; }
.box__lead { font-size: 1.2rem; font-weight: 500; line-height: 1.35; color: var(--text) !important; max-width: 40ch; }
.box p { color: var(--text-2); }

.serv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.serv__main { grid-column: span 2; grid-row: span 2; }
.serv__main .box__lead { font-size: 1.35rem; }
.serv__gears, .serv__ideas, .serv__deco { grid-column: span 2; }
.serv__deco { grid-column: span 1; }
.serv__ideas { grid-column: span 1; }
.serv__signs, .serv__toys { grid-column: span 2; }
.serv__gears .box__in, .serv__main .box__in { flex: 1; }
.serv__list { margin: 6px 0 0; display: grid; gap: 0; }
.serv__list div { padding: 14px 0; border-top: 1px solid #3a3b40; display: grid; grid-template-columns: 11rem 1fr; gap: 16px; }
.serv__list dt { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; line-height: 1.2; color: var(--bone); }
.serv__list dd { margin: 0; color: var(--text-2); }
.box--small .box__front { padding-bottom: 18px; }
.box--small .box__in { padding-block: 16px 20px; }

.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--orange); border-radius: 1px; }

@media (max-width: 1100px) {
  .serv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serv__main { grid-column: 1 / -1; grid-row: auto; }
  .serv__gears { grid-column: 1 / -1; }
  .serv__ideas, .serv__deco, .serv__signs, .serv__toys { grid-column: span 1; }
}
@media (max-width: 640px) {
  .serv { grid-template-columns: 1fr; }
  .serv > * { grid-column: 1 / -1 !important; }
  .serv__list div { grid-template-columns: 1fr; gap: 4px; }
}

/* Por qué */
.section--why .why { background: var(--plate); border-radius: var(--radius); box-shadow: inset 0 0 0 1px #2c2d31, 0 6px 18px rgba(0,0,0,.35); padding: clamp(28px, 4vw, 64px); }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__text h2 { font-size: clamp(2.6rem, 6vw, 5.25rem); margin-bottom: 28px; }
.why__quote { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; color: var(--orange); margin-bottom: 20px; max-width: 24ch; }
.why__text p:last-child { color: var(--text-2); max-width: 52ch; }

.ticket { background: var(--bone); color: var(--ink); border-radius: 4px; padding: 0 0 6px; box-shadow: 0 14px 34px rgba(0,0,0,.5); transform: rotate(-1.2deg); }
.ticket__head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 2px solid var(--ink); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.ticket__rows li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 22px; border-bottom: 1px dashed #a9a497; }
.ticket__rows svg { color: var(--orange-d); margin-top: 2px; }
.ticket__rows b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.ticket__rows span { color: #45433e; }
.ticket__foot { margin: 0; padding: 12px 22px 14px; display: grid; gap: 8px; }
.ticket__foot div { display: grid; grid-template-columns: 6rem 1fr; gap: 12px; font-size: .95rem; }
.ticket__foot dt { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ticket__foot dd { margin: 0; color: #45433e; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .ticket { transform: none; } }

/* Proceso: riel ortogonal */
.track { counter-reset: step; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 22px); }
.track li { position: relative; padding-top: 74px; }
.track__n {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--orange); color: var(--ink); border-radius: 4px 4px 10px 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.8rem;
  box-shadow: inset 0 -8px 0 var(--orange-d), 0 4px 10px rgba(0,0,0,.4);
}
.track h3 { font-size: 1.6rem; margin-bottom: 8px; }
.track p { color: var(--text-2); font-size: 1rem; max-width: 22ch; }
@media (max-width: 960px) {
  .track { grid-template-columns: 1fr; gap: 0; }
  .track::before { left: 26px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 14px, transparent 14px 22px); }
  .track li { padding: 4px 0 28px 80px; min-height: 84px; }
  .track p { max-width: 46ch; }
}

/* Trabajos */
.section--works { background: linear-gradient(var(--plate), var(--plate)) top / 100% 0 no-repeat; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--rack-2); color: var(--text-2); border: 0; border-radius: 3px; padding: .55em .9em .5em; cursor: pointer;
  box-shadow: inset 0 0 0 1px #3a3b40; transition: background-color .2s, color .2s;
}
.filter:hover { color: var(--text); background: var(--rack-3); }
.filter[aria-pressed="true"] { background: var(--bone); color: var(--ink); box-shadow: none; }

.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: var(--gap); align-items: start; }
.works__msg { grid-column: 1 / -1; color: var(--text-2); padding: 24px 0; }
.work { border-radius: var(--radius); background: #0d0d0f; box-shadow: inset 0 0 0 1px #2c2d31; overflow: hidden; display: flex; flex-direction: column; }
.work.is-hidden { display: none; }
.work__btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%; position: relative;
}
.work__btn:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.work__art { height: 170px; display: grid; place-items: center; color: var(--bone); padding: 18px; transition: transform .5s var(--ease); }
.work__art svg { width: 120px; height: 120px; }
.work__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.work__front {
  position: relative; background: var(--orange); padding: 14px 16px 30px;
  box-shadow: inset 0 -10px 0 var(--orange-d), inset 0 2px 0 var(--orange-l), 0 -6px 16px rgba(0,0,0,.45);
  transition: transform .5s var(--ease);
}
.work__front::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: 18px; height: 6px; border-radius: 3px; background: var(--orange-d); }
.work__tag { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; background: var(--bone); border-radius: 2px; padding: 8px 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.work__num { font-family: var(--f-stencil); font-weight: 800; font-size: 1.9rem; line-height: .9; color: var(--orange-d); font-variant-numeric: tabular-nums; padding-right: 10px; border-right: 2px solid var(--ink); }
.work__art { position: relative; }
.work__note { position: absolute; left: 10px; top: 8px; font-family: var(--f-display); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8e96; }
.work__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; color: var(--ink); }
.work__tag { min-height: 54px; }
.work__btn:hover .work__front { transform: translateY(6px); }
.work__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); background: var(--rack-2); }
.work__body > div { overflow: hidden; }
.work__body-in { padding: 16px 16px 18px; display: grid; gap: 10px; }
.work__body p { color: var(--text-2); font-size: .98rem; }
.work__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.work__meta .label { font-size: .8rem; }
.work__meta .label--dim { background: var(--rack-3); color: var(--text); box-shadow: none; }
.work.is-open .work__body { grid-template-rows: 1fr; }
.work.is-open .work__art { transform: scale(1.06); }
.work.is-open { box-shadow: inset 0 0 0 2px var(--orange); }

@media (max-width: 600px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__art { height: 120px; padding: 12px; }
  .work__art svg { width: 84px; height: 84px; }
  .work__front { padding: 10px 12px 26px; }
  .work__title { font-size: 1rem; }
  .work__num { font-size: 1.4rem; padding-right: 7px; }
  .work__tag { gap: 7px; padding: 6px 8px; }
  .work.is-open { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .work__body, .work__front, .work__art, .drawer { transition: none; }
}

/* Materiales */
.mats { border-radius: var(--radius); overflow: hidden; background: var(--rack-2); box-shadow: inset 0 0 0 1px #34353a; }
.mats__row { display: grid; grid-template-columns: 11rem minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; padding: 14px 22px; border-top: 1px solid #36373c; }
.mats__row--head { background: var(--plate); border-top: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--steel); }
.mats__name { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.mats__use { color: var(--text-2); font-size: .98rem; }
.mats__use small { display: block; color: var(--steel); font-size: .88rem; margin-top: 2px; }
.bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; height: 16px; }
.bar i { background: #3a3b40; border-radius: 1px; }
.bar i.on { background: var(--orange); }
.bar[data-k="uv"] i.on { background: var(--bone); }
.bar[data-k="mec"] i.on { background: var(--orange-l); }
.bar-lab { display: none; }
.mats__row:hover { background: var(--rack-3); }
.mats__note { margin-top: 14px; color: var(--steel); font-size: .92rem; }
@media (max-width: 900px) {
  .mats__row--head { display: none; }
  .mats__row { grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; padding: 18px; }
  .mats__name, .mats__use { grid-column: 1 / -1; }
  .bar-lab { display: block; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; color: var(--steel); margin-bottom: 4px; }
}

/* Para quién */
.who.who--solo { grid-template-columns: 1fr; }
.section--who .who, #proceso .track-plate { background: var(--plate); border-radius: var(--radius); box-shadow: inset 0 0 0 1px #2c2d31, 0 6px 18px rgba(0,0,0,.35); padding: clamp(24px, 3.5vw, 52px); }
.who--solo .chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--gap); }
.who--solo .chips li { font-size: clamp(1rem, 1.15vw, 1.2rem); overflow-wrap: anywhere; display: flex; align-items: center; min-height: 72px; line-height: 1.1; background: var(--rack-2); border-color: var(--rack-3); border-top: 3px solid var(--orange); border-radius: 0; }
.who { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.who h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.1rem, 1.6vw, 1.45rem); padding: .4em .7em .35em; border: 2px solid var(--orange); border-radius: 3px; color: var(--text); }
.clients h3 { font-size: 1.5rem; color: var(--steel); margin-bottom: 14px; }
.clients li { padding: 14px 0; border-top: 1px solid var(--rack-3); display: grid; gap: 2px; }
.clients b { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.clients span { color: var(--text-2); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { display: grid; gap: var(--gap); }
.faq details { background: var(--rack-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px #34353a; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; line-height: 1.1;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details[open] { box-shadow: inset 0 0 0 2px var(--orange); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); max-width: 62ch; }
.faq summary:hover { color: var(--orange-l); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq h2 { position: static; } }

/* Presupuesto */
.section--quote .quote { background: var(--orange); color: var(--ink); border-radius: var(--radius) var(--radius) 14px 14px; padding: clamp(28px, 4vw, 64px) clamp(22px, 4vw, 64px) clamp(44px, 5vw, 76px); box-shadow: inset 0 -16px 0 var(--orange-d), inset 0 2px 0 var(--orange-l), 0 10px 26px rgba(0,0,0,.45); }
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote__intro h2 { font-size: clamp(2.8rem, 6.2vw, 5.5rem); margin-bottom: 22px; }
.quote__intro > p { font-size: 1.2rem; max-width: 44ch; color: #2a1a0b; }
.quote__preview { margin-top: 32px; background: var(--ink); color: var(--text); border-radius: 10px 10px 10px 2px; padding: 18px 20px; max-width: 460px; box-shadow: 0 10px 24px rgba(80, 36, 0, .35); }
.quote__preview-label { display: block; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--orange); margin-bottom: 8px; }
.quote__preview p { white-space: pre-line; font-size: .98rem; color: var(--text-2); }

.order { background: var(--bone); border-radius: 4px; padding: 0 24px 24px; box-shadow: 0 18px 40px rgba(80, 36, 0, .35); display: grid; gap: 16px; }
.order__head { display: flex; justify-content: space-between; margin: 0 -24px; padding: 16px 24px; border-bottom: 2px solid var(--ink); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #f7f5f0; border: 2px solid #b9b4a7; border-radius: 3px; padding: 11px 12px; width: 100%;
  caret-color: var(--orange-d); transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: right 18px top 50%, right 12px top 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8c877b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field ::placeholder { color: #6f6b62; }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff4f2; }
.field__err { color: #9c1f17; font-weight: 600; font-size: .95rem; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 28px; }
.contact__list { display: grid; gap: 4px; }
.contact__list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rack-3); font-size: 1.12rem; }
.contact__list svg { color: var(--orange); margin-top: 2px; }
.contact__list small { color: var(--text-2); font-size: .95rem; }
.contact__list a { text-decoration-color: var(--orange); }
.contact__list a:hover { color: var(--orange-l); }
.contact__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 3px var(--rack-3); background: var(--rack-2); }
.contact__map iframe { position: relative; z-index: 1; display: block; width: 100%; min-height: 380px; border: 0; background: transparent; filter: grayscale(1) invert(.9) contrast(.9) hue-rotate(180deg); }
.contact__plate { flex: 1; min-height: 380px; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; color: var(--steel); background: radial-gradient(circle, #101012 0 2.2px, transparent 2.6px) 0 0 / 16px 16px, var(--rack-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 2px solid var(--rack-3); padding: 48px 0 110px; }
.foot .logo__img { height: 110px; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.foot__motto { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--orange); justify-self: end; }
.foot__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--rack-3); }
.foot__nav a { color: var(--text-2); text-decoration: none; }
.foot__nav a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); }
.foot__credit { grid-column: 1 / -1; color: var(--steel); font-size: .92rem; }
@media (max-width: 600px) { .foot__in { grid-template-columns: 1fr; } .foot__motto { justify-self: start; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--ink); text-decoration: none;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: inset 0 -4px 0 var(--orange-d), 0 8px 22px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--orange-l); }
@media (max-width: 600px) { .wa-float { padding: 14px; } .wa-float span { display: none; } }

/* Ranura vacía al final de la galería */
.works__slot { list-style: none; }
.works__slot .slot { height: 100%; min-height: 260px; }

/* El botón flotante se corre mientras la ranura del hero está a la vista */
.wa-float { transition: transform .35s var(--ease), opacity .35s var(--ease), background-color .2s; }
.wa-float.is-away { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* Mapa: placa con la dirección debajo del iframe */
.contact__map { position: relative; display: flex; flex-direction: column; }
.contact__map iframe { flex: 1; }
.contact__maplink { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--plate); color: var(--text); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-top: 2px solid var(--rack-3); }
.contact__maplink svg { color: var(--orange); }
.contact__maplink:hover { color: var(--orange-l); }
