/* =====================================================================
   TRACKMAR 07 "Noche + Tienda" · noche.css
   Copia de 03-noche/styles.css encapsulada en .th-noche (el mundo oscuro).
   Los tokens viven en marco.css. Lo propio de esta variante va en marco.css.
   ===================================================================== */

/* grano de película, muy sutil */
.th-noche img { max-width: 100%; display: block; }
.th-noche a { color: inherit; text-decoration: none; }
.th-noche button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.th-noche :focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
.th-noche ::selection { background: var(--y); color: #000; }
.th-noche .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.th-noche .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.th-noche .skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--y); color: #000; padding: 10px 16px; font-weight: 600; }
.th-noche .skip:focus { top: 12px; }

/* ---------------------------------------------------------- tipografía */
.th-noche .display, .th-noche h1, .th-noche h2 { font-family: var(--f-display);
  font-weight: 760;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  letter-spacing: -.025em;
  line-height: .98;
  margin: 0;
  text-wrap: balance; }
.th-noche h1 { font-size: clamp(2.6rem, 7.4vw, 6.6rem); }
.th-noche h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
.th-noche h3 { font: 600 1.25rem/1.25 var(--f-body); margin: 0; letter-spacing: -.01em; }
.th-noche p { margin: 0; }
.th-noche .lead { font-size: clamp(1.06rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 46ch; line-height: 1.55; }
.th-noche .muted { color: var(--muted); }
.th-noche .y { color: var(--y); }
.th-noche .eyebrow { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.th-noche .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--y); box-shadow: 0 0 10px var(--y); }
.th-noche .mono { font-family: var(--f-mono); }

/* números enormes (specs, cifras) */
.th-noche .big { font-family: var(--f-display); font-weight: 250; font-stretch: 100%; font-variation-settings: "wdth" 100;
  letter-spacing: -.045em; line-height: .9; font-size: clamp(3rem, 8vw, 7.2rem);
  font-feature-settings: "tnum";
  white-space: nowrap; }
.th-noche .big small { font: 500 max(.22em, 12px)/1 var(--f-mono); letter-spacing: 0; color: var(--y); margin-left: .25em; vertical-align: .2em; }
.th-noche .big-lab { font: 500 12px/1.3 var(--f-mono); color: var(--muted); letter-spacing: .04em; margin-top: 12px; text-transform: uppercase; }

/* ---------------------------------------------------------- botones */
.th-noche .btn { --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: var(--r);
  font: 600 15px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease), border-color .25s; }
.th-noche .btn svg { width: 18px; height: 18px; flex: none; }
.th-noche .btn-y { background: var(--y); color: #000; box-shadow: 0 0 0 0 var(--y-35); }
.th-noche .btn-y:hover { box-shadow: 0 0 40px -4px var(--y-35); transform: translateY(-1px); }
.th-noche .btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.th-noche .btn-ghost:hover { border-color: var(--y); color: var(--y); }
.th-noche .btn-wa { background: var(--wa); color: #04210f; }
.th-noche .btn-wa:hover { box-shadow: 0 0 36px -6px rgba(37, 211, 102, .6); }
.th-noche .btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.th-noche .link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: color .2s, border-color .2s, gap .25s var(--ease); }
.th-noche .link-arrow:hover { color: var(--y); border-color: var(--y); gap: 12px; }

/* ---------------------------------------------------------- header */
.th-noche .hdr { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--head);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent; }
.th-noche .hdr.is-solid, .th-noche .hdr.is-open { background: rgba(11, 11, 12, .78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.th-noche .hdr .wrap { display: flex; align-items: center; gap: 28px; max-width: 1480px; }
.th-noche .hdr-logo img { height: 40px; width: auto; }
.th-noche .nav { display: flex; gap: 4px; margin-left: auto; }
.th-noche .nav a { position: relative; padding: 10px 12px; font-size: 14.5px; color: #d7d4cd; border-radius: 3px; transition: color .2s; }
.th-noche .nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); box-shadow: 0 0 8px var(--y); }
.th-noche .nav a:hover { color: #fff; }
.th-noche .nav a:hover::after, .th-noche .nav a[aria-current="page"]::after { transform: scaleX(1); }
.th-noche .nav a[aria-current="page"] { color: #fff; }
.th-noche .hdr-tel { font: 500 13.5px/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.th-noche .hdr-tel:hover { color: var(--y); }
.th-noche .burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.th-noche .burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.th-noche .burger span:nth-child(1) { top: 17px; }
.th-noche .burger span:nth-child(2) { top: 26px; }
.th-noche .hdr.is-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.th-noche .hdr.is-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.th-noche .mnav { position: fixed; inset: var(--head) 0 0; z-index: 89; background: rgba(11, 11, 12, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 20px var(--gut) 40px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.th-noche .mnav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.th-noche .mnav a.mnav-l { font-family: var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 700; font-size: 30px; letter-spacing: -.02em;
  padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.th-noche .mnav a.mnav-l span { font: 500 12px var(--f-mono); color: var(--dim); }
.th-noche .mnav a.mnav-l[aria-current="page"] { color: var(--y); }
.th-noche .mnav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.th-noche .mnav-foot .btn { width: 100%; }
@media (max-width: 1180px) {
  .th-noche .hdr-tel { display: none; }
}
@media (max-width: 1020px) {
  .th-noche .nav, .th-noche .hdr .hdr-cta { display: none; }
  .th-noche .burger { display: block; }
}
@media (max-width: 520px) {
  .th-noche .hdr-logo img { height: 28px; }
}

/* ---------------------------------------------------------- WhatsApp flotante */

/* ---------------------------------------------------------- secciones */
.th-noche .sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.th-noche .sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.th-noche .sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.th-noche .sec-head h2 { max-width: 15ch; }
.th-noche .sec-head .lead { grid-column: 1 / -1; }
.th-noche .sec-head > .eyebrow { grid-column: 1 / -1; margin-bottom: -4px; }
@media (max-width: 760px) {
  .th-noche .sec-head { grid-template-columns: 1fr; }
}
.th-noche .hr { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); border: 0; margin: 0; }
.th-noche .glowline { height: 1px; background: linear-gradient(90deg, transparent, var(--y) 50%, transparent); opacity: .55; box-shadow: 0 0 18px var(--y); }

/* ---------------------------------------------------------- revelados */
.motion .th-noche .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion .th-noche .rv.in { opacity: 1; transform: none; }
.motion .th-noche .rv-fade { opacity: 0; transition: opacity 1.4s var(--ease); transition-delay: var(--d, 0s); }
.motion .th-noche .rv-fade.in { opacity: 1; }

/* ---------------------------------------------------------- HERO (home) */
.th-noche .hero { position: relative; min-height: min(100vh, 980px); display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--head); overflow: hidden; isolation: isolate; }
.th-noche .hero-bg { position: absolute; inset: 0; z-index: -2; }
.th-noche .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; filter: grayscale(.6) contrast(1.1) brightness(.8); transform: scale(1.08); }
.th-noche .hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 50% 62%, rgba(254, 229, 5, .10), transparent 70%),
  linear-gradient(180deg, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .35) 40%, rgba(11, 11, 12, .9) 82%, var(--bg) 100%); }
.th-noche .hero-word { position: absolute; z-index: -1; left: 50%; top: 52%; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: clamp(5rem, 22vw, 22rem); letter-spacing: -.05em; line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 250, 235, .07);
  user-select: none; pointer-events: none; }
