.hero{
    padding: 10px 0;
    background: #f5f7fb;
}

.hero-box{
    position: relative;
    overflow: hidden;

    width:98%;
    max-width:1050px;

    margin:0 auto;

    min-height:340px;

    border-radius:35px;

    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.hero-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.hero-overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        110deg,
        rgba(6,25,60,.90) 0%,
        rgba(6,25,60,.75) 35%,
        rgba(6,25,60,.35) 70%,
        rgba(6,25,60,.10) 100%
    );
}

.hero-particles{
    position:absolute;
    inset:0;

    background-image:
        radial-gradient(circle,rgba(255,255,255,.18) 1px,transparent 1px);

    background-size:35px 35px;

    opacity:.30;
}

.hero .container{
    position:relative;
    z-index:5;
    height:100%;
}

.hero .row{
    min-height:340px;
}

.hero-contenido{

    max-width:540px;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.20);

    border-radius:25px;

    padding:25px;

    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.hero-etiqueta{

    display:inline-block;

    background:#19b35a;

    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:18px;
}

.hero-titulo{

    color:#fff;

    font-size:4rem;

    font-weight:900;

    line-height:1;

    margin-bottom:10px;
}

.hero-subtitulo{

    color:#dce9ff;

    font-size:1.7rem;

    font-weight:300;

    margin-bottom:20px;
}

.hero-texto{

    color:#f5f5f5;

    line-height:1.7;

    font-size:1.05rem;

    margin-bottom:25px;
}

.hero-info{

    display:flex;

    gap:15px;

    margin-bottom:25px;

    flex-wrap:wrap;
}

.hero-item{

    display:flex;

    align-items:center;

    gap:12px;

    background:rgba(255,255,255,.12);

    color:#fff;

    padding:12px 18px;

    border-radius:15px;
}

.hero-item i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#18a558;

    display:flex;

    justify-content:center;

    align-items:center;
}

.hero-botones .btn{

    border-radius:40px;

    padding:14px 28px;

    font-weight:700;

    margin-right:10px;
}

.hero-logo{
    width: min(100%, 360px);
    max-width:360px;

    position:relative;

    left:0;
    right:-20px;
    top:0;

    filter:drop-shadow(0 20px 35px rgba(0,0,0,.45));

    animation:logoFloat 5s ease-in-out infinite;
}
@keyframes flotar{

    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

@media(max-width:991px){

    .hero-box{

        width:96%;

        min-height:auto;

        padding:50px 0;
    }

    .hero .row{

        min-height:auto;

        text-align:center;
    }

    .hero-contenido{

        margin:auto;
    }

    .hero-botones .btn{

        display:block;

        width:100%;

        margin:10px 0;
    }
}

@keyframes logoFloat{

    0%{
        transform:translateY(0px) scale(1);
    }

    25%{
        transform:translateY(-8px) scale(1.02);
    }

    50%{
        transform:translateY(-15px) scale(1.04);
    }

    75%{
        transform:translateY(-8px) scale(1.02);
    }

    100%{
        transform:translateY(0px) scale(1);
    }

}
/* =====================================================
   AJUSTE FINAL HERO AQ FEST
   Etiqueta superior destacada, título equilibrado y logo
   más pequeño/desplazado a la derecha en escritorio.
   Ajustes específicos para tabletas y celulares.
===================================================== */

.hero .hero-contenido {
    max-width: 600px;
    width: 100%;
}

/* Texto superior: III FESTIVAL */
.hero .hero-etiqueta {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
    font-weight: 900 !important;
    letter-spacing: .06em;
    line-height: 1.2;
    padding: 10px 18px;
    margin-bottom: 14px;
    white-space: normal;
}

/* Título principal: ligeramente más pequeño que la etiqueta */
.hero .hero-titulo {
    font-size: clamp(2.35rem, 3.5vw, 3.5rem) !important;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    margin-top: 0;
    margin-bottom: 12px;
}

/* Logo en computador: más pequeño y a la derecha */
.hero .hero-logo {
    display: block;
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    height: auto;
    position: relative;
    left: auto !important;
    right: -18px;
    top: 0 !important;
    margin-left: auto;
    margin-right: 0;
    object-fit: contain;
}

@media (min-width: 992px) {
    .hero .hero-logo {
        width: min(100%, 360px) !important;
        max-width: 360px !important;
        right: -18px;
    }
}

/* Tabletas y celulares */
@media (max-width: 991px) {
    .hero .hero-box {
        width: 96%;
        padding: 28px 0;
    }

    .hero .hero-contenido {
        max-width: 600px;
        margin: 0 auto;
        padding: 22px;
    }

    .hero .hero-etiqueta {
        font-size: clamp(1.2rem, 3.2vw, 1.5rem) !important;
        padding: 9px 15px;
    }

    .hero .hero-titulo {
        font-size: clamp(2.15rem, 5.5vw, 3.1rem) !important;
    }

    .hero .hero-logo {
        width: min(78%, 320px) !important;
        max-width: 320px !important;
        left: auto !important;
        right: auto;
        top: 0 !important;
        margin: 24px auto 0;
    }
}

/* Celulares pequeños */
@media (max-width: 575px) {
    .hero .hero-box {
        border-radius: 22px;
    }

    .hero .hero-contenido {
        padding: 18px;
    }

    .hero .hero-etiqueta {
        font-size: 1.12rem !important;
        letter-spacing: .035em;
        padding: 8px 12px;
    }

    .hero .hero-titulo {
        font-size: clamp(1.95rem, 8.5vw, 2.65rem) !important;
        line-height: 1.08;
    }

    .hero .hero-subtitulo {
        font-size: 1.25rem;
    }

    .hero .hero-logo {
        width: min(76%, 270px) !important;
        max-width: 270px !important;
        margin: 20px auto 0;
    }
}
