﻿/* ====== HOME / INDEX ====== */

.pjy-container {
    max-width: 1200px;
    margin-inline: auto;
    padding: 24px
}

/* HERO */
.pjy-hero {
    position: relative;
    color: var(--pjy-text);
    background: radial-gradient(1200px 600px at 80% -10%, rgba(204,106,28,.25), transparent), linear-gradient(180deg, #1b120d 0%, #0f0b08 100%);
    overflow: hidden
}

.pjy-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/home/hero-polleria.jpg'); /* opcional */
    background-size: cover;
    background-position: center;
    opacity: .18;
    filter: grayscale(.2) contrast(1.1);
    pointer-events: none
}

.pjy-hero__content {
    position: relative;
    padding: 80px 24px 56px
}

.pjy-hero__badge {
    display: inline-block;
    background: rgba(255,212,168,.12);
    border: 1px solid rgba(255,212,168,.25);
    color: var(--pjy-accent);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .9rem;
    backdrop-filter: blur(6px)
}

.pjy-hero__title {
    font-size: clamp(32px,5vw,56px);
    line-height: 1.08;
    margin: .6rem 0 0
}

    .pjy-hero__title span {
        display: block;
        color: var(--pjy-accent);
        font-weight: 600
    }

.pjy-hero__subtitle {
    max-width: 680px;
    color: var(--pjy-muted);
    margin: .8rem 0 1.2rem;
    font-size: 1.05rem
}

.pjy-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 12px
}

.pjy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 18px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    border: 1px solid transparent;
    font-weight: 600
}

.pjy-btn--primary {
    background: var(--pjy-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(204,106,28,.25)
}

    .pjy-btn--primary:hover {
        background: var(--pjy-primary-600);
        transform: translateY(-1px)
    }

.pjy-btn--ghost {
    background: transparent;
    color: var(--pjy-text);
    border-color: #3a2a1f
}

    .pjy-btn--ghost:hover {
        background: #23160f
    }

.pjy-hero__features {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--pjy-muted);
    margin: 18px 0 0;
    padding: 0;
    list-style: none
}

    .pjy-hero__features li {
        display: flex;
        align-items: center;
        gap: 8px
    }

/* SECCIONES */
.pjy-section {
    background: var(--pjy-bg);
    color: var(--pjy-text);
    padding: 40px 0;
    border-top: 1px solid var(--pjy-border)
}

.pjy-section--alt {
    background: linear-gradient(180deg,#13100d 0%, #0f0b08 100%)
}

.pjy-section__head {
    text-align: center;
    margin-bottom: 24px
}

    .pjy-section__head h2 {
        font-size: clamp(22px,3.2vw,32px);
        margin: 0 0 6px
    }

    .pjy-section__head p {
        color: var(--pjy-muted);
        margin: 0
    }

/* GRID CARDS */
.pjy-grid {
    display: grid;
    gap: 16px
}

.pjy-grid--cards {
    grid-template-columns: repeat(4,1fr)
}

@media (max-width:1024px) {
    .pjy-grid--cards {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:560px) {
    .pjy-grid--cards {
        grid-template-columns: 1fr
    }
}

.pjy-card {
    background: linear-gradient(180deg,#1a130f 0%, #15100c 100%);
    border: 1px solid var(--pjy-border);
    border-radius: 16px;
    padding: 18px;
    transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate
}

    .pjy-card::after {
        content: "";
        position: absolute;
        inset: auto -20% -40% -20%;
        height: 80%;
        background: radial-gradient(300px 120px at 50% 100%, rgba(204,106,28,.12), transparent);
        z-index: 0;
        opacity: 0;
        transition: opacity .25s ease
    }

    .pjy-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,.35);
        border-color: #3a2a1f
    }

        .pjy-card:hover::after {
            opacity: 1
        }

.pjy-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #24170f;
    color: var(--pjy-accent);
    display: grid;
    place-items: center;
    margin-bottom: 10px
}

.pjy-card__title {
    margin: 0 0 6px;
    font-size: 1.1rem
}

.pjy-card__text {
    margin: 0 0 14px;
    color: var(--pjy-muted)
}

.pjy-card__link {
    color: #ffd7b0;
    text-decoration: none;
    font-weight: 600
}

    .pjy-card__link:hover {
        text-decoration: underline
    }

/* PASOS */
.pjy-steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none
}

@media (max-width:820px) {
    .pjy-steps {
        grid-template-columns: 1fr
    }
}

.pjy-step {
    background: linear-gradient(180deg,#1a130f 0%, #15100c 100%);
    border: 1px solid var(--pjy-border);
    border-radius: 14px;
    padding: 18px
}

.pjy-step__num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--pjy-primary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px
}

.pjy-step h3 {
    margin: 0 0 6px
}

.pjy-step p {
    margin: 0;
    color: var(--pjy-muted)
}

/* TESTIMONIOS */
.pjy-testis {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

@media (max-width:820px) {
    .pjy-testis {
        grid-template-columns: 1fr
    }
}

.pjy-testi {
    background: #19110c;
    border: 1px solid var(--pjy-border);
    border-radius: 14px;
    padding: 16px
}

    .pjy-testi blockquote {
        margin: 0 0 8px;
        color: #f1e9e1;
        font-style: italic
    }

    .pjy-testi figcaption {
        color: var(--pjy-muted);
        font-size: .95rem
    }

/* BARRA LOCAL */
.pjy-strip {
    background: #1a120d;
    border-top: 1px solid var(--pjy-border);
    border-bottom: 1px solid var(--pjy-border);
    color: var(--pjy-text)
}

.pjy-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-block: 14px
}

.pjy-strip__text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pjy-muted)
}

.pjy-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--pjy-primary);
    display: inline-block
}

.pjy-btn--tiny {
    padding: 8px 12px;
    font-size: .92rem;
    border-color: #3a2a1f;
    color: var(--pjy-text)
}

/* ANIMACIÓN DE APARICIÓN */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    will-change: opacity, transform;
    transition: opacity .5s ease, transform .5s ease
}

    .reveal.is-visible {
        opacity: 1;
        transform: none
    }
