/* Brilliant Cut Header & Footer — front-end styles. All classes prefixed .bchf- */
:root {
	--bchf-accent: #b8955a;
	--bchf-dark: #14110f;
	--bchf-light: #f7f3ec;
	--bchf-muted: #6d645b;
	--bchf-line: rgba(20, 17, 15, .12);
	--bchf-serif: "Cormorant Garamond", "Times New Roman", serif;
	--bchf-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bchf-max: 1240px;
}

.bchf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bchf-skip { position: absolute; left: -9999px; top: 8px; z-index: 100000; background: var(--bchf-dark); color: #fff; padding: 12px 18px; }
.bchf-skip:focus { left: 8px; }
.bchf-icon { width: 1em; height: 1em; flex-shrink: 0; }
.bchf-container { width: 100%; max-width: var(--bchf-max); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.bchf-header *, .bchf-footer-wrap *, .bchf-callbar *, .bchf-float * { box-sizing: border-box; }

/* ---------- Header wrapper (Elementor or built-in) ---------- */
.bchf-header { position: relative; z-index: 990; font-family: var(--bchf-sans); }
.bchf-header--sticky { position: sticky; top: 0; }
.admin-bar .bchf-header--sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .bchf-header--sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bchf-header--sticky { top: 0; } }
.bchf-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .08); }
.bchf-header--transparent { position: absolute; left: 0; right: 0; top: 0; }
.bchf-header--transparent.bchf-header--sticky { position: fixed; }
.admin-bar .bchf-header--transparent { top: 32px; }
.bchf-header--transparent.is-scrolled { background: var(--bchf-dark); }

/* ---------- Buttons ---------- */
.bchf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 13px 22px; font-family: var(--bchf-sans); font-size: 12px; font-weight: 600; line-height: 1;
	letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	border: 1px solid var(--bchf-dark); border-radius: 2px; transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.bchf-btn .bchf-icon { width: 15px; height: 15px; }
.bchf-btn--dark { background: var(--bchf-dark); color: var(--bchf-light); }
.bchf-btn--dark:hover, .bchf-btn--dark:focus { background: var(--bchf-accent); border-color: var(--bchf-accent); color: #fff; }
.bchf-btn--gold { background: var(--bchf-accent); border-color: var(--bchf-accent); color: #fff; }
.bchf-btn--gold:hover, .bchf-btn--gold:focus { background: var(--bchf-dark); border-color: var(--bchf-dark); color: #fff; }
.bchf-btn--outline { background: transparent; color: var(--bchf-dark); }
.bchf-btn--outline:hover, .bchf-btn--outline:focus { background: var(--bchf-dark); color: var(--bchf-light); }
.bchf-btn--light { background: transparent; color: var(--bchf-light); border-color: rgba(247, 243, 236, .45); }
.bchf-btn--light:hover, .bchf-btn--light:focus { background: var(--bchf-light); color: var(--bchf-dark); }
.bchf-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Logo ---------- */
.bchf-logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--bchf-dark); }
.bchf-logo__img { display: block; max-height: 52px; width: auto; }
.bchf-logo__name { font-family: var(--bchf-serif); font-size: 27px; letter-spacing: .05em; color: inherit; white-space: nowrap; }
.bchf-logo__accent { color: var(--bchf-accent); }
.bchf-logo__tag { font-family: var(--bchf-sans); font-size: 9px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--bchf-muted); margin-top: 6px; }

/* ---------- Built-in header ---------- */
.bchf-topbar { background: var(--bchf-dark); color: #d8cfc2; font-size: 12.5px; letter-spacing: .03em; }
.bchf-topbar .bchf-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.bchf-topbar a { color: #d8cfc2; text-decoration: none; }
.bchf-topbar a:hover { color: var(--bchf-accent); }
.bchf-topbar__links { display: flex; gap: 20px; }
@media (max-width: 767px) { .bchf-topbar__hours, .bchf-topbar__email { display: none; } .bchf-topbar .bchf-container { justify-content: center; } }

.bchf-bar { background: var(--bchf-light); border-bottom: 1px solid var(--bchf-line); }
.bchf-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; transition: min-height .25s; }
.bchf-header.is-scrolled .bchf-bar__inner { min-height: 66px; }
.bchf-bar .bchf-nav { flex: 1; }
.bchf-bar__actions { display: flex; align-items: center; gap: 16px; }
.bchf-bar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--bchf-dark); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.bchf-bar__phone .bchf-icon { width: 17px; height: 17px; color: var(--bchf-accent); }
@media (max-width: 1280px) { .bchf-bar__phone span { display: none; } }
@media (max-width: 1024px) { .bchf-bar__actions .bchf-btn { display: none; } .bchf-bar__inner { gap: 14px; } .bchf-bar .bchf-nav { flex: 0 0 auto; order: 3; } }

