/* ============================================================
   Focal Crest Energy — design system
   Signature motif: the crest chevron from the brand mark —
   echoed in clipped angles, list markers and section accents.
   ============================================================ */

:root {
    /* Brand palette */
    --fce-navy: #0d2470;
    --fce-navy-deep: #0a1a52;
    --fce-navy-ink: #101d3f;
    --fce-orange: #ff9200;
    --fce-orange-deep: #e07f00;
    --fce-white: #ffffff;
    --fce-light: #f5f7fb;
    --fce-ink: #1d2a43;
    --fce-muted: #5a6884;
    --fce-line: #e3e8f2;
    --fce-success: #0f7b4d;
    --fce-danger: #b42318;

    /* Typography */
    --fce-font-display: "Archivo", "Inter", system-ui, sans-serif;
    --fce-font-body: "Inter", system-ui, -apple-system, sans-serif;

    /* Shape & elevation */
    --fce-radius: 0.75rem;
    --fce-radius-lg: 1.25rem;
    --fce-shadow-sm: 0 1px 2px rgba(13, 36, 112, .06), 0 2px 8px rgba(13, 36, 112, .05);
    --fce-shadow-md: 0 4px 14px rgba(13, 36, 112, .09), 0 10px 34px rgba(13, 36, 112, .08);
    --fce-shadow-lg: 0 12px 40px rgba(13, 36, 112, .16);

    /* Rhythm */
    --fce-section-y: clamp(3.5rem, 8vw, 6.5rem);
    --fce-container: 1140px;
}

