@font-face {
    font-family: lato;
    src: url(font/Lato-Medium.ttf);
    font-style: normal;
}

@font-face {
    font-family: lato;
    src: url(font/Lato-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: lato;
    src: url(font/Lato-Italic.ttf);
    /* font-weight: bold; */
    font-style: italic;
}

:root {
    /* Modo Claro (Light Theme) */
    --color-fondo: #F4F6F9;
    --color-tarjetas: #FFFFFF;
    --color-texto-1: #212529;
    --color-texto-2: #6C757D;
    --color-borde: #E9ECEF;
    --color-acento: #c20440;
    --color-acento-texto: #FFFFFF;
    --gradiente-primario: linear-gradient(135deg, #7936Bf, #90439c, #a05186, #b06172, #c3755f, #da8d53);
    /* --color-nav: #FFFFFF; */

    /* Colores Tarjeta Destacada */
    --color-destacado-borde: #E9ECEF;
    --color-destacado-fecha-bg: #c20440;
    --color-destacado-fecha-text: #FFFFFF;
    --color-fondo-transparente: #ffffffa6;

    /* Colores gradiente carrusel */
    --color-gr-car-1: #f4f6f9;
    --color-gr-car-2: #dfdfdf60;
    --color-gr-car-3: transparent;

    /* colores gradiente vende con nosotros */
    --color-gr-1: #f4f6f9;
    --color-gr-2: #f48fc3;
    --color-gr-3: #f468afba;
    --color-gr-4: #f451a3cc;
    --color-gr-5: #f451a3cf;

    --color-gr-1-cf: #f4f6f9cf;
    --color-gr-2-cf: #f48fc3;
}

[data-theme="dark"] {
    /* Modo Oscuro (Dark Theme) */
    --color-fondo: #000000;
    --color-tarjetas: #121212;
    --color-texto-1: #FFFFFF;
    --color-texto-2: #A0A0A0;
    --color-borde: #333333;
    --color-acento: #ff5179;
    --color-acento-texto: #FFFFFF;
    --gradiente-primario: linear-gradient(135deg, #7936Bf, #90439c, #a05186, #b06172, #c3755f, #da8d53);
    /* --color-nav: #0A0A0A; */

    /* Colores Tarjeta Destacada EspecÃ­ficos */
    --color-destacado-borde: #5a050f;
    --color-destacado-fecha-bg: #6e0050;
    --color-destacado-fecha-text: #FFFFFF;
    --color-fondo-transparente: #111111c7;

    /* Colores gradiente carrusel */
    --color-gr-car-1: #000000f0;
    --color-gr-car-2: #00000060;
    --color-gr-car-3: transparent;

    /* colores gradiente vende con nosotros */
    --color-gr-1: #000000;
    --color-gr-2: #602041;
    --color-gr-3: #762750ba;
    --color-gr-4: #df4a95cc;
    --color-gr-5: #f451a3cf;

    --color-gr-1-cf: #000000cf;
    --color-gr-2-cf: #602041cf;

}

* {
    /* box-sizing: border-box; */
    margin: 0;
    padding: 0px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    color: #757575;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto-1);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}
.carousel-control-prev{
    z-index: 7;
}

input,
button {
    outline: none;
}

.main-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   HEADER Y NAVEGACIÃ“N
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-borde);
    background-color: var(--color-nav);
}

.logo-branding img {
    height: 40px;
    cursor: pointer;
}

.header-search {
    position: relative;
    width: 400px;
}

.header-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 20px;
    background-color: var(--color-tarjetas);
    border: 1px solid var(--color-borde);
    color: var(--color-texto-1);
}

.header-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-texto-2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: bold;
    color: var(--color-texto-1);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-acento);
}

/* Switch Tema */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-switch {
    position: relative;
    width: 50px;
    height: 26px;
    display: block;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-tarjetas);
    border: 1px solid var(--color-borde);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: var(--color-acento);
    border-radius: 50%;
    transition: 0.4s;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* ==========================================================================
   HERO / CARRUSEL HÃBRIDO (Fondo dinÃ¡mico, frente estÃ¡tico)
   ========================================================================== */
