/* =========================================================
   Build Finance Growth — stylesheet
   Building-blocks palette: charcoal, emerald, amber, concrete
   ========================================================= */
:root {
  --bf-ink: #15191f;
  --bf-ink-2: #232932;
  --bf-emerald: #18a058;
  --bf-emerald-d: #12814a;
  --bf-emerald-l: #e3f5ea;
  --bf-amber: #f5b301;
  --bf-amber-d: #d99c00;
  --bf-concrete: #f1f2ef;
  --bf-concrete-2: #e4e6e1;
  --bf-text: #4c535c;
  --bf-line: #dfe2dc;
  --bf-head: "Red Hat Display", system-ui, sans-serif;
  --bf-body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--bf-body); color: var(--bf-text); background: #fff; font-size: 1.04rem; line-height: 1.72; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--bf-head); color: var(--bf-ink); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
a { color: var(--bf-emerald-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bf-ink); }
a[href^="tel:"] { white-space: nowrap; }
img { max-width: 100%; }
::selection { background: var(--bf-amber); color: var(--bf-ink); }
:focus-visible { outline: 3px solid var(--bf-amber); outline-offset: 2px; }

/* ---------- Photo frames ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bf-ink-2), #3c4652 50%, var(--bf-emerald)); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.img-missing { opacity: 0; }
.ph:has(img.img-missing)::after { content: "\F42A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: rgba(255,255,255,.55); }

/* ---------- Generic ---------- */
.sec { padding: 100px 0; }
.bg-concrete { background: var(--bf-concrete); }
.bg-dark-sec { background: var(--bf-ink); color: rgba(255,255,255,.75); }
.bg-dark-sec .title { color: #fff; }
.blueprint { background-image: linear-gradient(rgba(24,160,88,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(24,160,88,.07) 1px, transparent 1px); background-size: 32px 32px; }
.tag { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--bf-head); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--bf-emerald-d); margin-bottom: 1rem; }
.tag::before { content: ""; width: 12px; height: 12px; background: var(--bf-amber); box-shadow: 14px 0 0 var(--bf-emerald); margin-right: 14px; border-radius: 2px; }
.bg-dark-sec .tag, .cta-dark .tag { color: var(--bf-amber); }
.title { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 1.1rem; }
.mark-em { color: var(--bf-emerald); }
.bg-dark-sec .mark-em, .cta-dark .mark-em { color: var(--bf-amber); }
.lead2 { font-size: 1.14rem; color: #5b626b; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--bf-head); font-weight: 700; border-radius: 8px; padding: .76rem 1.5rem; transition: all .2s; white-space: nowrap; }
.btn-lg { padding: .92rem 1.8rem; font-size: 1.05rem; }
.btn-emerald { background: var(--bf-emerald); color: #fff; border: 2px solid var(--bf-emerald); box-shadow: 0 4px 0 var(--bf-emerald-d); }
.btn-emerald:hover, .btn-emerald:focus { background: var(--bf-emerald-d); border-color: var(--bf-emerald-d); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 #0c5f36; }
.btn-amber { background: var(--bf-amber); color: var(--bf-ink); border: 2px solid var(--bf-amber); box-shadow: 0 4px 0 var(--bf-amber-d); }
.btn-amber:hover, .btn-amber:focus { background: #ffc634; border-color: #ffc634; color: var(--bf-ink); transform: translateY(2px); box-shadow: 0 2px 0 var(--bf-amber-d); }
.btn-dark { background: var(--bf-ink); color: #fff; border: 2px solid var(--bf-ink); }
.btn-dark:hover, .btn-dark:focus { background: var(--bf-emerald-d); border-color: var(--bf-emerald-d); color: #fff; }
.btn-dark-o { background: transparent; color: var(--bf-ink); border: 2px solid var(--bf-ink); }
.btn-dark-o:hover, .btn-dark-o:focus { background: var(--bf-ink); color: #fff; }
.btn-light-o { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-light-o:hover, .btn-light-o:focus { background: #fff; color: var(--bf-ink); border-color: #fff; }
@media (max-width: 575.98px) { .btn { white-space: normal; } }

/* ---------- Header ---------- */
.bfg-head { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .3s; border-bottom: 4px solid var(--bf-emerald); }
.bfg-head.scrolled { box-shadow: 0 10px 30px rgba(21,25,31,.12); }
.bfg-strip { background: var(--bf-ink); color: rgba(255,255,255,.75); font-size: .86rem; padding: .45rem 0; }
.bfg-strip a { color: rgba(255,255,255,.85); }
.bfg-strip a:hover { color: var(--bf-amber); }
.bfg-strip i { color: var(--bf-amber); margin-right: .4rem; }
.bfg-head .navbar { padding: .8rem 0; }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 46px; width: auto; display: block; }
.bfg-head .nav-link { font-family: var(--bf-head); font-weight: 700; color: var(--bf-ink); padding: .5rem .9rem !important; white-space: nowrap; position: relative; }
.bfg-head .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 4px; background: var(--bf-amber); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.bfg-head .nav-link:hover::after, .bfg-head .nav-link.active::after { transform: scaleX(1); }
.bfg-head .nav-link.active { color: var(--bf-emerald-d); }
.navbar-toggler { border: 0; padding: .6rem; width: 48px; height: 46px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--bf-concrete); border-radius: 8px; }
.navbar-toggler span { display: block; height: 4px; border-radius: 2px; background: var(--bf-ink); }
.navbar-toggler span:nth-child(1) { width: 60%; background: var(--bf-emerald); }
.navbar-toggler span:nth-child(2) { width: 80%; background: var(--bf-amber); }
.navbar-toggler span:nth-child(3) { width: 100%; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(245,179,1,.5); }
@media (min-width: 992px) { .bfg-head .navbar-toggler { display: none; } }
@media (max-width: 991.98px) { .bfg-head .navbar-collapse { border-top: 1px solid var(--bf-line); margin-top: .8rem; padding: .7rem 0 1rem; } .bfg-head .nav-link::after { right: auto; width: 30px; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .bfg-head .nav-link { padding: .5rem .55rem !important; } .bfg-head .nav-link::after { left: .55rem; right: .55rem; } .bfg-head .btn-emerald { display: none; } .brand-logo img { height: 40px; } }
@media (max-width: 400px) { .brand-logo img { height: 36px; } }

/* ---------- Hero ---------- */
.bfg-hero { background-color: var(--bf-concrete); background-image: linear-gradient(rgba(21,25,31,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,25,31,.05) 1px, transparent 1px); background-size: 40px 40px; padding: 80px 0 100px; overflow: hidden; }
.bfg-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 900; letter-spacing: -.035em; margin-bottom: 1.3rem; }
.bfg-hero .lead2 { max-width: 560px; margin-bottom: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--bf-ink); }
.hero-points i { color: var(--bf-emerald); }
.stair { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; align-items: end; padding-bottom: 40px; }
.stair .ph { border-radius: 14px; box-shadow: 0 20px 40px rgba(21,25,31,.18); }
.stair .s1 { aspect-ratio: 5 / 6.2; border-bottom: 8px solid var(--bf-amber); }
.stair .s2 { aspect-ratio: 5 / 8.4; border-bottom: 8px solid var(--bf-emerald); }
.stair .s3 { aspect-ratio: 5.6 / 11; border-bottom: 8px solid var(--bf-ink); }
.stair::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 6px; border-radius: 3px; background: var(--bf-ink); }
.stair-tag { position: absolute; left: 6%; top: 6%; display: flex; align-items: center; gap: .8rem; background: #fff; padding: .85rem 1.2rem; border-radius: 12px; box-shadow: 0 16px 34px rgba(21,25,31,.18); border-left: 5px solid var(--bf-amber); }
.stair-tag i { font-size: 1.6rem; color: var(--bf-emerald); }
.stair-tag b { display: block; font-family: var(--bf-head); color: var(--bf-ink); }
.stair-tag div { font-size: .9rem; line-height: 1.3; }
@media (max-width: 575.98px) { .stair { gap: 8px; } .stair .ph { border-radius: 10px; } .stair-tag { position: relative; left: auto; top: auto; grid-column: 1 / -1; order: -1; margin-bottom: .5rem; } }

/* ---------- Foundation blocks ---------- */
.found { margin-top: -50px; position: relative; z-index: 2; }
.found-row { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(21,25,31,.12); }
.found-row > div:nth-child(1) .fb { background: var(--bf-ink); }
.found-row > div:nth-child(2) .fb { background: var(--bf-emerald); }
.found-row > div:nth-child(3) .fb { background: var(--bf-amber); }
.found-row > div:nth-child(4) .fb { background: #fff; }
.fb { padding: 2rem 1.8rem; height: 100%; color: rgba(255,255,255,.85); }
.fb h3 { color: #fff; font-size: 1.45rem; margin-bottom: .4rem; }
.fb p { margin: 0; }
.fb p a { color: inherit; font-weight: 700; overflow-wrap: anywhere; }
.fn { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .4rem; border-radius: 8px; background: rgba(255,255,255,.15); font-family: var(--bf-head); font-weight: 900; font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.found-row > div:nth-child(3) .fb, .found-row > div:nth-child(4) .fb { color: var(--bf-text); }
.found-row > div:nth-child(3) .fb h3, .found-row > div:nth-child(4) .fb h3 { color: var(--bf-ink); }
.found-row > div:nth-child(3) .fn { background: rgba(21,25,31,.12); color: var(--bf-ink); }
.found-row > div:nth-child(4) .fn { background: var(--bf-emerald-l); color: var(--bf-emerald-d); }
.found-row > div:nth-child(3) .fb p { color: var(--bf-ink); }
.sec .found-row { margin-top: 0; }

/* ---------- Services ---------- */
.svc-card { position: relative; background: #fff; border: 2px solid var(--bf-line); border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .3s, transform .3s, box-shadow .3s; }
.svc-card:hover { border-color: var(--bf-emerald); transform: translateY(-6px); box-shadow: 0 22px 44px rgba(21,25,31,.12); }
.svc-no { position: absolute; left: 0; top: 0; z-index: 2; background: var(--bf-amber); color: var(--bf-ink); font-family: var(--bf-head); font-weight: 900; font-size: 1.1rem; padding: .55rem .9rem; border-radius: 0 0 12px 0; }
.svc-card .ph { aspect-ratio: 8 / 5.4; }
.svc-card .ph img { transition: transform .6s; }
.svc-card:hover .ph img { transform: scale(1.06); }
.svc-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; border-top: 6px solid var(--bf-emerald); }
.svc-body h3 { font-size: 1.4rem; margin-bottom: .55rem; display: flex; align-items: center; gap: .6rem; }
.svc-body h3 i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 8px; background: var(--bf-emerald-l); color: var(--bf-emerald-d); font-size: 1.1rem; }
.svc-body p { flex: 1; margin-bottom: 1.3rem; }
.svc-body .btn { white-space: normal; text-align: left; }

/* ---------- About ---------- */
.ruler-frame { position: relative; padding: 24px 0 0 24px; }
.ruler-frame .ph { border-radius: 14px; aspect-ratio: 9 / 6.8; box-shadow: 0 24px 50px rgba(21,25,31,.15); }
.ruler { position: absolute; background-color: var(--bf-amber); }
.ruler.h { left: 24px; right: 0; top: 0; height: 14px; background-image: repeating-linear-gradient(90deg, var(--bf-ink) 0 2px, transparent 2px 20px); background-size: 100% 6px; background-repeat: no-repeat; border-radius: 3px; }
.ruler.v { left: 0; top: 24px; bottom: 0; width: 14px; background-image: repeating-linear-gradient(180deg, var(--bf-ink) 0 2px, transparent 2px 20px); background-size: 6px 100%; background-repeat: no-repeat; border-radius: 3px; }
.brick-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.brick-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-weight: 600; color: var(--bf-ink); }
.brick-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 16px; height: 12px; border-radius: 2px; background: var(--bf-emerald); box-shadow: 4px -5px 0 -1px var(--bf-amber); }

/* ---------- Goal builder ---------- */
.goal-card { background: #fff; border: 2px solid var(--bf-ink); border-radius: 18px; overflow: hidden; box-shadow: 10px 10px 0 var(--bf-emerald); }
.goal-in { padding: 2.2rem; height: 100%; }
.goal-in .form-label { font-family: var(--bf-head); font-weight: 700; color: var(--bf-ink); }
.goal-in .input-group-text { background: var(--bf-concrete); color: var(--bf-emerald-d); font-weight: 700; }
.goal-ph { border-radius: 12px; aspect-ratio: 8 / 3.8; margin-top: 1.6rem; }
.goal-out { background: var(--bf-ink); color: rgba(255,255,255,.78); padding: 2.2rem; height: 100%; display: flex; flex-direction: column; }
.goal-out small { font-family: var(--bf-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--bf-amber); }
.goal-big { font-family: var(--bf-head); font-weight: 900; font-size: clamp(2.8rem, 5vw, 3.8rem); color: #fff; line-height: 1.05; margin: .3rem 0 1.2rem; }
.goal-blocks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.goal-blocks span { height: 30px; border-radius: 5px; background: rgba(255,255,255,.12); transition: background .3s; }
.goal-blocks span.have { background: var(--bf-amber); }
.goal-blocks span.todo { background: rgba(24,160,88,.35); border: 1px dashed rgba(255,255,255,.35); }
.goal-legend { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .88rem; margin-top: .6rem; }
.goal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .4rem; vertical-align: middle; }
.goal-legend i.have { background: var(--bf-amber); } .goal-legend i.todo { background: rgba(24,160,88,.6); }
.goal-stats { margin-top: 1.4rem; }
.goal-stats div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.goal-stats b { font-family: var(--bf-head); color: #fff; }
.goal-note { color: #fff; margin: 1.2rem 0 .4rem; }
.goal-fine { font-size: .84rem; color: rgba(255,255,255,.55); }
@media (max-width: 575.98px) { .goal-in, .goal-out { padding: 1.5rem 1.2rem; } .goal-card { box-shadow: 6px 6px 0 var(--bf-emerald); } .goal-blocks span { height: 22px; } }

/* ---------- Steps (staircase) ---------- */
.step { background: var(--bf-ink-2); border-radius: 14px; padding: 1.8rem 1.6rem; border-top: 6px solid var(--bf-emerald); color: rgba(255,255,255,.75); }
.step h3 { color: #fff; font-size: 1.5rem; margin-bottom: .4rem; }
.step p { margin: 0; }
.sn { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: var(--bf-amber); color: var(--bf-ink); font-family: var(--bf-head); font-weight: 900; font-size: 1.4rem; margin-bottom: 1rem; }
.step.s2 { border-top-color: var(--bf-amber); }
.step.s3 { border-top-color: var(--bf-emerald); }
.step.s4 { border-top-color: var(--bf-amber); background: var(--bf-emerald-d); }
.step.s4 .sn { background: #fff; }
@media (min-width: 992px) {
  .step.s1 { margin-top: 120px; }
  .step.s2 { margin-top: 80px; }
  .step.s3 { margin-top: 40px; }
}

/* ---------- Testimonials ---------- */
.stars { color: var(--bf-amber); font-size: .85rem; letter-spacing: .15em; }
.v-feature { margin: 0; background: var(--bf-ink); border-radius: 18px; padding: 2.6rem 2.4rem; color: #fff; border-left: 10px solid var(--bf-amber); }
.big-q { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 16px; background: var(--bf-emerald); font-size: 4rem; color: #fff; }
.v-feature blockquote p { font-family: var(--bf-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -.015em; margin: 0 0 1rem; }
.v-feature figcaption { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.v-feature figcaption span:last-child { font-family: var(--bf-head); font-weight: 800; color: var(--bf-amber); }
.v-card { margin: 0; height: 100%; background: #fff; border-radius: 14px; padding: 1.7rem 1.6rem; border-bottom: 5px solid var(--bf-emerald); display: flex; flex-direction: column; }
.v-card blockquote { flex: 1; margin: .5rem 0 1rem; }
.v-card blockquote p { margin: 0; color: var(--bf-ink); }
.v-card figcaption { font-family: var(--bf-head); font-weight: 800; color: var(--bf-emerald-d); }
@media (max-width: 575.98px) { .v-feature { padding: 1.8rem 1.4rem; border-left-width: 6px; } }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid var(--bf-line); border-radius: 14px; overflow: hidden; color: var(--bf-text); transition: border-color .3s, transform .3s; }
.post-card:hover { border-color: var(--bf-ink); transform: translateY(-5px); color: var(--bf-text); }
.pc-img { position: relative; display: block; }
.pc-img .ph { aspect-ratio: 8 / 5.2; }
.pc-tag { position: absolute; right: 1rem; bottom: -14px; background: var(--bf-emerald); color: #fff; font-family: var(--bf-head); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: .35rem .8rem; border-radius: 6px; }
.pc-body { padding: 1.8rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.pc-body .ex { display: block; flex: 1; margin-bottom: 1rem; }
.more { font-family: var(--bf-head); font-weight: 800; color: var(--bf-emerald-d); }
.more i { display: inline-block; transition: transform .25s; }
a:hover .more i { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-box { position: relative; margin-top: 1.4rem; }
.faq-box .ph { border-radius: 14px; aspect-ratio: 8 / 4.6; }
.fb-in { display: flex; align-items: center; gap: 1rem; background: var(--bf-ink); color: rgba(255,255,255,.8); border-radius: 12px; padding: 1rem 1.3rem; margin: -36px 18px 0; position: relative; }
.fb-in i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--bf-amber); color: var(--bf-ink); }
.fb-in b { display: block; color: #fff; font-family: var(--bf-head); }
.fb-in a { color: var(--bf-amber); font-weight: 700; }
.acc-bfg .accordion-item { border: 2px solid var(--bf-line); border-radius: 12px !important; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.acc-bfg .accordion-button { font-family: var(--bf-head); font-weight: 800; font-size: 1.1rem; color: var(--bf-ink); background: #fff; padding: 1.1rem 1.3rem; box-shadow: none; gap: 1rem; }
.acc-bfg .accordion-button:not(.collapsed) { color: var(--bf-emerald-d); background: var(--bf-emerald-l); }
.acc-bfg .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 8px; background: var(--bf-ink); color: #fff; font-size: 1.1rem; transform: none; margin-left: auto; }
.acc-bfg .accordion-button:not(.collapsed)::after { content: "\F2EA"; background: var(--bf-emerald); transform: none; }
.acc-bfg .accordion-button:focus { box-shadow: none; }
.acc-bfg .accordion-body { padding: 1rem 1.3rem 1.3rem; }

/* ---------- Newsletter ---------- */
.news-emerald { background: var(--bf-emerald); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; color: rgba(255,255,255,.9); padding: 80px 0; }
.news-emerald .tag { color: var(--bf-ink); }
.news-emerald h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .6rem; }
.news-field { display: flex; gap: .5rem; background: #fff; border-radius: 10px; padding: .4rem; box-shadow: 6px 6px 0 var(--bf-ink); }
.news-field .form-control { border: 0; box-shadow: none; }
@media (max-width: 400px) { .news-field { flex-direction: column; } }

/* ---------- CTA ---------- */
.cta-dark { background: var(--bf-ink-2); color: rgba(255,255,255,.78); padding: 90px 0; position: relative; overflow: hidden; }
.cta-dark::before { content: ""; position: absolute; right: 4%; bottom: 0; width: 220px; height: 140px; background: linear-gradient(var(--bf-emerald), var(--bf-emerald)) 0 100% / 60px 60px no-repeat, linear-gradient(var(--bf-amber), var(--bf-amber)) 80px 100% / 60px 100px no-repeat, linear-gradient(var(--bf-emerald), var(--bf-emerald)) 160px 100% / 60px 140px no-repeat; opacity: .18; }
.cta-dark h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); position: relative; }

/* ---------- Page banner ---------- */
.bfg-banner { background-color: var(--bf-concrete); background-image: linear-gradient(rgba(21,25,31,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,25,31,.05) 1px, transparent 1px); background-size: 40px 40px; padding: 70px 0; }
.bfg-banner h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 900; margin-bottom: .9rem; }
.bfg-banner.post h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-family: var(--bf-head); font-weight: 700; font-size: .9rem; margin-bottom: 1rem; background: #fff; padding: .4rem .9rem; border-radius: 8px; border: 2px solid var(--bf-line); }
.crumbs i { font-size: .7rem; color: var(--bf-amber-d); }
.crumbs .cur { color: var(--bf-ink); }
.banner-stack { position: relative; padding: 0 30px 30px 0; }
.banner-stack .ph { position: relative; z-index: 1; border-radius: 14px; aspect-ratio: 8 / 5.6; border: 6px solid #fff; box-shadow: 0 18px 40px rgba(21,25,31,.15); }
.banner-stack .blk { position: absolute; border-radius: 10px; }
.banner-stack .b1 { right: 0; bottom: 0; width: 45%; height: 50%; background: var(--bf-emerald); }
.banner-stack .b2 { right: 18%; bottom: -12px; width: 22%; height: 30%; background: var(--bf-amber); z-index: 2; }

/* ---------- Services page ---------- */
.svc-row { padding: 3rem 0; border-bottom: 2px dashed var(--bf-line); scroll-margin-top: 120px; }
.svc-row:first-child { padding-top: 0; }
.svc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-row-img { position: relative; }
.svc-row-img .ph { border-radius: 14px; aspect-ratio: 9 / 6.4; box-shadow: 10px 10px 0 var(--bf-concrete-2); }
.svc-row-img .svc-no { border-radius: 14px 0 12px 0; font-size: 1.4rem; padding: .6rem 1.1rem; }
.ic-block { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--bf-emerald); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; box-shadow: 0 4px 0 var(--bf-emerald-d); }
.svc-row h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: .8rem; }

/* ---------- About page ---------- */
.mv-card { background: #fff; border-radius: 14px; padding: 2.4rem 2.2rem; height: 100%; border: 2px solid var(--bf-line); border-top: 8px solid var(--bf-emerald); }
.mv-card.dark { background: var(--bf-ink); border-color: var(--bf-ink); border-top-color: var(--bf-amber); color: rgba(255,255,255,.78); }
.mv-card.dark h3 { color: #fff; }
.mv-card .ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--bf-amber); color: var(--bf-ink); font-size: 1.5rem; margin-bottom: 1rem; }
.mv-card h3 { font-size: 1.8rem; }

/* ---------- Blog post ---------- */
.post-photo { border-radius: 14px; aspect-ratio: 2 / 1; margin-bottom: 2.2rem; }
.post-text p { margin-bottom: 1.35rem; font-size: 1.1rem; }
.post-text h2 { font-size: 1.9rem; margin: 2.3rem 0 1rem; }
.post-text .bfg-note { position: relative; background: var(--bf-emerald-l); border: 2px solid var(--bf-emerald); border-radius: 12px; padding: 1.5rem 1.6rem 1.5rem 4.6rem; font-family: var(--bf-head); font-weight: 700; font-size: 1.2rem; line-height: 1.4; color: var(--bf-ink); margin: 2rem 0; }
.post-text .bfg-note::before { content: "\F46B"; font-family: "bootstrap-icons"; position: absolute; left: 1.3rem; top: 1.3rem; width: 42px; height: 42px; border-radius: 8px; background: var(--bf-amber); color: var(--bf-ink); display: grid; place-items: center; font-size: 1.15rem; line-height: 1; font-weight: 400; }
.post-text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 2px dashed var(--bf-line); padding-top: 1.8rem; margin-top: 2.4rem; }
.side-box { background: var(--bf-concrete); border-radius: 14px; padding: 1.8rem; margin-bottom: 1.6rem; }
.side-box h3 { font-size: 1.3rem; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 4px solid var(--bf-emerald); display: inline-block; }
.side-box .sp { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; color: var(--bf-ink); font-weight: 600; line-height: 1.35; }
.side-box .sp:last-child { margin-bottom: 0; }
.side-box .sp:hover { color: var(--bf-emerald-d); }
.side-box .sp .ph { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed rgba(21,25,31,.18); color: var(--bf-ink); font-weight: 600; }
.side-box li a i { color: var(--bf-emerald); }
.side-box li:last-child a { border-bottom: 0; }
.side-box li a:hover { color: var(--bf-emerald-d); }
.side-box.dark { background: var(--bf-ink); color: rgba(255,255,255,.78); }
.side-box.dark h3 { color: #fff; border-bottom-color: var(--bf-amber); }

/* ---------- Contact ---------- */
.form-box { background: #fff; border: 2px solid var(--bf-line); border-radius: 16px; padding: 2.5rem; height: 100%; }
.form-box .form-label { font-family: var(--bf-head); font-weight: 700; color: var(--bf-ink); }
.form-control, .form-select { border-radius: 8px; border: 2px solid var(--bf-line); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--bf-emerald); box-shadow: 0 0 0 .2rem rgba(24,160,88,.15); }
.input-group-text { border: 2px solid var(--bf-line); }
.form-check-input:checked { background-color: var(--bf-emerald); border-color: var(--bf-emerald); }
@media (max-width: 575.98px) { .form-box { padding: 1.7rem 1.2rem; } }
.map-frame { height: 100%; min-height: 420px; border-radius: 16px; overflow: hidden; border: 2px solid var(--bf-ink); box-shadow: 10px 10px 0 var(--bf-amber); }
.map-frame iframe { width: 100%; height: 100%; min-height: 416px; border: 0; display: block; }
.rounded-photo { border-radius: 14px; aspect-ratio: 9 / 5.2; }

/* ---------- Form status ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: var(--bf-emerald-l); color: #0c5f36; border: 2px solid #b7e2c8; }
.form-status.error { background: #fdeceb; color: #9b2218; border: 2px solid #f4c4bf; }

/* ---------- Legal ---------- */
.legal-nav { position: sticky; top: 130px; background: var(--bf-concrete); border-radius: 14px; padding: 1.6rem; }
.legal-nav h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.legal-nav a { display: flex; gap: .6rem; padding: .38rem 0; color: var(--bf-ink); font-weight: 600; font-size: .95rem; }
.legal-nav a span { color: var(--bf-emerald-d); font-family: var(--bf-head); font-weight: 800; }
.legal-nav a:hover { color: var(--bf-emerald-d); }
@media (max-width: 1199.98px) { .legal-nav { position: static; } }
.legal-body h2 { font-size: 1.6rem; margin: 2.2rem 0 .9rem; scroll-margin-top: 130px; display: flex; align-items: center; gap: .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .n { font-size: .85rem; background: var(--bf-amber); color: var(--bf-ink); padding: .3rem .55rem; border-radius: 6px; }
.legal-body ul { padding-left: 1.3rem; }

/* ---------- Footer ---------- */
.foot { background: var(--bf-ink); color: rgba(255,255,255,.68); padding: 0 0 0; font-size: .97rem; }
.foot-blocks { display: grid; grid-template-columns: repeat(6, 1fr); height: 10px; margin-bottom: 70px; }
.foot-blocks span:nth-child(odd) { background: var(--bf-emerald); }
.foot-blocks span:nth-child(even) { background: var(--bf-amber); }
.foot .brand-logo img { height: 42px; }
.foot h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: rgba(255,255,255,.75); }
.foot a:hover { color: var(--bf-amber); }
.foot .cl { display: flex; gap: .7rem; align-items: flex-start; overflow-wrap: anywhere; }
.foot .cl i { color: var(--bf-amber); margin-top: .2rem; }
.foot-label { color: #fff; font-family: var(--bf-head); font-weight: 700; }
.foot-field { display: flex; gap: .4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: .3rem; }
.foot-field .form-control { background: transparent; border: 0; color: #fff; box-shadow: none; }
.foot-field .form-control::placeholder { color: rgba(255,255,255,.5); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.4rem 0; font-size: .92rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.3rem; }
@media (max-width: 767.98px) { .foot-legal { justify-content: center; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 10px; border: 0; background: var(--bf-amber); color: var(--bf-ink); font-size: 1.2rem; z-index: 1040; box-shadow: 0 4px 0 var(--bf-amber-d); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--bf-emerald); color: #fff; box-shadow: 0 4px 0 var(--bf-emerald-d); }

/* ---------- Reveal ---------- */
.build-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1.2); }
.build-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .build-in { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767.98px) {
  .sec { padding: 70px 0; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .bfg-hero { padding: 56px 0 90px; }
}
