/*
Theme Name: Water Heater Singapore
Theme URI: https://waterheatersingapore.com.sg/
Description: Minimal, fast custom theme for Water Heater Singapore (K & T Electrical Trading). No page builder; renders legacy Flatsome [row] [col] [featured_box] [button] shortcodes.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Tested up to: 6.9
Text Domain: whs
*/

/* ---------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------ */
:root {
	--bg: #faf8f4;
	--surface: #ffffff;
	--tint: #f2eee7;
	--ink: #14202f;
	--navy: #0f1d2e;
	--navy-2: #182a40;
	--muted: #5f6774;
	--line: #e6e0d6;
	--accent: #b0703a;
	--accent-ink: #8c5426;
	--accent-soft: #f4e7da;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(15, 29, 46, .04), 0 12px 32px -12px rgba(15, 29, 46, .14);
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 112px);
	--header-h: 76px;
}

/* ---------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; color: var(--navy); margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.center { text-align: center; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

.eyebrow {
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-ink); margin: 0 0 14px;
}
.eyebrow--light { color: #e0b48c; }

/* ---------------------------------------------------------------------
 * Buttons & links
 * ------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	font: 500 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: var(--surface); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent-soft); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--block + .btn--block { margin-top: 10px; }
.whs-btn-wrap { display: inline-block; margin: 1.2em 10px .4em 0; }
.prose .btn--primary, .prose .btn--primary:hover { color: #fff; text-decoration: none; }

.whs-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--accent-ink); text-decoration: none; }
.whs-link::after { content: "→"; transition: transform .2s; }
a:hover .whs-link::after, .whs-link:hover::after { transform: translateX(4px); }
.whs-link--light { color: #e0b48c; }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header box. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(250, 248, 244, .88);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { margin-right: auto; flex: none; }
.logo, .site-nav .menu a, .btn { white-space: nowrap; }
/* Logo: shower-head mark + two-line wordmark */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); --logo-head: var(--accent); }
.logo:hover { color: var(--navy); }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.logo__place { margin-top: 5px; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--accent-ink); }
.logo--light, .site-footer a.logo--light, .site-footer a.logo--light:hover { color: #fff; --logo-head: #c98a52; }
.logo--light .logo__place { color: #e0b48c; }
.site-footer .logo { margin-bottom: 18px; }
.brand .custom-logo { max-height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu a { display: block; padding: 8px 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--accent-ink); }

.site-nav .sub-menu, .site-nav .children {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
	list-style: none; margin: 0; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.site-nav .sub-menu a, .site-nav .children a { padding: 10px 12px; font-weight: 400; }
.site-nav .sub-menu a:hover, .site-nav .children a:hover { background: var(--tint); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu,
.site-nav li:hover > .children, .site-nav li:focus-within > .children,
.site-nav li.is-open > .sub-menu, .site-nav li.is-open > .children { opacity: 1; visibility: visible; transform: none; }

.submenu-toggle { width: 22px; height: 22px; margin-left: -8px; border: 0; background: none; cursor: pointer; color: var(--muted); position: relative; }
.submenu-toggle::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.is-open > .submenu-toggle::before { transform: translateY(1px) rotate(225deg); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1320px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 16px var(--gutter) 120px; overflow-y: auto;
		background: var(--bg);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; padding: 16px 0; font-family: var(--font-display); font-size: 21px; }
	.submenu-toggle { width: 46px; height: 46px; margin: 0; }
	.site-nav .sub-menu, .site-nav .children {
		position: static; flex-basis: 100%; min-width: 0; padding: 0 0 12px 12px; display: none;
		border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none;
	}
	.site-nav li.is-open > .sub-menu, .site-nav li.is-open > .children { display: block; }
	.site-nav__call { min-height: 54px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .logo__name { font-size: 19px; } .logo__mark { width: 38px; height: 38px; } }

/* ---------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------ */
.hero { padding: clamp(32px, 6vw, 72px) 0 var(--section); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(40px, 6.2vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__text { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions--center { justify-content: center; margin-top: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts dt { font-family: var(--font-display); font-size: 24px; color: var(--navy); line-height: 1.2; }
.hero__facts dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.hero__media { margin: 0; position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; background: var(--accent-soft); border-radius: 28px; z-index: -1; }
.hero__media img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media { order: -1; max-width: 560px; }
	.hero__media img { aspect-ratio: 16 / 11; }
	.hero__media::before { inset: 12% -8px -10px 12%; }
}
@media (max-width: 520px) {
	.hero__facts { grid-template-columns: 1fr 1fr; gap: 20px; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------ */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title { font-size: clamp(30px, 4vw, 46px); font-weight: 400; margin: 0; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-card:hover { color: inherit; border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
/* Every card is the same height: fixed image box, 2-line title, 3-line summary. */
.product-card { height: 100%; }
.product-card__media { flex: none; height: 240px; padding: 24px; background: linear-gradient(180deg, #fff, var(--tint)); border-bottom: 1px solid var(--line); }
.product-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.product-card__brand { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.product-card__title { font-size: 22px; line-height: 1.2; margin-bottom: 10px; min-height: 2.4em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.product-card__text { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; min-height: 4.8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.product-card .whs-link { margin-top: auto; }
@media (max-width: 600px) { .product-card__media { height: 220px; } }
.product-card[hidden] { display: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter span { font-size: 12px; color: var(--muted); }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter.is-active span { color: #b9c3d0; }

/* Product detail pages */
.product-photo { margin: 0 0 32px; padding: 28px; background: linear-gradient(180deg, #fff, var(--tint)); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; }
.product-photo img { display: block; max-height: 460px; width: auto; object-fit: contain; mix-blend-mode: multiply; border-radius: 0; }
.prose .lead { font-size: 19px; line-height: 1.6; color: var(--navy); }
.prose .feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.prose .feature-list li { position: relative; padding-left: 28px; margin: 0; }
.prose .feature-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.prose .spec-table { display: table; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.prose .spec-table th { width: 46%; background: var(--tint); font-weight: 500; color: var(--navy); }
.prose .spec-table tr:last-child th, .prose .spec-table tr:last-child td { border-bottom: 0; }
.prose .small-print { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 32px 28px; }
.feature__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
	display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.panel:hover { color: var(--muted); box-shadow: var(--shadow); transform: translateY(-3px); }
.panel__title { font-size: clamp(24px, 2.6vw, 32px); }
.panel p:not(.eyebrow) { flex: 1; }
.panel--dark { background: var(--navy); border-color: var(--navy); color: #b9c3d0; }
.panel--dark:hover { color: #b9c3d0; }
.panel--dark .panel__title { color: #fff; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--navy); color: #c6cfdb; padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(176,112,58,.35), transparent 65%); pointer-events: none; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center; position: relative; z-index: 1; }
.cta-band__title { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 400; }
.cta-band__text { margin: 0; max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
 * Inner pages
 * ------------------------------------------------------------------ */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(34px, 5vw, 58px); font-weight: 400; letter-spacing: -.025em; max-width: 18em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 6vw, 72px) var(--section); align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-card__title { font-family: var(--font-display); font-size: 24px; color: var(--navy); margin: 0 0 4px; }
.aside-card .muted { font-size: 14px; margin-bottom: 20px; }
@media (max-width: 960px) {
	.page-layout { grid-template-columns: 1fr; }
	.page-aside { position: static; }
}

/* Prose: content from the editor */
.prose { max-width: 720px; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(21px, 2.2vw, 25px); margin-top: 1.6em; }
.prose h2 span, .prose h3 span { text-decoration: none !important; }
.prose h2 strong, .prose h3 strong, .prose h2 b, .prose h3 b { font-weight: inherit; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--radius-sm); }
.prose .aligncenter { display: block; margin: 2em auto; }
.prose .alignleft { float: left; margin: .3em 1.6em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.6em; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--tint); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 21px; color: var(--navy); }
.prose::after { content: ""; display: table; clear: both; }
.section--tint .prose { margin-inline: auto; }

/* Legacy Flatsome shortcodes */
.whs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 2em 0; }
.whs-grid > br, .whs-grid > p:empty { display: none; }
.whs-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.whs-card__media { padding: 20px; display: grid; place-items: center; background: linear-gradient(180deg, #fff, var(--tint)); aspect-ratio: 4/3; }
.whs-card__media img { max-height: 100%; width: auto; mix-blend-mode: multiply; border-radius: 0; margin: 0; }
.whs-card__body { padding: 18px 20px 20px; font-size: 15px; }
.prose .whs-card__title { font-size: 19px; margin: 0 0 8px; }
.whs-card__body p:empty { display: none; }
.whs-sitemap { columns: 2 240px; }

/* Lists of posts */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-list a { font-family: var(--font-display); font-size: 22px; text-decoration: none; color: var(--navy); }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------ */
.site-footer { background: #0b1623; color: #9aa6b5; font-size: 15px; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #d5dce5; text-decoration: none; }
.site-footer a:hover { color: #e0b48c; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__name { font-family: var(--font-display); font-size: 24px; color: #fff; margin-bottom: 12px; }
.site-footer__heading { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 10px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .muted { color: #7a8697; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.site-footer__base p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
		display: flex; gap: 8px; padding: 6px; border-radius: 999px;
		background: var(--navy); box-shadow: 0 10px 30px rgba(15,29,46,.35);
	}
	.mobile-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: #fff; font-weight: 500; text-decoration: none; }
	.mobile-bar a:first-child { background: var(--accent); }
	.site-footer { padding-bottom: 76px; }
	.nav-open .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
