/* =========================================================
   BILFICOM 2026 — clean standalone site layer
   ========================================================= */

:root {
    --bf-navy: #10233f;
    --bf-navy-2: #173a65;
    --bf-blue: #1d5a96;
    --bf-gold: #d6a341;
    --bf-gold-soft: #f4e5c5;
    --bf-ink: #172033;
    --bf-muted: #657083;
    --bf-bg: #f5f7fa;
    --bf-line: #e4e8ee;
    --bf-white: #fff;
    --bf-radius: 22px;
    --bf-shadow: 0 24px 70px rgba(16,35,63,.10);
    --bf-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--bf-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.bf-menu-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.bf-shell { width: min(var(--bf-shell), calc(100% - 40px)); margin: 0 auto; }

.bf-header {
    position: fixed;
    z-index: 1000;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(16,35,63,.07);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease;
}
.bf-header.is-scrolled { box-shadow: 0 12px 36px rgba(16,35,63,.08); }
.bf-header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.bf-logo { display: flex; align-items: center; flex: 0 0 auto; }
.bf-logo img { display: block; height: 58px; width: auto; max-width: 190px; object-fit: contain; }
.bf-nav { display: flex; align-items: center; justify-content: flex-end; gap: 26px; flex: 1; }
.bf-nav-list { list-style: none; display: flex; align-items: center; gap: 3px; padding: 0; margin: 0; }
.bf-nav-list li { position: relative; list-style: none; }
.bf-nav-list > li > a,
.bf-nav-parent-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: #293449;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}
.bf-nav-list > li > a:hover,
.bf-nav-parent-button:hover,
.bf-nav-list .is-active,
.bf-nav-parent-button.is-active { color: var(--bf-blue); }
.bf-chevron { font-size: 13px; margin-top: -3px; transition: transform .2s ease; }
.bf-nav-parent.is-open .bf-chevron { transform: rotate(180deg); }
.bf-nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 260px;
    max-height: 430px;
    overflow-y: auto;
    padding: 9px;
    border: 1px solid var(--bf-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--bf-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: .18s ease;
}
.bf-nav-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #293449;
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.4;
}
.bf-nav-dropdown a:hover { background: #f3f6fa; color: var(--bf-blue); }
.bf-nav-parent.is-open .bf-nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%,0); }
@media (min-width: 981px) {
    .bf-nav-parent:hover .bf-nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%,0); }
}
.bf-menu-button { display: none; }
.bf-nav-backdrop { display: none; }

.bf-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bf-btn:hover { transform: translateY(-2px); }
.bf-btn-primary { color: #fff; background: var(--bf-navy); box-shadow: 0 12px 26px rgba(16,35,63,.16); }
.bf-btn-primary:hover { background: var(--bf-blue); }
.bf-btn-outline { color: var(--bf-navy); border-color: #ccd4df; background: rgba(255,255,255,.72); }
.bf-btn-outline:hover { border-color: var(--bf-navy); }
.bf-btn-light { color: var(--bf-navy); background: #fff; }
.bf-btn-small { min-height: 46px; padding: 0 18px; }

.bf-page { padding-top: 84px; overflow: hidden; }
.bf-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 82% 20%, rgba(214,163,65,.17), transparent 26%),
        linear-gradient(135deg, #f7f9fc 0%, #fff 55%, #f1f5f9 100%);
}
.bf-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(29,90,150,.10);
    border-radius: 50%;
}
.bf-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: center; padding: 82px 0 88px; }
.bf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--bf-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.bf-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bf-gold); }
.bf-eyebrow-light { color: #dce8f5; }
.bf-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--bf-navy);
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
}
.bf-hero h1 em { color: var(--bf-blue); font-style: normal; }
.bf-hero-copy > p { max-width: 650px; margin: 26px 0 0; color: #59667a; font-size: 18px; line-height: 1.75; }
.bf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bf-hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--bf-line); }
.bf-proof-item strong { display: block; color: var(--bf-navy); font-size: 15px; }
.bf-proof-item span { color: var(--bf-muted); font-size: 13px; }

