/* Utility bar, header, footer, mobile call bar. */
.topbar { background: var(--ink); color: var(--on-dark); font-size: .875rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 42px; }
.topbar-contact { display: flex; gap: 12px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.topbar-link:hover { color: var(--gold); }
.topbar-link .icon { width: 15px; height: 15px; }
.topbar-call { font-weight: 700; color: var(--white); }
.topbar-location { display: none; }
.topbar-social { display: flex; gap: 2px; }
.topbar-social a { display: grid; place-items: center; width: 30px; height: 42px; color: var(--on-dark); }
.topbar-social a:hover { color: var(--gold); }
.topbar-social .icon { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; }
@media (min-width: 783px) {
	.admin-bar .site-header { top: 32px; }
}
.brand { flex: none; margin-right: auto; }
.brand img { width: auto; height: 46px; }
.header-call { display: none; }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: 600 .95rem var(--font-body);
	cursor: pointer;
}

.primary-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 8px var(--gutter) 16px;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 30px rgba(23, 19, 46, .12);
}
.primary-nav.is-open { display: block; }
.nav-list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--paper-2); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-list a:hover { color: var(--red); }

/* Footer */
.site-footer { padding-top: clamp(48px, 7vw, 76px); background: var(--ink); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 44px; }
.footer-logo { display: inline-block; margin-bottom: 16px; padding: 12px; border-radius: var(--radius); background: var(--white); }
.footer-logo img { width: 128px; }
.footer-license { font-size: .875rem; }
.footer-title { margin-bottom: .9rem; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-list li { padding-block: 5px; }
.footer-address { margin-bottom: 10px; }
.footer-social { display: flex; gap: 6px; margin-top: 12px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ink-3); border-radius: 50%; }

.pay-band { display: grid; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--ink-3); border-radius: var(--radius); background: var(--ink-2); }
.pay-copy p { margin: 0; max-width: 62ch; }
.pay-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--on-dark); }
.pay-icons svg { display: block; }
.pay-glyph { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding-inline: 12px; border: 1px solid rgba(233, 230, 245, .35); border-radius: 7px; font-size: .875rem; font-weight: 600; }

.footer-base { display: grid; gap: 4px; padding-block: 24px; font-size: .84rem; }
.footer-base p { margin: 0; }

/* Mobile call bar */
.call-bar {
	position: fixed;
	inset: auto 0 0;
	z-index: 60;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	background: var(--white);
	box-shadow: 0 -6px 24px rgba(23, 19, 46, .18);
}
.call-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding-inline: 14px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.call-bar-main { background: var(--red); color: var(--white); font-size: 1.05rem; }
.call-bar-main:hover { background: var(--red-dark); color: var(--white); }
.call-bar-wa { background: #0b6e4f; color: var(--white); }
.call-bar-wa:hover { color: var(--white); }

@media (max-width: 899px) {
	:root { --callbar: 72px; }
}

@media (min-width: 640px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.call-bar { display: none; }
	.topbar-location { display: inline-flex; }
	.nav-toggle { display: none; }
	.primary-nav { display: block; position: static; padding: 0; border: 0; background: none; box-shadow: none; }
	.nav-list { display: flex; gap: 2px; }
	.nav-list a { padding: 10px 12px; border: 0; }
	.header-call { display: inline-flex; }
	.brand img { height: 50px; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
	.pay-band { grid-template-columns: 1fr auto; }
	.footer-base { grid-template-columns: auto 1fr; gap: 32px; }
	.footer-base p:last-child { text-align: right; }
}
