/* ═══════════════════════════════════════════════════════════
   Deco Mobiliario · estilos
   Marca: petróleo #2d454e + dorado #bcae83 (del monograma "dm")
   Fuentes: Bodoni Moda (títulos) + Jost (texto)
   ═══════════════════════════════════════════════════════════ */

:root {
  --petrol: #2d454e;
  --petrol-2: #263b43;
  --petrol-3: #1f3137;
  --petrol-4: #15232a;
  --gold: #bcae83;
  --gold-l: #ded3b4;
  --gold-d: #7a6436;
  --ivory: #f6f2e9;
  --paper: #fbf9f4;
  --sand: #ece4d4;
  --ink: #172124;
  --ink-2: #2f3c3e;
  --muted: #4f5d60;
  --line-d: rgba(188, 174, 131, .24);
  --line-l: rgba(45, 69, 78, .14);

  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --f-body: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;

  --gut: clamp(20px, 4.2vw, 64px);
  --maxw: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* Bodoni Moda con tamaño óptico bajo: los trazos finos no desaparecen en títulos grandes */
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 14;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--petrol-4); }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ─── Tipografía ─── */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.012em;
  color: var(--petrol);
}
.display em { font-style: italic; font-weight: 500; color: var(--gold-d); }
.display--light { color: var(--ivory); }
.display--light em { color: var(--gold); }

.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 1.4rem;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .55; }
.kicker--gold { color: var(--gold-l); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--ink); }

mark {
  color: inherit;
  background: linear-gradient(transparent 60%, rgba(188, 174, 131, .5) 60%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.4s var(--ease) .3s;
}
.is-in mark, .no-js mark { background-size: 100% 100%; }

.orn { width: 120px; height: 40px; color: var(--gold); }

/* ─── Botones ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: 1.02em 1.7em;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.1;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn--gold { background: var(--gold); color: var(--petrol-4); }
.btn--gold:hover { background: var(--gold-l); }
.btn--line { border: 1px solid rgba(188, 174, 131, .6); color: var(--ivory); }
.btn--line:hover { background: rgba(188, 174, 131, .12); border-color: var(--gold); }
.btn--line-dark { border: 1px solid var(--line-l); color: var(--petrol); }
.btn--line-dark:hover { border-color: var(--petrol); }
.btn--petrol { background: var(--petrol); color: var(--ivory); }
.btn--petrol:hover { background: var(--petrol-2); }
.btn--sm { padding: .72em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn svg:last-child:not(:first-child) { transition: transform .35s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }

/* ═══════════ PANTALLA DE CARGA ═══════════ */
.loader { position: fixed; inset: 0; z-index: 200; display: none; pointer-events: none; }
.js .loader { display: block; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--petrol); }
.loader__half--top { top: 0; }
.loader__half--bot { bottom: 0; }
.loader__inner { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 18px; }
/* escena: el logo se construye como un mueble, sobre un plano técnico (diseño → fundición → terminación) */
.loader__inner { gap: 14px; }
.loader__scene { width: clamp(300px, 40vw, 520px); overflow: visible; }
.ld-guides { fill: none; stroke: rgba(222, 211, 180, .5); stroke-width: .9; }
.ld-axis { stroke: rgba(188, 174, 131, .35); stroke-dasharray: 2 4; }
.ld-box { stroke-dasharray: 4 3; }
.ld-diag { stroke: rgba(188, 174, 131, .28); }
.ld-circ { stroke: rgba(188, 174, 131, .38); }
.ld-dim path { stroke: rgba(222, 211, 180, .7); }
.ld-dim text, .ld-marks text { font-family: var(--f-body); font-size: 9px; font-weight: 600; letter-spacing: .1em; fill: rgba(222, 211, 180, .75); stroke: none; }
.ld-stroke { fill: none; stroke: #f3e6c2; stroke-width: 34; stroke-linejoin: round; filter: drop-shadow(0 0 30px rgba(255, 230, 170, .6)); }
.ld-hot { filter: drop-shadow(0 0 70px rgba(255, 140, 40, .85)); }
.ld-cool, .ld-shine { opacity: 0; }
.ld-pen { opacity: 0; }
.ld-pen circle { fill: rgba(255, 236, 190, .25); stroke: #fff1c9; stroke-width: 1.2; }
.ld-pen path { fill: none; stroke: #fff1c9; stroke-width: 1.1; }
.ld-xy { font-family: var(--f-body); font-size: 8.5px; font-weight: 600; letter-spacing: .08em; fill: #fff1c9; font-variant-numeric: tabular-nums; }
/* etapas de fabricación */
.loader__steps { position: relative; display: grid; grid-template-columns: repeat(3, auto); gap: clamp(18px, 3vw, 44px); padding-bottom: 12px; }
.ld-step { display: flex; align-items: baseline; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(222, 211, 180, .38); transition: color .5s; }
.ld-step i { font-style: normal; font-family: var(--f-display); font-size: .95rem; letter-spacing: 0; color: rgba(188, 174, 131, .45); transition: color .5s; }
.ld-step.is-on { color: var(--ivory); }
.ld-step.is-on i { color: #ffd28a; text-shadow: 0 0 12px rgba(255, 180, 90, .8); }
.ld-step.is-done { color: var(--gold-l); }
.ld-step.is-done i { color: var(--gold); }
.ld-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; background: rgba(188, 174, 131, .18); }
.ld-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); box-shadow: 0 0 10px rgba(255, 170, 70, .7); transform-origin: left; transform: scaleX(0); }
.loader__brand { display: flex; align-items: center; gap: 12px; margin-top: 6px; clip-path: inset(0 100% 0 0); }
.loader__brand svg { height: 38px; width: auto; aspect-ratio: 2434 / 570; fill: var(--gold); }
.loader__word { font-size: .86rem; font-weight: 500; letter-spacing: .55em; text-transform: uppercase; color: var(--gold-l); padding-left: .55em; }
.loader__pct { font-family: var(--f-display); font-size: .95rem; color: rgba(222, 211, 180, .7); font-variant-numeric: tabular-nums; }
/* junta del molde: una línea incandescente marca dónde se abre */
.loader__seam { position: absolute; left: 0; right: 0; top: calc(50% - 1px); z-index: 2; height: 2px; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, #ffc978 18%, #fff3d1 50%, #ffc978 82%, transparent); box-shadow: 0 0 18px 3px rgba(255, 170, 70, .6); }
.is-loaded .loader { visibility: hidden; }

/* ═══════════ HEADER ═══════════ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: var(--hdr);
  color: var(--ivory);
  transition: color .4s, background-color .4s, transform .5s var(--ease), border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in { height: 100%; width: min(1480px, 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.hdr.is-scrolled { height: 66px; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hdr.is-scrolled[data-on="dark"] { background: rgba(21, 35, 42, .78); border-color: var(--line-d); }
.hdr.is-scrolled[data-on="light"], .hdr.is-scrolled[data-on="gold"] { background: rgba(251, 249, 244, .86); border-color: var(--line-l); }
/* en celular el encabezado va más opaco: el texto que pasa por detrás no se transparenta (sobre todo donde el desenfoque no alcanza) */
@media (max-width: 900px) {
  .hdr.is-scrolled[data-on="dark"] { background: rgba(21, 35, 42, .94); }
  .hdr.is-scrolled[data-on="light"], .hdr.is-scrolled[data-on="gold"] { background: rgba(251, 249, 244, .95); }
}
.hdr[data-on="light"], .hdr[data-on="gold"] { color: var(--petrol); }
.hdr.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; }

.nav { display: flex; gap: clamp(16px, 2vw, 32px); margin-left: auto; font-size: .92rem; }
.nav a { position: relative; padding: 6px 0; opacity: .86; transition: opacity .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__cta { margin-left: 8px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; position: relative; margin-left: auto; opacity: .9; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--petrol-4);
  color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + 20px) var(--gut) 40px;
  clip-path: circle(0% at calc(100% - 48px) 38px);
  transition: clip-path .8s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 48px) 38px); visibility: visible; }
.menu__nav { display: grid; gap: 6px; }
.menu__nav a { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.15; display: flex; align-items: baseline; gap: 16px; }
.menu__nav small { font-family: var(--f-body); font-size: .80rem; letter-spacing: .2em; color: var(--gold); }
.menu__foot { margin-top: 48px; display: grid; gap: 14px; color: var(--gold-l); }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; }
.menu__foot svg { width: 20px; height: 20px; }

/* ═══════════ CATÁLOGO DESTACADO + TARJETAS ═══════════ */
.featured { background: var(--paper); padding: clamp(100px, 11vw, 160px) 0; }
.featured__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line-l); font-size: .88rem; color: var(--ink-2); transition: background-color .35s, color .35s, border-color .35s; }
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); }
.chip sup { font-size: .68em; margin-left: 3px; opacity: .7; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--sand); cursor: pointer; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard__media img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard:hover .pcard__media img + img { opacity: 1; }
.pcard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: .35em .8em; border-radius: 999px; background: var(--gold); color: var(--petrol-4); font-size: .80rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pcard__view { position: absolute; inset: auto 14px 14px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; padding: .8em; border-radius: 999px; background: rgba(251, 249, 244, .92); color: var(--petrol); font-size: .86rem; font-weight: 500; transform: translateY(130%); transition: transform .5s var(--ease); }
.pcard:hover .pcard__view, .pcard__media:focus-visible .pcard__view { transform: none; }
.pcard__body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-size: .80rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.pcard__name { font-family: var(--f-display); font-weight: 600; font-size: 1.36rem; line-height: 1.2; color: var(--petrol); }
.pcard__meta { font-size: .86rem; color: var(--muted); }
.pcard__dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pcard__dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-l); margin-top: 14px; }
.pcard__price { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.pcard__wa { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-l); color: var(--petrol); transition: background-color .35s, color .35s, border-color .35s; }
.pcard__wa svg { width: 19px; height: 19px; }
.pcard__wa:hover { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); }
.featured__foot { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.featured__note { font-size: .86rem; color: var(--muted); }



/* ═══════════ FOOTER (compacto) ═══════════ */
.foot { position: relative; overflow: hidden; background: var(--petrol-4); color: var(--ivory); padding: 0 0 22px; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(188, 174, 131, .45) 20%, rgba(188, 174, 131, .45) 80%, transparent); }
.foot::after { content: ''; position: absolute; top: -1px; left: 0; width: 180px; height: 2px; background: linear-gradient(90deg, transparent, #ffc978 40%, #fff3d1 60%, transparent); box-shadow: 0 0 14px 2px rgba(255, 175, 80, .55); animation: ocBead 7s cubic-bezier(.5, 0, .3, 1) infinite; }
/* cierre: monograma, frase y acciones en una fila */
.foot__cta { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; padding: clamp(30px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line-d); }
.foot__cta-mono { width: 46px; height: 42px; flex-shrink: 0; }
.foot__claim { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; margin-right: auto; }
.foot__claim em { font-style: italic; color: var(--gold); }
.foot__act { display: flex; align-items: center; gap: 14px; }
.foot__up { position: relative; display: grid; place-items: center; width: 46px; height: 46px; color: var(--gold); }
.foot__up-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(188, 174, 131, .35); stroke-width: 1.2; }
.foot__up-bead { stroke: #f3dfa6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 18 120; transform-origin: 24px 24px; animation: spin 3.6s linear infinite; }
.foot__up-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.foot__up:hover .foot__up-arrow { transform: translateY(-4px); }
/* columnas */
.foot__grid { display: grid; grid-template-columns: 1.25fr 1.2fr .9fr 1.1fr; gap: clamp(24px, 3vw, 48px); padding: clamp(30px, 3.4vw, 44px) 0; }
.foot__col h4 { margin-bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.foot__brand { display: inline-flex; color: var(--gold); }
.foot__brand svg { height: 46px; width: auto; aspect-ratio: 3719 / 1166; fill: currentColor; }
.foot__col--brand p { margin-top: 14px; max-width: 30ch; font-size: .88rem; line-height: 1.55; color: rgba(246, 242, 233, .72); }
.foot__social { display: flex; gap: 8px; margin-top: 16px; }
.foot__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); color: var(--gold-l); transition: background-color .35s, color .35s, transform .45s var(--ease), box-shadow .35s; }
.foot__social a svg { width: 17px; height: 17px; }
.foot__col--brand .foot__pay { display: inline-grid; justify-items: start; gap: 10px; max-width: none; margin-top: 22px; padding: 16px 22px 16px 18px; border-radius: 16px; background: var(--paper); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.foot__pay img { width: auto; height: 46px; }
.foot__pay strong { display: block; font-size: 1rem; font-weight: 600; color: var(--petrol); }
.foot__social a:hover { background: var(--gold); color: var(--petrol-4); box-shadow: none; transform: translateY(-3px); }
.foot__links { display: grid; gap: 8px; }
.foot__links--2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.foot__links a, .foot__links span { position: relative; display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: .88rem; color: rgba(246, 242, 233, .82); transition: color .3s; }
.foot__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.foot__links a:hover { color: var(--gold-l); }
.foot__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot__links--ico a::after { left: 25px; }
.foot__links svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.foot__bottom { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line-d); font-size: .76rem; color: rgba(246, 242, 233, .55); }
.foot__dev { color: var(--gold-l); border-bottom: 1px solid rgba(188, 174, 131, .45); transition: color .3s, border-color .3s; }
.foot__dev:hover { color: var(--ivory); border-color: var(--gold); }
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot__cta { gap: 14px; }
  .foot__claim { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ═══════════ WHATSAPP FLOTANTE ═══════════ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center; gap: 0;
  height: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--gold); color: var(--petrol-4);
  box-shadow: 0 16px 34px -10px rgba(21, 35, 42, .55);
  transition: gap .45s var(--ease), padding .45s var(--ease), transform .45s var(--ease), opacity .45s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: .92rem; transition: max-width .45s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 18px; }
.wa-float:hover span { max-width: 140px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--gold); animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.wa-float.is-away { transform: translateY(120px); opacity: 0; }

/* ═══════════ DETALLE DE PRODUCTO (modal) ═══════════ */
.qv { width: min(1120px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .6); }
.qv::backdrop { background: rgba(21, 35, 42, .72); backdrop-filter: blur(6px); }
.qv[open] { animation: qvIn .6s var(--ease); }
@keyframes qvIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
/* minmax(0, …) y min-width: 0: la fila de miniaturas se desplaza, nunca ensancha la galería (con muchas fotos, en celular la foto quedaba ampliada y cortada) */
.qv__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); max-height: calc(100svh - 28px); }
.qv__gal { background: var(--petrol-3); display: grid; grid-template-rows: 1fr auto; min-height: 0; min-width: 0; }
.qv__main { position: relative; min-height: min(440px, 60svh); overflow: hidden; isolation: isolate; }
/* la ficha usa el recorte cuadrado de cada foto (el encuadre que el cliente elige en el panel: lo que ve allá es lo que
   sale aquí) y lo muestra ENTERO (contain); con la foto original y cover se cortaban los costados de la pieza (reclamo
   del cliente: "en el panel se ve bien y en la web apretada"). Lo que sobra lo llena la misma foto desenfocada */
.qv__bg { position: absolute; inset: -40px; z-index: 0; background: center / cover no-repeat; filter: blur(24px) brightness(.8) saturate(1.05); }
.qv__main img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.qv__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.qv__thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; opacity: .55; outline: 1px solid transparent; transition: opacity .3s, outline-color .3s; }
.qv__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--gold); }
.qv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* el texto se desplaza dentro de la ficha: así la foto, las miniaturas y el botón de cotizar siempre se ven */
.qv__info { max-height: calc(100svh - 28px); padding: clamp(28px, 3.4vw, 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.qv__cat { font-size: .80rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.qv__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; color: var(--petrol); }
.qv__price { font-size: 1.3rem; font-weight: 500; }
.qv__price small { display: block; font-size: .80rem; font-weight: 400; color: var(--muted); }
/* medio de pago: logo oficial de Transbank (assets/img/webpay.png, del pack logo-webpay de transbankdevelopers.cl/brand-assets,
   versión fondo blanco); se usa tal cual, sin recolorear ni deformar */
.qv__pay { display: flex; align-items: center; gap: 16px; margin: 0; padding: 12px 18px 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-l), 0 10px 26px -18px rgba(21, 35, 42, .35); font-size: .86rem; line-height: 1.35; color: var(--ink-2); }
.qv__pay img { flex-shrink: 0; width: auto; height: 40px; }
.qv__pay strong { display: block; font-size: 1rem; font-weight: 600; color: var(--petrol); }
.qv__desc { color: var(--ink-2); }
.qv__specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding: 18px 0; border-block: 1px solid var(--line-l); font-size: .94rem; }
.qv__specs dt { color: var(--muted); }
.qv__specs dd { margin: 0; color: var(--ink); }
.qv__specs dd small { color: var(--muted); }
.qv__vars { display: grid; gap: 6px; }
.qv__vars div { display: flex; justify-content: space-between; gap: 12px; }
.qv__colors { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.qv__colors span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; }
.qv__colors i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.qv__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.qv__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; background: rgba(251, 249, 244, .96); color: var(--petrol); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(21, 35, 42, .45), inset 0 0 0 1px rgba(21, 35, 42, .08); transition: transform .4s var(--ease); }
.qv__close svg { width: 22px; height: 22px; }
/* Ampliar: abre el visor con zoom (js/main.js · visorZoom). Toda la foto de la ficha también lo abre */
.qv__main { cursor: zoom-in; }
.qv__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(16, 28, 33, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .45), 0 8px 22px -10px rgba(0, 0, 0, .6); color: var(--ivory); font-size: .82rem; font-weight: 600; letter-spacing: .06em; transition: background-color .3s, transform .4s var(--ease); }
.qv__zoom svg { width: 20px; height: 20px; color: var(--gold-l); }
.qv__main:hover .qv__zoom { background: rgba(16, 28, 33, .92); transform: translateY(-2px); }

/* ═══════════ VISOR CON ZOOM ═══════════ */
.zv { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 22, var(--fondo, 1)); color: var(--ivory); overflow: hidden; overscroll-behavior: contain; touch-action: none; }
.zv::backdrop { background: transparent; }
.zv[open] { animation: zvIn .35s var(--ease); }
@keyframes zvIn { from { opacity: 0; } }
.zv__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.zv.is-zoom .zv__stage { cursor: grab; }
.zv.is-zoom .zv__stage:active { cursor: grabbing; }
.zv__img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; -webkit-touch-callout: none; }
.zv__img.is-anim { transition: transform .32s var(--ease); }
.zv__top { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: calc(14px + env(safe-area-inset-top)) 14px 26px 20px; background: linear-gradient(rgba(10, 18, 22, .8), transparent); pointer-events: none; transition: opacity .3s; }
.zv__top > * { pointer-events: auto; }
.zv__n { display: flex; align-items: baseline; gap: 12px; min-width: 0; margin: 0; }
.zv__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--f-display); font-size: 1.15rem; }
.zv__count { flex-shrink: 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--gold-l); font-variant-numeric: tabular-nums; }
.zv__x { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 249, 244, .1); box-shadow: inset 0 0 0 1px rgba(251, 249, 244, .28); color: var(--ivory); transition: background-color .3s, transform .4s var(--ease); }
.zv__x svg { width: 22px; height: 22px; }
.zv__x:hover { background: rgba(251, 249, 244, .2); transform: rotate(90deg); }
.zv__nav { position: absolute; top: 50%; z-index: 2; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 28, 33, .6); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .4); color: var(--ivory); transition: background-color .3s, opacity .3s; }
.zv__nav svg { width: 20px; height: 20px; }
.zv__nav:hover { background: rgba(16, 28, 33, .9); }
.zv__nav--prev { left: 18px; }
.zv__nav--prev svg { transform: scaleX(-1); }
.zv__nav--next { right: 18px; }
.zv.is-una .zv__nav, .zv.is-zoom .zv__nav { opacity: 0; pointer-events: none; }
.zv__bar { position: absolute; inset: auto 0 0; z-index: 2; display: grid; justify-items: center; gap: 12px; padding: 30px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(10, 18, 22, .75)); pointer-events: none; }
.zv__bar > * { pointer-events: auto; }
.zv__hint { margin: 0; padding: .5em 1.1em; border-radius: 999px; background: rgba(16, 28, 33, .82); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .4); font-size: .8rem; color: var(--gold-l); text-align: center; transition: opacity .5s, transform .5s var(--ease); }
.zv__hint.is-off { opacity: 0; transform: translateY(6px); pointer-events: none; }
.zv__zoom { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(16, 28, 33, .82); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .4); }
.zv__zoom button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); transition: background-color .3s, opacity .3s; }
.zv__zoom button:hover:not(:disabled) { background: rgba(251, 249, 244, .12); }
.zv__zoom button:disabled { opacity: .35; cursor: default; }
.zv__zoom svg { width: 20px; height: 20px; }
.zv__pct { min-width: 4.2em; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-l); font-variant-numeric: tabular-nums; }
/* en pantallas táctiles se cambia de foto deslizando: sin flechas laterales */
@media (pointer: coarse) { .zv__nav { display: none; } }
.qv__close:hover { transform: rotate(90deg); }

