/*
Theme Name: Weekend Punch List
Theme URI: https://weekendpunchlist.com/
Author: Alfredo R.
Description: Tema propio de Weekend Punch List: esqueleto Miles Tested + alma de taller de sábado (arreglos de casa para novatos y tienda Home vs. Pro). NO se edita esta hoja: sale de maqueta-v2/assets/ con exportar_tema.py.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Propietaria
Text Domain: weekendpunchlist
*/

/* Fuentes alojadas en el tema */
/* Archivo Black (400) y IBM Plex Sans (400, 600, 700) - subconjunto latino OFL */
@font-face{font-family:"Archivo Black";font-style:normal;font-weight:400;font-display:swap;src:url('fonts/archivo-black-400.woff2') format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url('fonts/ibm-plex-sans-400.woff2') format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url('fonts/ibm-plex-sans-600.woff2') format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url('fonts/ibm-plex-sans-700.woff2') format("woff2")}

/* Animación del castor */
.wpl-logo{display:block;width:100%;height:auto;overflow:visible}
.wpl-castor{transform-box:fill-box;transform-origin:50% 98%}
.wpl-cola{transform-box:fill-box;transform-origin:92% 62%}
.wpl-pata-trasera{transform-box:fill-box;transform-origin:56% 18%}
.wpl-pata-delantera{transform-box:fill-box;transform-origin:34% 18%}
.wpl-martillo{transform-box:fill-box;transform-origin:66% 62%}
.wpl-rayitas{transform-box:fill-box;transform-origin:15% 85%}

@media (prefers-reduced-motion:no-preference){
  .wpl-logo.camina .wpl-castor{animation:wpl-bob 1.45s cubic-bezier(.37,0,.63,1) 1 both}
  .wpl-logo.camina .wpl-pata-trasera{animation:wpl-pata-a 1.45s ease-in-out 1 both}
  .wpl-logo.camina .wpl-pata-delantera{animation:wpl-pata-b 1.45s ease-in-out 1 both}
  .wpl-logo.camina .wpl-cola{animation:wpl-cola 1.45s cubic-bezier(.34,1.35,.64,1) 1 both}
  .wpl-logo.camina .wpl-martillo{animation:wpl-martillo 1.45s cubic-bezier(.34,1.25,.64,1) 1 both}
  .wpl-logo.camina .wpl-rayitas{animation:wpl-rayitas 1.45s ease-out 1 both}

  .wpl-logo.pasito .wpl-castor{animation:wpl-bob-corto .68s ease-in-out 1 both}
  .wpl-logo.pasito .wpl-pata-trasera{animation:wpl-pata-a-corto .68s ease-in-out 1 both}
  .wpl-logo.pasito .wpl-pata-delantera{animation:wpl-pata-b-corto .68s ease-in-out 1 both}
  .wpl-logo.pasito .wpl-cola{animation:wpl-cola-corto .68s cubic-bezier(.34,1.35,.64,1) 1 both}
  .wpl-logo.pasito .wpl-martillo{animation:wpl-martillo-corto .68s cubic-bezier(.34,1.25,.64,1) 1 both}
  .wpl-logo.pasito .wpl-rayitas{animation:wpl-rayitas-corto .68s ease-out 1 both}
}

@media (prefers-reduced-motion:reduce){
  .wpl-logo,.wpl-logo *{animation:none!important;transition:none!important}
}

@keyframes wpl-bob{
  0%,100%{transform:translateY(0) rotate(0deg)}
  14%{transform:translateY(-2.3%) rotate(1.1deg)}
  28%{transform:translateY(0.5%) rotate(-0.5deg)}
  44%{transform:translateY(-2.5%) rotate(1.3deg)}
  58%{transform:translateY(0.5%) rotate(-0.5deg)}
  74%{transform:translateY(-1.8%) rotate(0.8deg)}
  88%{transform:translateY(0.2%) rotate(0deg)}
}
@keyframes wpl-pata-a{
  0%,100%{transform:rotate(0deg) translateY(0)}
  14%{transform:rotate(-13deg) translateY(-4%)}
  28%{transform:rotate(7deg) translateY(0)}
  44%{transform:rotate(-13deg) translateY(-4%)}
  58%{transform:rotate(7deg) translateY(0)}
  74%{transform:rotate(-9deg) translateY(-2.5%)}
  88%{transform:rotate(2deg) translateY(0)}
}
@keyframes wpl-pata-b{
  0%,100%{transform:rotate(0deg) translateY(0)}
  14%{transform:rotate(12deg) translateY(2%)}
  28%{transform:rotate(-10deg) translateY(-4%)}
  44%{transform:rotate(12deg) translateY(2%)}
  58%{transform:rotate(-10deg) translateY(-4%)}
  74%{transform:rotate(8deg) translateY(1%)}
  88%{transform:rotate(-2deg) translateY(0)}
}
@keyframes wpl-cola{
  0%,100%{transform:rotate(0deg)}
  20%{transform:rotate(15deg)}
  40%{transform:rotate(4deg)}
  60%{transform:rotate(17deg)}
  80%{transform:rotate(-2deg)}
}
@keyframes wpl-martillo{
  0%,100%{transform:translateY(0) rotate(0deg)}
  18%{transform:translateY(-4.5%) rotate(5.5deg)}
  34%{transform:translateY(1.2%) rotate(-2deg)}
  52%{transform:translateY(-5.5%) rotate(6.5deg)}
  68%{transform:translateY(1.4%) rotate(-2.2deg)}
  82%{transform:translateY(-2%) rotate(2.5deg)}
}
@keyframes wpl-rayitas{
  0%,100%{transform:scale(1);opacity:1}
  18%{transform:scale(1.16) translate(2%,-3%);opacity:1}
  34%{transform:scale(.94);opacity:.72}
  52%{transform:scale(1.2) translate(3%,-4%);opacity:1}
  70%{transform:scale(.95);opacity:.82}
}

