/* JomaPaint · landing (propuesta)
   Sistema industrial: negro estructural, blanco técnico, verde de acción.
   Tipografía: Archivo (variable, eje de anchura). Radios 2–4 px, líneas de 1 px, sin sombras. */
/* Archivo (OFL), autoalojada: variable en peso y anchura. Subconjuntos latin y latin-ext. */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(fonts/archivo-latin.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; }
:root {
  --ink: #1A1A1A;
  --paper: #FAF9F6;
  --paper-2: #EFEDE8;
  --muted: #5C5B58;
  --muted-dark: #CFCDC8;
  --muted-dark-2: #A9A7A2;
  --line: rgba(26, 26, 26, 0.14);
  --line-dark: rgba(250, 249, 246, 0.14);
  --brand: #E1231D;    /* rojo Joma: marca (logotipo, sellos, detalles). Nunca en botones */
  --acc: #0E7A4A;      /* acción (verde por defecto) */
  --acc-fg: #FFFFFF;
  --ok: #0E7A4A;       /* hitos completados */
  --note: #D6E4FF;     /* anotación: dato pendiente (solo maqueta) */
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --pad-x: clamp(20px, 5cqi, 80px);
}
:root[data-acento="rojo"] { --acc: #E1231D; --acc-fg: #FFFFFF; }
:root[data-acento="neutro"] { --acc: #FAF9F6; --acc-fg: #1A1A1A; }
:root[data-acento="neutro"] .on-light, :root[data-acento="neutro"] #presupuesto { --acc: #1A1A1A; --acc-fg: #FAF9F6; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
mark.note { background: var(--note); color: var(--ink); padding: 0 4px; border-radius: 1px; }
.tnum { font-feature-settings: 'tnum' 1; }
.nw { white-space: nowrap; }
.sr, .sr-file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-file { opacity: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--paper); color: var(--ink); font-weight: 600; border-radius: 2px; }
.skip:focus { top: 12px; }

.page { container-type: inline-size; overflow-x: clip; }
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: clamp(72px, 9cqi, 136px) var(--pad-x); }
.h2 { font-weight: 600; font-stretch: 112%; font-size: clamp(36px, 4.4cqi, 62px); line-height: 1; letter-spacing: -0.02em; }
.h3 { font-weight: 600; font-stretch: 110%; font-size: clamp(28px, 2.8cqi, 38px); letter-spacing: -0.015em; line-height: 1.08; }
.h-xl { font-weight: 600; font-stretch: 112%; font-size: clamp(40px, 5.6cqi, 84px); line-height: 0.96; letter-spacing: -0.025em; max-width: 17ch; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.dark { background: #1A1A1A; color: var(--paper); }
.dark .lead { color: var(--muted-dark); }
.blueprint { background-color: #1A1A1A; background-image: linear-gradient(rgba(250, 249, 246, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 249, 246, 0.04) 1px, transparent 1px); background-size: 48px 48px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 20px clamp(32px, 6cqi, 96px); align-items: end; }
.small-muted { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Botones */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 2px; font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; text-align: center; transition: filter 120ms; }
.btn:hover { filter: brightness(0.9); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-acc { background: var(--acc); color: var(--acc-fg); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn[disabled] { background: #4A4945; color: #A9A7A2; cursor: not-allowed; filter: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Logotipo: logo Joma + apellido */
.lockup { --h: 34px; display: inline-flex; align-items: flex-start; gap: calc(var(--h) * 0.3); text-decoration: none; color: inherit; }
.lockup img { height: var(--h); width: auto; display: block; }
.lockup .rule { display: block; width: 1px; height: calc(var(--h) * 0.64); margin-top: calc(var(--h) * 0.25); background: currentColor; opacity: 0.4; }
.lockup .paint { display: block; margin-top: calc(var(--h) * 0.31); font-size: calc(var(--h) * 0.723); line-height: calc(var(--h) * 0.51); height: calc(var(--h) * 0.51); font-weight: 560; font-stretch: 118%; letter-spacing: 0.05em; white-space: nowrap; }

.lk-mark { display: flex; flex-direction: column; align-items: center; gap: calc(var(--h) * 0.26); }
.since { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1; color: rgba(250, 249, 246, 0.66); white-space: nowrap; margin-right: -0.18em; }

/* Formularios */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.input { height: 46px; padding: 0 12px; border: 1px solid rgba(26, 26, 26, 0.4); border-radius: 2px; background: #FFFFFF; font-family: inherit; font-size: 16px; color: var(--ink); min-width: 0; width: 100%; }
.input-ink { border-color: var(--ink); height: 48px; }
textarea.input { height: auto; padding: 12px; resize: vertical; }
select.input { padding: 0 10px; }
.seg { display: flex; gap: 3px; padding: 3px; background: var(--paper-2); border: 1px solid rgba(26, 26, 26, 0.12); border-radius: 2px; }
.seg button { appearance: none; flex: 1; min-height: 40px; border: 1px solid transparent; border-radius: 2px; background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 4px 8px; }
.seg button[aria-pressed="true"] { background: #FFFFFF; border-color: rgba(26, 26, 26, 0.4); }
.ctrl { display: flex; flex-direction: column; gap: 8px; }
.ctrl-l { font-size: 14px; font-weight: 600; color: #3A3936; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 900px; background: #141414; color: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,0.97) 0%, rgba(20,20,20,0.9) 33%, rgba(20,20,20,0.38) 62%, rgba(20,20,20,0.06) 100%); }
.hero-shade2 { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,0.97) 0%, rgba(20,20,20,0) 30%), linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(20,20,20,0) 20%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(250,249,246,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(250,249,246,0.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 70%); }
#powder { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.22) 34%, #000 58%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.22) 34%, #000 58%); }
.topbar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 22px var(--pad-x); border-bottom: 1px solid rgba(250,249,246,0.12); }
.mainnav { display: flex; align-items: center; gap: clamp(16px, 2.2cqi, 32px); overflow-x: auto; max-width: 100%; font-size: 15px; font-weight: 500; scrollbar-width: none; }
.mainnav a { color: var(--paper); text-decoration: none; white-space: nowrap; padding: 12px 0; }
.mainnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.topbar-end { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; border: 1px solid rgba(250,249,246,0.28); border-radius: 2px; }
.langs a { min-width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--paper); text-decoration: none; }
.langs a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5cqi, 72px) var(--pad-x) clamp(36px, 4.5cqi, 64px); }
.hero-col { max-width: min(880px, 100%); display: flex; flex-direction: column; gap: clamp(22px, 2.4cqi, 32px); }
.draft { align-self: flex-start; padding: 6px 10px; border-radius: 2px; background: var(--note); color: var(--ink); font-size: 13px; font-weight: 600; }
.hero-h1 { display: flex; flex-direction: column; gap: clamp(20px, 2.2cqi, 28px); font-weight: inherit; }
.hero-h1 .kicker { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--muted-dark); max-width: 52ch; }
.hero-h1 .display { font-weight: 600; font-stretch: 112%; font-size: clamp(44px, 5.4cqi, 80px); line-height: 0.98; letter-spacing: -0.025em; color: var(--paper); }
.hero-lead { font-size: clamp(17px, 1.35cqi, 20px); line-height: 1.55; color: var(--muted-dark); max-width: 52ch; }
.upload { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; padding: 12px; border-radius: 4px; background: rgba(20,20,20,0.9); border: 1px solid rgba(250,249,246,0.16); max-width: 800px; }
.upload-drop { position: relative; flex: 1 1 320px; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px dashed rgba(250,249,246,0.4); border-radius: 2px; cursor: pointer; min-width: 0; transition: border-color 150ms, background 150ms; }
.upload-drop:hover, .upload-drop.drag { border-color: var(--paper); background: rgba(250,249,246,0.04); }
.upload-drop:focus-within { outline: 2px solid var(--paper); outline-offset: 2px; }
.upload-ico { flex: none; width: 48px; height: 48px; background: var(--acc); color: var(--acc-fg); display: inline-flex; align-items: center; justify-content: center; }
.upload-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.upload-t { font-weight: 600; font-size: 17px; color: var(--paper); overflow-wrap: anywhere; }
.upload-h { font-size: 13.5px; color: var(--muted-dark-2); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; color: var(--muted-dark); }
.hero-foot a { color: var(--paper); text-underline-offset: 4px; text-decoration-color: rgba(250,249,246,0.45); padding: 12px 0; }
.lockline { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(250,249,246,0.14); background: rgba(20,20,20,0.72); }
.hero-stats dl { padding: 0 var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 0 24px; }
.hero-stats dl > div { padding: 20px 0 22px; display: flex; flex-direction: column; gap: 8px; }
.hero-stats dt { font-size: 13px; color: var(--muted-dark-2); }
.hero-stats dd { font-size: clamp(19px, 1.8cqi, 25px); font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.15; }
.hero-stats dd mark.note { padding: 2px 6px; }
.stat-note { display: block; font-size: 13px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--muted-dark-2); margin-top: 6px; }

/* ---------- Cómo funciona ---------- */
.steps3 { margin-top: clamp(48px, 6cqi, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px clamp(20px, 3cqi, 40px); }
.steps3 li { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.outline-num { font-weight: 600; font-stretch: 125%; font-size: clamp(64px, 7cqi, 104px); line-height: 0.82; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.steps3 h3 { font-weight: 600; font-stretch: 110%; font-size: 24px; letter-spacing: -0.01em; }
.steps3 p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 34ch; }

/* ---------- Servicios ---------- */
.serv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6cqi, 96px); align-items: start; }
.serv-head { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 32px; }
.serv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0 clamp(24px, 3cqi, 40px); }
.serv-list li { border-top: 1px solid var(--line); padding: 22px 0 26px; display: flex; flex-direction: column; gap: 8px; }
.serv-list h3 { font-weight: 600; font-stretch: 108%; font-size: 20px; letter-spacing: -0.005em; line-height: 1.2; }
.serv-list h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(26,26,26,0.35); }
.serv-list h3 a:hover { text-decoration-color: var(--ink); }
.serv-list p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.serv-sectors { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--ink); font-size: 17px; line-height: 1.55; color: var(--muted); }
.serv-sectors strong { color: var(--ink); font-weight: 600; }
@container (max-width: 860px) { .serv { grid-template-columns: 1fr; } .serv-head { position: static; } }

