/* Herrajes Santomera V3 · «Cajonera de tienda» */
@font-face { font-family: 'Archivo'; src: url('assets/fonts/archivo.woff2') format('woff2-variations'), url('assets/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('assets/fonts/archivo-italic.woff2') format('woff2-variations'), url('assets/fonts/archivo-italic.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  /* Colores del logotipo */
  --blue: #1b2f8b;
  --blue-drawer: #2944a6;
  --blue-drawer-hi: #3656bf;
  --blue-deep: #22398f;
  --blue-night: #0f1a52;
  --orange: #f28b01;
  --orange-press: #dc7e00;
  /* Chapa y papel */
  --steel: #e8ebf1;
  --steel-2: #d8dde7;
  --steel-3: #bfc6d4;
  --line: #ccd2de;
  --paper: #ffffff;
  --ink: #131a3a;
  --ink-2: #464f70;
  --on-blue: #ffffff;
  --on-blue-2: #d3daf4;

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-drawer: inset 0 1px 0 rgb(255 255 255 / 0.16), inset 0 -3px 0 rgb(5 12 45 / 0.28), 0 1px 1px rgb(8 16 56 / 0.35), 0 2px 6px rgb(8 16 56 / 0.18);
  --shadow-pulled: inset 0 1px 0 rgb(255 255 255 / 0.2), inset 0 -3px 0 rgb(5 12 45 / 0.28), 0 6px 10px -2px rgb(8 16 56 / 0.35), 0 16px 28px -8px rgb(8 16 56 / 0.4);
  --shadow-paper: 0 1px 2px rgb(19 26 58 / 0.08), 0 8px 24px -8px rgb(19 26 58 / 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scrollbar-color: var(--steel-3) var(--steel); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--blue-night); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--orange); color: var(--blue-night); padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }
.small { font-size: 0.875rem; color: var(--ink-2); }

/* Tipografía de rótulo: la itálica ancha y gruesa del logotipo */
.hero h1, .page-head h1, .section h2, .help h2, .portal h2, .order h2, .empty h2, .sheet h2 {
  font-style: italic; font-weight: 820; font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.02;
}
.section h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }

/* ---------------------------------------------------------------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 2px solid transparent; font-weight: 700; font-stretch: 100%; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 20px; height: 20px; }
.btn-orange { background: var(--orange); color: var(--blue-night); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.14); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.25); }
.btn-line { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-orange:hover { background: #ff9d1f; }
  .btn-blue:hover { background: var(--blue-drawer); }
  .btn-line:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }
  .btn-ghost:hover { border-color: var(--ink-2); }
}
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; min-height: 44px; }
.text-link .icon { width: 18px; height: 18px; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration: underline; } .text-link:hover .icon { transform: translateX(3px); } }

/* ---------------------------------------------------------------- cabecera */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand .logo { width: 150px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; text-decoration: none; color: var(--ink); border-radius: var(--r-sm); }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.header-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r); background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color 160ms ease, transform 140ms var(--ease-out); }
.header-call:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .header-call:hover { background: var(--blue-drawer); } }
.header-call .icon { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- portada */
.hero { position: relative; background: var(--blue); color: var(--on-blue); overflow: hidden; }
/* Las dos franjas del logotipo cierran la portada */
.hero::after, .page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(var(--blue-deep) 0 4px, var(--orange) 4px 10px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 0.98; }
.hero-lead { margin-top: 24px; max-width: 34em; font-size: 1.1875rem; color: var(--on-blue-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; max-width: 30em; font-size: 0.9375rem; color: var(--on-blue-2); }
.hero-note .icon { width: 20px; height: 20px; color: var(--orange); margin-top: 1px; }

/* La cajonera */
.drawer, .pdrawer button { position: relative; display: flex; flex-direction: column; align-items: center; border-radius: var(--r); background: linear-gradient(180deg, var(--blue-drawer-hi) 0%, var(--blue-drawer) 45%, var(--blue-deep) 100%); box-shadow: var(--shadow-drawer); color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.drawer { aspect-ratio: 16 / 11; padding: 13% 9% 0; }
.drawer-label { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 2px var(--steel-3), 0 0 0 3px rgb(5 12 45 / 0.35), inset 0 1px 2px rgb(19 26 58 / 0.12); font-weight: 700; font-stretch: 88%; font-size: clamp(0.875rem, 1.2vw, 1.0625rem); line-height: 1.15; transition: box-shadow 200ms var(--ease-out); }
.drawer-label .icon { width: 22px; height: 22px; color: var(--blue); }
.drawer-pull { position: absolute; left: 50%; bottom: 16%; width: 42%; height: 12%; min-height: 10px; translate: -50% 0; border-radius: 4px 4px 10px 10px; background: linear-gradient(180deg, #0c1650, #1a2d80); box-shadow: inset 0 2px 3px rgb(0 0 0 / 0.55), 0 1px 0 rgb(255 255 255 / 0.18); }
.drawer:active, .pdrawer button:active { transform: scale(0.98); }
.drawer:focus-visible, .pdrawer button:focus-visible { outline-offset: 3px; }
.drawer:focus-visible .drawer-label, .pdrawer button:focus-visible .pdrawer-label { box-shadow: 0 0 0 2px var(--orange), 0 0 0 3px rgb(5 12 45 / 0.35); }
@media (hover: hover) and (pointer: fine) {
  .drawer:hover, .pdrawer button:hover { transform: translateY(-3px) scale(1.025); box-shadow: var(--shadow-pulled); z-index: 1; }
  .drawer:hover .drawer-label, .pdrawer button:hover .pdrawer-label { box-shadow: 0 0 0 2px var(--orange), 0 0 0 3px rgb(5 12 45 / 0.35); }
}


/* ---------------------------------------------------------------- secciones */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.pickup { background: var(--steel); }
.pickup-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pickup-copy p { margin: 20px 0 28px; max-width: 36em; color: var(--ink-2); }
/* Albarán de mostrador */
.ticket { counter-reset: paso; background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow-paper); padding: 12px 28px 8px; position: relative; -webkit-mask: radial-gradient(circle 6px at 12px 0, transparent 98%, #000) -12px 0 / 24px 100% repeat-x; mask: radial-gradient(circle 6px at 12px 0, transparent 98%, #000) -12px 0 / 24px 100% repeat-x; }
.ticket li { counter-increment: paso; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.ticket li:last-child { border-bottom: 0; }
.ticket li::before { content: counter(paso); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--blue-night); font-weight: 800; font-style: italic; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.ticket strong { font-size: 1.125rem; font-weight: 700; }
.ticket span { color: var(--ink-2); }

.shop-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.shop-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }
.shop-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-copy p { margin: 20px 0 28px; color: var(--ink-2); max-width: 36em; }
.facts li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts strong { flex: none; min-width: 6.5ch; color: var(--blue); font-size: 1.375rem; font-weight: 820; font-style: italic; font-stretch: 110%; font-variant-numeric: tabular-nums; }

/* Tablero perforado de marcas */
.brands { background-color: var(--steel-2); background-image: radial-gradient(circle at center, #aab2c3 0 2.4px, transparent 3px); background-size: 26px 26px; background-position: 13px 13px; }
.brands h2 { display: inline-block; background: var(--steel-2); padding-right: 12px; }
/* Panel de marcas: cada logo es una etiqueta colgada de un gancho del panel perforado. Se balancea
   al pasar el ratón o al tocarla, y un poco al aparecer en pantalla (nunca con movimiento reducido). */
.pegboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 18px; margin-top: 36px; }
.pegboard li { position: relative; display: flex; justify-content: center; padding-top: 14px; }
.pegboard li::before { content: ''; position: absolute; z-index: 2; top: 0; left: 50%; width: 12px; height: 12px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4f6fa, #8c95a8 70%); box-shadow: 0 1px 2px rgb(19 26 58 / 0.35); }
.pegboard li::after { content: ''; position: absolute; z-index: 1; top: 6px; left: 50%; width: 3px; height: 17px; translate: -50% 0; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, #7d8699, #eef0f5 45%, #8a93a6); }
.tag { position: relative; display: grid; place-items: center; width: 100%; min-height: 86px; padding: 24px 16px 14px; background: var(--paper); border-radius: var(--r-sm); box-shadow: 0 1px 2px rgb(19 26 58 / 0.12), 0 8px 16px -8px rgb(19 26 58 / 0.3); transform-origin: 50% 9px; }
.tag::before { content: ''; position: absolute; top: 4px; left: 50%; width: 11px; height: 11px; translate: -50% 0; border-radius: 50%; background: var(--steel-3); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.35); }
.tag img { max-height: 40px; max-width: 100%; width: auto; height: auto; mix-blend-mode: multiply; }
.tag.dark { background: #262626; }
.tag.dark img { mix-blend-mode: normal; }
.tag.is-swinging { animation: tag-swing var(--swing-time, 1100ms) cubic-bezier(0.25, 0.6, 0.35, 1) var(--swing-delay, 0ms) both; }
@keyframes tag-swing {
  0% { rotate: 0deg; }
  14% { rotate: var(--swing, 7deg); }
  36% { rotate: calc(var(--swing, 7deg) * -0.55); }
  58% { rotate: calc(var(--swing, 7deg) * 0.28); }
  78% { rotate: calc(var(--swing, 7deg) * -0.12); }
  100% { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) { .tag.is-swinging { animation: none; } }

.cat-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cat-in > div:first-child p { margin: 20px 0 16px; color: var(--ink-2); max-width: 34em; }
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 48px 1fr 20px; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 160ms ease; }
.cat-row strong { display: block; font-size: 1.125rem; }
.cat-row small { display: block; color: var(--ink-2); font-size: 0.9375rem; }
.cat-row > .icon { width: 20px; height: 20px; color: var(--ink-2); }
.cat-spine { display: grid; place-items: center; width: 48px; height: 60px; border-radius: 3px 6px 6px 3px; color: #fff; box-shadow: inset 4px 0 0 rgb(0 0 0 / 0.18); }
.cat-spine .icon { width: 22px; height: 22px; }
.cat-industrial { background: var(--blue); }
.cat-home { background: var(--orange); color: var(--blue-night); }
.cat-tornilleria { background: #3e4767; }
@media (hover: hover) and (pointer: fine) { .cat-row:hover { background: var(--steel); } .cat-row:hover strong { text-decoration: underline; } }

.visit { border-top: 1px solid var(--line); }
.visit-in { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.visit address { margin: 20px 0 24px; font-size: 1.125rem; }
.visit .small { margin-top: 10px; }
.visit h3 { font-size: 1rem; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.big-tel { display: block; width: fit-content; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 820; font-style: italic; font-stretch: 110%; color: var(--blue); text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.2; }
.big-tel-2 { display: flex; align-items: center; min-height: 44px; font-size: 1.375rem; color: var(--ink-2); margin: 0 0 6px; }
@media (hover: hover) and (pointer: fine) { .big-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; } }
.hours { margin: 0; display: grid; gap: 10px; font-variant-numeric: tabular-nums; }
.hours div { display: grid; gap: 2px; }
.hours dt { font-size: 0.9375rem; color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 700; }
.hours-note { margin-top: 12px; font-size: 0.875rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- pie */
.site-footer { background: var(--blue-night); color: var(--on-blue-2); padding: 64px 0 0; }
.site-footer a { color: #fff; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.f-brand .logo { width: 180px; }
.f-brand p { margin-top: 18px; max-width: 30em; font-size: 0.9375rem; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer address { line-height: 1.6; }
.f-hours { margin: 12px 0 4px; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.site-footer .hours dt, .site-footer .hours-note { color: var(--on-blue-2); }
.site-footer .hours dd { color: #fff; }
.f-tel { display: block; font-size: 1.25rem; font-weight: 800; font-style: italic; font-stretch: 108%; text-decoration: none; font-variant-numeric: tabular-nums; }
.f-link { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 6px; min-height: 40px; font-size: 0.9375rem; overflow-wrap: anywhere; }
.f-link .icon { width: 16px; height: 16px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 28px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.875rem; }
.footer-legal nav { display: flex; gap: 20px; }
.footer-legal a { min-height: 40px; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- páginas interiores */
.page-head { position: relative; background: var(--blue); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-head p { margin-top: 16px; max-width: 40em; font-size: 1.125rem; color: var(--on-blue-2); }

.products { padding: 40px 0 72px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search .icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 16px 0 48px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 1rem; caret-color: var(--orange); transition: border-color 160ms ease; }
.search input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #6b7391; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(242 139 1 / 0.45); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 2px solid var(--line); background: var(--paper); font-weight: 600; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.tab:active { transform: scale(0.97); }
.tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tab:hover:not([aria-pressed="true"]) { border-color: var(--ink-2); } }
.count { margin: 24px 0 14px; color: var(--ink-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.count span { font-weight: 700; color: var(--ink); }
.pcabinet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px; background: var(--steel-2); border-radius: var(--r-lg); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -2px 0 var(--steel-3); }
.pdrawer[hidden] { display: none; }
.pdrawer button { width: 100%; height: 100%; padding: 10px 10px 34px; border: 0; cursor: pointer; text-align: left; gap: 10px; }
.pdrawer-tray { display: block; width: 100%; border-radius: var(--r-sm); overflow: hidden; background: var(--blue-night); box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.5); }
.pdrawer-tray img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }
.pdrawer-label { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px 12px; background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 2px var(--steel-3), 0 0 0 3px rgb(5 12 45 / 0.35); transition: box-shadow 200ms var(--ease-out); flex: 1; }
.pdrawer-label .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.pdrawer-label strong { display: block; font-weight: 700; font-stretch: 92%; line-height: 1.2; }
.pdrawer-label small { display: block; margin-top: 3px; color: var(--ink-2); font-size: 0.8125rem; line-height: 1.35; }
.pdrawer .drawer-pull { bottom: 12px; height: 10px; width: 34%; }
.pdrawer.is-entering button { animation: drawer-in 260ms var(--ease-out); }
.empty { padding: 48px 24px; text-align: center; background: var(--steel); border-radius: var(--r-lg); }
.empty h2 { font-size: 1.75rem; }
.empty p { margin: 10px auto 24px; max-width: 34em; color: var(--ink-2); }
.empty-actions, .help-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.help { background: var(--blue-night); color: #fff; }
.help-in { text-align: center; }
.help h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.help p { margin: 16px auto 28px; max-width: 38em; color: var(--on-blue-2); }

/* Ficha de familia */
.sheet { width: min(880px, 100% - 32px); max-height: min(92dvh, 760px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(5 10 40 / 0.6); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgb(9 15 48 / 0.62); }
.sheet-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.sheet-photo { background: var(--blue-night); }
.sheet-photo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.sheet-body { padding: 36px 32px 32px; }
.sheet-group { font-size: 0.9375rem; font-weight: 600; color: var(--blue); }
.sheet h2 { margin-top: 6px; font-size: clamp(1.625rem, 3vw, 2.125rem); }
.sheet-body > p:not([class]) { margin-top: 14px; color: var(--ink-2); }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sheet-tags li { padding: 4px 10px; border-radius: var(--r-sm); background: var(--steel); font-size: 0.875rem; font-weight: 600; }
.sheet-note { margin-top: 20px; font-size: 0.875rem; color: var(--ink-2); }
.sheet-actions { display: grid; gap: 10px; margin-top: 20px; }
.sheet-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgb(5 10 40 / 0.25); transition: transform 140ms var(--ease-out); }
.sheet-close:active { transform: scale(0.94); }
.sheet-close .icon { width: 22px; height: 22px; }
.sheet[open] { animation: sheet-in 240ms var(--ease-out); }
.sheet[open]::backdrop { animation: fade-in 240ms ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* Catálogos */
.catalogs { padding: 48px 0 72px; }
.binders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.binder a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--paper); text-decoration: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-paper); overflow: hidden; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.binder a:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .binder a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--steel-3), 0 18px 36px -14px rgb(19 26 58 / 0.4); } .binder a:hover .binder-open { text-decoration: underline; } }
.binder-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.binder-img { width: 100%; height: 100%; object-fit: cover; }
.binder-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 16px; color: #fff; font-size: 1.5rem; font-weight: 820; font-style: italic; font-stretch: 110%; line-height: 1.05; background: var(--blue); }
.binder-title small { display: block; font-size: 0.875rem; font-style: normal; font-weight: 600; font-stretch: 100%; color: var(--on-blue-2); margin-bottom: 2px; }
.binder-home .binder-title { background: var(--orange); color: var(--blue-night); }
.binder-home .binder-title small { color: rgb(15 26 82 / 0.8); }
.binder-tornilleria .binder-title { background: #3e4767; }
.binder-body { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; flex: 1; padding: 20px; color: var(--ink-2); }
.binder-open { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; }
.binder-open .icon { width: 18px; height: 18px; }
.catalogs > .small { margin-top: 18px; }
.portal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding: 32px; border-radius: var(--r-lg); background: var(--steel); }
.portal h2 { font-size: 1.75rem; }
.portal p { margin-top: 8px; color: var(--ink-2); }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); padding: 48px 0 88px; align-items: start; }
.contact-ways { display: grid; border-top: 1px solid var(--line); }
.way { display: flex; gap: 16px; align-items: flex-start; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 160ms ease; }
.way > .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--blue); }
.way small { display: block; font-size: 0.875rem; color: var(--ink-2); margin-bottom: 2px; }
.way strong { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.way-call strong { font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-style: italic; font-stretch: 110%; color: var(--blue); }
.way .mail { font-size: 1.0625rem; word-break: break-all; }
.way address { font-weight: 600; }
.way .hours { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { a.way:hover { background: var(--steel); } }
.order { padding: clamp(24px, 4vw, 40px); background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow-paper); border-top: 8px solid var(--orange); }
.order h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.order-intro { margin: 10px 0 24px; color: var(--ink-2); font-size: 0.9375rem; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 12px 14px; min-height: 50px; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 1rem; caret-color: var(--orange); transition: border-color 160ms ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(242 139 1 / 0.45); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.err { margin-top: 6px; color: #b3261e; font-size: 0.875rem; font-weight: 600; }
.status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: #eaf6ec; color: #1d4d26; font-size: 0.9375rem; }
.status a { font-weight: 700; }
.privacy-note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; }

/* Textos legales */
.legal { max-width: 72ch; padding: 48px 0 88px; }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.legal-data { margin: 18px 0 0; border-top: 1px solid var(--line); }
.legal-data div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-data dt { font-weight: 700; }
.legal-data dd { margin: 0; color: var(--ink-2); }
.pending { background: #fff1d6; color: #6b3c00; padding: 1px 6px; border-radius: 3px; outline: 1px dashed var(--orange); font-weight: 600; }
.legal .small { margin-top: 36px; }

/* Barra rápida en móvil */
.dock { display: none; }

/* ---------------------------------------------------------------- adaptación */
@media (max-width: 1023px) {
  .hero-in, .pickup-in, .cat-in { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40em; }
  .shop-in { grid-template-columns: 1fr; }
  .visit-in { grid-template-columns: 1fr 1fr; }
  .visit-in > div:first-child { grid-column: 1 / -1; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .pcabinet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .binders { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .sheet-in { grid-template-columns: 1fr; }
  .sheet-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .header-in { min-height: 64px; gap: 12px; }
  .brand .logo { width: 124px; }
  .header-call { margin-left: auto; padding: 0 12px; }
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 48px; height: 48px; border: 0; border-radius: var(--r); background: var(--steel); cursor: pointer; }
  .menu-btn i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 200ms var(--ease-out); }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--paper); box-shadow: 0 16px 24px -12px rgb(19 26 58 / 0.3); opacity: 0; translate: 0 -8px; visibility: hidden; transition: opacity 180ms var(--ease-out), translate 180ms var(--ease-out), visibility 0s linear 180ms; }
  .nav.is-open { opacity: 1; translate: 0 0; visibility: visible; transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 0s; }
  .nav a { min-height: 56px; padding: 0 4px; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .nav a::after { left: 4px; right: auto; width: 32px; bottom: 10px; }
}
@media (max-width: 719px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .header-call span { display: none; }
  .header-call { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .header-call .icon { width: 22px; height: 22px; }
  .hero-in { padding: 36px 0 56px; gap: 32px; }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .drawer { aspect-ratio: 1; padding: 12% 8% 0; }
  .drawer-label { flex-direction: column; gap: 4px; padding: 7px 4px; text-align: center; font-size: 0.8125rem; }
  .drawer-label .icon { width: 20px; height: 20px; }
  .drawer-pull { bottom: 14%; }
  .ticket { padding: 8px 18px 4px; }
  .visit-in { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 32px; }
  .pcabinet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; }
  .pdrawer button { padding: 6px 6px 26px; gap: 6px; }
  .pdrawer-label { padding: 8px; gap: 6px; }
  .pdrawer-label .icon { display: none; }
  .pdrawer-label strong { font-size: 0.9375rem; }
  .pdrawer .drawer-pull { bottom: 9px; height: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tab { flex: none; }
  .search { max-width: none; }
  .binders { grid-template-columns: 1fr; }
  .portal { padding: 24px; }
  .legal-data div { grid-template-columns: 1fr; gap: 2px; }
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; border-radius: 16px 16px 0 0; }
  .sheet[open] { animation-name: sheet-up; animation-duration: 280ms; animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .sheet-body { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: 0 -1px 0 var(--line), 0 -8px 20px -10px rgb(19 26 58 / 0.25); transition: translate 200ms var(--ease-out); }
  .dock[hidden] { display: grid; translate: 0 110%; }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r); font-size: 0.8125rem; font-weight: 700; text-decoration: none; color: var(--ink); }
  .dock a:first-child { background: var(--orange); color: var(--blue-night); }
  .dock .icon { width: 22px; height: 22px; }
  .dock a:active { transform: scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .sheet[open], .sheet[open]::backdrop { animation: fade-in 160ms ease !important; }
  .pdrawer.is-entering button { animation: none; }
}
@media print { .site-header, .dock, .site-footer nav, .hero-actions { display: none; } }

.pcabinet[hidden] { display: none; }
@media (max-width: 479px) { .facts li { flex-direction: column; gap: 2px; } }

/* ---------------------------------------------------------------- cajonero del inicio
   Mueble de taller: tapa de acero, cuerpo azul noche, cajones de chapa azul y zócalo.
   Cada cajón es un enlace. Al abrirse (ratón, teclado o solo, de uno en uno) sale hacia
   el visitante: el frente baja y crece, y por arriba asoma el interior fotografiado.
   Solo se animan transform y opacity. */
.cabinet { --fh: 88px; --gap: 3px; --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); position: relative; isolation: isolate; justify-self: end; width: 100%; max-width: 620px; padding: 0 7px; }
/* Sombra en el suelo */
.cabinet::after { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: -24px; height: 40px; background: radial-gradient(50% 50% at 50% 50%, rgb(3 6 30 / 0.6), rgb(3 6 30 / 0) 72%); pointer-events: none; }
/* Tapa */
.cab-top { position: relative; z-index: 6; display: block; height: 15px; margin: 0 -7px; border-radius: 3px 3px 2px 2px; background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0.55) 24%, rgb(255 255 255 / 0) 52%, rgb(20 28 70 / 0.12) 100%), linear-gradient(180deg, #f7f9fc 0%, #dfe4ec 30%, #bcc4d2 80%, #8f99ad 100%); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgb(3 8 40 / 0.7), 0 7px 9px -3px rgb(3 8 40 / 0.55); }
/* Cuerpo: montantes a los lados y hueco oscuro donde encajan los frentes */
.cab-body { position: relative; padding: 10px 10px 9px; background: linear-gradient(90deg, #1a2b85 0, #111d5c 10px, #0f1a52 50%, #0c1546 calc(100% - 10px), #080f38 100%); box-shadow: 0 34px 60px -22px rgb(3 6 30 / 0.7), 0 10px 18px -8px rgb(3 6 30 / 0.5); }
.cab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: var(--gap); border-radius: 2px; background: #040824; box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.7), 0 1px 0 rgb(255 255 255 / 0.07); }

/* Cajón */
.hd { --h: var(--fh); --s: 1.12; --r: 1; --dmax: 240px; --lift: calc(var(--ft) * 67.2cqw); position: relative; z-index: 0; display: block; height: var(--h); container-type: inline-size; border-radius: 2px; background: #02051a; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: z-index 360ms steps(2, jump-start); }
.hd-wide { --h: calc(var(--fh) + 10px); --s: 1.07; --r: 0.62; --dmax: 205px; grid-column: 1 / -1; }
/* Los de abajo salen menos para no tapar el zócalo más de la cuenta */
.hd:nth-last-child(-n+4) { --r: 0.9; }
.hd:nth-last-child(-n+2) { --r: 0.7; }
.hd-clip { position: absolute; inset: 0; clip-path: inset(1px -120px -900px -120px); pointer-events: none; }
.hd-slide { position: absolute; inset: 0 0 auto; height: calc(var(--lift) + var(--h)); transform-origin: 50% 0; transform: translateY(calc(-1 * var(--lift))); transition: transform 360ms var(--ease-out); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Capa propia para cada cajón: Safari en iPhone dejaba de pintar el frente mientras se movía */
.hd-box { position: absolute; inset: 0 0 auto; height: 67.2cqw; background: #0a0d18; clip-path: var(--tray); }
.hd-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hd-front { position: absolute; inset: var(--lift) 0 auto; isolation: isolate; height: var(--h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding-top: 1px; border-radius: 5px; background: url(assets/images/cajon-chapa.webp) 50% 50% / 400% 400%, #24409f;
  /* Canto de la chapa pintado con sombras: sin las juntas que dejaba la imagen estirada por trozos */
  box-shadow: inset 0 0 0 1px rgb(6 14 64 / 0.55), inset 0 2px 0 rgb(255 255 255 / 0.22), inset 0 4px 4px -2px rgb(255 255 255 / 0.12), inset 0 -2px 0 rgb(2 6 36 / 0.35), inset 0 -5px 5px -3px rgb(2 6 36 / 0.3), inset 2px 0 2px -1px rgb(255 255 255 / 0.1), inset -2px 0 2px -1px rgb(2 6 36 / 0.2);
  transition: scale 160ms var(--ease-out); }
.hd-front::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 3px; box-shadow: 0 12px 16px -6px rgb(2 5 26 / 0.75), 0 30px 40px -14px rgb(2 5 26 / 0.6); opacity: 0; transition: opacity 360ms var(--ease-out); }
.hd-tag { --th: clamp(36px, 13cqw, 40px); display: flex; align-items: center; justify-content: center; width: min(76%, 232px); height: var(--th); padding: 0 calc(var(--th) * 0.2); border-style: solid; border-width: 0; border-image: url(assets/images/cajon-portaetiquetas.webp) 0 64 fill / 0 calc(var(--th) * 0.421) stretch; filter: drop-shadow(0 1px 1px rgb(2 6 30 / 0.6)); }
.hd-name { overflow: hidden; color: #161d3f; font-size: clamp(0.9375rem, 5.6cqw, 1.0625rem); font-weight: 700; font-stretch: 82%; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; }
.hd-pull { --ph: 21px; width: min(48%, 196px); height: var(--ph); border-style: solid; border-width: 0; border-image: url(assets/images/cajon-tirador.webp) 0 66 fill / 0 calc(var(--ph) * 0.846) stretch; filter: drop-shadow(0 3px 2px rgb(2 6 30 / 0.5)); }
.hd-wide .hd-tag { --th: clamp(40px, 7cqw, 44px); width: min(60%, 310px); }
.hd-wide .hd-name { font-size: clamp(1.0625rem, 3.2cqw, 1.1875rem); }
.hd-wide .hd-pull { --ph: 23px; width: min(44%, 250px); }
/* Sombra que el mueble echa sobre el cajón abierto */
.hd-shade { position: absolute; inset: 0 0 auto; height: min(30cqw, 84px); background: linear-gradient(180deg, rgb(2 4 20 / 0.94) 0%, rgb(2 4 20 / 0.5) 30%, rgb(2 4 20 / 0) 100%); opacity: 0; transition: opacity 240ms var(--ease-out); }

/* Abierto */
.hd.is-open, .hd:focus-visible { z-index: 4; transition: z-index 0s; }
.hd.is-open .hd-slide, .hd:focus-visible .hd-slide { transform: translateY(calc(min(var(--r) * var(--lift) * var(--s), var(--dmax)) - var(--lift) * var(--s))) scale(var(--s)); transition: transform 520ms var(--ease-drawer); }
.hd.is-open .hd-front::before, .hd:focus-visible .hd-front::before, .hd.is-open .hd-shade, .hd:focus-visible .hd-shade { opacity: 1; transition: opacity 520ms var(--ease-drawer); }
/* Abierto solo: en pantallas táctiles, tocar el cajón abierto lleva a su familia */
.hd.is-open .hd-slide { pointer-events: auto; }
.hd:focus-visible .hd-tag { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.hd:active .hd-front { scale: 0.97; }
@media (hover: hover) and (pointer: fine) {
  .hd:hover { z-index: 4; transition: z-index 0s; }
  .hd:hover .hd-slide { transform: translateY(calc(min(var(--r) * var(--lift) * var(--s), var(--dmax)) - var(--lift) * var(--s))) scale(var(--s)); transition: transform 520ms var(--ease-drawer); }
  .hd:hover .hd-front::before, .hd:hover .hd-shade { opacity: 1; transition: opacity 520ms var(--ease-drawer); }
}

/* Zócalo: enlace a todas las familias */
.cab-foot { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin: 0 16px 7px; background: linear-gradient(180deg, #050925 0%, #0a1240 60%, #0c164a 100%); box-shadow: inset 0 8px 10px -5px rgb(0 0 0 / 0.75); color: var(--on-blue); font-weight: 700; text-decoration: none; }
.cab-foot::before, .cab-foot::after { content: ""; position: absolute; bottom: -7px; width: 38px; height: 7px; border-radius: 0 0 2px 2px; background: linear-gradient(180deg, #7d879c, #c6ccd8 45%, #8992a6); }
.cab-foot::before { left: 14px; }
.cab-foot::after { right: 14px; }
.cab-foot .icon { width: 18px; height: 18px; color: var(--orange); transition: transform 200ms var(--ease-out); }
.cab-foot:focus-visible { outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) {
  .cab-foot:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .cab-foot:hover .icon { transform: translateX(4px); }
}

@media (max-width: 1023px) {
  .cabinet { justify-self: start; max-width: 680px; }
}
@media (max-width: 719px) {
  .cabinet { --fh: 82px; padding: 0 5px; }
  .cab-top { height: 13px; margin: 0 -5px; }
  .cab-body { padding: 8px 8px 7px; }
  .hd-front { gap: 8px; }
  .hd-tag { --th: 34px; width: min(84%, 232px); }
  .hd-name { font-size: 0.875rem; font-stretch: 78%; }
  .hd-pull { --ph: 17px; width: 52%; }
  .hd-wide .hd-tag { --th: 36px; width: min(64%, 290px); }
  .hd-wide .hd-name { font-size: 0.9375rem; }
  .hd-wide .hd-pull { --ph: 18px; width: 44%; }
  .cab-foot { margin-inline: 12px; }
}
@media (max-width: 359px) {
  .hd-name { font-size: 0.8125rem; font-stretch: 75%; }
}
@media (prefers-reduced-motion: reduce) {
  .hd, .hd-slide, .hd-front, .hd-front::before, .hd-shade, .cab-foot .icon { transition-duration: 0s !important; }
}
