/* ==========================================================================
   PIXEL BREW -- stack.css
   Secciones de contenido apilado: split de texto/imagen, mecanica svg-path,
   contacto, prosa legal, pagina 404.
   ========================================================================== */

/* ==========================================================================
   split -- bloque texto + imagen (usado en nosotros, barra, sala-pc)
   ========================================================================== */
.split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    grid-template-columns: 1fr;
}

.split-reverse .split-media {
    order: -1;
}

.split-media {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pxb-line);
    border-radius: var(--pxb-radius-lg);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.split-list li {
    position: relative;
    padding-left: 1.375rem;
    font-size: 0.9375rem;
    color: var(--pxb-muted);
}

.split-list li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.625rem;
    height: 0.0625rem;
    background-color: var(--pxb-magenta);
}

@media (min-width: 56em) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ==========================================================================
   path-line -- mecanica svg-path (traza neon entre secciones)
   ========================================================================== */
.path-line-wrap {
    display: flex;
    justify-content: center;
    padding-block: 0.5rem;
}

.path-line-svg {
    width: 100%;
    max-width: 26rem;
    height: 3rem;
}

.path-line-stroke {
    fill: none;
    stroke: var(--pxb-magenta);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1400ms var(--pxb-ease);
}

.path-line-wrap.is-visible .path-line-stroke {
    stroke-dashoffset: 0;
}

/* ==========================================================================
   story -- linea de tiempo del club (nosotros)
   ========================================================================== */
.story-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 1.75rem;
    border-left: 1px solid var(--pxb-line);
}

.story-item {
    position: relative;
}

.story-item::before {
    content: '';
    position: absolute;
    top: 0.375rem;
    left: -2.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 999px;
    background-color: var(--pxb-magenta);
    box-shadow: 0 0 0 0.25rem rgba(255, 47, 160, 0.18);
}

.story-item-year {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--pxb-magenta-hover);
}

.story-item-title {
    margin-block: 0.25rem 0.375rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* ==========================================================================
   panel -- caja de contenido generica sobre surface-raised
   ========================================================================== */
.panel {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--pxb-line);
    border-radius: var(--pxb-radius-lg);
    background-color: var(--pxb-surface-raised);
}

.panel-title {
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.panel-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.panel-cta p {
    margin: 0;
}

/* ==========================================================================
   contact -- layout de contacto
   ========================================================================== */
.contact-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 0.875rem;
}

.contact-info-icon {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--pxb-magenta);
}

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pxb-muted);
}

.contact-info-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.legal-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pxb-line);
    font-size: 0.8125rem;
    color: var(--pxb-muted);
}

.legal-block dt {
    font-weight: 700;
    color: var(--pxb-text);
}

.legal-block dd {
    margin-bottom: 0.5rem;
}

@media (min-width: 56em) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ==========================================================================
   prosa -- politica de privacidad
   ========================================================================== */
.prose {
    max-width: 46rem;
    color: var(--pxb-muted);
}

.prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.875rem;
    font-size: 1.35rem;
}

.prose p,
.prose li {
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.prose ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.prose a {
    color: var(--pxb-magenta);
    text-decoration: underline;
    text-underline-offset: 0.1875rem;
}

/* ==========================================================================
   error-stage -- pagina 404
   ========================================================================== */
.error-stage {
    display: flex;
    min-height: 70vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 0.0625rem var(--pxb-magenta);
}