#carousel-events {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--color-fondo);
    /* Color de fallback */
    /* flex-wrap: nowrap; */
    flex-direction: row;
}

.carousel-events-light {
    background-color: #f4f6f9 !important;
    /* Color de fallback */
}

/* Capa 1: Fondo dinÃ¡mico rotativo (JS) */
.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* flex: 1 1 100%; */
}

.carousel-inner-light {
    background: #f4f6f9 !important;
}

.carousel-item {
    width: 100%;
    height: 100%;
    background: var(--color-fondo);
}

.carousel-item.active {
    opacity: 1;
    background-size: #f4f6f9;
}

.carousel-item button {
    position: absolute;
    bottom: 20%;
    right: 20px;
    z-index: 10;
}

.carousel-item img {
    height: 100%;
    float: right;
    position: absolute;
    z-index: 2;
    /* height: 80% !important; */
    /* top: 10% !important; */
    /* bottom: 10%; */
}

/* Capa 2: Filtro Oscuro / Gradiente */
.carousel-cover {
    background: linear-gradient(90deg, var(--color-gr-car-1) 0%, var(--color-gr-car-2) 60%, var(--color-gr-car-3) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    /* Deja pasar clicks */
}

.carousel-cover-light {
    background: linear-gradient(90deg, #f4f6f9 0%, #dfdfdf60 60%, transparent 100%);
}

/* Capa 3 Izquierda: Texto EstÃ¡tico */
.hero-text {
    position: relative;
    z-index: 3;
    padding: 2rem 4rem;
    max-width: 60%;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-texto-1);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title-light {
    color: #000000;
}

.hero-title .text-gradient {
    background: var(--gradiente-primario);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-texto-1);
    margin-bottom: 2rem;
    font-weight: bold;
}

.hero-subtitle-light {
    color: #000000;
}

/* Capa 3 Derecha: Imagen estÃ¡tica anclada */
.hero-static-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    /* Para no bloquear clics al fondo si quisieras */
    display: none;
}

.hero-static-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: right center;
}

/* ==========================================================================
   TÃTULOS DE SECCIÃ“N
   ========================================================================== */
.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--color-texto-1);
    /* text-transform: uppercase; */
}

.section-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-texto-2);
}

/* ==========================================================================
   EVENTOS DESTACADOS
   ========================================================================== */
.featured-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    flex-wrap: wrap;
}

.featured-grid.cols-2>.event-card-featured {
    flex: 0 0 calc(50% - 0.75rem);
}

.featured-grid.cols-3>.event-card-featured {
    flex: 0 0 calc(33.333% - 1rem);
}

.featured-grid.cols-4>.event-card-featured {
    flex: 0 0 calc(25% - 1.125rem);
}

.featured-grid.cols-5>.event-card-featured {
    /* width: calc(20% - 1.2rem); */
    /* box-sizing: border-box; */
    flex: 0 0 calc(20% - 1.2rem);
}

.event-card-featured {
    background-color: var(--color-tarjetas);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid var(--color-destacado-borde);
    /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
    /* flex: 1; */
}

.featured-grid.cols-2 .event-card-featured,
.featured-grid.cols-1 .event-card-featured {
    flex-direction: row;
}

.event-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 5, 15, 0.5);
}

.event-img-block {
    background-size: cover;
    min-height: 200px;
    flex: 0 0 45%;
}

.event-content-block {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title-featured {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-texto-1);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.featured-grid.cols-4 .event-title-featured,
.featured-grid.cols-5 .event-title-featured {
    font-size: 1.1rem;
}

.event-meta-featured {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
}

.date-badge-featured {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-destacado-fecha-bg);
    color: var(--color-destacado-fecha-text);
    line-height: 1.1;
    text-align: center;
    cursor: help;
    /* Indica al usuario que hay un tooltip (title) */
}

