/* =========================================================

   OTIUM HOME

   Diseño reconstruido según referencia visual OTIUM

   CORRECCIÓN 20260916:

   - Carrusel independiente del buscador.

   - Buscador debajo del carrusel.

   - Desktop conserva el diseño actual.

   - Se eliminan alturas exageradas del carrusel en móvil.

   - Las imágenes originales de fondo del Hero se mantienen

     en desktop.

   - En móvil las imágenes originales de fondo se eliminan

     visualmente para evitar que dominen el espacio.

   - Los banners de Firestore conservan su proporción.

   - Eventos destacados utilizan las clases reales generadas

     por home.js:

       .event-card

       .event-card-image

       .event-card-image img

       .event-card-content

   - Las imágenes de eventos destacados quedan contenidas

     dentro de sus respectivas tarjetas.

   - En móvil categorías y destacados se presentan

     horizontalmente para reducir el desplazamiento vertical.

\========================================================= */

:root {

    --otium-bg: #020a1d;

    --otium-bg-2: #061332;

    --otium-card: #07183d;

    --otium-border: rgba(87, 137, 255, .38);

    --otium-text: #ffffff;

    --otium-muted: #aab7d2;

    --otium-blue: #1598ff;

    --otium-cyan: #18d7e8;

    --otium-purple: #743cff;

    --otium-orange: #ff7149;

    --otium-pink: #ed477d;

}

\* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body.otium-home {

    padding-top: 84px;

    margin: 0;

    min-height: 100vh;

    background:

        radial-gradient(

            circle at 10% 35%,

            rgba(15, 72, 180, .16),

            transparent 28%

        ),

        radial-gradient(

            circle at 90% 55%,

            rgba(85, 45, 190, .14),

            transparent 25%

        ),

        var(--otium-bg);

    color: var(--otium-text);

    font-family: "Inter", Arial, sans-serif;

}

body.otium-home main {

    padding-top: 0 !important;

    min-height: 0;

}

.otium-container {

    width: min(1370px, calc(100% - 48px));

    margin: 0 auto;

}

/* =========================================================

   HERO / CARRUSEL

\========================================================= */

.home-hero {

    position: relative;

    min-height: 480px;

    height: 520px;

    overflow: hidden;

    background: #03091b;

}

.hero-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    pointer-events: none;

    transition: opacity .55s ease;

    background-position: center;

    background-size: cover;

    background-repeat: no-repeat;

}

.hero-slide.active {

    opacity: 1;

    pointer-events: auto;

}

/* =========================================================

   IMÁGENES DEL CARRUSEL

\========================================================= */

.hero-slide-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    display: block;

}

/* =========================================================

   BANNERS DE FIRESTORE

\========================================================= */

.hero-slide.hero-slide-banner .hero-slide-image {

    object-fit: contain;

    object-position: center center;

    width: 100%;

    height: 100%;

    background: #03091b;

}

.hero-slide.hero-slide-banner {

    background: #03091b;

}

.hero-slide.hero-slide-banner .hero-slide-overlay {

    z-index: 2;

}

/* =========================================================

   SLIDES ORIGINALES

\========================================================= */

.hero-slide-1 {

    background-image:

        url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=2200&q=85");

}

.hero-slide-2 {

    background-image:

        url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=2200&q=85");

}

/* =========================================================

   OVERLAY ORIGINAL DEL HERO

\========================================================= */

.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            rgba(1, 7, 22, .94) 0%,

            rgba(2, 10, 30, .77) 35%,

            rgba(2, 10, 30, .24) 75%,

            rgba(2, 10, 30, .5) 100%

        ),

        linear-gradient(

            0deg,

            rgba(2, 8, 25, .75),

            transparent 52%

        );

}

/* =========================================================

   CONTENIDO HERO

\========================================================= */

.hero-content {

    position: relative;

    height: 100%;

    display: flex;

    align-items: center;

    z-index: 2;

}

