/* ==========================================================
   TENDENCIAS 0341 — "El Probador"
   Sistema visual de la tienda pública: lujo nocturno.
   Terciopelo negro, bronce, oro como luz y línea.
   ========================================================== */

:root {
    /* Paleta de marca (no cambiar) */
    --pb-black: #000000;
    --pb-velvet: #0B0A09;
    --pb-coal: #1A1A1A;
    --pb-gold: #D4AF37;
    --pb-gold-soft: #E8D7A8;
    --pb-bronze: #8B7355;
    --pb-smoke: #F5F5F5;
    --pb-white: #FFFFFF;

    /* Derivados para texto y líneas sobre negro */
    --pb-ink: #EFE6CF;            /* texto principal sobre negro */
    --pb-ink-dim: #B9AC8C;        /* texto secundario sobre negro (contraste AA) */
    --pb-line: rgba(212, 175, 55, 0.28);
    --pb-line-strong: rgba(212, 175, 55, 0.6);
    --pb-glow: rgba(212, 175, 55, 0.18);

    --pb-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
    --pb-sans: 'Jost', 'Futura', 'Century Gothic', sans-serif;

    --pb-gutter: clamp(16px, 4vw, 56px);
    --pb-max: 1440px;
    --pb-header-h: 84px;

    --pb-ease: cubic-bezier(0.19, 1, 0.22, 1);
    --pb-ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body.pb {
    margin: 0;
    background: var(--pb-velvet);
    color: var(--pb-ink);
    font-family: var(--pb-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.pb ::selection { background: var(--pb-gold); color: var(--pb-black); }
body.pb { caret-color: var(--pb-gold); scrollbar-color: var(--pb-bronze) var(--pb-black); }
body.pb::-webkit-scrollbar { width: 10px; }
body.pb::-webkit-scrollbar-track { background: var(--pb-black); }
body.pb::-webkit-scrollbar-thumb { background: var(--pb-bronze); border: 3px solid var(--pb-black); }

body.pb :focus-visible {
    outline: 1px solid var(--pb-gold);
    outline-offset: 4px;
}

body.pb img { max-width: 100%; display: block; }

.pb-skip {
    position: absolute; left: -9999px; top: 8px; z-index: 10001;
    background: var(--pb-gold); color: var(--pb-black); padding: 10px 16px;
    font: 500 0.85rem/1 var(--pb-sans); letter-spacing: 0.12em; text-transform: uppercase;
}
.pb-skip:focus { left: 8px; }

.pb-wrap {
    width: 100%;
    max-width: var(--pb-max);
    margin: 0 auto;
    padding-left: var(--pb-gutter);
    padding-right: var(--pb-gutter);
    box-sizing: border-box;
}

/* ---------- Tipografía ---------- */

.pb-display {
    font-family: var(--pb-display);
    font-weight: 400;
    font-optical-sizing: auto;
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--pb-ink);
    margin: 0;
    text-wrap: balance;
}
.pb-display em { font-style: italic; color: var(--pb-gold); }

.pb-h1 { font-size: clamp(3rem, 7.2vw, 6rem); }
.pb-h2 { font-size: clamp(2.3rem, 4.6vw, 4.25rem); }
.pb-h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.08; }

.pb-lead {
    font-size: clamp(1.08rem, 1.3vw, 1.25rem);
    line-height: 1.6;
    color: var(--pb-ink-dim);
    max-width: 44ch;
    margin: 0;
    text-wrap: pretty;
}

.pb-body { color: var(--pb-ink-dim); max-width: 62ch; text-wrap: pretty; }
.pb-body p { margin: 0 0 1.1em; }

.pb-meta {
    font-family: var(--pb-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pb-gold-soft);
}

/* ---------- Acciones ---------- */

.pb-btn {
    --btn-fg: var(--pb-black);
    --btn-bg: var(--pb-gold);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 30px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--pb-gold);
    font: 500 0.82rem/1 var(--pb-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.5s var(--pb-ease), color 0.5s var(--pb-ease), box-shadow 0.5s var(--pb-ease);
    isolation: isolate;
}
.pb-btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--pb-ease); }
.pb-btn:hover { background: var(--pb-gold-soft); box-shadow: 0 10px 30px -12px rgba(212, 175, 55, 0.55); }
.pb-btn:hover svg { transform: translateX(4px); }

