/* ==========================================================================
   Buachompoo — modern page styles (About, Contact, Footer)
   Class prefix: bm-   (bcp- is used by the cookie consent banner)
   ========================================================================== */

:root {
    --bm-brown: #713100;
    --bm-brown-2: #ae4c00;
    --bm-amber: #CE7123;
    --bm-peach: #FFB576;
    --bm-cream: #FBF6F1;
    --bm-sand: #F3E9DF;
    --bm-line: #EDE1D5;
    --bm-lotus: #B25CC0;
    --bm-ink: #2B1D14;
    --bm-muted: #7A6554;
    --bm-radius: 20px;
    --bm-radius-sm: 12px;
    --bm-shadow: 0 18px 40px -18px rgba(113, 49, 0, .35);
    --bm-shadow-sm: 0 6px 18px -8px rgba(113, 49, 0, .25);
    --bm-grad: linear-gradient(120deg, #713100 0%, #ae4c00 100%);
}

.bm-page, .bm-page p, .bm-footer, .bm-footer p { font-family: 'Prompt', sans-serif; }
.bm-page p { line-height: 1.75 !important; }

.bm-section { padding: 90px 0; position: relative; }
.bm-section-sm { padding: 60px 0; }
.bm-bg-cream { background: var(--bm-cream); }
.bm-bg-white { background: #FFF; }

.bm-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--bm-amber); margin-bottom: 14px;
}
.bm-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bm-eyebrow.bm-center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.bm-title {
    font-family: 'Prompt', sans-serif; font-weight: 600; color: var(--bm-ink);
    font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.2; margin: 0 0 18px; letter-spacing: -.01em;
}
.bm-title em { font-style: normal; color: var(--bm-brown-2); }
.bm-lead { font-size: 1.08rem; color: var(--bm-muted) !important; }
.bm-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }

/* Buttons */
.bm-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 1rem;
    padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none !important; transition: all .25s ease; cursor: pointer; line-height: 1.2;
}
.bm-btn-primary { background: var(--bm-grad); color: #FFF !important; box-shadow: var(--bm-shadow-sm); }
.bm-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--bm-shadow); color: #FFF !important; }
.bm-btn-outline { border-color: var(--bm-brown); color: var(--bm-brown) !important; background: transparent; }
.bm-btn-outline:hover { background: var(--bm-brown); color: #FFF !important; }
.bm-btn-light { background: #FFF; color: var(--bm-brown) !important; }
.bm-btn-light:hover { background: var(--bm-peach); color: var(--bm-ink) !important; transform: translateY(-2px); }
.bm-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #FFF !important; }
.bm-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #FFF; }
.bm-btn-messenger { background: #0866FF; color: #FFF !important; }
.bm-btn-whatsapp { background: #25D366; color: #FFF !important; }
.bm-btn-messenger:hover, .bm-btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); color: #FFF !important; }
.bm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Reveal on scroll */
.bm-js .bm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.bm-js .bm-reveal.bm-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .bm-js .bm-reveal { opacity: 1; transform: none; transition: none; }
    .bm-btn, .bm-card, .bm-tile img { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Banner (shared by About / Contact)
   -------------------------------------------------------------------------- */
.bm-banner {
    position: relative; overflow: hidden; color: #FFF; text-align: center;
    background: var(--bm-grad); padding: 80px 0 90px;
}
.bm-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--bm-banner-img, none); background-size: cover; background-position: center;
    opacity: .16; mix-blend-mode: luminosity;
}
.bm-banner::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
    background: var(--bm-banner-next, #FFF); border-radius: 40px 40px 0 0;
}
.bm-banner .container { position: relative; z-index: 1; }
.bm-banner .bm-eyebrow { color: var(--bm-peach); }
.bm-banner-title {
    font-family: 'Prompt', sans-serif; font-weight: 600; color: #FFF;
    font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.015em;
}
.bm-banner p { color: #FFE9D6 !important; font-size: 1.1rem; max-width: 620px; margin: 0 auto !important; }
.bm-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
    padding: 8px 18px; border-radius: 999px; font-size: .95rem; color: #FFF;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.bm-collage { position: relative; padding: 0 0 60px 40px; }
.bm-collage .bm-collage-main {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--bm-radius); box-shadow: var(--bm-shadow);
}
.bm-collage .bm-collage-sub {
    position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--bm-radius); border: 6px solid #FFF; box-shadow: var(--bm-shadow);
}
.bm-collage .bm-badge {
    position: absolute; top: 24px; right: -14px;
    width: 116px; height: 116px; border-radius: 50%; background: #FFF;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--bm-shadow-sm);
}
.bm-collage .bm-badge img { width: 64%; height: auto; }
.bm-logo-inline { display: block; width: 190px; max-width: 60%; height: auto; margin-bottom: 18px; }

.bm-card {
    background: #FFF; border: 1px solid var(--bm-line); border-radius: var(--bm-radius);
    padding: 34px 28px; height: 100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bm-card:hover { transform: translateY(-6px); box-shadow: var(--bm-shadow); border-color: transparent; }
.bm-card h3 { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--bm-ink); margin: 0 0 8px; line-height: 1.35; }
.bm-card p { color: var(--bm-muted) !important; font-size: .98rem; }
.bm-icon {
    width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
    background: var(--bm-sand); color: var(--bm-brown-2);
}
.bm-card:hover .bm-icon { background: var(--bm-grad); color: #FFF; }

.bm-quote {
    position: relative; background: var(--bm-grad); color: #FFF; border-radius: var(--bm-radius);
    padding: 56px 48px; overflow: hidden; box-shadow: var(--bm-shadow);
}
.bm-quote::before {
    content: "\201C"; position: absolute; top: -34px; right: 26px; font-family: Georgia, serif;
    font-size: 220px; line-height: 1; color: rgba(255, 255, 255, .1);
}
.bm-quote p { color: #FFF !important; font-size: 1.12rem; position: relative; }
.bm-quote .bm-eyebrow { color: var(--bm-peach); }
.bm-quote-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); }

/* Galleries (masonry — photos keep their natural shape) */
.bm-grid { column-count: 3; column-gap: 14px; }
.bm-grid-guests { column-count: 4; }
.bm-tile {
    display: block; position: relative; overflow: hidden; border-radius: var(--bm-radius-sm);
    background: var(--bm-sand); margin-bottom: 14px; break-inside: avoid; -webkit-column-break-inside: avoid;
}
.bm-tile img { width: 100%; height: auto; transition: transform .6s ease; display: block; }
.bm-tile::after {
    content: "\f00e"; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #FFF; font-size: 22px; background: rgba(43, 29, 20, .35); opacity: 0; transition: opacity .3s ease;
}
.bm-tile:hover img, .bm-tile:focus-visible img { transform: scale(1.05); }
.bm-tile:hover::after, .bm-tile:focus-visible::after { opacity: 1; }
.bm-tile.bm-hidden { display: none; }
.bm-more { text-align: center; margin-top: 24px; }

/* CTA */
.bm-cta {
    background: var(--bm-grad); border-radius: var(--bm-radius); color: #FFF;
    padding: 56px 40px; position: relative; overflow: hidden; box-shadow: var(--bm-shadow);
}
.bm-cta::after {
    content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    right: -90px; top: -120px; background: rgba(255, 181, 118, .16);
}
.bm-cta > * { position: relative; z-index: 1; }
.bm-cta h2 { font-family: 'Prompt', sans-serif; font-weight: 600; color: #FFF; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.bm-cta p { color: #FFE9D6 !important; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.bm-contact-cards { margin-top: -70px; position: relative; z-index: 2; }
.bm-info {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; height: 100%;
    background: #FFF; border: 1px solid var(--bm-line); border-radius: var(--bm-radius);
    padding: 28px 14px 24px; box-shadow: var(--bm-shadow-sm); text-decoration: none !important;
    transition: transform .3s ease, box-shadow .3s ease;
}
a.bm-info:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow); }
.bm-info .bm-icon { margin: 0; width: 56px; height: 56px; font-size: 22px; border-radius: 50%; }
a.bm-info:hover .bm-icon { background: var(--bm-grad); color: #FFF; }
.bm-info-value.bm-info-email { font-size: .86rem; }
.bm-info-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 4px; }
.bm-info-value { font-size: .94rem; color: var(--bm-ink); font-weight: 500; overflow-wrap: anywhere; line-height: 1.45; }

