/*
 * ficg41.css
 * Mini-sitio FICG 41 — Conjunto Santander de Artes Escénicas
 *
 * SISTEMA DE VARIABLES: para adaptar a otro festival solo cambia este bloque.
 * Todo lo demás son clases de Bootstrap + las clases ficg41-* de este archivo.
 */

:root {
    /* Paleta FICG 41 (teal/menta) */
    --f-primary:     #00a896;   /* color principal — botones, acentos */
    --f-primary-dk:  #007d6e;   /* hover de botones */
    --f-primary-lt:  #c6f4ee;   /* fondo suave */
    --f-accent:      #e63946;   /* badge Especial / destacado */
    --f-dark:        #1a2e2c;   /* hero, textos oscuros */
    --f-grey:        #5a6472;   /* texto secundario */
    --f-border:      #d4ede9;   /* bordes suaves */
    --f-card-left:   4px;       /* grosor borde izquierdo de cards */
}


/* ═══════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#ficg41 {
    background: var(--f-primary-lt);
}

.ficg41-hero {
    position: relative;
    background: var(--f-dark);
    overflow: hidden;
}

/* Imagen de fondo (cuando existe) */
.ficg41-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .25;
}

.ficg41-hero__overlay {
    position: relative;
    z-index: 1;
}

.ficg41-hero__logo {
    max-height: 120px;
    width: auto;
}

.ficg41-hero__edition {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--f-primary);
}

.ficg41-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -.01em;
}

.ficg41-hero__divider {
    width: 56px;
    height: 3px;
    background: var(--f-primary);
    border-radius: 2px;
}

.ficg41-hero__subtitle {
    font-size: .95rem;
    color: rgba(255,255,255,.72);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.ficg41-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85);
    border-radius: 100px;
    padding: .35rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}


/* ═══════════════════════════════════════════
   SECCIÓN PROGRAMACIÓN
══════════════════════════════════════════════ */
.ficg41-programa-wrap {
    background: var(--f-primary-lt);
}

.ficg41-section-eyebrow {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--f-primary);
    margin-bottom: .4rem;
}

.ficg41-section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--f-dark);
    margin: 0 0 .75rem;
}

.ficg41-section-line {
    width: 48px;
    height: 3px;
    background: var(--f-primary);
    border-radius: 2px;
}


/* ═══════════════════════════════════════════
   GRUPO DE DÍA
══════════════════════════════════════════════ */
.ficg41-day-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--f-dark);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: .5rem 1.25rem;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.ficg41-day-label strong {
    font-size: 1.05rem;
}

/* línea decorativa que une label con las cards */
.ficg41-day-group {
    border-left: 3px solid var(--f-dark);
    padding-left: 0;
}

.ficg41-day-group .ficg41-day-label {
    margin-left: -3px;
}

.ficg41-day-group .ficg41-card:last-child {
    margin-bottom: 0 !important;
}


/* ═══════════════════════════════════════════
   CARDS DE EVENTO
══════════════════════════════════════════════ */
.ficg41-card.card {
    border: none;
    border-left: var(--f-card-left) solid var(--f-primary);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
    margin-left: -3px;  /* alinea con la línea del grupo */
}

.ficg41-card.card:hover {
    box-shadow: 0 6px 24px rgba(0,168,150,.15);
    transform: translateY(-1px);
}

/* Columna de hora y sala */
.ficg41-time-col {
    min-width: 80px;
}

.ficg41-time {
    font-size: 1rem;
    font-weight: 800;
    color: var(--f-dark);
    white-space: nowrap;
}

.ficg41-sala {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--f-primary-lt);
    color: var(--f-primary-dk);
    border-radius: 100px;
    padding: .2rem .6rem;
}

/* Título */
.ficg41-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--f-dark);
    line-height: 1.3;
    margin-bottom: .25rem;
}

/* Participantes */
.ficg41-participantes {
    font-size: .82rem;
    color: var(--f-grey);
}

/* Sinopsis */
.ficg41-sinopsis {
    font-size: .88rem;
    color: var(--f-grey);
    line-height: 1.6;
    margin: 0;
}

/* Footer de la card */
.ficg41-card-footer {
    border-top: 1px solid var(--f-border);
}

.ficg41-meta {
    font-size: .78rem;
    color: var(--f-grey);
    font-weight: 600;
}

.ficg41-icon-sm {
    font-size: .7rem;
    opacity: .6;
}


/* ═══════════════════════════════════════════
   BADGES DE TIPO
══════════════════════════════════════════════ */
.ficg41-badge-tipo {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: .25rem .65rem;
}

.ficg41-tipo--magistral {
    background: #e8f7f5;
    color: var(--f-primary-dk);
}

.ficg41-tipo--panel {
    background: #fff3e0;
    color: #b45309;
}

.ficg41-tipo--especial {
    background: #fce8ea;
    color: var(--f-accent);
}


/* ═══════════════════════════════════════════
   BOTÓN TICKETS
══════════════════════════════════════════════ */
.ficg41-btn-ticket {
    background: var(--f-primary);
    color: #fff !important;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 8px;
    padding: .45rem 1.1rem;
    border: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.ficg41-btn-ticket:hover,
.ficg41-btn-ticket:focus {
    background: var(--f-primary-dk);
    color: #fff !important;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Evita scroll lateral global */
#ficg41,
.ficg41-programa-wrap,
.ficg41-hero {
    overflow-x: hidden;
}

@media (max-width: 575px) {
    .ficg41-time-col {
        min-width: auto;
    }

    .ficg41-time {
        font-size: .88rem;
    }

    .ficg41-card-title {
        font-size: .95rem;
    }

    .ficg41-btn-ticket {
        width: 100%;
        text-align: center;
    }

    /* Quita margen negativo que rompe el ancho en móvil */
    .ficg41-card.card {
        margin-left: 0;
    }

    .ficg41-day-group {
        border-left: none;
    }

    .ficg41-day-label {
        margin-left: 0;
        border-radius: 8px;
        margin-bottom: .5rem;
    }

    /* En móvil la columna de tiempo va arriba */
    .ficg41-card .row.g-0 {
        flex-direction: column;
    }

    .ficg41-time-col {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding-bottom: .75rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    /* Hero badges en columna */
    .ficg41-hero .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }
}