/* ═══════════ PÁGINA CATÁLOGO ═══════════ */
.page-cat { background: var(--paper); }
.cat-hero { position: relative; padding: calc(var(--hdr) + clamp(60px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px); background: var(--ivory); overflow: hidden; }
.cat-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cat-hero h1 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .95; }
.cat-hero p { color: var(--ink-2); max-width: 30rem; }
.cat-hero__mono { position: absolute; right: -60px; top: 40px; width: 420px; height: 380px; fill: none; stroke: rgba(188, 174, 131, .55); stroke-width: 36; pointer-events: none; }
.cat-hero__stats { display: flex; gap: 36px; margin-top: 26px; }
.cat-hero__stats div { display: grid; }
.cat-hero__stats strong { font-family: var(--f-display); font-size: 2.4rem; font-weight: 500; color: var(--petrol); line-height: 1.1; }
.cat-hero__stats span { font-size: .80rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
/* Webpay en el pie: tarjeta clara con el logo oficial de color (assets/img/webpay.png), para que se note sobre el pie oscuro */
.cat-bar { position: sticky; top: 66px; z-index: 40; background: rgba(251, 249, 244, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line-l); transition: top .5s var(--ease); }
/* el encabezado se esconde al bajar: la barra sube al borde para que no quede una franja de fotos por encima */
.hdr-oculto .cat-bar { top: 0; }
@media (max-width: 900px) { .cat-bar { background: rgba(251, 249, 244, .97); } }
.cat-bar__in { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.cat-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cat-bar .chips::-webkit-scrollbar { display: none; }
.cat-bar .chip { white-space: nowrap; }
.cat-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.cat-search { position: relative; }
.cat-search input, .cat-sort { font: inherit; font-size: .9rem; padding: .62em 1em; border-radius: 999px; border: 1px solid var(--line-l); background: #fff; color: var(--ink); }
.cat-search input { width: 200px; padding-left: 2.4em; }
.cat-search svg { position: absolute; left: .9em; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
/* la X para borrar solo aparece (y ocupa espacio) cuando hay texto: el texto de ayuda se ve completo */
.cat-search input:placeholder-shown::-webkit-search-cancel-button { display: none; }
.cat-main { padding: clamp(40px, 5vw, 70px) 0 clamp(90px, 10vw, 140px); }
.cat-group + .cat-group { margin-top: clamp(60px, 7vw, 100px); }
.cat-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line-l); }
.cat-group__head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.8rem); color: var(--petrol); }
.cat-group__head span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cat-empty { text-align: center; padding: 80px 0; color: var(--muted); }
.cat-empty strong { display: block; font-family: var(--f-display); font-size: 1.8rem; color: var(--petrol); font-weight: 500; }
.cat-note { margin-top: 50px; padding: 22px 26px; border-radius: 16px; background: var(--ivory); border: 1px solid var(--line-l); color: var(--ink-2); font-size: .94rem; display: flex; gap: 14px; align-items: center; }
.cat-note svg { width: 22px; height: 22px; color: var(--gold-d); }
.cat-cta { background: var(--petrol); color: var(--ivory); padding: clamp(80px, 9vw, 120px) 0; text-align: center; position: relative; overflow: hidden; }
.cat-cta .display { max-width: 18ch; margin: 0 auto; }
.cat-cta p { margin: 20px auto 34px; max-width: 34rem; color: rgba(246, 242, 233, .88); font-weight: 400; }
.cat-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ═══════════════════════════════════════════════════════════
   REDISEÑO · motion y componentes propios de cada sección
   ═══════════════════════════════════════════════════════════ */

/* ─── Cursor y progreso ─── */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
@media (pointer: fine) { .js .cursor { display: block; } }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(188, 174, 131, .75); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s, border-color .4s, opacity .3s; }
.cursor__ring em { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--petrol-4); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(188, 174, 131, .14); }
.cursor.has-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); border-color: var(--gold); }
.cursor.has-label .cursor__ring em { opacity: 1; transform: none; }
.cursor.has-label .cursor__dot, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring { opacity: 0; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 96; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), #f6dfa0, var(--gold)); box-shadow: 0 0 10px rgba(246, 223, 160, .8); transform-origin: left; transform: scaleX(0); }

/* ─── Logo con brillo ─── */
/* logo oficial (monograma + palabra) con el brillo que lo recorre */
.brand__logo { display: block; height: 48px; width: auto; aspect-ratio: 3719 / 1166; overflow: visible; transition: height .4s var(--ease); }
.hdr.is-scrolled .brand__logo { height: 40px; }
.ms-a { stop-color: var(--gold); transition: stop-color .4s; }
.ms-b { stop-color: #fff3cf; }
.hdr[data-on="light"] .ms-a, .hdr[data-on="gold"] .ms-a { stop-color: var(--petrol); }
.hdr[data-on="light"] .ms-b, .hdr[data-on="gold"] .ms-b { stop-color: var(--gold); }
.brand:hover .brand__logo { animation: monoPulse 1s var(--ease); }
@keyframes monoPulse { 40% { transform: scale(1.12) rotate(-4deg); } }

/* ─── Cintas en movimiento (marquee) ─── */
.ribbon, .perks__ribbon, .places, .foot__marquee { overflow: hidden; white-space: nowrap; }
.ribbon__track, .perks__ribbon-track, .places__track, .foot__marquee-track { display: inline-flex; align-items: center; will-change: transform; }
.ribbon__track i, .perks__ribbon-track i, .places__track i, .foot__marquee-track i { width: 9px; height: 9px; margin: 0 28px; transform: rotate(45deg); background: currentColor; opacity: .7; flex-shrink: 0; }

@keyframes shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }


/* ═══════════ REVEALS (solo con JS) ═══════════ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-lines]:not([data-split]) { opacity: 0; }
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-lines] .ln.is-done { overflow: visible; }
.js [data-lines] .ln > span { display: inline-block; transform: translateY(105%); }
.js .hero__title .ln > span { transform: translateY(110%); }


/* ═══════════ RESPONSIVE (base) ═══════════ */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; margin-left: 0; }
  .hdr__cta { margin-left: auto; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .qv__in { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .qv__gal { display: block; }
  .qv__main { aspect-ratio: 4 / 3.4; min-height: 0; }
  .qv__info { overflow: visible; max-height: none; }
  .cat-hero__grid { grid-template-columns: 1fr; }
  .cat-hero__mono { width: 260px; height: 235px; right: -70px; top: 70px; }
  .cat-bar__in { flex-wrap: wrap; gap: 10px; }
  .cat-tools { margin-left: 0; width: 100%; }
  .cat-search { flex: 1; }
  .cat-search input { width: 100%; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pcard__name { font-size: 1.1rem; }
  .pcard__meta { display: none; }
  .pcard__foot { flex-wrap: wrap; }
  .pcard__price { font-size: .92rem; }
  .pcard__wa { width: 36px; height: 36px; }
  .pcard__view { display: none; }
  .wa-float { right: 14px; bottom: 14px; }
  .brand__logo { height: 36px; }
  .cat-hero__stats { gap: 22px; }
  .cat-hero__stats strong { font-size: 1.9rem; }
}

/* Si GSAP no carga, todo queda visible */
.no-gsap .loader { display: none; }
.no-gsap [data-reveal] { opacity: 1; transform: none; }
.no-gsap [data-lines] .ln > span, .no-gsap .hero__title .ln > span { transform: none; }
.no-gsap [data-lines]:not([data-split]) { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .loader { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-lines] .ln > span, .js .hero__title .ln > span { transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   SISTEMA "FUNDICIÓN EDITORIAL"
   Encabezados numerados con línea de metal fundido, fotos rectangulares que se revelan
   como una colada, íconos de trazo dorado que se dibujan y siguen en movimiento.
   ═══════════════════════════════════════════════════════════ */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pour { to { stroke-dashoffset: -12; } }
@keyframes road { to { stroke-dashoffset: 12; } }
@keyframes rain { to { stroke-dashoffset: -7; } }
@keyframes bump { to { transform: translateY(-1.5px); } }
@keyframes bob { 50% { transform: translateY(-4px); } }
@keyframes tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes wiggle { 50% { transform: rotate(-12deg); } }
@keyframes brush { 50% { transform: translate(-3px, 3px) rotate(-8deg); } }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .55; } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes drop { 0% { transform: translateY(-10px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 70% { opacity: 0; transform: translateY(9px); } }
@keyframes fanA2 { 0%, 100% { transform: rotate(-16deg); fill: var(--petrol-2); } 50% { transform: rotate(-38deg); fill: #8f9c84; } }
@keyframes fanB2 { 0%, 100% { fill: var(--petrol-2); } 50% { fill: #bcae83; } }
@keyframes fanC2 { 0%, 100% { transform: rotate(16deg); fill: var(--petrol-2); } 50% { transform: rotate(38deg); fill: #9a5532; } }
@keyframes drip { 0% { transform: translateY(-6px) scale(.6); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(40px) scale(1); opacity: 1; } 100% { transform: translateY(46px) scale(1.6, .3); opacity: 0; } }
@keyframes fogA { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@keyframes fogB { from { transform: translateX(10%); } to { transform: translateX(-14%); } }

/* Grano de película (mismo del hero) en todas las secciones */
.oficio, .fam, .fin, .proc, .fav, .sr, .wx, .pro, .river, .quote, .faq { position: relative; isolation: isolate; }
.hero::before, .oficio::before, .fam::before, .fin::before, .proc::before, .fav::before, .sr::before, .wx::before, .pro::before, .river::before, .quote::before, .faq::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.oficio::before, .fam::before, .fin::before, .fav::before, .wx::before, .quote::before { opacity: .14; mix-blend-mode: multiply; }

/* Encabezado de sección */
.sh { margin-bottom: clamp(24px, 3vw, 40px); }
.sh__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: .84rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--petrol); }
.sh__idx { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; color: var(--gold-d); }
.sh__rule { position: relative; width: clamp(56px, 7vw, 110px); height: 1px; background: var(--line-l); }
.sh__rule i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transform-origin: left; transform: scaleX(0); }
.sh__rule b { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff1c9; box-shadow: 0 0 10px 3px rgba(255, 170, 70, .8); opacity: 0; }
[data-theme="dark"] .sh__meta { color: var(--gold-l); }
[data-theme="dark"] .sh__idx { color: var(--gold); }
[data-theme="dark"] .sh__rule { background: var(--line-d); }
.no-js .sh__rule i { transform: none; }

/* Marco de foto: rectangular, se revela como una colada */
.frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--petrol-3); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.js [data-pour] > img { visibility: hidden; }
[data-pour].is-poured > img { visibility: visible; }
.pcols { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pcol { position: absolute; top: 0; bottom: 0; overflow: hidden; clip-path: inset(0 0 100% 0); }
.pcol img { position: absolute; top: 0; max-width: none; object-fit: cover; }
.pcol__glow, .hcol__glow { position: absolute; left: -2px; right: -2px; top: 0; height: 3px; opacity: 0; will-change: transform;
  background: linear-gradient(90deg, rgba(255, 190, 100, .2), #fff3d1 30%, #ffc56e 50%, #fff3d1 70%, rgba(255, 190, 100, .2));
  box-shadow: 0 0 12px 3px rgba(255, 170, 70, .75), 0 0 34px 8px rgba(255, 120, 40, .35); }
.pcol__glow::before, .hcol__glow::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 80px; background: linear-gradient(transparent, rgba(255, 150, 60, .26)); mix-blend-mode: screen; }

/* Íconos de trazo */
.ico { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--gold-d); background: rgba(188, 174, 131, .1); box-shadow: inset 0 0 0 1px rgba(143, 122, 72, .45); flex-shrink: 0; }
.ico svg { width: 34px; height: 34px; overflow: visible; }
.ico--lg { width: 74px; height: 74px; }
.ico--lg svg { width: 44px; height: 44px; }
.ico--sm { width: 46px; height: 46px; }
.ico--sm svg { width: 27px; height: 27px; }
[data-theme="dark"] .ico { color: var(--gold); background: rgba(188, 174, 131, .08); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .45); }
.ico::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed currentColor; opacity: .3; }
.is-live .ico::after { animation: spin 20s linear infinite; }
.ico-tilt { transform-origin: 26px 14px; }
.ico-stream { stroke-dasharray: 2 4; }
.ico-drop { opacity: 0; }
.ico-spin { transform-origin: 17px 16px; }
.ico-spin--slow { transform-origin: 24px 24px; }
.ico-rain, .ico-route { stroke-dasharray: 3 4; }
.ico-pulse { transform-origin: center; transform-box: fill-box; }
.ico-pencil { transform-origin: 40px 16px; }
.ico-brush { transform-origin: 28px 22px; }
.ico-road { stroke-dasharray: 5 5; }
.ico-fan { fill: var(--sand); transform-origin: 24px 34px; }
.ico-fan--a { transform: rotate(-16deg); }
.ico-fan--c { transform: rotate(16deg); }
.is-live .ico-tilt { animation: tilt 3.2s ease-in-out infinite; }
.is-live .ico-stream { animation: pour .8s linear infinite; }
.is-live .ico-drop { animation: drop 1.6s ease-in infinite; }
.is-live .ico-spin { animation: spin 10s linear infinite; }
.is-live .ico-spin--slow { animation: spin 14s linear infinite; }
.is-live .ico-rain { animation: rain .55s linear infinite; }
.is-live .ico-route { animation: road 1.1s linear infinite; }
.is-live .ico-bob { animation: bob 1.8s ease-in-out infinite; }
.is-live .ico-pulse { animation: pulse 2.4s ease-in-out infinite; }
.is-live .ico-pencil { animation: wiggle 1.4s ease-in-out infinite; }
.is-live .ico-brush { animation: brush 1.6s ease-in-out infinite; }
.is-live .ico-bump { animation: bump .45s ease-in-out infinite alternate; }
.is-live .ico-road { animation: road .6s linear infinite reverse; }
.is-live .ico-fan--a { animation: fanA2 3.6s ease-in-out infinite; }
.is-live .ico-fan--b { animation: fanB2 3.6s ease-in-out infinite; }
.is-live .ico-fan--c { animation: fanC2 3.6s ease-in-out infinite; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 600; color: var(--petrol); border-bottom: 1px solid var(--gold-d); padding-bottom: 4px; transition: gap .4s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; color: var(--gold-d); }
.link-arrow:hover { gap: 16px; }
.circ { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); color: var(--petrol); transition: background-color .35s, color .35s, border-color .35s; }
.circ svg { width: 20px; height: 20px; }
.circ:hover { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); }

/* ═══════════ HERO (pantalla completa) ═══════════ */
/* min-height (no height): si el contenido no cabe, el hero crece en vez de recortarlo */
.hero { position: relative; min-height: max(100svh, 600px); display: flex; flex-direction: column; color: var(--ivory); background: var(--petrol-4); overflow: hidden; isolation: isolate; }
.hero::before { z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hslides { position: absolute; inset: -20px; cursor: pointer; }
.hslide { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.hslide.is-on { visibility: visible; }
.hslide img, .hcol__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: 50% 50%; }.hcols { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hcol { position: absolute; top: 0; bottom: 0; overflow: hidden; clip-path: inset(0 0 100% 0); }
.hcol__img { position: absolute; top: 0; max-width: none; }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 28, 33, .9) 0%, rgba(16, 28, 33, .66) 32%, rgba(16, 28, 33, .16) 62%, rgba(16, 28, 33, .08) 100%),
              linear-gradient(180deg, rgba(16, 28, 33, .6) 0%, transparent 22%, transparent 52%, rgba(16, 28, 33, .88) 100%); }
.hpour { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 2px; pointer-events: none; }
.hpour i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #bcae83 10%, #ffbe62 50%, #fff1c9 90%, transparent); box-shadow: 0 0 12px 2px rgba(255, 170, 70, .7); transform-origin: left; transform: scaleX(0); }
.hero__inner { position: relative; z-index: 5; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(20px, 3.5vh, 40px); padding-top: calc(var(--hdr) + clamp(14px, 4.5vh, 64px)); padding-bottom: clamp(22px, 4vh, 44px); pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__copy { max-width: 700px; }
.hero__eyebrow { color: var(--gold-l); margin-bottom: clamp(.5rem, 1.4vh, 1.1rem); }
/* "Para tu jardín / terraza / quincho…": la palabra en cursiva dorada cambia sola */
.hero__for { display: inline-flex; align-items: baseline; gap: .55em; }
.rot { display: inline-grid; overflow: hidden; height: 1.35em; padding-right: .1em; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.55rem; letter-spacing: 0; line-height: 1.3; text-transform: none; color: var(--gold); }
.rot__w { grid-area: 1 / 1; }
.js .rot__w:not(.is-on) { opacity: 0; }
.no-js .rot__w:not(:first-child) { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(188, 174, 131, .18); }
/* El tamaño del título depende también del alto de la pantalla, para que el hero completo quepa en laptops */
.hero__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.7rem, min(6.4vw, 9.2vh), 7.4rem); line-height: .98; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.04em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold); padding-right: .08em; }
.hero__lead { max-width: 34rem; margin-top: clamp(12px, 2.2vh, 24px); font-size: 1.08rem; color: rgba(246, 242, 233, .92); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero__cta { margin-top: clamp(16px, 2.8vh, 32px); display: flex; flex-wrap: wrap; gap: 14px; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* ─── Cifras del hero: 4 datos con íconos animados (2 × 2 en celular) ─── */
.hero__stats { display: flex; align-items: center; }
.hstat { display: grid; grid-template-columns: auto auto; grid-template-areas: "ico num" "ico lbl"; align-items: center; column-gap: 12px; row-gap: 3px; padding: 2px clamp(14px, 1.5vw, 24px); border-left: 1px solid rgba(188, 174, 131, .22); }
.hstat:first-child { padding-left: 0; border-left: 0; }
.hstat b { grid-area: num; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2vw, 2.1rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.hstat > span:last-child { grid-area: lbl; font-size: .8rem; line-height: 1.25; color: rgba(246, 242, 233, .88); }
/* chip: cuadrado redondeado de vidrio con borde dorado y un brillo que lo cruza cada pocos segundos */
.hstat__ico { grid-area: ico; position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; overflow: hidden; color: var(--gold); background: linear-gradient(150deg, rgba(188, 174, 131, .22), rgba(188, 174, 131, .04) 62%), rgba(16, 28, 33, .72); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .5), 0 12px 26px -14px rgba(0, 0, 0, .8); transition: box-shadow .4s, transform .5s var(--ease); }
.hstat__ico::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 243, 207, .38) 50%, transparent 65%); transform: translateX(-130%); }
.is-live .hstat__ico::after { animation: chipShine 11s ease-in-out infinite; animation-delay: calc(var(--i) * 2.6s); }
.hstat:hover .hstat__ico { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--gold), 0 0 22px -4px rgba(255, 200, 110, .55); }
@keyframes chipShine { 0%, 72% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
.hstat__ico svg { width: 28px; height: 28px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 1 · Catálogo: una cuadrícula de modelos que se van eligiendo de a uno */
.hstat__ico--grid rect { fill: rgba(188, 174, 131, 0); }
.is-live .hstat__ico--grid rect { animation: gridPick 8s ease-in-out infinite; }
.is-live .hstat__ico--grid rect:nth-child(2) { animation-delay: 2s; }
.is-live .hstat__ico--grid rect:nth-child(3) { animation-delay: 4s; }
.is-live .hstat__ico--grid rect:nth-child(4) { animation-delay: 6s; }
@keyframes gridPick { 0% { fill: rgba(188, 174, 131, 0); } 18%, 30% { fill: rgba(222, 205, 160, .7); } 50%, 100% { fill: rgba(188, 174, 131, 0); } }

/* 2 · Acabados: rueda con los 7 colores reales del catálogo, girando */
.hstat__wheel { position: absolute; width: 28px; height: 28px; border-radius: 50%;
  background: conic-gradient(#7d8b72 0 51.4deg, #464c53 0 102.8deg, #bcae83 0 154.3deg, #efece4 0 205.7deg, #2a2d2e 0 257.1deg, #2f4a39 0 308.6deg, #9a5532 0 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 7px, #000 7.5px); mask: radial-gradient(circle, transparent 0 7px, #000 7.5px);
  box-shadow: 0 0 0 1px rgba(188, 174, 131, .55); }
.hstat__hub { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(255, 210, 130, .8); }
.is-live .hstat__wheel { animation: spin 18s linear infinite; }

/* 3 · Despacho: el pin flota y emite ondas sobre el suelo */
.hstat__wave { stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-live .hstat__wave { animation: wave 3.6s ease-out infinite; }
.is-live .hstat__wave--2 { animation-delay: 1.8s; }
.is-live .hstat__pin { animation: bob 3.6s ease-in-out infinite; }
@keyframes wave { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(1.15); opacity: 0; } }

/* 4 · Intemperie: sol (con rayos girando) que se nubla y llueve, y vuelve el sol */
.hstat__rays { transform-origin: 16px 16px; }
.hstat__sun, .hstat__cloud { transform-origin: 16px 16px; }
.hstat__cloud { opacity: 0; }
.hstat__drops { stroke-dasharray: 2.2 3; }
.is-live .hstat__rays { animation: spin 20s linear infinite; }
.is-live .hstat__sun { animation: sunPhase 14s ease-in-out infinite; }
.is-live .hstat__cloud { animation: cloudPhase 14s ease-in-out infinite; }
.is-live .hstat__drops { animation: rain .5s linear infinite; }
@keyframes sunPhase { 0%, 40% { opacity: 1; transform: none; } 55%, 85% { opacity: 0; transform: scale(.6) rotate(40deg); } 100% { opacity: 1; transform: none; } }
@keyframes cloudPhase { 0%, 40% { opacity: 0; transform: translateX(-6px); } 55%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(6px); } }

.hnav { width: min(400px, 34vw); padding: 14px 18px 16px; border-radius: 6px; background: rgba(16, 28, 33, .74); border: 1px solid var(--line-d); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hnav__t { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 8px; }
.hnav__list { display: flex; gap: 6px; }
.hnav__list li { flex: 1; }
.hnav__item { position: relative; display: block; width: 100%; padding: 0 0 10px; text-align: left; color: rgba(246, 242, 233, .5); transition: color .4s; }
.hnav__item:hover, .hnav__item.is-on { color: var(--ivory); }
.hnav__n { font-family: var(--f-display); font-size: .95rem; color: inherit; }
.hnav__item.is-on .hnav__n { color: var(--gold); }
.hnav__item::after { content: attr(aria-label); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); padding: .4em .8em; border-radius: 4px; background: var(--ivory); color: var(--petrol-4); font-size: .8rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.hnav__item:hover::after { opacity: 1; transform: translate(-50%, 0); }
.hnav__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; background: rgba(188, 174, 131, .22); }
.hnav__bar b { display: block; height: 100%; background: linear-gradient(90deg, #bcae83, #ffbe62, #fff1c9); transform-origin: left; transform: scaleX(0); }
/* Pieza en la foto: nombre y precio a la izquierda, botón a la derecha, en una sola fila */
.hnav__cur { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.hnav__cur-txt { display: grid; gap: 2px; min-width: 0; }
.hnav__cur-name { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; color: var(--ivory); }
.hnav__cur-price { font-size: .88rem; color: var(--gold-l); }
.hnav__view { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: .6em 1.1em; border-radius: 999px; background: var(--gold); color: var(--petrol-4); font-size: .9rem; font-weight: 600; white-space: nowrap; transition: gap .4s var(--ease), background-color .3s; }
.hnav__view svg { width: 17px; height: 17px; }
.hnav__view:hover { gap: 12px; background: var(--gold-l); }

/* ─── Anillo dorado que gira alrededor de los chips de íconos (borde con gradiente cónico animado) ─── */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }

/* ─── Categorías: banda de metal dorado cepillado bajo el hero. La cinta avanza sola; la tarjeta que pasa por el
   centro crece, se enciende en petróleo y su ícono se dibuja (js/home.js · heroDock calcula --f de 0 a 1). ─── */
.hdock { position: relative; z-index: 2; overflow: hidden; color: var(--petrol-4);
  background: linear-gradient(100deg, #a48e58 0%, #d8c89c 14%, #bfae80 28%, #f0e5c2 46%, #c4b385 60%, #e0d2a8 78%, #a48e58 100%) 0 0 / 220% 100%;
  animation: brushed 14s linear infinite; box-shadow: inset 0 1px 0 rgba(255, 248, 225, .6), inset 0 -1px 0 rgba(90, 72, 36, .35); }
@keyframes brushed { to { background-position: -220% 0; } }
/* textura de metal cepillado */
.hdock::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 7px); }
/* destello que cruza la banda */
.hdock::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35) 48%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .35) 52%, transparent); transform: translateX(-120%) skewX(-12deg); animation: dockShine 5.5s ease-in-out 1s infinite; }
@keyframes dockShine { 0% { transform: translateX(-120%) skewX(-12deg); } 45%, 100% { transform: translateX(680%) skewX(-12deg); } }
.hdock__in { display: flex; align-items: center; width: max-content; will-change: transform; }
.hdock.is-static .hdock__in { width: auto; overflow-x: auto; scrollbar-width: none; }
.hdock__item { --f: 0; position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 14px; width: clamp(220px, 17vw, 260px); padding: 14px clamp(14px, 1.4vw, 22px); color: var(--petrol-4);
  transform: scale(calc(.88 + .12 * var(--f))); opacity: calc(.62 + .38 * var(--f)); transition: background-color .5s; }