.bm-map { border-radius: var(--bm-radius); overflow: hidden; height: 100%; min-height: 460px; background: var(--bm-sand); box-shadow: var(--bm-shadow-sm); }
.bm-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.bm-map { position: relative; }
.bm-map iframe { position: relative; z-index: 1; }
.bm-map iframe[data-consent-src] { display: none; }
.bm-map .bcp-blocked { position: relative; z-index: 2; min-height: 460px; height: 100%; border-radius: 0; border: 0; }
.bm-map-fallback {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px;
    background: radial-gradient(circle at 30% 20%, #FFF 0%, var(--bm-sand) 70%);
}
.bm-map-fallback .bm-icon { width: 72px; height: 72px; font-size: 30px; border-radius: 50%; background: #FFF; box-shadow: var(--bm-shadow-sm); }
.bm-map-fallback-addr { font-size: 1.15rem; font-weight: 500; color: var(--bm-ink); margin: 0 auto 22px; max-width: 320px; line-height: 1.5; }

.bm-visit {
    background: var(--bm-cream); border-radius: var(--bm-radius); padding: 36px 32px; height: 100%;
    display: flex; flex-direction: column;
}
.bm-visit h3 { font-family: 'Prompt', sans-serif; font-weight: 600; color: var(--bm-ink); font-size: 1.5rem; margin: 0 0 6px; }
.bm-visit-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.bm-visit-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--bm-line); color: var(--bm-ink); }
.bm-visit-list li:last-child { border-bottom: 0; }
.bm-visit-list i { color: var(--bm-brown-2); width: 20px; text-align: center; margin-top: 4px; }
.bm-visit-list a { color: var(--bm-ink) !important; text-decoration: none; }
.bm-visit-list a:hover { color: var(--bm-brown-2) !important; }
.bm-visit .bm-actions { margin-top: auto; }
.bm-visit .bm-btn { flex: 1 1 auto; justify-content: center; }