.date-badge-featured .dia {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--color-acento-texto);
}

.date-badge-featured .mes {
    font-size: 0.8rem;
    font-weight: 700;
}

.venue-text-featured {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-text-featured .recinto-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-texto-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.venue-text-featured .localidad-name {
    font-size: 0.8rem;
    color: var(--color-texto-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   FILTROS DE CATEGORÃAS
   ========================================================================== */
.pills-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.pill {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-tarjetas);
    border: 1px solid var(--color-borde);
    color: var(--color-texto-2);
}

.pill.active {
    background: var(--gradiente-primario);
    color: #FFFFFF;
    border: none;
}

/* ==========================================================================
   NUESTROS EVENTOS (GRID ESTÃNDAR)
   ========================================================================== */
.grid-standard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.event-card {
    background-color: var(--color-tarjetas);
    border: 1px solid var(--color-borde);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--color-sombra);
    position: relative;
    /* transition: transform 0.2s ease; */
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-acento);
}

.event-card .event-img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    background: #222;
}

.event-card .event-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card .event-date-badge {
    background-color: var(--color-fondo-transparente);
    color: var(--color-texto-1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid var(--color-acento);
    align-self: flex-start;
    cursor: help;
    position: absolute;
    top: 5px;
    left: 5px;
    text-align: center;
    z-index: 3;
}

.event-card .event-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-texto-1);
    margin-bottom: 8px;
    line-height: 1.3;
    text-transform: uppercase;
}

.event-card .event-info {
    font-size: 0.85rem;
    color: var(--color-texto-2);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
}

.price-container {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--color-borde);
    display: flex;
    flex-direction: column;
}

.price-tag {
    font-size: 0.75rem;
    color: var(--color-texto-2);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-acento);
}

/* ==========================================================================
   BOTONES Y COMPONENTES
   ========================================================================== */
.btn-gradient {
    background: var(--gradiente-primario);
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(194, 4, 64, 0.4);
    text-align: center;
}

.btn-obten {
    background: none;
    color: var(--color-texto-1);
    border-radius: 20px;
    border-bottom-width: 1px;
    border-color: var(--color-texto-1);
    border-width: 1px;
    cursor: pointer;
    /* text-transform: uppercase; */
    /* font-weight: bold; */
    /* border-radius: 8px; */
    /* transition: opacity 0.2s ease, transform 0.2s ease; */
    /* box-shadow: 0 4px 15px rgba(194, 4, 64, 0.4); */
    text-align: center;
    outline-style: none;
    /* outline-width: medium; */
}

.btn-gradient:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-gradient i {
    margin-left: 5px;
    color: #FFF;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    padding: 10px;
}

/* ==========================================================================
   FOOTER Y BANNER PROMOCIONAL
   ========================================================================== */
.promo-banner {
    background: var(--color-tarjetas);
    border: 1px solid var(--color-borde);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.promo-text h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-texto-1);
    margin-bottom: 0.5rem;
}

.promo-text p {
    color: var(--color-texto-2);
}

footer {
    background: var(--color-tarjetas);
    border-top: 1px solid var(--color-borde);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col h4 {
    color: var(--color-texto-1);
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--color-texto-2);
    /* transition: color 0.2s; */
}

.footer-col ul li a:hover {
    color: var(--color-acento);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-borde);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-texto-2);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--color-texto-1);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-acento);
}

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--color-texto-2);
}

/* ==========================================================================
   BOTONES FLOTANTES
   ========================================================================== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.btn-float {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.btn-float:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-messenger {
    background-color: #0084FF;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media(min-width: 993px) {
    #carousel-events {
        min-height: 435px;
    }
}

@media (max-width: 992px) {
    .featured-grid {
        flex-direction: column;
    }

    .featured-grid.cols-2 .event-card-featured {
        flex-direction: column;
    }

    .header-search {
        width: 300px;
    }

    /* En tablet/laptop pequeÃ±a ajustamos el layout del hero */
    .hero-static-img {
        opacity: 0.5;
        /* Lo hacemos semi transparente o lo escondemos para no estorbar el texto */
    }

    .hero-text {
        max-width: 80%;
    }

    #carousel-events {
        max-height: 435px;
    }
}

