/* =============================================
   HOME — Exhibidor de Sorteos Activos
   Prefijo: home-exhibidor__
   ============================================= */

:root {
    --home-bg: #000000;
    --home-bg-alt: #0e0e0e;
    --home-accent: #8c2bee;
    --home-text: #ffffff;
    --home-muted: #9ca3af;
    --home-btn: #0000cc;
    --home-btn-hover: #1a1aff;
    --home-dot: rgba(255, 255, 255, 0.3);
    --home-dot-active: #ffffff;
}

/* ---- SECTION CONTAINER ---- */
.home-exhibidor {
    width: 100%;
    padding: 1.5rem 1rem 2rem;
    overflow: hidden;

    background: var(--home-bg);
    background-image: radial-gradient(circle at top left, rgba(140, 43, 238, .2) 0%, transparent 40%);
    color: var(--home-text);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    font-family: "Manrope", "Inter", sans-serif;
}

/* ---- HEADER (titulo + fecha) ---- */
.home-exhibidor__header {
    text-align: center;
    max-width: 700px;
}

.home-exhibidor__title {
    margin: 0 0 .4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-size: 2rem;
    color: var(--home-text);
    transition: opacity 0.3s ease;
}

.home-exhibidor__date {
    margin: 0;
    font-weight: 500;
    color: var(--home-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: opacity 0.3s ease;
}

.home-exhibidor__date i {
    font-size: 0.85em;
    color: var(--home-accent);
}

/* ---- CAROUSEL ---- */
.home-exhibidor__carousel {
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    border-radius: .75rem;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.home-exhibidor__carousel:active {
    cursor: grabbing;
}

.home-exhibidor__track {
    display: flex;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}

.home-exhibidor__slide {
    flex: 0 0 100%;
    width: 100%;
}

/* ---- IMAGE ---- */
.home-exhibidor__image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
    border-radius: .75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-exhibidor__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* Placeholder cuando no hay imagen */
.home-exhibidor__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: rgba(255, 255, 255, 0.25);
    padding: 2rem;
    text-align: center;
}

.home-exhibidor__placeholder i {
    font-size: 3rem;
}

.home-exhibidor__placeholder span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- DOTS ---- */
.home-exhibidor__dots {
    display: flex;
    gap: .5rem;
    justify-content: center;
}

.home-exhibidor__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--home-dot);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-exhibidor__dot.active {
    background: var(--home-dot-active);
    transform: scale(1.25);
}

.home-exhibidor__dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ---- CTA BUTTON ---- */
.home-exhibidor__cta {
    margin-top: .25rem;
}

.home-exhibidor__btn {
    display: inline-block;
    background: var(--home-btn);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    font-family: "Quicksand", "Poppins", sans-serif;
    letter-spacing: 0.02em;
}

.home-exhibidor__btn:hover {
    background: var(--home-btn-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.home-exhibidor__btn:active {
    transform: translateY(0);
}

/* ---- EMPTY STATE ---- */
.home-exhibidor__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--home-muted);
    flex-grow: 1;
}

.home-exhibidor__empty i {
    font-size: 3.5rem;
    color: var(--home-accent);
    opacity: 0.5;
}

.home-exhibidor__empty h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--home-text);
}

.home-exhibidor__empty p {
    margin: 0;
    font-size: 1.05rem;
}

/* =============================================
   HOME — Countdown Timer
   Prefijo: home-countdown
   ============================================= */

.home-countdown {
    width: 100%;
    max-width: 520px;
    text-align: center;
    padding: 1.25rem 1rem;
    margin-top: .25rem;
    background: rgba(140, 43, 238, 0.08);
    border: 1px solid rgba(140, 43, 238, 0.2);
    border-radius: .75rem;
    backdrop-filter: blur(8px);
}

.home-countdown__legend {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--home-muted);
    margin-bottom: .75rem;
}

.home-countdown__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.home-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.home-countdown__number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--home-text);
    font-variant-numeric: tabular-nums;
    font-family: "Manrope", "Inter", monospace;
    background: rgba(255, 255, 255, 0.06);
    border-radius: .4rem;
    padding: .4rem .5rem;
    min-width: 52px;
    text-align: center;
}

.home-countdown__label {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--home-muted);
    margin-top: .3rem;
}

.home-countdown__sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--home-accent);
    line-height: 1;
    margin-bottom: 1.2rem;
    animation: countdownBlink 1s ease-in-out infinite;
}

@keyframes countdownBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 480px) {
    .home-countdown {
        max-width: 92vw;
        padding: 1rem .75rem;
    }

    .home-countdown__number {
        font-size: 1.5rem;
        min-width: 42px;
        padding: .3rem .4rem;
    }

    .home-countdown__unit {
        min-width: 42px;
    }

    .home-countdown__sep {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .home-countdown__legend {
        font-size: .75rem;
    }
}

/* =============================================
   HOME — Preguntas Frecuentes (Sección 2 — Striping)
   Prefijo: home-faq__
   ============================================= */

.home-faq {
    width: 100%;
    padding: 3rem 1rem;
    background: var(--home-bg-alt);
    color: var(--home-text);
    font-family: "Manrope", "Inter", sans-serif;
}

.home-faq__inner {
    max-width: 720px;
    margin: 0 auto;
}

.home-faq__title {
    margin: 0 0 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--home-text);
}

