/* ==========================================================
   QPERTINO - Hero Principal (Modo Negro Premium)
   ========================================================== */

.hero {
   
    background-color: var(--primary, #0A0A0C);
    min-height: min(90vh, 900px);
    display: flex;
    align-items: center;
    padding: clamp(70px, 8vw, 120px) 0;
    overflow: hidden;

}

.hero-overlay {
    display: none;
}

/* CONTENEDOR */
.hero .container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding-inline:clamp(16px,4vw,40px);
}

/* GRID */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap:clamp(30px,5vw,50px);
}

/* TEXTO */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 560px;
}

/* IMAGEN Y FUSIÓN PERFECTA */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.hero-image img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    /* Difumina suavemente los bordes de la imagen para fundirlos con el negro de la web */
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 98%);
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 98%);
    /* Añade una ligera sombra/resplandor dorado para destacar la escultura */
    filter: drop-shadow(0 10px 30px rgba(200, 168, 107, 0.12));
}

/* TAG DORADO */
.hero-tag {
    display: inline-block;
    color: #C8A86B;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-align: left;
}

/* TÍTULO — Corregido: blanco sobre fondo oscuro */
.hero-text h1 {
    color: #FFFFFF;
    font-size:clamp(2.3rem,6vw,4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: left;
}

/* PÁRRAFO — Corregido: color claro sobre fondo oscuro */
.hero-text p {
    color: #A0AEC0;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 520px;
    text-align: left;
    font-weight: 400;
}

/* BOTONES */
.hero-buttons {
    display: flex;
    gap: 20px;
    min-height:54px;
    flex-wrap: wrap;
}

/* btn-primary ya definido en buttons.css; se mantiene aquí para el hero */
.hero-buttons .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    background: #C8A86B;
    color: #000000;
    border: 1px solid #C8A86B;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
}

.hero-buttons .btn-primary:hover {
    background: #B18F52;
    border-color: #B18F52;
    color: #000000;
}

/* btn-outline en hero — Corregido: borde y texto dorado sobre fondo oscuro */
.hero-buttons .btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    border: 2px solid #C8A86B;
    color: #C8A86B;
    text-decoration: none;
    font-weight: 700;
    transition: .3s ease;
    background: transparent;
}

.hero-buttons .btn-outline:hover {
    background: #C8A86B;
    color: #000000;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1100px) {
    .hero {
        padding: 100px 0;
    }

    .hero .container {
        padding: 0 30px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .hero-tag, .hero-text h1, .hero-text p {
        text-align: center;
    }

    

    .hero-text p {
        max-width: 100%;
    }

    .hero-image {
        order: -1;
        justify-content: center;
    }

    .hero-image img {
        max-width: 320px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero .container {
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-text p {
        font-size:clamp(1rem,2vw,1.15rem);
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-image img{
    width:min(100%,420px);
    height:auto;
}
}
@media (max-width:480px){

.hero{
    padding:60px 0;
}

.hero-text h1{
    font-size:2rem;
}

.hero-tag{
    font-size:.8rem;
    letter-spacing:2px;
}

.hero-image img{
    max-width:190px;
}

.hero-buttons{
    gap:15px;
}

.hero-buttons a{
    width:100%;
    padding:14px 22px;
}

}