.hero-copy {

    width: min(560px, 100%);

    margin-top: -30px;

}

.hero-eyebrow {

    display: block;

    margin-bottom: 14px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .12em;

    color: #aebbd5;

}

.hero-copy h1 {

    margin: 0;

    font-size: clamp(48px, 5vw, 78px);

    line-height: .98;

    letter-spacing: -.045em;

    font-weight: 800;

}

.hero-copy h1 span {

    display: block;

    background: linear-gradient(

        90deg,

        #18c9e8,

        #278fff,

        #793bff

    );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}

.hero-copy p {

    max-width: 520px;

    margin: 22px 0 0;

    color: #e3e9f5;

    font-size: 18px;

    line-height: 1.6;

}

/* =========================================================

   CONTROLES DEL HERO

\========================================================= */

.hero-arrow {

    position: absolute;

    top: 43%;

    z-index: 5;

    width: 46px;

    height: 46px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    color: #fff;

    background: rgba(4, 13, 35, .62);

    backdrop-filter: blur(8px);

    cursor: pointer;

    font-size: 35px;

    line-height: 1;

}

.hero-prev {

    left: 22px;

}

.hero-next {

    right: 22px;

}

.hero-arrow:hover {

    background: rgba(24, 151, 255, .55);

}

/* =========================================================

   PUNTOS DEL CARRUSEL

\========================================================= */

.hero-dots {

    position: absolute;

    z-index: 5;

    left: 50%;

    bottom: 22px;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

}

.hero-dot {

    width: 9px;

    height: 9px;

    border: 0;

    border-radius: 50%;

    padding: 0;

    background: rgba(255,255,255,.42);

    cursor: pointer;

}

.hero-dot.active {

    width: 28px;

    border-radius: 20px;

    background: #fff;

}

/* =========================================================

   BUSCADOR

\========================================================= */

.hero-search-section {

    position: relative;

    z-index: 10;

    padding: 0 0 28px;

    background: var(--otium-bg);

}

.hero-search-wrap {

    position: relative;

    z-index: 10;

    width: min(1370px, calc(100% - 48px));

    margin: -1px auto 0;

}

.hero-search {

    display: grid;

    grid-template-columns: 1.65fr 1fr 1fr 185px;

    overflow: hidden;

    min-height: 62px;

    border: 1px solid rgba(255,255,255,.24);

    border-radius: 18px;

    background: rgba(255,255,255,.98);

    box-shadow: 0 18px 55px rgba(0,0,0,.3);

}

.search-field {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 0 19px;

    color: #7b8493;

    border-right: 1px solid #e1e5ec;

}

.search-field span {

    font-size: 22px;

}

.search-field input {

    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #172033;

    font: inherit;

    font-size: 14px;

}

.search-field input::placeholder {

    color: #7b8493;

}

.search-button {

    border: 0;

    margin: 8px;

    border-radius: 14px;

    color: #fff;

    font-weight: 800;

    font-size: 14px;

    cursor: pointer;

    background: linear-gradient(

        100deg,

        #7238e8,

        #158ef3

    );

}

.search-button:hover {

    filter: brightness(1.08);

}

/* =========================================================

   SECCIONES

\========================================================= */

.home-section {

    padding: 30px 0;

}

.categories-section {

    padding-top: 34px;

    background: linear-gradient(

        180deg,

        #04102b,

        #030d24

    );

}

.featured-section {

    background: #020b20;

    padding-top: 24px;

}

.promotion-section {

    background: #020b20;

    padding-top: 12px;

}

.benefits-section {

    background: #020b20;

    padding-top: 8px;

    padding-bottom: 36px;

}

.sponsor-home-section {

    background: #030d24;

}