.home-faq__title i {
    color: var(--home-accent);
    font-size: 0.9em;
}

.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

/* ---- Accordion item ---- */
.home-faq__item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: .5rem;
    overflow: hidden;
    transition: background 0.25s ease;
}

.home-faq__item[open] {
    background: rgba(255, 255, 255, 0.06);
}

.home-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    color: var(--home-text);
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Quitar marker nativo de <summary> */
.home-faq__question::-webkit-details-marker { display: none; }
.home-faq__question::marker { display: none; content: ""; }

.home-faq__chevron {
    font-size: .75rem;
    color: var(--home-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.home-faq__item[open] .home-faq__chevron {
    transform: rotate(180deg);
}

.home-faq__answer {
    padding: 0 1.25rem 1rem;
    font-size: .9rem;
    line-height: 1.65;
    color: var(--home-muted);
}

/* =============================================
   HOME — Nosotros y Contacto (Secci&oacute;n 3)
   Prefijo: home-about__
   ============================================= */

.home-about {
    width: 100%;
    padding: 3rem 1rem;
    background: var(--home-bg);
    color: var(--home-text);
    font-family: "Manrope", "Inter", sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-about__inner {
    max-width: 720px;
    margin: 0 auto;
}

.home-about__title {
    margin: 0 0 1.5rem;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--home-text);
}

.home-about__title i {
    color: var(--home-accent);
    font-size: 0.9em;
}

.home-about__description {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: .5rem;
    padding: 1.25rem 1.5rem;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--home-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.home-about__contact {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.home-about__btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.5rem;
    border-radius: .5rem;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.home-about__btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.home-about__btn:active {
    transform: translateY(0);
}

.home-about__btn i {
    font-size: 1.2em;
}

.home-about__btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.home-about__btn--facebook {
    background: #1877F2;
    color: #fff;
}

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

/* Tablet */
@media (min-width: 768px) {
    .home-exhibidor {
        padding: 1.5rem 2rem 2.5rem;
        gap: 1.2rem;
    }

    .home-exhibidor__title {
        font-size: 2.4rem;
    }

    .home-exhibidor__date {
        font-size: 1.2rem;
    }

    .home-exhibidor__carousel {
        max-width: 450px;
    }

    .home-faq {
        padding: 3.5rem 2rem;
    }

    .home-faq__title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .home-about {
        padding: 3.5rem 2rem;
    }

    .home-about__title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .home-exhibidor {
        padding: 1.5rem 2rem 2.5rem;
        gap: 1.2rem;
    }

    .home-exhibidor__title {
        font-size: 2.6rem;
    }

    .home-exhibidor__date {
        font-size: 1.3rem;
    }

    .home-exhibidor__carousel {
        max-width: 500px;
    }

    .home-faq {
        padding: 4rem 2rem;
    }

    .home-faq__title {
        font-size: 2rem;
    }

    .home-about {
        padding: 4rem 2rem;
    }

    .home-about__title {
        font-size: 2rem;
    }

    .home-about__description {
        font-size: 1rem;
    }

    .home-faq__question {
        font-size: 1rem;
        padding: 1.1rem 1.5rem;
    }

    .home-faq__answer {
        padding: 0 1.5rem 1.1rem;
        font-size: .95rem;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .home-exhibidor {
        padding: 1.5rem 0.75rem 2rem;
        gap: 1.2rem;
    }

    .home-exhibidor__title {
        font-size: 1.6rem;
    }

    .home-exhibidor__date {
        font-size: 0.9rem;
    }

    .home-exhibidor__carousel {
        max-width: 92vw;
    }

    .home-exhibidor__btn {
        padding: 0.85rem 2.5rem;
        font-size: 1rem;
    }

    .home-exhibidor__image-wrap {
        border-radius: .5rem;
    }

    .home-faq {
        padding: 2rem 0.75rem;
    }

    .home-faq__title {
        font-size: 1.35rem;
    }

    .home-faq__question {
        font-size: .88rem;
        padding: .85rem 1rem;
    }

    .home-faq__answer {
        padding: 0 1rem .85rem;
        font-size: .85rem;
    }

    .home-about {
        padding: 2rem 0.75rem;
    }

    .home-about__title {
        font-size: 1.35rem;
    }

    .home-about__description {
        padding: 1rem;
        font-size: .88rem;
    }

    .home-about__contact {
        flex-direction: column;
    }

    .home-about__btn {
        justify-content: center;
        width: 100%;
    }
}