@keyframes wpl-bob-corto{
  0%,100%{transform:translateY(0) rotate(0deg)}
  38%{transform:translateY(-3.2%) rotate(1.3deg)}
  72%{transform:translateY(0.5%) rotate(-0.4deg)}
}
@keyframes wpl-pata-a-corto{
  0%,100%{transform:rotate(0deg) translateY(0)}
  38%{transform:rotate(-12deg) translateY(-3.5%)}
  72%{transform:rotate(5deg) translateY(0)}
}
@keyframes wpl-pata-b-corto{
  0%,100%{transform:rotate(0deg) translateY(0)}
  38%{transform:rotate(11deg) translateY(2%)}
  72%{transform:rotate(-7deg) translateY(-2.5%)}
}
@keyframes wpl-cola-corto{
  0%,100%{transform:rotate(0deg)}
  42%{transform:rotate(14deg)}
  76%{transform:rotate(-2deg)}
}
@keyframes wpl-martillo-corto{
  0%,100%{transform:translateY(0) rotate(0deg)}
  36%{transform:translateY(-5%) rotate(6deg)}
  68%{transform:translateY(1.2%) rotate(-2deg)}
}
@keyframes wpl-rayitas-corto{
  0%,100%{transform:scale(1);opacity:1}
  38%{transform:scale(1.18) translate(2%,-3%);opacity:1}
  70%{transform:scale(.95);opacity:.85}
}

/* Hoja principal (maqueta-v2/assets/site.css) */
/* Weekend Punch List v2 — Esqueleto Miles Tested + Alma Weekend Punch List (DISENO.md).
   Colores: #F7F6F2 #FFFFFF #ECEAE3 #1B1B1B #525759 #0E5C63 #F2A900 #D5D2C8 #E6F2F3 #FEF5DF #262A2C #C8C6BE
            Semánticos: #1F6E43/#E7F4EC · #8A5600/#FEF5DF · #B42318/#FDECEB
   Tipografías: Archivo Black (400, >= 18px) · IBM Plex Sans (400, 600, 700)
   Escala: 12 14 16 18 22 28 36 48 60 px
   Radios: 0 4 8 999 px */