/* =========================================================

   ENCABEZADOS

\========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 17px;

}

.section-kicker {

    display: block;

    margin-bottom: 5px;

    color: #7e9acb;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .12em;

}

.section-heading h2 {

    margin: 0;

    font-size: 25px;

    letter-spacing: -.025em;

}

.section-link {

    color: #d8e4ff;

    font-size: 13px;

    text-decoration: none;

    white-space: nowrap;

}

.section-link span {

    margin-left: 5px;

    font-size: 20px;

    vertical-align: -1px;

}

.section-link:hover {

    color: #24bfff;

}

/* =========================================================

   CATEGORÍAS

\========================================================= */

.category-row {

    display: grid;

    grid-template-columns: repeat(8, 1fr);

    gap: 11px;

}

.category-card {

    position: relative;

    min-height: 100px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    gap: 5px;

    padding: 12px;

    border: 1px solid rgba(99, 137, 220, .42);

    border-radius: 12px;

    color: #fff;

    text-decoration: none;

    background-color: #101a39;

    background-size: cover;

    background-position: center;

    transition:

        transform .22s ease,

        border-color .22s ease;

}

.category-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(

        0deg,

        rgba(2,7,22,.95),

        rgba(2,7,22,.05)

    );

}

.category-card > \* {

    position: relative;

    z-index: 1;

}

.category-card:hover {

    transform: translateY(-3px);

    border-color: #3f9cff;

}

.category-icon {

    width: 30px;

    height: 30px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background: rgba(109,67,255,.9);

    font-size: 17px;

    font-weight: 800;

}

.category-card strong {

    font-size: 13px;

    line-height: 1.12;

}

.cat-concert {

    background-image:

        url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=500&q=75");

}

.cat-theater {

    background-image:

        url("https://images.unsplash.com/photo-1503095396549-807759245b35?auto=format&fit=crop&w=500&q=75");

}

.cat-food {

    background-image:

        url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=500&q=75");

}

.cat-sport {

    background-image:

        url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=500&q=75");

}

.cat-night {

    background-image:

        url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=500&q=75");

}

.cat-market {

    background-image:

        url("https://images.unsplash.com/photo-1488459716781-31db52582fe9?auto=format&fit=crop&w=500&q=75");

}

.cat-family {

    background-image:

        url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=500&q=75");

}

.cat-nature {

    background-image:

        url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=500&q=75");

}

/* =========================================================

   EVENTOS DESTACADOS

\========================================================= */

.featured-grid {

    display: grid;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    gap: 12px;

    align-items: stretch;

}

/* =========================================================

   TARJETA

\========================================================= */

.event-card {

    min-width: 0;

    min-height: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border: 1px solid rgba(93, 127, 197, .43);

    border-radius: 13px;

    background: linear-gradient(

        180deg,

        #0b1b3d,

        #06112a

    );

    cursor: pointer;

    transition:

        transform .2s ease,

        border-color .2s ease,

        box-shadow .2s ease;

}

.event-card:hover {

    transform: translateY(-3px);

    border-color: #3d8fff;

    box-shadow: 0 10px 25px rgba(0,0,0,.22);

}

/* =========================================================

   IMAGEN DE EVENTO DESTACADO

\========================================================= */

.event-card-image {

    position: relative;

    width: 100%;

    height: 145px;

    min-height: 145px;

    max-height: 145px;

    flex: 0 0 145px;

    overflow: hidden;

    background:

        linear-gradient(

            135deg,

            #301d77,

            #0b6fd2

        );

}

.event-card-image img {

    position: absolute;

    inset: 0;

    display: block;

    width: 100%;

    height: 100%;

    min-width: 0;

    min-height: 0;

    max-width: none;

    max-height: none;

    object-fit: cover;

    object-position: center center;

    margin: 0;

    padding: 0;

    border: 0;

}

.event-card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(

        0deg,

        rgba(2,8,25,.55),

        transparent 60%

    );

}

/* =========================================================

   CONTENIDO DE LA TARJETA

\========================================================= */

.event-card-content {

    min-width: 0;

    max-width: 100%;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    padding: 11px;

}

/* =========================================================

   CATEGORÍA

\========================================================= */