.hdock__item + .hdock__item::after { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(21, 35, 42, .18); }
.hdock__ico { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; color: var(--gold-l);
  background: radial-gradient(120% 100% at 30% 0%, #3a5660, var(--petrol) 55%, var(--petrol-4)); box-shadow: 0 16px 30px -14px rgba(21, 35, 42, .65), inset 0 0 0 1px rgba(255, 240, 200, .25);
  transition: transform .6s var(--ease), box-shadow .6s; }
.hdock__ico svg { width: 40px; height: 30px; overflow: visible; }
/* los detalles dorados se dibujan y se borran en bucle; en la tarjeta del centro van más rápido y brillan */
.hdock .ix-acc { stroke: #f3dfa6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.6s); }
@keyframes ixDraw { 0% { stroke-dashoffset: 1; } 40%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.hdock__item.is-center .hdock__ico { transform: translateY(-2px) rotate(-4deg) scale(1.06); box-shadow: 0 0 0 2px rgba(255, 246, 220, .7), 0 0 22px 3px rgba(255, 236, 190, .65), 0 16px 28px -12px rgba(21, 35, 42, .7); }
.hdock__item.is-center .ix-acc { animation-duration: 2s; filter: drop-shadow(0 0 3px rgba(255, 220, 150, .9)); }
.hdock__item.is-center .hdock__ico svg { animation: hcBob 1.6s ease-in-out infinite; }
.hdock__txt { display: grid; gap: 4px; min-width: 0; }
.hdock__txt strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, 1.15vw, 1.15rem); line-height: 1.12; color: var(--petrol-4); }
.hdock__meta { display: block; height: 1.4em; overflow: hidden; font-size: .78rem; font-weight: 500; line-height: 1.4; color: rgba(21, 35, 42, .72); }
.hdock__meta span { display: block; white-space: nowrap; transition: transform .5s var(--ease); }
.hdock__item.is-center .hdock__meta span, .hdock__item:hover .hdock__meta span, .hdock__item:focus-visible .hdock__meta span { transform: translateY(-100%); }
.hdock__meta span:last-child { color: var(--petrol); font-weight: 600; }
.hdock__item:hover .hdock__ico, .hdock__item:focus-visible .hdock__ico { transform: translateY(-4px) rotate(-4deg) scale(1.08); }
.hdock__go { display: none; }
@media (max-width: 600px) {
  .hdock__item { width: 200px; gap: 12px; padding: 12px; }
  .hdock__ico { width: 46px; height: 46px; border-radius: 13px; }
  .hdock__ico svg { width: 34px; height: 26px; }
}
@keyframes hcBob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@keyframes accFlow { to { stroke-dashoffset: -14; } }
.js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hnav, .js .hero__stats { opacity: 0; }

@media (min-width: 901px) and (max-height: 820px) {
  .hero__lead { font-size: 1rem; }
  .hstat__ico { width: 42px; height: 42px; }
  .hstat__ico svg { width: 26px; height: 26px; }
  .hnav__t { display: none; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .hero__lead { display: none; }
}

/* ═══════════ 01 · OFICIO ═══════════ */
.oficio { background: var(--ivory); padding: clamp(96px, 10vw, 150px) 0 clamp(96px, 10vw, 150px); overflow: clip; }
/* encabezado: título a la izquierda, bajada corta y legible a la derecha */
.oficio__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 90px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.oficio__head .sh { margin-bottom: 0; }
.oficio__head .display { max-width: 14ch; }
.oficio__lead { padding-bottom: 6px; }
.oficio__lead p { max-width: 31rem; font-size: clamp(1.08rem, 1.25vw, 1.22rem); line-height: 1.62; color: var(--ink-2); }
.oficio__lead .ow { display: inline-block; }
.oficio__lead .link-arrow { margin-top: 22px; }
.oficio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5.5vw, 100px); align-items: center; }

/* foto con la pieza: sello giratorio arriba y tarjeta de vidrio abajo, como el panel del hero */
.oficio__media { position: relative; margin: 0; }
.oficio__media .frame { aspect-ratio: 4 / 4.5; max-height: min(720px, calc(100svh - 130px)); width: 100%; box-shadow: 0 50px 90px -50px rgba(45, 69, 78, .6); }
.ring { position: absolute; right: 18px; top: 18px; z-index: 3; width: 112px; height: 112px; border-radius: 50%; background: var(--petrol); box-shadow: 0 20px 40px -16px rgba(21, 35, 42, .6); display: grid; place-items: center; }
.ring__text { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 24s linear infinite; }
.ring__text text { font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .2em; fill: var(--gold-l); }
.ring__mono { width: 40px; height: 36px; fill: var(--gold); }
.ocard { position: absolute; left: 18px; bottom: 18px; z-index: 3; width: min(420px, calc(100% - 36px)); padding: 13px 16px 14px 18px; border-radius: 6px; color: var(--ivory); background: rgba(16, 28, 33, .64); border: 1px solid var(--line-d); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ocard__t { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.ocard__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.ocard__txt { display: grid; gap: 2px; min-width: 0; }
.ocard__txt strong { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.15; }
.ocard__txt span { font-size: .88rem; color: var(--gold-l); }
.ocard__btn { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: .6em 1.1em; border-radius: 999px; background: var(--gold); color: var(--petrol-4); font-size: .9rem; font-weight: 600; white-space: nowrap; transition: gap .4s var(--ease), background-color .3s; }
.ocard__btn svg { width: 17px; height: 17px; }
.ocard__btn:hover { gap: 12px; background: var(--gold-l); }

/* cuatro atributos: chip petróleo con ícono dorado animado, título y una línea de texto */
.oattrs { border-top: 1px solid var(--line-l); }
.oattr { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 1.8vw, 24px); padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line-l); }
.oattr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold-d), #ffbe62 40%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .1s + .2s); }
.oattr.is-in::after { transform: scaleX(1); }
.oattr h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.15; color: var(--petrol); }
.oattr p { margin-top: 6px; max-width: 34rem; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.oattr__ico { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; overflow: hidden; color: var(--gold); box-shadow: 0 16px 30px -16px rgba(21, 35, 42, .75); transition: transform .5s var(--ease), box-shadow .4s; }
.oattr__ico::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 243, 207, .3) 50%, transparent 65%); transform: translateX(-130%); }
.oattr.is-live .oattr__ico::after { animation: chipShine 6s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); }
.oattr:hover .oattr__ico { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 0 28px -6px rgba(255, 200, 110, .6), 0 16px 30px -16px rgba(21, 35, 42, .75); }
.oattr__ico svg { width: 38px; height: 38px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 1 · Fundición: el crisol se inclina, caen gotas de metal y el molde se llena y se enfría */
.oa-tilt { transform-origin: 17.5px 8.5px; }
.oa-melt { fill: #ffb35a; stroke: none; filter: drop-shadow(0 0 2px rgba(255, 160, 60, .9)); }
.oa-drop { fill: #ffd08a; stroke: none; opacity: 0; filter: drop-shadow(0 0 2px rgba(255, 160, 60, .9)); }
.oa-mold { fill: #ffb35a; stroke: none; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.is-live .oa-tilt { animation: oaTilt 2.8s ease-in-out infinite; }
.is-live .oa-drop { animation: oaDrop 2.8s ease-in infinite; }
.is-live .oa-drop--2 { animation-delay: .16s; }
.is-live .oa-mold { animation: oaMold 2.8s ease-in-out infinite; }
@keyframes oaTilt { 0%, 8%, 90%, 100% { transform: rotate(0); } 24%, 68% { transform: rotate(34deg); } }
@keyframes oaDrop { 0%, 24% { opacity: 0; transform: translate(0, 0) scale(1); } 28% { opacity: 1; } 46% { opacity: 1; transform: translate(-1px, 10px) scale(1.25); } 50%, 100% { opacity: 0; transform: translate(-1px, 11px) scale(.6); } }
@keyframes oaMold { 0%, 34% { transform: scaleY(0); fill: #ffb35a; } 64% { transform: scaleY(1); fill: #ffc06a; } 86% { transform: scaleY(1); fill: #bcae83; } 100% { transform: scaleY(1); fill: #bcae83; opacity: 0; } }

/* 2 · Reciclado: las flechas giran alrededor de una hoja que late */
.oa-spin { transform-origin: 16px 16px; }
.oa-leaf { fill: rgba(188, 174, 131, .28); transform-box: fill-box; transform-origin: center; }
.is-live .oa-spin { animation: spin 3.6s cubic-bezier(.6, 0, .4, 1) infinite; }
.is-live .oa-leaf { animation: pulse 2.6s ease-in-out infinite; }

/* 3 · Color: la brocha pasa y deja una pincelada que cambia de acabado en cada vuelta */
.oa-wave { stroke-width: 3.4; stroke: #8f9c84; stroke-dasharray: 100; stroke-dashoffset: 100; }
.oa-brush { transform-origin: 20px 11px; }
.is-live .oa-wave { animation: oaPaint 3.2s ease-in-out infinite, oaColor 12.8s step-end infinite; }
.is-live .oa-brush { animation: oaBrush 3.2s ease-in-out infinite; }
@keyframes oaPaint { 0% { stroke-dashoffset: 100; } 55%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes oaBrush { 0% { transform: translate(-15px, 10px) rotate(-16deg); } 55% { transform: translate(3px, 8px) rotate(12deg); } 80%, 100% { transform: none; } }
@keyframes oaColor { 0% { stroke: #8f9c84; } 25% { stroke: #b0673e; } 50% { stroke: #efece4; } 75% { stroke: #bcae83; } }

/* 4 · A medida: la cota se ajusta al ancho de la pieza */
.oa-dim { transform-origin: 16px 26.5px; }
.oa-bench { transform-origin: 16px 14px; }
.is-live .oa-dim, .is-live .oa-bench { animation: oaDim 2.6s ease-in-out infinite; }
@keyframes oaDim { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.62); } }
/* ═══════════ 02 · COLECCIONES (índice con vista previa) ═══════════ */
.fam { background: var(--paper); color: var(--ink); padding: clamp(100px, 11vw, 160px) 0; overflow: hidden; }
.fam__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }
.fam__intro { max-width: 30rem; color: var(--ink-2); }
/* grilla pareja: 3 × 2 tarjetas iguales. Cada tarjeta: la foto arriba (limpia, con su ícono y modelos) y debajo
   un pie claro con el número, el nombre grande, una línea de descripción, el precio desde y la flecha */
.fam__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); perspective: 1400px; }
.fcat { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-l), 0 30px 60px -44px rgba(45, 69, 78, .55); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(0); transition: transform .6s var(--ease), box-shadow .6s; }
.fcat:hover { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); box-shadow: 0 0 0 1px rgba(122, 100, 54, .45), 0 44px 70px -40px rgba(45, 69, 78, .6); }
.fcat__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 70% at 50% 58%, #fffdf8, #f1ebdf 70%, #e9e1d1); }
/* la pieza de cada familia, en aluminio fundido sobre fondo crema (js/home.js · familias) */
.fcat__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.fcat__readout { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: .3em .75em; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.fcat__readout b { color: var(--petrol); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
/* rejilla técnica, reflejo, escaneo dorado y esquinas de visor sobre la foto */
.fcat__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; background-image: linear-gradient(rgba(188, 174, 131, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(188, 174, 131, .35) 1px, transparent 1px); background-size: 28px 28px; }
.fcat__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 240, 205, .3), transparent 60%); transition: opacity .5s; mix-blend-mode: soft-light; }
.fcat:hover .fcat__glare { opacity: 1; }
.fcat__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #ffd28a 15%, #fff3d1 50%, #ffd28a 85%, transparent); box-shadow: 0 0 18px 4px rgba(255, 190, 90, .55); }
.fcat__scan::after { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 70px; background: linear-gradient(transparent, rgba(255, 200, 110, .22)); }
.fcat.is-scan .fcat__scan { animation: famScan 1.7s cubic-bezier(.5, 0, .3, 1) forwards; }
.fcat.is-scan .fcat__grid { animation: famGrid 1.7s ease-in-out forwards; }
@keyframes famScan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes famGrid { 0% { opacity: 0; } 30%, 60% { opacity: .9; } 100% { opacity: 0; } }
.fcat__hud i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--gold); opacity: 0; transition: opacity .4s, transform .6s var(--ease); }
.fcat__hud i:nth-child(1) { left: 12px; top: 12px; border-top-width: 1.5px; border-left-width: 1.5px; transform: translate(-10px, -10px); }
.fcat__hud i:nth-child(2) { right: 12px; top: 12px; border-top-width: 1.5px; border-right-width: 1.5px; transform: translate(10px, -10px); }
.fcat__hud i:nth-child(3) { left: 12px; bottom: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; transform: translate(-10px, 10px); }
.fcat__hud i:nth-child(4) { right: 12px; bottom: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; transform: translate(10px, 10px); }
.fcat:hover .fcat__hud i, .fcat.is-scan .fcat__hud i { opacity: 1; transform: none; }
.fcat__top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fcat__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--petrol); background: rgba(255, 255, 255, .88); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); transition: transform .6s var(--ease); }
.fcat__ico svg { width: 36px; height: 27px; overflow: visible; }
.fcat .ix-acc { stroke: #a68c55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.6s); }
.fcat:hover .fcat__ico, .fcat.is-scan .fcat__ico { transform: rotate(-6deg) scale(1.08); }
.fcat__count { padding: .4em .85em; border-radius: 999px; background: rgba(255, 255, 255, .88); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); font-size: .84rem; font-weight: 500; color: var(--gold-d); white-space: nowrap; }
.fcat__count b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; }
/* pie de la tarjeta: el nombre de la familia se identifica de inmediato */
.fcat__info { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 6px; padding: 18px 20px 20px; }
.fcat__info::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.fcat:hover .fcat__info::before, .fcat.is-scan .fcat__info::before { transform: scaleX(1); }
.fcat__n { align-self: start; padding-top: 4px; font-family: var(--f-display); font-size: 1.1rem; color: var(--gold-d); }
.fcat__txt { display: grid; gap: 4px; min-width: 0; }
.fcat__name { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.45rem, 1.9vw, 1.9rem); line-height: 1.08; color: var(--petrol); transition: color .4s; }
.fcat__desc { font-size: .9rem; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* atributos con íconos (en lugar del precio) */
.fcat__attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fcat__attrs span { display: inline-flex; align-items: center; gap: 6px; padding: .32em .7em .32em .5em; border-radius: 999px; background: #f6f1e6; box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .2); font-size: .74rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.fcat__attrs svg { width: 15px; height: 15px; color: var(--gold-d); }
.fcat__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); color: var(--petrol); transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.fcat__go svg { width: 18px; height: 18px; }
.fcat:hover .fcat__go { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .fam__grid { grid-template-columns: 1fr 1fr; }
  .fcat__desc { display: none; }
  .fcat__info { padding: 14px 14px 16px; column-gap: 12px; }
  .fcat__ico { width: 40px; height: 40px; border-radius: 12px; }
  .fcat__ico svg { width: 30px; height: 23px; }
}
@media (max-width: 560px) {
  .fam__grid { grid-template-columns: 1fr; }
  /* en celular la tarjeta ocupa todo el ancho: la descripción va completa, sin "…" */
  .fcat__desc { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

/* ═══════════ 03 · ACABADOS ═══════════ */
.fin { background-color: var(--sand); padding: clamp(100px, 11vw, 160px) 0; transition: background-color 1.4s var(--ease); overflow: clip; }
.fin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.fin__stage { position: relative; }
/* foto: el acabado nuevo se pinta encima (máscara diagonal que avanza con --p) */
.fin__frame { aspect-ratio: 4 / 4.5; max-height: min(740px, calc(100svh - 140px)); width: 100%; box-shadow: 0 50px 90px -50px rgba(45, 69, 78, .6); }
.fin__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fin__frame img.is-in { z-index: 1; --p: 0; -webkit-mask-image: linear-gradient(105deg, #000 calc(var(--p) * 1% - 14%), transparent calc(var(--p) * 1%)); mask-image: linear-gradient(105deg, #000 calc(var(--p) * 1% - 14%), transparent calc(var(--p) * 1%)); }
/* banda de pintura húmeda que acompaña la pincelada */
.fin__sweep { --p: -20; position: absolute; top: -12%; bottom: -12%; left: calc(var(--p) * 1% - 7%); z-index: 2; width: 14%; pointer-events: none; opacity: 0; transform: skewX(-15deg);
  background: linear-gradient(90deg, transparent, var(--sc, #bcae83) 55%, rgba(255, 250, 235, .9) 70%, transparent); filter: blur(7px); mix-blend-mode: soft-light; }
.fin__sweep.is-on { opacity: 1; }
.fin__tag { position: absolute; left: 16px; top: 16px; z-index: 3; padding: .45em .95em; border-radius: 999px; background: rgba(16, 28, 33, .78); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .45); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.fin__tag b { font-family: var(--f-display); font-size: .95rem; letter-spacing: 0; color: var(--ivory); }
.fin__piece { position: absolute; left: 16px; bottom: 16px; z-index: 3; margin: 0; padding: 10px 16px; border-radius: 6px; background: rgba(16, 28, 33, .78); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .35); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); }
.fin__piece span { color: var(--gold-l); }
/* muestra circular: gira siempre, con el texto alrededor; la nueva se expande como tinta */
.fin__disc { position: absolute; right: -38px; bottom: 64px; z-index: 4; width: clamp(150px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); box-shadow: 0 26px 50px -20px rgba(21, 35, 42, .55), inset 0 0 0 1px rgba(45, 69, 78, .12); }
.fin__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.fin__ring text { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .2em; fill: var(--petrol); }
.fin__sample { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; background: var(--sand); box-shadow: 0 0 0 1px rgba(45, 69, 78, .2), 0 10px 22px -10px rgba(21, 35, 42, .5); }
.fin__sample i { position: absolute; inset: -12%; background-size: cover; background-position: center; animation: spin 36s linear infinite reverse; }
.fin__sample i.is-in { clip-path: circle(0% at 50% 50%); }
.fin__sample::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .45), transparent 45%); pointer-events: none; }
/* panel */
.fin__intro { color: var(--ink-2); max-width: 34rem; }
/* columnas según cuántos colores hay (js/home.js · --cols): 9 colores quedan en 3 × 3 */
.fin__tiles { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 10px; margin: 28px 0 24px; }
.fin__tile { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 8px 14px; border-radius: 10px; overflow: hidden; text-align: center; color: var(--ink-2); background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px var(--line-l); transition: background-color .45s, color .45s, transform .5s var(--ease), box-shadow .45s; }
.fin__tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(45, 69, 78, .35), 0 16px 30px -20px rgba(45, 69, 78, .6); }
.fin__tsw { position: relative; width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 10px 20px -10px rgba(21, 35, 42, .6); transition: transform .7s var(--ease); }
.fin__tile:hover .fin__tsw { transform: rotate(-35deg) scale(1.06); }
.fin__tname { font-size: .8rem; font-weight: 600; line-height: 1.25; }
.fin__ttype { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.fin__tbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); transform: scaleX(0); transform-origin: left; }
.fin__tile[aria-checked="true"] { background: var(--petrol); color: var(--ivory); box-shadow: 0 18px 34px -18px rgba(45, 69, 78, .8); }
.fin__tile[aria-checked="true"] .fin__ttype { color: var(--gold); }
.fin__tile[aria-checked="true"] .fin__tsw { box-shadow: 0 0 0 2px var(--petrol), 0 0 0 3.5px var(--gold), 0 0 18px rgba(255, 210, 140, .5); animation: spin 14s linear infinite; }
/* ficha "Tu color" */
/* detalle del acabado elegido */
.fin__detail { padding-top: 20px; border-top: 1px solid var(--line-l); }
.fin__dname { overflow: hidden; font-family: var(--f-display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.1; color: var(--petrol); padding-bottom: .06em; }
.fin__dname span { display: inline-block; }
.fin__dtype { margin-top: 6px; color: var(--ink-2); }
.fin__dcount { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.fin__dcount b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--gold-d); font-variant-numeric: tabular-nums; margin-right: 4px; }
.fin__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 900px) {
  .fin__disc { right: 10px; bottom: 70px; width: 128px; }
  .fin__ring text { font-size: 13px; }
}
@media (max-width: 560px) {
  /* en celular el rótulo de la foto ocupa dos líneas: el sello sube a la esquina libre para no taparlo */
  .fin__disc { top: 14px; right: 14px; bottom: auto; width: 104px; }
  .fin__piece { right: 16px; }
  .fin__tiles { gap: 8px; }
  .fin__tile { padding: 10px 4px 12px; }
  .fin__tsw { width: 42px; height: 42px; }
  .fin__tname { font-size: .72rem; }
  .fin__ttype { display: none; }
}