.bm-fb { background: #FFF; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 14px; height: 100%; overflow: hidden; }
.bm-fb .fb-page, .bm-fb .fb-page span, .bm-fb .fb-page iframe { width: 100% !important; }
.bm-fb { display: flex; align-items: center; justify-content: center; }
.bm-fb .fb-page { width: 100%; }
/* fallback shown until Facebook loads (e.g. before cookies are accepted) */
.bm-fb blockquote.fb-xfbml-parse-ignore { margin: 0; padding: 30px 20px; border: 0; text-align: center; }
.bm-fb blockquote.fb-xfbml-parse-ignore::before {
    content: "\f39e"; font-family: 'Font Awesome 6 Brands'; font-weight: 400; display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #1877F2; color: #FFF; font-size: 28px;
}
.bm-fb blockquote.fb-xfbml-parse-ignore a {
    display: inline-block; font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 1.05rem;
    color: var(--bm-ink) !important; text-decoration: none;
}
.bm-fb blockquote.fb-xfbml-parse-ignore a::after { content: " \2192"; color: #1877F2; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer.bm-footer { background: #1C1410; box-shadow: none; border-top: 0; margin-top: 0; color: #CDBFB3; font-size: .95rem; }
.bm-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #713100, #CE7123, #FFB576, #CE7123, #713100); }
.bm-footer-main { padding: 70px 0 40px; }
.bm-footer p { color: #CDBFB3 !important; }
.bm-footer a { color: #E9DDD2; text-decoration: none; transition: color .2s ease; }
.bm-footer a:hover { color: var(--bm-peach) !important; }
.bm-footer-brand img { width: 84px; height: 92px; object-fit: contain; background: #FFF; border-radius: 18px; padding: 8px; margin-bottom: 18px; }
.bm-footer-brand .bm-footer-name { font-size: 1.25rem; font-weight: 600; color: #FFF; margin-bottom: 8px; line-height: 1.3; }
.bm-footer-brand p { line-height: 1.7 !important; max-width: 320px; }
.bm-footer h4 {
    font-family: 'Prompt', sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--bm-peach); margin: 0 0 20px;
}
.bm-social { display: flex; gap: 10px; margin-top: 22px; }
.bm-social a {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); color: #FFF; font-size: 17px;
}
.bm-social a:hover { background: var(--bm-amber); color: #FFF !important; transform: translateY(-2px); }
.bm-links, .bm-contact-list { list-style: none; padding: 0; margin: 0; }
.bm-links li { margin-bottom: 10px; }
.bm-links a { display: inline-flex; align-items: center; gap: 8px; }
.bm-links a i { font-size: 10px; color: var(--bm-amber); transition: transform .2s ease; }
.bm-links a:hover i { transform: translateX(3px); }
.bm-contact-list li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.bm-contact-list i { color: var(--bm-amber); width: 18px; text-align: center; margin-top: 4px; }
.bm-contact-list span, .bm-contact-list a { word-break: break-word; }

.bm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm-stat { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px 14px; }
.bm-stat b { display: block; font-size: 1.15rem; font-weight: 600; color: #FFF; line-height: 1.2; }
.bm-stat span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #9F8E80; }
.bm-stat.bm-stat-total { grid-column: span 2; background: rgba(206, 113, 35, .16); }
.bm-stat.bm-stat-total b { color: var(--bm-peach); font-size: 1.4rem; }

.bm-tags { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0 30px; }
.bm-tags summary {
    cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bm-peach);
}
.bm-tags summary::-webkit-details-marker { display: none; }
.bm-tags summary i { transition: transform .25s ease; font-size: .75rem; }
.bm-tags details[open] summary i { transform: rotate(180deg); }
.bm-tags-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-tags-list a.badge {
    background: transparent !important; border: 1px solid rgba(255, 255, 255, .14); color: #CDBFB3 !important;
    font-size: .78rem !important; font-weight: 400 !important; padding: 6px 12px; margin: 0 !important; border-radius: 999px;
}
.bm-tags-list a.badge:hover { border-color: var(--bm-amber); background: rgba(206, 113, 35, .15) !important; color: #FFF !important; }

.bm-footer-bottom { background: #140E0B; padding: 20px 0; font-size: .88rem; color: #9F8E80; }
.bm-footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.bm-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bm-footer-bottom a { color: #CDBFB3; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .bm-section { padding: 70px 0; }
    .bm-collage { max-width: 520px; margin: 50px auto 0; }
    .bm-grid-guests { column-count: 3; }
    .bm-quote { padding: 44px 32px; }
}
@media (max-width: 767px) {
    .bm-section { padding: 56px 0; }
    .bm-banner { padding: 60px 0 76px; }
    .bm-grid, .bm-grid-guests { column-count: 2; column-gap: 10px; }
    .bm-tile { margin-bottom: 10px; }
    .bm-collage { padding: 0 0 44px 24px; }
    .bm-collage .bm-badge { width: 92px; height: 92px; right: -6px; }
    .bm-cta { padding: 44px 24px; text-align: center; }
    .bm-cta .bm-actions { justify-content: center; }
    .bm-quote { padding: 40px 24px; }
    .bm-visit { padding: 28px 22px; }
    .bm-map, .bm-map iframe, .bm-map .bcp-blocked { min-height: 340px; }
    .bm-footer-main { padding: 56px 0 20px; }
    .bm-links { columns: 2; column-gap: 20px; }
    .bm-footer-bottom .container { justify-content: center; text-align: center; }
    .bm-footer-bottom nav { justify-content: center; }
}
@media (max-width: 575px) {
    .bm-contact-cards .col-sm-6 { margin-bottom: 12px !important; }
    .bm-info { flex-direction: row; text-align: left; padding: 16px 18px; gap: 16px; }
    .bm-info .bm-icon { flex: 0 0 48px; width: 48px; height: 48px; font-size: 18px; }
}

/* --------------------------------------------------------------------------
   Header / top navigation
   -------------------------------------------------------------------------- */
.bm-header {
    --bm-topbar-h: 40px;
    position: sticky; top: calc(var(--bm-topbar-h) * -1); z-index: 1030;
    font-family: 'Prompt', sans-serif;
}
.bm-header a { text-decoration: none !important; }

.bm-topbar { height: var(--bm-topbar-h); background: var(--bm-grad); color: #FFE9D6; font-size: .84rem; }
.bm-topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bm-topbar-info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.bm-topbar-info a { display: inline-flex; align-items: center; gap: 8px; color: #FFE9D6 !important; white-space: nowrap; min-width: 0; }
.bm-topbar-info a span { overflow: hidden; text-overflow: ellipsis; }
.bm-topbar-info a:hover { color: #FFF !important; }
.bm-topbar-info i { color: var(--bm-peach); font-size: .8rem; }
.bm-topbar-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.bm-topbar-icon {
    width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    color: #FFE9D6 !important; font-size: .8rem; transition: background .2s ease;
}
.bm-topbar-icon:hover { background: rgba(255, 255, 255, .15); color: #FFF !important; }
.bm-lang { display: inline-flex; margin-left: 8px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
.bm-lang a {
    font-size: .74rem; font-weight: 600; letter-spacing: .06em; padding: 3px 11px; border-radius: 999px;
    color: #FFE9D6 !important; transition: all .2s ease;
}
.bm-lang a:hover { color: #FFF !important; }
.bm-lang a.active { background: #FFF; color: var(--bm-brown) !important; }

.bm-navbar {
    background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--bm-line);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    transition: box-shadow .3s ease;
}
.bm-scrolled .bm-navbar { box-shadow: 0 10px 30px -14px rgba(43, 29, 20, .3); }
.bm-navbar > .container { display: flex; align-items: center; gap: 24px; height: 86px; transition: height .3s ease; }
.bm-scrolled .bm-navbar > .container { height: 68px; }

.bm-brand { flex-shrink: 0; display: block; line-height: 0; }
.bm-brand img { height: 60px; width: auto; transition: height .3s ease; }
.bm-scrolled .bm-brand img { height: 48px; }

.bm-menu { flex: 1; display: flex; justify-content: center; }
.bm-menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bm-menu ul a {
    position: relative; display: block; padding: 10px 16px; border-radius: 999px;
    font-size: .95rem; font-weight: 500; white-space: nowrap; color: var(--bm-ink) !important; transition: color .2s ease, background .2s ease;
}
.bm-menu ul a::after {
    content: ""; position: absolute; left: 50%; bottom: 4px; width: 18px; height: 3px; border-radius: 3px;
    background: var(--bm-amber); transform: translateX(-50%) scaleX(0); transition: transform .25s ease;
}
.bm-menu ul a:hover { color: var(--bm-brown-2) !important; background: var(--bm-cream); }
.bm-menu ul a.active { color: var(--bm-brown-2) !important; }
.bm-menu ul a.active::after, .bm-menu ul a:hover::after { transform: translateX(-50%) scaleX(1); }
.bm-menu-extra { display: none; }

.bm-nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.bm-nav-call { display: flex; align-items: center; gap: 10px; color: var(--bm-ink) !important; }
.bm-nav-call-icon {
    width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--bm-sand); color: var(--bm-brown-2); transition: all .25s ease;
}
.bm-nav-call:hover .bm-nav-call-icon { background: var(--bm-grad); color: #FFF; }
.bm-nav-call-text { display: flex; flex-direction: column; line-height: 1.25; }
.bm-nav-call-text small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bm-muted); }
.bm-nav-call-text b { font-size: .98rem; font-weight: 600; white-space: nowrap; }
.bm-nav-cta { padding: 11px 22px; font-size: .92rem; }

.bm-burger {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--bm-sand); cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.bm-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--bm-brown); transition: transform .3s ease, opacity .2s ease; }
.bm-open .bm-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bm-open .bm-burger span:nth-child(2) { opacity: 0; }
.bm-open .bm-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
    .bm-nav-call { display: none; }
    .bm-menu ul a { padding: 10px 12px; }
}
@media (max-width: 991px) {
    .bm-navbar > .container { height: 72px; gap: 12px; }
    .bm-scrolled .bm-navbar > .container { height: 64px; }
    .bm-brand img { height: 48px; }
    .bm-scrolled .bm-brand img { height: 42px; }
    .bm-burger { display: inline-flex; }
    .bm-nav-actions { margin-left: auto; gap: 10px; }
    .bm-nav-cta { padding: 10px 16px; }

    .bm-menu {
        position: absolute; left: 0; right: 0; top: 100%; display: block;
        background: #FFF; border-bottom: 1px solid var(--bm-line); box-shadow: 0 24px 40px -20px rgba(43, 29, 20, .35);
        padding: 10px 16px 22px; max-height: calc(100vh - 80px); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .bm-open .bm-menu { opacity: 1; visibility: visible; transform: none; }
    .bm-menu ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .bm-menu ul a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
    .bm-menu ul a::after { left: 0; top: 50%; bottom: auto; width: 3px; height: 20px; transform: translateY(-50%) scaleY(0); }
    .bm-menu ul a.active { background: var(--bm-cream); }
    .bm-menu ul a.active::after, .bm-menu ul a:hover::after { transform: translateY(-50%) scaleY(1); }
    .bm-menu-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--bm-line); }
    .bm-menu-extra .bm-btn { justify-content: center; }
    .bm-navbar { position: relative; }
}
@media (max-width: 575px) {
    .bm-header { --bm-topbar-h: 36px; }
    .bm-topbar { font-size: .78rem; }
    .bm-hide-xs { display: none !important; }
    .bm-nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bm-header *, .bm-header *::after { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Policy pages
   -------------------------------------------------------------------------- */
.bm-doc-nav {
    position: sticky; top: 90px; background: #FFF; border: 1px solid var(--bm-line); border-radius: var(--bm-radius);
    padding: 14px; display: flex; flex-direction: column; gap: 2px;
}
.bm-doc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--bm-ink) !important; font-weight: 500; font-size: .95rem; text-decoration: none !important; }
.bm-doc-nav a i { width: 18px; text-align: center; color: var(--bm-brown-2); }
.bm-doc-nav a:hover { background: var(--bm-cream); }
.bm-doc {
    background: #FFF; border: 1px solid var(--bm-line); border-radius: var(--bm-radius);
    padding: 40px 44px; margin-bottom: 28px; scroll-margin-top: 90px;
}
.bm-doc-head { display: flex; gap: 18px; align-items: center; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--bm-line); }
.bm-doc-head .bm-icon { margin: 0; flex-shrink: 0; }
.bm-doc-head h2 { font-family: 'Prompt', sans-serif; font-weight: 600; color: var(--bm-ink); font-size: 1.7rem; margin: 0 0 2px; line-height: 1.25; }
.bm-doc-head p { font-size: .88rem; color: var(--bm-muted) !important; }
.bm-doc h3 { font-family: 'Prompt', sans-serif; font-weight: 600; color: var(--bm-brown); font-size: 1.12rem; margin: 30px 0 10px; line-height: 1.4; }
.bm-doc p, .bm-doc li { font-size: .97rem; color: #4E3F34 !important; }
.bm-doc p { margin-bottom: 12px !important; }
.bm-doc ul { padding-left: 20px; margin-bottom: 14px; }
.bm-doc li { margin-bottom: 6px; line-height: 1.7; }
.bm-doc a:not(.bm-btn) { color: var(--bm-brown-2) !important; text-decoration: underline; }
.bm-doc code { background: var(--bm-sand); color: var(--bm-brown); padding: 2px 7px; border-radius: 6px; font-size: .85rem; }
.bm-doc-small { font-size: .85rem !important; color: var(--bm-muted) !important; }
.bm-doc-facts { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; background: var(--bm-cream); border-radius: var(--bm-radius-sm); padding: 18px 20px !important; }
.bm-doc-facts li { margin: 0; }
.bm-table-wrap { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-sm); }
.bm-table { width: 100%; border-collapse: collapse; font-family: 'Prompt', sans-serif; font-size: .9rem; min-width: 520px; }
.bm-table th { background: var(--bm-cream); color: var(--bm-brown); font-weight: 600; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--bm-line); }
.bm-table td { padding: 12px 14px; border-bottom: 1px solid var(--bm-line); color: #4E3F34; vertical-align: top; line-height: 1.55; }
.bm-table tr:last-child td { border-bottom: 0; }
.bm-tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.bm-tag-ess { background: #E8F5E9; color: #2E7D32; }
.bm-tag-fun { background: #E3F2FD; color: #1565C0; }
.bm-tag-mkt { background: #FCE4EC; color: #AD1457; }
.bm-rights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 16px; }
.bm-rights div { display: flex; gap: 10px; align-items: flex-start; background: var(--bm-cream); border-radius: var(--bm-radius-sm); padding: 14px; font-size: .9rem; color: var(--bm-ink); line-height: 1.45; }
.bm-rights i { color: var(--bm-brown-2); margin-top: 3px; }
@media (max-width: 991px) {
    .bm-doc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .bm-doc-nav a { flex: 1 1 auto; }
    .bm-rights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .bm-doc { padding: 26px 20px; }
    .bm-doc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bm-doc-head h2 { font-size: 1.4rem; }
    .bm-doc-facts { grid-template-columns: 1fr; }
    .bm-rights { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Floating action button
   -------------------------------------------------------------------------- */
.bm-fab { position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; font-family: 'Prompt', sans-serif; }
.bm-fab-main {
    position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--bm-grad); color: #FFF; font-size: 24px; box-shadow: 0 10px 26px -6px rgba(113, 49, 0, .6);
    display: flex; align-items: center; justify-content: center; transition: transform .25s ease;
}
.bm-fab-main::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--bm-amber);
    animation: bm-fab-pulse 2.4s ease-out infinite;
}
.bm-fab-main:hover { transform: scale(1.06); }
.bm-fab-main:focus-visible { outline: 3px solid var(--bm-peach); outline-offset: 3px; }
.bm-fab-main i { position: absolute; transition: transform .3s ease, opacity .2s ease; }
.bm-fab-close { opacity: 0; transform: rotate(-90deg); }
.bm-fab-on .bm-fab-open { opacity: 0; transform: rotate(90deg); }
.bm-fab-on .bm-fab-close { opacity: 1; transform: none; }
.bm-fab-on .bm-fab-main::before { animation: none; opacity: 0; }
@keyframes bm-fab-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

.bm-fab-list { list-style: none; margin: 0 6px 12px 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.bm-fab-list li {
    opacity: 0; transform: translateY(14px) scale(.9);
    transition: opacity .2s ease, transform .25s ease; transition-delay: calc(var(--i) * 25ms);
}
.bm-fab-on .bm-fab-list { pointer-events: auto; }
.bm-fab-on .bm-fab-list li { opacity: 1; transform: none; }
.bm-fab-list a { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.bm-fab-label {
    background: #FFF; color: var(--bm-ink); font-size: .88rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
    box-shadow: 0 6px 18px -6px rgba(43, 29, 20, .35); white-space: nowrap;
}
.bm-fab-icon {
    width: 48px; height: 48px; border-radius: 50%; color: #FFF; font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
    transition: transform .2s ease;
}
.bm-fab-list a:hover .bm-fab-icon, .bm-fab-list a:focus-visible .bm-fab-icon { transform: scale(1.08); }
.bm-fab-list a:focus-visible .bm-fab-label { outline: 2px solid var(--bm-amber); }

/* keep the theme's scroll-to-top button clear of the FAB */
html .scroll-to-top { right: 30px !important; bottom: 94px !important; border-radius: 50% !important; width: 42px; height: 42px; line-height: 42px; padding: 0 !important; background: rgba(43, 29, 20, .75) !important; }
@media (max-width: 575px) {
    .bm-fab { right: 14px; bottom: 14px; }
    .bm-fab-main { width: 56px; height: 56px; font-size: 22px; }
    html .scroll-to-top { right: 21px !important; bottom: 82px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .bm-fab-main::before { animation: none; }
    .bm-fab-list li, .bm-fab-main i { transition: none; }
}
@media print { .bm-fab { display: none; } }

/* --------------------------------------------------------------------------
   Contact buttons (widget-btn-contact.php)
   -------------------------------------------------------------------------- */
.bm-cbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; font-family: 'Prompt', sans-serif; }
.bm-cbtn {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
    text-decoration: none !important; text-align: left;
    background: #FFF; border: 1px solid var(--bm-line); color: var(--bm-ink) !important;
    box-shadow: 0 10px 24px -14px rgba(43, 29, 20, .45);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.bm-cbtn:hover, .bm-cbtn:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 36px -16px rgba(43, 29, 20, .55); }
.bm-cbtn:active { transform: translateY(-1px) scale(.98); }
.bm-cbtn:focus-visible { outline: 3px solid var(--bm-peach); outline-offset: 3px; }

/* light sweep across the button on hover */
.bm-cbtn::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); transition: left .7s ease;
}
.bm-cbtn:hover::before { left: 130%; }

.bm-cbtn-icon {
    flex: 0 0 50px; width: 50px; height: 50px; border-radius: 15px; font-size: 21px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.bm-cbtn-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bm-cbtn-text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }
.bm-cbtn-text b { font-size: 1.08rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-cbtn-arrow { font-size: .9rem; opacity: 0; transform: translateX(-10px); transition: all .3s ease; }
.bm-cbtn:hover .bm-cbtn-arrow { opacity: 1; transform: none; }

/* call */
.bm-cbtn-call .bm-cbtn-icon { background: var(--bm-sand); color: var(--bm-brown-2); }
.bm-cbtn-call:hover .bm-cbtn-icon { background: var(--bm-grad); color: #FFF; }
.bm-cbtn-call:hover .bm-cbtn-icon i { animation: bm-ring .9s ease-in-out infinite; }
.bm-cbtn-call .bm-cbtn-arrow { color: var(--bm-brown-2); }

/* book (main action): moving gradient + soft glow */
.bm-cbtn-book {
    border: 0; color: #FFF !important;
    background: linear-gradient(120deg, #713100, #ae4c00, #CE7123, #ae4c00, #713100);
    background-size: 300% 100%; animation: bm-flow 8s ease infinite, bm-glow 2.8s ease-in-out infinite;
}
.bm-cbtn-book .bm-cbtn-icon { background: rgba(255, 255, 255, .18); color: #FFF; }
.bm-cbtn-book:hover .bm-cbtn-icon { transform: rotate(-10deg) scale(1.1); }
.bm-cbtn-book::before { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); }

/* messenger */
.bm-cbtn-msg { border: 0; color: #FFF !important; background: linear-gradient(120deg, #0866FF 0%, #6E3BFF 60%, #C837AB 100%); }
.bm-cbtn-msg .bm-cbtn-icon { background: rgba(255, 255, 255, .18); color: #FFF; }
.bm-cbtn-msg:hover .bm-cbtn-icon { transform: translateY(-3px) scale(1.08); }
.bm-cbtn-typing { display: inline-flex; gap: 4px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.bm-cbtn-typing i { width: 6px; height: 6px; border-radius: 50%; background: #FFF; opacity: .5; }
.bm-cbtn-msg:hover .bm-cbtn-typing i { animation: bm-typing 1s ease-in-out infinite; }
.bm-cbtn-typing i:nth-child(2) { animation-delay: .15s !important; }
.bm-cbtn-typing i:nth-child(3) { animation-delay: .3s !important; }

/* click ripple */
.bm-ripple {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
    background: rgba(255, 255, 255, .45); transform: scale(0); animation: bm-ripple .65s ease-out forwards;
}
.bm-cbtn-call .bm-ripple { background: rgba(206, 113, 35, .22); }

@keyframes bm-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-18deg); } 30% { transform: rotate(16deg); } 45% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 75% { transform: rotate(0); } }
@keyframes bm-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes bm-glow { 0%, 100% { box-shadow: 0 10px 24px -12px rgba(174, 76, 0, .55); } 50% { box-shadow: 0 14px 34px -8px rgba(206, 113, 35, .75); } }
@keyframes bm-typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes bm-ripple { to { transform: scale(1); opacity: 0; } }

@media (max-width: 575px) {
    .bm-cbtns { grid-template-columns: 1fr; gap: 12px; }
    .bm-cbtn-arrow { opacity: .6; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bm-cbtn, .bm-cbtn *, .bm-cbtn::before { animation: none !important; transition: none !important; }
    .bm-ripple { display: none; }
}