.bf-hero-visual { position: relative; min-height: 530px; }
.bf-hero-image {
    position: absolute;
    inset: 0 0 36px 44px;
    overflow: hidden;
    border-radius: 32px;
    background: var(--bf-navy);
    box-shadow: 0 34px 80px rgba(16,35,63,.20);
}
.bf-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .94; }
.bf-hero-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,rgba(16,35,63,.48)); }
.bf-floating-card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: min(330px, 82%);
    padding: 24px;
    border-radius: 18px;
    color: #fff;
    background: var(--bf-navy);
    box-shadow: 0 20px 50px rgba(16,35,63,.22);
}
.bf-floating-card small { display:block; color:#b9c9dc; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.bf-floating-card strong { display:block; margin-top:8px; font-size:20px; line-height:1.35; }

.bf-section { padding: 104px 0; }
.bf-section-soft { background: var(--bf-bg); }
.bf-section-dark { color: #fff; background: var(--bf-navy); }
.bf-section-head { max-width: 760px; margin-bottom: 48px; }
.bf-section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.bf-section-head.center .bf-eyebrow { justify-content: center; }
.bf-section h2 {
    margin: 0;
    color: var(--bf-navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -.035em;
}
.bf-section-dark h2 { color: #fff; }
.bf-section-head p { margin: 18px 0 0; color: var(--bf-muted); font-size: 17px; }
.bf-section-dark .bf-section-head p { color: #b8c7d9; }

.bf-intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.bf-intro-statement { position: sticky; top: 130px; }
.bf-intro-statement p { margin: 22px 0 0; color: var(--bf-muted); font-size: 17px; }
.bf-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf-value-card { padding: 28px; border: 1px solid var(--bf-line); border-radius: 18px; background: #fff; }
.bf-value-no { display: inline-flex; width: 38px; height: 38px; align-items:center; justify-content:center; border-radius:10px; color:var(--bf-blue); background:#edf4fb; font-size:12px; font-weight:800; }
.bf-value-card h3 { margin: 18px 0 8px; color: var(--bf-navy); font-size: 20px; }
.bf-value-card p { margin: 0; color: var(--bf-muted); font-size: 14px; }

.bf-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.bf-service-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-radius);
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.bf-service-card:hover { transform: translateY(-5px); border-color:#ccd5e0; box-shadow:0 20px 45px rgba(16,35,63,.08); }
.bf-service-icon { width: 48px; height: 48px; display:flex; align-items:center; justify-content:center; border-radius:14px; color:var(--bf-blue); background:#edf4fb; font-weight:850; }
.bf-service-card h3 { margin: 26px 0 12px; color: var(--bf-navy); font-size: 22px; line-height: 1.25; }
.bf-service-card p { margin: 0 0 24px; color: var(--bf-muted); font-size: 14px; }
.bf-text-link { margin-top: auto; color: var(--bf-blue); text-decoration: none; font-size: 14px; font-weight: 800; }

.bf-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.bf-feature-image { min-height: 540px; overflow: hidden; border-radius: 28px; box-shadow: var(--bf-shadow); }
.bf-feature-image img { width:100%; height:100%; min-height:540px; object-fit:cover; display:block; }
.bf-feature-copy > p { color:var(--bf-muted); font-size:17px; }
.bf-checks { display:grid; gap:14px; margin-top:28px; }
.bf-check { display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-top:1px solid var(--bf-line); }
.bf-check b { color:var(--bf-navy); }
.bf-check span:first-child { flex:0 0 28px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:50%; color:#fff; background:var(--bf-blue); font-size:12px; }

.bf-training-band {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    background: var(--bf-navy);
}
.bf-training-band::after { content:""; position:absolute; width:430px; height:430px; right:-140px; top:-180px; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.bf-training-grid { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.bf-training-grid h2 { color:#fff; }
.bf-training-grid p { color:#bdcad9; }
.bf-course-list { display:grid; gap:10px; }
.bf-course-link { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 19px; border:1px solid rgba(255,255,255,.12); border-radius:13px; color:#fff; text-decoration:none; background:rgba(255,255,255,.035); }
.bf-course-link:hover { background:rgba(255,255,255,.08); }
.bf-course-link span:last-child { color:var(--bf-gold-soft); }

.bf-contact-strip { display:grid; grid-template-columns:1.1fr .9fr; min-height:470px; }
.bf-contact-map iframe { width:100%; height:100%; min-height:470px; display:block; border:0; }
.bf-contact-panel { display:flex; align-items:center; background:#eef3f8; }
.bf-contact-panel-inner { max-width:580px; padding:60px; }
.bf-contact-panel h2 { color:var(--bf-navy); }
.bf-contact-panel p { color:var(--bf-muted); }

.bf-footer { color:#c3cfdd; background:#0b1b31; }
.bf-footer-cta { display:flex; align-items:center; justify-content:space-between; gap:40px; padding:70px 0; border-bottom:1px solid rgba(255,255,255,.10); }
.bf-footer-cta h2 { max-width:720px; margin:0; color:#fff; font-size:clamp(30px,4vw,46px); line-height:1.1; letter-spacing:-.03em; }
.bf-footer-grid { display:grid; grid-template-columns:1.6fr .8fr 1fr 1.1fr; gap:55px; padding:70px 0 56px; }
.bf-footer-logo img { height:58px; width:auto; filter:brightness(0) invert(1); opacity:.96; }
.bf-footer-brand p { max-width:390px; margin:22px 0; color:#9fb0c3; font-size:14px; }
.bf-footer h3 { margin:0 0 20px; color:#fff; font-size:14px; }
.bf-footer ul { list-style:none; padding:0; margin:0; }
.bf-footer li { margin:9px 0; }
.bf-footer a { color:#aebed0; text-decoration:none; font-size:14px; }
.bf-footer a:hover { color:#fff; }
.bf-footer-contact p { margin:0 0 14px; color:#9fb0c3; font-size:14px; }
.bf-footer-contact > a { display:block; margin:7px 0; }
.bf-socials { display:flex; flex-wrap:wrap; gap:12px; }
.bf-socials a { padding:7px 10px; border:1px solid rgba(255,255,255,.12); border-radius:8px; font-size:12px; }
.bf-footer-bottom { display:flex; justify-content:space-between; gap:25px; padding:24px 0 30px; border-top:1px solid rgba(255,255,255,.08); color:#71859b; font-size:12px; }
.bf-footer-bottom div { display:flex; gap:18px; }
.bf-footer-bottom a { font-size:12px; }

[data-reveal] { opacity:0; transform:translateY(18px); transition:opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity:1; transform:none; }

@media (max-width: 980px) {
    .bf-shell { width:min(100% - 30px,var(--bf-shell)); }
    .bf-header-inner { height:74px; }
    .bf-logo img { height:50px; }
    .bf-page { padding-top:74px; }
    .bf-menu-button {
        position:relative; z-index:1003; display:block; width:46px; height:46px; padding:10px;
        border:1px solid var(--bf-line); border-radius:11px; background:#fff; cursor:pointer;
    }
    .bf-menu-button span { display:block; width:22px; height:2px; margin:4px auto; border-radius:2px; background:var(--bf-navy); transition:.2s; }
    .menu-open .bf-menu-button span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
    .menu-open .bf-menu-button span:nth-child(2) { opacity:0; }
    .menu-open .bf-menu-button span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
    .bf-nav {
        position:fixed; z-index:1002; top:0; right:0; bottom:0; width:min(88vw,390px); height:100dvh;
        display:block; padding:92px 22px 28px; overflow-y:auto; background:#fff; box-shadow:-20px 0 60px rgba(16,35,63,.16);
        transform:translateX(105%); transition:transform .25s ease;
    }
    .menu-open .bf-nav { transform:none; }
    .bf-nav-list { display:block; }
    .bf-nav-list > li { border-bottom:1px solid #edf0f4; }
    .bf-nav-list > li > a, .bf-nav-parent-button { width:100%; min-height:55px; justify-content:space-between; padding:0 3px; font-size:15px; }
    .bf-nav-dropdown {
        position:static; width:100%; max-height:0; padding:0 0 0 10px; overflow:hidden; border:0; border-radius:0; box-shadow:none;
        opacity:1; visibility:visible; transform:none; transition:max-height .25s ease,padding .25s ease;
    }
    .bf-nav-parent.is-open .bf-nav-dropdown { max-height:500px; padding-bottom:12px; transform:none; }
    .bf-nav-dropdown a { margin:4px 0; background:#f5f7fa; }
    .bf-nav-cta { width:100%; margin-top:24px; }
    .bf-nav-backdrop {
        position:fixed; z-index:1001; inset:0; display:block; border:0; background:rgba(6,16,29,.48);
        opacity:0; visibility:hidden; transition:.2s;
    }
    .menu-open .bf-nav-backdrop { opacity:1; visibility:visible; }

    .bf-hero { min-height:auto; }
    .bf-hero-grid { grid-template-columns:1fr; gap:54px; padding:74px 0; }
    .bf-hero-visual { min-height:500px; max-width:700px; width:100%; }
    .bf-intro-grid, .bf-feature, .bf-training-grid { grid-template-columns:1fr; gap:48px; }
    .bf-intro-statement { position:static; }
    .bf-service-grid { grid-template-columns:1fr 1fr; }
    .bf-contact-strip { grid-template-columns:1fr; }
    .bf-contact-map iframe { min-height:380px; }
    .bf-footer-grid { grid-template-columns:1.4fr 1fr 1fr; }
    .bf-footer-contact { grid-column:1 / -1; }
}

@media (max-width: 680px) {
    .bf-shell { width:calc(100% - 24px); }
    .bf-section { padding:76px 0; }
    .bf-hero-grid { padding:58px 0 70px; }
    .bf-hero h1 { font-size:clamp(40px,12vw,56px); }
    .bf-hero-copy > p { font-size:16px; }
    .bf-hero-actions .bf-btn { width:100%; }
    .bf-hero-visual { min-height:420px; }
    .bf-hero-image { inset:0 0 42px 18px; border-radius:24px; }
    .bf-floating-card { padding:20px; }
    .bf-values, .bf-service-grid { grid-template-columns:1fr; }
    .bf-feature-image, .bf-feature-image img { min-height:380px; }
    .bf-contact-panel-inner { padding:48px 24px; }
    .bf-footer-cta { align-items:flex-start; flex-direction:column; padding:56px 0; }
    .bf-footer-grid { grid-template-columns:1fr 1fr; gap:40px 28px; padding:55px 0; }
    .bf-footer-brand { grid-column:1 / -1; }
    .bf-footer-contact { grid-column:auto; }
    .bf-footer-bottom { flex-direction:column; }
}


/* =========================================================
   BILFICOM MODERN ENQUIRY FORM
   ========================================================= */

   .bf-enquiry-form {
    width: 100%;
}

.bf-enquiry-form__intro {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bf-line);
}

.bf-enquiry-form__intro > span {
    display: block;
    margin-bottom: 7px;
    color: var(--bf-blue);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bf-enquiry-form__intro p {
    max-width: 500px;
    margin: 0;
    color: var(--bf-muted);
    font-size: 14px;
    line-height: 1.65;
}


/* Grid */

.bf-enquiry-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 16px;
}

.bf-enquiry-field {
    min-width: 0;
}

.bf-enquiry-field--full {
    grid-column: 1 / -1;
}


/* Labels */

.bf-enquiry-field label {
    display: block;
    margin: 0 0 8px;
    color: var(--bf-navy);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
}


/* Input container */

.bf-enquiry-input {
    position: relative;
}

.bf-enquiry-input input,
.bf-enquiry-input textarea {
    width: 100%;
    margin: 0;
    border: 1px solid #d8dee7;
    border-radius: 12px;
    outline: none;
    color: var(--bf-ink);
    background: #f9fafc;
    font-family: inherit;
    font-size: 14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bf-enquiry-input input {
    height: 56px;
    padding: 0 16px 0 48px;
}

.bf-enquiry-input textarea {
    min-height: 155px;
    padding: 16px;
    line-height: 1.65;
    resize: vertical;
}


/* Placeholder */

.bf-enquiry-input input::placeholder,
.bf-enquiry-input textarea::placeholder {
    color: #99a3b1;
}


/* Icons */

.bf-enquiry-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8190a3;

    transform: translateY(-50%);
    pointer-events: none;
}

.bf-enquiry-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}


/* Focus */

.bf-enquiry-input:focus-within input,
.bf-enquiry-input:focus-within textarea {
    border-color: var(--bf-blue);
    background: #fff;

    box-shadow:
        0 0 0 4px rgba(29, 90, 150, .07);
}

.bf-enquiry-input:focus-within .bf-enquiry-icon {
    color: var(--bf-blue);
}


/* Angular validation */

.bf-enquiry-input input.ng-touched.ng-invalid,
.bf-enquiry-input textarea.ng-touched.ng-invalid {
    border-color: #d26767;
    background: #fffafa;
}

.bf-enquiry-input input.ng-touched.ng-valid,
.bf-enquiry-input textarea.ng-touched.ng-valid {
    border-color: #aabfc0;
}


/* Hint */

.bf-enquiry-hint {
    display: block;
    margin-top: 7px;
    color: #8b96a5;
    font-size: 11px;
    line-height: 1.5;
}


/* Footer */

.bf-enquiry-form__footer {
    margin-top: 28px;
}

.bf-enquiry-submit {
    width: 100%;
    min-height: 57px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 0 24px;

    border: 0;
    border-radius: 12px;

    color: #fff;
    background: var(--bf-navy);

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(16, 35, 63, .15);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bf-enquiry-submit svg {
    width: 19px;
    height: 19px;

    transition: transform .2s ease;
}

.bf-enquiry-submit:hover:not(:disabled) {
    background: var(--bf-blue);
    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(16, 35, 63, .19);
}

.bf-enquiry-submit:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.bf-enquiry-submit:disabled {
    cursor: not-allowed;
    opacity: .58;
    box-shadow: none;
    transform: none;
}

.bf-enquiry-form__footer > p {
    margin: 12px 0 0;
    color: #8a95a4;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}


/* Loading spinner */

.bf-enquiry-spinner {
    width: 17px;
    height: 17px;

    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;

    animation: bfEnquirySpin .7s linear infinite;
}

@keyframes bfEnquirySpin {
    to {
        transform: rotate(360deg);
    }
}


/* Mobile */

@media (max-width: 680px) {

    .bf-enquiry-form__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bf-enquiry-field--full {
        grid-column: auto;
    }

    .bf-enquiry-form__intro {
        margin-bottom: 24px;
    }

    .bf-enquiry-input input {
        height: 54px;
    }

    .bf-enquiry-input textarea {
        min-height: 145px;
    }

}





/* =========================================================
   BILFICOM
   SINGLE SERVICE DETAIL HERO
   ========================================================= */


/* =========================================================
   1. HERO CONTAINER
   ========================================================= */

   .bf-service-detail-hero {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 590px;

    display: flex;
    align-items: center;

    padding: 90px 0;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 78% 24%,
            rgba(42, 100, 151, .23) 0%,
            rgba(42, 100, 151, .08) 26%,
            transparent 48%
        ),
        radial-gradient(
            circle at 12% 94%,
            rgba(214, 163, 65, .07) 0%,
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #061423 0%,
            #0b1b31 50%,
            #102744 100%
        );
}


/* =========================================================
   2. LARGE DECORATIVE BACKGROUND ORBIT
   ========================================================= */

.bf-service-detail-hero::before {
    content: "";

    position: absolute;
    z-index: -2;

    top: -245px;
    right: -180px;

    width: 610px;
    height: 610px;

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;

    box-shadow:
        0 0 0 85px rgba(255, 255, 255, .012),
        0 0 0 170px rgba(255, 255, 255, .007);

    pointer-events: none;
}


/* Soft glow across hero */

.bf-service-detail-hero::after {
    content: "";

    position: absolute;
    z-index: -3;

    right: 5%;
    top: 10%;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(42, 100, 151, .15) 0%,
            rgba(42, 100, 151, .05) 38%,
            transparent 70%
        );

    filter: blur(8px);

    pointer-events: none;
}


/* =========================================================
   3. HERO SHELL
   ========================================================= */

.bf-service-detail-hero .bf-shell {
    position: relative;
    z-index: 3;

    width: min(1180px, calc(100% - 48px));

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   4. MAIN GRID
   ========================================================= */

.bf-service-detail-hero-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, .5fr);

    gap: 60px;

    align-items: center;
}


/* =========================================================
   5. LEFT CONTENT
   ========================================================= */

.bf-service-detail-hero .bf-editorial-hero-copy {
    position: relative;
    z-index: 5;

    min-width: 0;
    width: 100%;
    max-width: 790px;

    padding: 0;
    margin: 0;
}


/* Decorative bubble behind left copy */

.bf-service-detail-hero .bf-editorial-hero-copy::before {
    content: "";

    position: absolute;
    z-index: -1;

    left: -105px;
    top: -75px;

    width: 190px;
    height: 190px;

    border: 1px solid rgba(214, 163, 65, .08);
    border-radius: 50%;

    box-shadow:
        66px 85px 0 -61px rgba(214, 163, 65, .20),
        112px 20px 0 -90px rgba(255, 255, 255, .15);

    pointer-events: none;
}


/* =========================================================
   6. BACK TO SERVICES
   ========================================================= */

.bf-service-detail-hero .bf-service-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 29px;

    color: #9fb1c4;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.bf-service-detail-hero .bf-service-back:hover {
    color: #ffffff;

    transform: translateX(-3px);
}


/* =========================================================
   7. EYEBROW
   ========================================================= */

.bf-service-detail-hero .bf-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #d6a341;

    font-size: 10px;
    line-height: 1;
    font-weight: 850;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/* =========================================================
   8. MAIN DYNAMIC SERVICE TITLE
   ========================================================= */

.bf-service-detail-hero h1 {
    width: 100%;
    max-width: 790px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(43px, 5vw, 67px);
    line-height: 1.035;

    font-weight: 750;

    letter-spacing: -.045em;

    overflow-wrap: break-word;
    word-break: normal;
}


/* =========================================================
   9. SECONDARY SERVICE TITLE
   name_2
   ========================================================= */

.bf-service-detail-hero .bf-service-subtitle {
    width: 100%;
    max-width: 720px;

    margin: 23px 0 0;

    color: #b9c8d8;

    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;

    font-weight: 400;

    letter-spacing: 0;

    overflow-wrap: break-word;
}


/* =========================================================
   10. HERO ACTIONS
   ========================================================= */

.bf-service-detail-hero .bf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;

    margin-top: 32px;
}


/* Primary white button */

.bf-service-detail-hero .bf-btn-light {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border: 1px solid #ffffff;
    border-radius: 10px;

    color: #0b1b31;
    background: #ffffff;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.bf-service-detail-hero .bf-btn-light:hover {
    color: #0b1b31;
    background: #f4f7fa;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .16);
}


/* Secondary transparent button */

.bf-service-detail-hero .bf-btn-ghost-light {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, .035);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.bf-service-detail-hero .bf-btn-ghost-light:hover {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, .48);

    background:
        rgba(255, 255, 255, .08);

    transform: translateY(-2px);
}


/* =========================================================
   11. OVERSIZED "SERVICE" BACKGROUND WORD
   ========================================================= */

.bf-service-detail-hero .bf-hero-word {
    position: absolute;
    z-index: -1;

    right: 2.5%;
    bottom: -24px;
    left: auto;

    margin: 0;

    color:
        rgba(255, 255, 255, .025);

    font-size:
        clamp(105px, 15vw, 220px);

    line-height: .78;
    font-weight: 900;

    letter-spacing: -.07em;

    white-space: nowrap;

    pointer-events: none;
    user-select: none;
}


/* =========================================================
   12. RIGHT ARTWORK CONTAINER
   ========================================================= */

.bf-service-hero-art {
    position: relative;
    isolation: isolate;

    width: 390px;
    height: 390px;
    min-height: 390px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: end;

    overflow: visible;
}


/* Large soft glow behind orbit */

.bf-service-hero-art::before {
    content: "";

    position: absolute;
    z-index: -3;

    width: 310px;
    height: 310px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(54, 116, 170, .18) 0%,
            rgba(54, 116, 170, .08) 38%,
            transparent 72%
        );

    filter: blur(6px);

    pointer-events: none;
}


/* Additional small bubbles without HTML */

.bf-service-hero-art::after {
    content: "";

    position: absolute;
    z-index: 3;

    right: 13px;
    bottom: 88px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .38);

    box-shadow:
        -52px 116px 0 4px rgba(214, 163, 65, .11),
        -304px 18px 0 2px rgba(70, 137, 194, .18),
        -245px -128px 0 5px rgba(255, 255, 255, .04);

    animation:
        bfServiceSmallBubbles
        6s
        ease-in-out
        infinite;

    pointer-events: none;
}


/* =========================================================
   13. ORBITS
   ========================================================= */

.bf-service-orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    pointer-events: none;
}


/* Outer orbit */

.bf-service-orbit-one {
    width: 360px;
    height: 360px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    animation:
        bfServiceOrbitClockwise
        25s
        linear
        infinite;
}


/* Inner orbit */

.bf-service-orbit-two {
    width: 270px;
    height: 270px;

    border:
        1px solid
        rgba(214, 163, 65, .18);

    animation:
        bfServiceOrbitCounterClockwise
        19s
        linear
        infinite;
}


/* =========================================================
   14. ORBIT NODES
   ========================================================= */

.bf-service-orbit-one::before {
    content: "";

    position: absolute;

    top: 37px;
    right: 31px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background:
        rgba(214, 163, 65, .78);

    box-shadow:
        0 0 0 8px rgba(214, 163, 65, .055),
        0 8px 25px rgba(0, 0, 0, .16);
}


.bf-service-orbit-one::after {
    content: "";

    position: absolute;

    bottom: 54px;
    left: 27px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .60);

    box-shadow:
        0 0 0 6px
        rgba(255, 255, 255, .025);
}


.bf-service-orbit-two::before {
    content: "";

    position: absolute;

    bottom: 28px;
    left: 35px;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background:
        rgba(71, 135, 190, .92);

    box-shadow:
        0 0 0 7px
        rgba(71, 135, 190, .07);
}


.bf-service-orbit-two::after {
    content: "";

    position: absolute;

    top: 20px;
    left: 72px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .68);
}


/* =========================================================
   15. CENTRE GLASS BUBBLE
   ========================================================= */

.bf-service-art-core {
    position: relative;
    z-index: 5;

    width: 184px;
    height: 184px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .13);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255, 255, 255, .11),
            rgba(255, 255, 255, .035) 42%,
            rgba(6, 20, 37, .74) 100%
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .22),
        inset 0 0 50px rgba(255, 255, 255, .025);

    backdrop-filter: blur(8px);

    animation:
        bfServiceCoreFloat
        5s
        ease-in-out
        infinite;
}


/* Glass highlight */

.bf-service-art-core::before {
    content: "";

    position: absolute;

    top: 22px;
    left: 37px;

    width: 55px;
    height: 22px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .055);

    transform: rotate(-25deg);

    filter: blur(2px);
}


/* Small internal glow */

.bf-service-art-core::after {
    content: "";

    position: absolute;

    right: 22px;
    bottom: 28px;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background:
        rgba(47, 108, 161, .07);
}


/* Core label */

.bf-service-art-core span {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;

    color: #d6a341;

    font-size: 9px;
    line-height: 1;

    font-weight: 850;

    letter-spacing: .18em;
}


/* Core heading */

.bf-service-art-core strong {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    font-weight: 750;

    letter-spacing: -.025em;
}


/* Core subtext */

.bf-service-art-core small {
    position: relative;
    z-index: 2;

    margin-top: 9px;

    color: #8fa5bb;

    font-size: 9px;
    line-height: 1.3;
}


/* =========================================================
   16. FREE FLOATING BUBBLES
   ========================================================= */

.bf-service-dot {
    position: absolute;
    z-index: 4;

    display: block;

    border-radius: 50%;

    pointer-events: none;
}


/* Gold bubble */

.bf-service-dot-one {
    top: 45px;
    right: 38px;

    width: 30px;
    height: 30px;

    border:
        1px solid
        rgba(214, 163, 65, .25);

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255, 255, 255, .18),
            rgba(214, 163, 65, .14)
        );

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, .08);

    animation:
        bfServiceBubbleOne
        6s
        ease-in-out
        infinite;
}


/* Blue bubble */

.bf-service-dot-two {
    bottom: 52px;
    left: 30px;

    width: 20px;
    height: 20px;

    border:
        1px solid
        rgba(71, 135, 190, .32);

    background:
        rgba(71, 135, 190, .16);

    animation:
        bfServiceBubbleTwo
        7s
        ease-in-out
        infinite;
}


/* Small white bubble */

.bf-service-dot-three {
    top: 92px;
    left: 26px;

    width: 9px;
    height: 9px;

    background:
        rgba(255, 255, 255, .55);

    box-shadow:
        0 0 0 7px
        rgba(255, 255, 255, .025);

    animation:
        bfServiceBubbleThree
        4.5s
        ease-in-out
        infinite;
}


/* =========================================================
   17. ANIMATIONS
   ========================================================= */

@keyframes bfServiceOrbitClockwise {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes bfServiceOrbitCounterClockwise {

    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

}


@keyframes bfServiceCoreFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


@keyframes bfServiceBubbleOne {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-7px, -13px);
    }

}


@keyframes bfServiceBubbleTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(9px, -12px);
    }

}


@keyframes bfServiceBubbleThree {

    0%,
    100% {
        transform: translateY(0);

        opacity: .60;
    }

    50% {
        transform: translateY(-16px);

        opacity: 1;
    }

}


@keyframes bfServiceSmallBubbles {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }

}


/* =========================================================
   18. LAPTOP / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1100px) {

    .bf-service-detail-hero .bf-shell {
        width:
            min(100% - 40px, 1040px);
    }

    .bf-service-detail-hero-grid {
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(280px, .65fr);

        gap: 40px;
    }

    .bf-service-detail-hero h1 {
        font-size:
            clamp(40px, 5.3vw, 58px);
    }

    .bf-service-hero-art {
        width: 320px;
        height: 340px;
        min-height: 340px;
    }

    .bf-service-orbit-one {
        width: 305px;
        height: 305px;
    }

    .bf-service-orbit-two {
        width: 225px;
        height: 225px;
    }

    .bf-service-art-core {
        width: 155px;
        height: 155px;
    }

    .bf-service-art-core strong {
        font-size: 24px;
    }

}


/* =========================================================
   19. TABLET
   Give the service text full priority
   ========================================================= */

@media (max-width: 820px) {

    .bf-service-detail-hero {
        min-height: auto;

        padding:
            70px 0 66px;
    }

    .bf-service-detail-hero .bf-shell {
        width:
            min(100% - 36px, 720px);
    }

    .bf-service-detail-hero-grid {
        display: block;
    }

    .bf-service-detail-hero
    .bf-editorial-hero-copy {
        width: 100%;
        max-width: none;
    }

    .bf-service-detail-hero h1 {
        width: 100%;
        max-width: 680px;

        font-size:
            clamp(38px, 8vw, 54px);

        line-height: 1.055;
    }

    .bf-service-detail-hero
    .bf-service-subtitle {
        max-width: 640px;

        font-size: 16px;
    }

    /*
     * The animated illustration is decorative.
     * Hide it once it begins competing with
     * the dynamic service title.
     */
    .bf-service-hero-art {
        display: none;
    }

    .bf-service-detail-hero
    .bf-hero-word {
        right: -10px;
        bottom: -5px;

        font-size: 22vw;
    }

}


/* =========================================================
   20. PHONE
   ========================================================= */

@media (max-width: 520px) {

    .bf-service-detail-hero {
        padding:
            58px 0 55px;
    }

    .bf-service-detail-hero .bf-shell {
        width:
            calc(100% - 32px);
    }

    .bf-service-detail-hero
    .bf-service-back {
        margin-bottom: 24px;
    }

    .bf-service-detail-hero h1 {
        font-size:
            clamp(35px, 10.5vw, 46px);

        line-height: 1.07;

        letter-spacing: -.035em;
    }

    .bf-service-detail-hero
    .bf-service-subtitle {
        margin-top: 18px;

        font-size: 15px;
        line-height: 1.6;
    }

    .bf-service-detail-hero
    .bf-hero-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;

        margin-top: 27px;
    }

    .bf-service-detail-hero
    .bf-hero-actions
    .bf-btn {
        width: 100%;

        justify-content: center;
    }

    .bf-service-detail-hero
    .bf-editorial-hero-copy::before {
        left: -90px;
        top: -55px;

        width: 150px;
        height: 150px;
    }

}


/* =========================================================
   21. ACCESSIBILITY
   Stop decorative movement when requested
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bf-service-orbit-one,
    .bf-service-orbit-two,
    .bf-service-art-core,
    .bf-service-dot-one,
    .bf-service-dot-two,
    .bf-service-dot-three,
    .bf-service-hero-art::after {
        animation: none !important;
    }

}