@media (min-width: 1400px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* Large devices (desktops, 992px and up) col-lg */
@media (min-width: 992px) {}

/* Medium devices (tablets, 768px and up) col-md */
@media (max-width: 768px) {
    header {
        /* flex-direction: column; */
        gap: 15px;
        /* padding: 1rem; */
    }

    .header-search {
        width: 100%;
        /* order: 2; */
    }

    .header-actions {
        /* width: 100%; */
        justify-content: space-between;
        /* order: 3; */
    }
.carousel-cover{
    display: none;
}


    .carousel-item button{
        bottom:30%;
    }
    
    .featured-grid.cols-2 .event-card-featured {
        flex-direction: column;
    }

    .promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
#carousel-events{
    flex-direction:column;
    /* max-height: max-content; */
    flex-wrap: wrap;
}
    .carousel-inner{
        /* position: unset; */
        /* flex: unset; */
        /* height: 181px; */
        /* top: initial; */
    }
.carrusel-item img{
        height: 80% !important;
    top: 10% !important;
    bottom: 10%;
}
    .hero-text {
        opacity: 0;
        /* position: absolute; */
        padding: 1.5rem;
        padding-top: 0rem;
        max-width: 100%;
        /* text-align: center; */
        flex: 1 1 100%;
        /* top: 50px; */
        /* font-size: 0.5em; */
        /* display: none; */
        z-index: 0;
    }
.hero-subtitle{
    font-size: 1.1em !important;
}
    .hero-text-xs{
        display: block !important;
        width: 100%;
        z-index: 2;
        padding-top: 2%;
        padding-left: 1em;
        padding-right: 1em;
    }
    .hero-text-xs .hero-title,
    .hero-text-xs .hero-subtitle {
        font-size: 1.5rem;
        width: 100%;
        margin-bottom: 0rem;
        padding-top: 1rem;
    }

    .hero-text-xs .hero-subtitle {
        text-align:left;
        margin-bottom: 0.5rem !important;
    }

    
    .hero-static-img {
        display: none;
        /* En celular ocultamos la imagen derecha para priorizar texto y fondo */
    }

    #lnkPDV span {
        display: none;
    }

    .feature-item {
        flex: 0 0 30% !important;
    }


    .flexdatalist-results {
        width: 100% !important;
        left: 0 !important;
        overflow: hidden;

    }
}

/* Small devices  */
@media (max-width: 767px) {}

/* XS */
@media (max-width: 575px) {

    .feature-item {
        flex: 0 0 30% !important;
    }

    .feature-text {
        font-size: 0.7em !important;

    }

    .theme-switch-wrapper .fa-sun {
        /* color: var(--color-texto-2); */
        /* font-size: 0.9rem; */
        position: relative;
        left: 30px;
        top: 0;
        z-index: 1;
        pointer-events: none;
    }

    .theme-switch-wrapper .fa-moon {
        color: var(--color-texto-2) !important;
        /* font-size: 0.9rem; */
        position: relative;
        right: 27px;
        top: 0;
        z-index: 1;
        pointer-events: none;
    }


}

@media screen and (max-width: 359px) {
    .feature-item {
        flex: 0 0 47% !important;
        gap: 8px !important;
    }
}