.th-noche .hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr); align-items: center; gap: 24px; padding-top: clamp(24px, 4vw, 48px); padding-bottom: 32px; }
.th-noche .hero-copy { position: relative; z-index: 2; }
.th-noche .hero-copy h1 { margin: 20px 0 24px; font-size: clamp(2.7rem, 5.6vw, 5.4rem); }
.th-noche .hero-copy h1 em { font-style: normal; color: var(--y); text-shadow: 0 0 60px rgba(254, 229, 5, .35); }
.th-noche .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.th-noche .hero-stage { position: relative; aspect-ratio: 1 / .8; margin-right: calc(var(--gut) * -1); }
.th-noche .hero-stage .machine { position: absolute; inset: 0 0 11%; width: 100%; height: 89%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)) brightness(1.04) contrast(1.05); z-index: 2; }
.th-noche .hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.th-noche .hero-specs { display: flex; gap: clamp(24px, 5vw, 72px); }
.th-noche .hero-specs .big { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.th-noche .hero-specs .big-lab { margin-top: 8px; }
.th-noche .hero-model { text-align: right; font-size: 14px; color: var(--muted); }
.th-noche .hero-model b { display: block; color: var(--text); font-weight: 600; font-size: 15px; }
.th-noche .scroll-cue { font: 500 11px var(--f-mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.th-noche .scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--y), transparent); display: block; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .th-noche .scroll-cue i { animation: none; }
}

/* escenario con luz: piso iluminado bajo la máquina */
.th-noche .spot { position: absolute; inset: 0; pointer-events: none; }
.th-noche .spot::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 8%; height: 22%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(254, 229, 5, .22), rgba(254, 229, 5, .05) 45%, transparent 70%); filter: blur(10px); }
.th-noche .spot::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254, 229, 5, .8) 50%, transparent); box-shadow: 0 0 22px 2px rgba(254, 229, 5, .35); opacity: .7; }
.th-noche .spot .cone { position: absolute; left: 50%; top: -30%; width: 70%; height: 130%; transform: translateX(-50%);
  background: radial-gradient(40% 60% at 50% 70%, rgba(255, 250, 230, .09), transparent 70%); }
@media (max-width: 900px) {
  .th-noche .hero-in { grid-template-columns: 1fr; padding-top: 28px; }
  .th-noche .hero-stage { order: -1; margin: 0 -8% -10px; aspect-ratio: 16 / 10; }
  .th-noche .hero-meta { flex-direction: column; align-items: flex-start; }
  .th-noche .hero-model { text-align: left; }
  .th-noche .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .th-noche .hero-ctas .btn { flex: 1 1 100%; }
  .th-noche .hero-specs { gap: 22px; }
  .th-noche .hero-specs .big { font-size: 2.1rem; }
}

/* ---------------------------------------------------------- cifras */
.th-noche .cifras { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.th-noche .cifra { padding: 40px 28px 44px 0; border-bottom: 1px solid var(--line); position: relative; }
.th-noche .cifra:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.th-noche .cifra .big { font-size: clamp(3rem, 6.4vw, 6rem); }
.th-noche .cifra p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 30ch; }
.th-noche .cifra .big-lab { color: var(--text); font-size: 13px; }
@media (max-width: 860px) {
  .th-noche .cifras { grid-template-columns: 1fr 1fr; }
  .th-noche .cifra, .th-noche .cifra:not(:nth-child(3n+1)) { padding: 28px 16px 30px 0; border-left: 0; }
  .th-noche .cifra:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .th-noche .cifra .big { font-size: clamp(2rem, 8.6vw, 3.4rem); }
}