/* ═══════════ 04 · PROCESO ═══════════ */
.proc { background: radial-gradient(70% 60% at 50% 40%, #34505a, var(--petrol) 55%, var(--petrol-3)); color: var(--ivory); overflow: hidden; }
.proc__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(90px, 12vh, 130px) 0 clamp(40px, 7vh, 80px); }
.proc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.proc__head .sh { margin-bottom: 0; }
.thermo { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(21, 35, 42, .35); }
.thermo__ico { width: 22px; height: 44px; color: var(--gold); overflow: visible; }
.thermo__fill { fill: #ffb35a; }
.thermo__bulb { fill: #ff9a3c; filter: drop-shadow(0 0 6px rgba(255, 150, 60, .8)); }
.thermo p { display: flex; align-items: baseline; gap: 2px; font-family: var(--f-display); }
.thermo b { font-size: 2rem; font-weight: 600; color: var(--gold-l); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.thermo small { font-size: 1rem; color: var(--gold); }
.thermo > span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(222, 211, 180, .85); min-width: 9ch; }
.thermo.is-hot b { color: #ffd59a; text-shadow: 0 0 18px rgba(255, 150, 60, .7); }
.proc__rail { position: relative; height: 2px; margin: clamp(26px, 4.5vh, 48px) max(var(--gut), (100vw - var(--maxw)) / 2); background: var(--line-d); }
.proc__rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); box-shadow: 0 0 10px rgba(255, 170, 70, .6); transform-origin: left; transform: scaleX(0); }
.proc__rail b { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff1c9; box-shadow: 0 0 14px 4px rgba(255, 170, 70, .85); }
.proc__rail span { position: absolute; top: -5px; left: calc(var(--p) / 3 * 100%); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--petrol); border: 1.5px solid var(--gold); transition: background-color .4s; }
.proc__rail span.is-lit { background: var(--gold); }
.proc__track { display: flex; align-items: stretch; gap: clamp(24px, 3vw, 44px); padding-left: max(var(--gut), (100vw - var(--maxw)) / 2); padding-right: var(--gut); width: max-content; }
.pstep { width: clamp(300px, 33vw, 470px); flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.pstep__media { aspect-ratio: 4 / 3; }
.pstep__media img { width: 100%; height: 100%; object-fit: cover; }
.pstep__art { position: relative; border-radius: 4px; overflow: hidden; background: radial-gradient(80% 80% at 50% 70%, rgba(255, 140, 50, .12), transparent 60%), #1a2b31; box-shadow: inset 0 0 0 1px var(--line-d); }
.pstep__art svg { width: 100%; height: 100%; }
.pstep__body { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n ico" "h h" "p p"; align-items: center; gap: 10px 16px; }
.pstep__n { grid-area: n; font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.pstep__body .ico { grid-area: ico; justify-self: start; }
.pstep h3 { grid-area: h; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; margin-top: 4px; }
.pstep__body p { grid-area: p; color: rgba(246, 242, 233, .86); max-width: 34rem; }
.pstep--end { width: clamp(260px, 24vw, 340px); justify-content: center; align-items: flex-start; padding: 40px 34px; border-radius: 4px; border: 1px solid var(--line-d); background: rgba(21, 35, 42, .35); }
.pstep__mono { width: 64px; height: 58px; fill: var(--gold); }
.pstep--end p { font-family: var(--f-display); font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.1; }
.pstep--end p em { color: var(--gold); }
.cast__stream { stroke-dasharray: 260; stroke-dashoffset: 260; }
.proc__sub { flex: 1 1 100%; max-width: 34rem; font-size: 1.05rem; color: rgba(246, 242, 233, .88); }
/* Escritorio: la sección queda fija mientras los pasos avanzan en horizontal. Todo tiene que caber en una pantalla:
   cada paso pone la ilustración y el texto lado a lado, y el alto de la ilustración lo calcula js/home.js (--art-h)
   con el espacio que queda bajo el encabezado. */
@media (min-width: 901px) {
  .proc__pin { height: 100svh; min-height: 560px; justify-content: flex-start; padding: calc(var(--hdr) + 8px) 0 28px; }
  .proc__head { flex-wrap: nowrap; align-items: flex-end; gap: clamp(24px, 4vw, 64px); }
  .proc__head .display { font-size: clamp(2.2rem, min(4.4vw, 7.6vh), 4.2rem); white-space: nowrap; }
  .proc__sub { flex: 1 1 260px; max-width: 26rem; margin: 0 0 4px auto; font-size: 1rem; }
  .thermo { flex-shrink: 0; }
  .proc__rail { margin-block: clamp(16px, 3vh, 32px); }
  .proc__track { align-items: center; }
  .pstep { width: auto; flex-direction: row; align-items: center; gap: clamp(22px, 2.4vw, 36px); }
  .pstep__art { height: var(--art-h, clamp(200px, calc(100svh - 330px), 460px)); width: auto; aspect-ratio: 4 / 3; flex-shrink: 0; }
  .pstep__body { width: clamp(250px, 22vw, 330px); flex-shrink: 0; }
  .pstep--end { width: clamp(260px, 22vw, 330px); flex-direction: column; align-items: flex-start; align-self: center; }
}
.pstep__art { aspect-ratio: 4 / 3; background: radial-gradient(70% 70% at 50% 60%, rgba(255, 150, 60, .1), transparent 62%), linear-gradient(160deg, #1d3238, #17282d); box-shadow: inset 0 0 0 1px var(--line-d), 0 40px 80px -40px rgba(0, 0, 0, .7); }
.pstep__art::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 190, .06) 50%, transparent 60%); }
.bp__chip rect { fill: rgba(188, 174, 131, .08); stroke: rgba(188, 174, 131, .45); transition: fill .4s; }
.bp__chip text { fill: var(--gold-l); transition: fill .4s; }
.bp__chip.is-on rect { fill: var(--gold); stroke: var(--gold); }
.bp__chip.is-on text { fill: var(--petrol-4); }
.bp__lbl { fill: var(--gold-l); }
.bp__bench { filter: drop-shadow(0 0 6px rgba(222, 211, 180, .35)); }
.pt__ring { opacity: 0; transition: opacity .4s; }
.pt__sw.is-on .pt__ring { opacity: 1; }
.pt__name { fill: var(--ivory); }
.pt__kick { fill: var(--gold); }
.pt__coat { filter: drop-shadow(0 0 1.2px rgba(222, 211, 180, .55)); }
.pt__shine { opacity: 0; }
.pt__mist circle { fill: rgba(255, 240, 210, .7); }
.dp__pin circle { fill: var(--petrol-3); stroke: var(--gold); stroke-width: 1.6; transition: fill .4s; }
.dp__pin text { fill: rgba(222, 211, 180, .75); transition: fill .4s; }
.dp__pin.is-lit circle { fill: var(--gold); }
.dp__pin.is-lit text { fill: var(--ivory); }
.dp__dot { filter: drop-shadow(0 0 6px rgba(255, 190, 90, 1)); }
.dp__road { animation: dpRoad .7s linear infinite; }
.dp__wheel { transform-box: fill-box; transform-origin: center; animation: spin .9s linear infinite; }
.dp__truck { animation: bump .35s ease-in-out infinite alternate; }
@keyframes dpRoad { to { stroke-dashoffset: 32; } }

/* ═══════════ 05 · FAVORITOS (carrusel) ═══════════ */
.fav { position: relative; background: #f2ede3; padding: clamp(100px, 11vw, 150px) 0 clamp(90px, 10vw, 140px); overflow: clip; }
.fav__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.5vw, 48px); }
.fav__head .sh { margin-bottom: 0; }
.fav__intro { max-width: 26rem; color: var(--ink-2); }
/* grilla: 4 × 3 en escritorio */
.fav__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); perspective: 1400px; }
@property --s { syntax: '<number>'; inherits: true; initial-value: 0; }
/* tarjeta: petróleo y dorado, con borde de luz que la recorre al activarse */
.fcard { --rx: 0deg; --ry: 0deg; position: relative; isolation: isolate; display: flex; flex-direction: column; border-radius: 10px; color: var(--ink);
  background: linear-gradient(180deg, #fffdf9, #fbf7ef); box-shadow: 0 0 0 1px rgba(122, 100, 54, .16), 0 30px 60px -44px rgba(45, 69, 78, .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), box-shadow .6s; }
.fcard::before { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; padding: 1.5px; opacity: .45;
  background: conic-gradient(from var(--ang), rgba(188, 174, 131, .3) 0deg, rgba(188, 174, 131, .3) 250deg, #bcae83 315deg, #e9d6a2 335deg, rgba(188, 174, 131, .3) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); transition: opacity .5s; }
.fcard:hover, .fcard.is-scan { box-shadow: 0 0 0 1px rgba(122, 100, 54, .2), 0 44px 70px -38px rgba(45, 69, 78, .45), 0 0 40px -20px rgba(188, 174, 131, .7); }
.fcard:hover::before, .fcard.is-scan::before { opacity: 1; animation: ang 3.2s linear infinite; }
.fcard__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border-radius: 10px 10px 0 0; overflow: hidden; isolation: isolate; background: var(--sand); cursor: pointer; }
.fcard__media > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease), filter .6s; }
.fcard:hover .fcard__media > img { transform: scale(1.1); }
.fcard__media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 30, 32, .28), transparent 26%, transparent 70%, rgba(20, 30, 32, .38)); }
/* segunda foto: aparece suave al pasar el mouse, con un acercamiento lento */
.fcard__media > img.fcard__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
.fcard:hover .fcard__media > img.fcard__alt { opacity: 1; transform: scale(1.02); }
.fcard__view { position: absolute; left: 50%; bottom: 52px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.1em; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -12px rgba(45, 69, 78, .5); color: var(--petrol); font-size: .8rem; font-weight: 600; opacity: 0; transform: translate(-50%, 12px); transition: opacity .4s, transform .5s var(--ease); }
.fcard:hover .fcard__view { opacity: 1; transform: translate(-50%, 0); }
/* línea dorada que pasa sola de tarjeta en tarjeta */
.fcard__scan { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, #bcae83 15%, #f3dfa6 50%, #bcae83 85%, transparent); box-shadow: 0 0 14px 2px rgba(193, 160, 90, .5); }
.fcard.is-scan .fcard__scan { animation: famScan 1.8s cubic-bezier(.5, 0, .3, 1) forwards; }
.fcard__hud i { position: absolute; z-index: 3; width: 18px; height: 18px; border: 0 solid var(--gold); opacity: 0; transition: opacity .45s, transform .6s var(--ease); }
.fcard__hud i:nth-child(1) { left: 12px; top: 64px; border-top-width: 1.5px; border-left-width: 1.5px; transform: translate(-10px, -10px); }
.fcard__hud i:nth-child(2) { right: 12px; top: 64px; border-top-width: 1.5px; border-right-width: 1.5px; transform: translate(10px, -10px); }
.fcard__hud i:nth-child(3) { left: 12px; bottom: 48px; border-bottom-width: 1.5px; border-left-width: 1.5px; transform: translate(-10px, 10px); }
.fcard__hud i:nth-child(4) { right: 12px; bottom: 48px; border-bottom-width: 1.5px; border-right-width: 1.5px; transform: translate(10px, 10px); }
.fcard:hover .fcard__hud i, .fcard.is-scan .fcard__hud i { opacity: 1; transform: none; }
.fcard__top { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 4; display: flex; align-items: center; justify-content: space-between; }
.fcard__n { padding: .28em .7em; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); color: var(--petrol); font-family: var(--f-display); font-size: .92rem; }
.fcard__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--petrol); background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); transition: transform .6s var(--ease); }
.fcard__ico svg { width: 32px; height: 24px; overflow: visible; }
.fcard .ix-acc { stroke: #a68c55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.45s); }
.fcard:hover .fcard__ico, .fcard.is-scan .fcard__ico { transform: rotate(-6deg) scale(1.08); }
.fcard__badge { margin-left: auto; margin-right: 8px; padding: .3em .75em; border-radius: 999px; background: var(--gold); color: var(--petrol-4); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
/* cota con las medidas: se dibuja al activarse la tarjeta */
.fcard__dim { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 4; display: grid; justify-items: center; gap: 4px; pointer-events: none; }
.fcard__dim i { position: relative; width: 100%; height: 1px; background: rgba(255, 255, 255, .9); transform: scaleX(.12); transition: transform .9s var(--ease); }
.fcard__dim i::before, .fcard__dim i::after { content: ''; position: absolute; top: -5px; width: 1px; height: 11px; background: rgba(255, 255, 255, .9); }
.fcard__dim i::before { left: 0; } .fcard__dim i::after { right: 0; }
.fcard__dim b { max-width: 100%; padding: .22em .7em; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--petrol); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .5s .25s, transform .6s .25s var(--ease); }
.fcard:hover .fcard__dim i, .fcard.is-scan .fcard__dim i { transform: none; }
.fcard:hover .fcard__dim b, .fcard.is-scan .fcard__dim b { opacity: 1; transform: none; }
/* cuerpo */
.fcard__body { position: relative; display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 16px 16px; }
.fcard__body::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.fcard:hover .fcard__body::before, .fcard.is-scan .fcard__body::before { transform: scaleX(1); }
.fcard__cat { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.fcard h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.35vw, 1.35rem); line-height: 1.15; color: var(--petrol); }
.fcard__specs { display: grid; gap: 5px; margin: 8px 0 2px; }
.fcard__specs li { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; line-height: 1.35; color: var(--ink-2); min-width: 0; }
/* la medida completa, en dos líneas si no cabe (antes se cortaba con "…": "80 × 120 a 180 × 6…") */
.fcard__specs li span { min-width: 0; overflow-wrap: anywhere; }
.fcard__specs svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .05em; color: var(--gold-d); }
.fcard__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; }
.fcard__colors i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(23, 33, 36, .15), 0 0 0 3px #fff; transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .4s; transition-delay: calc(var(--d) * 60ms); }
.fcard.is-in .fcard__colors i { transform: none; opacity: 1; }
.fcard__colors small { margin-left: 4px; font-size: .72rem; color: var(--muted); }
.fcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-l); }
.fcard__price { display: grid; line-height: 1.15; font-weight: 600; font-size: 1.05rem; color: var(--petrol); }
.fcard__price small { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.fcard__wa { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; padding: .55em 1em; border-radius: 999px; background: var(--petrol); color: var(--ivory); font-size: .8rem; font-weight: 600; transition: background-color .3s, transform .4s var(--ease); }
.fcard__wa svg { width: 15px; height: 15px; color: var(--gold); }
.fcard__wa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-120%); }
.fcard:hover .fcard__wa::after, .fcard.is-scan .fcard__wa::after { transition: transform .9s var(--ease); transform: translateX(120%); }
.fcard__wa:hover { background: var(--petrol-2); transform: translateY(-2px); }
/* ver más: panel con las 71 piezas y las familias */
.fav__more { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 2.6vw, 34px) clamp(24px, 3vw, 44px); border-radius: 10px; color: var(--petrol);
  background: linear-gradient(115deg, #f8f2e5, #ece0c6); box-shadow: 0 0 0 1px rgba(122, 100, 54, .2), 0 40px 80px -56px rgba(45, 69, 78, .5); }
.fav__more::before { content: ''; position: absolute; top: 0; left: 0; width: 180px; height: 2px; background: linear-gradient(90deg, transparent, #ffc978 40%, #fff3d1 60%, transparent); box-shadow: 0 0 14px 2px rgba(255, 175, 80, .6); animation: ocBead 6s cubic-bezier(.5, 0, .3, 1) infinite; }
.fav__more-n { display: flex; align-items: center; gap: 16px; }
.fav__more-mono { width: 52px; height: 48px; fill: var(--gold-d); }
.fav__more-n p { display: grid; }
.fav__more-n b { font-family: var(--f-display); font-size: clamp(2.6rem, 3.6vw, 3.6rem); font-weight: 600; line-height: .95; background: linear-gradient(100deg, var(--petrol) 0 40%, #bcae83 50%, var(--petrol) 60% 100%) 0 0 / 280% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: emShine 4.5s ease-in-out 1s infinite; font-variant-numeric: tabular-nums; }
.fav__more-n span { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.fav__more-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.fav__more-cats a { display: inline-flex; align-items: center; gap: 8px; padding: .4em .9em .4em .45em; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(122, 100, 54, .25); font-size: .82rem; color: var(--ink-2); transition: background-color .35s, color .35s, box-shadow .35s; }
.fav__more-cats a svg { width: 28px; height: 21px; color: var(--petrol); }
.fav__more-cats a b { font-weight: 600; color: var(--gold-d); }
.fav__more-cats a:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--gold-d); color: var(--petrol); }
.fav__more .ix-acc { stroke: #a68c55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 3.6s ease-in-out infinite; }
@media (max-width: 1180px) {
  .fav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fav__more { grid-template-columns: auto 1fr; }
  .fav__more-cats { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) {
  .fav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fav__more { grid-template-columns: 1fr; }
  .fav__more-cats { grid-row: auto; }
}
@media (max-width: 560px) {
  .fav__grid { gap: 12px; }
  .fcard__body { padding: 12px; }
  .fcard__specs li:nth-child(n + 3) { display: none; }
  .fcard__foot { flex-wrap: wrap; }
  .fcard__wa { width: 100%; justify-content: center; }
}

/* ═══════════ 06 · SHOWROOM (agenda de visitas) ═══════════ */
.sr { background: radial-gradient(70% 55% at 88% 8%, #2a4148 0%, transparent 62%), radial-gradient(80% 60% at 8% 100%, #1d3036 0%, transparent 60%), var(--petrol-4); color: var(--ivory); padding: clamp(100px, 11vw, 150px) 0 0; overflow: clip; }
.sr__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sr__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(188, 174, 131, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(188, 174, 131, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent); mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent); }
.sr__word { position: absolute; top: clamp(30px, 5vw, 80px); left: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(7rem, 21vw, 21rem); line-height: .8; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(188, 174, 131, .15); will-change: transform; }
.sr__dust { position: absolute; inset: 0; }
.sr__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 60px); }
.sr__head .sh { margin-bottom: 0; }
.sr__intro { color: rgba(246, 242, 233, .88); max-width: 34rem; }
.sr__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }

/* ─── El lugar: mapa, dirección, semana y ventajas ─── */
.sr__place { display: grid; gap: 16px; min-width: 0; }
.sr__map { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; isolation: isolate; border: 1px solid var(--line-d); background: radial-gradient(70% 60% at 50% 45%, #2b444c, #15232a); }
.sr__map iframe { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); border: 0; opacity: 0; transition: opacity 1.2s var(--ease); filter: grayscale(1) invert(.92) sepia(.32) hue-rotate(150deg) saturate(1.25) brightness(.88) contrast(.92); }
.sr__map.is-ready iframe { opacity: 1; }
.sr__map:not(.is-live) iframe { pointer-events: none; }
.sr__activar { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end center; padding-bottom: 74px; cursor: pointer; }
.sr__activar span { padding: .5em 1em; border-radius: 999px; background: rgba(13, 22, 26, .82); box-shadow: inset 0 0 0 1px var(--line-d); font-size: .8rem; color: var(--gold-l); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.sr__map:hover .sr__activar span, .sr__activar:focus-visible span { opacity: 1; transform: none; }
@media (pointer: coarse) { .sr__activar span { opacity: .9; transform: none; } }
.sr__map.is-live .sr__activar { display: none; }
.sr__map::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(85% 85% at 50% 50%, transparent 55%, rgba(13, 22, 26, .6)); }
.sr__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--gold-l); }
.sr__c { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; opacity: 0; transform: scale(.4); transition: opacity .6s, transform .9s var(--ease); }
.sr__c--tl { top: 16px; left: 16px; border-top-width: 1.5px; border-left-width: 1.5px; transform-origin: 0 0; }
.sr__c--tr { top: 16px; right: 16px; border-top-width: 1.5px; border-right-width: 1.5px; transform-origin: 100% 0; }
.sr__c--bl { bottom: 16px; left: 16px; border-bottom-width: 1.5px; border-left-width: 1.5px; transform-origin: 0 100%; }
.sr__c--br { bottom: 16px; right: 16px; border-bottom-width: 1.5px; border-right-width: 1.5px; transform-origin: 100% 100%; }
.sr__map.is-in .sr__c { opacity: .85; transform: none; }
.sr__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, #ffd28a 30%, #fff3d1 50%, #ffd28a 70%, transparent); box-shadow: 0 0 16px 3px rgba(255, 190, 98, .45); }
.sr__map.is-in .sr__scan { animation: srScan 6s var(--ease) 1.2s infinite; }
@keyframes srScan { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 55% { top: 100%; opacity: .9; } 62%, 100% { top: 100%; opacity: 0; } }
.sr__ping { position: absolute; left: 50%; top: 50%; }
.sr__ping i { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid #ffd28a; opacity: 0; animation: srPing 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
.sr__ping i:nth-child(2) { animation-delay: 1.05s; }
.sr__ping i:nth-child(3) { animation-delay: 2.1s; }
.sr__ping b { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #ffd28a; box-shadow: 0 0 0 4px rgba(255, 210, 138, .25), 0 0 18px 5px rgba(255, 190, 98, .6); }
@keyframes srPing { 0% { transform: scale(.12); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.sr__compass { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1; opacity: .85; }
.sr__compass text { fill: currentColor; stroke: none; font: 600 7px var(--f-body); text-anchor: middle; }
.sr__needle, .sr__needle-n { stroke: none; transform-origin: 30px 30px; animation: srNeedle 7s ease-in-out infinite; }
.sr__needle { fill: rgba(188, 174, 131, .28); }
.sr__needle-n { fill: #ffd28a; }
@keyframes srNeedle { 0%, 100% { transform: rotate(-9deg); } 45% { transform: rotate(7deg); } 70% { transform: rotate(-3deg); } }
.sr__status { position: absolute; left: 16px; bottom: 30px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: .55em 1.05em; border-radius: 999px; background: rgba(13, 22, 26, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-d); font-size: .84rem; color: var(--ivory); pointer-events: none; }
.sr__status i { width: 8px; height: 8px; border-radius: 50%; background: #e9a25b; box-shadow: 0 0 10px #e9a25b; }
.sr__status.is-open i { background: #7dffb0; box-shadow: 0 0 10px #7dffb0; animation: blink 1.6s ease-in-out infinite; }

.sr__addr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); }
.sr__pin { width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: var(--petrol-4); background: linear-gradient(135deg, #ecdfbb, var(--gold) 55%, #8f7a48); box-shadow: 0 12px 26px -12px rgba(188, 174, 131, .85); animation: bob 2.6s ease-in-out infinite; }
.sr__sign { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.1; color: transparent; background: linear-gradient(100deg, var(--ivory) 42%, #ffe7b0 50%, var(--ivory) 58%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 7s linear infinite; }
.sr__where { margin-top: 4px; font-size: .88rem; letter-spacing: .05em; color: var(--gold-l); }
.sr__go { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.sr__week { padding: 18px 20px 16px; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); }
.sr__week-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.sr__week-h em { font-style: normal; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: #ffd28a; white-space: nowrap; }
.sr__bars { --h: 110px; position: relative; display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); gap: 8px; }
.sr__axis { position: relative; height: var(--h); }
.sr__axis i { position: absolute; right: 4px; top: calc(var(--h) * var(--f)); transform: translateY(-50%); font-style: normal; font-size: .72rem; font-variant-numeric: tabular-nums; color: rgba(246, 242, 233, .6); }
.sr__bar { display: grid; justify-items: center; gap: 8px; }
.sr__track { position: relative; width: 100%; max-width: 40px; height: var(--h); border-radius: 10px; overflow: hidden; background: repeating-linear-gradient(0deg, rgba(188, 174, 131, .08) 0 1px, transparent 1px 14px), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .14); }
.sr__track i { position: absolute; left: 3px; right: 3px; top: calc(var(--h) * var(--a)); height: calc(var(--h) * (var(--b) - var(--a))); border-radius: 7px; background: linear-gradient(180deg, #ecdfbb, var(--gold) 50%, #8f7a48); box-shadow: 0 0 16px -2px rgba(188, 174, 131, .55); }
.sr__bar.is-off .sr__track { background: repeating-linear-gradient(135deg, rgba(188, 174, 131, .09) 0 4px, transparent 4px 9px); }
.sr__bar.is-off .sr__track i { display: none; }
.sr__bar small { font-size: .68rem; letter-spacing: .1em; color: rgba(246, 242, 233, .6); }
.sr__bar.is-today small { color: #ffd28a; font-weight: 600; }
.sr__bar.is-today .sr__track { box-shadow: inset 0 0 0 1px #ffd28a, 0 0 24px -6px rgba(255, 210, 138, .6); }
.sr__bar.is-today .sr__track i { animation: srGlow 2.6s ease-in-out infinite; }
@keyframes srGlow { 50% { filter: brightness(1.18); box-shadow: 0 0 22px 0 rgba(255, 210, 138, .7); } }
.sr__nowline { position: absolute; left: 44px; right: 0; top: calc(var(--h) * var(--n)); border-top: 1px dashed rgba(255, 210, 138, .85); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .6s, top 1s var(--ease); pointer-events: none; }
.sr__bars.is-in .sr__nowline { transform: none; }
.sr__nowline b { position: absolute; left: -5px; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: #ffd28a; box-shadow: 0 0 12px 2px rgba(255, 190, 98, .7); animation: pulse 2s ease-in-out infinite; }
.sr__bars.is-night .sr__nowline { display: none; }

.sr__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sr__perks li { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); }
.sr__perks strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; color: var(--ivory); }
.sr__perks p span { font-size: .88rem; line-height: 1.5; color: rgba(246, 242, 233, .78); }

/* ─── La agenda ─── */
.sr__book { display: grid; gap: 18px; min-width: 0; padding: clamp(16px, 2vw, 26px); border-radius: 30px; background: linear-gradient(160deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .65); }

/* pase de visita */
.pass { --gx: 50%; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: 18px; color: var(--petrol-4); background: linear-gradient(125deg, #f4ebd1 0%, #e3d4a8 45%, #c9b47d 100%); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .6); isolation: isolate; will-change: transform; }
.pass::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: repeating-radial-gradient(circle at 0 120%, rgba(122, 100, 54, .09) 0 1px, transparent 1px 7px); }
.pass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) 0 0 / 260% 100%; background-position: var(--gx) 0; mix-blend-mode: soft-light; animation: passSheen 8s ease-in-out infinite; }
@keyframes passSheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.pass__main { display: grid; gap: 12px; min-width: 0; padding: 16px 18px 14px; }
.pass__top { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--petrol); }
.pass__mono { width: 26px; height: 24px; fill: var(--petrol); }
.pass__top em { margin-left: auto; font-style: normal; color: var(--gold-d); }
.pass__rows { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.pass__row small { display: block; margin-bottom: 5px; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(31, 49, 55, .72); }
.flap { display: inline-flex; gap: 2px; perspective: 260px; }
.flap b { position: relative; display: grid; place-items: center; width: 1.12em; height: 1.58em; border-radius: 4px; font: 600 .98rem/1 var(--f-body); font-variant-numeric: tabular-nums; color: #f6e7bd; background: linear-gradient(#25393f 50%, #1b2c32 50%); box-shadow: 0 2px 3px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06); }
.flap b::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .5); }
.flap b.is-flip { animation: flapA .12s ease-in-out; }
@keyframes flapA { 50% { transform: rotateX(-82deg); } }
.pass__who { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: .8rem; color: rgba(31, 49, 55, .75); }
.pass__who span { flex-shrink: 0; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pass__who b { font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; color: var(--petrol-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass__stub { position: relative; display: grid; align-content: space-between; justify-items: center; gap: 8px; width: 116px; padding: 16px 12px; border-left: 2px dashed rgba(31, 49, 55, .28); background: rgba(255, 255, 255, .16); border-radius: 0 18px 18px 0; }
.pass__stub::before, .pass__stub::after { content: ''; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #1b2b31; }
.pass__stub::before { top: -10px; }
.pass__stub::after { bottom: -10px; }
.pass__code { font-size: .7rem; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--petrol); white-space: nowrap; }
.pass__bars { display: flex; align-items: stretch; gap: 2px; height: 40px; max-width: 100%; overflow: hidden; }
.pass__bars i { width: var(--w); background: var(--petrol-3); }
.pass__place { font-size: .62rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: rgba(31, 49, 55, .75); }
.pass__stamp { position: absolute; right: 64px; top: 50%; width: 136px; height: 136px; margin-top: -68px; display: grid; place-items: center; color: #9a3d1c; opacity: 0; transform: rotate(-14deg) scale(1.6); pointer-events: none; mix-blend-mode: multiply; }
.pass__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; }
.pass__stamp circle + circle { stroke-width: 1.5; }
.pass__stamp text { fill: currentColor; stroke: none; font: 700 11px var(--f-body); letter-spacing: .14em; }
.pass__stamp b { position: relative; padding: .12em .45em; border-block: 2px solid; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.22rem; background: rgba(244, 235, 209, .6); }
.pass.is-stamped .pass__stamp { opacity: .92; transform: rotate(-14deg); }
.pass__spark { position: absolute; z-index: 3; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ffd28a; box-shadow: 0 0 8px #ffbe62; pointer-events: none; }

/* pasos */
.sr__rail { --p: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-bottom: 12px; }
.sr__rail::before, .sr__rail::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; }
.sr__rail::before { right: 0; background: var(--line-d); }
.sr__rail::after { width: calc(100% / 3 * (var(--p) * 2 + 1)); background: linear-gradient(90deg, var(--gold-d), #ffbe62); box-shadow: 0 0 12px rgba(255, 190, 98, .6); transition: width .8s var(--ease); }
.sr__rail li { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 242, 233, .5); transition: color .4s; }
.sr__rail li span { font-family: var(--f-display); font-style: italic; font-size: 1rem; letter-spacing: 0; color: rgba(188, 174, 131, .6); }
.sr__rail li.is-on { color: var(--ivory); }
.sr__rail li.is-on span { color: var(--gold); }
.sr__rail li.is-done { color: var(--gold-l); cursor: pointer; }
.sr__steps { position: relative; }
.srs { display: grid; gap: 14px; outline: none; }
.srs[hidden] { display: none; }
.srs__h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.srs__h--hora { margin-top: 6px; }
.srs__t { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); }
.srs__mes { font-family: var(--f-display); font-size: 1.12rem; color: var(--ivory); }
.srs__nav { display: flex; gap: 6px; margin-left: auto; }
.srs__sub { margin-left: auto; font-family: var(--f-display); font-size: 1.05rem; color: var(--ivory); }
.circ--sm { width: 38px; height: 38px; }
.circ--sm svg { width: 16px; height: 16px; }
.sr .circ { border-color: var(--line-d); color: var(--gold-l); }
.sr .circ:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); }
.sr .circ:disabled { opacity: .3; cursor: default; }

/* días */
.sdays { display: flex; gap: 8px; margin: 0 -4px; padding: 6px 4px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.sdays::-webkit-scrollbar { display: none; }
.sdays.is-drag { cursor: grabbing; scroll-snap-type: none; }
.sdays.is-drag .sday { pointer-events: none; }
.sday { position: relative; flex: 0 0 auto; display: grid; justify-items: center; gap: 1px; width: 72px; padding: 10px 6px 11px; border-radius: 18px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .025); color: var(--ivory); scroll-snap-align: start; overflow: hidden; isolation: isolate; transition: border-color .3s, background-color .3s, color .3s, transform .35s var(--ease), box-shadow .35s; }
.sday small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-l); }
.sday b { font-family: var(--f-display); font-weight: 500; font-size: 1.75rem; line-height: 1.05; }
.sday span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 242, 233, .65); }
.sday em { min-height: 1.25em; font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffd28a; }
.sday__bar { display: block; width: 70%; height: 3px; margin-top: 3px; border-radius: 3px; overflow: hidden; background: rgba(188, 174, 131, .18); }
.sday__bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold); transform-origin: left; }
.sday:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-3px); }
.sday[aria-pressed="true"] { border-color: transparent; color: var(--petrol-4); background: linear-gradient(160deg, #f2e6c1, var(--gold) 55%, #9b8754); box-shadow: 0 16px 30px -14px rgba(188, 174, 131, .8); }
.sday[aria-pressed="true"] small, .sday[aria-pressed="true"] span, .sday[aria-pressed="true"] em { color: var(--petrol-3); }
.sday[aria-pressed="true"] .sday__bar { background: rgba(21, 35, 42, .2); }
.sday[aria-pressed="true"] .sday__bar i { background: var(--petrol-3); }
.sday[aria-pressed="true"]::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-130%); animation: sdayShine 3s var(--ease) infinite; }
@keyframes sdayShine { 55%, 100% { transform: translateX(130%); } }
.sday:disabled { opacity: .4; cursor: not-allowed; }
.sday:disabled b { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(188, 174, 131, .6); }

/* sol: el arco del horario */
.sun { position: relative; display: grid; justify-items: center; padding: 4px 0 2px; }
.sun svg { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.sun__sky { opacity: .55; }
.sun__s1 { stop-color: #2b444c; transition: stop-color .9s; }
.sun__s2 { stop-color: #15232a; stop-opacity: 0; }
.sun[data-parte="manana"] .sun__s1 { stop-color: #6c8985; }
.sun[data-parte="mediodia"] .sun__s1 { stop-color: #b39a5d; }
.sun[data-parte="tarde"] .sun__s1 { stop-color: #b0663b; }
.sun__arc { fill: none; stroke: rgba(188, 174, 131, .38); stroke-width: 1; stroke-dasharray: 2 5; }
.sun__trail { fill: none; stroke: #ffd28a; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 190, 98, .75)); }
.sun__horizon { stroke: rgba(188, 174, 131, .4); stroke-width: 1; }
.sun__ticks circle { fill: rgba(188, 174, 131, .75); }
.sun__ticks text { fill: rgba(246, 242, 233, .6); font: 500 9px var(--f-body); letter-spacing: .06em; }
.sun__body { opacity: .3; transition: opacity .5s; }
.sun.is-on .sun__body { opacity: 1; }
.sun__core { fill: #ffe3a6; }
.sun__rays { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
.sun__rays path { fill: none; stroke: #ffd28a; stroke-width: 1.6; stroke-linecap: round; }
.sun__lbl { position: absolute; left: 50%; bottom: 26%; display: grid; justify-items: center; transform: translateX(-50%); text-align: center; pointer-events: none; }
.sun__lbl b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ivory); transition: color .4s; }
.sun:not(.is-on) .sun__lbl b { color: rgba(246, 242, 233, .35); }
.sun__lbl span { margin-top: 6px; font-size: .78rem; white-space: nowrap; color: var(--gold-l); }

/* horas */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .025); color: var(--ivory); transition: border-color .3s, background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.slot b { font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.slot small { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(188, 174, 131, .85); }
.slot:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); }
.slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); box-shadow: 0 12px 26px -12px rgba(188, 174, 131, .85); }
.slot[aria-pressed="true"] small { color: var(--petrol-3); }
.slot:disabled { opacity: .42; cursor: not-allowed; }
.sr .btn:disabled { opacity: .45; cursor: not-allowed; }
.sr .srs__go:disabled { opacity: 1; background: rgba(188, 174, 131, .1); box-shadow: inset 0 0 0 1px var(--line-d); color: rgba(246, 242, 233, .55); }
.sr .btn:disabled::after { display: none; }
.srs__go.is-ready { animation: srReady 2.4s ease-in-out infinite; }
@keyframes srReady { 50% { box-shadow: 0 0 0 6px rgba(188, 174, 131, .16), 0 0 34px rgba(255, 190, 98, .35); } }

/* qué quiere ver: familias, piezas con foto que se deslizan con el dedo y las elegidas */
.srs__note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: rgba(246, 242, 233, .66); }
.srs__note svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--gold); }
.srs--form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.srs--form .qform__hint { margin-top: -4px; }
.pzfam { display: flex; gap: 8px; margin: 0 -4px; padding: 2px 4px 4px; overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 18px), transparent); }
.pzfam::-webkit-scrollbar { display: none; }
.pzfam.is-drag { cursor: grabbing; }
.pzfam.is-drag .pzfam__b { pointer-events: none; }
.pzfam__b { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line-d); font-size: .86rem; white-space: nowrap; color: rgba(246, 242, 233, .85); transition: background-color .3s, color .3s, border-color .3s; }
.pzfam__b:hover { border-color: var(--gold); }
.pzfam__b[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); }
.pzfam__b sup { display: grid; place-items: center; min-width: 1.55em; height: 1.55em; padding: 0 .4em; border-radius: 999px; font-size: .68rem; font-weight: 600; line-height: 1; vertical-align: 0; background: #ffd28a; color: var(--petrol-4); }
.pzfam__b[aria-pressed="true"] sup { background: var(--petrol-4); color: var(--gold-l); }
.pzwrap { position: relative; }
.pzs { display: flex; gap: 10px; margin: 0 -4px; padding: 4px 4px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 24px), transparent); }
.pzs::-webkit-scrollbar { display: none; }
.pzs.is-drag { cursor: grabbing; scroll-snap-type: none; }
.pzs.is-drag .pz { pointer-events: none; }
.pz { position: relative; flex: 0 0 auto; display: grid; align-content: start; gap: 8px; width: 136px; text-align: left; color: var(--ivory); scroll-snap-align: start; }
.pz__img { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #ece7db; box-shadow: 0 0 0 1px var(--line-d); transition: box-shadow .35s, transform .35s var(--ease); }
.pz__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pz:hover .pz__img img { transform: scale(1.06); }
.pz__ok { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(21, 35, 42, .5); box-shadow: inset 0 0 0 1.5px rgba(246, 242, 233, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .3s, box-shadow .3s, transform .45s var(--ease); }
.pz__ok svg { width: 14px; height: 14px; fill: none; stroke: var(--petrol-4); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s .05s var(--ease); }
.pz[aria-pressed="true"] .pz__img { box-shadow: 0 0 0 2px var(--gold), 0 16px 30px -16px rgba(188, 174, 131, .95); }
.pz[aria-pressed="true"] .pz__ok { background: var(--gold); box-shadow: 0 0 0 3px rgba(21, 35, 42, .35); transform: scale(1.1); }
.pz[aria-pressed="true"] .pz__ok svg { stroke-dashoffset: 0; }
.pz__n { font-size: .84rem; line-height: 1.3; color: rgba(246, 242, 233, .86); transition: color .3s; }
.pz[aria-pressed="true"] .pz__n { color: var(--gold-l); }
.pzs__nav { position: absolute; left: -12px; right: -12px; top: 4px; height: 136px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.pzs__nav .circ { pointer-events: auto; background: var(--petrol-4); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7); transition: opacity .3s, background-color .3s, color .3s, border-color .3s; }
.sr .pzs__nav .circ:disabled { opacity: 0; pointer-events: none; }
@media (pointer: coarse) { .pzs__nav { display: none; } }
.pztray { display: flex; flex-wrap: wrap; gap: 6px; }
.pztray[hidden] { display: none; }
.pztag { display: inline-flex; align-items: center; gap: 4px; padding: .3em .3em .3em .8em; border-radius: 999px; background: rgba(188, 174, 131, .14); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .35); font-size: .8rem; color: var(--gold-l); }
.pztag button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--gold-l); transition: background-color .3s, color .3s; }
.pztag button:hover { background: var(--gold); color: var(--petrol-4); }
.pztag svg { width: 12px; height: 12px; }
.pzall { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: .5em 1.05em .5em .55em; border-radius: 999px; border: 1px dashed rgba(188, 174, 131, .55); font-size: .86rem; text-align: left; color: rgba(246, 242, 233, .85); transition: background-color .3s, color .3s, border-color .3s; }
.pzall i { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(188, 174, 131, .7); transition: background-color .3s, box-shadow .3s; }
.pzall svg { width: 12px; height: 12px; fill: none; stroke: var(--petrol-4); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .25s; }
.pzall:hover { border-color: var(--gold); }
.pzall[aria-pressed="true"] { border-style: solid; border-color: var(--gold); background: rgba(188, 174, 131, .1); color: var(--gold-l); }
.pzall[aria-pressed="true"] i { background: var(--gold); box-shadow: none; }
.pzall[aria-pressed="true"] svg { opacity: 1; }
.sr .field label { color: var(--gold-l); }
.sr .field label small { font-weight: 400; letter-spacing: .04em; text-transform: none; color: rgba(246, 242, 233, .55); }
.sr .field input, .sr .field textarea { color: var(--ivory); border-bottom-color: var(--line-d); }
.sr .field ::placeholder { color: rgba(246, 242, 233, .4); }
.sr .field input:focus, .sr .field textarea:focus { border-color: var(--gold); }
.sr .qform__hint { color: rgba(246, 242, 233, .55); }
.srs__err { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(233, 162, 91, .12); box-shadow: inset 0 0 0 1px rgba(233, 162, 91, .45); font-size: .9rem; color: #f8dcc2; }
.srs__err[hidden] { display: none; }
.srs__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.srs__btns .btn--gold { flex: 1; justify-content: center; }

/* listo */
.srs--ok { justify-items: center; gap: 12px; padding: 8px 0 2px; text-align: center; }
.srok__check { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.srok__check circle, .srok__check path { stroke-dasharray: 190; }
.srok__t { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--ivory); }
.srok__t em { color: var(--gold); }
.srok__p { max-width: 42ch; color: rgba(246, 242, 233, .86); }
.srok__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 6px; }
.srok__btns .btn--gold { grid-column: 1 / -1; }
.srok__note { max-width: 46ch; font-size: .84rem; color: rgba(246, 242, 233, .6); }
.srok__note a { color: var(--gold-l); border-bottom: 1px solid var(--gold-d); }
.srok__again { padding-bottom: 2px; border-bottom: 1px solid var(--gold-d); font-size: .9rem; color: var(--gold-l); }