.pb-btn--ghost {
    --btn-fg: var(--pb-gold-soft);
    --btn-bg: transparent;
    border-color: var(--pb-line-strong);
}
.pb-btn--ghost:hover { background: rgba(212, 175, 55, 0.08); color: var(--pb-gold); box-shadow: none; }

.pb-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--pb-gold);
    font: 500 0.8rem/1 var(--pb-sans);
    letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    background: linear-gradient(var(--pb-gold), var(--pb-gold)) left bottom / 0 1px no-repeat;
    transition: background-size 0.6s var(--pb-ease);
}
.pb-link:hover { background-size: 100% 1px; }
.pb-link svg { width: 16px; height: 16px; }

/* ==========================================================
   HEADER
   ========================================================== */

/* Cápsula elíptica flotante, filete de oro de 1px y corona de eclipse arriba */
.pb-header {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 1000;
    width: min(1180px, calc(100% - 2 * var(--pb-gutter)));
    height: 60px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(8, 7, 6, 0.42);
    border: 1px solid rgba(212, 175, 55, 0.35);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    transition: background 0.6s var(--pb-ease), border-color 0.6s var(--pb-ease), top 0.6s var(--pb-ease), box-shadow 0.6s var(--pb-ease);
}
/* corona: un arco de luz que roza el borde superior de la elipse */
.pb-header::before {
    content: '';
    position: absolute;
    left: 18%; right: 18%; top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pb-gold-soft) 50%, transparent);
    box-shadow: 0 0 14px 1px rgba(232, 215, 168, 0.55);
    border-radius: 50%;
    pointer-events: none;
}
.pb-header.is-solid {
    top: 10px;
    background: rgba(0, 0, 0, 0.82);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.pb-header__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 0 10px 0 30px;
}
.pb-header__logo { justify-self: center; display: block; line-height: 0; }
.pb-header__logo img { height: 32px; width: auto; }

.pb-nav { justify-self: start; }
.pb-nav ul { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.pb-nav a {
    color: var(--pb-ink);
    font: 400 0.72rem/1 var(--pb-sans);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color 0.4s var(--pb-ease);
}
.pb-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--pb-gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s var(--pb-ease);
}
.pb-nav a:hover, .pb-nav a[aria-current="page"] { color: var(--pb-gold); }
.pb-nav a:hover::after, .pb-nav a[aria-current="page"]::after { transform: scaleX(1); }

.pb-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.pb-icon-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    color: var(--pb-ink);
    background: none; border: 0; cursor: pointer;
    text-decoration: none;
    transition: color 0.4s var(--pb-ease);
}
.pb-icon-btn:hover { color: var(--pb-gold); }
.pb-icon-btn svg { width: 21px; height: 21px; }
.pb-icon-btn .cart-badge {
    position: absolute; top: 6px; right: 4px;
    min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box;
    background: var(--pb-gold); color: var(--pb-black);
    border-radius: 9px;
    font: 600 0.66rem/17px var(--pb-sans); text-align: center;
    font-variant-numeric: tabular-nums;
}
.pb-menu-btn { display: none; }

@media (max-width: 1120px) {
    .pb-nav { display: none; }
    .pb-menu-btn { display: inline-flex; }
    .pb-header { height: 54px; top: 10px; }
    .pb-header__row { grid-template-columns: 44px 1fr auto; padding: 0 6px; }
    .pb-header__logo img { height: 26px; }
}

