/*
* ===============================================================
* TEMPLATE PROYECTOS - ESPACIO DEL ASADOR
* ===============================================================
*/

.proyectos-template {
    background:
        radial-gradient(circle at top center, rgba(216, 67, 21, 0.08), transparent 20%),
        #2f2f2f;
    color: #fff;
}

.proyectos-template .section {
    padding: 100px 20px;
}

.proyectos-template .section-title {
    text-align: center;
    margin-bottom: 56px;
}

.proyectos-template .section-kicker,
.proyectos-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #f58220;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.proyectos-template .section-title h2 {
    font-size: clamp(2.3rem, 4.2vw, 3.8rem);
    margin-bottom: 14px;
    color: #fff;
}

.proyectos-template .section-title h2::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: #f58220;
}

.proyectos-template .section-title p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.84);
}

/*
* ===============================================================
* HERO
* ===============================================================
*/
.proyectos-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1f1f1f;
    background-size: cover;
    background-position: center center;
}

.proyectos-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.65) 100%),
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.18), transparent 28%);
}

.proyectos-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 70px 0;
}

.proyectos-hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 0.98;
    margin: 0 0 22px 0;
    color: #fff;
    text-wrap: balance;
}

.proyectos-hero-content p {
    max-width: 860px;
    margin: 0 auto 30px auto;
    font-size: 1.12rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.90);
}

.proyectos-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.proyectos-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
}

/*
* ===============================================================
* INTRO
* ===============================================================
*/
.proyectos-intro {
    padding-bottom: 30px;
}

/*
* ===============================================================
* BLOQUES DE MODELOS
* ===============================================================
*/
.proyecto-modelo {
    padding-top: 60px;
    padding-bottom: 60px;
}

.proyecto-modelo--alt {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.proyecto-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
    margin-bottom: 34px;
}

.proyecto-layout--reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.proyecto-layout--reverse .proyecto-visual {
    order: 2;
}

.proyecto-layout--reverse .proyecto-content {
    order: 1;
}

.proyecto-imagen-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
    background: #1f1f1f;
    isolation: isolate;
}

.proyecto-imagen-card img {
    display: block;
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center center;
}

.proyecto-imagen-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.56) 100%),
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.14), transparent 32%);
    z-index: 1;
}

.proyecto-etiqueta {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(245, 130, 32, 0.92);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.proyecto-content {
    max-width: 620px;
}

.proyecto-tag {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.22);
    color: #ffd9bc;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.proyecto-content h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    margin: 0 0 20px 0;
    color: #fff;
}

.proyecto-concepto {
    margin: 0 0 18px 0;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
}

.proyecto-content p {
    margin: 0 0 20px 0;
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
}

.proyecto-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.proyecto-features span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
}

/*
* ===============================================================
* DETALLE INFERIOR
* ===============================================================
*/
.proyecto-detalle-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.proyecto-plano-card,
.proyecto-info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.proyecto-plano-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proyecto-plano-head h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
}

.proyecto-plano-head span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.88rem;
    font-weight: 600;
}

.proyecto-plano-card img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
}

.proyecto-info-card {
    padding: 28px;
}

.proyecto-info-card h3 {
    margin: 0 0 18px 0;
    font-size: 1.4rem;
    color: #fff;
}

.proyecto-info-card ul {
    margin: 0;
    padding-left: 20px;
}

.proyecto-info-card li {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

/*
* ===============================================================
* CTA FINAL
* ===============================================================
*/
.proyectos-cta {
    padding-top: 90px;
    padding-bottom: 110px;
}

.proyectos-cta-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 54px 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top center, rgba(245, 130, 32, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.proyectos-cta-box h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin: 0 0 18px 0;
    color: #fff;
}

.proyectos-cta-box p {
    max-width: 760px;
    margin: 0 auto 30px auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.84);
}

.proyectos-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.button-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(45deg, #f58220, #d96505);
    color: #fff !important;
    box-shadow: 0 14px 24px -14px rgba(245, 130, 32, 0.72);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.button-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px -12px rgba(217, 101, 5, 0.78);
}

.button-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.22s ease;
}

.button-cta-outline:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.10);
}

/*
* ===============================================================
* RESPONSIVE
* ===============================================================
*/
@media (max-width: 1180px) {

    .proyecto-layout,
    .proyecto-layout--reverse,
    .proyecto-detalle-grid {
        grid-template-columns: 1fr;
    }

    .proyecto-layout--reverse .proyecto-visual,
    .proyecto-layout--reverse .proyecto-content {
        order: unset;
    }

    .proyecto-content {
        max-width: 100%;
    }

    .proyecto-imagen-card img {
        height: 520px;
    }

    .proyecto-plano-card img {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .proyectos-template .section {
        padding: 80px 15px;
    }

    .proyectos-hero {
        min-height: 620px;
    }

    .proyectos-hero-content h1 {
        font-size: 2.4rem;
    }

    .proyectos-hero-content p,
    .proyecto-concepto,
    .proyecto-content p,
    .proyectos-cta-box p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .proyectos-hero-badges,
    .proyecto-features {
        gap: 10px;
    }

    .proyectos-hero-badges span,
    .proyecto-features span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .proyecto-imagen-card img {
        height: 380px;
    }

    .proyecto-plano-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .proyecto-plano-card img {
        height: 280px;
    }

    .proyectos-cta-actions {
        flex-direction: column;
    }

    .proyectos-cta-actions .button-cta,
    .proyectos-cta-actions .button-cta-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .proyectos-hero-content h1 {
        font-size: 2rem;
    }

    .proyecto-content h2,
    .proyectos-cta-box h2 {
        font-size: 1.9rem;
    }

    .proyecto-imagen-card,
    .proyecto-plano-card,
    .proyecto-info-card,
    .proyectos-cta-box {
        border-radius: 20px;
    }

    .proyecto-imagen-card img {
        height: 300px;
    }
}