/* ============================================
   ISBFT — Stylesheet Principal
   Couleurs : Navy #1A2E6E | Or #C8960C
   Fonts : Playfair Display + Inter
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Navbar ---------- */
#navbar .nav-inner {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.nav-scrolled .nav-inner {
    background: rgba(10, 18, 50, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

/* Sur les pages sans hero sombre, la navbar est toujours dark */
#navbar.nav-light .nav-inner {
    background: rgba(10, 18, 50, 0.97);
    backdrop-filter: blur(20px);
}

/* ---------- Hero Canvas (Particles) ---------- */
#hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ---------- Section Spacing ---------- */
.section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .section-pad {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* ---------- Eyebrow Label ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8960C;
    margin-bottom: 1rem;
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: #C8960C;
    opacity: 0.6;
}

/* ---------- Section Title ---------- */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0D1B4B;
}

.section-title.light {
    color: #FFFFFF;
}

/* ---------- Gold Underline Decoration ---------- */
.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #C8960C, transparent);
    border-radius: 2px;
}

/* ---------- Cards ---------- */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 46, 110, 0.15);
}

/* ---------- Formation Card ---------- */
.formation-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #E5E9F5;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1A2E6E, #C8960C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 46, 110, 0.12);
    border-color: #1A2E6E20;
}

.formation-card:hover::before {
    opacity: 1;
}

/* ---------- Stat Counter ---------- */
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #C8960C, #E5B730);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ---------- Page Hero (sous-pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, #0D1B4B 0%, #1A2E6E 60%, #2A4090 100%);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #F8F9FC;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* ---------- Hexagon Decoration ---------- */
.hex-deco {
    position: absolute;
    opacity: 0.06;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,2 93,25 93,75 50,98 7,75 7,25' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}

/* ---------- Team Card ---------- */
.team-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A2E6E, #2A4090);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #C8960C;
    margin: 0 auto 1rem;
    border: 3px solid #C8960C20;
    transition: border-color 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: #C8960C;
}

/* ---------- News Card ---------- */
.news-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #E5E9F5;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 46, 110, 0.1);
}

.news-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1A2E6E, #C8960C20);
    object-fit: cover;
}

/* ---------- Steps (Admissions) ---------- */
.step-item {
    position: relative;
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 3rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #C8960C, #E5E9F5);
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #0D1B4B;
    color: #C8960C;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #C8960C30;
    z-index: 1;
}

/* ---------- Contact Form ---------- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.1rem;
    border: 2px solid #E5E9F5;
    border-radius: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1C1C2E;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #1A2E6E;
    box-shadow: 0 0 0 4px rgba(26, 46, 110, 0.08);
}

.form-input.error {
    border-color: #DC2626;
}

/* ---------- Btn Primary ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: #C8960C;
    color: #0D1B4B;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #E5B730;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 150, 12, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2rem;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* ---------- Galerie Grid ---------- */
.gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1A2E6E, #C8960C30);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(13, 27, 75, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ---------- Scroll reveal (JS) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Cookie / Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   ISBFT - Vitrine institutionnelle
   ============================================ */
:root {
    --isbft-blue: #005181;
    --isbft-navy: #073b63;
    --isbft-gold: #d69b1f;
    --isbft-ink: #17202a;
    --isbft-soft: #f5f8fb;
    --isbft-border: #d8e2ea;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--isbft-ink);
    background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid #dbe4ca;
    border-bottom: 1px solid #edf1f5;
    box-shadow: 0 1px 8px rgba(7, 59, 99, 0.06);
}

.site-nav {
    width: min(980px, calc(100% - 32px));
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.brand-logo {
    width: 132px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 14px;
    line-height: 1;
}

.nav-link {
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--isbft-blue);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--isbft-border);
    border-radius: 6px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--isbft-blue);
}

.mobile-menu {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto 14px;
    border-top: 1px solid var(--isbft-border);
    padding-top: 10px;
}

.mobile-menu a {
    display: block;
    padding: 12px 4px;
    color: var(--isbft-ink);
    text-decoration: none;
    border-bottom: 1px solid #eef2f5;
}

.mobile-menu a.is-active {
    color: var(--isbft-blue);
    font-weight: 700;
}

.home-hero {
    position: relative;
    min-height: 368px;
    overflow: hidden;
    background: #dce8f2;
}

.home-hero-img {
    width: 100%;
    height: 368px;
    object-fit: cover;
    object-position: center;
}

.hero-caption {
    position: absolute;
    left: max(15%, 24px);
    bottom: 54px;
    width: min(315px, calc(100% - 48px));
}