/* Menú móvil: telón que baja */
.pb-drawer {
    position: fixed; inset: 0; z-index: 1100;
    background: var(--pb-black);
    display: flex; flex-direction: column;
    padding: 0 var(--pb-gutter) 32px;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.8s var(--pb-ease), visibility 0s linear 0.8s;
    overflow-y: auto;
}
.pb-drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--pb-ease), visibility 0s; }
.pb-drawer__top { height: var(--pb-header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--pb-line); }
.pb-drawer__top img { height: 34px; width: auto; }
.pb-drawer nav ul { list-style: none; margin: 28px 0 0; padding: 0; }
.pb-drawer nav li { border-bottom: 1px solid rgba(212,175,55,0.14); }
.pb-drawer nav a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 18px 0;
    font: 400 2.1rem/1.1 var(--pb-display);
    color: var(--pb-ink); text-decoration: none;
    transform: translateY(14px); opacity: 0;
    transition: transform 0.7s var(--pb-ease), opacity 0.7s var(--pb-ease), color 0.3s;
}
.pb-drawer nav a small { font: 400 0.72rem/1 var(--pb-sans); letter-spacing: 0.22em; color: var(--pb-bronze); }
.pb-drawer.is-open nav a { transform: none; opacity: 1; }
.pb-drawer.is-open nav li:nth-child(2) a { transition-delay: 0.05s; }
.pb-drawer.is-open nav li:nth-child(3) a { transition-delay: 0.1s; }
.pb-drawer.is-open nav li:nth-child(4) a { transition-delay: 0.15s; }
.pb-drawer.is-open nav li:nth-child(5) a { transition-delay: 0.2s; }
.pb-drawer.is-open nav li:nth-child(6) a { transition-delay: 0.25s; }
.pb-drawer nav a:hover, .pb-drawer nav a[aria-current="page"] { color: var(--pb-gold); }
.pb-drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.pb-drawer__foot p { margin: 0; color: var(--pb-ink-dim); font-size: 0.95rem; }

body.pb-lock { overflow: hidden; }

/* WhatsApp flotante */
.pb-wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 990;
    display: inline-grid; grid-template-columns: auto 0fr; align-items: center; gap: 0;
    height: 54px; padding: 0 17px;
    background: var(--pb-black); color: var(--pb-gold);
    border: 1px solid var(--pb-line-strong);
    border-radius: 27px;
    text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.8);
    transition: background 0.5s var(--pb-ease), color 0.5s var(--pb-ease), gap 0.5s var(--pb-ease), grid-template-columns 0.6s var(--pb-ease);
}
.pb-wa svg { width: 20px; height: 20px; flex: none; }
.pb-wa span {
    min-width: 0; overflow: hidden; white-space: nowrap;
    font: 500 0.74rem/1 var(--pb-sans); letter-spacing: 0.18em; text-transform: uppercase;
}
.pb-wa:hover { background: var(--pb-gold); color: var(--pb-black); gap: 12px; grid-template-columns: auto 1fr; }

/* Contenido: compensar header fijo en páginas sin hero */
.main-content { padding-top: var(--pb-header-h); }
body.pb--hero .main-content { padding-top: 0; }

/* ==========================================================
   PLACA 3D + LÍNEA DE ORO  (firma del sitio)
   ========================================================== */

.pb-plate {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --rest-y: -9deg;
    --rest-x: 3deg;
    position: relative;
    perspective: 1400px;
    margin: 0;
}
.pb-plate--left { --rest-y: 9deg; }
.pb-plate--flat { --rest-y: 0deg; --rest-x: 0deg; }

.pb-plate__body {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--rest-y) + var(--tilt-y))) rotateX(calc(var(--rest-x) + var(--tilt-x)));
    transition: transform 1.2s var(--pb-ease);
    will-change: transform;
}
.pb-plate.is-tilting .pb-plate__body { transition: transform 0.25s var(--pb-ease-soft); }

/* Canto de la placa: da espesor */
.pb-plate__body::before {
    content: '';
    position: absolute; inset: 0;
    transform: translateZ(-14px);
    background: linear-gradient(135deg, #3a2f20, #120f0a 60%);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.95), 0 18px 40px -20px rgba(212,175,55,0.12);
}

.pb-plate__frame {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #0f0d0a;
}

.pb-plate__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(0.6) saturate(0.7);
    transition: opacity 1.4s var(--pb-ease) 0.5s, transform 2.2s var(--pb-ease) 0.5s, filter 2.2s var(--pb-ease) 0.5s;
}
.pb-plate.is-lit .pb-plate__img { opacity: 1; transform: scale(1); filter: brightness(1) saturate(1); }

/* brillo especular que sigue la inclinación */
.pb-plate__sheen {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 80% at var(--sheen-x, 30%) var(--sheen-y, 0%), rgba(232,215,168,0.16), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 1s var(--pb-ease) 1s;
}
.pb-plate.is-lit .pb-plate__sheen { opacity: 1; }