.event-category {

    display: inline-block;

    max-width: 100%;

    margin-bottom: 5px;

    overflow: hidden;

    color: #b8c8e6;

    font-size: 10px;

    font-weight: 600;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;

}

/* =========================================================

   TÍTULO

\========================================================= */

.event-card-content h3 {

    min-width: 0;

    max-width: 100%;

    margin: 0;

    color: #fff;

    font-size: 14px;

    line-height: 1.25;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    line-clamp: 2;

    overflow: hidden;

}

/* =========================================================

   DESCRIPCIÓN

\========================================================= */

.event-card-content p {

    min-width: 0;

    max-width: 100%;

    margin: 7px 0 0;

    color: #8fa1c3;

    font-size: 10px;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 3;

    line-clamp: 3;

    overflow: hidden;

}

/* =========================================================

   FECHA / PRECIO

\========================================================= */

.event-card-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 9px;

    color: #9cafce;

    font-size: 10px;

    line-height: 1.4;

}

.event-card-meta span {

    min-width: 0;

    max-width: 100%;

}

/* =========================================================

   ESTADO SIN EVENTOS

\========================================================= */

.empty-message {

    grid-column: 1 / -1;

    margin: 0;

    padding: 45px;

    border-radius: 15px;

    text-align: center;

    color: #91a3c7;

    background: #07152f;

}

.featured-loading {

    grid-column: 1 / -1;

    padding: 45px;

    border-radius: 15px;

    text-align: center;

    color: #91a3c7;

    background: #07152f;

}

/* =========================================================

   PROMOCIÓN

\========================================================= */

.promotion-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

}

.promotion-card {

    min-height: 112px;

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 20px 23px;

    border: 1px solid rgba(99, 93, 228, .65);

    border-radius: 15px;

    background: linear-gradient(

        110deg,

        #271a65,

        #131c4c

    );

}

.promotion-brand {

    border-color: rgba(42, 128, 255, .55);

    background: linear-gradient(

        110deg,

        #10245a,

        #091d46

    );

}

.promotion-icon {

    flex: 0 0 56px;

    width: 56px;

    height: 56px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: linear-gradient(

        145deg,

        #6842f3,

        #1d9dff

    );

    font-size: 27px;

}

.promotion-brand .promotion-icon {

    background: linear-gradient(

        145deg,

        #f6a62d,

        #ff7445

    );

}

.promotion-copy {

    flex: 1;

}

.promotion-copy h3 {

    margin: 0 0 6px;

    font-size: 17px;

}

.promotion-copy p {

    margin: 0;

    color: #b5c3dc;

    font-size: 12px;

    line-height: 1.5;

}

.promotion-button {

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding: 0 18px;

    border-radius: 22px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

}

.promotion-button.orange {

    background: linear-gradient(

        100deg,

        #ef5b75,

        #ff9b35

    );

}

.promotion-button.blue {

    background: linear-gradient(

        100deg,

        #7138e8,

        #158ef3

    );

}

/* =========================================================

   BENEFICIOS

\========================================================= */

.benefits-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1px;

    overflow: hidden;

    border-radius: 13px;

    background: rgba(69, 104, 170, .28);

}

.benefit {

    min-height: 92px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 17px 20px;

    background: #071633;

}

.benefit-icon {

    flex: 0 0 38px;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    color: #19c5ff;

    font-size: 21px;

}

.benefit:nth-child(4) .benefit-icon {

    color: #ed477d;

}

.benefit strong {

    display: block;

    margin-bottom: 4px;

    font-size: 12px;

}

.benefit span {

    display: block;

    color: #9cafce;

    font-size: 10px;

    line-height: 1.45;

}

/* =========================================================

   SPONSOR

\========================================================= */

.sponsor-banner {

    min-height: 120px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 25px 30px;

    border: 1px solid rgba(74, 126, 234, .5);

    border-radius: 16px;

    background:

        radial-gradient(

            circle at 75% 50%,

            rgba(69, 47, 192, .3),

            transparent 35%

        ),

        #071633;

}

