/* ==========================================================================
   Shared structure for service, industry and location pages.
   Blocks are generated by _tools/build_structure.py between
   <!-- bm-structure:* --> markers. Colours come from each page's :root vars.
   ========================================================================== */

/* ---------- Trust strip (directly under the hero) ---------- */
.bms-trust { background: #fff; border-bottom: 1px solid var(--border, #e2e8f0); }
.bms-trust ul { list-style: none; margin: 0 auto; padding: 1.1rem 20px; max-width: 1200px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bms-trust li { display: flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 600; color: var(--text-dark, #1A1A1A); }
.bms-trust i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F); font-size: 1rem; }

/* ---------- Generic section shell ---------- */
.bms-sec { padding: 4.5rem 0; background: #fff; }
.bms-sec--alt { background: var(--bg-cream-light, #FFF5F5); }
.bms-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bms-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.bms-eyebrow { display: inline-block; background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F);
    padding: .3rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.bms-head h2 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.2; margin: 0 0 .7rem; color: var(--secondary, #1A1A1A); }
.bms-head h2 span { color: var(--primary, #D32F2F); }
.bms-head p { color: var(--text-light, #64748b); font-size: 1.02rem; margin: 0; }

/* ---------- Process ---------- */
.bms-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: bms; }
.bms-steps li { position: relative; background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.6rem 1.4rem 1.4rem; counter-increment: bms; }
.bms-steps li::before { content: counter(bms, decimal-leading-zero); position: absolute; top: 1.1rem; right: 1.2rem;
    font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.6rem; font-weight: 700; color: var(--primary-lighter, #FDECEA); }
.bms-steps i { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--primary, #D32F2F); color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.bms-steps h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.12rem; margin: 0 0 .45rem; color: var(--secondary, #1A1A1A); }
.bms-steps p { font-size: .9rem; color: var(--text-light, #64748b); margin: 0; line-height: 1.55; }

/* ---------- Link grids (services / industries / locations) ---------- */
.bms-block + .bms-block { margin-top: 3.25rem; }
.bms-block h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.35rem; margin: 0 0 1.1rem; color: var(--secondary, #1A1A1A);
    display: flex; align-items: center; gap: .6rem; }
.bms-block h3::before { content: ""; width: 6px; height: 1.35rem; border-radius: 3px; background: var(--primary, #D32F2F); }
.bms-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.bms-card { display: flex; align-items: flex-start; gap: .85rem; height: 100%; box-sizing: border-box; padding: 1.05rem 1.1rem; background: #fff;
    border: 1px solid var(--border, #e2e8f0); border-radius: 14px; text-decoration: none; color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s; }
.bms-card:hover, .bms-card:focus-visible { border-color: var(--primary, #D32F2F); box-shadow: 0 10px 24px rgba(var(--primary-rgb, 211,47,47), .12); transform: translateY(-2px); }
.bms-card i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F); font-size: 1rem; transition: background .2s, color .2s; }
.bms-card:hover i { background: var(--primary, #D32F2F); color: #fff; }
.bms-card strong { display: block; font-size: .97rem; color: var(--secondary, #1A1A1A); margin-bottom: .15rem; }
.bms-card small { display: block; font-size: .83rem; line-height: 1.45; color: var(--text-light, #64748b); }
.bms-card.is-current { border-style: dashed; pointer-events: none; opacity: .55; }

.bms-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.bms-chips a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: #fff;
    border: 1px solid var(--border, #e2e8f0); font-size: .9rem; font-weight: 500; color: var(--text-dark, #1A1A1A); text-decoration: none; transition: all .2s; }
.bms-chips a i { color: var(--primary, #D32F2F); font-size: .8rem; }
.bms-chips a:hover { border-color: var(--primary, #D32F2F); color: var(--primary, #D32F2F); background: var(--primary-lighter, #FDECEA); }
.bms-chips a.bms-chip--all { border-style: dashed; font-weight: 600; }
.bms-chips a.bms-chip--parent { background: var(--primary, #D32F2F); border-color: var(--primary, #D32F2F); color: #fff; }
.bms-chips a.bms-chip--parent i { color: #fff; }

/* ---------- Visible FAQ (rendered from the page's FAQ schema when missing) ---------- */
.bms-faq { max-width: 860px; margin: 0 auto; display: grid; gap: .75rem; }
.bms-faq details { background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 14px; padding: 0 1.25rem; }
.bms-faq details[open] { border-color: var(--primary, #D32F2F); }
.bms-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: var(--secondary, #1A1A1A); position: relative; }
.bms-faq summary::-webkit-details-marker { display: none; }
.bms-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary, #D32F2F); }
.bms-faq details[open] summary::after { content: "\2212"; }
.bms-faq p { margin: 0 0 1.1rem; color: var(--text-light, #64748b); line-height: 1.65; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .bms-steps { grid-template-columns: repeat(2, 1fr); }
    .bms-trust ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .bms-sec { padding: 3.25rem 0; }
    .bms-steps { grid-template-columns: 1fr; }
    .bms-trust ul { gap: .7rem; padding: .9rem 16px; }
    .bms-trust li { font-size: .82rem; gap: .5rem; }
    .bms-trust i { width: 32px; height: 32px; font-size: .85rem; }
    .bms-cards { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .bms-card small { display: none; }
    .bms-card { flex-direction: column; gap: .55rem; padding: .85rem .8rem; }
    .bms-card i { width: 34px; height: 34px; font-size: .9rem; }
    .bms-card strong { font-size: .86rem; line-height: 1.3; margin: 0; }
    .bms-block + .bms-block { margin-top: 2.5rem; }
    .bms-block h3 { font-size: 1.15rem; }
    .bms-chips a { padding: .45rem .8rem; font-size: .84rem; }
}

/* ---------- Breadcrumb safety net (some pages lack the base list/link reset) ---------- */
.breadcrumb-list { list-style: none; margin: 0; padding: 0; }
.breadcrumb-list a { color: var(--text-light, #64748b); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--primary, #D32F2F); }
.breadcrumb-list li:last-child { color: var(--text-dark, #1A1A1A); font-weight: 600; }

/* ---------- Industry depth content: tiles, plan, KPIs, rules ---------- */
.bms-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.bms-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.bms-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.bms-tile { background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.5rem 1.4rem; }
.bms-tile i { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F); font-size: 1.1rem; margin-bottom: .9rem; }
.bms-tile--plan i { background: var(--primary, #D32F2F); color: #fff; }
.bms-tile h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.12rem; margin: 0 0 .45rem; color: var(--secondary, #1A1A1A); }
.bms-tile p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--text-light, #64748b); }
.bms-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: start; }
.bms-panel { background: var(--bg-cream-light, #FFF5F5); border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.6rem 1.5rem; }
.bms-panel h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.25rem; margin: 0 0 1.1rem; color: var(--secondary, #1A1A1A); }
.bms-panel h3 i { color: var(--primary, #D32F2F); }
.bms-kpis { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.bms-kpis li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; color: var(--text-dark, #1A1A1A);
    background: #fff; border-radius: 10px; padding: .7rem .9rem; border: 1px solid var(--border, #e2e8f0); }
.bms-kpis i { color: var(--primary, #D32F2F); }
.bms-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.bms-rules li { background: #fff; border-radius: 12px; padding: .9rem 1rem; border-left: 4px solid var(--primary, #D32F2F); }
.bms-rules strong { display: block; font-size: .95rem; color: var(--secondary, #1A1A1A); margin-bottom: .2rem; }
.bms-rules span { display: block; font-size: .88rem; line-height: 1.55; color: var(--text-light, #64748b); }
.bms-note { margin: 1rem 0 0; font-size: .8rem; color: var(--text-muted, #94a3b8); }
@media (max-width: 1024px) { .bms-tiles--3 { grid-template-columns: repeat(2, 1fr); } .bms-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bms-tiles--2, .bms-tiles--3 { grid-template-columns: 1fr; } .bms-tile { padding: 1.25rem 1.15rem; } }

/* ---------- Service depth content: signs, mistakes, timeline ---------- */
.bms-signs { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.bms-signs li { display: flex; align-items: flex-start; gap: .7rem; background: var(--bg-cream-light, #FFF5F5); border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px; padding: .95rem 1.1rem; font-size: .95rem; font-weight: 500; color: var(--text-dark, #1A1A1A); line-height: 1.45; }
.bms-signs i { color: var(--primary, #D32F2F); margin-top: .2rem; }
.bms-cta-line { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; text-align: center; }
.bms-cta-line span { color: var(--text-light, #64748b); font-size: .88rem; }
.bms-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 12px; background: var(--primary, #D32F2F);
    color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(var(--primary-rgb, 211,47,47), .3); transition: background .2s, transform .2s; }
.bms-btn:hover { background: var(--primary-dark, #B71C1C); transform: translateY(-2px); }
.bms-tiles--warn i { background: var(--primary-lighter, #FDECEA); color: var(--primary-dark, #B71C1C); }
.bms-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; }
.bms-timeline::before { content: ""; position: absolute; top: 15px; left: 2%; right: 2%; height: 3px; background: var(--primary-lighter, #FDECEA); }
.bms-timeline li { position: relative; padding-top: 2.6rem; }
.bms-timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 26px; height: 26px; border-radius: 50%;
    background: var(--primary, #D32F2F); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--primary-lighter, #FDECEA); }
.bms-tl-when { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary, #D32F2F); margin-bottom: .35rem; }
.bms-timeline h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.12rem; margin: 0 0 .4rem; color: var(--secondary, #1A1A1A); }
.bms-timeline p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-light, #64748b); }
.bms-split--even { grid-template-columns: 1fr 1fr; }
.bms-panel--white { background: #fff; }
.bms-kpis--need li { background: var(--bg-cream-light, #FFF5F5); font-weight: 500; }
@media (max-width: 1024px) { .bms-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } .bms-timeline::before { display: none; } }
@media (max-width: 640px) {
    .bms-signs { grid-template-columns: 1fr; }
    .bms-timeline { grid-template-columns: 1fr; gap: 0; padding-left: 1.6rem; border-left: 3px solid var(--primary-lighter, #FDECEA); margin-left: .6rem; }
    .bms-timeline li { padding: 0 0 1.6rem; }
    .bms-timeline li::before { top: 2px; left: calc(-1.6rem - 14px); width: 22px; height: 22px; box-shadow: 0 0 0 4px #fff; }
    .bms-split--even { grid-template-columns: 1fr; }
}

/* ---------- Location depth content: local insight ---------- */
.bms-local { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: start; }
.bms-local-about { font-size: 1.05rem; line-height: 1.75; color: var(--text-dark, #1A1A1A); margin: 0 0 1.4rem; }
.bms-local-tip { display: flex; gap: .9rem; background: #fff; border: 1px solid var(--border, #e2e8f0); border-left: 4px solid var(--primary, #D32F2F);
    border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.1rem; }
.bms-local-tip > i { color: var(--primary, #D32F2F); font-size: 1.2rem; margin-top: .15rem; }
.bms-local-tip strong { display: block; color: var(--secondary, #1A1A1A); margin-bottom: .25rem; }
.bms-local-tip p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--text-light, #64748b); }
.bms-local-lang { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .93rem; color: var(--text-light, #64748b); }
.bms-local-lang i { color: var(--primary, #D32F2F); margin-top: .2rem; }
.bms-local-lang strong { color: var(--secondary, #1A1A1A); }
.bms-local-sectors { background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.5rem; }
.bms-local-sectors h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.2rem; margin: 0 0 1rem; color: var(--secondary, #1A1A1A); }
.bms-local-sectors ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.bms-local-sectors a, .bms-sector-plain { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: 12px;
    border: 1px solid var(--border, #e2e8f0); text-decoration: none; color: var(--text-dark, #1A1A1A); font-weight: 600; font-size: .93rem; transition: all .2s; }
.bms-local-sectors a:hover { border-color: var(--primary, #D32F2F); background: var(--primary-lighter, #FDECEA); }
.bms-local-sectors i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F); font-size: .85rem; }
.bms-local-sectors a > span { flex: 1; }
.bms-local-sectors small { font-size: .75rem; font-weight: 500; color: var(--primary, #D32F2F); white-space: nowrap; }
.bms-sector-plain { background: var(--bg-cream-light, #FFF5F5); border-style: dashed; }
@media (max-width: 900px) { .bms-local { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bms-local-sectors small { display: none; } .bms-local-about { font-size: 1rem; } }

/* ---------- Homepage: fit check ---------- */
.bms-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.bms-fit-col { background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.6rem 1.5rem; }
.bms-fit-col h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.25rem; margin: 0 0 1rem; color: var(--secondary, #1A1A1A); }
.bms-fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bms-fit-col li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--text-dark, #1A1A1A); }
.bms-fit-col li i { margin-top: .2rem; }
.bms-fit-col--yes { border-top: 4px solid var(--primary, #D32F2F); }
.bms-fit-col--yes i { color: var(--primary, #D32F2F); }
.bms-fit-col--no { border-top: 4px solid #94a3b8; }
.bms-fit-col--no i { color: #94a3b8; }
@media (max-width: 760px) { .bms-fit { grid-template-columns: 1fr; } }

/* ---------- Contact: office card ---------- */
.bms-office { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: stretch; }
.bms-office-main { display: flex; gap: 1rem; background: var(--bg-cream-light, #FFF5F5); border: 1px solid var(--border, #e2e8f0); border-radius: 18px; padding: 1.75rem; }
.bms-office-main > i { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--primary, #D32F2F); color: #fff; font-size: 1.25rem; }
.bms-office-main h3 { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.3rem; margin: 0 0 .4rem; color: var(--secondary, #1A1A1A); }
.bms-office-main address { font-style: normal; font-weight: 600; color: var(--text-dark, #1A1A1A); line-height: 1.6; margin-bottom: .6rem; }
.bms-office-main p { margin: 0 0 1.2rem; font-size: .93rem; color: var(--text-light, #64748b); }
.bms-office-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bms-office-list a { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; border: 1px solid var(--border, #e2e8f0); border-radius: 14px;
    background: #fff; text-decoration: none; color: var(--text-light, #64748b); font-size: .9rem; transition: all .2s; }
.bms-office-list a:hover { border-color: var(--primary, #D32F2F); background: var(--primary-lighter, #FDECEA); }
.bms-office-list i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-lighter, #FDECEA); color: var(--primary, #D32F2F); }
.bms-office-list .fa-whatsapp { background: #25D366; color: #fff; }
.bms-office-list strong { display: block; color: var(--secondary, #1A1A1A); font-size: .95rem; }
@media (max-width: 860px) { .bms-office { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bms-office-main { flex-direction: column; padding: 1.4rem; } }

/* ---------- Booking: call-at-a-glance strip ---------- */
.bms-glance { background: #fff; padding: 2.25rem 0 1rem; }
.bms-glance-title { font-family: var(--font-heading, 'Fredoka', sans-serif); font-size: 1.35rem; text-align: center; margin: 0 0 1.2rem; color: var(--secondary, #1A1A1A); }
.bms-glance ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.bms-glance li { display: flex; align-items: center; gap: .8rem; background: var(--bg-cream-light, #FFF5F5); border: 1px solid var(--border, #e2e8f0);
    border-radius: 14px; padding: 1rem 1.1rem; font-size: .9rem; color: var(--text-light, #64748b); }
.bms-glance li i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    background: var(--primary, #D32F2F); color: #fff; }
.bms-glance strong { display: block; color: var(--secondary, #1A1A1A); font-size: .95rem; }
@media (max-width: 900px) { .bms-glance ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bms-glance ul { grid-template-columns: 1fr; } }
