/* ==========================================================
   Mbezi Garden Hotel: home page sections
   ========================================================== */
:root {
	--hp-ink: #1d170b;
	--hp-ink-2: #3a3222;
	--hp-muted: #6e6552;
	--hp-cream: #faf6ec;
	--hp-cream-2: #f3ecda;
	--hp-line: #e7dec7;
	--hp-gold: #d4af37;
	--hp-gold-d: #a8851f;
	--hp-dark: #0d0a06;
	--hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Older template styles force a font family and a 20px size on every
   element; inside the home page, children follow their parent instead. */
:where(.hp, .home header, .site header) * { font-family: inherit; font-size: inherit; }
body.home, body.site { font-family: 'Source Sans Pro', sans-serif; background: #fff; }
.hp { color: var(--hp-ink); font-size: 17px; font-family: 'Source Sans Pro', sans-serif; }

/* ---------- Loader ---------- */
.home #loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hp-dark);
	transition: opacity 0.6s ease, visibility 0.6s ease;
}
.home #loader svg { width: 120px; }
.home #loader.none { opacity: 0; visibility: hidden; }
.home.scroll-bar { overflow: hidden; }

/* ---------- Header (home) ---------- */
:is(.home, .site) header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(13, 10, 6, 0.86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(212, 175, 55, 0.18);
	font-family: 'Source Sans Pro', sans-serif;
	transition: background 0.4s, box-shadow 0.4s;
}
:is(.home, .site) header.is-scrolled { background: rgba(13, 10, 6, 0.95); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
:is(.home, .site) .header-container { max-width: 1240px; padding: 0 16px; font-size: 16px; }
:is(.home, .site) .header-nav-bar { height: 76px; }
:is(.home, .site) .brand-logo { color: #f7f1e3; font-size: 26px; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: 0; }
:is(.home, .site) .brand-logo span { font-style: italic; }
:is(.home, .site) .header-nav-list { padding: 0 16px; }
:is(.home, .site) .header-nav-link {
	position: relative;
	color: rgba(247, 241, 227, 0.82);
	font-size: 16px;
	letter-spacing: 0.04em;
	transition: color 0.3s;
}
:is(.home, .site) .header-nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: var(--hp-gold);
	transform: scaleX(0);
	transition: transform 0.35s var(--hp-ease);
}
:is(.home, .site) .header-nav-link:hover { color: #fff; }
:is(.home, .site) .header-nav-link:hover::after,
:is(.home, .site) .header-active::after { transform: scaleX(1); }
:is(.home, .site) .header-active { color: var(--hp-gold); }
:is(.home, .site) .header-btn-custom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 11px 24px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--hp-gold), #ecc95c);
	color: #1a1406;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	transition: transform 0.3s var(--hp-ease), box-shadow 0.3s;
}
:is(.home, .site) .header-btn-custom:hover { border: 0; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35); }
:is(.home, .site) header ul.show { background: rgba(13, 10, 6, 0.97); top: 0; margin-top: 0; }
:is(.home, .site) header ul.show .header-nav-link { font-size: 22px; }

/* ---------- Shared ---------- */
.hp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.hp-section { padding: 120px 0; }
.hp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--hp-gold-d);
}
.hp-eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.7; }
.hp-title {
	margin: 16px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600;
	font-size: clamp(32px, 4.4vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--hp-ink);
}
.hp-title em { font-style: italic; color: var(--hp-gold-d); }
.hp-text { margin: 20px 0 0; font-size: 18px; line-height: 1.7; color: var(--hp-muted); max-width: 560px; }