/* cinta con la dirección y el horario */
.sr__ribbon { margin-top: clamp(70px, 8vw, 110px); padding: 20px 0; overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line-d); background: rgba(0, 0, 0, .12); color: var(--gold-l); }
.sr__ribbon-track { display: inline-flex; align-items: center; will-change: transform; font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.sr__ribbon-track i { flex-shrink: 0; width: 9px; height: 9px; margin: 0 28px; transform: rotate(45deg); background: currentColor; opacity: .7; }

@media (max-width: 1080px) {
  .sr__grid { grid-template-columns: 1fr; }
  .sr__book { order: -1; }
  /* el lugar en dos columnas: mapa a la izquierda, dirección y semana a la derecha */
  .sr__place { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .sr__map { grid-row: span 2; aspect-ratio: auto; min-height: 320px; }
  .sr__addr { grid-template-columns: auto minmax(0, 1fr); }
  .sr__go { grid-column: 1 / -1; justify-content: flex-start; }
  .sr__perks { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sr__head { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sr__place { grid-template-columns: 1fr; }
  .sr__map { grid-row: auto; aspect-ratio: 4 / 3.4; min-height: 0; }
  .sr__perks { grid-template-columns: 1fr; }
  .sr__perks li { grid-template-columns: auto 1fr; align-items: center; }
  .sr__addr { grid-template-columns: auto minmax(0, 1fr); }
  .sr__go { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .sr__word { font-size: 8.5rem; }
  .sr__map { aspect-ratio: 4 / 3.6; border-radius: 22px; }
  .sr__compass { width: 44px; height: 44px; right: 14px; top: 14px; }
  .sr__book { padding: 14px; border-radius: 24px; }
  .pass { grid-template-columns: 1fr; }
  .pass__main { padding: 14px 14px 12px; }
  .pass__stub { grid-auto-flow: column; align-items: center; justify-content: space-between; width: auto; padding: 10px 14px; border-left: 0; border-top: 2px dashed rgba(31, 49, 55, .28); border-radius: 0 0 18px 18px; }
  .pass__stub::before, .pass__stub::after { top: -11px; left: auto; bottom: auto; }
  .pass__stub::before { left: -10px; }
  .pass__stub::after { right: -10px; }
  .pass__bars { height: 26px; }
  .pass__place { display: none; }
  .pass__stamp { right: 18px; top: 38%; width: 116px; height: 116px; margin-top: -58px; }
  .flap b { width: 1.06em; height: 1.5em; font-size: .9rem; }
  .sday { width: 64px; border-radius: 16px; }
  .sday b { font-size: 1.5rem; }
  .sun__lbl { bottom: 22%; }
  .sun__lbl span { font-size: .72rem; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot { flex-direction: column; gap: 2px; padding: 10px 4px; }
  .pz { width: 118px; }
  .pzs__nav { height: 118px; }
  .srs__btns .btn { flex: 1 1 100%; }
  .srok__btns { grid-template-columns: 1fr; }
  .sr__bars { --h: 96px; grid-template-columns: 36px repeat(7, minmax(0, 1fr)); gap: 5px; }
  .sr__nowline { left: 36px; }
  .sr__week-h { flex-direction: column; gap: 4px; }
  .sr__rail li { gap: 6px; font-size: .66rem; letter-spacing: .06em; }
  .sr__rail li span { font-size: .9rem; }
}

/* ═══════════ 07 · INTEMPERIE (simulador de clima) ═══════════ */
.wx { background: var(--ivory); padding: clamp(100px, 11vw, 160px) 0; overflow: clip; }
.wx__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.wx__intro { color: var(--ink-2); max-width: 34rem; }
.wx__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.wxb { display: inline-flex; align-items: center; gap: 10px; padding: .6em 1.15em .6em .7em; border-radius: 999px; border: 1px solid var(--line-l); color: var(--petrol); font-size: .95rem; font-weight: 500; transition: background-color .35s, color .35s, border-color .35s; }
.wxb svg { width: 30px; height: 30px; overflow: visible; }
.wxb:hover { border-color: var(--petrol); }
.wxb[aria-checked="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); }
.wxb__rays { transform-origin: 20px 20px; }
.wxb__drops { stroke-dasharray: 3 3; }
.wxb[aria-checked="true"] .wxb__rays { animation: spin 8s linear infinite; }
.wxb[aria-checked="true"] .wxb__drops { animation: rain .5s linear infinite; }
.wxb[aria-checked="true"] .wxb__fog1 { animation: fogA 2.4s ease-in-out infinite alternate; }
.wxb[aria-checked="true"] .wxb__fog2 { animation: fogB 2.4s ease-in-out infinite alternate; }
.wxb__mercury { transition: stroke-dashoffset .6s; stroke-dasharray: 9; }
.wxb[aria-checked="true"] .wxb__mercury { animation: wxDrop 2s ease-in-out infinite alternate; }
@keyframes wxDrop { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 7; } }
.wx__facts { display: grid; gap: 4px; border-top: 1px solid var(--line-l); }
.wx__facts li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-l); color: var(--ink-2); font-size: .96rem; }
.wx__facts strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--petrol); }
.wx__stage { aspect-ratio: 1 / 1; max-height: min(760px, calc(100svh - 120px)); box-shadow: 0 50px 90px -50px rgba(45, 69, 78, .6); }
/* una sola foto real (el escaño sobre el pasto) y su versión nublada (tools/build-intemperie.cjs); encima solo cambia el
   clima: el tono de la luz, el cielo, el agua, la niebla y la escarcha. El escaño y el pasto son siempre los mismos. */
.wx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.3s var(--ease), filter 1.6s var(--ease); }
.wx__img--nube { opacity: 0; }
.wx__stage:not([data-state="sol"]) .wx__img--nube { opacity: 1; }
.wx__stage[data-state="sol"] .wx__img { filter: saturate(1.06) contrast(1.03); }
.wx__stage[data-state="lluvia"] .wx__img { filter: brightness(.7) saturate(.72) contrast(1.08); }
.wx__stage[data-state="niebla"] .wx__img { filter: brightness(1.02) saturate(.55) contrast(.8); }
.wx__stage[data-state="helada"] .wx__img { filter: brightness(.98) saturate(.35) contrast(1.05); }
.wx__sky, .wx__cold, .wx__wet, .wx__sun, .wx__frost, .wx__fog, .wx__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.3s var(--ease), background-color 1.3s var(--ease); }
.wx__fx { width: 100%; height: 100%; }
/* sol: luz cálida que entra por arriba */
.wx__sun { background: radial-gradient(70% 55% at 88% 0%, rgba(255, 230, 170, .5), rgba(255, 205, 130, .14) 45%, transparent 72%), linear-gradient(180deg, rgba(255, 214, 150, .1), transparent 55%); mix-blend-mode: screen; }
/* lluvia: cielo cubierto sobre los claros entre las hojas, luz fría, pasto mojado y aire con agua */
.wx__sky { background: linear-gradient(180deg, rgba(150, 160, 166, .8) 0%, rgba(150, 160, 166, .42) 14%, rgba(150, 160, 166, 0) 34%); }
.wx__cold { background-color: rgba(70, 92, 108, .5); mix-blend-mode: multiply; }
.wx__wet { background: linear-gradient(0deg, rgba(10, 32, 30, .4), rgba(10, 32, 30, 0) 46%); mix-blend-mode: multiply; }
.wx__wet::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(196, 206, 210, .2), rgba(196, 206, 210, .06) 55%, rgba(196, 206, 210, .14)); }
/* niebla: espesa al fondo (los árboles se pierden), liviana sobre el escaño y más clara cerca, abajo */
.wx__fog { background: radial-gradient(56% 40% at 50% 46%, rgba(226, 231, 232, .14), rgba(226, 231, 232, .46) 60%, rgba(226, 231, 232, .8) 100%), linear-gradient(180deg, rgba(226, 231, 232, .42), rgba(226, 231, 232, 0) 38%); -webkit-mask: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .3) 100%); mask: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .3) 100%); }
.wx__fog i { position: absolute; left: -40%; right: -40%; height: 55%; background: radial-gradient(50% 50% at 50% 50%, rgba(236, 240, 240, .5), transparent 70%); filter: blur(18px); }
.wx__fog i:nth-child(1) { top: 4%; animation: fogA 18s ease-in-out infinite alternate; }
.wx__fog i:nth-child(2) { top: 52%; opacity: .7; animation: fogB 24s ease-in-out infinite alternate; }
/* helada: cielo pálido, luz fría y escarcha blanca sobre el pasto (textura de --escarcha, js/home.js) */
.wx__frost { background: linear-gradient(180deg, rgba(222, 230, 238, .78) 0%, rgba(222, 230, 238, .34) 14%, transparent 34%), linear-gradient(180deg, transparent 48%, rgba(228, 236, 244, .34) 60%, rgba(234, 240, 246, .56) 100%); }
.wx__frost::after { content: ''; position: absolute; inset: 0; background-image: var(--escarcha, none); background-size: 220px 220px; -webkit-mask: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7) 62%, #000 78%); mask: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7) 62%, #000 78%); }
.wx__stage[data-state="sol"] .wx__sun,
.wx__stage[data-state="lluvia"] .wx__sky, .wx__stage[data-state="lluvia"] .wx__cold, .wx__stage[data-state="lluvia"] .wx__wet, .wx__stage[data-state="lluvia"] .wx__fx,
.wx__stage[data-state="niebla"] .wx__fog,
.wx__stage[data-state="helada"] .wx__frost, .wx__stage[data-state="helada"] .wx__fx { opacity: 1; }
.wx__stage[data-state="helada"] .wx__cold { opacity: 1; background-color: rgba(198, 214, 232, .55); }
.wx__stage[data-state="niebla"] .wx__fx { opacity: .7; }
.wx__hud { position: absolute; left: 18px; top: 18px; z-index: 3; display: grid; gap: 2px; min-width: 220px; padding: 16px 20px; border-radius: 6px; background: rgba(21, 35, 42, .74); border: 1px solid var(--line-d); color: var(--ivory); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wx__temp { display: flex; align-items: baseline; gap: 2px; font-family: var(--f-display); }
.wx__temp b { font-size: 2.4rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.wx__temp small { font-size: 1.1rem; color: var(--gold); }
.wx__label { font-size: .9rem; color: var(--gold-l); }
.wx__ok { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-d); font-size: .86rem; font-weight: 600; }
.wx__ok svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--petrol-4); }