.hero-caption h1 {
    display: inline-block;
    margin: 0;
    padding: 8px 14px 10px;
    background: var(--isbft-blue);
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 500;
    line-height: 1.1;
}

.hero-caption p {
    width: 168px;
    margin: 0;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.74);
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

.hero-caption a {
    position: absolute;
    left: 148px;
    bottom: 10px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 81, 129, 0.38);
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dots span {
    width: 19px;
    height: 5px;
    background: #fff;
    display: block;
}

.hero-dots span.is-active {
    background: var(--isbft-blue);
}

.welcome-band {
    background: var(--isbft-blue);
    color: #fff;
    padding: 20px 0 25px;
}

.section-inner {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.welcome-band h2 {
    margin: 0 0 2px;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.welcome-band p {
    margin: 0;
    font-style: italic;
}

.section-pad {
    padding: 60px 0;
}

.section-muted {
    background: var(--isbft-soft);
}

.intro-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 42px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--isbft-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
    display: none;
}

.section-title {
    margin: 0;
    color: var(--isbft-navy);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.13;
    font-weight: 800;
}

.lead-text {
    max-width: 680px;
    margin: 18px 0 0;
    color: #52616f;
    font-size: 17px;
    line-height: 1.75;
}

.quick-panel {
    border-top: 4px solid var(--isbft-blue);
    background: #fff;
    padding: 22px;
    box-shadow: 0 16px 34px rgba(7, 59, 99, 0.1);
}

.quick-panel h2,
.quick-panel h3 {
    margin: 0 0 10px;
    color: var(--isbft-navy);
    font-size: 21px;
    font-weight: 800;
}

.quick-panel p {
    margin: 0 0 16px;
    color: #52616f;
    line-height: 1.6;
}

.quick-panel a,
.program-card a {
    color: var(--isbft-blue);
    font-weight: 700;
    text-decoration: none;
}

.section-head {
    margin-bottom: 26px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.program-card {
    min-height: 210px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--isbft-border);
    border-top: 4px solid var(--isbft-blue);
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(7, 59, 99, 0.06);
}

.program-card span,
.program-card small {
    display: block;
    color: var(--isbft-gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.program-card h2,
.program-card h3 {
    margin: 12px 0 10px;
    color: var(--isbft-navy);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.program-card p {
    margin: 0 0 16px;
    color: #52616f;
    line-height: 1.6;
}

.stats-band {
    background: var(--isbft-navy);
    color: #fff;
    padding: 34px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stats-grid strong {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.stats-grid span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.simple-hero {
    background: var(--isbft-blue);
    color: #fff;
    padding: 64px 0;
}

.simple-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
}

.simple-hero p {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.steps-list {
    display: grid;
    gap: 18px;
}

.steps-list article {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--isbft-border);
    border-radius: 4px;
}

.steps-list strong {
    color: var(--isbft-gold);
    font-size: 28px;
}

.steps-list h2 {
    margin: 0 0 8px;
    color: var(--isbft-navy);
    font-weight: 800;
}

.steps-list p {
    margin: 0;
    color: #52616f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--isbft-border);
    border-radius: 4px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--isbft-navy);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--isbft-border);
    border-radius: 4px;
    padding: 12px;
    color: var(--isbft-ink);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--isbft-blue);
    box-shadow: 0 0 0 3px rgba(0, 81, 129, 0.12);
}

.contact-form button {
    justify-self: start;
    padding: 12px 24px;
    border-radius: 4px;
    background: var(--isbft-blue);
    color: #fff;
    font-weight: 800;
}

.narrow-content {
    max-width: 720px;
    color: #52616f;
    line-height: 1.7;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(214, 155, 31, 0.16), transparent 28%),
        linear-gradient(135deg, #0d2035 0%, #102033 52%, #071726 100%);
    color: rgba(255, 255, 255, 0.76);
}

.site-footer::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 42px solid rgba(0, 81, 129, 0.32);
    border-radius: 999px;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 40px;
    display: grid;
    grid-template-columns: 1.35fr 0.82fr 0.95fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.footer-brand p {
    max-width: 330px;
    margin: 18px 0;
    line-height: 1.65;
}

.footer-logo-box {
    width: 155px;
    min-height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.footer-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.site-footer strong {
    display: block;
    color: #fff;
    margin-bottom: 14px;
    font-size: 15px;
    letter-spacing: 0;
}

.footer-col {
    display: grid;
    gap: 10px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover,
.footer-contact a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 4px;
    background: var(--isbft-gold);
    color: #102033 !important;
    font-size: 13px;
    font-weight: 900;
}

.footer-contact {
    gap: 12px;
}

.footer-contact p {
    line-height: 1.6;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.feature-row span,
.training-tabs span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(0, 81, 129, 0.08);
    color: var(--isbft-navy);
    font-size: 13px;
    font-weight: 800;
}

.highlight-section {
    padding-top: 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.highlight-card {
    position: relative;
    min-height: 210px;
    padding: 24px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(145deg, var(--isbft-navy), var(--isbft-blue));
    color: #fff;
}

.highlight-card::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 112px;
    height: 112px;
    border: 18px solid rgba(214, 155, 31, 0.35);
    border-radius: 999px;
}

.highlight-card span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--isbft-gold);
    color: #102033;
    font-weight: 900;
}

.highlight-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
}