/* ---------- Navigation ---------- */
.bchf-nav { font-family: var(--bchf-sans); }
.bchf-nav__toggle, .bchf-nav__close, .bchf-sub-toggle { background: none; border: 0; padding: 8px; margin: 0; color: var(--bchf-dark); cursor: pointer; line-height: 0; }
.bchf-nav__toggle .bchf-icon, .bchf-nav__close .bchf-icon { width: 26px; height: 26px; }
.bchf-nav__toggle { display: none; }
.bchf-nav__panel-head, .bchf-nav__panel-cta { display: none; }

.bchf-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
.bchf-nav--align-center .bchf-menu { justify-content: center; }
.bchf-nav--align-right .bchf-menu { justify-content: flex-end; }
.bchf-menu li { position: relative; display: flex; align-items: center; margin: 0; }
.bchf-menu a {
	display: block; padding: 10px 0; color: var(--bchf-dark); font-size: 12.5px; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; transition: color .2s;
}
.bchf-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--bchf-accent); transition: width .25s; }
.bchf-menu > li > a:hover::after, .bchf-menu > li > a[aria-current="page"]::after, .bchf-menu > .current-menu-item > a::after, .bchf-menu > .current-menu-ancestor > a::after { width: 100%; }
.bchf-menu a:hover, .bchf-menu a:focus { color: var(--bchf-accent); }
.bchf-sub-toggle { padding: 6px; margin-left: 2px; }
.bchf-sub-toggle .bchf-icon { width: 13px; height: 13px; transition: transform .2s; }
.bchf-sub-toggle[aria-expanded="true"] .bchf-icon { transform: rotate(180deg); }

/* Desktop dropdowns */
.bchf-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 230px;
	background: #fff; border: 1px solid var(--bchf-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; display: block;
}
.bchf-menu .sub-menu li { display: flex; }
.bchf-menu .sub-menu a { padding: 10px 20px; letter-spacing: .08em; font-size: 12px; width: 100%; }
.bchf-menu .sub-menu .sub-menu { top: -10px; left: 100%; }
.bchf-menu li:hover > .sub-menu, .bchf-menu li:focus-within > .sub-menu, .bchf-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Mobile off-canvas */
.bchf-nav__panel-head { align-items: center; justify-content: space-between; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--bchf-line); }
.bchf-nav__panel-cta { flex-direction: column; gap: 10px; margin-top: 26px; }
.bchf-nav__panel-cta .bchf-btn { width: 100%; padding: 16px; }
.bchf-nav__panel-info { font-size: 13px; color: var(--bchf-muted); margin: 6px 0 0; text-align: center; }
.bchf-nav__overlay { position: fixed; inset: 0; background: rgba(14, 12, 10, .45); z-index: 998; }
.bchf-nav__overlay[hidden] { display: none; }

@media (max-width: 1024px) {
	.bchf-nav--bp-tablet { display: flex; justify-content: flex-end; }
	.bchf-nav--bp-tablet .bchf-nav__toggle { display: inline-flex; }
	.bchf-nav--bp-tablet .bchf-nav__panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bchf-light); z-index: 999; padding: 22px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; box-shadow: -20px 0 50px rgba(0, 0, 0, .15); }
	.bchf-nav--bp-tablet.is-open .bchf-nav__panel { transform: none; visibility: visible; transition: transform .3s ease; }
	.bchf-nav--bp-tablet .bchf-nav__panel-head { display: flex; }
	.bchf-nav--bp-tablet .bchf-nav__panel-cta { display: flex; }
	.bchf-nav--bp-tablet .bchf-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.bchf-nav--bp-tablet .bchf-menu li { flex-wrap: wrap; border-bottom: 1px solid var(--bchf-line); }
	.bchf-nav--bp-tablet .bchf-menu a { flex: 1; padding: 16px 0; font-size: 14px; }
	.bchf-nav--bp-tablet .bchf-menu > li > a::after { display: none; }
	.bchf-nav--bp-tablet .bchf-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; width: 100%; display: none; min-width: 0; }
	.bchf-nav--bp-tablet .bchf-menu li.is-open > .sub-menu { display: block; }
	.bchf-nav--bp-tablet .bchf-menu .sub-menu li { border: 0; }
	.bchf-nav--bp-tablet .bchf-menu .sub-menu a { padding: 10px 0; font-size: 13px; }
}
@media (max-width: 767px) {
	.bchf-nav--bp-mobile { display: flex; justify-content: flex-end; }
	.bchf-nav--bp-mobile .bchf-nav__toggle { display: inline-flex; }
	.bchf-nav--bp-mobile .bchf-nav__panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bchf-light); z-index: 999; padding: 22px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; box-shadow: -20px 0 50px rgba(0, 0, 0, .15); }
	.bchf-nav--bp-mobile.is-open .bchf-nav__panel { transform: none; visibility: visible; transition: transform .3s ease; }
	.bchf-nav--bp-mobile .bchf-nav__panel-head { display: flex; }
	.bchf-nav--bp-mobile .bchf-nav__panel-cta { display: flex; }
	.bchf-nav--bp-mobile .bchf-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.bchf-nav--bp-mobile .bchf-menu li { flex-wrap: wrap; border-bottom: 1px solid var(--bchf-line); }
	.bchf-nav--bp-mobile .bchf-menu a { flex: 1; padding: 16px 0; font-size: 14px; }
	.bchf-nav--bp-mobile .bchf-menu > li > a::after { display: none; }
	.bchf-nav--bp-mobile .bchf-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; width: 100%; display: none; min-width: 0; }
	.bchf-nav--bp-mobile .bchf-menu li.is-open > .sub-menu { display: block; }
	.bchf-nav--bp-mobile .bchf-menu .sub-menu li { border: 0; }
}
html.bchf-nav-locked { overflow: hidden; }