/* ═══════════ 08 · PROYECTOS Y MARCAS ═══════════ */
.pro { background: var(--petrol-4); color: var(--ivory); padding: clamp(100px, 11vw, 160px) 0; }
.pro__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }
.pro__intro { max-width: 32rem; color: rgba(246, 242, 233, .86); }
/* cualquier cantidad de marcas: hasta 5 por fila en escritorio y la última fila se estira para no dejar huecos */
.logos { display: flex; flex-wrap: wrap; gap: 1px; margin-bottom: clamp(60px, 7vw, 100px); border-radius: 6px; overflow: hidden; background: var(--line-d); border: 1px solid var(--line-d); }
.logo { flex: 1 1 230px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: clamp(200px, 17vw, 250px); padding: 46px 22px 26px; background: var(--paper); text-align: center; isolation: isolate; overflow: hidden; }
.logo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 120%), rgba(188, 174, 131, .35), transparent 70%); opacity: 0; transition: opacity .5s; }
.logo:hover::before { opacity: 1; }
.logo__tag { position: absolute; left: 16px; top: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.logo__img { width: auto; max-width: 74%; max-height: 92px; transition: transform .8s var(--ease); }
.logo__img--wide { width: 84%; max-width: 84%; max-height: none; }
.logo:hover .logo__img { transform: scale(1.06); }
.logo__what { font-size: .86rem; color: var(--ink-2); max-width: 22ch; }
.logo__seam { position: absolute; top: 10%; bottom: 10%; left: 0; width: 3px; border-radius: 3px; background: linear-gradient(transparent, #fff3cf 20%, #f6c86a 50%, #fff3cf 80%, transparent); box-shadow: 0 0 16px 5px rgba(255, 190, 90, .55); opacity: 0; pointer-events: none; }
.pro__stack { display: grid; gap: clamp(20px, 3vh, 34px); }
.pcase { position: sticky; top: calc(var(--hdr) + 14px + var(--i) * 16px); display: grid; grid-template-columns: 1.2fr .8fr; min-height: min(70vh, 600px); border-radius: 6px; overflow: hidden; background: var(--petrol-2); border: 1px solid var(--line-d); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .65); transform-origin: 50% 0; }
.pcase__img { position: relative; overflow: hidden; }
.pcase__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcase__body { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(26px, 3vw, 46px); }
.pcase__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pcase__n { font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.pcase__logo { display: grid; place-items: center; height: 56px; padding: 8px 16px; border-radius: 4px; background: var(--paper); }
/* alto fijo: los SVG de los logos no traen ancho propio y, sin esto, se encogían a un cuadrado vacío */
.pcase__logo img { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.pcase h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
.pcase__place { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .84rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); }
.pcase__place svg { width: 16px; height: 16px; color: var(--gold); }
.pcase__txt { color: rgba(246, 242, 233, .86); }
.pcase__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pcase__tags span { padding: .35em .85em; border-radius: 999px; border: 1px solid var(--line-d); font-size: .82rem; color: var(--gold-l); }
.pcase__dim { position: absolute; inset: 0; background: rgba(12, 22, 26, 1); opacity: 0; pointer-events: none; }
/* tramo de lectura: cada caso queda fijo y completo un rato antes de que el siguiente lo cubra */
@media (min-width: 901px) { .pcase + .pcase { margin-top: 28vh; } }
.pro__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); padding: 26px 30px; border-radius: 6px; border: 1px solid var(--line-d); background: rgba(188, 174, 131, .06); }
.pro__cta p { flex: 1; min-width: 260px; color: rgba(246, 242, 233, .86); }
.pro__cta strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; color: var(--ivory); }