/* ---------- Base ---------- */
body {
    background: var(--fce-white);
    color: var(--fce-ink);
    font-family: var(--fce-font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
    font-family: var(--fce-font-display);
    color: var(--fce-navy-ink);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p.lead { color: var(--fce-muted); font-size: 1.15rem; }

a { color: var(--fce-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fce-navy-deep); }

:focus-visible {
    outline: 3px solid var(--fce-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -60px; left: 1rem;
    background: var(--fce-navy); color: #fff;
    padding: .6rem 1.2rem; border-radius: 0 0 .5rem .5rem;
    z-index: 2000; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.fce-container { max-width: var(--fce-container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: var(--fce-section-y); }
.section-light { background: var(--fce-light); }
.section-navy { background: var(--fce-navy); color: #e8edf9; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p, .section-navy li { color: #c6d2ec; }

/* Eyebrow labels — small caps with the chevron tick */
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--fce-orange-ink, #B45309);
    margin-bottom: .85rem;
}
.eyebrow::before {
    content: "";
    width: 1.5rem; height: 1.5rem;
    background:
        linear-gradient(135deg, transparent 55%, var(--fce-orange) 55% 75%, transparent 75%);
    flex: none;
    transform: rotate(0deg);
}
.section-navy .eyebrow { color: var(--fce-orange); }

/* ---------- Buttons ---------- */
.btn-fce {
    --bs-btn-padding-y: .8rem;
    --bs-btn-padding-x: 1.7rem;
    font-weight: 600; font-family: var(--fce-font-body);
    border-radius: .6rem;
    letter-spacing: .01em;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-fce:active { transform: translateY(1px); }

.btn-fce-primary {
    background: var(--fce-orange); color: var(--fce-navy-ink);
    border: 2px solid var(--fce-orange);
}
.btn-fce-primary:hover, .btn-fce-primary:focus {
    background: var(--fce-orange-deep); border-color: var(--fce-orange-deep);
    color: var(--fce-navy-ink); box-shadow: 0 6px 18px rgba(255, 146, 0, .35);
}

.btn-fce-outline {
    background: transparent; color: var(--fce-navy);
    border: 2px solid var(--fce-navy);
}
.btn-fce-outline:hover { background: var(--fce-navy); color: #fff; }

.btn-fce-light {
    background: #fff; color: var(--fce-navy);
    border: 2px solid #fff;
}
.btn-fce-light:hover { background: var(--fce-light); border-color: #fff; color: var(--fce-navy-deep); }

.btn-fce-ghost-light {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55);
}
.btn-fce-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color:#fff; }

.link-arrow {
    font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow .bi { transition: transform .2s ease; }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--fce-navy);
    transition: box-shadow .25s ease, padding .25s ease;
}
.site-header .navbar { padding-block: 1.05rem; transition: padding .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(8, 20, 60, .35); }
.site-header.is-scrolled .navbar { padding-block: .6rem; }

.site-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.site-logo img { height: 58px; width: auto; transition: height .25s ease; }
.site-header.is-scrolled .site-logo img { height: 48px; }
.site-logo .logo-text {
    font-family: var(--fce-font-display); font-weight: 800;
    color: #fff; font-size: 1.02rem; letter-spacing: .14em; line-height: 1.1;
}
.site-logo .logo-text small {
    display: block; color: var(--fce-orange);
    font-size: .58rem; letter-spacing: .42em; font-weight: 600;
}

.main-nav .nav-link {
    color: #dde4f5; font-weight: 500; font-size: .95rem;
    padding: .55rem .85rem; border-radius: .45rem;
    position: relative;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: #fff; background: rgba(255,255,255,.07); }
.main-nav .nav-link.active { color: #fff; }
.main-nav .nav-link.active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
    height: 2px; background: var(--fce-orange);
}
.main-nav .dropdown-menu {
    border: 0; border-radius: .75rem; box-shadow: var(--fce-shadow-md);
    padding: .5rem; margin-top: .4rem; min-width: 17rem;
}
.main-nav .dropdown-item {
    border-radius: .5rem; padding: .55rem .8rem; font-size: .92rem;
    color: var(--fce-ink); font-weight: 500;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus {
    background: var(--fce-light); color: var(--fce-navy);
}
.main-nav .dropdown-item .small { color: var(--fce-muted); font-weight: 400; }

.navbar-toggler {
    border: 2px solid rgba(255,255,255,.4); border-radius: .5rem;
    padding: .45rem .65rem; color: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,146,0,.5); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--fce-navy);
    color: #fff;
    overflow: hidden;
}
.hero .hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.hero .hero-bg img, .page-hero .hero-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero .hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,24,74,.94) 8%, rgba(13,36,112,.82) 45%, rgba(13,36,112,.45) 100%);
}
.hero .hero-inner {
    position: relative; z-index: 1;
    padding-block: clamp(4.5rem, 10vw, 8rem) clamp(5rem, 11vw, 9rem);
    max-width: 46rem;
}
.hero h1, .hero .hero-heading { color: #fff; }
.hero h2.hero-heading { font-size: calc(1.375rem + 1.5vw); font-weight: 700; }
@media (min-width: 1200px) { .hero h2.hero-heading { font-size: 2.5rem; } }
.hero .lead { color: #d3ddf3; font-size: 1.18rem; }
.hero::after { /* chevron cut at the section base */
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
    background: var(--fce-white);
    clip-path: polygon(0 100%, 0 70%, 50% 0, 100% 70%, 100% 100%);
    z-index: 3;
}

/* Taller hero + slide carousel (home) */
.hero-tall { min-height: clamp(600px, 92vh, 880px); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active {
    opacity: 1; visibility: visible;
    transition: opacity .9s ease;
}
.hero-slide .fce-container { position: relative; z-index: 1; width: 100%; }
.hero-slide .hero-inner { padding-block: 0; padding-bottom: 2rem; }

/* Ken Burns drift on the active slide image */
.hero-slide .hero-bg img { transform: scale(1.02); transition: transform 8s ease; }
.hero-slide.is-active .hero-bg img { transform: scale(1.1); }

/* Slide-in text on activation */
.hero-slide .hero-inner > * {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.hero-slide.is-active .hero-inner > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-inner > *:nth-child(1) { transition-delay: .15s; }
.hero-slide.is-active .hero-inner > *:nth-child(2) { transition-delay: .3s; }
.hero-slide.is-active .hero-inner > *:nth-child(3) { transition-delay: .45s; }
.hero-slide.is-active .hero-inner > *:nth-child(4) { transition-delay: .6s; }

/* Carousel controls */
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: rgba(10,24,74,.35);
    color: #fff; font-size: 1.1rem; display: grid; place-items: center;
    backdrop-filter: blur(4px); transition: background .25s, border-color .25s;
}
.hero-arrow:hover { background: rgba(255,146,0,.85); border-color: rgba(255,146,0,.85); }
.hero-arrow-prev { left: clamp(.75rem, 2.5vw, 2rem); }
.hero-arrow-next { right: clamp(.75rem, 2.5vw, 2rem); }
.hero-dots {
    position: absolute; z-index: 4; bottom: 84px;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: .55rem;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7); background: transparent;
    padding: 0; transition: background .25s, transform .25s;
}
.hero-dot.is-active { background: var(--fce-orange); border-color: var(--fce-orange); transform: scale(1.25); }

/* Animated scroll-down cue */
.hero-scroll {
    position: absolute; z-index: 4; bottom: 76px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .45rem;
    background: none; border: 0; color: rgba(255,255,255,.85);
    cursor: pointer; padding: .35rem;
}
.hero-scroll-track {
    width: 24px; height: 38px; border-radius: 13px;
    border: 2px solid rgba(255,255,255,.75);
    position: relative; display: block;
}
.hero-scroll-dot {
    position: absolute; left: 50%; top: 6px;
    width: 4px; height: 8px; border-radius: 2px;
    background: var(--fce-orange); transform: translateX(-50%);
    animation: heroScrollDot 1.8s ease-in-out infinite;
}
.hero-scroll-text {
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll:hover .hero-scroll-text { color: #fff; }
@keyframes heroScrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}
.hero-carousel .hero-dots { bottom: 84px; }
.hero-carousel .hero-scroll { left: auto; right: clamp(1rem, 4vw, 3rem); transform: none; bottom: 76px; }

@media (max-width: 767.98px) {
    .hero-arrow { display: none; }
    .hero-tall { min-height: 720px; }
    .hero-slide { align-items: flex-start; }
    .hero-slide .hero-inner { padding-top: clamp(3rem, 10vh, 5rem); }
    .hero-dots { bottom: 108px; }
    .hero-carousel .hero-scroll { right: 1rem; bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide .hero-inner > *, .hero-slide .hero-bg img { transition: none !important; }
    .hero-slide .hero-inner > * { opacity: 1; transform: none; }
    .hero-scroll-dot { animation: none; opacity: 1; }
}
.hero.hero-light { color: var(--fce-ink); background: var(--fce-light); }
.hero.hero-light .hero-bg::after { background: rgba(245,247,251,.75); }
.hero.hero-light h1 { color: var(--fce-navy-ink); }
.hero.hero-light .lead { color: var(--fce-muted); }

/* Page hero (interior pages) */
.page-hero {
    background: var(--fce-navy);
    color: #fff; position: relative; overflow: hidden;
    padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.page-hero .hero-bg { position:absolute; inset:0; background-size: cover; background-position:center; }
.page-hero .hero-bg::after {
    content:""; position:absolute; inset:0;
    background: linear-gradient(100deg, rgba(10,24,74,.93), rgba(13,36,112,.75));
}
.page-hero > .fce-container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 36px;
    background: var(--fce-white);
    clip-path: polygon(0 100%, 0 60%, 50% 0, 100% 60%, 100% 100%);
}
.page-hero .breadcrumb { margin-bottom: .9rem; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: #b9c7ea; font-size: .85rem; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--fce-orange); content: "›"; }

/* ---------- Cards ---------- */
.fce-card {
    background: #fff; border: 1px solid var(--fce-line);
    border-radius: var(--fce-radius-lg);
    padding: 1.75rem; height: 100%;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
    text-decoration: none; color: inherit;
}
.fce-card::before { /* chevron accent bar */
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--fce-orange) 0 34%, var(--fce-navy) 34% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 30% 0, 0 0);
}
.fce-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fce-shadow-md);
    border-color: #cfd9ec;
}
.fce-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.fce-card p { color: var(--fce-muted); font-size: .96rem; }
.fce-card .card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(13,36,112,.07); color: var(--fce-navy);
    font-size: 1.35rem; margin-bottom: 1.1rem;
}
.fce-card .card-link {
    margin-top: auto; padding-top: .8rem;
    font-weight: 600; font-size: .9rem; color: var(--fce-navy);
    display: inline-flex; align-items: center; gap: .35rem;
}
.fce-card:hover .card-link .bi { transform: translateX(4px); }
.fce-card .card-link .bi { transition: transform .2s ease; }

/* ---------- Chevron list ---------- */
.chevron-list { list-style: none; padding: 0; margin: 0; }
.chevron-list li {
    position: relative; padding-left: 1.9rem; margin-bottom: 1.1rem;
}
.chevron-list li::before {
    content: ""; position: absolute; left: 0; top: .18rem;
    width: 1.05rem; height: 1.05rem;
    background:
        linear-gradient(135deg, transparent 55%, var(--fce-orange) 55% 78%, transparent 78%);
}
.chevron-list li strong { display: block; color: var(--fce-navy-ink); margin-bottom: .15rem; }
.chevron-list li span { color: var(--fce-muted); font-size: .96rem; }
.section-navy .chevron-list li strong { color: #fff; }
.section-navy .chevron-list li span { color: #c6d2ec; }

/* ---------- Process steps ---------- */
.process-step {
    position: relative; padding: 1.9rem 1.6rem 1.6rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--fce-radius-lg);
    height: 100%;
}
.process-step .step-num {
    font-family: var(--fce-font-display);
    font-size: 2.6rem; font-weight: 800; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--fce-orange);
    margin-bottom: .9rem; display: block;
}
.process-step h3 { color: #fff; font-size: 1.1rem; }
.process-step p { color: #c6d2ec; font-size: .93rem; margin: 0; }

/* ---------- FAQ accordion ---------- */
.fce-faq .accordion-item {
    border: 1px solid var(--fce-line); border-radius: var(--fce-radius) !important;
    margin-bottom: .75rem; overflow: hidden;
}
.fce-faq .accordion-button {
    font-weight: 600; color: var(--fce-navy-ink);
    font-family: var(--fce-font-display); font-size: 1.02rem;
    padding: 1.05rem 1.3rem; background: #fff;
}
.fce-faq .accordion-button:not(.collapsed) {
    background: var(--fce-light); color: var(--fce-navy);
    box-shadow: none;
}
.fce-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(255,146,0,.4); border-color: var(--fce-orange); }
.fce-faq .accordion-body { color: var(--fce-muted); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-item {
    border-radius: var(--fce-radius); overflow: hidden;
    position: relative; aspect-ratio: 4/3; display: block;
    border: 1px solid var(--fce-line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: .6rem .9rem;
    background: linear-gradient(transparent, rgba(10,20,50,.8));
    color: #fff; font-size: .82rem;
}

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: var(--fce-radius-lg);
    padding: clamp(2.2rem, 5vw, 3.5rem);
    position: relative; overflow: hidden;
}
.cta-band.cta-navy { background: var(--fce-navy); color: #fff; }
.cta-band.cta-navy h2 { color: #fff; }
.cta-band.cta-navy p { color: #c6d2ec; }
.cta-band.cta-orange { background: var(--fce-orange); color: var(--fce-navy-ink); }
.cta-band.cta-orange h2 { color: var(--fce-navy-ink); }
.cta-band.cta-light { background: var(--fce-light); }
.cta-band::after { /* chevron corner */
    content: ""; position: absolute; right: -40px; bottom: -40px;
    width: 220px; height: 220px; opacity: .12;
    background:
        linear-gradient(135deg, transparent 55%, #fff 55% 65%, transparent 65% 72%, #fff 72% 82%, transparent 82%);
    transform: rotate(45deg);
}
.cta-band.cta-light::after { background: linear-gradient(135deg, transparent 55%, var(--fce-navy) 55% 65%, transparent 65% 72%, var(--fce-navy) 72% 82%, transparent 82%); }

/* ---------- Forms ---------- */
.fce-form .form-label { font-weight: 600; font-size: .9rem; color: var(--fce-navy-ink); }
.fce-form .form-control, .fce-form .form-select {
    border: 1.5px solid var(--fce-line); border-radius: .6rem;
    padding: .7rem .9rem; font-size: .95rem;
}
.fce-form .form-control:focus, .fce-form .form-select:focus {
    border-color: var(--fce-orange); box-shadow: 0 0 0 3px rgba(255,146,0,.22);
}
.fce-form .form-text { color: var(--fce-muted); }
.fce-form .invalid-feedback { font-weight: 500; }
.fce-form .was-validated .form-control:invalid { border-color: var(--fce-danger); }
.field-error { color: var(--fce-danger); font-size: .85rem; font-weight: 500; margin-top: .3rem; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Article cards ---------- */
.article-card {
    display: block; height: 100%; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--fce-line);
    border-radius: var(--fce-radius-lg); overflow: hidden;
    transition: transform .2s ease, box-shadow .25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--fce-shadow-md); }
.article-card .art-img { aspect-ratio: 16/9; overflow: hidden; background: var(--fce-light); }
.article-card .art-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card .art-body { padding: 1.4rem 1.5rem 1.6rem; }
.article-card .art-meta { font-size: .8rem; color: var(--fce-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.article-card h3 { font-size: 1.12rem; margin: .5rem 0 .55rem; }
.article-card p { color: var(--fce-muted); font-size: .93rem; margin: 0; }

/* ---------- Rich text (sanitized CMS content) ---------- */
.fce-prose p { margin-bottom: 1.1rem; color: inherit; }
.fce-prose > :last-child { margin-bottom: 0; }
.fce-prose ul, .fce-prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.fce-prose li { margin-bottom: .35rem; }
.fce-prose h2 { font-size: 1.5rem; margin: 1.8rem 0 .8rem; }
.fce-prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.fce-prose h4 { font-size: 1.05rem; margin: 1.3rem 0 .5rem; }
.fce-prose blockquote {
    border-left: 4px solid var(--fce-orange);
    padding: .4rem 0 .4rem 1.2rem; margin: 1.4rem 0;
    color: var(--fce-navy-ink); font-weight: 500;
}
.fce-prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-size: .94rem; }
.fce-prose th, .fce-prose td { border: 1px solid var(--fce-line); padding: .6rem .8rem; text-align: left; }
.fce-prose th { background: var(--fce-light); font-family: var(--fce-font-display); }
.fce-prose img { max-width: 100%; height: auto; border-radius: var(--fce-radius); }
.fce-prose a { font-weight: 500; }

/* ---------- Misc ---------- */
.img-caption { font-size: .8rem; color: var(--fce-muted); margin-top: .5rem; }
.rounded-media { border-radius: var(--fce-radius-lg); overflow: hidden; box-shadow: var(--fce-shadow-md); }
.rounded-media img { display: block; width: 100%; height: auto; }
/* Fill the column height in split text+image rows (desktop). */
@media (min-width: 992px) {
    .img-fill { height: 100%; min-height: 320px; }
    .img-fill img { height: 100%; object-fit: cover; }
    .img-fill .img-caption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(10,24,74,.65)); }
    .img-fill { position: relative; }
}
.divider-angle { height: 5px; background: linear-gradient(90deg, var(--fce-orange) 0 34%, var(--fce-navy) 34%); }

.alert-fce-success {
    background: #e9f7f0; border: 1px solid #bfe6d2; color: var(--fce-success);
    border-radius: var(--fce-radius); padding: 1rem 1.25rem;
}
.alert-fce-error {
    background: #fdecea; border: 1px solid #f5c6c1; color: var(--fce-danger);
    border-radius: var(--fce-radius); padding: 1rem 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--fce-navy-deep); color: #b9c7ea; margin-top: auto; }
.site-footer .footer-top { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer h5 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #b9c7ea; text-decoration: none; font-size: .94rem; }
.site-footer a:hover { color: var(--fce-orange); }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: .55rem; }
.site-footer .footer-brand { text-align: center; }
.site-footer .footer-brand img { height: 130px; width: auto; }
.site-footer .footer-tagline { color: #8fa1cc; font-size: .92rem; margin-top: .8rem; }
.site-footer .footer-contact li { display: flex; gap: .6rem; margin-bottom: .6rem; font-size: .92rem; align-items: flex-start; }
.site-footer .footer-contact .bi { color: var(--fce-orange); margin-top: .15rem; }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 1.3rem; font-size: .85rem; color: #8fa1cc;
}
.site-footer .social-link {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.07); color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.site-footer .social-link:hover { background: var(--fce-orange); color: var(--fce-navy-ink); transform: translateY(-2px); }

/* ---------- Reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
    html.js [data-reveal].revealed { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .main-nav .nav-link { padding: .7rem .9rem; }
    .main-nav .dropdown-menu { box-shadow: none; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); margin: .2rem 0 .6rem; }
    .main-nav .dropdown-item { color: #dde4f5; }
    .main-nav .dropdown-item:hover { background: rgba(255,255,255,.08); color:#fff; }
    .navbar .btn-fce { margin-top: .6rem; width: 100%; text-align: center; }
}
@media (max-width: 575.98px) {
    .hero::after, .page-hero::after { height: 26px; }
    .fce-card { padding: 1.4rem; }
}