.hp-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.35s var(--hp-ease), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}
.hp-btn svg { width: 18px; height: 18px; }
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn-gold { background: linear-gradient(135deg, var(--hp-gold), #ecc95c); color: #1a1406; box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3); }
.hp-btn-dark { background: var(--hp-ink); color: #f7f1e3; }
.hp-btn-dark:hover { background: #000; }
.hp-btn-line { border-color: rgba(29, 23, 11, 0.25); color: var(--hp-ink); }
.hp-btn-line:hover { border-color: var(--hp-gold-d); color: var(--hp-gold-d); }
.hp-btn-light { border-color: rgba(247, 241, 227, 0.35); color: #f7f1e3; }
.hp-btn-light:hover { border-color: var(--hp-gold); color: var(--hp-gold); }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hp-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hp-ink);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-bottom: 1px solid var(--hp-gold);
	padding-bottom: 4px;
}
.hp-link span { transition: transform 0.35s var(--hp-ease); }
.hp-link:hover span { transform: translateX(5px); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--hp-ease), transform 1s var(--hp-ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Welcome ---------- */
.hp-about { background: var(--hp-cream); position: relative; overflow: hidden; }
.hp-about::before {
	content: "Karibu";
	position: absolute;
	right: -2%;
	top: 40px;
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: clamp(120px, 18vw, 260px);
	line-height: 1;
	color: rgba(212, 175, 55, 0.08);
	pointer-events: none;
}
.hp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.hp-about-media { position: relative; height: 620px; }
.hp-img { position: absolute; margin: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 30px 60px rgba(29, 23, 11, 0.2); background: var(--hp-cream-2); }
.hp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--hp-ease); }
.hp-img:hover img { transform: scale(1.06); }
.hp-img-a { left: 0; top: 0; width: 64%; height: 82%; }
.hp-img-b { right: 0; bottom: 0; width: 48%; height: 58%; border: 8px solid var(--hp-cream); }
.hp-frame { position: absolute; left: 6%; top: 6%; width: 64%; height: 82%; border: 1px solid var(--hp-gold); border-radius: 20px; transform: translate(-22px, -22px); pointer-events: none; }
.hp-seal {
	position: absolute;
	left: 52%;
	top: 8%;
	z-index: 2;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--hp-dark);
	color: #f7f1e3;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
	text-align: center;
}
.hp-seal strong { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 24px; color: var(--hp-gold); line-height: 1; }
.hp-seal span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; color: #c9bc9d; }
.hp-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(212, 175, 55, 0.5); animation: hp-spin 30s linear infinite; }
@keyframes hp-spin { to { transform: rotate(360deg); } }

.hp-quote {
	margin: 30px 0 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--hp-gold);
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 20px;
	line-height: 1.5;
	color: var(--hp-ink-2);
}
.hp-quote small { display: block; margin-top: 8px; font-family: 'Source Sans Pro', sans-serif; font-style: normal; font-size: 14px; color: var(--hp-muted); }

.hp-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 36px 0 36px; padding: 0; list-style: none; }
.hp-amenities li { display: flex; gap: 14px; align-items: flex-start; }
.hp-ico {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--hp-gold-d);
	box-shadow: 0 8px 20px rgba(29, 23, 11, 0.08);
}
.hp-ico svg { width: 22px; height: 22px; }
.hp-amenities strong { display: block; font-size: 16px; color: var(--hp-ink); }
.hp-amenities span { display: block; font-size: 14.5px; color: var(--hp-muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Spaces ---------- */
.hp-spaces { background: #fff; }
.hp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.hp-head .hp-text { margin-top: 14px; }
.hp-space-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hp-space {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 22px;
	overflow: hidden;
	text-decoration: none;
	color: #f7f1e3;
	min-height: 560px;
	isolation: isolate;
	box-shadow: 0 24px 50px rgba(29, 23, 11, 0.16);
	transition: transform 0.6s var(--hp-ease), box-shadow 0.6s;
}
.hp-space:nth-child(2) { margin-top: 48px; }
.hp-space img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--hp-ease); }
.hp-space::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 10, 6, 0.05) 30%, rgba(13, 10, 6, 0.92) 100%); transition: background 0.6s; }
.hp-space:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(29, 23, 11, 0.28); }
.hp-space:hover img { transform: scale(1.08); }
.hp-space-body { margin-top: auto; padding: 32px 30px; }
.hp-num { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 18px; color: var(--hp-gold); }
.hp-space h3 { margin: 8px 0 10px; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 30px; line-height: 1.15; }
.hp-space p { margin: 0; font-size: 16px; line-height: 1.6; color: #ddd2b9; }
.hp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.hp-tags li { padding: 6px 12px; border-radius: 999px; font-size: 13px; background: rgba(247, 241, 227, 0.12); border: 1px solid rgba(247, 241, 227, 0.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hp-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-gold); }
.hp-more span { transition: transform 0.35s var(--hp-ease); }
.hp-space:hover .hp-more span { transform: translateX(6px); }

/* ---------- Celebration steps ---------- */
.hp-plan { background: var(--hp-cream); }
.hp-plan-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center; }
.hp-steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: step; }
.hp-steps li {
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 20px;
	padding: 22px 0;
	border-top: 1px solid var(--hp-line);
}
.hp-steps li:last-child { border-bottom: 1px solid var(--hp-line); }
.hp-steps li::before {
	counter-increment: step;
	content: "0" counter(step);
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 34px;
	line-height: 1;
	color: var(--hp-gold-d);
}
.hp-steps strong { display: block; font-size: 19px; color: var(--hp-ink); }
.hp-steps span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--hp-muted); }