/* ---------------------------------------------------------- selector "elegí tu máquina" */
.th-noche .picker { background: radial-gradient(70% 60% at 50% 40%, #17160f 0%, var(--bg) 70%); overflow: hidden; }
.th-noche .pk-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.th-noche .pk-tab { padding: 10px 16px; border-radius: 40px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s; display: inline-flex; gap: 8px; align-items: center; }
.th-noche .pk-tab sup { font: 500 10.5px var(--f-mono); color: var(--dim); top: 0; }
.th-noche .pk-tab:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.th-noche .pk-tab[aria-selected="true"] { background: var(--y); color: #000; border-color: var(--y); }
.th-noche .pk-tab[aria-selected="true"] sup { color: rgba(0, 0, 0, .55); }
.th-noche .pk-stage { position: relative; height: clamp(300px, 46vw, 600px); margin-top: 10px; }
.th-noche .pk-stage img.machine { position: absolute; left: 50%; bottom: 14%; height: 82%; width: auto; max-width: 92%; object-fit: contain; transform: translateX(-50%);
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .8)); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.th-noche .pk-stage img.machine.out { opacity: 0; transform: translateX(-46%) scale(.97); }
.th-noche .pk-name { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-size: clamp(3rem, 12vw, 11rem); letter-spacing: -.05em; line-height: 1; color: rgba(255, 250, 235, .045); white-space: nowrap; pointer-events: none; overflow: hidden; text-overflow: clip; }
.th-noche .pk-info { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 32px; align-items: end; border-top: 1px solid var(--line); padding-top: 28px; }
.th-noche .pk-info h3 { font: 700 clamp(1.3rem, 2vw, 1.75rem)/1.15 var(--f-display); font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.th-noche .pk-info .pk-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.th-noche .pk-specs { display: flex; gap: clamp(20px, 4vw, 56px); }
.th-noche .pk-specs .big { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.th-noche .pk-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 980px) {
  .th-noche .pk-info { grid-template-columns: 1fr; gap: 20px; }
  .th-noche .pk-ctas { justify-content: flex-start; }
  .th-noche .pk-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 calc(var(--gut) * -1) 12px; padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .th-noche .pk-tabs::-webkit-scrollbar { display: none; }
  .th-noche .pk-tab { flex: none; }
}
@media (max-width: 520px) {
  .th-noche .pk-specs .big { font-size: 1.9rem; }
  .th-noche .pk-specs { gap: 18px; }
  .th-noche .pk-ctas .btn { flex: 1; }
}

/* ---------------------------------------------------------- servicios (qué hacemos) */
.th-noche .svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.th-noche .svc { position: relative; grid-column: span 2; min-height: 460px; border-radius: var(--r); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); }
.th-noche .svc.wide { grid-column: span 3; min-height: 540px; }
.th-noche .svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .6s; filter: brightness(.62) saturate(.85); }
.th-noche .svc.cut img { object-fit: contain; inset: 6% 6% 34%; width: 88%; height: 60%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .7)); }
.th-noche .svc.cut::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 45% at 50% 48%, rgba(254, 229, 5, .12), transparent 70%); }
.th-noche .svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(11, 11, 12, .92) 88%); }
.th-noche .svc:hover img { transform: scale(1.04); filter: brightness(.75) saturate(1); }
.th-noche .svc.cut:hover img { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .7)) brightness(1.06); }
.th-noche .svc .n { font: 500 12px var(--f-mono); color: var(--y); margin-bottom: auto; }
.th-noche .svc h3 { font: 720 clamp(1.5rem, 2.4vw, 2.1rem)/1.05 var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.02em; margin-bottom: 12px; max-width: 14ch; }
.th-noche .svc p { color: #cfcbc2; font-size: 15px; max-width: 42ch; }
.th-noche .svc .link-arrow { margin-top: 20px; align-self: flex-start; }
.th-noche .svc-extra { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.th-noche .svc-mini { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--bg-1); }
.th-noche .svc-mini h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.th-noche .svc-mini h3::before { content: ""; width: 7px; height: 7px; background: var(--y); border-radius: 50%; box-shadow: 0 0 10px var(--y); }
.th-noche .svc-mini p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 980px) {
  .th-noche .svc-grid { grid-template-columns: 1fr 1fr; }
  .th-noche .svc, .th-noche .svc.wide { grid-column: span 1; min-height: 420px; }
  .th-noche .svc.wide:first-child { grid-column: 1 / -1; }
  .th-noche .svc-extra { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .th-noche .svc-grid { grid-template-columns: 1fr; }
  .th-noche .svc, .th-noche .svc.wide { grid-column: 1 / -1; min-height: 380px; }
  .th-noche .svc.cut, .th-noche .svc.wide.cut { min-height: 560px; }
  .th-noche .svc.cut img { inset: 8% 8% auto; height: 42%; }
}

/* ---------------------------------------------------------- tarjeta de máquina */
.th-noche .mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.th-noche .mgrid.feat3 { grid-template-columns: repeat(3, 1fr); }
.th-noche .mgrid.feat3 .mcard-media { aspect-ratio: 1 / .82; }
.th-noche .mgrid.feat3 .mcard h3 { font-size: 1.3rem; }
@media (max-width: 900px) {
  .th-noche .mgrid.feat3 { grid-template-columns: 1fr; }
  .th-noche .mgrid.feat3 .mcard-media { aspect-ratio: 4 / 3; }
}
.th-noche .mcard { position: relative; display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.th-noche .mcard:hover { border-color: rgba(254, 229, 5, .35); background: var(--bg-2); }
.th-noche .mcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(70% 60% at 50% 62%, #1d1c18 0%, #0e0e0e 75%); }
.th-noche .mcard-media::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 13%; height: 1px; background: linear-gradient(90deg, transparent, rgba(254, 229, 5, .55), transparent); box-shadow: 0 0 14px rgba(254, 229, 5, .35); opacity: .0; transition: opacity .4s; }
.th-noche .mcard-media.is-cut::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 26%; background: radial-gradient(50% 50% at 50% 50%, rgba(254, 229, 5, .14), transparent 70%); transition: opacity .4s; opacity: .6; }
.th-noche .mcard:hover .mcard-media::after, .th-noche .mcard:hover .mcard-media.is-cut::before { opacity: 1; }
.th-noche .mcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.th-noche .mcard-media.is-cut img { inset: 10% 8% 14%; width: 84%; height: 76%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .75)); }
.th-noche .mcard-media.is-plate { background: radial-gradient(80% 70% at 50% 45%, #f4f2ec 0%, #cdc9c0 100%); }
.th-noche .mcard-media.is-plate img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.th-noche .mcard:hover .mcard-media img { transform: scale(1.045); }
.th-noche .mcard-tag { position: absolute; left: 14px; top: 14px; z-index: 2; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 9px; border-radius: 2px; background: rgba(11, 11, 12, .72); color: var(--text); backdrop-filter: blur(6px); border: 1px solid var(--line-2); }
.th-noche .mcard-tag.usada { background: var(--y); color: #000; border-color: var(--y); }
.th-noche .mcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.th-noche .mcard-brand { font: 500 11.5px var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.th-noche .mcard h3 { font: 650 1.12rem/1.25 var(--f-body); letter-spacing: -.01em; }
.th-noche .mcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.th-noche .mcard-specs { display: flex; gap: 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.th-noche .mcard-specs div { font: 300 1.5rem/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.th-noche .mcard-specs small { font: 500 10.5px var(--f-mono); color: var(--y); margin-left: 3px; letter-spacing: 0; }
.th-noche .mcard-specs > div { min-width: 0; }
.th-noche .mcard-specs span { display: block; white-space: normal; font: 500 10px/1.2 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.th-noche .mcard-price { font: 600 1.4rem/1 var(--f-display); font-stretch: 105%; font-variation-settings: "wdth" 105; color: var(--y); letter-spacing: -.01em; }
.th-noche .mcard-price small { font: 500 12px var(--f-body); color: var(--muted); letter-spacing: 0; }
.th-noche .mcard-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 12.5px var(--f-mono); color: var(--muted); }
.th-noche .mcard-facts b { color: var(--text); font-weight: 500; }

/* rail horizontal */
.th-noche .rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.th-noche .rail > * { scroll-snap-align: start; }
@media (max-width: 520px) {
  .th-noche .rail { grid-auto-columns: 82%; }
  .th-noche .mgrid:not(.feat3) .mcard-media { aspect-ratio: 16 / 11; }
}

/* ---------------------------------------------------------- marcas */
.th-noche .brands { border-top: 1px solid var(--line); }
.th-noche .brand-row { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1.7fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .4s var(--ease); }
.th-noche .brand-row::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: linear-gradient(90deg, transparent, var(--y-08), transparent); opacity: 0; transition: opacity .4s; z-index: -1; }
.th-noche .brand-row:hover::before { opacity: 1; }
.th-noche .brand-name { font: 850 clamp(2rem, 4.4vw, 3.9rem)/1 var(--f-display); font-stretch: 122%; font-variation-settings: "wdth" 122; letter-spacing: -.035em; transition: color .3s; }
.th-noche .brand-row:hover .brand-name { color: var(--y); text-shadow: 0 0 40px rgba(254, 229, 5, .25); }
.th-noche .brand-meta { font: 500 12.5px/1.6 var(--f-mono); color: var(--muted); }
.th-noche .brand-meta b { color: var(--text); font-weight: 500; display: block; }
.th-noche .brand-desc { color: var(--muted); font-size: 15px; }
.th-noche .brand-count { font: 500 13px var(--f-mono); color: var(--text); white-space: nowrap; }
@media (max-width: 860px) {
  .th-noche .brand-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 0; }
  .th-noche .brand-desc { grid-column: 1 / -1; }
  .th-noche .brand-meta { grid-row: 2; }
  .th-noche .brand-count { grid-row: 1; grid-column: 2; align-self: center; }
}

/* ---------------------------------------------------------- video institucional */
.th-noche .video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.th-noche .video img, .th-noche .video video, .th-noche .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.th-noche .video img { filter: brightness(.6); transition: filter .5s, transform 1.4s var(--ease); }
.th-noche .video:hover img { filter: brightness(.75); transform: scale(1.02); }
.th-noche .video-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.th-noche .video-play span { width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: #000;
  box-shadow: 0 0 0 12px rgba(254, 229, 5, .14), 0 0 80px rgba(254, 229, 5, .4); transition: transform .35s var(--ease), box-shadow .35s; }
.th-noche .video-play span svg { width: 32%; height: 32%; margin-left: 6%; }
.th-noche .video-play:hover span { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(254, 229, 5, .12), 0 0 100px rgba(254, 229, 5, .5); }
.th-noche .video-cap { position: absolute; left: 24px; bottom: 20px; z-index: 2; font: 500 12.5px var(--f-mono); color: #ddd; display: flex; gap: 16px; pointer-events: none; }

/* ---------------------------------------------------------- mapa sucursales */
.th-noche .map-wrap { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.th-noche .map-svg { width: 100%; height: auto; overflow: visible; }
.th-noche .map-svg .land { fill: rgba(255, 250, 235, .025); stroke: rgba(255, 250, 235, .22); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.th-noche .map-svg .grid line { stroke: rgba(255, 250, 235, .05); stroke-width: 1; vector-effect: non-scaling-stroke; }
.th-noche .map-svg .dot { cursor: pointer; }
.th-noche .map-svg .dot circle.c { fill: var(--y); }
.th-noche .map-svg .dot circle.h { fill: rgba(254, 229, 5, .18); transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease); }
.th-noche .map-svg .dot text { font: 500 11px var(--f-mono); fill: var(--muted); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; transition: fill .2s; }
.th-noche .map-svg .dot:hover text, .th-noche .map-svg .dot.on text { fill: var(--text); }
.th-noche .map-svg .dot:hover circle.h, .th-noche .map-svg .dot.on circle.h { transform: scale(1.8); }
.th-noche .map-svg .dot.dim { opacity: .25; }
.motion .th-noche .map-svg .dot circle.h { animation: pulse 3.2s var(--ease) infinite; animation-delay: var(--pd, 0s); }
@keyframes pulse { 0%, 100% { opacity: .9; } 50% { opacity: .3; } }
@media (max-width: 860px) {
  .th-noche .map-wrap { grid-template-columns: 1fr; }
  .th-noche .map-box { max-width: 300px; margin: 0 auto; width: 100%; position: static !important; }
}
.th-noche .suc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.th-noche .suc-li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.th-noche .suc-li h3 { font-size: 1.05rem; }
.th-noche .suc-li p { color: var(--muted); font-size: 14px; }
.th-noche .suc-li .tel { font: 500 13.5px var(--f-mono); color: var(--text); white-space: nowrap; }
.th-noche .suc-li .tel:hover { color: var(--y); }
.th-noche .prov-group { margin-bottom: 8px; }
.th-noche .prov-group > h3 { font: 500 12px var(--f-mono); color: var(--y); letter-spacing: .08em; text-transform: uppercase; padding: 22px 0 6px; }

/* tarjeta de sucursal (página) */
.th-noche .sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.th-noche .scard { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; scroll-margin-top: 100px; }
.th-noche .scard.on { border-color: var(--y); box-shadow: 0 0 0 1px var(--y), 0 0 60px -20px var(--y-35); }
.th-noche .scard-img { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #111; }
.th-noche .scard-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.7); transition: filter .6s, transform 1.2s var(--ease); }
.th-noche .scard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 12, .85)); mix-blend-mode: normal; }
.th-noche .scard:hover .scard-img img, .th-noche .scard.on .scard-img img { filter: grayscale(0) contrast(1.05) brightness(.85); transform: scale(1.03); }
.th-noche .scard-img .prov { position: absolute; left: 18px; bottom: 14px; z-index: 2; font: 500 11.5px var(--f-mono); color: var(--y); letter-spacing: .06em; text-transform: uppercase; }
.th-noche .scard-b { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.th-noche .scard h3 { font: 720 1.45rem/1.1 var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.02em; }
.th-noche .scard .addr { color: var(--muted); font-size: 14.5px; }
.th-noche .scard .tels { display: grid; gap: 8px; margin-top: auto; }
.th-noche .tel-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 14px var(--f-mono); transition: border-color .2s, color .2s, background .2s; }
.th-noche .tel-btn svg { width: 16px; height: 16px; flex: none; color: var(--y); }
.th-noche .tel-btn.wa svg { color: var(--wa); }
.th-noche .tel-btn:hover { border-color: var(--y); color: var(--y); }
.th-noche .tel-btn .vf { margin-left: auto; font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.th-noche .scard .links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.th-noche .scard .links a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.th-noche .scard .links a:hover { color: var(--y); border-color: var(--y); }
.th-noche .chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.th-noche .chip { padding: 8px 14px; border-radius: 40px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); transition: .2s; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.th-noche .chip sup { font: 500 10px var(--f-mono); color: var(--dim); top: 0; }
.th-noche .chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.th-noche .chip[aria-pressed="true"] { background: var(--text); color: #000; border-color: var(--text); }
.th-noche .chip[aria-pressed="true"] sup { color: rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------- clientes */
.th-noche .logos { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.th-noche .logos li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 30px 26px; aspect-ratio: 2 / 1; position: relative; }
.th-noche .logos img { max-height: 54px; width: auto; max-width: 100%; opacity: .55; transition: opacity .35s, filter .35s; }
.th-noche .logos li:hover img { opacity: 1; filter: drop-shadow(0 0 18px rgba(254, 229, 5, .35)); }
.th-noche .logos { padding: 0; margin: 0; }
@media (max-width: 860px) {
  .th-noche .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .th-noche .logos { grid-template-columns: repeat(2, 1fr); }
  .th-noche .logos li { padding: 18px; }
  .th-noche .logos img { max-height: 40px; }
}

/* testimonios (facade YouTube) */
.th-noche .testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.th-noche .testi-c { display: flex; flex-direction: column; gap: 14px; }
.th-noche .testi-c .video { aspect-ratio: 16 / 10; }
.th-noche .testi-c .video-play span { width: 64px; }
.th-noche .testi-c b { display: block; font-weight: 600; }
.th-noche .testi-c small { color: var(--muted); font: 500 12.5px var(--f-mono); }
@media (max-width: 860px) {
  .th-noche .testi { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- historia (home resumida) */
.th-noche .tl-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.th-noche .tl-s { padding: 26px 22px 10px 0; position: relative; }
.th-noche .tl-s::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--y); box-shadow: 0 0 12px var(--y); }
.th-noche .tl-s .yr { font: 250 clamp(2rem, 3.4vw, 3.2rem)/1 var(--f-display); letter-spacing: -.04em; }
.th-noche .tl-s h3 { font-size: 1rem; margin: 12px 0 6px; }
.th-noche .tl-s p { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) {
  .th-noche .tl-strip { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}
@media (max-width: 560px) {
  .th-noche .tl-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------- cotizador */
.th-noche .quote { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.th-noche .quote::before { content: ""; position: absolute; left: 50%; top: -30%; width: 120%; height: 90%; transform: translateX(-50%); background: radial-gradient(45% 55% at 50% 50%, rgba(254, 229, 5, .10), transparent 70%); pointer-events: none; }
.th-noche .quote-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; position: relative; }
.th-noche .quote h2 { margin: 18px 0 20px; font-size: clamp(2rem, 3.8vw, 3.4rem); }
.th-noche .quote-alt { margin-top: 36px; display: grid; gap: 12px; }
.th-noche .quote-alt a { display: flex; align-items: baseline; gap: 14px; font: 500 15px var(--f-mono); }
.th-noche .quote-alt a span { font: 500 11px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; min-width: 110px; }
.th-noche .quote-alt a:hover { color: var(--y); }
.th-noche .form { display: grid; gap: 14px; background: rgba(21, 21, 20, .7); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(8px); }
.th-noche .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.th-noche .fld { display: grid; gap: 7px; }
.th-noche .fld label { font: 500 11.5px var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.th-noche .fld input, .th-noche .fld textarea, .th-noche .fld select { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text);
  font: 400 16px/1.4 var(--f-body); padding: 14px 15px; transition: border-color .2s, box-shadow .2s; appearance: none; }
.th-noche .fld textarea { min-height: 104px; resize: vertical; }
.th-noche .fld input:focus, .th-noche .fld textarea:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 3px rgba(254, 229, 5, .14); }
.th-noche .fld input::placeholder, .th-noche .fld textarea::placeholder { color: #57544e; }
.th-noche .form .btn { width: 100%; --bh: 56px; font-size: 16px; }
.th-noche .form-note { font-size: 13px; color: var(--dim); text-align: center; }
@media (max-width: 900px) {
  .th-noche .quote-in { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .th-noche .form .row2 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- footer */
.th-noche .ftr { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--bg-1); position: relative; }
.th-noche .ftr::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--y), transparent); opacity: .5; }
.th-noche .ftr-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.th-noche .ftr-logo img { height: 46px; width: auto; }
.th-noche .ftr-lema { font: 720 1.45rem/1.1 var(--f-display); font-stretch: 115%; font-variation-settings: "wdth" 115; letter-spacing: -.02em; margin-top: 24px; max-width: 14ch; }
.th-noche .ftr h4 { font: 500 11.5px var(--f-mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.th-noche .ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.th-noche .ftr li a, .th-noche .ftr li { font-size: 14.5px; color: #c9c5bc; }
.th-noche .ftr li a:hover { color: var(--y); }
.th-noche .ftr .mono { font-size: 13.5px; }
.th-noche .ftr-suc { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.th-noche .ftr-suc a:hover { color: var(--y); }
.th-noche .ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--dim); }
.th-noche .ftr-bot .iso { color: var(--muted); }
@media (max-width: 980px) {
  .th-noche .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .th-noche .ftr-top { grid-template-columns: 1fr; gap: 32px; }
  .th-noche .ftr { padding-bottom: 100px; }
}

/* ---------------------------------------------------------- cabecera de páginas internas */
.th-noche .phero { position: relative; padding: calc(var(--head) + clamp(56px, 9vw, 130px)) 0 clamp(48px, 6vw, 90px); overflow: hidden; isolation: isolate; }
.th-noche .phero-bg { position: absolute; inset: 0; z-index: -1; }
.th-noche .phero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); opacity: .35; filter: grayscale(.4) contrast(1.05); }
.th-noche .phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 12, .7) 45%, rgba(11, 11, 12, .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
.th-noche .phero h1 { margin: 22px 0 24px; max-width: 13ch; }
.th-noche .phero .lead { max-width: 52ch; }
.th-noche .phero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.th-noche .crumbs { font: 500 12px var(--f-mono); color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; }
.th-noche .crumbs a:hover { color: var(--y); }
.th-noche .crumbs span[aria-hidden] { color: #3d3b37; }
@media (max-width: 520px) {
  .th-noche .phero-ctas .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------- catálogo */
.th-noche .cat-bar { position: sticky; top: var(--head); z-index: 40; background: rgba(11, 11, 12, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.th-noche .cat-bar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.th-noche .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 40px; padding: 3px; }
.th-noche .seg button { padding: 8px 16px; border-radius: 40px; font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: .2s; }
.th-noche .seg button sup { font: 500 10px var(--f-mono); color: var(--dim); top: 0; }
.th-noche .seg button[aria-pressed="true"] { background: var(--y); color: #000; }
.th-noche .seg button[aria-pressed="true"] sup { color: rgba(0, 0, 0, .55); }
.th-noche .search { position: relative; flex: 1; min-width: 200px; max-width: 360px; margin-left: auto; }
.th-noche .search input { width: 100%; height: 42px; border-radius: 40px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 15px var(--f-body); padding: 0 16px 0 40px; }
.th-noche .search input:focus { outline: none; border-color: var(--y); }
.th-noche .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dim); }
.th-noche .filters-btn { display: none; }
.th-noche .cat-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding-top: 36px; }
.th-noche .cat-side { position: sticky; top: calc(var(--head) + 90px); align-self: start; display: grid; gap: 30px; max-height: calc(100vh - var(--head) - 110px); overflow-y: auto; scrollbar-width: none; }
.th-noche .fgroup h3 { font: 500 11.5px var(--f-mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.th-noche .fopts { display: grid; gap: 2px; }
.th-noche .fopt { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 3px; font-size: 14.5px; color: #c9c5bc; text-align: left; width: 100%; transition: background .2s, color .2s; }
.th-noche .fopt sup { font: 500 11px var(--f-mono); color: var(--dim); top: 0; }
.th-noche .fopt:hover { background: var(--bg-2); color: var(--text); }
.th-noche .fopt[aria-pressed="true"] { background: var(--y-08); color: var(--y); box-shadow: inset 2px 0 0 var(--y); }
.th-noche .fopt[aria-pressed="true"] sup { color: var(--y); }
.th-noche .cat-count { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font: 500 13px var(--f-mono); color: var(--muted); flex-wrap: wrap; }
.th-noche .cat-count b { color: var(--text); font-weight: 500; }
.th-noche .clear-btn { color: var(--y); font: 500 13px var(--f-mono); }
.th-noche .empty { padding: 80px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
.th-noche .empty h3 { color: var(--text); margin-bottom: 8px; }
@media (max-width: 900px) {
  .th-noche .cat-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .th-noche .cat-side { display: none; position: static; max-height: none; }
  .th-noche .cat-side.is-open { display: grid; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
  .th-noche .cat-side .fopts { display: flex; flex-wrap: wrap; gap: 6px; }
  .th-noche .cat-side .fopt { width: auto; border: 1px solid var(--line-2); border-radius: 40px; padding: 7px 13px; font-size: 13.5px; }
  .th-noche .cat-side .fopt[aria-pressed="true"] { box-shadow: none; border-color: var(--y); }
  .th-noche .filters-btn { display: inline-flex; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 40px; align-items: center; gap: 8px; font-size: 14px; }
  .th-noche .filters-btn b { background: var(--y); color: #000; font: 600 11px/1 var(--f-mono); padding: 3px 6px; border-radius: 20px; }
  .th-noche .search { max-width: none; order: 3; flex-basis: 100%; }
}

/* ---------------------------------------------------------- ficha */
.th-noche .ficha-top { padding-top: calc(var(--head) + 28px); position: relative; }
.th-noche .ficha-grid > *, .th-noche .ficha-desc > *, .th-noche .split > *, .th-noche .map-wrap > *, .th-noche .quote-in > *, .th-noche .cat-layout > * { min-width: 0; }
.th-noche .ficha-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.th-noche .gal-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: radial-gradient(70% 60% at 50% 60%, #1e1d18 0%, #0c0c0c 80%); border: 1px solid var(--line); }
.th-noche .gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.th-noche .gal-main.is-cut img { inset: 8% 6% 14%; width: 88%; height: 78%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .8)); }
.th-noche .gal-main.is-plate { background: radial-gradient(80% 70% at 50% 45%, #f4f2ec 0%, #cdc9c0 100%); }
.th-noche .gal-main.is-plate img { mix-blend-mode: multiply; padding: 5%; }
.th-noche .gal-main.is-photo img { object-fit: cover; }
.th-noche .gal-main .spot { opacity: 0; transition: opacity .4s; }
.th-noche .gal-main.is-cut .spot { opacity: 1; }
.th-noche .gal-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 11, 12, .7); border: 1px solid var(--line-2); display: grid; place-items: center; transform: translateY(-50%); }
.th-noche .gal-nav:hover { border-color: var(--y); color: var(--y); }
.th-noche .gal-nav.p { left: 12px; }
.th-noche .gal-nav.n { right: 12px; }
.th-noche .gal-count { position: absolute; right: 14px; bottom: 12px; z-index: 3; font: 500 12px var(--f-mono); color: var(--muted); background: rgba(11, 11, 12, .7); padding: 5px 8px; border-radius: 2px; }
.th-noche .gal-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.th-noche .gal-thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; border: 1px solid var(--line-2); background: #151514; opacity: .6; transition: opacity .2s, border-color .2s; }
.th-noche .gal-thumbs button.on { opacity: 1; border-color: var(--y); }
.th-noche .gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.th-noche .ficha-side { position: sticky; top: calc(var(--head) + 24px); display: grid; gap: 22px; }
.th-noche .ficha-side h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.th-noche .ficha-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.th-noche .badge { font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 9px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--muted); }
.th-noche .badge.y { background: var(--y); color: #000; border-color: var(--y); }
.th-noche .ficha-price { font: 650 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); font-stretch: 108%; font-variation-settings: "wdth" 108; color: var(--y); letter-spacing: -.02em; text-shadow: 0 0 40px rgba(254, 229, 5, .25); }
.th-noche .ficha-price small { display: block; font: 500 12px var(--f-mono); color: var(--muted); margin-top: 8px; letter-spacing: 0; text-shadow: none; }
.th-noche .ficha-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.th-noche .ficha-facts div { padding: 14px 12px 14px 0; }
.th-noche .ficha-facts div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.th-noche .ficha-facts b { display: block; font: 300 1.6rem/1 var(--f-display); letter-spacing: -.03em; }
.th-noche .ficha-facts span { font: 500 10.5px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.th-noche .ficha-actions { display: grid; gap: 10px; }
.th-noche .ficha-actions .btn { width: 100%; --bh: 56px; }
.th-noche .ficha-mini { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.th-noche .ficha-mini a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.th-noche .ficha-mini a:hover { color: var(--y); border-color: var(--y); }
.th-noche .keyspecs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.th-noche .keyspecs > div { padding: 40px 24px 40px 0; }
.th-noche .keyspecs > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .th-noche .keyspecs { grid-template-columns: 1fr; }
  .th-noche .keyspecs > div, .th-noche .keyspecs > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .th-noche .keyspecs .big { font-size: 3.4rem; }
}
.th-noche .spec-table { width: 100%; border-collapse: collapse; }
.th-noche .spec-table th, .th-noche .spec-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.th-noche .spec-table th { font: 500 12px var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .05em; width: 42%; padding-right: 20px; font-weight: 500; }
.th-noche .spec-table td { font-size: 16px; }
.th-noche .ficha-desc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.th-noche .ficha-desc p.d { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; color: #d6d2c9; }
@media (max-width: 960px) {
  .th-noche .ficha-grid, .th-noche .ficha-desc { grid-template-columns: minmax(0, 1fr); }
  .th-noche .ficha-side { position: static; }
}

/* ---------------------------------------------------------- bloques genéricos internos */
.th-noche .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.th-noche .split-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; border: 1px solid var(--line); }
.th-noche .split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .th-noche .split { grid-template-columns: 1fr; }
}
.th-noche .feat { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.th-noche .feat > div { padding: 30px 26px 34px 0; position: relative; }
.th-noche .feat > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.th-noche .feat .n { font: 500 12px var(--f-mono); color: var(--y); display: block; margin-bottom: 26px; }
.th-noche .feat h3 { margin-bottom: 10px; font-size: 1.15rem; }
.th-noche .feat p { color: var(--muted); font-size: 15px; }
.th-noche .feat.c3 { grid-template-columns: repeat(3, 1fr); }
.th-noche .feat.c3 > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.th-noche .feat.c3 > div { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .th-noche .feat, .th-noche .feat.c3 { grid-template-columns: 1fr 1fr; }
  .th-noche .feat > div, .th-noche .feat.c3 > div, .th-noche .feat > div + div { padding: 24px 14px 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .th-noche .feat > div:nth-child(2n), .th-noche .feat.c3 > div:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .th-noche .feat, .th-noche .feat.c3 { grid-template-columns: 1fr; }
  .th-noche .feat > div:nth-child(2n), .th-noche .feat.c3 > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .th-noche .feat .n { margin-bottom: 12px; }
}
.th-noche .freq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.th-noche .freq > div { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; background: var(--bg-1); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.th-noche .freq > div.hl { border-color: rgba(254, 229, 5, .4); background: linear-gradient(180deg, rgba(254, 229, 5, .06), transparent); }
.th-noche .freq b { font: 720 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-display); font-stretch: 115%; font-variation-settings: "wdth" 115; letter-spacing: -.025em; }
.th-noche .freq span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .th-noche .freq { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .th-noche .freq { grid-template-columns: 1fr; }
  .th-noche .freq > div { min-height: 140px; }
}
.th-noche .tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.th-noche .tcard { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.th-noche .tcard:hover { border-color: rgba(254, 229, 5, .35); }
.th-noche .tcard .mcard-media { aspect-ratio: 16 / 10; }
.th-noche .tcard-b { padding: 18px 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.th-noche .tcard-b h3 { font: 700 1.25rem/1.1 var(--f-display); font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.015em; }
.th-noche .tcard-b span { font: 500 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.th-noche .tcard a.cover::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 900px) {
  .th-noche .tgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .th-noche .tgrid { grid-template-columns: 1fr; }
}
.th-noche .rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.th-noche .rcard { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.th-noche .rcard:hover { border-color: rgba(254, 229, 5, .35); }
.th-noche .rcard-img { aspect-ratio: 16 / 10; background: radial-gradient(80% 70% at 50% 45%, #f4f2ec 0%, #cdc9c0 100%); overflow: hidden; }
.th-noche .rcard-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; transition: transform 1s var(--ease); }
.th-noche .rcard:hover .rcard-img img { transform: scale(1.05); }
.th-noche .rcard-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.th-noche .rcard-b p { color: var(--muted); font-size: 14.5px; }
.th-noche .rcard-b .mk { display: flex; gap: 6px; flex-wrap: wrap; }
.th-noche .rcard-b .mk span { font: 500 10.5px var(--f-mono); padding: 4px 7px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.th-noche .rcard-b .acts { margin-top: auto; padding-top: 6px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.th-noche .rcard-b .acts a { color: var(--y); font-weight: 600; }
.th-noche .rcard-b .acts a.sec-l { color: var(--muted); font-weight: 500; }
.th-noche .rcard-b .acts a:hover { text-decoration: underline; }
.th-noche .quoteblock { border-left: 2px solid var(--y); padding: 6px 0 6px clamp(20px, 3vw, 40px); }
.th-noche .quoteblock p { font: 500 clamp(1.4rem, 2.6vw, 2.2rem)/1.3 var(--f-display); font-stretch: 105%; font-variation-settings: "wdth" 105; letter-spacing: -.015em; max-width: 30ch; }
.th-noche .quoteblock footer { margin-top: 18px; font: 500 13px var(--f-mono); color: var(--muted); }
.th-noche .quoteblock footer b { color: var(--text); font-weight: 500; }
.th-noche .pain { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 4vw, 52px); background: linear-gradient(135deg, rgba(254, 229, 5, .05), transparent 50%), var(--bg-1); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.th-noche .pain h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.th-noche .pain ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.th-noche .pain li { display: flex; gap: 12px; align-items: center; color: #d6d2c9; }
.th-noche .pain li::before { content: ""; width: 14px; height: 1px; background: var(--y); }
@media (max-width: 860px) {
  .th-noche .pain { grid-template-columns: 1fr; }
}
.th-noche .cities { display: flex; flex-wrap: wrap; gap: 8px; }
.th-noche .cities span { font: 500 13px var(--f-mono); padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 2px; color: #d6d2c9; }

/* línea de tiempo completa */
.th-noche .tl { position: relative; }
.th-noche .tl::before { content: ""; position: absolute; left: 140px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--y), rgba(254, 229, 5, .15) 20%, rgba(254, 229, 5, .15) 80%, transparent); }
.th-noche .tl-i { display: grid; grid-template-columns: 140px 1fr 260px; gap: 0 48px; padding: 36px 0; position: relative; border-bottom: 1px solid var(--line); }
.th-noche .tl-i::before { content: ""; position: absolute; left: 136px; top: 50px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--y); box-shadow: 0 0 12px rgba(254, 229, 5, .5); }
.th-noche .tl-i.big-yr::before { background: var(--y); }
.th-noche .tl-yr { font: 250 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); letter-spacing: -.045em; padding-top: 6px; font-feature-settings: "tnum"; }
.th-noche .tl-body { padding-left: 4px; }
.th-noche .tl-body h3 { font: 700 1.45rem/1.15 var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.02em; margin-bottom: 10px; }
.th-noche .tl-body p { color: var(--muted); max-width: 62ch; font-size: 15.5px; }
.th-noche .tl-img { border-radius: 3px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 300 / 160; align-self: start; background: #111; }
.th-noche .tl-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05) brightness(.85); transition: filter .5s; }
.th-noche .tl-i:hover .tl-img img { filter: none; }
@media (max-width: 860px) {
  .th-noche .tl::before { left: 6px; }
  .th-noche .tl-i { grid-template-columns: 1fr; padding: 28px 0 28px 32px; gap: 10px; }
  .th-noche .tl-i::before { left: 2px; top: 40px; }
  .th-noche .tl-img { max-width: 260px; }
}

/* contacto */
.th-noche .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.th-noche .ccard { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s; }
.th-noche .ccard:hover { border-color: rgba(254, 229, 5, .35); }
.th-noche .ccard .k { font: 500 11.5px var(--f-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.th-noche .ccard .v { font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--f-display); font-stretch: 105%; font-variation-settings: "wdth" 105; letter-spacing: -.01em; word-break: break-word; }
.th-noche .ccard p { color: var(--muted); font-size: 14px; }
@media (max-width: 620px) {
  .th-noche .contact-grid { grid-template-columns: 1fr; }
}
.th-noche .note-box { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px 18px; color: var(--muted); font-size: 14px; }