/* Contorno de oro que se dibuja */
.pb-plate__line {
    position: absolute;
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    overflow: visible;
    pointer-events: none;
    transform: translateZ(6px);
}
.pb-plate__line rect {
    fill: none;
    stroke: var(--pb-gold);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s var(--pb-ease-soft);
}
.pb-plate.is-drawing .pb-plate__line rect,
.pb-plate.is-lit .pb-plate__line rect { stroke-dashoffset: 0; }
/* mientras la foto no llegó, la línea respira */
.pb-plate.is-drawing:not(.is-lit) .pb-plate__line rect { animation: pb-breathe 1.8s ease-in-out 1.6s infinite; }
@keyframes pb-breathe { 50% { stroke: var(--pb-bronze); } }

/* Etiqueta colgante (hang tag) */
.pb-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 12px;
    background: var(--pb-gold-soft);
    color: var(--pb-black);
    font: 500 0.7rem/1 var(--pb-sans);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: translateZ(30px);
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
    padding-left: 22px;
}
.pb-tag::before {
    content: ''; position: absolute; left: 11px; top: 50%;
    width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
    background: var(--pb-velvet);
}
.pb-tag b { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .pb-plate__body, .pb-plate__img, .pb-plate__line rect, .pb-plate__sheen { transition: none !important; animation: none !important; }
    .pb-plate__img { opacity: 1; transform: none; filter: none; }
    .pb-plate__line rect { stroke-dashoffset: 0; }
}

/* Aparición suave de bloques (visibles por defecto sin JS) */
.pb-js .pb-rise { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--pb-ease), transform 1.1s var(--pb-ease); }
.pb-js .pb-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pb-js .pb-rise { opacity: 1; transform: none; transition: none; } }

/* Filete de oro con rombo */
.pb-rule { display: flex; align-items: center; gap: 14px; color: var(--pb-gold); }
.pb-rule::before, .pb-rule::after { content: ''; height: 1px; flex: 1; background: var(--pb-line-strong); }
.pb-rule i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--pb-gold); display: block; }

/* ==========================================================
   HOME
   ========================================================== */

/* --- Primer viewport --- */
.pb-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: calc(var(--pb-header-h) + 24px) 0 72px;
    overflow: hidden;
    background:
        radial-gradient(60% 55% at 72% 18%, rgba(212,175,55,0.14), transparent 70%),
        var(--pb-black);
}
.pb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 88px);
    align-items: center;
}
.pb-hero__copy { position: relative; z-index: 2; display: grid; gap: 30px; }
.pb-hero__title { font-size: clamp(3.4rem, 7.4vw, 6rem); }
.pb-hero__title span { display: block; }
.pb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.pb-hero__place {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    padding-top: 24px; border-top: 1px solid var(--pb-line);
    color: var(--pb-ink-dim); font-size: 0.95rem;
}
.pb-hero__place strong { color: var(--pb-gold-soft); font-weight: 500; letter-spacing: 0.04em; }

.pb-hero__stage { position: relative; height: min(78svh, 760px); }
.pb-hero__stage .pb-plate { position: absolute; }
.pb-hero__main { inset: 0 8% 0 14%; }
.pb-hero__side { width: 30%; aspect-ratio: 3 / 4; left: 0; bottom: 7%; z-index: 2; }
.pb-hero__main .pb-tag { right: -6px; top: 12%; }
.pb-hero__spot {
    position: absolute; left: 50%; top: -18%; width: 70%; aspect-ratio: 1;
    transform: translateX(-40%);
    background: radial-gradient(closest-side, rgba(232,215,168,0.22), transparent);
    pointer-events: none; filter: blur(10px);
}

@media (max-width: 900px) {
    .pb-hero { padding-top: calc(var(--pb-header-h) + 8px); padding-bottom: 56px; align-items: start; }
    .pb-hero__grid { grid-template-columns: 1fr; }
    .pb-hero__stage { order: -1; height: 58svh; min-height: 380px; }
    .pb-hero__main { inset: 0 4% 0 12%; }
    .pb-hero__side { width: 34%; bottom: -4%; }
}

/* --- Banda: nos mudamos --- */
.pb-move {
    position: relative;
    background: var(--pb-gold);
    color: var(--pb-black);
}
.pb-move__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(16px, 4vw, 56px);
    align-items: center;
    padding-top: 26px; padding-bottom: 26px;
}
.pb-move__label { font: 500 0.74rem/1.2 var(--pb-sans); letter-spacing: 0.24em; text-transform: uppercase; }
.pb-move__addr { font: 400 clamp(1.7rem, 3.2vw, 2.6rem)/1.05 var(--pb-display); letter-spacing: -0.01em; }
.pb-move__addr em { font-style: italic; }
.pb-move a {
    color: var(--pb-black); text-decoration: none;
    font: 500 0.78rem/1 var(--pb-sans); letter-spacing: 0.2em; text-transform: uppercase;
    display: inline-flex; gap: 10px; align-items: center;
    border-bottom: 1px solid currentColor; padding: 8px 0;
}
.pb-move a svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
    .pb-move__row { grid-template-columns: 1fr; gap: 8px; }
}