.highlight-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.patterned-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 81, 129, 0.95), rgba(7, 59, 99, 0.98)),
        url('/banner-isbft.png') center/cover;
}

.patterned-hero::after {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 330px;
    height: 330px;
    border: 46px solid rgba(214, 155, 31, 0.18);
    border-radius: 999px;
}

.patterned-hero .section-inner {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.training-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.program-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rich-card {
    position: relative;
    overflow: hidden;
}

.rich-card::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-right: 4px solid rgba(214, 155, 31, 0.55);
    border-bottom: 4px solid rgba(0, 81, 129, 0.24);
}

.two-column-panel,
.admission-grid,
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 34px;
    align-items: start;
}

.check-list-card,
.documents-card,
.contact-card,
.fees-card,
.news-feature {
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--isbft-border);
    box-shadow: 0 16px 34px rgba(7, 59, 99, 0.08);
}

.check-list-card,
.documents-card,
.contact-card,
.news-feature {
    padding: 26px;
}

.check-list-card h3,
.documents-card h2,
.contact-card h2,
.news-feature h2 {
    margin: 0 0 16px;
    color: var(--isbft-navy);
    font-size: 24px;
    font-weight: 800;
}

.check-list-card ul,
.documents-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list-card li,
.documents-card li {
    position: relative;
    padding-left: 28px;
    color: #52616f;
    line-height: 1.55;
}

.check-list-card li::before,
.documents-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--isbft-gold);
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--isbft-gold);
}

.fees-card {
    padding: 0;
    overflow: hidden;
    background: var(--isbft-navy);
    color: #fff;
}

.fees-card span {
    display: block;
    padding: 16px 22px;
    background: var(--isbft-gold);
    color: #102033;
    font-weight: 900;
    text-transform: uppercase;
}

.fees-card strong {
    display: block;
    padding: 22px 22px 0;
    color: #fff;
    font-size: 40px;
    font-weight: 900;
}

.fees-card p,
.fees-card small {
    display: block;
    margin: 0;
    padding: 0 22px 20px;
    color: rgba(255, 255, 255, 0.78);
}

.fees-card hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-band {
    padding: 30px 0;
    background: var(--isbft-blue);
    color: #fff;
}

.cta-band .section-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.cta-band span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
}

.cta-band strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
}

.cta-band a,
.news-feature a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--isbft-gold);
    color: #102033;
    font-weight: 900;
    text-decoration: none;
}

.news-feature {
    min-height: 100%;
    background:
        linear-gradient(145deg, rgba(7, 59, 99, 0.94), rgba(0, 81, 129, 0.9)),
        url('/banner-isbft.png') center/cover;
    color: #fff;
}

.news-feature span {
    color: var(--isbft-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.news-feature h2 {
    color: #fff;
    font-size: 34px;
}

.news-feature p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.news-grid {
    grid-template-columns: 1fr;
}

.contact-card p {
    margin: 0 0 18px;
    color: #52616f;
    line-height: 1.65;
}

.contact-card a {
    color: var(--isbft-blue);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .site-nav,
    .section-inner,
    .footer-inner,
    .mobile-menu {
        width: min(100% - 32px, 940px);
    }

    .nav-menu {
        gap: 14px;
        font-size: 13px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-grid-wide,
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 780px) {
    .site-nav {
        min-height: 76px;
        align-items: center;
    }

    .brand-logo {
        width: 104px;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
        margin-top: 0;
    }

    .home-hero,
    .home-hero-img {
        height: 310px;
        min-height: 310px;
    }

    .hero-caption {
        left: 16px;
        bottom: 42px;
    }

    .intro-grid,
    .contact-grid,
    .two-column-panel,
    .admission-grid,
    .news-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .program-grid,
    .program-grid-wide,
    .stats-grid,
    .gallery-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .cta-band .section-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .fees-card strong {
        font-size: 34px;
    }
}