/* ---------- Proceso ---------- */
.rail { position: relative; margin-top: clamp(40px, 5cqi, 72px); height: 300px; border-radius: 4px; background: #141414; border: 1px solid rgba(250,249,246,0.12); overflow: hidden; }
.rail-zones { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rail-zones > div { position: relative; border-left: 1px solid rgba(250,249,246,0.08); transition: background 700ms ease; }
.rail-zones > div:first-child { border-left: 0; }
.rail-zones span { position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: rgba(250,249,246,0.62); transition: color 300ms; }
.rail-zones > div.on span { color: var(--paper); }
.rail-zones > div.glow { animation: jpGlow 2.4s ease-in-out infinite; }
.rail-ticks { position: absolute; left: 0; right: 0; top: 38px; height: 6px; background: repeating-linear-gradient(90deg, rgba(250,249,246,0.3) 0 1px, transparent 1px 24px); }
.rail-line { position: absolute; left: 0; right: 0; top: 44px; height: 1px; background: rgba(250,249,246,0.4); }
#carriage { position: absolute; top: 44px; left: 10%; width: 160px; margin-left: -80px; height: 240px; transform: scale(1.28); transform-origin: 80px 0; transition: left 1100ms cubic-bezier(.23,1,.32,1); }
#carriage polygon, #carriage rect { transition: fill 900ms ease, opacity 600ms ease; }
@container (max-width: 700px) { #carriage { transform: scale(0.9); } .rail { height: 250px; } }
.sway { position: absolute; inset: 0; transform-origin: 80px 0; animation: jpSway 3.4s ease-in-out infinite; }
.fx { position: absolute; inset: 0; }
.st-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.st-tabs button { appearance: none; text-align: left; cursor: pointer; background: transparent; color: var(--muted-dark); border: 1px solid rgba(250,249,246,0.22); border-radius: 2px; padding: 12px 14px; min-height: 58px; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-family: inherit; transition: background 200ms, color 200ms, border-color 200ms; }
.st-tabs button > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.st-tab-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.st-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@container (max-width: 760px) { .st-tab-name { display: none; } .st-tabs button { align-items: center; } }
.st-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(28px, 4cqi, 72px); margin-top: clamp(36px, 4cqi, 64px); align-items: center; }
.st-panel { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.st-num { font-weight: 600; font-stretch: 125%; font-size: clamp(80px, 9cqi, 150px); line-height: 0.78; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(250,249,246,0.85); }
.st-panel h3 { font-weight: 600; font-stretch: 110%; font-size: clamp(28px, 2.8cqi, 38px); letter-spacing: -0.015em; }
.st-panel p { font-size: 18px; line-height: 1.6; color: var(--muted-dark); max-width: 46ch; }
.st-panel .st-data { font-size: 14px; font-weight: 600; }
.st-data mark.note { padding: 3px 7px; }
.st-photos { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #262626; }
.st-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 800ms ease; }
.st-photos img.on { opacity: 1; }
.st-photos figcaption { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: rgba(20,20,20,0.82); color: var(--paper); font-size: 13px; }

/* ---------- Explorador RAL ---------- */
.ral { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: clamp(24px, 3.5cqi, 56px); align-items: start; }
.ral-left, .ral-right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ral-left { gap: 20px; }
.ral-field { position: relative; border-radius: 4px; overflow: hidden; min-height: 620px; padding: clamp(20px, 2.2cqi, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: background 500ms ease, color 300ms ease; background: #3C3A33; color: var(--paper); }
.ral-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ral-muted { opacity: 0.72; }
.ral-plate { position: relative; width: 100%; max-width: 400px; margin: 0 auto; }
.ral-plate svg { width: 100%; height: auto; display: block; overflow: visible; }
.ral-sticker { position: absolute; left: 30.5%; top: 74.6%; transform: rotate(5.7deg); transform-origin: 0 0; padding: 5px 9px; background: rgba(255,255,255,0.95); color: #1A1A1A; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
@container (max-width: 560px) { .ral-sticker { font-size: 8px; padding: 3px 6px; } .ral-field { min-height: 520px; } }
.ral-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.ral-cap-l { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.ral-code { font-weight: 600; font-stretch: 125%; font-size: clamp(76px, 8.4cqi, 140px); line-height: 0.8; letter-spacing: -0.03em; }
.ral-cap-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.ral-name { font-weight: 600; font-stretch: 110%; font-size: 24px; letter-spacing: -0.01em; line-height: 1.15; }
.ral-hex { font-size: 13px; }
.ral-ctrls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px 24px; }
.search-wrap { position: relative; display: flex; align-items: center; margin-top: -12px; }
.search-wrap svg { position: absolute; left: 14px; }
.search-wrap .input { height: 52px; padding-left: 42px; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(26,26,26,0.18); border-radius: 2px; background: #FFFFFF; color: var(--ink); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(26,26,26,0.2); }
.sw-box { max-height: 470px; overflow: auto; padding: 6px; margin: -6px; }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
.sw { appearance: none; position: relative; border: 0; border-radius: 2px; aspect-ratio: 1; min-height: 44px; cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-start; padding: 5px 6px; font-family: inherit; font-size: 11px; font-weight: 600; transition: transform 120ms cubic-bezier(.23,1,.32,1); }
.sw:hover { transform: scale(1.14); z-index: 2; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #FAF9F6, 0 0 0 4px #1A1A1A; z-index: 1; }
.sw .lum { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1.5px #1A1A1A; }
.sw-empty { padding: 40px 8px; font-size: 16px; color: var(--muted); }
.sw-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: 14px; color: var(--muted); }
.legend { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg-pearl { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0) 100%), #888175; }
.lg-lum { width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1.5px #1A1A1A; }

/* ---------- Cotizador ---------- */
.q-deadline { color: var(--ink); font-weight: 600; }
.q-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.q-steps li { display: flex; }
.q-steps button { appearance: none; flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border: 1px solid rgba(26,26,26,0.18); border-radius: 2px; background: #FFFFFF; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer; }
.q-steps button[aria-current="step"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.q-steps button:disabled { cursor: default; color: #8A8984; }
.q-steps button[aria-current="step"]:disabled { color: var(--paper); }
.q-mark { flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(26,26,26,0.3); font-size: 13px; font-weight: 600; }
.q-steps button[aria-current="step"] .q-mark { border-color: rgba(250,249,246,0.5); }
.q-step-l { font-weight: 600; font-size: 16px; }
@container (max-width: 640px) { .q-step-l { display: none; } .q-steps button { justify-content: center; } }
.q-body { display: flex; flex-wrap: wrap; gap: clamp(24px, 3cqi, 40px); align-items: flex-start; }
.q-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.q-aside { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; background: #1A1A1A; color: var(--paper); border-radius: 4px; padding: clamp(20px, 2.4cqi, 28px); display: flex; flex-direction: column; gap: 20px; }
.q-line { margin: 0; padding: clamp(16px, 2cqi, 24px); border: 1px solid rgba(26,26,26,0.16); border-radius: 4px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.q-line legend { padding: 0 6px; font-size: 14px; font-weight: 600; }
.q-line-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.q-file { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F3F1EC; border-radius: 2px; min-width: 0; }
.q-file-n { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.q-file-s { font-size: 13px; color: var(--muted); }
.q-unfile { flex: none; margin-left: 6px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 14px; cursor: pointer; }
.q-drop { position: relative; flex: 1 1 260px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed rgba(26,26,26,0.4); border-radius: 2px; cursor: pointer; font-size: 15px; }
.q-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.q-x { appearance: none; border: 1px solid rgba(26,26,26,0.2); background: #FFFFFF; width: 44px; height: 44px; border-radius: 2px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 14px; }
.g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; align-items: end; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 440px; }
.warn[hidden] { display: none; }
.q-del { font-size: 15px; line-height: 1.5; color: var(--muted); padding-top: 6px; max-width: 40ch; }
.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #FFF4D6; border-radius: 2px; font-size: 15px; line-height: 1.45; }
.q-color { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: clamp(16px, 2cqi, 24px); border: 1px solid rgba(26,26,26,0.16); border-radius: 4px; }
.q-color-sw { width: 88px; height: 88px; box-shadow: inset 0 0 0 1px rgba(26,26,26,0.12); flex: none; }
.q-color-t { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; }
.q-color-c { font-weight: 600; font-stretch: 115%; font-size: 28px; letter-spacing: -0.01em; }
.link-ink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.envs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.env { appearance: none; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 112px; border: 1px solid rgba(26,26,26,0.18); border-radius: 2px; background: #FFFFFF; font-family: inherit; color: var(--ink); cursor: pointer; }
.env[aria-pressed="true"] { background: var(--paper); border-color: var(--ink); outline: 1px solid var(--ink); }
.env-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; font-weight: 600; font-size: 16px; }
.env-c { flex: none; white-space: nowrap; font-size: 13px; font-weight: 600; padding: 2px 6px; background: var(--paper-2); }
.env-d { font-size: 14px; line-height: 1.4; color: var(--muted); }
.fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.fs legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(26,26,26,0.18); border-radius: 2px; background: #FFFFFF; font-size: 15px; font-weight: 500; cursor: pointer; }
.check.on { background: var(--paper); border-color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: #1A1A1A; margin: 0; }
.rgpd { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.rgpd input { width: 20px; height: 20px; accent-color: #1A1A1A; margin: 1px 0 0; flex: none; }
.btn-add { align-self: flex-start; }
.q-done { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3cqi, 40px); border: 1px solid rgba(26,26,26,0.16); border-radius: 4px; }
.q-done-ico { width: 64px; height: 64px; background: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.q-done h3 { font-weight: 600; font-stretch: 112%; font-size: clamp(28px, 3cqi, 40px); letter-spacing: -0.015em; }
.q-done ol { border-top: 1px solid var(--line); }
.q-done ol li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.aside-h { font-weight: 600; font-stretch: 110%; font-size: 22px; }
.aside-lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.aside-lines li { display: flex; justify-content: space-between; gap: 12px; }
.aside-lines li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside-dim { color: var(--muted-dark); }
.aside-tot { padding-top: 14px; border-top: 1px solid rgba(250,249,246,0.16); display: flex; justify-content: space-between; font-size: 15px; color: var(--muted-dark); }
.aside-col { display: flex; align-items: center; gap: 14px; }
.aside-col > span:first-child { width: 44px; height: 44px; box-shadow: inset 0 0 0 1px rgba(250,249,246,0.25); flex: none; }
.aside-col > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.aside-dl { padding: 16px; background: #262626; border-radius: 2px; display: flex; flex-direction: column; gap: 6px; }
.aside-dl .t { font-size: 13px; color: var(--muted-dark-2); }
.aside-dl .v { font-weight: 600; font-stretch: 115%; font-size: 26px; letter-spacing: -0.01em; }
.aside-nav { display: flex; flex-direction: column; gap: 8px; }
.aside-nav .btn { min-height: 54px; font-size: 17px; }
.aside-back { appearance: none; border: 0; min-height: 44px; background: transparent; color: var(--paper); font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.aside-need { font-size: 13px; color: var(--muted-dark); text-align: center; }
#presupuesto .btn-acc { background: var(--acc); }

/* ---------- Seguimiento (vista previa) ---------- */
.trk { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(40px, 6cqi, 96px); align-items: center; }
.track-l { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.track-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; align-items: end; max-width: 640px; }
.track-form .btn { min-height: 48px; }
.track-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: clamp(20px, 2.4cqi, 32px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.track-head > div { display: flex; flex-direction: column; gap: 4px; }
.track-code { font-size: 17px; font-weight: 600; }
.pill-ok { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 2px; background: #E4F1EA; color: #0B6E42; font-weight: 600; font-size: 14px; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: jpPulse 1.6s ease-out infinite; }
.ms { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.ms li { height: 6px; background: #E2E0DB; }
.ms li.done { background: var(--ok); }
.ms li.now { background: linear-gradient(90deg, var(--ok) 55%, #BFE0CF 55%); }
.track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.track-photo { position: relative; border-radius: 2px; overflow: hidden; min-height: 180px; background: #E2E0DB; }
.track-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 5px 9px; background: rgba(20,20,20,0.8); color: var(--paper); font-size: 12px; }
.track-events { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.track-events li { display: flex; flex-direction: column; gap: 2px; }
.track-events li > span:first-child { font-weight: 600; }

/* ---------- Calidad ---------- */
.quality { background: var(--paper); padding: clamp(72px, 9cqi, 136px) 0 0; }
.quality-in { max-width: calc(1280px + 2 * var(--pad-x)); padding: 0 var(--pad-x); display: flex; flex-direction: column; gap: clamp(40px, 5cqi, 72px); }
.marine { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3cqi, 48px); align-items: center; padding: clamp(20px, 2.6cqi, 36px); background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; }
.marine-t, .marine-l { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.marine h3 { font-weight: 600; font-stretch: 110%; font-size: 26px; letter-spacing: -0.01em; }
.marine p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.marine .marine-data { align-self: flex-start; padding: 6px 10px; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
@container (max-width: 760px) { .marine { grid-template-columns: 1fr; } }
.seal-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px clamp(40px, 6cqi, 88px); margin-top: calc(-1 * clamp(8px, 1.6cqi, 24px)); }
.seal-row li { display: flex; flex-direction: column; gap: 12px; }
.seal-logo { height: 64px; display: flex; align-items: center; }
.seal-logo img, .seal-logo svg { display: block; }
.seal-cap { font-size: 13px; color: var(--muted); }
.seal-pending { opacity: 0.5; filter: grayscale(1); }
@container (max-width: 560px) { .seal-row li { flex: 0 0 calc(50% - 20px); } .seal-row { gap: 28px 40px; } }
.asterisk { margin-top: calc(-1 * clamp(24px, 3.5cqi, 48px)); font-size: 12.5px; color: var(--muted); }
.asterisk p + p { margin-top: 4px; }
.logos { margin-top: clamp(56px, 6cqi, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #FFFFFF; display: flex; align-items: center; overflow: hidden; }
.logos-l { flex: none; padding: 0 clamp(20px, 3cqi, 40px); font-size: 14px; font-weight: 600; white-space: nowrap; border-right: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; background: #FFFFFF; position: relative; z-index: 2; }
.logos-mask { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos .track { display: flex; width: max-content; animation: jpMarquee 38s linear infinite; }
.logos:hover .track { animation-play-state: paused; }
.logo-set { padding: 0 28px; display: flex; align-items: center; gap: 56px; height: 104px; }
.logo-set img { width: auto; display: block; }
.logo-item { filter: grayscale(1); opacity: .62; transition: filter 200ms, opacity 200ms; }
.logo-item:hover { filter: none; opacity: 1; }
.logo-txt { font-weight: 700; font-stretch: 110%; letter-spacing: 0.02em; color: #6B6A66; white-space: nowrap; }

/* ---------- Antes de enviar + FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(40px, 6cqi, 96px); align-items: start; }
.prep { border-radius: 4px; padding: clamp(24px, 3cqi, 40px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prep ul { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.5; }
.prep li { display: flex; gap: 12px; }
.prep li svg { flex: none; margin-top: 2px; }
.faq { display: flex; flex-direction: column; min-width: 0; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid rgba(26,26,26,0.16); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid rgba(26,26,26,0.16); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; min-height: 28px; }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.plus { font-size: 24px; font-weight: 400; transition: transform 200ms; flex: none; }
details[open] .plus { transform: rotate(45deg); }

/* ---------- Grupo + contacto ---------- */
.group { padding: clamp(80px, 10cqi, 150px) var(--pad-x) 40px; }
.group-in { display: flex; flex-direction: column; gap: clamp(56px, 7cqi, 104px); }
.group-top { display: flex; flex-direction: column; gap: clamp(32px, 4cqi, 56px); }
.g-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1px; background: rgba(250,249,246,0.14); border-top: 1px solid rgba(250,249,246,0.14); border-bottom: 1px solid rgba(250,249,246,0.14); }
.g-stats > div { background: #1A1A1A; padding: 26px 20px; display: flex; flex-direction: column; gap: 8px; }
.g-stats dt { font-size: 14px; color: var(--muted-dark-2); }
.g-stats dd { font-weight: 600; font-stretch: 118%; font-size: clamp(40px, 4.4cqi, 60px); line-height: 1; letter-spacing: -0.02em; }
.g-stats dd.g-ph { font-size: clamp(32px, 3.4cqi, 46px); line-height: 1.1; }
.g-stats dd mark.note { padding: 2px 8px; }
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.brands li { border: 1px solid rgba(250,249,246,0.18); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 150px; justify-content: space-between; }
.brands li > span:last-child { font-size: 15px; color: var(--muted-dark); }
.brand-word { font-weight: 600; font-stretch: 118%; font-size: 24px; letter-spacing: 0.01em; }
.brand-paint { border-color: var(--acc) !important; }
.brand-ph { border-style: dashed !important; border-color: rgba(250,249,246,0.3) !important; }
.brand-ph mark.note { align-self: flex-start; padding: 2px 8px; font-weight: 600; font-size: 16px; }
.contact { display: flex; flex-direction: column; gap: clamp(32px, 4cqi, 48px); padding-top: clamp(40px, 5cqi, 72px); border-top: 1px solid rgba(250,249,246,0.16); }
.contact-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: rgba(250,249,246,0.14); border: 1px solid rgba(250,249,246,0.14); border-radius: 4px; overflow: hidden; }
.contact-grid > * { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #1A1A1A; color: var(--paper); text-decoration: none; }
.contact-grid a:hover .c-v { text-decoration: underline; text-underline-offset: 5px; }
.c-l { font-size: 14px; color: var(--muted-dark-2); }
.c-v { font-weight: 600; font-stretch: 110%; font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.c-addr { font-size: 20px; line-height: 1.35; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(250,249,246,0.14); font-size: 14px; color: var(--muted-dark-2); }
.foot-l { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted-dark); text-decoration: none; padding: 10px 0; }
.foot-nav a:hover { text-decoration: underline; }
.foot-svc { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 28px; padding-bottom: 18px; border-bottom: 1px solid rgba(250,249,246,0.1); }
.foot-svc a { color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.foot-svc a:hover, .foot-svc a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.contact-h { display: flex; flex-direction: column; gap: 16px; }

/* Grupo: historia, fábrica y unidades */
.layers { display: flex; flex-direction: column; gap: 3px; max-width: 360px; }
.layers li { padding: 7px 12px; font-size: 14px; font-weight: 600; border-left: 3px solid var(--ink); background: var(--paper-2); }
.layers li:first-child { border-left-color: var(--ok); background: #E4F1EA; }
.layers li:last-child { border-left-color: #8C9096; background: #ECEDEE; color: #3A3936; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(250,249,246,0.3); }
.timeline li { position: relative; padding: 22px 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--paper); }
.timeline li:last-child::before { background: var(--acc); }
.tl-y { font-weight: 600; font-stretch: 118%; font-size: clamp(26px, 2.6cqi, 36px); line-height: 1; letter-spacing: -0.015em; }
.tl-x { font-size: 15px; line-height: 1.45; color: var(--muted-dark); max-width: 26ch; }
@container (max-width: 860px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgba(250,249,246,0.3); } .timeline li { padding: 0 0 22px 22px; } .timeline li::before { top: 6px; left: -5px; } }
/* Fachada completa, con su proporción original (2035 × 773): sin recortes ni textos encima. */
.plant { position: relative; }
.plant > img { display: block; width: 100%; height: auto; aspect-ratio: 2035 / 773; object-fit: cover; border-radius: 4px; background: #262626; }
.plant .g-stats { background: transparent; border: 0; margin-top: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.plant .g-stats > div { background: transparent; padding: 20px 0 4px; border-top: 1px solid rgba(250,249,246,0.22); }
.plant figcaption { position: absolute; top: 0; right: 0; padding: 7px 12px; background: rgba(20,20,20,0.8); color: var(--paper); font-size: 13px; border-radius: 0 4px 0 0; }
@container (max-width: 700px) {
  .plant .g-stats { grid-template-columns: 1fr; margin-top: 0; }
  .plant .g-stats > div { padding: 18px 0; border-top: 0; border-bottom: 1px solid rgba(250,249,246,0.14); }
  .plant figcaption { display: none; }
}
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.unit { height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 0 0 22px; border: 1px solid rgba(250,249,246,0.18); border-radius: 4px; overflow: hidden; color: var(--paper); text-decoration: none; background: #1A1A1A; transition: border-color 200ms; }
a.unit:hover { border-color: rgba(250,249,246,0.6); }
.unit-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #262626; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.23,1,.32,1); }
a.unit:hover .unit-img img { transform: scale(1.04); }
.unit-seal { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.unit-seal img { width: 30%; height: auto; filter: none !important; transform: none !important; }
.unit-logo, .unit-d, .unit-l { padding: 0 20px; }
.unit-logo { display: flex; align-items: flex-start; min-height: 30px; }
.unit-logo img { width: auto; display: block; }
.unit-d { font-size: 15px; line-height: 1.45; color: var(--muted-dark); flex: 1; }
.unit-l { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(250,249,246,0.4); }
.unit-here { border-color: var(--acc); }
.unit-here .unit-l { text-decoration: none; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.unit-here .unit-l::before { content: ''; width: 8px; height: 8px; background: var(--acc); }

/* ---------- Páginas de servicio ---------- */
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(250,249,246,0.5); }
.svc-top { background: #141414; color: var(--paper); }
.svc-hero { background: #141414; color: var(--paper); }
.svc-hero-in { padding: clamp(8px, 1.4cqi, 20px) var(--pad-x) clamp(44px, 5.5cqi, 80px); }
.crumbs ol { font-size: 14px; line-height: 1.5; color: var(--muted-dark-2); }
.crumbs li { display: inline; white-space: nowrap; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: rgba(250,249,246,0.4); }
.crumbs a, .crumbs span { display: inline-block; padding: 10px 0; }
.crumbs a { color: var(--muted-dark); text-underline-offset: 4px; text-decoration-color: rgba(250,249,246,0.35); }
.crumbs span { color: var(--paper); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(32px, 5cqi, 80px); align-items: center; margin-top: clamp(12px, 2.4cqi, 36px); }
@container (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; } }
.svc-hero-txt { display: flex; flex-direction: column; gap: clamp(20px, 2.2cqi, 28px); min-width: 0; }
.svc-hero-txt .draft { margin-bottom: -4px; }
.svc-kicker { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--muted-dark); max-width: 52ch; }
.svc-h1 { font-weight: 600; font-stretch: 112%; font-size: clamp(34px, 5cqi, 76px); line-height: 0.98; letter-spacing: -0.025em; overflow-wrap: break-word; }
.svc-fig { position: relative; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: #262626; }
.svc-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-fig figcaption { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: rgba(20,20,20,0.82); color: var(--paper); font-size: 13px; }
.svc-stats { background: #1A1A1A; }
.svc-stats dl.wrap { padding: 0 var(--pad-x); max-width: calc(1280px + 2 * var(--pad-x)); }
.svc-main { background: var(--paper); }
.svc-rows { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(32px, 6cqi, 96px); padding: clamp(26px, 3cqi, 40px) 0 clamp(48px, 5.5cqi, 80px); border-top: 1px solid var(--ink); }
.svc-row:last-child { padding-bottom: 0; }
@container (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } }
.svc-h2 { font-weight: 600; font-stretch: 110%; font-size: clamp(26px, 2.6cqi, 36px); letter-spacing: -0.015em; line-height: 1.08; max-width: 16ch; }
.svc-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.svc-body > p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0 clamp(20px, 3cqi, 40px); }
.svc-list li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; background: var(--ink); }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.svc-cards article { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.svc-cards h3 { font-weight: 600; font-stretch: 108%; font-size: 20px; line-height: 1.2; }
.svc-cards p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 3px; max-width: 680px; }
.stack li { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 4px 20px; padding: 14px 16px; border-left: 4px solid var(--ink); background: var(--paper-2); font-size: 16px; line-height: 1.45; }
.stack li strong { font-weight: 600; }
.stack li span { color: #3A3936; }
.stack li:first-child { border-left-color: var(--ok); background: #E4F1EA; }
.stack li:last-child { border-left-color: #8C9096; background: #ECEDEE; }
@container (max-width: 560px) { .stack li { grid-template-columns: 1fr; } }
.svc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 clamp(16px, 2cqi, 28px); }
.svc-steps li { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 18px; border-top: 1px solid var(--ink); }
.svc-step-n { font-weight: 600; font-stretch: 125%; font-size: 28px; line-height: 1; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px var(--ink); margin-bottom: 6px; }
.svc-steps strong { font-weight: 600; font-size: 17px; }
.svc-steps li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); }
.svc-badge { align-self: flex-start; padding: 6px 10px; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; font-weight: 600; }
.svc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #FFFFFF; }
.svc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.svc-table th, .svc-table td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.svc-table thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--paper); }
.svc-table tbody th { font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 2px; font-size: 14px; font-weight: 600; }
.tag::before { content: ''; width: 8px; height: 8px; flex: none; }
.tag-yes { background: #E4F1EA; color: #0B6E42; }
.tag-yes::before { background: var(--ok); }
.tag-no { background: var(--paper-2); color: #3A3936; }
.tag-no::before { background: #8A8984; }
.tag-mid { background: #FFF4D6; color: #6B4E00; }
.tag-mid::before { background: #C08A00; }
@container (max-width: 560px) { .svc-table { font-size: 15px; } .svc-table th, .svc-table td { padding: 12px 10px; } .svc-table thead th { font-size: 13px; } .tag { padding: 4px 8px; font-size: 13px; } }
.svc-note { font-size: 15px; color: var(--muted); }
.svc-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.svc-data > div { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.svc-data dt { font-size: 14px; color: var(--muted); }
.svc-data dd { font-weight: 600; font-size: 18px; }
.svc-faq-sec { background: #FFFFFF; border-top: 1px solid var(--line); }
.svc-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6cqi, 96px); align-items: start; }
@container (max-width: 860px) { .svc-faq { grid-template-columns: 1fr; } }
.svc-rel { display: flex; flex-direction: column; gap: clamp(24px, 3cqi, 36px); }
.unit-t { padding: 0 20px; font-weight: 600; font-stretch: 108%; font-size: 20px; line-height: 1.2; }

/* ---------- Página de seguimiento ---------- */
.trk-page { min-height: 100vh; background: var(--paper); }
.trk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px var(--pad-x); border-bottom: 1px solid var(--line); background: #FFFFFF; }
.trk-main { max-width: 1280px; margin: 0 auto; padding: clamp(40px, 5cqi, 72px) var(--pad-x) clamp(64px, 8cqi, 120px); display: flex; flex-direction: column; gap: clamp(28px, 3.5cqi, 48px); }
.trk-search { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; align-items: end; padding: clamp(16px, 2cqi, 24px); background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; }
.trk-cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 3cqi, 40px); align-items: flex-start; }
.trk-tl { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.trk-tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.trk-h1 { font-weight: 600; font-stretch: 118%; font-size: clamp(34px, 4cqi, 56px); line-height: 1; letter-spacing: -0.02em; }
.tl li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid rgba(26,26,26,0.3); }
.tl li.done .tl-dot { background: var(--ok); border-color: var(--ok); }
.tl li.now .tl-dot { border-color: var(--ok); animation: jpPulse 1.6s ease-out infinite; }
.tl li.now .tl-dot::after { content: ''; width: 10px; height: 10px; background: var(--ok); }
.tl-line { flex: 1; width: 1px; min-height: 24px; background: rgba(26,26,26,0.18); }
.tl li.done .tl-line { background: var(--ok); }
.tl li:last-child .tl-line { background: transparent; }
.tl-body { padding: 2px 0 26px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-t { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.tl-t > span:first-child { font-weight: 600; font-size: 18px; }
.tl li.next .tl-t > span:first-child { color: #6B6A66; }
.tl-n { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tl-box { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding: 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; }
.mini-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.mini-rail li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }
.mini-rail i { display: block; height: 6px; background: #E2E0DB; }
.mini-rail li.done i { background: var(--ok); }
.mini-rail li.now i { background: var(--ink); }
.mini-rail li.next { color: #6B6A66; }
@container (max-width: 760px) { .mini-rail .nm { display: none; } }
.tl-photo { position: relative; aspect-ratio: 16 / 8; border-radius: 2px; overflow: hidden; background: #E2E0DB; }
.tl-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: rgba(20,20,20,0.82); color: var(--paper); font-size: 13px; }
.trk-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.card h2 { font-weight: 600; font-stretch: 110%; font-size: 20px; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.card dt { color: var(--muted); }
.docs li { border-top: 1px solid rgba(26,26,26,0.12); }
.docs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.docs a[aria-disabled="true"] { color: #6B6A66; pointer-events: none; }
.card-dark { background: #1A1A1A; color: var(--paper); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card-dark a { color: var(--paper); font-weight: 600; font-stretch: 110%; font-size: 22px; text-decoration: none; padding: 6px 0; }

/* Animaciones */
@keyframes jpSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes jpSpray { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
@keyframes jpDrip { 0% { transform: translateY(-8px); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(130px); opacity: 0; } }
@keyframes jpGlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes jpScan { 0% { transform: translateY(0); } 100% { transform: translateY(104px); } }
@keyframes jpPulse { 0% { box-shadow: 0 0 0 0 rgba(14, 122, 74, .55); } 100% { box-shadow: 0 0 0 10px rgba(14, 122, 74, 0); } }
@keyframes jpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }
.dark button:focus-visible, .dark a:focus-visible, .hero button:focus-visible, .hero a:focus-visible, .q-aside button:focus-visible, .q-aside a:focus-visible { outline-color: #FAF9F6; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Ajustes de móvil */
@container (max-width: 640px) {
  .mainnav { display: none; }
  .topbar { padding-top: 16px; padding-bottom: 16px; }
}

/* ---------- guías técnicas (certificaciones, normas) ---------- */
.guides { display: flex; flex-direction: column; gap: 14px; }
.guides-h { font-size: 15px; font-weight: 600; color: var(--muted); }
.guides ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.guide-link { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 56px 22px 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; transition: border-color 160ms; }
.guide-link:hover { border-color: var(--ink); }
.guide-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guide-t { font-size: 21px; font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; }
.guide-d { font-size: 15px; line-height: 1.5; color: var(--muted); }
.guide-arrow { position: absolute; right: 20px; top: 22px; transition: transform 160ms; }
.guide-link:hover .guide-arrow { transform: translateX(3px); }
.svc-hero-solo { grid-template-columns: minmax(0, 1fr); }
.svc-hero-solo .svc-hero-txt { max-width: 68ch; }
.svc-src-sec { background: var(--paper); border-top: 1px solid var(--line); }
.svc-src { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 4px 32px; }
.svc-src a { display: inline-block; padding: 8px 0; color: var(--ink); font-size: 15px; text-underline-offset: 4px; }
.foot-svc .foot-guide { color: var(--muted-dark); }

/* ---------- dónde trabajamos ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px clamp(24px, 3cqi, 48px); }
.area-grid li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.area-t { font-size: 20px; font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; }
.area-p { font-size: 16px; line-height: 1.55; }
.area-x { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.area-note { font-size: 15px; color: var(--muted); }

/* ---------- placa RAL en 3D ---------- */
.ral-plate .ral-3d { position: absolute; left: 0; top: 0; display: block; opacity: 0; transition: opacity 500ms ease; touch-action: pan-y; }
.ral-plate.is-3d .ral-3d { opacity: 1; }
.ral-plate.is-3d #ral-svg { visibility: hidden; }
.ral-plate.is-3d .ral-sticker { display: none; }
@media (prefers-reduced-motion: reduce) { .ral-plate .ral-3d { transition: none; } }

/* ---------- servicios: pasos con foto, acabados y llamada intermedia ---------- */
.svc-steps-img { display: flex; flex-direction: column; }
.svc-steps-img li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(16px, 2.4cqi, 28px); align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.svc-steps-img li:first-child { border-top: 1px solid var(--ink); }
.svc-steps-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: #262626; display: block; }
.svc-steps-img li > div { display: flex; flex-direction: column; gap: 6px; }
.svc-body > p.svc-credit { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: none; }
.svc-steps-img strong { font-weight: 600; font-size: 18px; }
.svc-steps-img li > div > span:last-child { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
@container (max-width: 520px) { .svc-steps-img li { grid-template-columns: 1fr; } }
.svc-finishes { margin: 6px 0 0; padding: 22px 22px 16px; background: var(--paper-2); border-radius: 4px; }
.svc-finishes ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-finishes li { display: flex; flex-direction: column; gap: 2px; }
.svc-finishes img { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.svc-finishes strong { font-size: 15px; font-weight: 600; }
.svc-finishes li span { font-size: 13.5px; color: var(--muted); }
.svc-finishes figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
@container (max-width: 520px) { .svc-finishes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin: 0 0 clamp(48px, 5.5cqi, 80px); padding: clamp(22px, 2.6cqi, 34px) clamp(22px, 3cqi, 40px); background: var(--ink); color: var(--paper); border-radius: 4px; }
.svc-mid > div { display: flex; flex-direction: column; gap: 6px; max-width: 58ch; }
.svc-mid-h { font-size: clamp(22px, 2.2cqi, 28px); font-weight: 600; font-stretch: 110%; letter-spacing: -0.01em; }
.svc-mid p:not(.svc-mid-h) { color: var(--muted-dark); font-size: 16.5px; line-height: 1.5; }
/* Luz de ventana sobre el fondo de la placa: dos haces cálidos en diagonal que se
   desplazan con el sol de la escena 3D (--sun, de 0 a 1, lo fija assets/ral3d.js). */
.ral-sun { position: absolute; top: -12%; bottom: -12%; left: -70%; width: 240%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 41%, rgba(255,232,205,0.07) 44%, rgba(255,232,205,0.12) 47%, rgba(255,232,205,0.07) 50%, transparent 53%);
  filter: blur(18px); mix-blend-mode: screen; transform: translateX(calc((var(--sun, 0.42) - 0.5) * 20%)); }
.ral-field > :not(.ral-sun) { position: relative; z-index: 1; }
.q-steps button:not([aria-current]):not(:disabled):hover { border-color: var(--ink); }
.ral-sun { opacity: 0; transition: opacity 600ms ease; }
.ral-field.ral-sunlit .ral-sun { opacity: 1; }