/* ---------- Footer ---------- */
.bchf-footer-wrap { font-family: var(--bchf-sans); }
.bchf-footer { background: var(--bchf-dark); color: #a89e90; padding: 80px 0 0; font-size: 14.5px; line-height: 1.7; }
.bchf-footer a { color: #d8cfc2; text-decoration: none; }
.bchf-footer a:hover { color: var(--bchf-accent); }
.bchf-footer .bchf-logo { color: var(--bchf-light); margin-bottom: 18px; }
.bchf-footer .bchf-logo__tag { color: #a89e90; }
.bchf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.bchf-footer__brand p { margin: 0 0 20px; max-width: 340px; }
.bchf-footer__h { font-family: var(--bchf-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bchf-light); margin: 0 0 20px; }
.bchf-footer__phone { margin: 14px 0 0; font-weight: 600; }
.bchf-footer__bottom { border-top: 1px solid rgba(247, 243, 236, .1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
@media (max-width: 960px) { .bchf-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bchf-footer__grid { grid-template-columns: 1fr; gap: 36px; } .bchf-footer { padding-top: 60px; } }

.bchf-footer-menu { list-style: none; margin: 0; padding: 0; }
.bchf-footer-menu li { margin: 0 0 10px; }
.bchf-footer-menu a { text-decoration: none; }

.bchf-socials { display: flex; gap: 10px; }
.bchf-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 243, 236, .22); display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.bchf-socials a:hover { border-color: var(--bchf-accent); }
.bchf-socials .bchf-icon { width: 16px; height: 16px; }

.bchf-branches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bchf-branches li { display: flex; gap: 12px; align-items: flex-start; }
.bchf-branches .bchf-icon { width: 18px; height: 18px; color: var(--bchf-accent); margin-top: 3px; }
.bchf-branches strong { display: block; font-weight: 600; }
.bchf-branches span { display: block; }
.bchf-branches__map { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.bchf-branches--inline { flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }

.bchf-copyright { margin: 0; }

/* Contact info widget */
.bchf-info { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px 24px; flex-wrap: wrap; }
.bchf-info--stack { flex-direction: column; }
.bchf-info li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bchf-info a { color: inherit; text-decoration: none; }
.bchf-info a:hover { color: var(--bchf-accent); }
.bchf-info .bchf-icon { width: 15px; height: 15px; color: var(--bchf-accent); }

/* ---------- Floating buttons & mobile call bar ---------- */
.bchf-float { position: fixed; right: 22px; bottom: 22px; z-index: 980; display: flex; flex-direction: column; gap: 12px; }
.bchf-float a { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .2s; }
.bchf-float a:hover { transform: translateY(-3px); color: #fff; }
.bchf-float .bchf-icon { width: 25px; height: 25px; }
.bchf-float__call { background: var(--bchf-dark); }
.bchf-float__wa { background: #25d366; }
.bchf-float__viber { background: #7360f2; }
.bchf-callbar { display: none; }
@media (max-width: 767px) {
	.bchf-float { display: none; }
	.bchf-callbar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
		background: var(--bchf-dark); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom, 0px); font-family: var(--bchf-sans);
	}
	.bchf-callbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; color: var(--bchf-light); text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-right: 1px solid rgba(247, 243, 236, .08); }
	.bchf-callbar a:last-child { border-right: 0; }
	.bchf-callbar a.is-primary { background: var(--bchf-accent); }
	.bchf-callbar .bchf-icon { width: 20px; height: 20px; }
	body.bchf-has-callbar { padding-bottom: 62px; }
}

/* ---------- Editor canvas ---------- */
.bchf-canvas { background: #e9e6e1; margin: 0; }
.bchf-canvas__note { text-align: center; padding: 40px 20px; color: #8a8178; font: 13px/1.5 var(--bchf-sans); border: 2px dashed rgba(0, 0, 0, .12); margin: 24px; }
.bchf-canvas--footer .bchf-canvas__wrap { display: flex; flex-direction: column-reverse; }

@media (prefers-reduced-motion: reduce) { .bchf-header *, .bchf-nav__panel { transition: none !important; } }
