/* ── Institutional page layout ── */

.page-wrap {
    max-width: var(--bkm-container);
    margin: 0 auto;
    padding: 0 24px;
}

.page-panel {
    background: #fff;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-radius: var(--bkm-radius);
    box-shadow: var(--bkm-shadow);
    padding: 40px;
    margin: 32px 0;
}

.section-head {
    margin: 48px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(8, 35, 92, 0.1);
}

.section-head:first-child {
    margin-top: 0;
}

.section-head__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bkm-red);
    margin-bottom: 6px;
}

.section-head__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bkm-navy);
    line-height: 1.3;
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: min(72vh, 640px);
    min-height: 420px;
    overflow: hidden;
    background: var(--bkm-navy-dark);
}

.hero-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel__slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 35, 92, 0.75) 0%,
        rgba(8, 35, 92, 0.2) 45%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

.hero-carousel__caption {
    max-width: 720px;
    color: #fff;
}

.hero-carousel__caption h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.hero-carousel__caption p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 35, 92, 0.5);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10;
}

.hero-carousel__btn:hover {
    background: var(--bkm-navy);
    border-color: #fff;
}

.hero-carousel__btn--prev { left: 24px; }
.hero-carousel__btn--next { right: 24px; }

.hero-carousel__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel__dot {
    width: 32px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border: none;
    padding: 0;
}

.hero-carousel__dot.is-active {
    background: #fff;
    width: 48px;
}

/* CTA row */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.btn-inst {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-inst--primary {
    background: var(--bkm-navy);
    color: #fff;
}

.btn-inst--primary:hover {
    background: var(--bkm-blue);
    color: #fff;
}

.btn-inst--outline {
    background: #fff;
    color: var(--bkm-navy);
    border-color: var(--bkm-navy);
}

.btn-inst--outline:hover {
    background: var(--bkm-navy);
    color: #fff;
}

/* Stats grid */
.stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-tile {
    background: #f8fafc;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-radius: var(--bkm-radius);
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-tile:hover {
    border-color: var(--bkm-blue);
    box-shadow: 0 4px 12px rgba(8, 35, 92, 0.08);
}

.stat-tile__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bkm-navy);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-tile__label {
    font-size: 13px;
    color: var(--bkm-muted);
    font-weight: 500;
}

/* Content grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.content-card {
    background: #fff;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-radius: var(--bkm-radius);
    padding: 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(8, 35, 92, 0.08);
    border-color: rgba(8, 35, 92, 0.15);
}

.content-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bkm-navy);
    line-height: 1.35;
}

.content-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--bkm-muted);
    line-height: 1.55;
}

.content-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bkm-blue);
    background: rgba(27, 67, 132, 0.08);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.content-card__meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bkm-red);
    margin-bottom: 10px;
}

.content-card__meta i {
    margin-right: 6px;
    opacity: 0.85;
}

.content-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--bkm-blue);
    text-decoration: none;
}

.content-card__link:hover {
    color: var(--bkm-navy);
    text-decoration: underline;
}

.content-card__link i {
    font-size: 11px;
    margin-left: 4px;
}

/* Partners strip */
.partners-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.partner-chip {
    background: #f8fafc;
    border: 1px solid rgba(8, 35, 92, 0.1);
    border-radius: var(--bkm-radius);
    padding: 16px 24px;
    text-align: center;
    min-width: 140px;
    transition: border-color 0.2s;
}

.partner-chip:hover {
    border-color: var(--bkm-blue);
}

.partner-chip strong {
    display: block;
    font-size: 14px;
    color: var(--bkm-navy);
}

.partner-chip span {
    font-size: 12px;
    color: var(--bkm-muted);
}

/* About page */
.page-breadcrumb {
    padding: 20px 0 0;
    font-size: 13px;
    color: var(--bkm-muted);
}

.page-breadcrumb a {
    color: var(--bkm-blue);
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    margin: 0 0 20px;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--bkm-navy);
    padding-left: 16px;
    border-left: 4px solid var(--bkm-red);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.mv-card {
    background: #f8fafc;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-left: 4px solid var(--bkm-blue);
    border-radius: var(--bkm-radius);
    padding: 24px;
}

.mv-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bkm-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mv-card p {
    margin: 0;
    font-size: 14px;
    color: var(--bkm-muted);
    line-height: 1.6;
}

.director-quote {
    background: #f8fafc;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-left: 4px solid var(--bkm-red);
    border-radius: var(--bkm-radius);
    padding: 28px;
    margin: 24px 0;
}

.director-quote__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bkm-navy);
}

.director-quote__role {
    font-size: 13px;
    color: var(--bkm-muted);
    margin-bottom: 12px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-card {
    background: #fff;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-radius: var(--bkm-radius);
    padding: 24px 16px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.team-card:hover {
    box-shadow: 0 4px 16px rgba(8, 35, 92, 0.08);
}

.team-card__name {
    font-weight: 600;
    color: var(--bkm-navy);
    font-size: 14px;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 13px;
    color: var(--bkm-muted);
}

.advisory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.advisor-chip {
    background: #f8fafc;
    border: 1px solid rgba(8, 35, 92, 0.1);
    border-radius: 100px;
    padding: 12px 20px;
    font-size: 13px;
    line-height: 1.4;
}

.advisor-chip strong {
    color: var(--bkm-navy);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.partner-card {
    background: #fff;
    border: 1px solid rgba(8, 35, 92, 0.08);
    border-radius: var(--bkm-radius);
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s;
}

.partner-card:hover {
    border-color: var(--bkm-blue);
}

.partner-card a {
    font-weight: 600;
    font-size: 14px;
    color: var(--bkm-blue);
}

.partner-card a:hover {
    color: var(--bkm-navy);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 35, 92, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal-dialog {
    background: #fff;
    border-radius: var(--bkm-radius);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-dialog h3 {
    margin: 0 0 20px;
    font-size: 1.25rem;
    color: var(--bkm-navy);
}

.modal-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bkm-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-dialog input,
.modal-dialog select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(8, 35, 92, 0.15);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.toast-msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bkm-navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 3000;
    box-shadow: var(--bkm-shadow);
}

@media (max-width: 992px) {
    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .page-panel { padding: 24px 20px; }
    .stats-row,
    .card-grid,
    .team-grid,
    .partners-grid { grid-template-columns: 1fr; }
    .hero-carousel { min-height: 320px; }
    .hero-carousel__overlay { padding: 24px; }
    .cta-row { flex-direction: column; }
    .btn-inst { justify-content: center; }
}