.hp-plan-media { position: relative; height: 660px; }
.hp-plan-media .hp-img-main { position: absolute; inset: 0 0 0 12%; margin: 0; border-radius: 200px 200px 22px 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(29, 23, 11, 0.22); }
.hp-plan-media .hp-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-plan-media .hp-img-small { position: absolute; left: 0; bottom: 48px; width: 42%; height: 46%; margin: 0; border-radius: 18px; overflow: hidden; border: 8px solid var(--hp-cream); box-shadow: 0 24px 50px rgba(29, 23, 11, 0.25); }
.hp-plan-media .hp-img-small img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-chip {
	position: absolute;
	right: 24px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	background: rgba(13, 10, 6, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #f7f1e3;
	font-size: 14px;
}
.hp-chip b { display: block; font-size: 16px; color: var(--hp-gold); }

/* ---------- Visit ---------- */
.hp-visit { background: #fff; }
.hp-visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: stretch; }
.hp-facts { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.hp-facts > div { padding: 18px 0; border-top: 1px solid var(--hp-line); }
.hp-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hp-gold-d); }
.hp-facts dd { margin: 6px 0 0; font-size: 17px; color: var(--hp-ink); line-height: 1.45; }
.hp-facts dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hp-line); }
.hp-facts dd a:hover { border-color: var(--hp-gold); }
.hp-map {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	min-height: 520px;
	box-shadow: 0 30px 60px rgba(29, 23, 11, 0.16);
	background: var(--hp-cream-2);
}
.hp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(1.02); }
.hp-map-card {
	position: absolute;
	left: 20px;
	bottom: 20px;
	right: 20px;
	max-width: 360px;
	padding: 20px 22px;
	border-radius: 18px;
	background: rgba(13, 10, 6, 0.86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #f7f1e3;
}
.hp-map-card strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; }
.hp-map-card span { display: block; margin-top: 4px; font-size: 14.5px; color: #c9bc9d; }
.hp-map-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--hp-gold); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* ---------- Final CTA ---------- */
.hp-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip;
	padding: 140px 0;
	text-align: center;
	color: #f7f1e3;
	background: var(--hp-dark);
}
.hp-cta-bg { position: absolute; inset: -30px; z-index: -2; background-size: cover; background-position: center; filter: blur(4px) brightness(0.55) saturate(1.1); transform: scale(1.05); }
.hp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 50% 50%, rgba(212, 175, 55, 0.18), transparent 70%), linear-gradient(180deg, rgba(13, 10, 6, 0.6), rgba(13, 10, 6, 0.85)); }
.hp-cta .hp-eyebrow { color: var(--hp-gold); }
.hp-cta .hp-title { color: #f7f1e3; font-size: clamp(36px, 5.6vw, 72px); max-width: 900px; margin-left: auto; margin-right: auto; }
.hp-cta .hp-title em { color: var(--hp-gold); }
.hp-cta .hp-text { color: #d6cab0; margin-left: auto; margin-right: auto; }
.hp-cta .hp-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hp-section { padding: 90px 0; }
	.hp-about-grid, .hp-plan-grid, .hp-visit-grid { grid-template-columns: 1fr; gap: 56px; }
	.hp-about-media { height: 520px; max-width: 640px; width: 100%; }
	.hp-plan-media { height: 560px; max-width: 640px; width: 100%; order: -1; }
	.hp-space-grid { grid-template-columns: 1fr 1fr; }
	.hp-space:nth-child(2) { margin-top: 0; }
	.hp-space:nth-child(3) { grid-column: 1 / -1; min-height: 420px; }
}
@media (max-width: 849px) {
	:is(.home, .site) .header-nav-bar { height: 64px; }
}
@media (max-width: 680px) {
	.hp { font-size: 16px; }
	.hp-section { padding: 72px 0; }
	.hp-text { font-size: 17px; }
	.hp-about-media { height: 420px; }
	.hp-seal { width: 96px; height: 96px; left: auto; right: 4%; top: 2%; }
	.hp-seal strong { font-size: 19px; }
	.hp-amenities { grid-template-columns: 1fr; }
	.hp-space-grid { grid-template-columns: 1fr; }
	.hp-space, .hp-space:nth-child(3) { min-height: 440px; }
	.hp-plan-media { height: 440px; }
	.hp-plan-media .hp-img-main { left: 8%; border-radius: 140px 140px 18px 18px; }
	.hp-steps li { grid-template-columns: 48px 1fr; gap: 14px; }
	.hp-steps li::before { font-size: 28px; }
	.hp-facts { grid-template-columns: 1fr; }
	.hp-map { min-height: 420px; }
	.hp-cta { padding: 96px 0; }
	.hp-btn { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.hp-seal::before { animation: none; }
	.hp-img img, .hp-space, .hp-space img { transition: none; }
}

/* The home page already ends with a full call-to-action banner */
.home .sf-cta { display: none; }

/* ==========================================================
   Mobile refinements (all pages load this file)
   ========================================================== */

/* Small home-page fix: keep amenity icons centred in their box */
.hp-amenities span:not(.hp-ico) { display: block; }
.hp-amenities .hp-ico { display: inline-flex; }

/* ---------- Mobile menu ---------- */
@keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-item { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 849px) {
	/* A blurred header would trap the fixed menu inside it, so use a solid one */
	:is(.home, .site) header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: rgba(13, 10, 6, 0.97);
	}
	:is(.home, .site) .header-hamburger-icon {
		position: relative;
		z-index: 12;
		width: 44px;
		height: 44px;
		align-items: center;
	}
	:is(.home, .site) header ul.show {
		position: fixed;
		inset: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		margin: 0;
		padding: 96px 24px 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		z-index: 9;
		background:
			radial-gradient(500px 400px at 80% 10%, rgba(212, 175, 55, 0.16), transparent 60%),
			radial-gradient(400px 300px at 0% 100%, rgba(212, 175, 55, 0.1), transparent 60%),
			#0d0a06;
		animation: mm-in 0.3s ease;
		overflow-y: auto;
	}
	:is(.home, .site) header ul.show li {
		margin: 0;
		padding: 0;
		opacity: 0;
		animation: mm-item 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	}
	:is(.home, .site) header ul.show li:nth-child(1) { animation-delay: 0.05s; }
	:is(.home, .site) header ul.show li:nth-child(2) { animation-delay: 0.1s; }
	:is(.home, .site) header ul.show li:nth-child(3) { animation-delay: 0.15s; }
	:is(.home, .site) header ul.show li:nth-child(4) { animation-delay: 0.2s; }
	:is(.home, .site) header ul.show li:nth-child(5) { animation-delay: 0.25s; }
	:is(.home, .site) header ul.show li:nth-child(6) { animation-delay: 0.3s; }
	:is(.home, .site) header ul.show .header-nav-link {
		display: block;
		padding: 10px 0;
		font-family: 'Playfair Display', Georgia, serif;
		font-size: 32px;
		color: #f7f1e3;
		letter-spacing: 0;
	}
	:is(.home, .site) header ul.show .header-active { color: var(--hp-gold); font-style: italic; }
	:is(.home, .site) header ul.show .header-nav-link::after { bottom: 4px; }
	:is(.home, .site) header ul.show .header-btn-custom { margin-top: 22px; padding: 15px 36px; font-size: 15px; }
	body:has(header ul.show) { overflow: hidden; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
	/* Hero key figures as a tidy row of three */
	.h-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.h-proof-item { flex-direction: column; align-items: flex-start; gap: 6px; }
	.h-proof-label { font-size: 12.5px; }
	.h-proof-label br { display: none; }
	.h-stars { display: block; }

	/* Space cards: stronger shade so text reads on bright photos */
	.hp-space::before { background: linear-gradient(180deg, rgba(13, 10, 6, 0.1) 15%, rgba(13, 10, 6, 0.96) 78%); }
	.hp-space-body { padding: 26px 22px; }
	.hp-space h3 { font-size: 26px; }

	/* Map: card sits under the map instead of covering it */
	.hp-map { min-height: 0; display: flex; flex-direction: column; }
	.hp-map iframe { position: relative; inset: auto; height: 320px; }
	.hp-map-card { position: static; max-width: none; border-radius: 0; background: var(--hp-dark); }

	/* Contact page: contact cards two by two */
	.cp-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cp-card { padding: 20px 16px; border-radius: 12px; }
	.cp-card h2 { font-size: 17px; margin: 10px 0 6px; }
	.cp-card p, .cp-card li { font-size: 15px; }
	.cp-icon { width: 40px; height: 40px; font-size: 18px; }

	/* Footer: shorter menu */
	.sf-col nav ul, nav.sf-col ul { columns: 2; column-gap: 24px; }
}

@media (max-width: 480px) {
	.h-badge-b { display: none; }
	.h-badge-a { left: 0; bottom: 6%; }
	.hp-seal span { font-size: 9px; letter-spacing: 0.1em; }
	.hp-head { margin-bottom: 36px; }
	.cp-card a { word-break: break-word; }
}