/* ═══════════ 09 · CLIENTES (río de fotos) ═══════════ */
.river { background: var(--petrol-3); color: var(--ivory); padding: clamp(100px, 11vw, 160px) 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.river__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }
.river__aside { display: grid; gap: 18px; justify-items: start; max-width: 30rem; color: rgba(246, 242, 233, .86); }
.river__rows { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.river__row { overflow: hidden; }
.river__track { display: flex; gap: clamp(12px, 1.6vw, 20px); width: max-content; will-change: transform; }
.ritem { position: relative; flex: 0 0 auto; height: clamp(200px, 24vw, 340px); margin: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in; background: var(--petrol-2); }
.ritem img { height: 100%; width: auto; transition: transform 1.2s var(--ease), filter .6s; }
.ritem:hover img { transform: scale(1.06); }
.river__row:hover .ritem:not(:hover) img { filter: brightness(.6) saturate(.7); }
.ritem figcaption { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(21, 35, 42, .85)); font-size: .84rem; color: var(--ivory); transform: translateY(100%); transition: transform .5s var(--ease); }
.ritem figcaption strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.ritem:hover figcaption { transform: none; }
.lightbox { width: min(1100px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; border-radius: 6px; background: var(--petrol-4); overflow: hidden; }
.lightbox::backdrop { background: rgba(21, 35, 42, .88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: qvIn .6s var(--ease); }
.lightbox img { display: block; width: 100%; max-height: calc(100svh - 120px); object-fit: contain; background: #000; }
.lightbox figcaption { padding: 16px 22px; color: var(--ivory); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.lightbox figcaption strong { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--gold-l); display: grid; place-items: center; }
.lightbox__nav svg { width: 20px; height: 20px; }

/* ═══════════ 10 · COTIZAR ═══════════ */
.quote { background: var(--ivory); padding: clamp(100px, 11vw, 160px) 0; }
.quote__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.qsteps { margin-top: 8px; border-top: 1px solid var(--line-l); }
.qsteps li { display: grid; grid-template-columns: 30px auto 1fr; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); }
.qsteps__n { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--gold-d); }
.qsteps p { color: var(--ink-2); font-size: .96rem; }
.qsteps strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--petrol); }
.quote__direct { display: grid; gap: 12px; margin-top: 30px; }
.quote__direct a { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 500; color: var(--petrol); }
.quote__direct svg { width: 20px; height: 20px; color: var(--gold-d); }
.quote__direct a:hover { color: var(--gold-d); }
.qcard { display: grid; gap: 18px; padding: clamp(16px, 2vw, 26px); border-radius: 8px; background: var(--paper); border: 1px solid var(--line-l); box-shadow: 0 50px 90px -60px rgba(45, 69, 78, .55); }
.chat { border-radius: 6px; overflow: hidden; background: #18282e; border: 1px solid var(--line-d); color: var(--ivory); }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(188, 174, 131, .1); border-bottom: 1px solid var(--line-d); }
.chat__top strong { display: block; font-weight: 600; font-size: .95rem; }
.chat__top small { color: var(--gold-l); font-size: .8rem; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); border: 1px solid var(--gold); }
.chat__avatar svg { width: 24px; height: 22px; fill: var(--gold); }
.chat__live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: .78rem; color: rgba(246, 242, 233, .8); }
.chat__live i { width: 7px; height: 7px; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 8px #7dffb0; }
.chat__body { display: grid; gap: 10px; padding: 16px; min-height: 140px; background: radial-gradient(circle at 20% 0%, rgba(188, 174, 131, .08), transparent 60%); }
.chat__bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; white-space: pre-line; }
.chat__bubble--in { justify-self: start; background: rgba(255, 255, 255, .08); border-top-left-radius: 4px; }
.chat__bubble--out { justify-self: end; background: var(--gold); color: var(--petrol-4); border-top-right-radius: 4px; }
.chat__typing { justify-self: end; display: flex; gap: 4px; padding: 8px 12px; border-radius: 12px; background: rgba(188, 174, 131, .25); opacity: 0; transition: opacity .3s; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-l); animation: typing 1s ease-in-out infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
.chat.is-typing .chat__typing { opacity: 1; }
.qform { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; padding-top: 10px; }
.qform__progress { position: absolute; left: 0; right: 0; top: -6px; height: 2px; background: var(--line-l); }
.qform__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), #ffbe62); transform-origin: left; transform: scaleX(.04); transition: transform .6s var(--ease); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full, .field--chips { grid-column: 1 / -1; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field label, .field legend { padding: 0; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--petrol); }
.field input, .field select, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-l); border-radius: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, var(--petrol) 50%), linear-gradient(-45deg, transparent 50%, var(--petrol) 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field ::placeholder { color: rgba(23, 33, 36, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-d); }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qchip { padding: .5em .95em; border-radius: 999px; border: 1px solid var(--line-l); font-size: .86rem; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s; }
.qchip:hover { border-color: var(--petrol); }
.qchip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); }
.qform .btn { grid-column: 1 / -1; margin-top: 4px; }
.qform__req { grid-column: 1 / -1; justify-self: end; margin-bottom: -10px; font-size: .8rem; color: var(--muted); }
.qform__req span { color: var(--gold-d); font-weight: 600; }
/* obligatorios: asterisco dorado después de la etiqueta (el campo ya lleva required para los lectores de pantalla) */
.field:has(> [required]) > label::after { content: '*'; content: '*' / ''; margin-left: .3em; color: var(--gold-d); }
.field__err { margin-top: 2px; font-size: .9rem; line-height: 1.4; color: #9a4316; }
.qform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.is-bad input { border-color: #9a4316; }
.qform__hint { grid-column: 1 / -1; margin-top: -8px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ═══════════ 11 · PREGUNTAS ═══════════ */
.faq { background: var(--petrol); color: var(--ivory); padding: clamp(100px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); }
.faq__side { position: sticky; top: 120px; align-self: start; }
.faq__card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; padding: 22px 24px; border-radius: 6px; border: 1px solid var(--line-d); background: rgba(21, 35, 42, .3); }
.faq__seal { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold); flex-shrink: 0; }
.faq__seal svg { width: 32px; height: 30px; fill: var(--gold); }
.faq__card p { flex: 1; min-width: 180px; color: rgba(246, 242, 233, .86); font-size: .96rem; }
.faq__card strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--ivory); }
.faq__list { border-top: 1px solid var(--line-d); }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 38px; align-items: center; gap: 14px; padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--ivory); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-l); }
.faq__n { font-size: .95rem; color: var(--gold); }
.faq__x { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-d); transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.faq__x::before, .faq__x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--gold-l); }
.faq__x::after { transform: rotate(90deg); }
.faq details[open] .faq__x { transform: rotate(135deg); background: var(--gold); border-color: var(--gold); }
.faq details[open] .faq__x::before, .faq details[open] .faq__x::after { background: var(--petrol-4); }
.faq details[open] summary { color: var(--gold-l); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 52px 24px 54px; color: rgba(246, 242, 233, .84); }


/* ─── Nuestro oficio · lupa sobre la foto: recorre el escaño sola y sigue el cursor ─── */
.olens { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(120px, 12vw, 170px); aspect-ratio: 1; pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .6s, transform .7s var(--ease); }
.frame.is-poured .olens.is-on { opacity: 1; transform: none; }
.olens__img { position: absolute; inset: 0; border-radius: 50%; background-repeat: no-repeat; box-shadow: 0 0 0 3px var(--gold), 0 0 0 7px rgba(188, 174, 131, .28), 0 24px 50px -14px rgba(0, 0, 0, .75); }
.olens__img::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .28), transparent 42%); }
.olens__lbl { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); padding: .35em .8em; border-radius: 999px; background: rgba(16, 28, 33, .78); border: 1px solid var(--line-d); color: var(--gold-l); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.oficio__media .frame { cursor: zoom-in; }

/* ─── Brillo metálico que recorre las palabras doradas de los títulos de Nuestro oficio y Para tu espacio ─── */
.oficio__head .display em, .esp__title em {
  background: linear-gradient(100deg, currentColor 0 40%, #fff3cf 50%, currentColor 60% 100%) 0 0 / 280% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: emShine 5.5s ease-in-out 1.2s infinite; }
.oficio__head .display em:nth-of-type(2), .oficio__head .display .w + .w em { animation-delay: 1.35s; }
@keyframes emShine { 0%, 50% { background-position: 100% 0; } 100% { background-position: 0% 0; } }

/* ═══════════ PARA TU ESPACIO ═══════════ */
.esp { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(80% 70% at 75% 30%, #2d454e 0%, var(--petrol-4) 62%); color: var(--ivory); padding: clamp(100px, 11vw, 160px) 0; }
/* palabra gigante en contorno dorado detrás de todo */
.esp .wrap { position: relative; z-index: 1; }
.esp__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 40px); }
.esp__head .sh { margin-bottom: 0; }
.esp__rot { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.esp__rot em { grid-area: 1 / 1; color: var(--gold); padding-right: .1em; }
.esp__intro { max-width: 26rem; color: rgba(246, 242, 233, .86); }
.esp__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.esp__tab { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; padding: .7em 1.25em .7em .8em; border-radius: 999px; border: 1px solid var(--line-d); color: rgba(246, 242, 233, .8); font-size: .95rem; font-weight: 500; transition: color .4s, border-color .4s, background-color .4s; }
.esp__tab svg { width: 30px; height: 22px; overflow: visible; color: var(--gold); }
.esp__tab .ix-acc { stroke: #f3dfa6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ixDraw 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.7s); }
.esp__tab[aria-selected="true"] .ix-acc { stroke: var(--petrol-4); animation-duration: 2.2s; }
.esp__tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold-d), #ffbe62, #fff1c9); transform: scaleX(0); transform-origin: left; }
.esp__tab:hover { border-color: rgba(188, 174, 131, .6); color: var(--ivory); }
.esp__tab[aria-selected="true"] { color: var(--petrol-4); background: var(--gold); border-color: var(--gold); }
.esp__tab[aria-selected="true"] svg { color: var(--petrol-4); }
.esp__tab[aria-selected="true"] i { background: rgba(21, 35, 42, .45); }
.esp__stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4.5vw, 80px); align-items: center; }
.esp__photo { --rx: 0deg; --ry: 0deg; aspect-ratio: 5 / 4; max-height: calc(100svh - 160px); width: 100%; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s var(--ease); }
/* anillo de luz dorada que recorre el borde de la foto */
.esp__photo::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, #ffd28a 320deg, #fff3d1 338deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: ang 5s linear infinite; }
.esp__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.esp__photo img.is-cur { animation: espKen 9s ease-out forwards; }
@keyframes espKen { from { transform: scale(1.08); } to { transform: scale(1); } }
.esp__panel h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.12; }
.esp__panel h3 em { color: var(--gold); }
.esp__panel > p { margin-top: 12px; color: rgba(246, 242, 233, .86); }
.esp__picks { margin-top: 22px; border-top: 1px solid var(--line-d); }
.esp__pick { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line-d); color: var(--ivory); }
.esp__pick img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: inset 0 0 0 1px var(--line-d); transition: transform .6s var(--ease); }
.esp__pick strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.esp__pick small { display: block; margin-top: 2px; font-size: .86rem; color: var(--gold-l); }
.esp__pick > span:last-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--gold); transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.esp__pick > span:last-child svg { width: 17px; height: 17px; }
.esp__pick:hover img { transform: scale(1.08) rotate(-2deg); }
.esp__pick:hover > span:last-child { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); transform: rotate(-45deg); }
.esp__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }


/* ─── Vista técnica sobre la foto de Para tu espacio: plano dorado sobre grilla petróleo ─── */
.esp__photo { cursor: crosshair; }
.esp__bp { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background-image: var(--bp, none), linear-gradient(rgba(188, 174, 131, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(188, 174, 131, .1) 1px, transparent 1px), linear-gradient(rgba(188, 174, 131, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(188, 174, 131, .22) 1px, transparent 1px);
  background-size: cover, 16px 16px, 16px 16px, 80px 80px, 80px 80px; background-position: center, 0 0, 0 0, 0 0, 0 0; background-repeat: no-repeat, repeat, repeat, repeat, repeat; background-color: rgba(6, 26, 31, .94); }
.esp__bp.is-lens { opacity: 1; -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 94%, transparent 100%); mask-image: radial-gradient(circle var(--r, 0px) at var(--mx, 50%) var(--my, 50%), #000 94%, transparent 100%); }
.esp__bp.is-scan { opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--sx, 0px) - 220px), rgba(0, 0, 0, .55) calc(var(--sx, 0px) - 120px), #000 calc(var(--sx, 0px) - 6px), transparent calc(var(--sx, 0px) + 2px)); mask-image: linear-gradient(90deg, transparent calc(var(--sx, 0px) - 220px), rgba(0, 0, 0, .55) calc(var(--sx, 0px) - 120px), #000 calc(var(--sx, 0px) - 6px), transparent calc(var(--sx, 0px) + 2px)); }
.esp__hud { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
/* visor circular que sigue al cursor, con mira y coordenadas */
.esp__lens { position: absolute; left: 0; top: 0; width: calc(var(--r, 0px) * 2); height: calc(var(--r, 0px) * 2); margin: calc(var(--r, 0px) * -1) 0 0 calc(var(--r, 0px) * -1); transform: translate(var(--mx, 50%), var(--my, 50%)); border-radius: 50%; opacity: 0; transition: opacity .3s;
  box-shadow: inset 0 0 0 1.5px rgba(255, 236, 190, .85), 0 0 0 6px rgba(188, 174, 131, .12), 0 0 30px rgba(255, 200, 110, .35); }
.esp__lens::before, .esp__lens::after { content: ''; position: absolute; left: 50%; top: 50%; background: rgba(255, 236, 190, .85); }
.esp__lens::before { width: 22px; height: 1px; margin: 0 0 0 -11px; }
.esp__lens::after { width: 1px; height: 22px; margin: -11px 0 0 0; }
.esp__lens i { position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(188, 174, 131, .5); animation: spin 14s linear infinite; }
.esp__xy { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); padding: .3em .7em; border-radius: 999px; background: rgba(16, 28, 33, .85); box-shadow: inset 0 0 0 1px var(--line-d); font-size: .66rem; font-weight: 600; letter-spacing: .14em; color: #fff1c9; white-space: nowrap; font-variant-numeric: tabular-nums; }
.esp__hud.is-lens .esp__lens { opacity: 1; }
/* barra de escaneo automática */
.esp__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; transform: translateX(var(--sx, -10px)); opacity: 0; background: linear-gradient(transparent, #ffd28a 15%, #fff3d1 50%, #ffd28a 85%, transparent); box-shadow: 0 0 16px 3px rgba(255, 190, 90, .6); }
.esp__scan b { position: absolute; left: 10px; top: 16px; padding: .3em .7em; border-radius: 999px; background: rgba(16, 28, 33, .85); box-shadow: inset 0 0 0 1px var(--line-d); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff1c9; white-space: nowrap; }
.esp__hud.is-scan .esp__scan { opacity: 1; }
.esp__hint { position: absolute; right: 14px; bottom: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border-radius: 999px; background: rgba(16, 28, 33, .8); box-shadow: inset 0 0 0 1px var(--line-d); font-size: .72rem; font-weight: 500; letter-spacing: .08em; color: var(--gold-l); pointer-events: none; transition: opacity .4s; }
.esp__hint::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ffd28a; box-shadow: 0 0 10px #ffbe62; animation: blink 1.6s ease-in-out infinite; }
.esp__photo:hover .esp__hint { opacity: 0; }
@media (pointer: coarse) { .esp__hint { display: none; } .esp__photo { cursor: default; } }
.esp__pick { transition: background-color .4s; }
.esp__pick:hover { background: rgba(188, 174, 131, .06); }

/* ─── Cierre de Para tu espacio: planificador "¿Para cuántas personas?" con plano animado ─── */
.plan { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3.5vw, 56px); margin-top: clamp(70px, 8vw, 120px); padding: clamp(28px, 3.2vw, 44px); border-radius: 8px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-d); }
.plan::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, transparent, var(--gold-d), #ffbe62, #fff1c9, transparent); opacity: .7; }
.plan__kick { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); }
.plan__title { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.08; }
.plan__title em { font-style: italic; color: var(--gold); }
.plan__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.plan__opts button { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border-radius: 12px; border: 1px solid var(--line-d); color: rgba(246, 242, 233, .82); transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.plan__opts b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.plan__opts span { font-size: .72rem; letter-spacing: .06em; }
.plan__opts button:hover { border-color: rgba(188, 174, 131, .65); transform: translateY(-2px); }
.plan__opts button[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--petrol-4); }
.plan__note { margin-top: 16px; min-height: 3em; font-size: .95rem; color: rgba(246, 242, 233, .86); }
/* plano visto desde arriba */
.plan__stage svg { display: block; width: 100%; height: auto; border-radius: 6px; background: rgba(12, 22, 26, .35); box-shadow: inset 0 0 0 1px rgba(188, 174, 131, .18); }
.plan__table { fill: rgba(188, 174, 131, .14); stroke: var(--gold); stroke-width: 1.6; }
.plan__rose { fill: none; stroke: rgba(188, 174, 131, .55); stroke-width: 1.2; }
.plan__chair rect { fill: #263a41; stroke: var(--gold-l); stroke-width: 1.3; }
.plan__chair path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; }
/* sillas de las puntas: opcionales */
.plan__chair.is-opc rect { fill: none; stroke-dasharray: 3 3; }
.plan__chair.is-opc path { stroke-dasharray: 3 3; stroke-width: 1.6; }
.esp__wa { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: rgba(188, 174, 131, .14); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--gold); }
.esp__wa svg { width: 26px; height: 26px; }
.plan__dim line { stroke: var(--gold); stroke-width: 1.2; }
.plan__dim-t { font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .06em; fill: var(--gold-l); }
/* recomendados */
.plan__recs .esp__picks { margin-top: 0; }
.plan__recs h4 { margin-bottom: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.plan__recs .link-arrow { margin-top: 16px; }
@media (max-width: 1100px) {
  .plan { grid-template-columns: 1fr 1fr; }
  .plan__recs { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .plan { grid-template-columns: 1fr; padding: 24px 18px; }
}
@media (max-width: 900px) {
  .esp__stage { grid-template-columns: 1fr; }
  .esp__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .esp__tabs::-webkit-scrollbar { display: none; }
  .esp__tab { flex-shrink: 0; }
}


/* ─── Cierre de Nuestro oficio: panel petróleo con el monograma que se funde, la promesa y lo que incluye ─── */
.oclose { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(260px, 340px); align-items: center; gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(64px, 7vw, 110px); padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 60px); border-radius: 8px; color: var(--ivory);
  background: linear-gradient(135deg, #2b444c, var(--petrol-4) 70%); box-shadow: 0 60px 100px -60px rgba(21, 35, 42, .85); }
/* gota incandescente que recorre el borde superior */
.oclose::before { content: ''; position: absolute; top: 0; left: 0; width: 180px; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, #ffc978 40%, #fff3d1 60%, transparent); box-shadow: 0 0 14px 2px rgba(255, 175, 80, .6); transform: translateX(-200px); animation: ocBead 6s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes ocBead { 65%, 100% { transform: translateX(calc(100vw)); } }
/* brillos de metal fundido que se mueven de fondo */
.oclose__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.oclose__glow i { position: absolute; width: 460px; aspect-ratio: 1; border-radius: 50%; filter: blur(14px); background: radial-gradient(circle, rgba(255, 150, 60, .2), transparent 62%); }
.oclose__glow i:first-child { left: -120px; top: -160px; animation: ocDrift 13s ease-in-out infinite alternate; }
.oclose__glow i:last-child { right: -140px; bottom: -220px; background: radial-gradient(circle, rgba(188, 174, 131, .22), transparent 62%); animation: ocDrift 16s ease-in-out infinite alternate-reverse; }
@keyframes ocDrift { to { transform: translate(140px, 90px) scale(1.2); } }
.oclose__mono svg { display: block; width: clamp(120px, 12vw, 170px); height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.oc-stroke { fill: none; stroke: var(--gold); stroke-width: 80; stroke-linejoin: round; opacity: .9; }
.oc-hot { filter: drop-shadow(0 0 60px rgba(255, 140, 40, .9)); }
.oc-cool { opacity: 0; }
.oclose__kick { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); }
.oclose__title { margin-top: 10px; max-width: 18ch; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.08; }
.oclose__title .ow { display: inline-block; }
.oclose__title em { font-style: italic; color: var(--gold); }
.oclose__title em .ow { background: linear-gradient(100deg, var(--gold) 0 40%, #fff3cf 50%, var(--gold) 60% 100%) 0 0 / 280% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: emShine 5s ease-in-out 1.5s infinite; padding-right: .06em; }
.oclose__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; }
.oclose__cta .link-arrow { margin-top: 0; }
.link-arrow--light { color: var(--ivory); border-bottom-color: var(--gold); }
.link-arrow--light svg { color: var(--gold); }
.oclose__list { align-self: stretch; display: grid; align-content: center; padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line-d); }
.oclose__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: .9rem; line-height: 1.45; color: rgba(246, 242, 233, .8); }
.oclose__list li:last-child { border-bottom: 0; }
.oclose__list strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ivory); }
.oc-ico { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; color: var(--gold); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .9); }
.oc-ico svg { width: 30px; height: 30px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* camión en ruta */
.oc-road { stroke-dasharray: 4 3.5; animation: road .5s linear infinite; }
.oc-truck { animation: bump .3s ease-in-out infinite alternate; }
.oc-speed { stroke-dasharray: 4 6; animation: ocSpeed .7s linear infinite; opacity: .7; }
@keyframes ocSpeed { from { transform: translateX(10px); opacity: 0; } 50% { opacity: .8; } to { transform: translateX(-2px); opacity: 0; } }
/* lluvia que cae sobre el escudo y el check que se vuelve a dibujar */
.oc-check { stroke-dasharray: 14; animation: ocCheck 2.6s ease-in-out infinite; }
@keyframes ocCheck { 0%, 15% { stroke-dashoffset: 14; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -14; } }
.oc-rain { animation: ocRain 1s linear infinite; stroke-width: 1.3; }
@keyframes ocRain { from { transform: translateY(0); opacity: 0; } 30% { opacity: .9; } 70% { opacity: .9; } to { transform: translateY(11px); opacity: 0; } }
/* puntos de escritura */
.oc-dot { fill: currentColor; stroke: none; animation: typing 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.oc-dot:nth-of-type(2) { animation-delay: .15s; }
.oc-dot:nth-of-type(3) { animation-delay: .3s; }
@media (max-width: 1100px) {
  .oclose { grid-template-columns: auto minmax(0, 1fr); }
  .oclose__list { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-d); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .oclose__list li { border-bottom: 0; }
}
@media (max-width: 700px) {
  .oclose { grid-template-columns: 1fr; text-align: left; padding: 30px 22px; }
  .oclose__list { grid-template-columns: 1fr; gap: 0; }
  .oclose__list li { border-bottom: 1px solid var(--line-d); }
  .oclose__list li:last-child { border-bottom: 0; }
}

/* Responsive del sistema */
@media (max-width: 1180px) {
  .logo { flex-basis: calc(50% - 1px); }
  .hnav { width: min(360px, 40vw); }
}
/* Cifras en 2 × 2 cuando no caben las 4 en una fila (laptops chicas, tablet y celular) */
@media (max-width: 1240px) {
  .hero__stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; row-gap: 14px; }
  .hstat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hstat:nth-child(even) { padding-left: 16px; }
}
@media (max-width: 900px) {
  /* Celular y tablet vertical: la foto va arriba (sin ampliarse de más) y el texto debajo, sobre el fondo oscuro */
  .hero { min-height: 100svh; }
  .hero__media { bottom: auto; height: 56svh; min-height: 300px; overflow: hidden; }
  .hero__shade { background: linear-gradient(180deg, rgba(16, 28, 33, .72) 0%, rgba(16, 28, 33, .3) 13%, rgba(16, 28, 33, 0) 26%, rgba(16, 28, 33, 0) 58%, var(--petrol-4) 100%); }
  .hero__inner { justify-content: flex-start; padding-top: max(calc(var(--hdr) + 150px), calc(56svh - 28px)); padding-bottom: 20px; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .hnav { width: 100%; }
  .hnav__t { display: none; }
  .oficio__head, .oficio__grid, .fin__grid, .wx__grid, .quote__grid, .faq__grid { grid-template-columns: 1fr; }
  .oficio__head { gap: 20px; }
  .ring { right: 12px; top: 12px; width: 92px; height: 92px; }
  .ring__mono { width: 32px; height: 29px; }
  .ocard { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .proc__pin { min-height: 0; }
  .proc__rail { display: none; }
  .proc__track { flex-direction: column; width: auto; padding-right: var(--gut); }
  .pstep, .pstep--end { width: 100%; }
  .pstep__art { aspect-ratio: 4 / 3.2; }
  .pcase { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .pcase__img { aspect-ratio: 16 / 10; }
  .faq__side { position: static; }
  .faq__a p { padding: 0 0 22px 54px; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .hero__cta .btn { width: 100%; }
  .hstat__ico { width: 42px; height: 42px; border-radius: 12px; }
  .hstat__ico svg { width: 26px; height: 26px; }
  .hstat__wheel { width: 26px; height: 26px; }
  .hstat b { font-size: 1.6rem; }
  .oattr__ico { width: 52px; height: 52px; border-radius: 14px; }
  .oattr__ico svg { width: 30px; height: 30px; }
  .logo { flex-basis: calc(50% - 1px); }
  .logo { min-height: 170px; padding: 40px 12px 18px; }
  .logo__what { display: none; }
  .qform { grid-template-columns: 1fr; }
  /* en celular, una sola línea arriba (temperatura y clima) para no tapar el escaño; "No se oxida" está en la lista de abajo */
  .wx__hud { left: 10px; top: 10px; min-width: 0; display: flex; align-items: baseline; gap: 10px; padding: 8px 14px; }
  .wx__temp b { font-size: 1.6rem; }
  .wx__label { font-size: .9rem; }
  .wx__ok { display: none; }
  .faq summary { grid-template-columns: 30px 1fr 34px; }
  .faq__a p { padding-left: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-pour] > img { visibility: visible; }
  .js .hero__eyebrow, .js .hero__lead, .js .hero__cta, .js .hnav, .js .hero__stats { opacity: 1; }
}
.no-gsap [data-pour] > img { visibility: visible; }
.no-gsap .hero__eyebrow, .no-gsap .hero__lead, .no-gsap .hero__cta, .no-gsap .hnav, .no-gsap .hero__stats { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   CELULAR · usabilidad (QA del 17-10-2026): texto de 14 px o más, toques de 44 px o más y nada tapado.
   Las etiquetas en mayúsculas espaciadas de las tarjetas de dos columnas quedan en 12-13 px para que la familia
   más larga ("Juego de terraza", "Pieza decorativa") quepa en una línea.
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Proceso: la cápsula del termómetro respira antes de la primera ilustración */
  .proc__track { margin-top: 28px; }
  /* el logo dorado se lee sobre el cielo claro de la foto del hero */
  .hdr[data-on="dark"]:not(.is-scrolled) .brand__logo { filter: drop-shadow(0 1px 1.5px rgba(10, 19, 23, .75)) drop-shadow(0 0 16px rgba(10, 19, 23, .6)); }
  .hstat > span:last-child { font-size: .875rem; }
  .fin__tname { font-size: .875rem; }
  /* Favoritos */
  .fcard__cat { font-size: .75rem; letter-spacing: .1em; }
  .fcard__price small { font-size: .75rem; letter-spacing: .14em; }
  .fcard__wa { min-height: 44px; font-size: .875rem; }
  /* Formulario */
  .field label, .field legend { font-size: .875rem; letter-spacing: .14em; }
  .qform__req { font-size: .875rem; }
  /* Pie */
  .foot__links { gap: 0; }
  .foot__links a, .foot__links span { min-height: 44px; }
  .foot__links a { min-width: 44px; }
  .foot__links a::after { bottom: 10px; }
  .foot__social a { width: 44px; height: 44px; }
  /* Catálogo */
  .chip { min-height: 44px; }
  .chip sup { font-size: 1em; vertical-align: baseline; margin-left: 5px; opacity: .6; }
  .pcard__cat { font-size: .8125rem; letter-spacing: .08em; }
  .pcard__wa { width: 44px; height: 44px; }
  /* 16 px: con menos, el iPhone hace zoom a la página al tocar el buscador o el selector */
  .cat-search input, .cat-sort { min-height: 44px; font-size: 16px; }
  .cat-search input { padding-right: .7em; }
  .cat-sort { padding-left: .85em; padding-right: .55em; }
  /* WhatsApp flotante: más chico y pegado a la esquina */
  .wa-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 52px; padding: 0 14px; }
}
@media (max-width: 560px) {
  /* colores en filas de 5 (con 9: 5 + 4, nunca uno solo en la segunda fila) y "9 acabados" en su propia línea, bajo los colores */
  .fcard__colors { display: grid; grid-template-columns: repeat(5, 14px); gap: 7px 7px; }
  .fcard__colors small { grid-column: 1 / -1; margin-left: 0; font-size: .875rem; }
  .pcard__dots { display: grid; grid-template-columns: repeat(5, max-content); gap: 6px; }
  /* Proceso: los moldes del plano (Helechos, Iris, Olimpo) más grandes, para leerse en el teléfono */
  .bp__chips { transform: scale(1.3); transform-origin: 22px 20px; }
}

/* ═══════════ PROYECTOS ═══════════ */
/* Portada: cada logo y cada caso llevan a la página de su proyecto (proyectos.html?p=<id>) */
.logos:empty { display: none; }
.logo--link { cursor: pointer; }
.logo__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.logo__link:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.logo__go { position: absolute; right: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .45s var(--ease); }
.logo__go svg { width: 14px; height: 14px; }
.logo--link:hover .logo__go, .logo__link:focus-visible ~ .logo__go { opacity: 1; transform: none; }
.pcase__img { display: block; }
.pcase h3 a { color: inherit; transition: color .3s; }
.pcase h3 a:hover { color: var(--gold-l); }
.pcase__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.2em; border-radius: 999px; border: 1px solid rgba(188, 174, 131, .6); font-weight: 600; font-size: .92rem; color: var(--ivory); transition: background-color .35s, color .35s, border-color .35s, gap .35s; }
.pcase__go small { font-weight: 400; font-size: .8rem; color: var(--gold-l); }
.pcase__go svg { width: 17px; height: 17px; color: var(--gold); }
.pcase__go:hover { gap: 14px; background: var(--gold); border-color: var(--gold); color: var(--petrol-4); }
.pcase__go:hover small, .pcase__go:hover svg { color: var(--petrol-4); }

/* Página: lista de proyectos */
.pj-list { background: var(--ivory); padding: 0 0 clamp(80px, 9vw, 130px); }
.pj-list--more { padding-top: clamp(70px, 8vw, 120px); background: var(--paper); }
.pj-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.pj-list--more .pj-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pj-card { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; background: var(--petrol-4); color: var(--ivory); box-shadow: 0 30px 60px -40px rgba(21, 35, 42, .7); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pj-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(21, 35, 42, .85); }
.pj-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pj-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pj-card:hover .pj-card__img img { transform: scale(1.05); }
.pj-card__n { position: absolute; left: 18px; top: 14px; font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px #fff3cf; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.pj-card__body { position: relative; display: grid; gap: 8px; padding: 22px 24px 20px; }
.pj-card__logo { position: absolute; right: 20px; top: -28px; display: grid; place-items: center; height: 56px; max-width: 170px; padding: 8px 14px; border-radius: 4px; background: var(--paper); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.pj-card__logo img { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.pj-card strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.12; padding-right: 150px; }
.pj-card__place { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); }
.pj-card__place svg { width: 15px; height: 15px; color: var(--gold); }
.pj-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: .86rem; color: rgba(246, 242, 233, .75); }
.pj-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); transition: gap .35s; }
.pj-card__go svg { width: 17px; height: 17px; }
.pj-card:hover .pj-card__go { gap: 13px; }
.pj-brands { margin-top: clamp(60px, 7vw, 100px); }
.pj-brands ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: 6px; overflow: hidden; }
.pj-brands li > * { display: grid; place-items: center; gap: 12px; height: 100%; min-height: 150px; padding: 26px 18px 18px; background: var(--paper); text-align: center; transition: background-color .35s; }
.pj-brands a:hover { background: #fff; }
.pj-brands img { max-width: 70%; max-height: 64px; width: auto; height: auto; }
.pj-brands span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }

/* Página de un proyecto */
.pj-hero { position: relative; display: flex; align-items: flex-end; min-height: min(92svh, 860px); padding: calc(var(--hdr) + 40px) 0 clamp(40px, 6vw, 80px); color: var(--ivory); background: var(--petrol-4); overflow: hidden; }
.pj-hero__img { position: absolute; inset: 0; margin: 0; }
.pj-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 22, 26, .72) 0%, rgba(12, 22, 26, .25) 26%, rgba(12, 22, 26, .5) 55%, rgba(12, 22, 26, .95) 100%), linear-gradient(90deg, rgba(12, 22, 26, .7), rgba(12, 22, 26, 0) 70%); }
.pj-hero__in { position: relative; display: grid; gap: 16px; }
.pj-hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1; }
.pj-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(246, 242, 233, .75); }
.pj-crumbs a { color: var(--ivory); border-bottom: 1px solid rgba(188, 174, 131, .5); }
.pj-crumbs a:hover { color: var(--gold-l); }
.pj-hero__place { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.pj-hero__place svg { width: 18px; height: 18px; color: var(--gold); }
.pj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-tags span { padding: .4em .9em; border-radius: 999px; border: 1px solid rgba(222, 211, 180, .45); background: rgba(12, 22, 26, .35); backdrop-filter: blur(6px); font-size: .82rem; color: var(--ivory); }
.pj-intro { background: var(--ivory); padding: clamp(70px, 8vw, 120px) 0; }
.pj-intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.pj-intro__txt { display: grid; gap: 18px; }
.pj-intro__txt p { max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; }
.pj-intro__txt .pj-lead { font-family: var(--f-display); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.35; color: var(--petrol); }
.pj-facts { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 20px; padding: clamp(22px, 2.6vw, 32px); border-radius: 6px; background: var(--paper); border: 1px solid var(--line-l); box-shadow: 0 30px 60px -45px rgba(21, 35, 42, .5); }
.pj-facts__logo { display: grid; place-items: center; min-height: 96px; padding: 14px; border-radius: 4px; background: #fff; border: 1px solid var(--line-l); }
.pj-facts__logo img { max-width: 80%; max-height: 72px; width: auto; height: auto; }
.pj-facts dl { margin: 0; display: grid; }
.pj-facts dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-l); }
.pj-facts dl div:first-child { border-top: 0; padding-top: 0; }
.pj-facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); padding-top: 3px; }
.pj-facts dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.pj-facts__allies { display: flex; flex-wrap: wrap; gap: 10px; }
.pj-facts__allies span { display: grid; place-items: center; height: 54px; padding: 8px 14px; border-radius: 4px; background: #fff; border: 1px solid var(--line-l); }
.pj-facts__allies img { max-height: 34px; max-width: 120px; width: auto; height: auto; }
.pj-facts .btn { justify-content: center; }
.pj-sec { margin-bottom: clamp(28px, 3.5vw, 48px); }
.pj-sec .display { margin-top: 12px; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.pj-sec--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pj-sec--row .link-arrow { margin-top: 0; }
.pj-gal { background: var(--paper); padding: clamp(70px, 8vw, 120px) 0; }
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 290px); grid-auto-flow: dense; gap: 12px; }
.pj-ph { position: relative; overflow: hidden; border-radius: 4px; background: var(--sand); cursor: zoom-in; }
.pj-ph:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.pj-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.pj-ph:hover img { transform: scale(1.05); filter: brightness(1.05); }
.pj-ph:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.pj-vids { background: var(--petrol-4); color: var(--ivory); padding: clamp(70px, 8vw, 120px) 0; }
.pj-vids__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.pj-vids__grid.is-one { grid-template-columns: minmax(0, 720px); justify-content: center; }
.pj-vid { border-radius: 6px; overflow: hidden; background: var(--petrol-3); box-shadow: 0 0 0 1px var(--line-d); }
.pj-vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.pj-vid--v { width: 100%; max-width: 400px; justify-self: center; }
.pj-vid--v iframe { aspect-ratio: 9 / 16; }
.pj-vid--ig { width: 100%; max-width: 420px; justify-self: center; background: #fff; }
.pj-vid--ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.pj-vid--ig blockquote > a { display: block; padding: 40px 20px; text-align: center; color: var(--petrol); font-weight: 600; }
.pj-piezas { background: var(--ivory); padding: clamp(70px, 8vw, 120px) 0; }
/* visor de fotos */
.pj-lb { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 16, 19, .96); color: var(--ivory); }
.pj-lb::backdrop { background: rgba(9, 16, 19, .9); }
.pj-lb[open] { display: grid; place-items: center; }
.pj-lb__fig { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 60px 70px 30px; }
.pj-lb__fig img { max-width: min(92vw, 1600px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.pj-lb figcaption { display: flex; gap: 14px; font-size: .86rem; color: rgba(246, 242, 233, .75); }
.pj-lb figcaption span { color: var(--gold); font-weight: 600; }
.pj-lb__x, .pj-lb__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(188, 174, 131, .5); color: var(--ivory); background: rgba(21, 35, 42, .6); transition: background-color .3s, color .3s; }
.pj-lb__x:hover, .pj-lb__nav:hover { background: var(--gold); color: var(--petrol-4); }
.pj-lb__x svg, .pj-lb__nav svg { width: 22px; height: 22px; }
.pj-lb__x { top: 18px; right: 18px; }
.pj-lb__nav { top: 50%; transform: translateY(-50%); }
.pj-lb__nav--prev { left: 18px; }
.pj-lb__nav--prev svg { transform: rotate(180deg); }
.pj-lb__nav--next { right: 18px; }
@media (max-width: 1000px) {
  .pj-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .pj-facts { position: static; }
  .pj-list--more .pj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pj-cards, .pj-list--more .pj-cards { grid-template-columns: minmax(0, 1fr); }
  .pj-card strong { padding-right: 0; margin-top: 18px; }
  .pj-card__logo { height: 48px; top: -24px; }
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .pj-ph:nth-child(5n + 1) { grid-column: span 2; grid-row: span 1; }
  .pj-hero { min-height: 82svh; }
  .pj-facts dl div { grid-template-columns: 96px 1fr; }
  .pj-lb__fig { padding: 70px 10px 90px; }
  .pj-lb__nav { top: auto; bottom: 18px; transform: none; }
  .pj-lb__nav--prev { left: calc(50% - 64px); }
  .pj-lb__nav--next { right: calc(50% - 64px); }
  .logo__go { opacity: 1; transform: none; right: 12px; bottom: 10px; font-size: .64rem; }
}

/* ─── Privacidad (privacidad.html) y sus enlaces en los formularios y el pie ─── */
.qform__hint a, .foot__legal { color: inherit; border-bottom: 1px solid currentColor; transition: color .3s; }
.qform__hint a:hover { color: var(--gold-d); }
.sr .qform__hint a:hover, .foot__legal:hover { color: var(--gold-l); }
.legal__fecha { margin-top: 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d) !important; }
.legal { padding: clamp(24px, 3vw, 40px) 0 clamp(90px, 11vw, 150px); background: var(--ivory); }
.legal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.legal__item { position: relative; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-l); border-radius: 22px; background: var(--paper); transition: border-color .4s var(--ease), transform .6s var(--ease); }
.legal__item:hover { border-color: rgba(188, 174, 131, .6); transform: translateY(-3px); }
.legal__n { display: block; font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--gold-d); }
.legal__item h2 { margin: 6px 0 14px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--petrol); }
.legal__item p, .legal__item li { color: var(--ink-2); line-height: 1.65; }
.legal__item p + p { margin-top: 12px; }
.legal__item ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; list-style: disc; }
.legal__item li::marker { color: var(--gold); }
.legal__item strong { color: var(--ink); font-weight: 500; }
.legal__contacto { list-style: none; padding-left: 0 !important; margin-top: 16px !important; }
.legal__contacto a { display: inline-flex; align-items: center; gap: 10px; color: var(--petrol); border-bottom: 1px solid var(--line-l); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.legal__contacto a:hover { color: var(--gold-d); border-color: var(--gold); }
.legal__contacto svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
}
