  @font-face { font-family: "Jost"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/jost.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  @font-face { font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/questrial.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
  /* Paleta Chilian (tools/palette.py): ocre, negro y crema */
  :root:root:root { --card: #171512; --cyan: #0B0B0B; --ink: #F3EBDD; --magenta: #C9922E; --on-accent: #0B0B0B; --paper: #0B0B0B; --press: #A6E22E; --rule: rgba(243,235,221,.16); --shade: rgba(243,235,221,.06); --steel: #B9AF9E; color-scheme: dark; }

  /* Layout: una "orden de producción" — bandas a todo lo ancho, fotos de planta
     enmarcadas con marcas de registro, datos técnicos en mono como en una ficha. */
  :root {
    --paper:   #F4F3F5;  /* papel de prueba, gris frío con un toque magenta */
    --card:    #FFFFFF;
    --ink:     #151316;  /* tinta plastisol negra */
    --steel:   #67626B;  /* malla de acero: texto secundario */
    --rule:    rgba(21,19,22,.14);
    --magenta: #C9922E;  /* la emulsión magenta de las pantallas de la planta */
    --press:   #7DB300;  /* el verde de los pulpos Roq: solo para señales "en línea" */
    --on-accent: #FFFFFF;
    --shade:   rgba(21,19,22,.06);
    --cyan:    #1CA7D8;  /* second registration ink, only in the hero print-in */

    --f-display: "Jost", "Century Gothic", "Futura", sans-serif;
    --f-body:    "Questrial", "Century Gothic", "Avenir", Arial, sans-serif;
    --f-mono:    "Jost", "Century Gothic", sans-serif;

    --gutter-l: max(16px, env(safe-area-inset-left, 0px));
    --gutter-r: max(16px, env(safe-area-inset-right, 0px));
    --max: 1240px;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #121013; --card: #1C191D; --ink: #EFEDF0; --steel: #A19BA5;
      --rule: rgba(239,237,240,.14); --magenta: #C9922E; --press: #A6E22E;
      --on-accent: #120A0E; --shade: rgba(239,237,240,.05); color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --paper: #121013; --card: #1C191D; --ink: #EFEDF0; --steel: #A19BA5;
    --rule: rgba(239,237,240,.14); --magenta: #C9922E; --press: #A6E22E;
    --on-accent: #120A0E; --shade: rgba(239,237,240,.05); color-scheme: dark;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  }
  /* The band above the sticky header on phones with a notch. */
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
  img { max-width: 100%; height: auto; display: block; }
  [hidden] { display: none !important; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
  h1, h2, h3 { text-wrap: balance; margin: 0; }
  p { margin: 0; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* One wrapper gives every band the same side gutter and max width. */
  .wrap { max-width: calc(var(--max) + 32px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
  .band { padding-block: clamp(4rem, 9vw, 7.5rem); }

  /* Type scale */
  .kicker {
    font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel);
    display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
  }
  .kicker svg { width: 14px; height: 14px; flex: none; }
  .h2 {
    font: 650 clamp(1.72rem, 4.22vw, 3.3rem)/1.04 var(--f-display); text-transform: uppercase; letter-spacing: -.005em;
  }
  .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 60ch; color: var(--steel); }
  .mono { font-family: var(--f-mono); }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
  @media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
    padding: .95rem 1.4rem; border-radius: 2px; border: 1.5px solid var(--ink);
    background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
    font: 600 .82rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .btn-accent { background: var(--magenta); border-color: var(--magenta); color: var(--on-accent); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn .arrow { transition: transform .2s ease; }
  @media (hover: hover) {
    .btn:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
    .btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
    .btn:hover .arrow { transform: translateX(4px); }
  }
  .btn:active { transform: scale(.98); }

  /* The registration mark (the crosshair printers use to line up each color). */
  .reg-corner { position: absolute; width: 22px; height: 22px; color: var(--ink); pointer-events: none; z-index: 2; }
  .reg-corner.tl { top: -11px; left: -11px; } .reg-corner.tr { top: -11px; right: -11px; }
  .reg-corner.bl { bottom: -11px; left: -11px; } .reg-corner.br { bottom: -11px; right: -11px; }

  /* ---------- TOP STRIP: the credentials, before anything else ---------- */
  html, body { overflow-x: clip; }
  .usa-photo { overflow: hidden; }
  .strip { background: var(--ink); color: var(--paper); font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
  .strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .55rem; }
  .strip .live { display: inline-flex; align-items: center; gap: .5rem; }
  .strip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--press); box-shadow: 0 0 0 3px color-mix(in srgb, var(--press) 30%, transparent); }
  .strip a { text-decoration: none; display: inline-block; padding-block: .45rem; margin-block: -.45rem; }
  .strip-links { display: flex; gap: 1.2rem; }
  @media (pointer: coarse) { .strip a { padding-block: .85rem; margin-block: -.85rem; min-height: 44px; display: inline-flex; align-items: center; } .strip .wrap { padding-block: .25rem; } }
  @media (max-width: 720px) { .strip-links .hide-sm { display: none; } .strip .live span.long { display: none; } }

  /* ---------- HEADER ---------- */
  .site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
  }
  .site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
  .ch-logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
  .ch-logo img { width: 2.3rem; height: 2.3rem; flex: none; }
  .ch-logo .ch-word { display: block; width: 7.6rem; aspect-ratio: 669 / 96; background: currentColor; -webkit-mask: url(/logos/chilian-wordmark.png) left center / contain no-repeat; mask: url(/logos/chilian-wordmark.png) left center / contain no-repeat; }
  .ch-logo .ch-tag { display: block; margin-top: .3rem; font: 400 .58rem/1.2 "Questrial", "Century Gothic", sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
  .ch-logo .ch-tag i { font-style: normal; color: #C9922E; }
  .site-header .ch-logo { color: #FFFFFF; }   /* header logo in pure white */
  .brand { margin-right: auto; }
  .brand { min-width: 0; flex-shrink: 1; }
  @media (max-width: 1380px) { .brand .ch-tag { display: none; } }
  @media (max-width: 560px) { .brand img { width: 2rem; height: 2rem; } .brand .ch-word { width: 5.6rem; } .brand { gap: .45rem; } }
  @media (max-width: 370px) { .brand .ch-word { display: none; } }
  .nav { display: flex; gap: 1.3rem; }
  .nav a, .site-header .btn { white-space: nowrap; }
  .nav a {
    text-decoration: none; font: 500 .9rem var(--f-body);
    background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 2px no-repeat; padding-bottom: 3px;
    transition: background-size .25s ease;
  }
  @media (hover: hover) { .nav a:hover { background-size: 100% 2px; } }
  .lang {
    display: inline-flex; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden;
  }
  .lang button {
    background: none; border: 0; color: var(--steel); cursor: pointer; padding: .45rem .55rem;
    font: 500 .7rem var(--f-mono); letter-spacing: .1em;
  }
  .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .menu-btn { display: none; background: none; border: 1px solid var(--rule); color: var(--ink); width: 42px; height: 42px; cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  @media (max-width: 1020px) {
    .nav, .site-header .btn { display: none; }
    .menu-btn { display: inline-grid; place-items: center; }
  }

  /* ---------- HERO ---------- */
  .hero > .wrap {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem);
    /* Top-aligned: if the headline reflows while the fonts arrive, the photo stays put. */
    align-items: start; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem);
  }
  .hero h1 {
    font: 700 clamp(2.24rem, 5.68vw, 4.88rem)/1.04 var(--f-display); text-transform: uppercase; letter-spacing: -.01em;
    margin-bottom: 1.6rem;
  }
  .hero h1 .line { display: block; }
  .hero h1 em { font-style: normal; color: var(--magenta); }
  /* Registro: each line is printed twice more (magenta and steel) a few pixels
     off, then the layers slide into register, like a press dialing in a job. */
  .reg { position: relative; display: inline-block; }
  .reg::before, .reg::after {
    content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
    animation: register 1.5s cubic-bezier(.2,.75,.2,1) .25s both;
  }
  .reg::before { color: var(--magenta); --dx: -10px; --dy: 6px; }
  .reg::after  { color: var(--cyan); --dx: 8px; --dy: -5px; animation-delay: .4s; }
  :root[data-theme="dark"] .reg::before, :root[data-theme="dark"] .reg::after { mix-blend-mode: screen; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reg::before, :root:not([data-theme="light"]) .reg::after { mix-blend-mode: screen; } }
  @keyframes register {
    0%   { transform: translate(var(--dx), var(--dy)); opacity: .9; }
    75%  { transform: translate(0, 0); opacity: .55; }
    100% { transform: translate(0, 0); opacity: 0; }
  }
  .hero .lead { margin-bottom: 2rem; color: var(--ink); opacity: .82; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
  .hero-photo { position: relative; margin: 0; }
  .hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% center; }
  .hero-photo figcaption {
    position: absolute; left: 0; bottom: 0; right: 0; z-index: 1;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding: 2.5rem 1rem .9rem; color: #fff;
    background: linear-gradient(to top, rgba(10,8,10,.78), transparent);
    font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  }
  @media (max-width: 860px) {
    .hero > .wrap { grid-template-columns: 1fr; }
    .hero-photo img { aspect-ratio: 4 / 3; }
  }

  /* Spec strip: the four numbers that matter to a buyer. */
  .specs { border-block: 1px solid var(--rule); }
  .specs dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
  .specs dl > div { padding: 1.6rem 1.2rem 1.5rem; border-left: 1px solid var(--rule); }
  .specs dl > div:first-child { border-left: 0; padding-left: 0; }
  .specs dt { font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
  .specs dd { margin: 0 0 .35rem; font: 650 clamp(1.45rem, 2.9vw, 2.24rem)/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  .specs dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
  .specs dd small { font-size: .45em; color: var(--steel); margin-left: .15em; }
  @media (max-width: 760px) {
    .specs dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specs dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .specs dl > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  }

  /* ---------- LOGO MARQUEE ---------- */
  .trusted { padding-block: 2.6rem 2.8rem; overflow: hidden; }
  .trusted p { font: 500 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.4rem; }
  .marquee { display: flex; width: max-content; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; animation: slide 38s linear infinite; }
  .marquee-mask { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
  @media (hover: hover) { .marquee-mask:hover .marquee { animation-play-state: paused; } }
  @keyframes slide { to { transform: translateX(calc(-50% - clamp(1.25rem, 3vw, 2.5rem))); } }
  /* Every logo is a mask filled with the text color, so it reads in both themes. */
  .logo {
    display: block; height: var(--h, 40px); aspect-ratio: var(--ar); background: var(--ink); opacity: .78; flex: none;
    -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  }

  /* ---------- THREE DOORS ---------- */
  .doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .door {
    position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .door-photo { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
  .door-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .door-tag {
    position: absolute; top: .8rem; left: .8rem; background: var(--paper); color: var(--ink);
    font: 500 .64rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .55rem;
  }
  .door-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
  .door h3 { font: 650 1.32rem/1.04 var(--f-display); text-transform: uppercase; }
  .door ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .95rem; }
  .door li { padding-left: 1.1rem; position: relative; }
  .door li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--ink); }
  .door-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
  .door-foot .mono { font-size: .72rem; letter-spacing: .08em; color: var(--steel); text-transform: uppercase; }
  .door-link { all: unset; cursor: pointer; padding: .7rem 0; margin: -.7rem 0; font: 600 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
  /* The whole card is clickable: the link's ::after stretches over it. */
  .door-link::after { content: ""; position: absolute; inset: 0; }
  .door-link:focus-visible { outline: none; }
  .door:has(.door-link:focus-visible) { outline: 2px solid var(--magenta); outline-offset: 4px; }
  @media (hover: hover) {
    .door:hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--shade); }
    .door:hover .door-photo img { transform: scale(1.05); }
  }
  /* More lines: a quiet list under the doors, one row each, no cards. */
  .more-lines { margin-top: 2.2rem; border-top: 1px solid var(--rule); }
  .mini { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: .4rem 2rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
  .mini > div { display: contents; }
  @media (max-width: 640px) { .mini { grid-template-columns: 1fr; } }
  .mini h4 { margin: 0 0 .15rem; font: 600 0.83rem/1.04 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
  .mini p { font-size: .88rem; color: var(--steel); }
  @media (max-width: 900px) { .doors, .more-lines { grid-template-columns: 1fr; } .door-photo { aspect-ratio: 16 / 9; } }

  /* ---------- THE PLANT (inverted band) ---------- */
  .plant { background: var(--ink); color: var(--paper); }
  .plant .lead { color: color-mix(in srgb, var(--paper) 70%, transparent); }
  .plant .kicker { color: color-mix(in srgb, var(--paper) 62%, transparent); }
  .plant-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .big-numbers { display: grid; gap: 1.6rem; margin: 2.2rem 0 2.4rem; }
  .big-numbers div { border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); padding-top: 1rem; }
  .big-numbers strong { display: block; font: 700 clamp(2.24rem, 4.62vw, 3.7rem)/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  .big-numbers span { font: 500 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 62%, transparent); }
  .plant .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  @media (hover: hover) { .plant .btn:hover { background: transparent; border-color: var(--paper); color: var(--paper); } }
  .plant .btn-ghost { background: transparent; color: var(--paper); }

  /* The press park, as a spec sheet. */
  .table-scroll { overflow-x: auto; }
  .presses { width: 100%; border-collapse: collapse; font: 400 .9rem var(--f-mono); font-variant-numeric: tabular-nums; min-width: 460px; }
  .presses caption { text-align: left; font: 500 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 62%, transparent); padding-bottom: .8rem; }
  .presses th { text-align: left; font: 500 .66rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, transparent); padding: .6rem .5rem .6rem 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
  .presses td { padding: .78rem .5rem .78rem 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); }
  .presses td:first-child { font-family: var(--f-body); font-weight: 600; }
  .presses .num { text-align: right; padding-right: 0; }
  .presses th.num { padding-right: 0; }
  .presses tfoot td { border-bottom: 0; color: color-mix(in srgb, var(--paper) 62%, transparent); font-size: .78rem; }
  .brand-pill { display: inline-block; padding: .12rem .45rem; border: 1px solid currentColor; font-size: .7rem; letter-spacing: .08em; }

  .plant-photos { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-color: color-mix(in srgb, var(--paper) 40%, transparent) transparent; }
  .plant-photos figure { margin: 0; scroll-snap-align: start; }
  .plant-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .plant-photos figcaption { font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding-top: .6rem; color: color-mix(in srgb, var(--paper) 62%, transparent); }
  @media (max-width: 900px) { .plant-grid { grid-template-columns: 1fr; } .plant-photos { grid-auto-columns: 78%; } }

  /* ---------- PROCESS: five steps on one line, named, not numbered ---------- */
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
  .steps li { padding: 1.8rem 1.2rem 0 0; position: relative; }
  .steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
  .steps h3 { font: 700 1.05rem/1.2 var(--f-body); margin-bottom: .4rem; }
  .steps p { font-size: .92rem; color: var(--steel); }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  .services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: clamp(3rem, 6vw, 4.5rem); }
  .service { background: var(--paper); display: grid; grid-template-rows: auto 1fr; }
  .service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(.25); transition: filter .4s ease; }
  .service div { padding: 1rem 1rem 1.2rem; }
  .service h3 { font: 600 0.89rem/1.04 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .35rem; }
  .service p { font-size: .9rem; color: var(--steel); }
  @media (hover: hover) { .service:hover img { filter: none; } }
  @media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }

  /* ---------- CERTIFICATIONS ---------- */
  .certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .certs .cert:last-child { grid-column: span 2; }
  /* Audits without a logo file show their name as a wordmark. */
  .wordmark { display: flex; align-items: center; height: 76px; font: 700 1.52rem/1.04 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
  .cert-year { font: 500 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
  .cert {
    all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
    padding: 1.3rem; border: 1px solid var(--rule); background: var(--card); transition: border-color .2s ease, transform .2s ease;
  }
  .cert .logo { --h: 76px; opacity: 1; }
  .cert h3 { font: 700 1rem/1.25 var(--f-body); }
  .cert p { font-size: .86rem; color: var(--steel); }
  .cert .more { font: 500 .66rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-top: auto; text-decoration: underline; text-underline-offset: 3px; }
  .cert:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
  @media (hover: hover) { .cert:hover { border-color: var(--ink); transform: translateY(-3px); } }
  @media (max-width: 1000px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cert:last-child { grid-column: span 2; } }
  @media (max-width: 480px) { .certs .cert:last-child { grid-column: auto; } }
  @media (max-width: 480px) { .cert:last-child { grid-column: auto; } }
  @media (max-width: 480px) { .certs { grid-template-columns: 1fr; } }
  .commit { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 2rem; list-style: none; padding: 0; }
  .commit li { display: flex; gap: .7rem; align-items: baseline; font-size: .95rem; border-bottom: 1px solid var(--rule); padding-bottom: .7rem; }
  .commit li::before { content: "✓"; color: var(--ink); font-weight: 700; }
  @media (max-width: 760px) { .commit { grid-template-columns: 1fr; } }

  /* ---------- TECHNIQUES ---------- */
  .techs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .tech {
    all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
    background: var(--ink); color: var(--paper);
  }
  .tech img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s ease; opacity: .92; }
  /* Techniques with no photo yet get a flat swatch of their own ink, lit from above. */
  .tech .swatch {
    position: absolute; inset: 0;
    background: radial-gradient(120% 80% at 30% 10%, color-mix(in srgb, var(--sw, #C9922E) 70%, #fff), var(--sw, #C9922E) 55%, color-mix(in srgb, var(--sw, #C9922E) 55%, #000));
  }
  .tech .label {
    position: absolute; inset: auto 0 0 0; padding: 2.4rem .9rem .9rem;
    background: linear-gradient(to top, rgba(10,8,10,.88), transparent);
  }
  .tech .label strong { display: block; font: 650 1.06rem/1.04 var(--f-display); text-transform: uppercase; }
  .tech .label span { font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
  .tech:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
  @media (hover: hover) { .tech:hover img { transform: scale(1.06); opacity: 1; } }
  @media (max-width: 900px) { .techs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* ---------- WORK (masonry with CSS columns) ---------- */
  .work { columns: 4 240px; column-gap: 1rem; }
  .work button { all: unset; cursor: pointer; display: block; break-inside: avoid; margin-bottom: 1rem; position: relative; width: 100%; }
  .work img { width: 100%; height: auto; transition: opacity .3s ease; }
  .work button:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
  .work .cap {
    position: absolute; left: .6rem; bottom: .6rem; background: var(--paper); color: var(--ink);
    font: 500 .62rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: .3rem .5rem;
    opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
  }
  @media (hover: hover) { .work button:hover .cap { opacity: 1; transform: none; } .work button:hover img { opacity: .9; } }
  .licence-note { margin-top: 1.4rem; font: 400 .74rem/1.5 var(--f-mono); color: var(--steel); max-width: 80ch; }

  /* ---------- LINES + VOLUME PRICING ---------- */
  .lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .line-card { border: 1px solid var(--rule); background: var(--card); display: flex; flex-direction: column; }
  .line-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
  .line-card div { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .5rem; }
  .line-card h3 { font: 650 1.25rem/1.04 var(--f-display); text-transform: uppercase; }
  .line-card .code { font: 500 .66rem var(--f-mono); letter-spacing: .14em; color: var(--steel); }
  .line-card p { font-size: .94rem; color: var(--steel); }
  .line-card .for { font: 500 .72rem/1.5 var(--f-mono); letter-spacing: .04em; color: var(--ink); }
  @media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }

  .calc { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border: 1.5px solid var(--ink); }
  .calc-photo { position: relative; background: var(--ink); }
  .calc-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
  .calc-body { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem; align-content: start; }
  .calc-body h3 { font: 650 1.45rem/1.04 var(--f-display); text-transform: uppercase; }
  .qty-row { display: grid; gap: .5rem; }
  .qty-row label { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .qty-row output { font: 650 1.58rem/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  input[type="range"] { width: 100%; accent-color: var(--ink); }
  .tiers { width: 100%; border-collapse: collapse; font: 400 .85rem var(--f-mono); font-variant-numeric: tabular-nums; }
  .tiers th { font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); text-align: right; padding: .4rem 0; border-bottom: 1px solid var(--rule); }
  .tiers th:first-child, .tiers td:first-child { text-align: left; }
  .tiers td { text-align: right; padding: .5rem 0; border-bottom: 1px solid var(--rule); transition: background-color .2s ease; }
  .tiers tr.on td { background: var(--shade); font-weight: 500; }
  .tiers tr.on td:first-child { box-shadow: inset 3px 0 0 var(--ink); padding-left: .5rem; }
  .calc-total { display: flex; flex-wrap: wrap; gap: .3rem 2rem; align-items: baseline; }
  .calc-total strong { font: 650 1.25rem/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  .fine { font: 400 .72rem/1.5 var(--f-mono); color: var(--steel); }
  @media (max-width: 820px) { .calc { grid-template-columns: 1fr; } .calc-photo img { min-height: 0; aspect-ratio: 16 / 9; } }

  /* ---------- USA / NEARSHORE ---------- */
  .usa { background: var(--card); border-block: 1px solid var(--rule); }
  .usa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .usa-photo { position: relative; }
  .usa-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
  .usa-list { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
  .usa-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
  .usa-list svg { width: 2.2rem; height: 2.2rem; color: var(--ink); }
  .usa-list strong { display: block; font-weight: 600; }
  .usa-list span { color: var(--steel); font-size: .94rem; }
  @media (max-width: 860px) { .usa-grid { grid-template-columns: 1fr; } }

  /* ---------- QUOTE FORM ---------- */
  .quote-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
  .quote-form { display: grid; gap: 1.8rem; }
  .q-step { border: 0; margin: 0; padding: 0 0 1.8rem; border-bottom: 1px solid var(--rule); min-width: 0; }
  .q-step legend { padding: 0; margin-bottom: .9rem; font: 700 1.05rem/1.2 var(--f-body); display: flex; gap: .7rem; align-items: baseline; }
  .q-step legend .n { font: 500 .7rem var(--f-mono); color: var(--steel); letter-spacing: .1em; }
  .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
  .chip { position: relative; }
  .chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .chip span {
    display: inline-block; padding: .62rem .9rem; border: 1px solid var(--rule); background: var(--card); cursor: pointer;
    font: 500 .88rem var(--f-body); transition: border-color .2s ease, background-color .2s ease, color .2s ease;
  }
  .chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .chip input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 2px; }
  @media (hover: hover) { .chip:hover span { border-color: var(--ink); } }
  .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
  .field.full { grid-column: 1 / -1; }
  .field label { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .field input, .field select, .field textarea {
    width: 100%; padding: .8rem .9rem; border: 1px solid var(--rule); border-radius: 2px; background: var(--card); color: var(--ink);
    font: 400 1rem var(--f-body);
  }
  .field textarea { min-height: 96px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--shade); }
  .field input[aria-invalid="true"] { border-color: #D2452B; }
  .err { font: 400 .74rem var(--f-mono); color: #D2452B; min-height: 1em; }
  @media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
  .qty-quick { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
  .qty-quick button { background: none; border: 1px dashed var(--rule); color: var(--steel); padding: .3rem .55rem; cursor: pointer; font: 500 .74rem var(--f-mono); }
  @media (hover: hover) { .qty-quick button:hover { border-color: var(--ink); color: var(--ink); } }

  /* The live work order on the right: what the advisor will receive. */
  .ticket { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); background: var(--card); border: 1.5px solid var(--ink); }
  .ticket-head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.1rem; background: var(--ink); color: var(--paper); font: 500 .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
  .ticket dl { margin: 0; padding: .5rem 1.1rem; display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .ticket dt, .ticket dd { padding: .55rem 0; border-bottom: 1px dashed var(--rule); font-size: .88rem; }
  .ticket dt { font: 500 .66rem/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding-right: 1rem; }
  .ticket dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
  .advisor { padding: 1rem 1.1rem; display: grid; gap: .3rem; background: var(--shade); }
  .advisor .mono { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .advisor strong { font-size: 1.05rem; }
  .advisor span { font-size: .86rem; color: var(--steel); user-select: all; }
  .ticket-actions { padding: 1.1rem; display: grid; gap: .6rem; }
  .ticket-actions .btn { width: 100%; }
  .ticket .fine { padding: 0 1.1rem 1.1rem; }
  .copied { color: var(--press); }
  @media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .ticket { position: static; } }

  /* ---------- COTIZA EN UN MINUTO ---------- */
  .qz-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
  .qz { display: grid; gap: 1.5rem; }
  .qz-step { border: 0; margin: 0; padding: 0 0 1.5rem; border-bottom: 1px solid var(--rule); min-width: 0; display: grid; gap: .6rem; align-content: start; }
  fieldset.qz-step > legend { margin-bottom: .7rem; }
  .qz-label { padding: 0; display: flex; gap: .7rem; align-items: baseline; font: 700 1.05rem/1.2 var(--f-body); }
  .qz-label .n { font: 500 .7rem var(--f-mono); color: var(--steel); letter-spacing: .1em; }

  /* quoter: a quiet icon at the end of each step label (thin strokes, as masks) */
  :root {
  --ic-home: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z%22/%3E%3C/svg%3E");
  --ic-bell: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 9a6 6 0 0 1 12 0c0 6 2 7 2 7H4s2-1 2-7%22/%3E%3Cpath d=%22M10 20a2 2 0 0 0 4 0%22/%3E%3C/svg%3E");
  --ic-inbox: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 13l3-8h12l3 8v6H3z%22/%3E%3Cpath d=%22M3 13h5l1 3h6l1-3h5%22/%3E%3C/svg%3E");
  --ic-kanban: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h4v16H4z%22/%3E%3Cpath d=%22M10 4h4v10h-4z%22/%3E%3Cpath d=%22M16 4h4v13h-4z%22/%3E%3C/svg%3E");
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h16v16H4z%22/%3E%3Cpath d=%22M8 12l3 3 5-6%22/%3E%3C/svg%3E");
  --ic-users: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6%22/%3E%3Cpath d=%22M3 20c0-3 3-5 6-5s6 2 6 5%22/%3E%3Cpath d=%22M17 8a2.5 2.5 0 1 1 0 5%22/%3E%3Cpath d=%22M17 15c2.5 0 4 1.7 4 5%22/%3E%3C/svg%3E");
  --ic-target: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18%22/%3E%3Cpath d=%22M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8%22/%3E%3C/svg%3E");
  --ic-quote: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3h9l4 4v14H6z%22/%3E%3Cpath d=%22M14 3v5h5%22/%3E%3Cpath d=%22M9 13h7%22/%3E%3Cpath d=%22M9 17h7%22/%3E%3C/svg%3E");
  --ic-chart: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20V4%22/%3E%3Cpath d=%22M4 20h16%22/%3E%3Cpath d=%22M8 16v-5%22/%3E%3Cpath d=%22M12 16V8%22/%3E%3Cpath d=%22M16 16v-8%22/%3E%3C/svg%3E");
  --ic-box: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l8 4v10l-8 4-8-4V7z%22/%3E%3Cpath d=%22M4 7l8 4 8-4%22/%3E%3Cpath d=%22M12 11v10%22/%3E%3C/svg%3E");
  --ic-calendar: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h16v14H4z%22/%3E%3Cpath d=%22M4 10h16%22/%3E%3Cpath d=%22M8 3v5%22/%3E%3Cpath d=%22M16 3v5%22/%3E%3C/svg%3E");
  --ic-scan: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8V4h4%22/%3E%3Cpath d=%22M16 4h4v4%22/%3E%3Cpath d=%22M20 16v4h-4%22/%3E%3Cpath d=%22M8 20H4v-4%22/%3E%3Cpath d=%22M7 12h10%22/%3E%3C/svg%3E");
  --ic-truck: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 6h11v10H2z%22/%3E%3Cpath d=%22M13 10h5l3 3v3h-8z%22/%3E%3Cpath d=%22M7 18a2 2 0 1 0 .01 0%22/%3E%3Cpath d=%22M17 18a2 2 0 1 0 .01 0%22/%3E%3C/svg%3E");
  --ic-shield: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l8 3v6c0 4-3 7-8 9-5-2-8-5-8-9V6z%22/%3E%3C/svg%3E");
  --ic-gear: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6%22/%3E%3Cpath d=%22M12 2v3%22/%3E%3Cpath d=%22M12 19v3%22/%3E%3Cpath d=%22M2 12h3%22/%3E%3Cpath d=%22M19 12h3%22/%3E%3Cpath d=%22M5 5l2 2%22/%3E%3Cpath d=%22M17 17l2 2%22/%3E%3Cpath d=%22M19 5l-2 2%22/%3E%3Cpath d=%22M7 17l-2 2%22/%3E%3C/svg%3E");
  --ic-help: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18%22/%3E%3Cpath d=%22M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.4-1 .9-1 1.7%22/%3E%3Cpath d=%22M12 17v.01%22/%3E%3C/svg%3E");
  --ic-plus: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14%22/%3E%3Cpath d=%22M5 12h14%22/%3E%3C/svg%3E");
  --ic-shirt: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 3L3 6l2 4 3-1v11h8V9l3 1 2-4-5-3a4 4 0 0 1-8 0%22/%3E%3C/svg%3E");
  --ic-stack: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8l8-4 8 4-8 4z%22/%3E%3Cpath d=%22M4 12l8 4 8-4%22/%3E%3Cpath d=%22M4 16l8 4 8-4%22/%3E%3C/svg%3E");
  --ic-printer: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 9V4h10v5%22/%3E%3Cpath d=%22M5 9h14v8H5z%22/%3E%3Cpath d=%22M7 14h10v6H7z%22/%3E%3C/svg%3E");
  --ic-drop: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3s6 7 6 11a6 6 0 0 1-12 0c0-4 6-11 6-11z%22/%3E%3C/svg%3E");
  --ic-needle: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 19L19 5%22/%3E%3Cpath d=%22M15 5l4 4%22/%3E%3Cpath d=%22M5 19l1-4 3 3z%22/%3E%3C/svg%3E");
  --ic-pin: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z%22/%3E%3Cpath d=%22M12 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6%22/%3E%3C/svg%3E");
  --ic-ruler: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 15L15 3l6 6L9 21z%22/%3E%3Cpath d=%22M8 8l2 2%22/%3E%3Cpath d=%22M11 5l2 2%22/%3E%3Cpath d=%22M5 11l2 2%22/%3E%3C/svg%3E");
  --ic-tray: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H4z%22/%3E%3Cpath d=%22M4 12h5l1 2h4l1-2h5%22/%3E%3Cpath d=%22M8 19h8%22/%3E%3C/svg%3E");
  }
  .qz-step > .qz-label { position: relative; }
  .qz-step > .qz-label::after { content: ""; width: 16px; height: 16px; margin-left: auto; align-self: center; background: var(--steel); opacity: .55; flex: none; }
  .qz-step:has(#qz-prod) > .qz-label::after { -webkit-mask: var(--ic-shirt) center/contain no-repeat; mask: var(--ic-shirt) center/contain no-repeat; }
  .qz-step:has(#qz-qty) > .qz-label::after { -webkit-mask: var(--ic-stack) center/contain no-repeat; mask: var(--ic-stack) center/contain no-repeat; }
  .qz-step:has(#qz-tec) > .qz-label::after { -webkit-mask: var(--ic-printer) center/contain no-repeat; mask: var(--ic-printer) center/contain no-repeat; }
  .qz-step:has(#qz-inks) > .qz-label::after { -webkit-mask: var(--ic-drop) center/contain no-repeat; mask: var(--ic-drop) center/contain no-repeat; }
  .qz-step:has(#qz-emb) > .qz-label::after { -webkit-mask: var(--ic-needle) center/contain no-repeat; mask: var(--ic-needle) center/contain no-repeat; }
  .qz-step:has(#qz-locs) > .qz-label::after { -webkit-mask: var(--ic-pin) center/contain no-repeat; mask: var(--ic-pin) center/contain no-repeat; }
  .qz-step:has(#qz-size) > .qz-label::after { -webkit-mask: var(--ic-ruler) center/contain no-repeat; mask: var(--ic-ruler) center/contain no-repeat; }
  .qz-step:has(#qz-ext) > .qz-label::after { -webkit-mask: var(--ic-plus) center/contain no-repeat; mask: var(--ic-plus) center/contain no-repeat; }
  .qz-step:has(#qz-del) > .qz-label::after { -webkit-mask: var(--ic-truck) center/contain no-repeat; mask: var(--ic-truck) center/contain no-repeat; }
  .cur { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; margin-left: .6rem; }
  .cur button { background: none; border: 0; color: inherit; font: 600 .66rem var(--f-mono); letter-spacing: .08em; padding: .35rem .6rem; min-height: 32px; cursor: pointer; opacity: .6; }
  .cur button[aria-pressed="true"] { background: var(--paper); color: var(--ink); opacity: 1; }
  .langhint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .9rem; padding: .55rem 1rem; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); font: 500 .82rem var(--f-body); }
  .langhint button { min-height: 36px; padding: .35rem .8rem; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 .68rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .langhint button.ghost { background: none; color: var(--ink); }
  .qz-help { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; padding: .4rem 0; min-height: 44px; background: none; border: 0; color: var(--steel); font: 500 .84rem var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .qz-help::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ic-help) center/contain no-repeat; mask: var(--ic-help) center/contain no-repeat; }
  .qz-help:hover { color: var(--ink); }
  .qz select, .qz-qty input { width: 100%; padding: .85rem .9rem; border: 1px solid var(--rule); border-radius: 2px; background: var(--card); color: var(--ink); font: 500 1.05rem var(--f-body); }
  .qz select:focus, .qz-qty input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--shade); }
  .qz-qty { display: flex; align-items: center; gap: .7rem; }
  .qz-qty input { max-width: 12rem; font: 650 1.06rem/1.04 var(--f-display); font-variant-numeric: tabular-nums; padding: .6rem .8rem; }
  .qz-qty span { font: 500 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .qz-qty input[aria-invalid="true"] { border-color: #D2452B; }
  .qz-range { width: 100%; height: 36px; accent-color: var(--magenta); margin: 0; }
  .qz-hint { margin: 0; font: 400 .74rem/1.45 var(--f-mono); color: var(--steel); }
  .qz-hint:empty { display: none; }
  .qz-hint.warn { color: #D2452B; }
  .qz-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
  .qz-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
  .qz-row .qz-step[hidden] { display: none; }
  .qz-custom { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .6rem; font-size: .85rem; color: var(--steel); }
  .qz-custom input { width: 5rem; min-height: 40px; padding: 0 .5rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
  .qz-custom small { flex-basis: 100%; }
  .qz-line { display: grid; gap: .5rem; margin-top: .9rem; }
  .qz-line[hidden], .qz-line [hidden] { display: none; }
  .qz-seg { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--rule); width: max-content; max-width: 100%; }
  .qz-seg label { position: relative; }
  .qz-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .qz-seg span { display: block; min-width: 2.75rem; padding: .6rem .75rem; text-align: center; cursor: pointer; font: 600 .9rem var(--f-mono); border-right: 1px solid var(--rule); background: var(--card); transition: background-color .2s ease, color .2s ease; }
  .qz-seg label:last-child span { border-right: 0; }
  .qz-seg input:checked + span { background: var(--ink); color: var(--paper); }
  .qz-seg input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: -2px; }
  .qz-seg input:disabled + span { color: var(--steel); opacity: .45; cursor: not-allowed; }
  .qz-seg.wide span { font: 500 .88rem var(--f-body); padding: .6rem 1rem; text-align: left; }
  .qz-seg.wide small { display: block; font: 400 .7rem var(--f-mono); color: inherit; opacity: .75; }
  @media (hover: hover) { .qz-seg label:hover input:not(:checked):not(:disabled) + span { background: var(--shade); } }
  .chip input:disabled + span { opacity: .45; cursor: not-allowed; border-style: dashed; }
  .chip small { font: 400 .68rem var(--f-mono); opacity: .8; }
  .qz-ticket { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); }
  .qz-sum { margin: 0; padding: 1rem 1.1rem .4rem; font: 700 1.1rem/1.3 var(--f-body); }
  .qz-break { margin: 0; padding: .3rem 1.1rem .6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .qz-break dt, .qz-break dd { padding: .45rem 0; border-bottom: 1px dashed var(--rule); font-size: .86rem; }
  .qz-break dt { color: var(--steel); font: 400 .86rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none; padding-right: 1rem; }
  .qz-break dd { margin: 0; text-align: right; font: 500 .86rem var(--f-mono); font-variant-numeric: tabular-nums; }
  .qz-price { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
  .qz-price > div { background: var(--card); padding: .8rem 1.1rem; display: grid; gap: .15rem; align-content: start; }
  .qz-price span, .qz-eta span { font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .qz-price strong { font: 650 clamp(1.06rem, 1.98vw, 1.39rem)/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  .qz-price strong.tick { animation: pop .3s var(--ease-out); }
  .qz-price small, .qz-eta small { font: 400 .72rem var(--f-mono); color: var(--steel); }
  .qz-eta { padding: .8rem 1.1rem; display: grid; gap: .15rem; background: var(--shade); }
  .qz-eta strong { font: 700 1.05rem var(--f-body); }
  .qz-eta strong::first-letter { text-transform: uppercase; }
  .qz-nudge { margin: 0; padding: .7rem 1.1rem; font-size: .88rem; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--magenta) 9%, var(--card)); }
  .qz-nudge button { all: unset; cursor: pointer; font: 600 .74rem var(--f-mono); text-decoration: underline; text-underline-offset: 3px; margin-left: .3rem; }
  .qz-err { margin: 0; padding: .7rem 1.1rem; font: 400 .8rem/1.45 var(--f-mono); color: #D2452B; border-bottom: 1px solid var(--rule); }
  .qz-open { all: unset; cursor: pointer; justify-self: center; display: inline-flex; gap: .45rem; align-items: center; font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: .3rem .2rem; }
  .qz-open b, .mq-open b { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--magenta); color: var(--on-accent); font: 600 .68rem var(--f-mono); }
  .qz-open:focus-visible, .mq-open:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
  .bump b.mq-count, .mq-count.bump { animation: pop .35s var(--ease-out); }
  .mq-open { display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 .7rem; background: none; border: 1px solid var(--rule); color: var(--ink); cursor: pointer; font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
  .mq-open svg { width: 20px; height: 20px; }
  @media (hover: hover) { .mq-open:hover { border-color: var(--ink); } }
  @media (max-width: 1240px) { .mq-open-t { display: none; } }
  .lang, .mq-open, .menu-btn { flex-shrink: 0; }
  @media (max-width: 560px) { .site-header .wrap { gap: .6rem; } .mq-open { padding: 0 .5rem; gap: .3rem; } }
  /* phones: the price rides along at the bottom while you configure */
  .qz-mbar { display: none; }
  @media (max-width: 900px) {
    .qz-grid { grid-template-columns: 1fr; } .qz-ticket { position: static; }
    .qz-mbar { display: flex; position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; align-items: center; gap: .8rem; padding: .6rem .6rem .6rem .9rem; background: var(--ink); color: var(--paper); box-shadow: 0 10px 28px rgba(0,0,0,.28); }
    .qz-mbar div { display: grid; flex: 1; min-width: 0; }
    .qz-mbar span { font: 500 .6rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .qz-mbar strong { font: 650 0.99rem/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
    .qz-mbar button { all: unset; cursor: pointer; padding: .7rem .9rem; background: var(--magenta); color: var(--on-accent); font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
    .qz-mbar button:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
    html.qz-on .wa-float, html.qz-on .to-top { opacity: 0; pointer-events: none; }
  }
  @media (max-width: 560px) { .qz-row { grid-template-columns: 1fr; } .qz-seg.wide { width: 100%; } .qz-seg.wide label { flex: 1; } }

  /* "Mi cotización": a side panel with the list and the request */
  .mq { width: min(620px, 100vw); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-left: 1.5px solid var(--ink); overflow: auto; overscroll-behavior: contain; }
  .mq[open] { animation: mq-in .32s var(--ease-out); }
  .mq.closing { animation: mq-out .24s ease forwards; }
  @keyframes mq-in { from { transform: translateX(40px); opacity: 0; } }
  @keyframes mq-out { to { transform: translateX(40px); opacity: 0; } }
  .mq-body { padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1.6rem; }
  .mq-h { margin: 0 0 .8rem; font: 650 1.06rem/1.04 var(--f-display); text-transform: uppercase; }
  .mq-empty { margin: 0; padding: 1rem; border: 1px dashed var(--rule); color: var(--steel); font-size: .92rem; }
  .mq-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
  .mq-items:empty { display: none; }
  .mq-item { border: 1px solid var(--rule); background: var(--card); padding: .8rem .9rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; align-items: start; }
  .mq-item strong { display: block; font: 600 .96rem/1.3 var(--f-body); }
  .mq-item .meta { font: 400 .76rem/1.5 var(--f-mono); color: var(--steel); }
  .mq-item .meta b { color: var(--ink); font-weight: 600; }
  .mq-item .warn { color: #D2452B; }
  .mq-item .ctl { display: flex; gap: .5rem; align-items: center; }
  .mq-item input { width: 6.2rem; padding: .5rem .6rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 500 .95rem var(--f-mono); }
  .mq-item input:focus { outline: none; border-color: var(--ink); }
  .mq-item .src { font: 500 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
  .mq-x { all: unset; cursor: pointer; font: 500 .72rem var(--f-mono); text-decoration: underline; text-underline-offset: 3px; color: var(--steel); }
  .mq-x:hover, .mq-x:focus-visible { color: var(--ink); }
  .mq .q-picked { margin-top: .9rem; }
  .mq-total { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; padding: .8rem .9rem; background: var(--ink); color: var(--paper); }
  .mq-total span { font: 500 .66rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
  .mq-total strong { font: 650 1.12rem/1.04 var(--f-display); font-variant-numeric: tabular-nums; }
  .mq-total small { font: 400 .72rem var(--f-mono); opacity: .75; }
  .mq-more { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .9rem; }
  .mq .quote-form { gap: 1.2rem; }
  .mq .q-step { padding-bottom: 1.2rem; }
  .mq-ticket { position: static; }
  .mq-ticket .ticket-actions .q-cat-link { justify-self: center; }
  @media (max-width: 600px) { .mq { border-left: 0; } .mq-item { grid-template-columns: 1fr; } }

  .lang-offer { position: fixed; z-index: 45; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; background: var(--ink); color: var(--paper); padding: .6rem 1rem; font: 600 .74rem var(--f-mono); letter-spacing: .06em; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; }
  .lang-offer.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
  .buyways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 1.6rem; }
  .buyway { display: grid; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--card); text-decoration: none; color: var(--ink); transition: background-color .2s ease; }
  .buyway strong { font: 650 1.2rem/1.2 var(--f-display); }
  .buyway span:last-child { color: var(--steel); font-size: .92rem; }
  @media (hover: hover) { .buyway:hover { background: var(--shade); } }
  @media (max-width: 640px) { .buyways { grid-template-columns: minmax(0, 1fr); } }
  .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
  @media (pointer: coarse) { .qty-quick button { min-height: 40px; padding-inline: .75rem; } .person .contact a { display: inline-block; padding-block: .55rem; } .qz-open { min-height: 40px; } input[type=range] { min-height: 36px; } }
  /* touch screens: every control at least 44 px tall (Apple and WCAG target size), without changing how it looks */
  @media (pointer: coarse) {
    .cur button, .langhint button, .lang-offer, html .q-cat-link, #qz-mbar-go, .award a, .qty-row input, input[type=range] { min-height: 44px; }
    html .q-cat-link { display: inline-flex; align-items: center; box-sizing: border-box; }
    .cur button { min-width: 44px; }
    #cat-picked { min-height: 44px; }
    .person .contact a { padding-block: .7rem; }
    .qz-nudge button { padding: .75rem .4rem; margin-block: -.75rem; }
    html .legal button.link, html .site-footer .link { display: inline-block; padding: .8rem .45rem; margin-block: -.8rem; min-width: 44px; text-align: center; }
    .brand.ch-logo { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
    .award a { display: inline-flex; align-items: center; }
  }
  /* ---------- FAQ ---------- */
  .faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
  .faq details { border-bottom: 1px solid var(--rule); }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font: 600 1.05rem/1.35 var(--f-display); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-body); transition: transform .2s ease; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq summary:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
  .faq p { margin: 0 0 1.1rem; max-width: 70ch; color: var(--steel); }

  /* ---------- TEAM ---------- */
  .team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
  .person { background: var(--paper); padding: 1.3rem; display: grid; gap: .35rem; align-content: start; }
  .person .role { font: 500 .66rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .person h3 { font: 650 1.06rem/1.04 var(--f-display); text-transform: uppercase; }
  .person p { font-size: .9rem; color: var(--steel); }
  .person .contact { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font: 400 .8rem var(--f-mono); }
  .person .contact span { user-select: all; }
  .person.cta { grid-column: span 2; background: var(--card); }
  .person .wa { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } .person.cta { grid-column: auto; } }
  @media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

  /* ---------- FOOTER ---------- */
  /* Extra room at the bottom so the floating buttons never cover the legal links. */
  .site-footer { background: var(--ink); color: var(--paper); padding-block: 4rem calc(6rem + env(safe-area-inset-bottom, 0px)); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .site-footer h4 { margin: 0 0 .8rem; font: 500 .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, transparent); }
  .site-footer p, .site-footer li { font-size: .92rem; color: color-mix(in srgb, var(--paper) 82%, transparent); }
  .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
  .site-footer a { text-decoration: none; }
  @media (hover: hover) { .site-footer a:hover { text-decoration: underline; } }
  .site-footer .foot-note { margin-top: .6rem; font-size: .84rem; color: color-mix(in srgb, var(--paper) 62%, transparent); }
  .foot-logo { margin-bottom: 1.4rem; } .foot-logo img { width: 3rem; height: 3rem; } .foot-logo .ch-word { width: 10rem; } .foot-logo .ch-tag { font-size: .58rem; }
  .foot-claim { font: 700 clamp(1.72rem, 3.96vw, 2.9rem)/1.04 var(--f-display); text-transform: uppercase; margin-bottom: 1.2rem; }
  .foot-claim em { font-style: normal; color: color-mix(in srgb, var(--paper) 55%, transparent); }
  .legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font: 400 .7rem var(--f-mono); letter-spacing: .08em; color: color-mix(in srgb, var(--paper) 55%, transparent); }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
  @media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

  /* Floating WhatsApp, clear of the phone's home bar and side bars. */
  .wa-float {
    position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.05rem; border-radius: 999px;
    background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font: 600 .78rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease;
  }
  .wa-float svg { width: 20px; height: 20px; }
  @media (hover: hover) { .wa-float:hover { transform: translateY(-3px); } }
  @media (max-width: 560px) { .wa-float .txt { display: none; } .wa-float { padding: .9rem; } }

  /* ---------- DIALOGS ---------- */
  dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-width: none; max-height: none; }
  dialog::backdrop { background: rgba(10,8,10,.72); backdrop-filter: blur(3px); }
  html:has(dialog[open]) { overflow: hidden; }
  .sheet { width: min(980px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: auto; border: 1.5px solid var(--ink); }
  .sheet[open] { animation: rise .35s cubic-bezier(.2,.8,.2,1); }
  .bar {
    position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .7rem 1rem .7rem 1.3rem; background: var(--ink); color: var(--paper);
    font: 500 .68rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  }
  .x { background: none; border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); width: 2.2rem; height: 2.2rem; cursor: pointer; font: 400 1.2rem/1 var(--f-mono); transition: transform .2s ease; }
  @media (hover: hover) { .x:hover { transform: rotate(90deg); border-color: var(--paper); } }
  .td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); padding: clamp(1rem, 3vw, 2rem); }
  .td-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .td-media .swatch-big { aspect-ratio: 4 / 5; background: radial-gradient(circle, var(--sw) 34%, transparent 36%) 0 0 / 18px 18px, #1a171b; }
  .td h2 { font: 700 clamp(1.58rem, 3.3vw, 2.38rem)/1.04 var(--f-display); text-transform: uppercase; margin-bottom: 1rem; }
  .td p { margin-bottom: 1rem; max-width: 60ch; }
  .spec { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .9rem; }
  .spec td { padding: .6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
  .spec td:first-child { font: 500 .66rem/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); width: 38%; padding-right: 1rem; }
  @media (max-width: 700px) { .td { grid-template-columns: 1fr; } .td-media img, .td-media .swatch-big { aspect-ratio: 16 / 10; } .sheet { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; } }

  .lightbox { width: min(1100px, calc(100vw - 2rem)); background: var(--ink); border: 0; margin: auto; }
  .lightbox figure { margin: 0; display: grid; place-items: center; padding: 1rem; }
  .lightbox img { max-height: calc(100dvh - 9rem); width: auto; height: auto; max-width: 100%; }
  .lightbox figcaption { color: var(--paper); font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding-top: .8rem; }
  .lb-nav { display: flex; gap: .5rem; }
  .lb-nav button { background: none; border: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); width: 2.2rem; height: 2.2rem; cursor: pointer; font: 400 1rem var(--f-mono); }

  .menu-sheet { margin: 0 0 0 auto; width: min(380px, 100vw); height: 100dvh; max-height: 100dvh; border-left: 1.5px solid var(--ink); }
  .menu-sheet[open] { animation: slide-in .3s ease; display: flex; flex-direction: column; }
  .menu-sheet nav { display: grid; padding: 1rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); gap: .2rem; }
  .menu-sheet nav a { font: 650 1.45rem/1.15 var(--f-display); text-transform: uppercase; text-decoration: none; padding: .3rem 0; border-bottom: 1px solid var(--rule); }
  .menu-sheet .btn { margin-top: 1.2rem; font: 600 .95rem/1 var(--f-mono); letter-spacing: .1em; padding: 1.1rem 1.4rem; border-bottom: 1.5px solid var(--magenta); }
  @keyframes slide-in { from { transform: translateX(100%); } }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } }

  /* ---------- ESTAMPA TU IDEA (mockup studio) ----------
     A live mockup on Canva-generated blanks. Everything happens in the
     visitor's browser: the uploaded file never leaves their device. */
  .btn-studio { gap: .7rem; }
  .btn-studio svg { width: 18px; height: 18px; }
  .btn-studio .new {
    font: 600 .58rem var(--f-mono); letter-spacing: .12em; padding: .18rem .4rem; border-radius: 2px;
    background: var(--paper); color: var(--ink);
  }
  .studio-hint {
    grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem;
    padding: 1rem 1.2rem; border: 1px dashed var(--rule); background: var(--card);
  }
  .studio-hint p { font-size: .95rem; }
  .studio-hint strong { font-weight: 600; }

  .studio { width: min(1180px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: auto; border: 1.5px solid var(--ink); }
  .studio[open] { animation: rise .35s cubic-bezier(.2,.8,.2,1); }
  .st-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .st-stage { position: relative; background: var(--shade); padding: clamp(1rem, 3vw, 2rem); display: grid; gap: .8rem; align-content: start; border-right: 1px solid var(--rule); }
  .st-canvas-wrap { position: relative; }
  .st-canvas-wrap .reg-corner { z-index: 1; }
  #st-canvas {
    display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; cursor: grab;
    background: radial-gradient(circle at 50% 40%, var(--card), transparent 75%);
  }
  #st-canvas.dragging { cursor: grabbing; }
  #st-canvas:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }
  .st-views { display: flex; gap: .5rem; justify-content: center; }
  .st-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
  .st-meta strong { color: var(--ink); font-weight: 500; }
  .st-panel { padding: clamp(1rem, 3vw, 1.8rem); display: grid; gap: 1.4rem; align-content: start; min-width: 0; }
  .st-panel h2 { font: 700 clamp(1.45rem, 2.64vw, 1.98rem)/1.04 var(--f-display); text-transform: uppercase; }
  .st-panel .lead { font-size: .98rem; }
  .st-step { display: grid; gap: .6rem; border: 0; margin: 0; padding: 0; min-width: 0; }
  .st-step legend, .st-step > span { padding: 0; margin-bottom: .2rem; font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .st-drop {
    position: relative; display: grid; place-items: center; gap: .3rem; text-align: center; padding: 1.2rem 1rem;
    border: 1.5px dashed var(--rule); background: var(--card); cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
  }
  .st-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
  .st-drop strong { font-weight: 600; }
  .st-drop span { font-size: .82rem; color: var(--steel); }
  .st-drop.over, .st-drop:focus-within { border-color: var(--ink); background: var(--paper); }
  .st-file { font: 400 .78rem var(--f-mono); color: var(--steel); overflow-wrap: anywhere; }
  .st-text summary { cursor: pointer; font-size: .85rem; color: var(--steel); padding: .35rem 0; }
  .st-text-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .4rem; }
  .st-text-in { flex: 1 1 10rem; min-width: 0; min-height: 44px; padding: 0 .7rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
  .st-text-row select { min-height: 44px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 0 .5rem; font: inherit; }
  .st-text-row input[type=color] { width: 44px; height: 44px; padding: 2px; border: 1px solid var(--rule); background: var(--paper); }
  .st-price { margin: .2rem 0 .5rem; font-size: .9rem; }
  .st-price b { font-size: 1.05rem; }
  .st-price small { display: block; color: var(--steel); font-size: .78rem; margin-top: .15rem; }
  .st-lowres { color: #E8A33D; }
  .st-sections .chip span { display: inline-flex; align-items: center; gap: .45rem; }
  .st-sections .dot { width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid currentColor; }
  .st-sections .dot.on { background: currentColor; }
  .st-file-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
  .st-subleg { flex-basis: 100%; margin-top: .35rem; font: 500 .68rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .st-subleg:first-child { margin-top: 0; }
  .st-remove { background: none; border: 0; padding: .2rem 0; cursor: pointer; color: var(--steel); font: 500 .78rem var(--f-mono); text-decoration: underline; text-underline-offset: 3px; }
  .st-remove:disabled { opacity: .4; cursor: default; }
  @media (hover: hover) { .st-remove:not(:disabled):hover { color: var(--ink); } }
  .st-check { display: flex; gap: .6rem; align-items: center; font-size: .9rem; cursor: pointer; }
  .st-check input { accent-color: var(--ink); width: 1rem; height: 1rem; margin: 0; }
  .swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
  .swatch-opt { position: relative; }
  .swatch-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .swatch-opt span { display: block; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; transition: transform .15s ease; }
  .swatch-opt input:checked + span { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
  .swatch-opt input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 5px; }
  @media (hover: hover) { .swatch-opt:hover span { transform: scale(1.08); } }
  .st-color-name { font-size: .85rem; color: var(--steel); }
  #st-3d { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
  #st-3d:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }
  .st-loading { position: absolute; inset: 0; display: grid; place-items: center; font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .chip input:disabled + span { opacity: .4; cursor: not-allowed; }
  .st-range { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; font-size: .88rem; }
  .st-range input { grid-column: 1 / -1; width: 100%; }
  .st-range output { font: 500 .8rem var(--f-mono); }
  .st-actions { display: grid; gap: .6rem; padding-top: .4rem; border-top: 1px solid var(--rule); }
  .st-qty { padding-top: .6rem; }
  .st-qty-in { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; }
  .st-qty-in input { width: 8.5rem; padding: .6rem .75rem; border: 1.5px solid var(--rule); background: var(--card); font: 500 1rem var(--f-mono); color: var(--ink); }
  .st-qty-in input:focus { outline: 2px solid var(--magenta); outline-offset: 1px; }
  /* The main action never scrolls away: quoting with this design is always one tap. */
  .st-cta { position: sticky; bottom: 0; z-index: 3; display: grid; gap: .55rem; padding: .7rem 0 .7rem; background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -10px 18px -12px rgba(0,0,0,.25); }
  .st-cta .st-qty { padding-top: 0; gap: .4rem; }
  .st-cta .btn { width: 100%; }
  @media (max-width: 860px) {
    /* phones: just the pieces and the button, in one row, so the options keep the room */
    .st-cta { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: .6rem; padding: .5rem 0 .6rem; }
    .st-cta #st-qty-chips, .st-cta #st-qty-note { display: none; }
    .st-cta .st-qty legend { font-size: .58rem; margin-bottom: .15rem; }
    .st-cta .st-qty-in input { width: 6.2rem; padding: .55rem .6rem; }
    .st-cta .st-qty-in span { display: none; }
    .st-cta .btn { padding-inline: .8rem; font-size: .72rem; }
  }
  .st-cta .st-qty .chips { gap: .3rem; }
  .st-cta .st-qty .chip span { padding: .3rem .6rem; font-size: .8rem; }
  .st-library { display: grid; gap: .4rem; }
  .st-lib-label { font-size: .8rem; color: var(--steel); }
  .st-free-tabs { display: flex; gap: .35rem; overflow-x: auto; padding: .1rem 0 .45rem; }
  .st-free-tabs button { flex: none; padding: .35rem .7rem; border: 1px solid var(--rule); background: transparent; color: inherit; font: 600 .66rem var(--f-display, inherit); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .st-free-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper, #fff); border-color: var(--ink); }
  .st-lib-row button[hidden] { display: none; }
  .st-lib-row { display: flex; gap: .5rem; overflow-x: auto; padding: .15rem .1rem .35rem; scroll-snap-type: x proximity; }
  .st-lib-row button { flex: none; width: 4.6rem; height: 4.6rem; padding: .3rem; border: 1px solid var(--rule); background: repeating-conic-gradient(#e9e8ec 0 25%, #f7f6f8 0 50%) 0 0/14px 14px; cursor: pointer; scroll-snap-align: start; position: relative; transition: border-color .15s ease, transform .15s ease; }
  .st-lib-note { font: 400 .68rem/1.4 var(--f-body); color: var(--steel); }
  .st-lib-row button img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .st-lib-row button.on { border: 2px solid var(--ink); }
  .st-lib-row button.on::after { content: "✓"; position: absolute; top: .15rem; right: .25rem; font: 700 .62rem var(--f-mono); color: var(--paper); background: var(--ink); width: 1rem; height: 1rem; display: grid; place-items: center; border-radius: 50%; }
  @media (hover: hover) { .st-lib-row button:hover { transform: translateY(-2px); border-color: var(--ink); } }
  .st-undo { background: none; border: 0; padding: 0 0 0 .4rem; color: var(--magenta); font: 600 .78rem var(--f-mono); text-decoration: underline; cursor: pointer; }
  @media (min-width: 861px) {
    /* Desktop: the garment stays in view while the options scroll. */
    .st-stage { position: sticky; top: 3.3rem; align-self: start; }
    #st-canvas { max-height: calc(100dvh - 14rem); width: auto; max-width: 100%; margin: 0 auto; }
  }
  .st-actions .btn { width: 100%; }
  .st-note { font: 400 .72rem/1.5 var(--f-mono); color: var(--steel); }
  @media (max-width: 860px) {
    .st-grid { grid-template-columns: 1fr; }
    /* Phones: the preview stays pinned under the top bar while the controls scroll,
       so every change of color, size or placement is visible. */
    .st-stage {
      position: sticky; top: 3.1rem; z-index: 2; border-right: 0; border-bottom: 1px solid var(--rule);
      padding-block: .6rem; gap: .5rem; background: color-mix(in srgb, var(--paper) 92%, var(--ink) 8%);
    }
    #st-canvas { width: auto; height: min(38dvh, 100vw - 2rem); margin: 0 auto; }
    .st-stage .reg-corner { display: none; }
    .st-meta { justify-content: center; font-size: .6rem; }
    .st-meta > span:last-child { display: none; }
    .studio { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; }
  }

  /* ---------- HISTORY: 35 years, from a hinge-built table to audited plant ---------- */
  .award {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem 1.6rem; align-items: center;
    padding: 1.4rem clamp(1.1rem, 3vw, 2rem); background: var(--ink); color: var(--paper); margin-bottom: clamp(2rem, 5vw, 3rem);
  }
  .award .medal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); color: var(--on-accent); font: 700 1.06rem/1.04 var(--f-display); }
  .award strong { display: block; font: 650 clamp(0.99rem, 1.98vw, 1.39rem)/1.04 var(--f-display); text-transform: uppercase; margin-bottom: .3rem; }
  .award span { font-size: .95rem; color: color-mix(in srgb, var(--paper) 72%, transparent); }
  .award a { color: var(--paper); font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
  @media (max-width: 700px) { .award { grid-template-columns: auto minmax(0, 1fr); } .award a { grid-column: 1 / -1; } }
  .timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
  .timeline li { background: var(--paper); padding: 1.3rem 1.3rem 1.5rem; display: grid; gap: .45rem; align-content: start; }
  .timeline .when { font: 650 1.58rem/1.04 var(--f-display); color: var(--magenta); }
  .timeline h3 { font: 700 1.05rem/1.25 var(--f-body); }
  .timeline p { font-size: .92rem; color: var(--steel); }
  @media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
  .press { margin-top: clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .press a { display: grid; gap: .4rem; align-content: start; padding: 1.1rem; border: 1px solid var(--rule); background: var(--card); text-decoration: none; transition: border-color .2s ease, transform .3s var(--ease-out, ease); }
  .press .src { font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .press strong { font: 700 1rem/1.3 var(--f-body); }
  .press .go { margin-top: .3rem; font: 600 .68rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
  @media (hover: hover) { .press a:hover { border-color: var(--ink); transform: translateY(-3px); } }
  @media (max-width: 900px) { .press { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .press { grid-template-columns: 1fr; } }
  .press-note { margin-top: 1rem; font: 400 .72rem/1.5 var(--f-mono); color: var(--steel); }

  /* ---------- VIDEOS + GUIDES ---------- */
  .videos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; }
  .video { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); scroll-snap-align: start; }
  .video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out, ease); }
  .video .play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; transition: transform .3s var(--ease-out, ease); }
  .video .play::before { content: ""; margin-left: 4px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
  .video .vcap { position: absolute; inset: auto 0 0 0; padding: 2.4rem .8rem .8rem; color: #fff; background: linear-gradient(to top, rgba(10,8,10,.9), transparent); font: 600 .86rem/1.3 var(--f-body); }
  .video:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
  @media (hover: hover) { .video:hover img { transform: scale(1.05); } .video:hover .play { transform: scale(1.12); } }
  .guides { margin-top: clamp(2.2rem, 5vw, 3.2rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
  .guides a { background: var(--paper); padding: 1.1rem 1.2rem 1.2rem; text-decoration: none; display: grid; gap: .35rem; transition: background-color .2s ease; }
  .guides .src { font: 500 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .guides strong { font: 700 1rem/1.3 var(--f-body); }
  @media (hover: hover) { .guides a:hover { background: var(--card); } }
  @media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }
  .video-sheet { width: min(420px, calc(100vw - 2rem)); background: var(--ink); border: 0; margin: auto; }
  .video-sheet[open] { animation: zoom-in .3s var(--ease-out, ease); }
  .video-sheet.closing { animation: zoom-out .22s ease forwards; }
  .video-sheet .frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 7rem); width: 100%; }
  .video-sheet iframe { width: 100%; height: 100%; border: 0; display: block; }
  .detail-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.4rem 0 1.4rem; }
  .detail-links a { font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .7rem; border: 1px solid var(--rule); text-decoration: none; }
  @media (hover: hover) { .detail-links a:hover { border-color: var(--ink); } }
  .q-hint { margin-top: .7rem; font: 400 .8rem var(--f-mono); color: var(--steel); }
  .q-hint a { color: var(--ink); }

  /* ---------- CATALOG ---------- */
  .cat-tools { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
  .cat-search { display: flex; gap: .6rem; align-items: center; }
  .cat-search input { flex: 1; min-width: 0; padding: .85rem 1rem; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: 400 1rem var(--f-body); border-radius: 2px; transition: box-shadow .25s ease; }
  .cat-search input:focus { outline: none; box-shadow: 0 0 0 4px var(--shade); }
  .cat-filters { display: grid; gap: .6rem; }
  .cat-filters .chips { gap: .4rem; }
  .cat-filters .chip span { padding: .5rem .75rem; font-size: .84rem; }
  .cat-filters .chip small { font: 500 .66rem var(--f-mono); color: var(--steel); margin-left: .35rem; }
  .cat-filters .chip input:checked + span small { color: inherit; opacity: .7; }
  .cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
  .cat-picked-btn { all: unset; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; padding: .55rem .85rem; background: var(--ink); color: var(--paper); font: 600 .72rem var(--f-mono); letter-spacing: .1em; }
  .cat-picked-btn b { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--magenta); color: var(--on-accent); font-size: .7rem; }
  .cat-picked-btn.bump b { animation: pop .35s var(--ease-out); }
  .cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  @media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
  .cat-card {
    all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--rule);
    animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .2s ease;
  }
  .cat-card .ph { aspect-ratio: 4 / 5; background: #fff; display: grid; place-items: center; overflow: hidden; }
  .cat-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease-out); }
  .cat-card .info { padding: .8rem .85rem .9rem; display: grid; gap: .3rem; align-content: start; border-top: 1px solid var(--rule); }
  .cat-card .badge { font: 500 .6rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .cat-card strong { font: 700 .92rem/1.25 var(--f-body); }
  .cat-card .meta { font: 400 .7rem/1.4 var(--f-mono); color: var(--steel); }
  .cat-card .price { font: 600 .82rem var(--f-body); color: var(--ink); margin-top: .1rem; }
  .cat-card .price small { font: 400 .62rem var(--f-mono); color: var(--steel); letter-spacing: .04em; text-transform: none; }
  .cat-sort { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; }
  .cat-sort select { font: 500 .78rem var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); border-radius: 2px; padding: .45rem 2rem .45rem .7rem; min-height: 40px; }
  .cat-sort select:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--shade); }
  .cat-hint { font: 400 .74rem/1.45 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--steel); flex-basis: 100%; }
  .cat-hint b { color: var(--ink); font-weight: 600; }
  @media (max-width: 560px) { .cat-sort { margin-left: 0; flex: 1 1 100%; } .cat-sort select { flex: 1; } }
  .cat-card .tick { position: absolute; top: .55rem; right: .55rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); color: var(--on-accent); font: 700 .9rem/1 var(--f-mono); transform: scale(0); transition: transform .3s var(--ease-out); }
  .cat-card.on .tick { transform: scale(1); }
  .cat-card.on { border-color: var(--magenta); }
  .cat-card:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
  @media (hover: hover) { .cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--shade); border-color: var(--ink); } .cat-card:hover img { transform: scale(1.04); } }
  .cat-more { display: flex; justify-content: center; margin-top: 1.4rem; }
  .cat-empty { padding: 2rem; text-align: center; border: 1px dashed var(--rule); color: var(--steel); }
  .cat-view { width: min(1180px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: auto; border: 1.5px solid var(--ink); }
  .cat-view[open] { animation: rise .35s var(--ease-out); }
  .cat-view.closing { animation: sink .24s ease forwards; }
  .cv { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .cv-media { background: #fff; display: grid; gap: .6rem; padding: .6rem; align-content: start; border-right: 1px solid var(--rule); }
  .cv-zoom { overflow: hidden; cursor: zoom-in; position: relative; }
  .cv-zoom img { width: 100%; height: auto; transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform .35s var(--ease-out), opacity .25s ease; }
  .cv-zoom.zoomed { cursor: zoom-out; }
  .cv-zoom.zoomed img { transform: scale(2.2); transition: transform .35s var(--ease-out); }
  .cv-zoom.swap img { opacity: 0; }
  .cv-info { padding: clamp(1rem, 3vw, 1.8rem); display: grid; gap: 1rem; align-content: start; }
  .cv-info h2 { font: 700 clamp(1.25rem, 2.24vw, 1.72rem)/1.04 var(--f-display); text-transform: uppercase; }
  .cv-info .btn { width: 100%; }
  .cv-hint { font: 400 .72rem/1.5 var(--f-mono); color: var(--steel); }
  @media (max-width: 800px) { .cv { grid-template-columns: 1fr; } .cv-media { border-right: 0; border-bottom: 1px solid var(--rule); } .cat-view { width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; } }
  /* Catalog models inside the quote: one row per model with its pieces and color. */
  .qp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
  .qp-row { display: grid; grid-template-columns: 52px minmax(0, 1.5fr) 92px minmax(0, 1fr) 2rem; gap: .6rem; align-items: center; padding: .5rem; border: 1px solid var(--rule); background: var(--card); animation: rise .35s var(--ease-out) both; }
  .qp-row img { width: 52px; height: 64px; object-fit: contain; background: #fff; }
  .qp-row .qp-name { all: unset; cursor: pointer; display: grid; gap: .15rem; min-width: 0; }
  .qp-row .qp-name strong { font: 600 .88rem/1.25 var(--f-body); overflow-wrap: anywhere; }
  .qp-row .qp-name span { font: 400 .68rem/1.3 var(--f-mono); color: var(--steel); }
  .qp-row input { width: 100%; padding: .55rem .6rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 400 .9rem var(--f-body); border-radius: 2px; }
  .qp-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--shade); }
  .qp-row input[aria-invalid="true"] { border-color: #D2452B; }
  .qp-files { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
  .qp-attach { all: unset; cursor: pointer; font: 500 .74rem var(--f-mono); letter-spacing: .04em; color: var(--ink); border: 1px dashed var(--rule); padding: .3rem .6rem; transition: border-color .2s ease, background-color .2s ease; }
  .qp-attach:hover, .qp-attach:focus-visible { border-color: var(--ink); background: var(--paper); }
  .qp-files-list { display: flex; flex-wrap: wrap; gap: .35rem; }
  .qp-file { display: inline-flex; align-items: center; gap: .3rem; font: 400 .72rem var(--f-mono); background: var(--shade); padding: .2rem .25rem .2rem .55rem; max-width: 100%; overflow-wrap: anywhere; }
  .qp-file button { all: unset; cursor: pointer; width: 1.2rem; height: 1.2rem; display: grid; place-items: center; border-radius: 50%; }
  .qp-file button:hover { background: var(--ink); color: var(--paper); }
  .qp-row .qp-x { all: unset; cursor: pointer; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; font: 400 1.1rem/1 var(--f-mono); }
  @media (hover: hover) { .qp-row .qp-x:hover { background: var(--ink); color: var(--paper); } .qp-row .qp-name:hover strong { color: var(--magenta); } }
  .qp-head { display: grid; grid-template-columns: 52px minmax(0, 1.5fr) 92px minmax(0, 1fr) 2rem; gap: .6rem; padding: 0 .5rem; font: 500 .62rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
  .qp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; padding-top: .3rem; }
  .qp-foot strong { font: 650 0.99rem/1.04 var(--f-display); }
  .qp-add, .q-cat-link { all: unset; cursor: pointer; font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
  .q-cat-link { margin-top: .5rem; justify-self: start; color: var(--steel); padding-block: .6rem; }
  @media (hover: hover) { .qp-add:hover, .q-cat-link:hover { color: var(--magenta); } }
  @media (max-width: 600px) {
    .qp-head { display: none; }
    .qp-row { grid-template-columns: 52px minmax(0, 1fr) 2rem; }
    .qp-row .qp-qty, .qp-row .qp-color { grid-column: 2 / 3; }
    .qp-row .qp-x { grid-column: 3; grid-row: 1; }
  }
  .field input[readonly] { background: var(--shade); cursor: default; }
  .qp-row .qp-name strong { display: block; }
  .ticket dd.multi { white-space: pre-line; text-align: right; font-weight: 500; font-size: .8rem; }
  .cv-order { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: .6rem; }
  .cv-order label { display: grid; gap: .3rem; font: 500 .64rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .cv-order input { padding: .7rem .8rem; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 400 .95rem var(--f-body); border-radius: 2px; text-transform: none; letter-spacing: 0; }
  .cv-order input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--shade); }
  .cv-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .q-picked { margin-top: 1rem; display: grid; gap: .5rem; }
  .q-picked > span { font: 500 .7rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  /* Info pop-ups without a picture use the whole width. */
  .td.no-media { grid-template-columns: 1fr; }
  .td.no-media .td-media { display: none; }
  /* Things that open an info pop-up say so. */
  .specs dl > div, .steps li, .presses tbody tr, .timeline li, .person:not(.cta) { cursor: pointer; }
  .specs dl > div, .steps li, .timeline li, .person:not(.cta) { transition: background-color .25s ease, transform .3s var(--ease-out); }
  .presses tbody tr td { transition: background-color .2s ease; }
  @media (hover: hover) {
    .specs dl > div:hover dd, .steps li:hover h3 { color: var(--magenta); }
    .steps li:hover { transform: translateY(-3px); }
    .presses tbody tr:hover td { background: color-mix(in srgb, var(--paper) 10%, transparent); }
    .timeline li:hover, .person:not(.cta):hover { background: var(--card); }
  }
  .specs dd, .steps h3 { transition: color .25s ease; }
  .info-more { display: inline-block; margin-top: .4rem; font: 600 .62rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

  /* Every clickable thing eases into its hover and press states. */
  a, button, [role="button"], .chip span, .swatch-opt span, summary, select, .st-check { transition-property: color, background-color, border-color, box-shadow, transform, opacity, background-size; transition-duration: .25s; transition-timing-function: var(--ease-out, ease); }
  .btn:active, .x:active, .lb-nav button:active, .qty-quick button:active, .menu-btn:active, .to-top:active, .cat-picked-btn:active, .door-link:active { transform: scale(.96); }
  .chip:active span, .swatch-opt:active span { transform: scale(.95); }
  .cert:active, .tech:active, .door:active, .line-card:active, .mini:active, .service:active, .cat-card:active, .video:active, .press a:active, .guides a:active, .plant-photos figure:active, .work button:active, .specs dl > div:active, .steps li:active, .timeline li:active, .person:not(.cta):active { transform: scale(.985); transition-duration: .1s; }
  @media (hover: hover) { .chip:hover span { transform: translateY(-1px); } }
  /* Plain text links: an underline that draws in. */
  .site-footer a, .strip a, .award a, .q-hint a, .calc-body .fine a {
    text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 1px;
  }
  @media (hover: hover) { .site-footer a:hover, .strip a:hover, .award a:hover, .q-hint a:hover, .calc-body .fine a:hover { background-size: 100% 1px; text-decoration: none; } }
  .award a, .q-hint a, .calc-body .fine a { background-size: 100% 1px; }
  @media (hover: hover) { .award a:hover, .q-hint a:hover, .calc-body .fine a:hover { background-size: 0 1px; } }
  .person .contact a { transition: color .2s ease, text-underline-offset .25s var(--ease-out); }
  @media (hover: hover) { .person .contact a:hover { color: var(--magenta); text-underline-offset: 5px; } }

  /* ---------- MOTION ----------
     Everything moves the way a press does: short, firm, in register. All of it
     switches off for visitors who ask their system for less motion. */
  :root { --ease-out: cubic-bezier(.2,.8,.2,1); }
  /* Buttons: a sheen crosses on hover, an ink drop spreads from where you press. */
  .btn, .x, .lb-nav button, .qty-quick button, .menu-btn, .st-remove, .to-top { position: relative; overflow: hidden; isolation: isolate; }
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, #fff 35%, transparent) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform .7s var(--ease-out);
  }
  @media (hover: hover) { .btn:hover::before { transform: translateX(130%); } }
  .ripple {
    position: absolute; z-index: -1; left: var(--x); top: var(--y); width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
    border-radius: 50%; background: currentColor; opacity: .28; pointer-events: none; transform: scale(0); animation: ripple .6s var(--ease-out) forwards;
  }
  @keyframes ripple { to { transform: scale(1); opacity: 0; } }
  .btn { will-change: transform; }
  .btn.magnet { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
  .btn-studio .new { animation: badge 2.6s ease-in-out infinite; }
  @keyframes badge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-2px) rotate(-4deg); } 90% { transform: translateY(0) rotate(3deg); } }
  .x { transition: transform .25s var(--ease-out), border-color .2s ease; }
  /* Language switch: one ink block slides between ES and EN. */
  .lang { position: relative; }
  .lang::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--ink); transition: transform .35s var(--ease-out); }
  html[lang="en"] .lang::before { transform: translateX(100%); }
  .lang button { position: relative; z-index: 1; flex: 1; transition: color .25s ease; min-width: 40px; min-height: 40px; }
  .lang button[aria-pressed="true"] { background: none; }
  /* Chips you pick in the quote form snap in. */
  .q-step .chip input:checked + span, .qty-quick button.on { animation: pop .28s var(--ease-out); }
  .qty-quick button.on { border-style: solid; border-color: var(--ink); color: var(--ink); }
  @keyframes pop { 40% { transform: scale(1.07); } }
  /* Header: a shadow once the page moves, an ink bar for how far you have read,
     and the section you are in underlined in the menu. */
  .site-header { transition: box-shadow .3s ease; }
  .site-header.scrolled { box-shadow: 0 10px 30px var(--shade); }
  .read-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--magenta); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
  .nav a.active { background-size: 100% 2px; }
  /* Content develops in as it scrolls into view (only when scripts run). */
  /* Photos arrive through a mask (a print pass), never by fading. */
  html.motion [data-wipe] { clip-path: inset(0 0 100% 0); }
  html.motion [data-wipe].in { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-out); }

  /* Hero slideshow: one slide per business line, crossfade with a slow zoom; dots, pause, swipe. */
  .hero-slides { isolation: isolate; }
  .hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
  .hs-slide:first-of-type { position: relative; }
  .hero-slides .hs-slide:not(:first-of-type) img { object-position: center; }
  .hs-slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
  .hero-slides .hs-slide img { animation: none; transform: translateY(var(--drift, 0)) scale(1.001); transition: transform 7s ease-out; }
  html.motion .hero-slides .hs-slide.on img { transform: translateY(var(--drift, 0)) scale(1.06); }
  html.motion .hero-slides .hs-slide:first-of-type.on img { animation: settle 1.8s var(--ease-out) both; }
  .hero-slides figcaption { align-items: flex-end; padding: 3.2rem 1rem 1rem; }
  .hs-cap { display: grid; gap: .25rem; }
  .hs-cap b { font: 600 1.05rem/1.2 var(--f-body); letter-spacing: 0; text-transform: none; }
  .hs-go { font: 500 .68rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(10,8,10,.35); border: 1px solid rgba(255,255,255,.7); padding: .55rem .8rem; min-height: 40px; cursor: pointer; transition: background .2s ease, color .2s ease; }
  .hs-go:hover, .hs-go:focus-visible { background: #fff; color: #0a080a; outline: none; }
  .hs-nav { position: absolute; top: .7rem; right: .7rem; z-index: 3; display: flex; align-items: center; gap: .15rem; padding: .2rem .35rem; background: rgba(10,8,10,.45); border-radius: 999px; }
  .hs-dot, .hs-pause { width: 28px; height: 28px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; }
  .hs-dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); transition: transform .3s ease, background .3s ease; }
  .hs-dot[aria-current="true"]::before { transform: scaleX(2.25); background: #fff; }
  .hs-pause { font-size: .62rem; letter-spacing: -.1em; }
  /* touch targets: an invisible 44 px area around small links and the slideshow controls (the look does not change) */
  .nav a, .strip a, .foot-links a, .hs-dot, .hs-pause { position: relative; }
  .nav a::after, .strip a::after, .foot-links a::after, .hs-dot::after, .hs-pause::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
  .hs-dot::after, .hs-pause::after { left: -8px; right: -8px; }
  .hs-nav { gap: .35rem; }
  @media (pointer: coarse) { .foot-links a { display: inline-block; padding: .5rem 0; } }
  .hs-dot:focus-visible, .hs-pause:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 50%; }
  @keyframes settle { from { transform: scale(1.08); } }
  /* Process: the line fills and each station lights up in turn. */
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--magenta); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease-out); }
  .steps.in::before { transform: scaleX(1); }
  .steps li::after { transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease-out); transition-delay: calc(var(--i, 0) * .32s); }
  .steps.in li::after { background: var(--magenta); border-color: var(--magenta); transform: scale(1.15); }
  /* Cards that open something: lift, and a hint of what happens. */
  .line-card, .service, .mini, .plant-photos figure { cursor: pointer; transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .2s ease; }
  .line-card img, .mini img, .plant-photos img { transition: transform .8s var(--ease-out); }
  .line-card > div, .plant-photos figure { overflow: hidden; }
  .line-card { overflow: hidden; }
  .more-hint { font: 600 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: inline-flex; gap: .4rem; align-items: center; }
  .more-hint::after { content: "→"; transition: transform .25s var(--ease-out); }
  .line-card:focus-visible, .service:focus-visible, .mini:focus-visible, .plant-photos figure:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
  @media (hover: hover) {
    .line-card:hover, .mini:hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--shade); border-color: var(--ink); }
    .line-card:hover img, .mini:hover img, .plant-photos figure:hover img { transform: scale(1.05); }
    .line-card:hover .more-hint::after, .mini:hover .more-hint::after, .service:hover .more-hint::after { transform: translateX(4px); }
    .service:hover { position: relative; z-index: 1; box-shadow: 0 18px 40px var(--shade); }
  }
  .plant-photos figure { position: relative; }
  .plant-photos figure::after { content: "+"; position: absolute; top: .6rem; right: .6rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 400 1.2rem/1 var(--f-mono); opacity: 0; transform: scale(.7); transition: opacity .2s ease, transform .25s var(--ease-out); }
  @media (hover: hover) { .plant-photos figure:hover::after { opacity: 1; transform: none; } }
  .tech { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease-out); }
  .work button img { transition: transform .8s var(--ease-out), opacity .3s ease; }
  .work button { overflow: hidden; }
  @media (hover: hover) { .work button:hover img { transform: scale(1.04); } }
  .calc.flash, .person.flash { animation: flash-ring 1.4s ease; }
  @keyframes flash-ring { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px var(--magenta); } }
  /* The work order: what changed glows for a moment. */
  .ticket dd { transition: background-color .6s ease; }
  .ticket dd.changed { background: color-mix(in srgb, var(--magenta) 16%, transparent); transition: none; }
  #sport-unit, #sport-total { display: inline-block; }
  #sport-total.tick { animation: tick .3s var(--ease-out); }
  @keyframes tick { 50% { transform: translateY(-3px); color: var(--magenta); } }
  /* Floating WhatsApp: a slow ring, like the "on line" light of the presses. */
  .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--press) 60%, transparent); animation: ring 3.2s ease-out infinite 2s; pointer-events: none; }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--press) 55%, transparent); } 60%, 100% { box-shadow: 0 0 0 16px transparent; } }
  .to-top {
    position: fixed; z-index: 40; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer;
    font: 500 1.1rem/1 var(--f-mono); display: grid; place-items: center; box-shadow: 0 10px 30px var(--shade);
    opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .35s var(--ease-out);
  }
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  @media (hover: hover) { .to-top:hover { background: var(--ink); color: var(--paper); } }
  /* Toasts: one line of confirmation at the bottom, gone by itself. */
  .toast {
    position: fixed; z-index: 1000; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-width: min(92vw, 520px);
    padding: .8rem 1.1rem; background: var(--ink); color: var(--paper); font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .04em;
    box-shadow: 0 14px 40px rgba(0,0,0,.3); transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s ease, transform .35s var(--ease-out); pointer-events: none;
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  /* Pop-ups leave the way they came. */
  dialog[open]::backdrop { animation: fade-in .3s ease; }
  dialog.closing::backdrop { animation: fade-out .24s ease forwards; }
  .sheet.closing, .studio.closing, .legal-sheet.closing { animation: sink .24s ease forwards; }
  .lightbox[open] { animation: zoom-in .3s var(--ease-out); }
  .lightbox.closing { animation: zoom-out .22s ease forwards; }
  .menu-sheet.closing { animation: slide-out .26s ease forwards; }
  .menu-sheet[open] nav a { animation: rise .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms + 80ms); }
  #lb-img { transition: opacity .25s ease, transform .35s var(--ease-out); }
  #lb-img.swap { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); }
  .lightbox figure { touch-action: pan-y; }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes fade-out { to { opacity: 0; } }
  @keyframes sink { to { opacity: 0; transform: translateY(16px); } }
  @keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }
  @keyframes zoom-out { to { opacity: 0; transform: scale(.97); } }
  @keyframes slide-out { to { transform: translateX(100%); } }
  /* Legal pop-up */
  .legal-sheet { width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: auto; border: 1.5px solid var(--ink); }
  .legal-sheet[open] { animation: rise .35s var(--ease-out); }
  .legal-body { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: .9rem; }
  .legal-body h2 { font: 700 clamp(1.32rem, 2.64vw, 1.85rem)/1.04 var(--f-display); text-transform: uppercase; }
  .legal-body h3 { font: 700 1rem/1.3 var(--f-body); margin-top: .6rem; }
  .legal-body p, .legal-body li { font-size: .94rem; color: var(--steel); }
  .legal-body ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
  .legal-tabs { display: flex; gap: .5rem; }
  .legal button.link, .site-footer .link { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .legal button.link:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

  /* ---------- FEEL: confirm, expand, crossfade, rubber band, staged focus ----------
     Pulse to confirm: one ring leaves a button when it is pressed.
     Doherty: the pressed state lands on pointerdown, inside one frame.
     Fitts: primary buttons are at least 48 px tall. */
  .btn { min-height: 48px; }
  .btn.pulse { animation: btn-pulse .55s var(--ease-out); }
  @keyframes btn-pulse {
    from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--magenta) 75%, transparent); }
    to   { box-shadow: 0 0 0 14px color-mix(in srgb, var(--magenta) 0%, transparent); }
  }
  .btn.pressed, .door-link.pressed, .hs-go.pressed { transform: scale(.965); transition-duration: .06s; }
  /* Icons crossfade with blur, never a hard swap. */
  .ico-x { display: inline-grid; width: 14px; height: 14px; }
  .ico-x svg { grid-area: 1 / 1; width: 100%; height: 100%; transition: opacity .28s ease, filter .28s ease, transform .36s var(--ease-out); }
  .ico-x svg + svg, .ico-x.swap svg:first-child { opacity: 0; filter: blur(5px); transform: scale(.6) rotate(-30deg); }
  .ico-x.swap svg + svg { opacity: 1; filter: none; transform: none; }
  /* Stage the focus: in a group, the card under the pointer stays lit and the rest step back. */
  @media (hover: hover) and (pointer: fine) {
    :is(.doors, .techs, .lines, .services, .plant-photos, .work, .cat-grid, .guides) > * { transition: opacity .3s ease, filter .3s ease; }
    :is(.doors, .techs, .lines, .services, .plant-photos, .work, .cat-grid, .guides):has(> :hover) > :not(:hover) { opacity: .5; filter: saturate(.6); }
  }
  dialog::backdrop { backdrop-filter: blur(8px) saturate(.8); -webkit-backdrop-filter: blur(8px) saturate(.8); }
  /* Rubber band: rails stretch past their ends, then spring back (JS sets the pull). */
  .plant-photos, .videos, .table-scroll { overscroll-behavior-x: none; }
  .rb-spring { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    html.motion [data-wipe] { clip-path: none; }
    .ripple { display: none; }
    .reg::before, .reg::after { display: none; }
    .marquee { flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee [aria-hidden="true"] { display: none; }
  }

/* ---------- Pages by topic (tools/seo/build_pages.py): page header, breadcrumbs, "explore" cards, closing band ---------- */
.pagehead { padding-block: clamp(2rem, 5vw, 3.6rem) 0; }
.pagehead + .band { padding-top: clamp(2.4rem, 5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 .7rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font: 500 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.crumbs a { display: inline-block; padding: .85rem 0; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: .7rem; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }
.pagehead .ph-title { font: 650 clamp(2rem, 5.2vw, 3.7rem)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.xcard { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 0 0 1.2rem; text-decoration: none; background: var(--card); border: 1px solid var(--rule); overflow: hidden; }
.xcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .8rem; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.xcard .xk { padding-inline: 1.2rem; font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.xcard strong { padding-inline: 1.2rem; font: 650 1.2rem/1.1 var(--f-display); text-transform: uppercase; }
.xcard .xs { padding-inline: 1.2rem; font-size: .95rem; color: var(--steel); }
.xcard::after { content: "→"; position: absolute; right: 1rem; bottom: 1rem; font: 500 1.1rem var(--f-mono); transition: transform .25s ease; }
@media (hover: hover) { .xcard:hover { border-color: var(--ink); } .xcard:hover img { transform: scale(1.04); } .xcard:hover::after { transform: translateX(4px); } }
.xcard:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
.branch-end { border-top: 1px solid var(--rule); }
.retail-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.be-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.be-more { margin-bottom: 1.4rem; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
@media (max-width: 900px) { .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .explore { grid-template-columns: 1fr; gap: .7rem; }
  .xcard { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 1rem; align-items: center; padding: 0 2.2rem 0 0; min-height: 6.2rem; }
  .xcard img { grid-row: 1 / 4; width: 6.2rem; height: 100%; min-height: 6.2rem; aspect-ratio: auto; margin: 0; }
  .xcard .xk, .xcard strong, .xcard .xs { grid-column: 2; padding-inline: 0; }
  .xcard strong { font-size: 1.02rem; } .xcard .xs { font-size: .85rem; }
  .xcard::after { top: 50%; bottom: auto; margin-top: -.7rem; right: .9rem; }
}

/* Keyboard users jump past the header straight to the page's content. */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .8rem 1.1rem; background: var(--ink); color: var(--paper); font: 600 .85rem var(--f-display); text-decoration: none; transition: top .15s ease; }
.skip:focus { top: 12px; outline: 2px solid var(--magenta); outline-offset: 2px; }