/*######################*/
/* 1. MÃ³viles PequeÃ±os (320px a 359px) */
@media screen and (min-width: 128px) and (max-width: 359px) {

    /* Ej: Reducir tamaÃ±os de fuente, ajustar padding del header, ocultar elementos no esenciales */
    :root {
        --font-size-base: 14px;
    }

    .hero-title {
        /* font-size: 1.3rem !important; */
    }

    .header-actions .nav-link {
        display: none;
        /* Ocultar links en pantallas muy estrechas */
    }

    .hero-text {
        padding: 0.5em;
        margin: 0.5em;
        background: var(--color-fondo-transparente);
        border-radius: 8px;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .logo-branding img {
        height: 20px;
    }

    header {
        gap: 8px;
    }
}

/* 2. MÃ³viles Medianos y Grandes (360px a 575px) */
@media screen and (min-width: 540px) and (max-width: 575px) {

    /* Ej: DiseÃ±o de 1 columna para tarjetas, header apilado */
    .featured-grid,
    .grid-standard {
        grid-template-columns: 1fr;
        /* 100% del ancho para una sola tarjeta */
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        /* font-size: 1.4rem; */
    }

    
    .hero-text-xs{
        padding-top: 0;    
    }
    .hero-text-xs .hero-subtitle {
        padding-top: 0px !important;
    }

    .logo-branding img {
        height: 30px;
    }

    header {
        gap: 7px;
    }

    .header-actions {
        gap: 0;
    }
}

/* 3. Tabletas en Vertical / Portrait (576px a 768px) */
@media screen and (min-width: 576px) and (max-width: 768px) {

    /* Ej: DiseÃ±o de 2 columnas, ajustar mÃ¡rgenes del contenedor principal */
    .featured-grid {
        flex-direction: column;
    }

    .grid-standard {
        grid-template-columns: repeat(2, 1fr);
        /* 2 tarjetas por fila */
    }

    .header-search {
        width: 100%;
        /* El buscador ocupa toda la fila */
        /* order: 3; */
    }

    .logo-branding img {
        height: 30px;
    }

    .header-actions {
        gap: 1px;
    }
}

@media screen and (max-width: 539px) {

    .featured-grid.cols-2 .event-card-featured,
    .featured-grid.cols-1 .event-card-featured {
        flex-direction: column;
    }

    .featured-grid {
        flex-direction: colum;
    }
}


@media screen and (min-width: 540px) and (max-width: 672px) {

    .featured-grid.cols-2 .event-card-featured,
    .featured-grid.cols-1 .event-card-featured {
        flex-direction: column;
    }

    .featured-grid {
        flex-direction: row;
    }

}

/* 4. Tabletas en Horizontal / Landscape (769px a 991px) */


@media screen and (min-width: 769px) and (max-width: 991px) {

    /* Ej: Reacomodo de menÃºs, 2 o 3 columnas en grids */
    .featured-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .grid-standard {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        /* MÃ­nimo 2, idealmente 3 */
    }

    .header-search {
        width: 350px;
    }

    .hero-static-img {
        opacity: 0.7;
        /* Suavizar collage para que no estorbe el texto en pantallas medianas */
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .logo-branding img {
        height: 30px;
    }

    .event-img-block {
        min-height: 280px
    }

}

/* 5. Laptops y Escritorios PequeÃ±os (992px a 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {

    /* Ej: DiseÃ±o base para escritorio clÃ¡sico, 3 o 4 tarjetas */
    .main-wrapper {
        padding: 0 3rem;
    }

    .featured-grid {
        flex-direction: row;
    }

    .grid-standard {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text {
        max-width: 60%;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1300px) {
    .vende-gradient {
        background: linear-gradient(90deg, #000000 20%, #f451a3 80%);
    }

    .vende-features {
        /* flex-direction: column; */
        /* width: 25%; */
        margin: auto;
        /*  */
    }

    .vh1,
    .vh2 {
        /* position: initial !important; */
        text-align: left;
    }

    .vende-image {
        /* flex: 1 1 30%; */
        background-size: contain;
        background-position: right;
        background-repeat: no-repeat;
    }

    .feature-item {
        flex: 0 0 30%;
    }
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
    .vende-gradient {
        background-image: linear-gradient(90deg, #000001 50%, #602041 74%, var(--color-gr-3) 80%, var(--color-gr-4) 95%, #f451a3 100%),
            url(../img/bg_vende.png);
    }

    .vende-image {
        /* flex: 1 1 30%; */
        background-size: contain;
    }

    .vende-features {
        /* flex-direction: column; */
        /* width: 25%; */
        margin: auto;
        /*  */
    }

    .vh1,
    .vh2 {
        /* position: initial !important; */
        text-align: left;
    }

    .vende-image {
        background-image: linear-gradient(90deg, var(--color-gr-1) 30%, var(--color-gr-2) 57%, var(--color-gr-3) 71%, var(--color-gr-4) 92%, var(--color-gr-5) 100%),
            url(../img/bg_vende.png) !important;
        /* flex: 1 1 30%; */
        background-size: cover !important;
        /* opacity: 10% !important; */
        /* background-repeat: no-repeat; */
    }

    .feature-item {
        flex: 0 0 40%;
    }
}

@media screen and (max-width: 990px) {
    .vende-gradient {
        background: linear-gradient(90deg, #000000 20%, #f451a3 80%);
    }

    .vende-image {
        /* flex: 1 1 30%; */
        background-size: contain;
    }

    .vende-features {
        /* flex-direction: column; */
        /* width: 25%; */
        margin: auto;
        /*  */
    }

    .vende-image {
        /* flex: 1 1 30%; */
        background-size: cover !important;
        /* opacity: 10% !important; */
        background-repeat: no-repeat;
    }

    .feature-item {
        flex: 0 0 40%;
    }

    .vende-features {
        flex: 1 1 50% !important;
    }

    .vende-features-2 {
        flex: 1 1 50% !important;
    }
}

@media screen and (max-width: 900px) {
    .vende-content {
        flex-direction: column !important;
    }

    .feature-item {
        flex: 0 0 23%;
    }

    .vende-features-2 h4 {
        text-align: left !important;
    }


    .vh2 {

        position: initial !important;
        text-align: left;
    }

}

/* 6. Escritorios Grandes (1200px a 1919px) */
@media screen and (min-width: 1200px) and (max-width: 1919px) {

    /* Ej: El diseÃ±o ideal para monitores estÃ¡ndar y laptops modernas */
    .main-wrapper {
        padding: 0 2rem;
        max-width: 1440px;
    }

    .grid-standard {
        grid-template-columns: repeat(4, 1fr);
        /* Hasta 4 eventos */
    }


}

/* 7. Pantallas Extra Grandes / Monitores 2k/4k (1920px en adelante) */
@media screen and (min-width: 1920px) {

    /* Ej: Controlar que el contenido no se expanda infinitamente y centrar el contenedor */
    .main-wrapper {
        padding: 0;
        /* El max-width: 1440px y margin: 0 auto (ya definidos) actuarÃ¡n aquÃ­ */
    }

    .hero-title {
        font-size: 4rem;
        /* Escalar la tipografÃ­a principal */
    }

    .grid-standard {
        grid-template-columns: repeat(4, 1fr);
        /* Hasta 4 eventos */
    }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {


    .vende-features {
        justify-content: left;
        margin-top: 2rem;
    }

    .vende-features-2 {
        text-align: right !important;
    }

    .vende-features-2 h4 {
        text-align: right !important;
    }

    .vende-features-2 button {
        /* margin: auto !important; */
        float: none !important;
    }
}

/* ==========================================================================
   SITE FOOTER (5 COLUMNAS)
   ========================================================================== */
.site-footer {
    background-color: var(--color-tarjetas);
    border-top: 1px solid var(--color-borde);
    margin-top: 4rem;
    padding-top: 3.5rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Columna Marca / Logo */
.footer-logo img {
    height: 90%;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand-desc {
    color: var(--color-texto-2);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* TÃ­tulos de Columnas */
.footer-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-texto-1);
    margin-bottom: 1.2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--gradiente-primario);
    border-radius: 2px;
    margin-top: 6px;
}

/* Listas de Enlaces (Columnas 2 y 3) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--color-texto-2);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, transform 0.2s;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--color-acento);
}

.footer-links a:hover {
    color: var(--color-acento);
    transform: translateX(4px);
}

/* Contacto (Columna 4) */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: var(--color-texto-2);
}

.footer-contact i {
    color: var(--color-acento);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--color-texto-2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--color-texto-1);
}

/* Redes Sociales y Pagos (Columna 5) */
.footer-social-text {
    font-size: 0.9rem;
    color: var(--color-texto-2);
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-fondo);
    border: 1px solid var(--color-borde);
    color: var(--color-texto-1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.social-links a:hover {
    background: var(--gradiente-primario);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-3px);
}

.payment-methods span {
    display: block;
    font-size: 0.8rem;
    color: var(--color-texto-2);
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 1.6rem;
    color: var(--color-texto-2);
}

/* Footer Bottom (Copyright) */
.footer-bottom {
    border-top: 1px solid var(--color-borde);
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--color-texto-2);
    font-size: 0.85rem;
    background-color: var(--color-fondo);
}

/* ==========================================================================
   RESPONSIVE FOOTER
   ========================================================================== */
@media screen and (max-width: 1199px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columnas en laptops/tablets grandes */
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas en tablets portrait */
        gap: 2.5rem 1.5rem;
    }

    .footer-col-brand {
        grid-column: span 2;
        /* El logo abarca todo el ancho superior */
    }
}

@media screen and (max-width: 575px) {

.hero-text {
        padding: 1em;
        margin: 1em;
        /*background: var(--color-fondo-transparente);*/
        border-radius: 8px;
    }

    .hero-title {
        font-size: 1.3rem !important;
        font-weight: bold;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        font-weight: bold;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        /* 1 columna en celulares */
        text-align: center;
    }

    .footer-col-brand {
        grid-column: span 1;
    }

    .footer-title::after {
        margin: 6px auto 0 auto;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links,
    .payment-icons {
        justify-content: center;
    }
}


/* ==========================================================================
           SECCIÃ“N VENDE TUS BOLETOS
           ========================================================================== */
.vende-section {
    background-color: var(--color-tarjetas);
    /* border: 1px solid var(--color-borde); */
    border-radius: 20px;
    overflow: hidden;
    /* display: flex; */
    /* flex-wrap: wrap; */
    margin: 4rem auto;
    max-width: 1440px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    /* display: block; */
    position: relative;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    /* background: linear-gradient(135deg, #7936Bf, #90439c, #a05186, #b06172, #c3755f, #da8d53); */
}

.vende-content {
    /* flex: 1 1 70%; */
    padding: 4rem 1rem;
    padding-bottom: 2em;
    display: flex;
    flex-direction: row;
    justify-content: left;
    position: relative;
    border-color: none;
    margin: auto;
}

.vende-features-2 {
    flex: 1 1 30%;
}

.vende-features-2 h4 {
    text-align: right;
    color: var(--color-texto-1);
    margin-bottom: 35px;
    font-size: 1.2em;
    text-align: right;
}

.vende-features-2 button {
    float: right;
    background: #f487c3;
    outline: none;
    box-shadow: none;
}

.vh1,
.vh2 {
    position: absolute;
    top: 10px;
}

.vh1 {
    /* top: 0; */
    left: 20px;
}

.vh2 {
    right: 30px;
}

.vende-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    color: var(--color-texto-1);
    font-size: 1.5rem;
    z-index: 5;
}

.vende-title span {
    color: var(--color-acento);
}

.vende-features {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
    flex: 1 1 70%;
    justify-content: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    /* flex: 0 0 30%; */
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    /* background-color: var(--color-fondo); */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* border: 1px solid var(--color-borde); */
}

.feature-icon-wrapper img {
    width: 50px;
    height: auto;
}

.feature-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-texto-1);
}

.btn-cotizar {
    background: var(--gradiente-primario);
    color: var(--color-texto-1);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
    align-self: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cotizar:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 6px 20px rgba(49, 130, 206, 0.6); */
}

.vende-gradient {
    /* background: linear-gradient(90deg, #000000 50%, #f451a3 80%); */
    position: absolute;
    height: 100%;
    width: 100%;
    /* color:#602041; */
    /* color: #7627509e; */
    /* color: #df4a959e; */
}

.vende-image {
    background-image: linear-gradient(90deg, var(--color-gr-1) 50%, var(--color-gr-2) 74%, var(--color-gr-3) 80%, var(--color-gr-4) 95%, var(--color-gr-5) 100%), url(../img/bg_vende.png);
    /* background-color: #f451a3; */
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    /* opacity: 15%; */
    /* float: right; */
}

/* Capa oscura opcional para la imagen si se necesita mejorar el contraste con el fondo */
.vende-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-size: cover; */
}

