/*
 * fitpa26.css
 * Mini-sitio FITPA 2026 — 11ª edición
 * Conjunto Santander de Artes Escénicas
 *
 * Cada card define inline sus tres variables de color:
 *   --e-color     color principal del evento
 *   --e-color-lt  tono suave (fondos)
 *   --e-color-dk  tono oscuro (hover)
 * El CSS usa var(--e-color) sin hardcodear ningún color por evento.
 */


/* ═══════════════════════════════════════════
   BASE
══════════════════════════════════════════════ */
#fitpa26 {
    background: #fff;
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.fp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://conjuntosantander.com/new2025itecsae/assets/img/fitpa-26/fitpa-bg.webp');
    background-size: cover;
    background-position: center;
}


.fp-hero__inner {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.fp-hero__col-logo {
    flex: 0 0 auto;
    text-align: left;
}

.fp-hero__col-desc {
    flex: 1 1 0;
}

.fp-hero__desc {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    color: #000;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    backdrop-filter: blur(6px);
}

.fp-hero__logo {
    width: 340px;
    max-width: 70vw;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

.fp-hero__nombre {
    font-size: clamp(.85rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    margin-bottom: .5rem;
}

.fp-hero__fechas {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 800;
    color: #000;
    letter-spacing: .04em;
    margin-bottom: .4rem;
}

.fp-hero__venue {
    font-size: .82rem;
    color: #000;
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════
   ZONA DE EVENTOS
══════════════════════════════════════════════ */
.fp-eventos-wrap {
    background: #F0F1F1;
}


/* ═══════════════════════════════════════════
   CARDS
══════════════════════════════════════════════ */
.fp-card.card {
    border: none;
    border-left: 5px solid var(--e-color);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    background-image: url('https://conjuntosantander.com/new2025itecsae/assets/img/fitpa-26/fitpa-bg.webp');
    background-size: cover;
    background-position: center;
}

.fp-card.card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.14);
    transform: translateY(-2px);
}


/* ── Columna imagen — full height ── */
.fp-card__img-col {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.fp-card__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.fp-card.card:hover .fp-card__img {
    transform: scale(1.04);
}

/* Badge país — flotante sobre la imagen */
.fp-badge-pais {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--e-color);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 100px;
    padding: .35rem 1rem;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.fp-flag {
    font-size: 1rem;
    line-height: 1;
}


/* ── Body ── */
.fp-card__body {
    padding: 1.5rem;
    background: transparent;
}

.fp-card__title {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 900;
    color: var(--e-color);
    line-height: 1.1;
    margin-bottom: .6rem;
    letter-spacing: -.01em;
}

/* Badge edad sugerida */
.fp-badge-edad {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--e-color);
    color: #fff;
    border-radius: 100px;
    padding: .35rem 1rem;
    font-size: 1rem;
    font-weight: 700;
}

/* Lista de info (compañía, director, sala, fecha) */
.fp-card__info {
    font-size: .88rem;
    color: #4a5568;
    line-height: 2.2;
    margin-bottom: 0;
}

.fp-card__info li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.fp-card__info .fp-meta-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.fp-card__info strong {
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--e-color-dk);
}

/* Sinopsis — caja redondeada con color del evento */
.fp-card__sinopsis {
    font-size: .86rem;
    color: var(--e-color-dk);
    line-height: 1.7;
    text-align: justify;
    background: var(--e-color-lt);
    border-radius: 14px;
    padding: .85rem 1rem;
    margin-bottom: 0;
}


/* ═══════════════════════════════════════════
   PRECIOS
══════════════════════════════════════════════ */
.fp-precios {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--e-color-lt);
}

.fp-precios__header {
    background: var(--e-color);
    color: #fff;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .5rem 1rem;
}

.fp-precios__table {
    margin-bottom: 0 !important;
    font-size: .84rem;
    background: var(--e-color-lt);
}

.fp-precios__table tbody td {
    padding: .38rem 1rem;
    color: #4a5568;
    border-color: rgba(0,0,0,.06);
}

.fp-precios__table tbody td.fw-bold {
    color: var(--e-color-dk);
}

.fp-precios__table tbody tr:hover td {
    background: rgba(255,255,255,.6);
}

.fp-precios__nota {
    font-size: .71rem;
    color: #8a95a0;
    padding: .45rem 1rem;
    margin: 0;
    font-style: italic;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
}


/* ═══════════════════════════════════════════
   BOTÓN TICKETS
══════════════════════════════════════════════ */
.fp-btn-ticket {
    background: var(--e-color);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .02em;
    border-radius: 50px;
    padding: .6rem 1.6rem;
    border: 2px solid var(--e-color);
    white-space: nowrap;
    box-shadow: 0 5px 0 var(--e-color-dk);
    transform: translateY(-2px);
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}

.fp-btn-ticket:hover,
.fp-btn-ticket:focus {
    background: var(--e-color-dk);
    border-color: var(--e-color-dk);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 0 var(--e-color-dk);
}

.fp-btn-ticket:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--e-color-dk);
}

.fp-btn-ticket--outline {
    background: transparent;
    color: var(--e-color) !important;
    box-shadow: 0 5px 0 var(--e-color-lt);
}

.fp-btn-ticket--outline:hover,
.fp-btn-ticket--outline:focus {
    background: var(--e-color);
    color: #fff !important;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
#fitpa26,
.fp-hero,
.fp-eventos-wrap {
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .fp-hero {
        min-height: 320px;
    }

    .fp-hero__inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .fp-hero__col-logo {
        text-align: center;
    }

    .fp-hero__logo {
        width: 160px;
    }

    .fp-card__img-col {
        min-height: 240px;
    }

    .fp-card__body {
        padding: 1.1rem;
    }

    .fp-card__title {
        font-size: 1.15rem;
    }

    .fp-btn-ticket {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

    .d-flex.flex-wrap.gap-2 {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .fp-card__info {
        font-size: .82rem;
        line-height: 1.8;
    }

    .fp-precios__table {
        font-size: .8rem;
    }
}