:root {
  --wpl-fondo: #F7F6F2;
  --wpl-blanco: #FFFFFF;
  --wpl-bloque: #ECEAE3;
  --wpl-tinta: #1B1B1B;
  --wpl-sec: #525759;
  --wpl-teal: #0E5C63;
  --wpl-mostaza: #F2A900;
  --wpl-filete: #D5D2C8;
  --wpl-teal-suave: #E6F2F3;
  --wpl-mostaza-suave: #FEF5DF;
  --wpl-oscuro-2: #262A2C;
  --wpl-sec-osc: #C8C6BE;
  --wpl-facil: #1F6E43;
  --wpl-facil-bg: #E7F4EC;
  --wpl-mod: #8A5600;
  --wpl-mod-bg: #FEF5DF;
  --wpl-pro: #B42318;
  --wpl-pro-bg: #FDECEB;
  --display: "Archivo Black", sans-serif;
  --cuerpo: "IBM Plex Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wpl-fondo); color: var(--wpl-tinta); font: 400 18px/1.6 var(--cuerpo); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, figure, dl { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--wpl-teal); }
:focus-visible { outline: 3px solid var(--wpl-teal); outline-offset: 3px; }

.salto { position: absolute; left: -9999px; top: 0; }
.salto:focus { left: 16px; top: 16px; z-index: 99; background: var(--wpl-blanco); color: var(--wpl-tinta); padding: 8px 12px; border: 2px solid var(--wpl-tinta); border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cont { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h2 { font: 400 36px/1.1 var(--display); letter-spacing: -0.01em; color: var(--wpl-tinta); }
.h2-bar { display: flex; align-items: center; gap: 12px; }
.h2-chk {
  width: 24px; height: 24px; flex: none; display: grid; place-items: center;
  background: var(--wpl-mostaza); color: var(--wpl-tinta); border: 2px solid var(--wpl-tinta); border-radius: 4px;
}
.ruler {
  flex: 1 1 auto; height: 8px; min-width: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 7.5H24M0 1V8M6 4V8M12 2.5V8M18 4V8' stroke='%23D5D2C8' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x bottom left;
}
.pto { display: inline-block; width: 10px; height: 10px; border-radius: 999px; background: var(--c); flex: none; }
.ico { display: block; }

/* Pastillas semánticas de dificultad y etiquetas de tienda */
.pill-d { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 700 12px/1.4 var(--cuerpo); }
.pill-d--easy { background: var(--wpl-facil-bg); color: var(--wpl-facil); }
.pill-d--mod { background: var(--wpl-mod-bg); color: var(--wpl-mod); }
.pill-d--pro { background: var(--wpl-pro-bg); color: var(--wpl-pro); }
.tag-tier { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--wpl-teal-suave); color: var(--wpl-teal); font: 700 12px/1.4 var(--cuerpo); }

/* Casilla interactiva de punch list (DISENO.md: 20x20, borde tinta 2px, radio 4px, relleno mostaza al marcar) */
.chk-btn {
  width: 22px; height: 22px; flex: none; padding: 0; display: grid; place-items: center;
  background: var(--wpl-blanco); color: transparent; border: 2px solid var(--wpl-tinta); border-radius: 4px; cursor: pointer;
  transition: background-color 0.18s ease-out, color 0.18s ease-out, transform 0.18s ease-out;
}
.chk-btn:hover { background: var(--wpl-mostaza-suave); }
.chk-btn[aria-pressed="true"] { background: var(--wpl-mostaza); color: var(--wpl-tinta); }
.chk-btn .chk-ico { width: 14px; height: 14px; }

/* ── Cabecera (esqueleto Miles Tested: franja superior + barra 84→64 px + megamenú 12 cols + lupa + móvil) ── */
.cab { position: sticky; top: 0; z-index: 40; background: var(--wpl-blanco); transition: border-color 0.2s ease; }
.cab.is-compacta .cab-barra { height: 64px; border-bottom-color: var(--wpl-tinta); }
.franja { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 6px; }
.f--teal { background: var(--wpl-teal); }
.f--mostaza { background: var(--wpl-mostaza); }
.f--tinta { background: var(--wpl-tinta); }
.cab-barra { height: 84px; border-bottom: 2px solid var(--wpl-filete); transition: height 0.2s ease; }
.cab-in {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 36px;
}
.marca { display: block; line-height: 0; justify-self: start; margin-right: 12px; }
.marca .wpl-logo { display: block; width: 204px; height: auto; transition: width 0.2s ease; }
.cab.is-compacta .marca .wpl-logo { width: 136px; }

.menu { display: flex; justify-content: center; align-items: stretch; height: 100%; gap: 4px; }
.dd { display: flex; }
.dd-b {
  position: relative; display: inline-flex; align-items: center; gap: 6px; align-self: stretch; padding: 0 12px;
  background: none; border: 0; color: var(--wpl-tinta); cursor: pointer;
  font: 400 18px/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase;
}
.dd-b--tools { color: var(--wpl-teal); }
.dd-b::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 20px; height: 4px; background: var(--wpl-mostaza);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.dd-b--tools::after { background: var(--wpl-teal); }
.dd-b:hover::after, .dd-b[aria-expanded="true"]::after { transform: scaleX(1); }
.cab.is-compacta .dd-b::after { bottom: 12px; }
.chev { width: 12px; height: 12px; flex: none; transition: transform 0.2s ease; }
.dd-b[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Megamenú (a todo el ancho, 12 cols como Miles) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
  background: var(--wpl-blanco); border-bottom: 2px solid var(--wpl-tinta);
}
.mega:not([hidden]) { animation: despliega 0.18s ease-out both; }
@keyframes despliega { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-in {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px 24px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
}
.mega-izq { grid-column: 1 / span 4; min-width: 0; }
.mega-medio { grid-column: 5 / span 5; min-width: 0; }
.mega-der { grid-column: 10 / span 3; min-width: 0; }
.mega-g { font: 400 28px/1.1 var(--display); text-transform: uppercase; color: var(--wpl-tinta); }
.mega-frase { margin-top: 8px; margin-bottom: 20px; font: 400 16px/1.45 var(--cuerpo); color: var(--wpl-sec); }
.mega-sub { font: 400 18px/1.2 var(--display); color: var(--wpl-tinta); margin-bottom: 14px; }
.mega-ult { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mega-ult > li { display: flex; min-width: 0; }
.mega-pie { border-top: 2px solid var(--wpl-filete); background: var(--wpl-fondo); }
.mega-pie-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.mega-pie a { font: 700 16px/1.4 var(--cuerpo); color: var(--wpl-teal); text-decoration: none; }
.mega-pie a:hover, .mega-pie a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.mc { min-width: 0; width: 100%; }
.mc-foto { display: block; border-radius: 4px; overflow: hidden; background: var(--wpl-bloque); aspect-ratio: 4 / 3; }
.mc-foto img { width: 100%; height: 100%; object-fit: cover; }
.mc-sec { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 14px/1.4 var(--cuerpo); color: var(--wpl-sec); }
.mc--texto .mc-sec { margin-top: 0; }
.mc-t { margin-top: 4px; font: 700 16px/1.3 var(--cuerpo); }
.mc-t a { color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.mc-t a:hover, .mc-t a:focus-visible { text-decoration: underline; }

.mega-start { background: var(--tono); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 14px; }
.mega-start-foto { display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--wpl-blanco); }
.mega-start-foto img { width: 100%; height: 100%; object-fit: cover; }
.mega-start-foto--prod { aspect-ratio: auto; height: 160px; padding: 10px; background: var(--wpl-blanco); border: 1px solid var(--wpl-filete); }
.mega-start-foto--prod img { width: 100%; height: 100%; object-fit: contain; }
.mega-start-k { margin-top: 0; font: 700 14px/1.4 var(--cuerpo); color: var(--wpl-teal); text-transform: uppercase; letter-spacing: 0.04em; }
.mega-start-foto + .mega-start-k { margin-top: 12px; }
.mega-start-t { margin-top: 4px; font: 400 18px/1.25 var(--display); }
.mega-start-t a { color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.mega-start-t a:hover, .mega-start-t a:focus-visible { text-decoration: underline; }

/* Lista vertical de ramas en megamenú y móvil (casillas de punch list unidas por línea vertical) */
.metro { list-style: none; }
.metro-e { position: relative; padding: 0 0 18px 34px; }
.metro-e:last-child { padding-bottom: 0; }
.metro-e::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: -10px; width: 2px; background: var(--wpl-filete); }
.metro-e:last-child::before { display: none; }
.metro-est {
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 4px;
  border: 2px solid var(--wpl-tinta); background: var(--wpl-blanco); color: transparent;
  display: grid; place-items: center; z-index: 1; transition: background-color 0.18s ease, color 0.18s ease;
}
.metro-a { display: block; color: var(--wpl-tinta); text-decoration: none; }
.metro-n { display: block; font: 700 16px/1.3 var(--cuerpo); }
.metro-d { display: block; font: 400 14px/1.4 var(--cuerpo); color: var(--wpl-sec); }
.metro-a:hover .metro-est, .metro-a:focus-visible .metro-est { background: var(--wpl-mostaza); color: var(--wpl-tinta); }
.metro-a:hover .metro-n, .metro-a:focus-visible .metro-n { color: var(--wpl-teal); text-decoration: underline; text-underline-offset: 4px; }

/* Botones de cabecera: DIY vs. Pro (mostaza con tinta) + lupa + menú móvil */
.cab-botones { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 4px;
  background: var(--wpl-mostaza); color: var(--wpl-tinta); border: 2px solid var(--wpl-tinta);
  font: 700 16px/1 var(--cuerpo); text-decoration: none; white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pill:hover { transform: translateY(-2px); text-decoration: underline; text-underline-offset: 4px; }
.pill .ico { width: 18px; height: 18px; flex: none; }
.pill--movil { display: none; justify-content: center; height: 48px; margin-top: 20px; }
.ib {
  width: 46px; height: 46px; border-radius: 4px; border: 2px solid transparent;
  background: transparent; color: var(--wpl-tinta); display: grid; place-items: center; cursor: pointer;
}
.ib:hover { background: var(--wpl-bloque); }
.ib[aria-expanded="true"] { border-color: var(--wpl-tinta); background: var(--wpl-mostaza-suave); }
.ib--menu { display: none; }

/* Paneles de búsqueda y menú móvil */
.panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: var(--wpl-blanco); border-bottom: 2px solid var(--wpl-tinta); }
.panel-in { max-width: 1200px; margin: 0 auto; padding: 24px; }
.busca-t { display: block; font: 700 14px/1.3 var(--cuerpo); margin-bottom: 8px; }
.busca-in {
  display: block; width: 100%; max-width: 560px; min-height: 48px; font: 400 16px/1.3 var(--cuerpo); color: var(--wpl-tinta);
  background: var(--wpl-blanco); border: 2px solid var(--wpl-tinta); border-radius: 4px; padding: 10px 14px;
}
.busca-res { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.busca-res a { font: 700 16px/1.35 var(--cuerpo); color: var(--wpl-teal); }
.busca-res span { display: block; font: 400 14px/1.3 var(--cuerpo); color: var(--wpl-sec); }
.busca-vacio { margin-top: 16px; color: var(--wpl-sec); font-size: 16px; }
.movil details { border-bottom: 1px solid var(--wpl-filete); }
.movil summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none;
  font: 400 18px/1.2 var(--display); text-transform: uppercase;
}
.movil summary::-webkit-details-marker { display: none; }
.movil summary .chev { width: 16px; height: 16px; }
.movil details[open] > summary .chev { transform: rotate(180deg); }
.movil .metro { padding: 4px 0 20px 4px; }

@media (max-width: 1023px) {
  .cab-barra, .cab.is-compacta .cab-barra { height: 64px; }
  .cab-in { grid-template-columns: minmax(0, 1fr) auto; padding: 0 16px; gap: 8px; }
  .menu, .mega, .pill--escritorio { display: none !important; }
  .ib--menu { display: grid; }
  .marca .wpl-logo, .cab.is-compacta .marca .wpl-logo { width: 156px; }
  .pill--movil { display: flex; }
  #movil .panel-in { padding: 8px 16px 24px; }
  #movil.panel { max-height: calc(100vh - 70px); overflow-y: auto; }
}

/* ── Héroe (esqueleto Miles: titular 2 líneas + frase con 3 rayitas mostaza + 4 puertas + centro) ── */
.hero { padding: 36px 0 56px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hero h1 { font: 400 36px/1.05 var(--display); letter-spacing: -0.02em; color: var(--wpl-tinta); text-wrap: balance; }
.hero-lado { display: flex; align-items: center; gap: 18px; }
.hero-p { max-width: 34em; font: 400 16px/1.55 var(--cuerpo); color: var(--wpl-sec); }
.hero-rayas { display: none; flex: none; }

.puertas {
  --banda: 64px; --linea: 78%;
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 32px 0 0;
  container-type: inline-size;
}
.puerta { position: relative; z-index: 0; min-width: 0; height: calc((100cqw - 24px) / 4 / 0.62); border-radius: 8px; }
.puerta-l { position: absolute; inset: 0; z-index: 1; border-radius: 8px; text-decoration: none; }
.puerta-banda {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: var(--banda); margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 14px; border-radius: 8px 8px 0 0;
  background: var(--c); color: var(--txt); font: 400 22px/1 var(--display);
}
.ico-fino { display: none; }
.puerta-banda .ico-sol { width: 28px; height: 28px; flex: none; }
.puerta-foto { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: 8px; background: var(--wpl-bloque); border: 2px solid var(--wpl-tinta); }
.puerta-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); }
.puerta-pie { position: absolute; inset: 0; pointer-events: none; }

/* Pista horizontal de regla de carpintero cruzando las 4 puertas */
.tramo {
  position: absolute; z-index: 2; pointer-events: none; left: -4px; right: -4px;
  top: calc(var(--linea) - 7px); height: 14px; background: var(--c); border-top: 2px solid var(--wpl-tinta); border-bottom: 2px solid var(--wpl-tinta);
}
.puerta--walls .tramo { left: 0; }
.puerta--testers .tramo { right: 0; }

.pz-est {
  position: absolute; z-index: 3; left: var(--xp); top: var(--linea); width: 22px; height: 22px; pointer-events: auto;
  transform: translate(-50%, -50%); border-radius: 4px; display: block;
}
.pz-nodo { position: absolute; inset: 0; border-radius: 4px; background: var(--wpl-blanco); border: 3px solid var(--wpl-tinta); box-sizing: border-box; transition: background-color 0.2s ease; }
.pz-nombre {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 8px; border-radius: 4px; background: var(--wpl-blanco); color: var(--wpl-tinta); border: 2px solid var(--wpl-tinta);
  font: 700 12px/1.2 var(--cuerpo);
}
.pz-est--arriba .pz-nombre { top: auto; bottom: calc(100% + 8px); }
.pz-est:hover .pz-nodo, .pz-est:focus-visible .pz-nodo { background: var(--wpl-mostaza); }
@media (min-width: 1248px) {
  .pz-est:hover .pz-nombre, .pz-est:focus-visible .pz-nombre { background: var(--wpl-mostaza); color: var(--wpl-tinta); }
}

.transbordo {
  position: absolute; z-index: 5; left: 50%; top: calc(var(--linea) - 28px);
  transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--wpl-tinta); text-decoration: none;
}
.transbordo-nodo {
  width: 56px; height: 56px; border-radius: 8px; background: var(--wpl-mostaza); color: var(--wpl-tinta);
  border: 4px solid var(--wpl-tinta); display: grid; place-items: center; transition: transform 0.2s ease;
}
.transbordo-nodo .chk-ico { width: 26px; height: 26px; }
.transbordo-n {
  padding: 4px 12px; border-radius: 4px; background: var(--wpl-tinta); color: var(--wpl-blanco); white-space: nowrap;
  font: 400 18px/1.2 var(--display); border: 2px solid var(--wpl-mostaza);
}
.transbordo-t { display: flex; flex-direction: column; align-items: center; }
.transbordo-sub { display: none; }
.transbordo:hover .transbordo-nodo { transform: scale(1.06); }
.transbordo:hover .transbordo-n { text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .tramo { transform-origin: 0 50%; animation: tramo-dibuja 0.4s ease-out both; animation-delay: var(--d); }
  .pz-est { animation: pz-aparece 0.3s ease-out both; animation-delay: calc(var(--d) + 0.15s + var(--i) * 0.1s); }
  .puerta-banda { transition: transform 0.2s ease; }
  .puerta:hover .puerta-banda { transform: translateY(-2px); }
}
@keyframes tramo-dibuja { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pz-aparece { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1248px) {
  .hero-top { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
  .hero h1 { font-size: 60px; line-height: 1.02; letter-spacing: -0.02em; }
  .h1-l { display: block; }
  .hero-lado { justify-content: flex-end; gap: 18px; }
  .hero-p { max-width: 340px; font-size: 18px; }
  .hero-rayas { display: block; }
}

@media (max-width: 1247px) {
  .puertas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 24px; --banda: 52px; margin: 28px 0 0; }
  .puerta { display: flex; flex-direction: column; height: auto; }
  .puerta-banda { justify-content: flex-start; gap: 10px; padding: 0 14px; font-size: 22px; }
  .ico-fino { display: block; }
  .ico-sol { display: none; }
  .puerta-banda .ico { width: 22px; height: 22px; }
  .puerta-foto { position: relative; inset: auto; height: auto; flex: none; padding-top: calc(var(--banda) + 75%); }
  .puerta-pie { position: relative; inset: auto; pointer-events: auto; flex: 1 1 auto; display: flex; flex-direction: column; padding: 12px 0 4px; }
  .tramo, .puerta--walls .tramo, .puerta--testers .tramo { position: relative; top: auto; left: 0; right: 0; height: 8px; flex: none; transform: none; margin-bottom: 8px; border: 0; }
  .pz-est { position: relative; left: auto; top: auto; transform: none; width: auto; height: 34px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .pz-nodo { position: relative; inset: auto; flex: none; width: 14px; height: 14px; border-width: 2px; }
  .pz-nombre, .pz-est--arriba .pz-nombre { position: static; top: auto; bottom: auto; left: auto; transform: none; padding: 0; border: 0; background: none; font: 700 14px/1.25 var(--cuerpo); color: var(--wpl-tinta); }
  .pz-est:hover .pz-nombre { text-decoration: underline; text-underline-offset: 4px; }
  .transbordo { position: static; top: auto; left: auto; transform: none; grid-column: 1 / -1; width: 100%; margin-top: 4px; flex-direction: row; justify-content: center; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 8px; background: var(--wpl-bloque); border: 2px solid var(--wpl-tinta); }
  .transbordo-nodo { width: 44px; height: 44px; flex: none; border-width: 2px; }
  .transbordo-t { align-items: flex-start; }
  .transbordo-n { padding: 0; border: 0; background: none; color: var(--wpl-tinta); font: 400 18px/1.2 var(--display); }
  .transbordo-sub { display: block; font: 400 14px/1.4 var(--cuerpo); color: var(--wpl-sec); }
}

/* ── Héroe Weekend Punch List: El Tablero Perforado del Sábado (Concepto 2 aprobado) ── */
.peg {
  position: relative; margin-top: 28px;
  border: 2px solid var(--wpl-tinta); border-radius: 8px; overflow: hidden;
  background: #1B1B1B;
}
.peg-bg { display: block; width: 100%; height: auto; }
.peg-col {
  position: absolute; top: 5.5%; right: 2.6%; bottom: 11.5%; width: 35.5%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.peg-t {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: var(--wpl-tinta);
  border-radius: 5px; background: var(--wpl-fondo);
  border: 1.5px solid var(--wpl-tinta);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.peg-t:hover, .peg-t:focus-visible { transform: translateY(-2px); }
.peg-clip {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 18px; pointer-events: none; z-index: 2;
}
.peg-t-hd {
  padding: 5px 12px 4px; background: var(--wpl-mostaza); color: var(--wpl-tinta);
  border-radius: 3.5px 3.5px 0 0;
  font: 700 11px/1.1 var(--cuerpo); text-transform: uppercase; letter-spacing: 0.05em;
}
.peg-t-bd {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 12px 10px;
}
.peg-chk {
  width: 22px; height: 22px; flex: none;
  border: 2px solid var(--wpl-tinta); border-radius: 4px;
  background: var(--wpl-blanco); color: var(--wpl-teal);
  display: grid; place-items: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.peg-t:hover .peg-chk, .peg-t:focus-visible .peg-chk { background: var(--wpl-mostaza); color: var(--wpl-tinta); }
.peg-chk .chk-ico { width: 14px; height: 14px; }
.peg-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.peg-tit {
  font: 400 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--wpl-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.peg-meta { margin-top: 2px; font: 600 13px/1.25 var(--cuerpo); color: var(--wpl-sec); }
.peg-shop {
  flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 11px; border-radius: 4px;
  background: var(--wpl-teal); color: var(--wpl-blanco);
  font: 400 16px/1.1 var(--display); letter-spacing: 0.01em;
}
.peg-shop-sub { font: 600 13px/1 var(--cuerpo); opacity: 0.92; }
.peg-t:hover .peg-shop { background: var(--wpl-tinta); }

@media (max-width: 1120px) {
  .peg-col { top: 4.5%; bottom: 10.5%; width: 38.5%; gap: 7px; }
  .peg-t-hd { padding: 4px 10px 3px; font-size: 10px; }
  .peg-t-bd { padding: 6px 10px 7px; gap: 8px; }
  .peg-tit { font-size: 15px; }
  .peg-meta { font-size: 12px; }
  .peg-shop { font-size: 14px; padding: 5px 9px; }
  .peg-shop-sub { font-size: 12px; }
}

@media (max-width: 900px) {
  .peg-bg { aspect-ratio: 3 / 2; object-fit: cover; object-position: left center; }
  .peg-col {
    position: static; width: 100%; padding: 20px 14px 16px; gap: 14px;
    background: radial-gradient(circle, #0d0e0f 2px, transparent 2.5px) 0 0 / 16px 16px, #1f2224;
    border-top: 2px solid var(--wpl-tinta);
  }
  .peg-tit { font-size: 17px; white-space: normal; }
  .peg-meta { font-size: 13px; }
  .peg-shop { font-size: 15px; padding: 8px 12px; flex-wrap: wrap; }
}

/* ── Bloques bajo el héroe ── */
.blq--ult { margin-top: 0; }
.fit, .ln, .blq--ini { margin-top: 72px; }
.ln { scroll-margin-top: 96px; }
.boton {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px;
  background: var(--wpl-teal); color: var(--wpl-blanco); border: 2px solid var(--wpl-teal);
  border-radius: 4px; font: 700 16px/1 var(--cuerpo); text-decoration: none; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.boton:hover { transform: translateY(-2px); text-decoration: underline; text-underline-offset: 4px; }

/* ── Latest: rejilla 4:3 (2 grandes arriba + 4 chicas abajo = 6 artículos, todas las fotos en 4:3 exacto) ── */
.mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.mt { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--wpl-blanco); border: 2px solid var(--wpl-filete); border-radius: 8px; overflow: hidden; transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.2s ease; }
.mt:hover { transform: translateY(-2px); border-color: var(--wpl-tinta); }
.mt--g { grid-column: span 2; }
.mt--s { grid-column: span 1; }
.mt-franja { margin: 0; display: flex; align-items: center; gap: 10px; background: var(--c); color: var(--txt); padding: 10px 14px; font: 700 13px/1.25 var(--cuerpo); text-transform: uppercase; letter-spacing: 0.03em; min-width: 0; }
.mt-franja > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt--g .mt-franja { font: 700 15px/1.3 var(--cuerpo); padding: 10px 14px; }
.mt-est { width: 26px; height: 26px; border-radius: 4px; background: var(--wpl-blanco); color: var(--wpl-tinta); display: grid; place-items: center; flex: none; }
.mt-est .ico { width: 16px; height: 16px; }
.mt-foto { position: relative; display: block; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wpl-bloque); }
.mt-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-txt { flex: 1 1 auto; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.mt-t { font: 700 16px/1.35 var(--cuerpo); color: var(--wpl-tinta); margin-bottom: 10px; }
.mt--g .mt-t { font: 400 24px/1.18 var(--display); margin-bottom: 8px; }
.mt-ext { margin: 0 0 12px; font: 400 15px/1.45 var(--cuerpo); color: var(--wpl-sec); }
.mt-t a { color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.mt-t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mt-t a:hover, .mt-t a:focus-visible { text-decoration: underline; }
.mt-f { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font: 400 14px/1.4 var(--cuerpo); color: var(--wpl-sec); }

/* ── Quick Saturday Wins (sustituye «Will it fit?» en el mismo hueco de portada y 404) ── */
.fit-card { background: var(--wpl-teal-suave); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 28px; }
.wins-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.wins-head-l { display: flex; align-items: flex-start; gap: 14px; max-width: 660px; }
.wins-chk-badge {
  width: 36px; height: 36px; flex: none; margin-top: 4px; display: grid; place-items: center;
  background: var(--wpl-mostaza); color: var(--wpl-tinta); border: 2px solid var(--wpl-tinta); border-radius: 4px;
}
.wins-chk-badge .chk-ico { width: 20px; height: 20px; }
.fit-t { font: 400 36px/1.1 var(--display); color: var(--wpl-tinta); }
.fit-p { margin-top: 6px; font: 400 16px/1.5 var(--cuerpo); color: var(--wpl-tinta); }
.wins-total {
  background: var(--wpl-blanco); border: 2px solid var(--wpl-tinta); border-radius: 8px;
  padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; min-width: 210px;
}
.wins-total-k { font: 700 12px/1.35 var(--cuerpo); text-transform: uppercase; letter-spacing: 0.04em; color: var(--wpl-sec); }
.wins-total-v { font: 400 28px/1.3 var(--display); color: var(--wpl-teal); }
.wins-total-n { font: 600 14px/1.35 var(--cuerpo); color: var(--wpl-tinta); }

.wins-list { list-style: none; display: grid; gap: 12px; }
.win-row {
  display: grid; grid-template-columns: auto 76px minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  background: var(--wpl-blanco); border: 2px solid var(--wpl-filete); border-radius: 8px; padding: 12px 16px;
}
.win-row.is-done { border-color: var(--wpl-tinta); background: var(--wpl-mostaza-suave); }
.win-thumb { display: block; width: 76px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--wpl-bloque); }
.win-thumb img { width: 100%; height: 100%; object-fit: cover; }
.win-tit { font: 700 16px/1.35 var(--cuerpo); color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); }
.win-tit:hover, .win-tit:focus-visible { text-decoration: underline; }
.win-meta { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.win-time { font: 600 14px/1.3 var(--cuerpo); color: var(--wpl-sec); }
.win-costs { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.win-diy { font: 700 14px/1.3 var(--cuerpo); color: var(--wpl-teal); }
.win-pro { font: 700 14px/1.3 var(--cuerpo); color: var(--wpl-tinta); }
.fit-nota { margin-top: 16px; max-width: 68ch; font: 400 14px/1.5 var(--cuerpo); color: var(--wpl-sec); }

/* ── Las 4 bandas de portada (esqueleto Miles D: Air / Road / Rail / Sea adaptadas a Weekend) ── */
.ln-cab { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 24px; }
.ln-ico { width: 52px; height: 52px; border-radius: 8px; background: var(--c); color: var(--txt); border: 2px solid var(--wpl-tinta); display: grid; place-items: center; flex: none; }
.ln-ico .ico { width: 26px; height: 26px; }
.ln-t { font: 400 36px/52px var(--display); color: var(--wpl-tinta); }
.ln-frase { flex: 0 1 280px; font: 700 14px/1.35 var(--cuerpo); text-transform: uppercase; letter-spacing: 0.04em; color: var(--wpl-sec); }
.ln-ver { margin-left: auto; font: 700 16px/1 var(--cuerpo); color: var(--wpl-teal); text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ln-ver:hover, .ln-ver:focus-visible { text-decoration: underline; }

/* Banda 1 (Walls): foto heroica + tarjeta blanca flotante + 4 tarjetas subiendo sobre la foto */
.air-foto { position: relative; height: 480px; border-radius: 8px; overflow: hidden; background: var(--wpl-bloque); border: 2px solid var(--wpl-tinta); }
.air-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 28%; }
.air-card { position: absolute; left: 28px; top: 28px; width: min(360px, calc(100% - 56px)); background: var(--wpl-blanco); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 24px; }
.air-t { font: 400 28px/1.15 var(--display); }
.air-t a { color: var(--wpl-tinta); text-decoration: none; }
.air-p { margin: 12px 0 18px; font: 400 16px/1.5 var(--cuerpo); color: var(--wpl-sec); }
.air-fila { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: -56px 16px 0; }
.fl { position: relative; display: flex; flex-direction: column; background: var(--wpl-blanco); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 8px 8px 14px; transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1); }
.fl:hover { transform: translateY(-2px); }
.fl-foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--wpl-bloque); }
.fl-foto img { width: 100%; height: 100%; object-fit: cover; }
.fl-fila { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 12px 6px 0; }
.fl-t { font: 700 16px/1.3 var(--cuerpo); color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.fl-t::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.fl-t:hover, .fl-t:focus-visible { text-decoration: underline; }
.fl-flecha { font: 700 18px/1.2 var(--cuerpo); color: var(--wpl-teal); flex: none; }

/* Banda 2 (Quick Fixes & Symptoms): 5 tarjetas con postes sobre una cinta métrica de carpintero */
.road-esc { position: relative; border-radius: 8px; overflow: hidden; padding: 28px 24px 0; background: var(--wpl-mostaza-suave); border: 2px solid var(--wpl-tinta); }
.road-aviso { display: none; }
.road-l { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rc { position: relative; display: flex; padding-bottom: 52px; min-width: 0; }
.rc-c { position: relative; flex: 1 1 auto; min-width: 0; background: var(--wpl-blanco); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 8px 8px 12px; }
.rc-foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--wpl-bloque); }
.rc-foto img { width: 100%; height: 100%; object-fit: cover; }
.rc-t { display: block; padding: 10px 4px 0; font: 700 16px/1.3 var(--cuerpo); color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.rc-t::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.rc-t:hover, .rc-t:focus-visible { text-decoration: underline; }
.rc-poste { position: absolute; z-index: 2; left: 50%; bottom: -10px; width: 6px; height: 62px; margin-left: -3px; background: var(--wpl-tinta); }
.rc-poste::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 4px; background: var(--wpl-mostaza); border: 2px solid var(--wpl-tinta); }
.road-via { position: relative; z-index: 1; height: 40px; margin: 0 -24px; background: var(--wpl-mostaza); border-top: 2px solid var(--wpl-tinta); }
.road-via-ticks {
  display: block; width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Cpath d='M0 0V18M8 0V10M16 0V14M24 0V10' stroke='%231B1B1B' stroke-width='2'/%3E%3C/svg%3E") repeat-x top left;
}

/* Banda 3 (The Tool Shop): lista vertical de 6 guías con casillas + foto del kit básico */
.rail-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.rail-l { position: relative; list-style: none; padding: 0 0 0 42px; }
.rail-l::before { content: ""; position: absolute; left: 10px; top: 28px; bottom: 28px; width: 4px; background: var(--wpl-teal); }
.rail-l li { position: relative; border-bottom: 1px solid var(--wpl-filete); }
.rail-l li:last-child { border-bottom: 0; }
.rail-l li::before { content: ""; position: absolute; left: -42px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 4px; background: var(--wpl-mostaza); border: 2px solid var(--wpl-tinta); }
.rail-l a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 4px; font: 700 18px/1.3 var(--cuerpo); color: var(--wpl-tinta); text-decoration: none; text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.rail-l a::after { content: "\2192"; font: 700 18px/1 var(--cuerpo); flex: none; color: var(--wpl-teal); }
.rail-l a:hover, .rail-l a:focus-visible { text-decoration: underline; }
.rail-foto { position: relative; border-radius: 8px; overflow: hidden; min-height: 360px; background: var(--wpl-bloque); border: 2px solid var(--wpl-tinta); }
.rail-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Banda 4 (Renters & First-Home): bloque tono teal suave con filetes de regla + 3 filas + foto */
.sea-blq { position: relative; background: var(--wpl-teal-suave); border: 2px solid var(--wpl-tinta); border-radius: 8px; padding: 40px 28px; overflow: hidden; }
.sea-regla {
  position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 0V10M6 0V5M12 0V8M18 0V5' stroke='%230E5C63' stroke-width='1.5' opacity='0.35'/%3E%3C/svg%3E") repeat-x top left;
}
.sea-regla--abajo { top: auto; bottom: 0; transform: scaleY(-1); }
.sea-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.sea-l { list-style: none; display: grid; gap: 14px; align-content: start; }
.sl { display: grid; grid-template-columns: 120px minmax(0, 1fr) 24px; gap: 16px; align-items: center; background: var(--wpl-blanco); border: 2px solid var(--wpl-filete); border-radius: 8px; padding: 10px 16px 10px 10px; text-decoration: none; color: var(--wpl-tinta); transition: border-color 0.2s ease, transform 0.2s ease; }
.sl:hover { border-color: var(--wpl-tinta); transform: translateY(-2px); }
.sl-foto { display: block; align-self: stretch; min-height: 76px; overflow: hidden; border-radius: 4px; background: var(--wpl-bloque); }
.sl-foto img { width: 100%; height: 100%; object-fit: cover; }
.sl-t { font: 700 16px/1.3 var(--cuerpo); text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.sl:hover .sl-t, .sl:focus-visible .sl-t { text-decoration: underline; }
.sl-flecha { font: 700 18px/1 var(--cuerpo); color: var(--wpl-teal); }
.sea-foto { position: relative; border-radius: 8px; overflow: hidden; min-height: 320px; background: var(--wpl-bloque); border: 2px solid var(--wpl-tinta); }
.sea-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 24%; }

/* ── New here? Start with these (esqueleto Miles: 3 tarjetas grandes bajo barra con casillas) ── */
.ini-wrap { position: relative; margin-top: 24px; padding-top: 44px; }
.ini-linea { position: absolute; left: 0; right: 0; top: 10px; height: 8px; border-radius: 999px; background: var(--wpl-teal); }
.ini-l { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ini { position: relative; }
.ini-est { position: absolute; left: 50%; top: -44px; width: 28px; height: 28px; margin-left: -14px; border-radius: 4px; background: var(--wpl-mostaza); color: var(--wpl-tinta); border: 2px solid var(--wpl-tinta); display: grid; place-items: center; }
.ini-c { height: 100%; display: flex; align-items: center; gap: 16px; min-height: 136px; padding: 14px; background: var(--wpl-blanco); border: 2px solid var(--wpl-filete); border-radius: 8px; text-decoration: none; color: var(--wpl-tinta); transition: border-color 0.2s ease, transform 0.2s ease; }
.ini-c:hover { border-color: var(--wpl-tinta); transform: translateY(-2px); }
.ini-foto { flex: none; width: 120px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--wpl-bloque); }
.ini-foto img { width: 100%; height: 100%; object-fit: cover; }
.ini-txt { flex: 1 1 auto; min-width: 0; }
.ini-t { display: block; font: 400 18px/1.25 var(--display); text-underline-offset: 4px; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; }
.ini-p { display: block; margin-top: 6px; font: 400 14px/1.45 var(--cuerpo); color: var(--wpl-sec); }
.ini-c:hover .ini-t, .ini-c:focus-visible .ini-t { text-decoration: underline; }
.ini-flecha { flex: none; width: 34px; height: 34px; border-radius: 4px; background: var(--wpl-teal); color: var(--wpl-blanco); display: grid; place-items: center; font: 700 16px/1 var(--cuerpo); }

/* ── Pie oscuro (#1B1B1B, franja de 3 colores, logo oscuro del kit, columnas activas) ── */
.pie { margin-top: 80px; background: var(--wpl-tinta); color: var(--wpl-sec-osc); }
.pie-franja { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 8px; }
.pie-franja span:nth-child(1) { background: var(--wpl-teal); }
.pie-franja span:nth-child(2) { background: var(--wpl-mostaza); }
.pie-franja span:nth-child(3) { background: var(--wpl-oscuro-2); }
.pie-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 36px; padding-bottom: 30px; }
.pie-marca img { width: 210px; height: auto; }
.pie-que { margin-top: 12px; max-width: 34ch; font: 400 15px/1.5 var(--cuerpo); color: var(--wpl-sec-osc); }
.pie-t { font: 400 18px/1.25 var(--display); color: var(--wpl-blanco); margin-bottom: 10px; }
.pie-col ul { list-style: none; display: grid; gap: 6px; }
.pie-col a, .pie-legal a { font: 400 15px/1.4 var(--cuerpo); color: var(--wpl-sec-osc); text-decoration: none; text-underline-offset: 4px; }
.pie-col a:hover, .pie-col a:focus-visible, .pie-legal a:hover, .pie-legal a:focus-visible { color: var(--wpl-blanco); text-decoration: underline; }
.pie-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding-top: 22px; padding-bottom: calc(80px + var(--pie-anuncio, 0px)); border-top: 1px solid var(--wpl-oscuro-2); font: 400 14px/1.5 var(--cuerpo); color: var(--wpl-sec-osc); }
.pie-base p { margin: 0; max-width: 68ch; }
.pie-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pie-legal a { font-size: 14px; }
.pie a:focus-visible { outline-color: var(--wpl-mostaza); }

/* Botón volver arriba (esqueleto Miles con aro mostaza y compensación Mediavine --pie-anuncio) */
.subir { position: fixed; right: 20px; z-index: 30;
  bottom: calc(20px + var(--pie-anuncio, 0px) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, bottom 0.25s ease; }
.subir.ve { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.subir svg { width: 52px; height: 52px; display: block; border-radius: 999px; }
.subir-fondo { fill: var(--wpl-tinta); stroke: var(--wpl-blanco); stroke-width: 2; }
.subir-pista { fill: none; stroke: var(--wpl-oscuro-2); stroke-width: 3; }
.subir-aro { fill: none; stroke: var(--wpl-mostaza); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: var(--subido, 0) 100; transform: rotate(-90deg); transform-origin: 28px 28px; }
.subir-flecha { fill: none; stroke: var(--wpl-blanco); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.subir-rot { padding: 6px 10px; border-radius: 4px; background: var(--wpl-tinta); color: var(--wpl-blanco);
  font: 700 14px/1.2 var(--cuerpo); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.subir:hover .subir-rot, .subir:focus-visible .subir-rot { opacity: 1; transform: none; }
.subir:focus-visible { outline: none; }
.subir:focus-visible svg { outline: 3px solid var(--wpl-mostaza); outline-offset: 3px; }

/* ── Tableta < 1024 px ── */
@media (max-width: 1023px) {
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt--g, .mt--s { grid-column: span 1; }
  .air-fila { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road-aviso { display: block; margin: 0 0 10px; font: 700 14px/1.3 var(--cuerpo); color: var(--wpl-tinta); }
  .road-l { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .rc { scroll-snap-align: start; padding-bottom: 32px; }
  .rc-poste { bottom: 0; height: 32px; }
  .rc-poste::after { display: none; }
  .rail-g { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rail-foto { min-height: 0; height: 280px; }
  .sea-g { grid-template-columns: minmax(0, 1fr); }
  .sea-foto { min-height: 0; height: 280px; }
  .ini-l { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ini-wrap { padding: 0 0 0 40px; margin-top: 24px; }
  .ini-linea { left: 10px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .ini-est { left: -40px; top: 50%; margin-left: 0; margin-top: -14px; }
  .pie-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie-marca { grid-column: 1 / -1; }
}

/* ── Celular < 640 px ── */
@media (max-width: 639px) {
  body { font-size: 16px; line-height: 1.55; }
  .cont, .panel-in { padding-left: 16px; padding-right: 16px; }
  .h2, .fit-t, .ln-t { font-size: 28px; }
  .fit, .ln, .blq--ini { margin-top: 52px; }
  .mosaico { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mt--s { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "f f" "p t"; align-items: stretch; }
  .mt--s .mt-franja { grid-area: f; font: 700 13px/1.2 var(--cuerpo); padding: 8px 12px; }
  .mt--s .mt-foto { grid-area: p; aspect-ratio: 4 / 3; align-self: center; margin: 10px 0 10px 10px; border-radius: 4px; }
  .mt--s .mt-txt { grid-area: t; padding: 10px 12px 12px; align-self: center; }
  .mt--s .mt-t { font: 700 16px/1.3 var(--cuerpo); }
  .mt--g .mt-t { font-size: 22px; }
  .fit-card { padding: 16px; }
  .wins-total { min-width: 0; width: 100%; }
  .win-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; padding: 12px; }
  .win-thumb { display: none; }
  .win-meta { grid-column: 2; flex-wrap: wrap; white-space: normal; }
  .win-costs { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; white-space: normal; gap: 4px 12px; }
  .puerta-banda { font-size: 18px; padding: 0 10px; gap: 8px; }
  .ln-ico { width: 44px; height: 44px; }
  .ln-t { line-height: 44px; }
  .ln-frase { flex: 1 1 100%; order: 3; }
  .ln-ver { order: 2; }
  .air-foto { height: auto; display: flex; flex-direction: column; background: transparent; border: 0; overflow: visible; }
  .air-foto > img { position: static; height: 220px; border-radius: 8px; border: 2px solid var(--wpl-tinta); }
  .air-card { position: relative; left: auto; top: auto; width: auto; margin: -36px 10px 0; }
  .air-t { font-size: 22px; }
  .air-fila { margin: 14px 0 0; gap: 12px; grid-template-columns: minmax(0, 1fr); }
  .road-esc { padding: 20px 14px 0; }
  .road-via { margin: 0 -14px; }
  .road-l { grid-auto-columns: 76%; }
  .rail-l a { font-size: 16px; min-height: 56px; }
  .sea-blq { padding: 28px 14px; }
  .sl { grid-template-columns: 92px minmax(0, 1fr) 20px; gap: 12px; }
  .ini-c { min-height: 0; }
  .ini-foto { width: 92px; }
  .pie { margin-top: 60px; }
  .pie-in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 36px; }
  .pie-marca img { width: 190px; }
  .subir { right: 14px; }
  .subir svg { width: 46px; height: 46px; }
  .subir-rot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.mq-autor { color: inherit; text-decoration: none; }
.mq-autor:hover, .mq-autor:focus-visible { text-decoration: underline; text-decoration-color: var(--wpl-teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