/* ==========================================================================
           SECCIÃ“N PATROCINADORES / ALIADOS
           ========================================================================== */
.sponsors-section {
    padding: 2rem 0;
    border-top: 1px solid var(--color-borde);
    margin: 0 auto;
    max-width: 1440px;
    text-align: center;
    display: table;
    margin: auto;
    background: #fff;
    padding: 14px 30px 40px 30px;
    border-radius: 95px;
}

.sponsors-title {
    font-size: 1.2rem;
    color: var(--color-texto-2);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sponsor-logo img {
    max-height: 50px;
    /* filter: grayscale(100%) opacity(0.7); */
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.sponsor-logo img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive */
@media screen and (max-width: 991px) {
    .vende-content {
        /* flex: 1 1 100%; */
        /* padding: 3rem; */
    }

    .vende-image {
        /* flex: 1 1 100%; */
        min-height: 300px;
        background-position: center;
        /* background-image: linear-gradient(90deg, var(--color-gr-1) 30%, var(--color-gr-2) 57%, var(--color-gr-3) 71%, var(--color-gr-4) 92%, var(--color-gr-5) 100%), url(../img/bg_vende.png) !important; */
        background-image: linear-gradient(90deg, var(--color-gr-1-cf) 30%, var(--color-gr-2-cf) 57%, var(--color-gr-3) 71%, var(--color-gr-4) 92%, var(--color-gr-5) 100%), url(../img/bg_vende.png) !important;
    }

}

@media screen and (max-width: 768px) {
    .vende-features {
        /* grid-template-columns: 1fr; */
    }

    .vende-content {
        /* padding: 2rem; */
    }

    .vende-title {
        /* font-size: 2rem; */
    }
}

/* 1. El Contenedor Magico con Ratio de Aspecto */
.contenedor-imagen {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Cortar el exceso de desenfoque */
}

/* Definir proporciones (ratios) con padding-bottom */
.ratio-vertical {
    padding-bottom: 125%;
    /* Ejemplo: ratio 4:5 */
}

/* 2. Fondo Borroso */
.fondo-borroso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Cubrir todo el contenedor */
    background-position: center;
    /* Centrar el fondo */
    filter: blur(30px);
    /* El efecto de desenfoque */
    transform: scale(1.1);
    /* Escalar un poco para evitar bordes blancos */
    opacity: 0.7;
    /* Suavizar el fondo */
    z-index: 1;
}
.fondo-borroso-carrusel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Cubrir todo el contenedor */
    background-position: center;
    /* Centrar el fondo */
    filter: blur(30px);
    /* El efecto de desenfoque */
    transform: scale(1.1);
    /* Escalar un poco para evitar bordes blancos */
    opacity: 0.7;
    /* Suavizar el fondo */
    z-index: 1;
}

/* Capa oscura sobre el fondo para mejorar contraste */
.fondo-borroso::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* 3. Imagen Principal Centrada y Completa */
.contenedor-imagen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Â¡ESTA ES LA CLAVE! Muestra la imagen completa sin cortes */
    object-position: center;
    /* Centrado absoluto */
    z-index: 2;
    /* Ponerla por encima del fondo */
}


.contact-icon i {
    color: #fff
}