/* --- Secciones genéricas --- */
.pb-section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.pb-section--black { background: var(--pb-black); }
.pb-section--coal { background: var(--pb-coal); }

.pb-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); max-width: 760px; }
.pb-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px 64px;
}
@media (max-width: 860px) { .pb-head--split { grid-template-columns: 1fr; } }

/* --- Colecciones: tres placas --- */
.pb-lines {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
}
.pb-line { text-decoration: none; color: inherit; display: grid; gap: 22px; }
.pb-line:nth-child(1) { grid-column: 1 / span 5; }
.pb-line:nth-child(2) { grid-column: 6 / span 4; margin-top: clamp(40px, 8vw, 120px); }
.pb-line:nth-child(3) { grid-column: 10 / span 3; margin-top: clamp(16px, 3vw, 40px); }
.pb-line .pb-plate { aspect-ratio: 3 / 4; }
.pb-line:nth-child(3) .pb-plate { aspect-ratio: 2 / 3; }
.pb-line .pb-tag { left: -8px; bottom: 18px; }
.pb-line__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--pb-line); padding-top: 16px; }
.pb-line__foot .pb-h3 { transition: color 0.4s var(--pb-ease); }
.pb-line:hover .pb-line__foot .pb-h3 { color: var(--pb-gold); }
.pb-line__foot span { color: var(--pb-ink-dim); font-size: 0.92rem; white-space: nowrap; }

@media (max-width: 860px) {
    .pb-lines { grid-template-columns: 1fr 1fr; }
    .pb-line:nth-child(1) { grid-column: 1 / -1; }
    .pb-line:nth-child(2) { grid-column: 1; margin-top: 0; }
    .pb-line:nth-child(3) { grid-column: 2; margin-top: 48px; }
    .pb-line:nth-child(3) .pb-plate { aspect-ratio: 3 / 4; }
    .pb-line .pb-h3 { font-size: 1.5rem; }
    .pb-line__foot { flex-direction: column; gap: 4px; }
}

/* --- Jeans + cinta métrica --- */
.pb-jeans {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 110px);
    align-items: center;
}
.pb-jeans .pb-plate { aspect-ratio: 4 / 5; }
.pb-jeans__copy { display: grid; gap: 28px; }

.pb-tape {
    position: relative;
    background: linear-gradient(180deg, #e4c867, var(--pb-gold) 45%, #b8952c);
    color: var(--pb-black);
    height: 92px;
    box-shadow: 0 20px 40px -24px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.35);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin: 8px 0;
}
.pb-tape::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 26px;
    background:
        repeating-linear-gradient(90deg, rgba(0,0,0,0.75) 0 1px, transparent 1px 10px),
        repeating-linear-gradient(90deg, rgba(0,0,0,0.9) 0 1px, transparent 1px 50px);
    background-size: 100% 12px, 100% 22px;
    background-repeat: no-repeat;
}
.pb-tape__cell {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 14px 12px;
    border-left: 1px solid rgba(0,0,0,0.5);
}
.pb-tape__cell:first-child { border-left: 0; }
.pb-tape__cell b { font: 400 1.9rem/1 var(--pb-display); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.pb-tape__cell span { font: 500 0.68rem/1.3 var(--pb-sans); letter-spacing: 0.18em; text-transform: uppercase; }

@media (max-width: 860px) {
    .pb-jeans { grid-template-columns: 1fr; }
    .pb-tape__cell b { font-size: 1.5rem; }
    .pb-tape__cell { padding: 0 10px 10px; }
}

/* --- El probador (asesoramiento) --- */
.pb-fitting {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 100px);
    align-items: end;
}
.pb-fitting .pb-plate { aspect-ratio: 5 / 6; }
.pb-fitting__copy { display: grid; gap: 28px; padding-bottom: clamp(0px, 4vw, 48px); }
.pb-quote {
    margin: 0;
    font: italic 400 clamp(1.7rem, 2.8vw, 2.5rem)/1.2 var(--pb-display);
    color: var(--pb-gold-soft);
    text-wrap: balance;
}
.pb-quote cite { display: block; margin-top: 18px; font: 500 0.74rem/1 var(--pb-sans); font-style: normal; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pb-bronze); }
.pb-promises { list-style: none; margin: 0; padding: 0; display: grid; }
.pb-promises li {
    display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: baseline;
    padding: 14px 0; border-top: 1px solid var(--pb-line);
    color: var(--pb-ink);
}
.pb-promises li::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--pb-gold); transform: rotate(45deg) translateY(-2px); }

