/* ==========================================================================
   BVB - PORTADA
   Hero slider, areas de practica, banda dorada, mapa y blog.
   ========================================================================== */

/* ------------------------------ HERO SLIDER ------------------------------ */
.bvb-hero { display: block; min-height: 0; }
.bvb-hero__slides { display: grid; }
.bvb-hero__slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(480px, 68vh, 860px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.bvb-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.bvb-hero__media { position: absolute; inset: 0; }
.bvb-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.bvb-hero__overlay { position: absolute; inset: 0; background-image: var(--bvb-gradient-hero); }
.bvb-hero__inner { position: relative; z-index: 2; width: 100%; }
.bvb-hero__title { margin: 0 0 2.25rem; }
.bvb-hero__cta { margin: 0; }

.bvb-hero__controls {
    position: absolute;
    inset: auto 0 1.75rem 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}
.bvb-hero__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid rgba(255, 255, 255, .45);
    color: var(--bvb-white);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}
.bvb-hero__arrow:hover, .bvb-hero__arrow:focus { background-color: var(--bvb-gold); border-color: var(--bvb-gold); }
.bvb-hero__dots { display: flex; gap: .6rem; }
.bvb-hero__dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    background-color: rgba(255, 255, 255, .45); cursor: pointer; transition: var(--transition);
}
.bvb-hero__dot.is-active { background-color: var(--bvb-gold); }

/* --------------------------- AREAS DE PRACTICA --------------------------- */
.bvb-areas { background-color: var(--bvb-white); }
.bvb-areas__wrap { position: relative; }
.bvb-areas .bvb-carousel { position: relative; }
.bvb-areas .bvb-carousel__track { padding-block: .5rem; }
.bvb-areas .bvb-carousel__arrow--prev { left: calc(-1 * clamp(1rem, 2.6vw, 2.25rem)); }
.bvb-areas .bvb-carousel__arrow--next { right: calc(-1 * clamp(1rem, 2.6vw, 2.25rem)); }
.bvb-areas .bvb-carousel__dots { margin-top: 3.25rem; }

/* ------------------------------ BANDA DORADA ----------------------------- */
.bvb-firma { padding-block: clamp(2.75rem, 6vw, 7.1rem) clamp(2.25rem, 4vw, 4.7rem); }
.bvb-firma__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
/* Titulo de la banda: 42 px y 52 px de interlinea sobre 1920. */
.bvb-firma__title {
    font-weight: var(--fw-regular);
    font-size: clamp(1.5rem, 2.19vw, 2.63rem);
    line-height: 1.24;
    color: var(--bvb-white);
    max-width: none;
    margin: 0 0 clamp(1.5rem, 2.6vw, 3.1rem);
}

/* Estadisticas: 15+ / 6+ */
.bvb-firma .bvb-stat__value {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 6vw, 7.2rem);
    font-weight: var(--fw-light);
    line-height: .92;
}
.bvb-firma .bvb-stat__label {
    font-family: var(--font-sans);
    font-size: clamp(.95rem, 1.35vw, 1.62rem);
    line-height: 1.25;
    margin-top: .55rem;
    max-width: 11ch;
}
.bvb-firma__cta { margin: 0; }
@media (max-width: 960px) {
    .bvb-firma__grid { grid-template-columns: minmax(0, 1fr); }
    .bvb-firma__title { max-width: none; }
}

/* ------------------------------- BLOG ----------------------------------- */
.bvb-posts { display: grid; gap: clamp(1.75rem, 3vw, 3rem); }
.bvb-posts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bvb-posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bvb-posts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .bvb-posts--3, .bvb-posts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bvb-posts--2, .bvb-posts--3, .bvb-posts--4 { grid-template-columns: minmax(0, 1fr); } }

.bvb-post-card { display: flex; flex-direction: column; }
.bvb-post-card__cat {
    margin: 0 0 .85rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: var(--fw-regular);
    letter-spacing: .04em;
    color: var(--bvb-gold);
}
.bvb-post-card__title {
    font-size: clamp(1.15rem, 1.7vw, 1.6rem);
    font-weight: var(--fw-bold);
    line-height: 1.22;
    margin: 0 0 1rem;
}
.bvb-post-card__title a { color: var(--bvb-ink); }
.bvb-post-card__title a:hover, .bvb-post-card__title a:focus { color: var(--bvb-gold); }
.bvb-post-card__date {
    margin: 0 0 1.6rem;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    color: var(--bvb-grey-600);
}
.bvb-post-card__thumb { display: block; margin-top: auto; overflow: hidden; }
.bvb-post-card__thumb img { width: 100%; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.bvb-post-card:hover .bvb-post-card__thumb img { transform: scale(1.04); }

.bvb-home-blog { background-color: var(--bvb-white); padding-block: clamp(3rem, 5.4vw, 5.75rem); }

/* Aviso para administradores. */
.bvb-admin-hint {
    padding: 1rem 1.25rem;
    background-color: var(--bvb-grey-050);
    border-left: 3px solid var(--bvb-gold);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--bvb-grey-800);
}