.sponsor-banner span {

    display: block;

    margin-bottom: 6px;

    color: #7f9acc;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .13em;

}

.sponsor-banner strong {

    font-size: 21px;

}

/* =========================================================

   FOOTER

\========================================================= */

.home-footer {

    padding: 40px 0;

    background: #010717;

    border-top: 1px solid rgba(77, 115, 190, .2);

}

.footer-content {

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 20px;

    align-items: center;

}

.footer-content strong {

    font-size: 22px;

}

.footer-content p {

    margin: 5px 0 0;

    color: #7889a9;

    font-size: 12px;

}

.footer-links {

    display: flex;

    gap: 18px;

}

.footer-links a {

    color: #a8b8d4;

    font-size: 12px;

    text-decoration: none;

}

.footer-links a:hover {

    color: #fff;

}

.footer-content small {

    grid-column: 1 / -1;

    color: #5d6e8e;

    font-size: 10px;

}

/* =========================================================

   RESPONSIVE

\========================================================= */

@media (max-width: 1250px) {

    .category-row {

        grid-template-columns: repeat(4, 1fr);

    }

    .featured-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

/* =========================================================

   TABLET

\========================================================= */

@media (max-width: 900px) {

    body.otium-home {

        padding-top: 72px;

    }

    /*

       Buscador responsive.

    */

    .hero-search {

        grid-template-columns: 1fr;

        overflow: visible;

        background: rgba(255,255,255,.98);

        padding: 7px;

    }

    .search-field {

        min-height: 48px;

        border-right: 0;

        border-bottom: 1px solid #e1e5ec;

    }

    .search-button {

        min-height: 45px;

        margin: 6px 0 0;

    }

    /*

       Altura contenida del Hero.

    */

    .home-hero {

        height: 440px;

        min-height: 440px;

    }

    .hero-content {

        height: 100%;

    }

    .hero-copy {

        margin-top: -30px;

    }

    /*

       Los banners de Firestore se muestran completos.

    */

    .hero-slide.hero-slide-banner .hero-slide-image {

        object-fit: contain;

        object-position: center center;

    }

    .hero-dots {

        bottom: 18px;

    }

    .hero-search-section {

        padding: 0 0 24px;

    }

    .hero-search-wrap {

        width: min(100% - 28px, 1370px);

        margin: 0 auto;

    }

    .promotion-grid {

        grid-template-columns: 1fr;

    }

    .benefits-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

/* =========================================================

   MÓVIL

\========================================================= */

@media (max-width: 650px) {

    /* En móvil eliminamos el kicker "EXPLORA" para simplificar la sección. */

    .categories-section .section-kicker {

        display: none;

    }

    .otium-container {

        width: min(100% - 28px, 1370px);

    }

    /*

       =====================================================

       HERO

       Se mantiene compacto para que el usuario llegue

       rápidamente al buscador y al contenido.

       =====================================================

    */

    .home-hero {

        height: 330px;

        min-height: 330px;

    }

    /*

       En móvil eliminamos las imágenes originales de fondo

       del Hero.

    */

    .hero-slide-1,

    .hero-slide-2 {

        background-image: none;

        background-color: #03091b;

    }

    /*

       Si existe un banner de Firestore, este sí conserva

       su imagen.

    */

    .hero-slide.hero-slide-banner {

        background: #03091b;

    }

    .hero-slide.hero-slide-banner .hero-slide-image {

        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: center center;

    }

    /*

       Contenido del Hero.

    */

    .hero-content {

        height: 100%;

        align-items: center;

    }

    .hero-copy {

        margin-top: -25px;

        width: calc(100% - 35px);

    }

    .hero-eyebrow {

        margin-bottom: 10px;

        font-size: 10px;

        letter-spacing: .09em;

    }

    .hero-copy h1 {

        font-size: 40px;

        line-height: 1;

    }

    .hero-copy p {

        margin-top: 15px;

        font-size: 14px;

        line-height: 1.45;

        max-width: 390px;

    }

    /*

       Flechas más pequeñas.

    */

    .hero-arrow {

        top: 50%;

        width: 36px;

        height: 36px;

        font-size: 28px;

    }

    .hero-prev {

        left: 8px;

    }

    .hero-next {

        right: 8px;

    }

    /*

       Puntos.

    */

    .hero-dots {

        bottom: 14px;

        gap: 7px;

    }

    .hero-dot {

        width: 8px;

        height: 8px;

    }

    .hero-dot.active {

        width: 24px;

    }

    /*

       =====================================================

       BUSCADOR

       =====================================================

    */

    .hero-search-section {

        padding-top: 0;

        padding-bottom: 10px;

    }

    .hero-search-wrap {

        width: calc(100% - 28px);

        margin-top: 0;

    }

    /* =====================================================

       AJUSTE DE ESPACIADO VERTICAL — SOLO MÓVIL

       Reduce el espacio entre el menú, carrusel, buscador

       y las distintas secciones sin alterar desktop/tablet.

       ===================================================== */

    .home-section {

        padding-top: 12px;

        padding-bottom: 12px;

    }

    .categories-section {

        padding-top: 12px;

        padding-bottom: 12px;

    }

    .featured-section {

        padding-top: 12px;

        padding-bottom: 12px;

    }

    .otium-map-section {

        padding-top: 12px;

        padding-bottom: 12px;

    }

    .promotion-section {

        padding-top: 10px;

        padding-bottom: 10px;

    }

    .benefits-section {

        padding-top: 10px;

        padding-bottom: 18px;

    }

    .section-heading {

        margin-bottom: 10px;

    }

/* =====================================================

   BUSCADOR MÓVIL COMPACTO

   Solo búsqueda + botón en una línea

   ===================================================== */

.hero-search {

    grid-template-columns: minmax(0, 1fr) auto;

    min-height: 50px;

    padding: 4px;

    border-radius: 14px;

}

.hero-search .search-location,

.hero-search .search-date {

    display: none;

}

.hero-search .search-main {

    min-height: 42px;

    padding: 0 12px;

    border-bottom: 0;

    border-right: 0;

}

.hero-search .search-main input {

    font-size: 13px;

}

.hero-search .search-main .search-icon {

    font-size: 19px;

}

.hero-search .search-button {

    min-height: 42px;

    margin: 0;

    padding: 0 15px;

    border-radius: 11px;

    font-size: 13px;

}

    /*

       =====================================================

       ENCABEZADOS DE SECCIÓN

       =====================================================

    */

    .section-heading {

        gap: 10px;

        margin-bottom: 14px;

    }

    .section-heading h2 {

        font-size: 21px;

    }

    .section-kicker {

        font-size: 9px;

    }

    .section-link {

        font-size: 11px;

    }

    .section-link span {

        font-size: 17px;

    }

    /*

       =====================================================

       CATEGORÍAS — MÓVIL

       - 4 categorías por fila.

       - Icono arriba + texto debajo.

       - Sin superposición entre icono y texto.

       - Sin desplazamiento horizontal.

       - Diseño desktop intacto.

       =====================================================

    */

    .category-row {

        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 10px 6px;

        width: 100%;

        margin: 0;

        padding: 0;

        overflow: visible;

    }

        .category-card {
        width: 100%;
        min-width: 0;
        height: 48px;
        min-height: 48px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 0;
        padding: 6px 4px;

        border: 1px solid rgba(99, 137, 220, .25);
        border-radius: 10px;

        background: rgba(255,255,255,.025);
        box-shadow: none;

        text-align: center;
        scroll-snap-align: none;
    }

    .category-card::before {

        display: none;

    }

    .category-card:hover {

        transform: none;

        border-color: transparent;

        background: rgba(255,255,255,.06);

    }

        .category-icon {
        display: none !important;
    }

    .category-card strong {

        display: block;

        width: 100%;

        min-width: 0;

        overflow: hidden;

        font-size: 10px;

        line-height: 1.1;

        font-weight: 700;

        text-align: center;

        text-overflow: ellipsis;

        white-space: nowrap;

    }

    /*

       =====================================================

       EVENTOS DESTACADOS — CARRUSEL HORIZONTAL

       En lugar de 2 columnas x 3 filas, los 6 eventos

       quedan en una sola fila desplazable.

       Cada tarjeta ocupa aproximadamente 78% del ancho

       disponible, dejando visible parte de la siguiente.

       =====================================================

    */

    .featured-grid {

        display: flex;

        flex-wrap: nowrap;

        gap: 12px;

        overflow-x: auto;

        overflow-y: hidden;

        width: calc(100vw - 14px);

        margin-left: 0;

        padding: 2px 14px 10px 0;

        scroll-snap-type: x proximity;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

    }

    .featured-grid::-webkit-scrollbar {

        display: none;

    }

    .featured-grid .event-card {

        flex: 0 0 calc(78vw);

        width: calc(78vw);

        min-width: calc(78vw);

        max-width: 330px;

        scroll-snap-align: start;

    }

    /*

       Tarjeta destacada un poco más grande que antes,

       aprovechando el ancho disponible.

    */

    .event-card-image {

        height: 150px;

        min-height: 150px;

        max-height: 150px;

        flex-basis: 150px;

    }

    .event-card-content {

        padding: 11px;

    }

    .event-card-content h3 {

        font-size: 14px;

    }

    .event-card-content p {

        font-size: 10px;

    }

    /*

       Estados especiales del contenedor.

       El mensaje de carga y "sin eventos" deben ocupar

       todo el ancho disponible.

    */

    .featured-grid .featured-loading,

    .featured-grid .empty-message {

        flex: 0 0 100%;

        min-width: 100%;

    }

    /*

       =====================================================

       BENEFICIOS

       =====================================================

    */

    .benefits-grid {

        grid-template-columns: 1fr;

    }

    /*

       =====================================================

       PROMOCIONES

       =====================================================

    */

    .promotion-card {

        flex-wrap: wrap;

    }

    .promotion-button {

        width: 100%;

    }

    /*

       =====================================================

       SPONSOR

       =====================================================

    */

    .sponsor-banner {

        flex-direction: column;

        align-items: flex-start;

    }

    /*

       =====================================================

       FOOTER

       =====================================================

    */

    .footer-content {

        grid-template-columns: 1fr;

    }

    .footer-links {

        flex-wrap: wrap;

    }

    .footer-content small {

        grid-column: auto;

    }

}

/* =========================================================

   MÓVILES PEQUEÑOS

\========================================================= */

@media (max-width: 400px) {

    .home-hero {

        height: 315px;

        min-height: 315px;

    }

    .hero-copy {

        width: calc(100% - 25px);

    }

    .hero-copy h1 {

        font-size: 36px;

    }

    .hero-copy p {

        font-size: 13px;

    }

    .hero-eyebrow {

        font-size: 9px;

    }

    /*

       Categorías para teléfonos pequeños.

       Se mantiene la misma rejilla de 4 columnas.

    */

    .category-row {

        gap: 8px 4px;

    }

        .category-card {
        height: 46px;
        min-height: 46px;

        gap: 0;
        padding: 5px 3px;
    }

        .category-icon {
        display: none !important;
    }

    .category-card strong {

        font-size: 9px;

    }

    /*

       Destacados: mantenemos una tarjeta grande,

       pero dejamos visible una parte de la siguiente.

    */

    .featured-grid .event-card {

        flex-basis: 82vw;

        width: 82vw;

        min-width: 82vw;

    }

    .event-card-image {

        height: 135px;

        min-height: 135px;

        max-height: 135px;

        flex-basis: 135px;

    }

    .event-card-content {

        padding: 9px;

    }

    .event-card-content h3 {

        font-size: 13px;

    }

}