@media (max-width: 860px) { .pb-fitting { grid-template-columns: 1fr; } }

/* --- Novedades (productos reales) --- */
.pb-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 22%);
    gap: clamp(20px, 2.6vw, 36px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 4px 36px;
    scrollbar-width: thin;
    scrollbar-color: var(--pb-bronze) transparent;
}
.pb-product { scroll-snap-align: start; text-decoration: none; color: inherit; display: grid; gap: 18px; }
.pb-product .pb-plate { aspect-ratio: 3 / 4; --rest-y: -6deg; }
.pb-product .pb-tag { right: -6px; bottom: 16px; }
.pb-product__name { font: 400 1.2rem/1.25 var(--pb-display); margin: 0; color: var(--pb-ink); transition: color 0.4s var(--pb-ease); }
.pb-product:hover .pb-product__name { color: var(--pb-gold); }
.pb-product__price { color: var(--pb-ink-dim); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .pb-rail { grid-auto-columns: 70%; } }

/* --- Visitá el local --- */
.pb-visit {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 100px);
    align-items: center;
}
.pb-visit .pb-plate { aspect-ratio: 16 / 10; }
.pb-facts { display: grid; gap: 0; margin: 0; }
.pb-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--pb-line); }
.pb-facts dt { font: 500 0.72rem/1.9 var(--pb-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pb-bronze); }
.pb-facts dd { margin: 0; color: var(--pb-ink); }
.pb-facts a { color: var(--pb-ink); text-decoration-color: var(--pb-line-strong); text-underline-offset: 4px; }
.pb-facts a:hover { color: var(--pb-gold); }
@media (max-width: 860px) {
    .pb-visit { grid-template-columns: 1fr; }
    .pb-visit .pb-plate { order: -1; }
    .pb-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================
   PÁGINAS INTERIORES (Nosotros, Contacto, Info…)
   ========================================================== */

.pb-page-head {
    position: relative;
    padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
    background: radial-gradient(50% 70% at 80% 0%, rgba(212,175,55,0.12), transparent 70%), var(--pb-black);
    border-bottom: 1px solid var(--pb-line);
}
.pb-page-head__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
@media (max-width: 860px) { .pb-page-head__row { grid-template-columns: 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */

.pb-footer { background: var(--pb-black); color: var(--pb-ink-dim); border-top: 1px solid var(--pb-line); }

.pb-news { padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--pb-line); }
.pb-news__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 72px; align-items: end; }
.pb-news form { display: grid; gap: 10px; }
.pb-news__field { display: flex; border-bottom: 1px solid var(--pb-line-strong); transition: border-color 0.4s; }
.pb-news__field:focus-within { border-color: var(--pb-gold); }
.pb-news input {
    flex: 1; min-width: 0;
    background: transparent; border: 0; outline: 0;
    color: var(--pb-ink); font: 400 1.15rem/1 var(--pb-sans);
    padding: 16px 0;
}
.pb-news input::placeholder { color: #8f846a; }
.pb-news button {
    background: none; border: 0; cursor: pointer;
    color: var(--pb-gold); font: 500 0.78rem/1 var(--pb-sans); letter-spacing: 0.2em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px; padding: 0 0 0 16px;
}
.pb-news button svg { width: 18px; height: 18px; transition: transform 0.5s var(--pb-ease); }
.pb-news button:hover svg { transform: translateX(4px); }
.pb-news small { color: #8f846a; font-size: 0.85rem; }
.newsletter-mensaje { font-size: 0.95rem; padding: 10px 0; }
.newsletter-mensaje.exito { color: var(--pb-gold); }
.newsletter-mensaje.error { color: #E8A29A; }
.newsletter-mensaje.info { color: var(--pb-gold-soft); }
@media (max-width: 860px) { .pb-news__row { grid-template-columns: 1fr; } }

.pb-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
    gap: 40px;
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: 56px;
}
.pb-footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.pb-footer__brand p { margin: 0; max-width: 34ch; }
.pb-footer h4 { margin: 0 0 18px; font: 500 0.72rem/1 var(--pb-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--pb-gold-soft); }
.pb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pb-footer a { color: var(--pb-ink-dim); text-decoration: none; transition: color 0.3s; }
.pb-footer a:hover { color: var(--pb-gold); }
.pb-footer address { font-style: normal; display: grid; gap: 10px; }
.pb-social { display: flex; gap: 8px; margin-top: 22px; }
.pb-social a {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--pb-line); color: var(--pb-gold-soft);
    transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.pb-social a:hover { border-color: var(--pb-gold); color: var(--pb-black); background: var(--pb-gold); }
.pb-social svg { width: 18px; height: 18px; }
.pb-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(212,175,55,0.14);
    font-size: 0.85rem; color: #8f846a;
}
@media (max-width: 960px) { .pb-footer__grid { grid-template-columns: 1fr 1fr; } .pb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pb-footer__grid { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
    .pb-plate { --rest-y: -5deg; --rest-x: 2deg; }
    .pb-plate--left { --rest-y: 5deg; }
    .pb-plate--flat { --rest-y: 0deg; --rest-x: 0deg; }
    .pb-wa { bottom: 14px; right: 14px; height: 50px; padding: 0 15px; }
}

/* ==========================================================
   NOSOTROS
   ========================================================== */
.pb-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 7vw, 120px);
    align-items: start;
}
.pb-story__aside { position: sticky; top: calc(var(--pb-header-h) + 32px); }
.pb-story__aside .pb-plate { aspect-ratio: 4 / 5; }
.pb-story__text { font-size: 1.12rem; line-height: 1.85; max-width: 64ch; }
.pb-story__text p { margin: 0 0 1.4em; }
.pb-story__first { color: var(--pb-ink); font-size: 1.28rem; line-height: 1.7; }
.pb-story__first::first-letter {
    float: left;
    font: 400 5.2rem/0.8 var(--pb-display);
    color: var(--pb-gold);
    padding: 8px 12px 0 0;
}
.pb-story__quote { margin: 2.2em 0; padding: 1.2em 0; border-top: 1px solid var(--pb-line); border-bottom: 1px solid var(--pb-line); }
.pb-signature { font: italic 400 3rem/1 var(--pb-display) !important; color: var(--pb-gold); margin-top: 1.2em !important; }

.pb-trio { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: clamp(16px, 3vw, 40px); align-items: end; }
.pb-trio .pb-plate:nth-child(1) { aspect-ratio: 3 / 4; }
.pb-trio .pb-plate:nth-child(2) { aspect-ratio: 4 / 5; }
.pb-trio .pb-plate:nth-child(3) { aspect-ratio: 2 / 3; }
.pb-close { display: grid; gap: 30px; justify-items: center; text-align: center; margin-top: clamp(72px, 10vw, 140px); }

@media (max-width: 860px) {
    .pb-story__grid { grid-template-columns: 1fr; }
    .pb-story__aside { position: relative; top: 0; max-width: 420px; }
    .pb-trio { grid-template-columns: 1fr 1fr; }
    .pb-trio .pb-plate:nth-child(3) { display: none; }
}

/* ==========================================================
   CONTACTO
   ========================================================== */
.pb-contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.pb-form { display: grid; gap: 26px; }
.pb-field { display: grid; gap: 8px; }
.pb-field label { font: 500 0.72rem/1 var(--pb-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pb-gold-soft); }
.pb-field label span { color: var(--pb-bronze); letter-spacing: 0.1em; text-transform: none; font-weight: 400; }
.pb-field input, .pb-field textarea {
    width: 100%; box-sizing: border-box;
    background: transparent; color: var(--pb-ink);
    border: 0; border-bottom: 1px solid var(--pb-line-strong);
    padding: 12px 0; font: 400 1.08rem/1.5 var(--pb-sans);
    border-radius: 0; outline: 0;
    transition: border-color 0.4s var(--pb-ease);
}
.pb-field textarea { min-height: 140px; resize: vertical; }
.pb-field input::placeholder, .pb-field textarea::placeholder { color: #8f846a; }
.pb-field input:focus, .pb-field textarea:focus { border-bottom-color: var(--pb-gold); }
.pb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pb-alert { padding: 16px 18px; border: 1px solid var(--pb-line-strong); color: var(--pb-ink); }
.pb-alert--ok { border-color: var(--pb-gold); color: var(--pb-gold-soft); }
.pb-alert--error { border-color: #E8A29A; color: #F0C2BC; }
.pb-map { position: relative; margin-top: 36px; border: 1px solid var(--pb-line); }
.pb-map iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.25); }
@media (max-width: 860px) {
    .pb-contact { grid-template-columns: 1fr; }
    .pb-field-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   INFO (lectura)
   ========================================================== */
.pb-info__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.pb-info__nav { position: sticky; top: calc(var(--pb-header-h) + 32px); display: grid; border-left: 1px solid var(--pb-line); }
.pb-info__nav a {
    padding: 10px 0 10px 20px; margin-left: -1px;
    border-left: 1px solid transparent;
    color: var(--pb-ink-dim); text-decoration: none; font-size: 0.98rem;
    transition: color 0.3s, border-color 0.3s;
}
.pb-info__nav a:hover { color: var(--pb-gold-soft); }
.pb-info__nav a[aria-current] { color: var(--pb-gold); border-left-color: var(--pb-gold); }

.info-content { max-width: 760px; }
.info-section { padding: 0 0 clamp(64px, 8vw, 110px); scroll-margin-top: calc(var(--pb-header-h) + 24px); }
.info-section + .info-section { padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--pb-line); }
.info-section .section-title { font: 400 clamp(2.2rem, 4vw, 3.4rem)/1 var(--pb-display); letter-spacing: -0.02em; color: var(--pb-ink); margin: 0 0 14px; }
.info-section .section-subtitle { font: 500 0.76rem/1.4 var(--pb-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--pb-gold-soft); margin: 0 0 28px; }
.info-text, .info-section p { color: var(--pb-ink-dim); line-height: 1.8; }
.info-text { margin: 0 0 28px; font-size: 1.08rem; }
.info-section strong { color: var(--pb-ink); font-weight: 500; }
.info-highlight { margin: 28px 0; padding: 18px 0 18px 22px; border-left: 1px solid var(--pb-gold); }
.info-highlight p { margin: 0; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin: 12px 0 8px; }
.info-card { padding: 18px 0; border-top: 1px solid var(--pb-line); }
.info-card h4 { margin: 0 0 6px; font: 400 1.3rem/1.2 var(--pb-display); color: var(--pb-ink); }
.info-card p { margin: 0; font-size: 0.98rem; }
.info-steps { display: grid; gap: 0; counter-reset: paso; }
.info-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--pb-line); }
.step-num { font: italic 400 2rem/1 var(--pb-display); color: var(--pb-gold); }
.step-content h4 { margin: 0 0 6px; font: 500 1rem/1.3 var(--pb-sans); color: var(--pb-ink); }
.step-content p { margin: 0; }
.terms-subtitle { font: 400 1.35rem/1.2 var(--pb-display) !important; color: var(--pb-ink) !important; margin: 36px 0 12px; }
.terms-list { margin: 0; padding-left: 1.1em; color: var(--pb-ink-dim); line-height: 1.8; }
.terms-list li { margin-bottom: 8px; }
.terms-list li::marker { color: var(--pb-gold); }
.pb-faq { border-top: 1px solid var(--pb-line); }
.pb-faq:last-of-type { border-bottom: 1px solid var(--pb-line); }
.pb-faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
    padding: 20px 0; font: 400 1.25rem/1.3 var(--pb-display); color: var(--pb-ink);
    transition: color 0.3s;
}
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: '+'; font: 300 1.5rem/1 var(--pb-sans); color: var(--pb-gold); transition: transform 0.5s var(--pb-ease); }
.pb-faq[open] summary::after { transform: rotate(45deg); }
.pb-faq summary:hover { color: var(--pb-gold); }
.pb-faq p { margin: 0 0 22px; max-width: 64ch; }
@media (max-width: 860px) {
    .pb-info__grid { grid-template-columns: 1fr; }
    .pb-info__nav { position: relative; top: 0; display: flex; flex-wrap: wrap; border-left: 0; gap: 4px 18px; }
    .pb-info__nav a { padding: 6px 0; border-left: 0; }
}
