@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

/* Landing PS Lover
   Paleta: crema #f9f4f0, greige #D3C7BB, negro #000000 */

.psl-lp {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 16px 60px;
    font-family: Helvetica, Arial, sans-serif;
    color: #000;
}

.psl-lp section { padding: 44px 0; border-bottom: 1px solid #ede4dc; }
.psl-lp section:last-child { border-bottom: none; }

/* Banner superior full-bleed — ocupa el espacio del header sticky del
   tema. Alto, imagen/color y todo lo configurable vive en PS Lover >
   Landing; el height e imagen/color reales se inyectan inline desde
   PSL_Landing::render(). El título queda debajo, en flujo normal, así
   que no importa cuánto mida el header del tema mientras el banner sea
   igual o más alto — deja de depender de adivinar un padding-top. */
.psl-lp-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.psl-lp-hero { text-align: center; padding-top: 36px; }
.psl-lp-logo { display: block; margin: 0 auto 22px; max-height: 70px; width: auto; }

/* Badge "Te invitó X" — solo aparece si la visita trae un código válido */
.psl-lp-invited-by {
    display: inline-block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #3d3833;
    background: #f9f4f0;
    border: 1px solid #D3C7BB;
    border-radius: 20px;
    padding: 7px 18px;
    margin-bottom: 18px;
}
.psl-lp-invited-by strong { color: #000; font-weight: 600; }

/* Antetitulo */
.psl-lp-eyebrow {
    font-family: 'Montserrat', 'Century Gothic', Arial, sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .34em;
    text-indent: .34em;
    color: #a09890;
    margin-bottom: 14px;
}

/* Nombre del programa: el protagonista */
.psl-lp-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.psl-lp-rule-line {
    width: 46px;
    height: 1px;
    background: #D3C7BB;
    margin: 20px auto 22px;
}

/* Claim */
.psl-lp-claim {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    font-style: italic;
    color: #3d3833;
    margin: 0 auto 14px;
    line-height: 1.45;
    max-width: 420px;
}

.psl-lp-lead {
    font-size: 15px;
    color: #6b625a;
    line-height: 1.75;
    margin: 0 auto 28px;
    max-width: 440px;
}

/* Galeria editorial */
.psl-lp-gallery { padding: 0 0 44px !important; border-bottom: 1px solid #ede4dc; }
.psl-lp-gallery-grid {
    display: grid;
    gap: 10px;
}
.psl-lp-g1 { grid-template-columns: 1fr; }
.psl-lp-g2 { grid-template-columns: 1fr 1fr; }
.psl-lp-g3 { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
.psl-lp-g3 .psl-lp-fig:first-child { grid-row: 1 / 3; }

.psl-lp-fig {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f9f4f0;
}
.psl-lp-fig img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    filter: saturate(.9);
    transition: transform .5s ease;
}
.psl-lp-fig:hover img { transform: scale(1.03); }

.psl-lp-g3 .psl-lp-fig:first-child img { min-height: 380px; }
.psl-lp-g1 .psl-lp-fig img { min-height: 320px; }

.psl-lp-caption {
    font-size: 12px;
    color: #a09890;
    text-align: center;
    margin: 16px 0 0;
    font-style: italic;
    letter-spacing: .02em;
}

/* Botones */
.psl-lp-cta {
    display: block;
    max-width: 340px;
    margin: 0 auto;
    background: #D3C7BB;
    color: #000;
    border-radius: 999px;
    padding: 16px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-align: center;
    transition: background .15s ease;
}
.psl-lp-cta:hover { background: #c4b6a8; color: #000; }
.psl-lp-cta-alt {
    background: transparent;
    border: 1px solid #000;
    margin-top: 10px;
}
.psl-lp-cta-alt:hover { background: #000; color: #f9f4f0; }

.psl-lp-note {
    font-size: 12px; color: #a09890;
    margin: 14px 0 0; text-align: center;
}
.psl-lp-note a { color: #000; font-weight: 600; }

/* Titulos */
.psl-lp-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px; font-weight: 600;
    color: #000; margin: 0 0 10px;
    text-align: center;
}
.psl-lp-text {
    font-size: 15px; color: #7a7168;
    line-height: 1.7; margin: 0 auto 22px;
    max-width: 460px; text-align: center;
}

/* Invita: bloque negro */
.psl-lp-invite {
    background: #000;
    color: #f9f4f0;
    border-radius: 18px;
    padding: 40px 28px !important;
    margin: 44px 0;
    border-bottom: none !important;
    text-align: center;
}
.psl-lp-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px; letter-spacing: .3em;
    color: #D3C7BB; margin-bottom: 14px;
}
.psl-lp-h2-dark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px; font-weight: 500;
    color: #f9f4f0; margin: 0 0 14px;
    line-height: 1.35;
}
.psl-lp-text-dark {
    font-size: 15px;
    color: rgba(249,244,240,.75);
    line-height: 1.75;
    margin: 0 auto 28px;
    max-width: 440px;
}
.psl-lp-refbox {
    display: flex; gap: 12px;
    max-width: 400px; margin: 0 auto;
}
.psl-lp-refcol {
    flex: 1;
    position: relative;
    background: linear-gradient(150deg, #e2d9d0 0%, #D3C7BB 45%, #c5b7a7 100%);
    border: none;
    border-radius: 13px;
    padding: 20px 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    overflow: hidden;
}
/* Filo interior claro: material, no plano */
.psl-lp-refcol::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 9px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.5);
    pointer-events: none;
}
/* Brillo diagonal */
.psl-lp-refcol::after {
    content: '';
    position: absolute;
    top: -50%; left: -30%;
    width: 60%; height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.28) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(20deg);
    pointer-events: none;
}
.psl-lp-refcol > * { position: relative; z-index: 1; }

.psl-lp-refnum {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: #000;
    line-height: 1.1;
}
.psl-lp-reflbl {
    font-size: 11px;
    color: rgba(0,0,0,.58);
    margin-top: 5px;
    line-height: 1.45;
}

/* Historia */
.psl-lp-story { max-width: 520px; margin: 0 auto; }
.psl-lp-kicker-l {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px; letter-spacing: .3em;
    color: #8a8178; margin-bottom: 16px;
}
.psl-lp-storytext p {
    font-size: 15px; color: #3d3833;
    line-height: 1.85; margin: 0 0 14px;
}
.psl-lp-sign {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px; font-style: italic;
    color: #000; margin-top: 20px;
}
.psl-lp-signrole { font-size: 12px; color: #8a8178; margin-top: 2px; }

/* Tabla */
.psl-lp-rules {
    background: #f9f4f0;
    border: 1px solid #D3C7BB;
    border-radius: 14px;
    padding: 8px;
    max-width: 460px;
    margin: 0 auto;
}
.psl-lp-rule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    padding: 15px 16px;
    margin-bottom: 6px;
}
.psl-lp-rule:last-child { margin-bottom: 0; }
.psl-lp-rule span { font-size: 14px; color: #3d3833; }
.psl-lp-rule b {
    font-size: 13px; font-weight: 600; color: #000;
    background: #f9f4f0;
    border: 1px solid #D3C7BB;
    border-radius: 7px;
    padding: 5px 10px;
    white-space: nowrap;
}

/* Cierre */
.psl-lp-close { text-align: center; }

/* Letra chica */
.psl-lp-fine p {
    font-size: 11px; color: #b5aca2;
    line-height: 1.7; margin: 0;
    text-align: center;
    max-width: 520px; margin: 0 auto;
}

@media (max-width: 600px) {
    .psl-lp-name { font-size: 33px; }
    .psl-lp-claim { font-size: 18px; }
    .psl-lp-g3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .psl-lp-g3 .psl-lp-fig:first-child { grid-column: 1 / 3; grid-row: 1; }
    .psl-lp-g3 .psl-lp-fig:first-child img { min-height: 240px; }
    .psl-lp-fig img { min-height: 140px; }
    .psl-lp-invite { padding: 32px 20px !important; border-radius: 14px; }
    .psl-lp-h2-dark { font-size: 21px; }
    .psl-lp-refbox { flex-direction: column; }
}
