/*
 * HYGIFORCE — site chrome and base styles.
 * Palette and type scale from the site's Elementor global settings.
 */

:root {
	--hf-gold: #d4af37;
	--hf-gold-light: #f3e2a4;
	--hf-gold-gradient: linear-gradient(90deg, #d4af37 0%, #e9cf7a 55%, #d4af37 100%);
	--hf-ink: #0b0b0b;
	--hf-black: #000;
	--hf-white: #fff;
	--hf-grey: #848484;

	--hf-font-display: "Playfair Display", Georgia, serif;
	--hf-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--hf-container: 1400px;
	--hf-gutter: clamp(16px, 4vw, 40px);
	--hf-header-h: 142px;
}

/* ------------------------------------------------------------------ base */
html {
	scroll-padding-top: calc(var(--hf-header-h) + 16px);
	/* On the root this clips the viewport itself (sticky still works), so
	 * Swiper's off-screen duplicate slides never widen the page. */
	overflow-x: hidden;
}
html.hf-no-scroll { overflow: hidden; }

body {
	margin: 0;
	/* Swiper duplicates and absolutely placed decorations run past the right
	 * edge; clip them (clip, unlike hidden, keeps the sticky header working). */
	overflow-x: clip;
	background: var(--hf-ink);
	color: var(--hf-ink);
	font-family: var(--hf-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hf-font-display);
	font-weight: 400;
	line-height: 1.15;
}

/* Hello Elementor's reset colours links pink; restore brand colours. */
a { color: var(--hf-gold); }
a:hover, a:focus { color: var(--hf-gold-light); }

:focus-visible { outline: 2px solid var(--hf-gold); outline-offset: 3px; }

img { max-width: 100%; height: auto; }

.hf-main { background: var(--hf-ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap;
}

body .hf-skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 12px 20px; border-radius: 100px;
	background: var(--hf-gold); color: var(--hf-black); font-weight: 600;
	text-decoration: none;
}
.hf-skip-link:focus, .hf-skip-link:hover { top: 16px; color: var(--hf-black); }

.hf-icon { display: block; width: 1em; height: 1em; }

.hf-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 28px; border-radius: 100px;
	background: var(--hf-gold-gradient); color: var(--hf-black);
	font-weight: 600; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hf-btn:hover, .hf-btn:focus { color: var(--hf-black); transform: translateY(-2px); box-shadow: 0 8px 24px rgb(212 175 55 / 35%); }

.hf-instagram-cta { text-align: center; margin: 32px 0; }

.hf-map iframe { display: block; border-radius: 20px; }

/* ---------------------------------------------------------------- header */
.hf-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--hf-black);
	color: var(--hf-white);
}
.admin-bar .hf-header { top: 32px; }

.hf-header__inner {
	display: flex; align-items: center; gap: 32px;
	max-width: var(--hf-container);
	min-height: var(--hf-header-h);
	margin: 0 auto;
	padding: 0 var(--hf-gutter);
	box-sizing: border-box;
}

.hf-logo { display: inline-flex; flex-shrink: 0; }
.hf-header__logo img { width: 100px; height: auto; }
.hf-logo__text { font-family: var(--hf-font-display); font-size: 28px; color: var(--hf-gold); }

.hf-header__panel {
	display: flex; align-items: center; gap: 40px;
	flex: 1; justify-content: space-between;
}

.hf-nav__list,
.hf-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }

.hf-nav__list { display: flex; align-items: center; gap: 8px 48px; justify-content: center; flex: 1; }

.hf-nav__list > li { position: relative; display: flex; align-items: center; gap: 6px; }

.hf-header .hf-nav__list a {
	color: var(--hf-white);
	font-size: 17px; font-weight: 400;
	text-transform: uppercase; letter-spacing: .01em;
	text-decoration: none;
	transition: color .2s ease;
}
.hf-header .hf-nav__list a:hover,
.hf-header .hf-nav__list a:focus,
.hf-header .hf-nav__list .current-menu-item > a { color: var(--hf-gold); }

.hf-submenu-toggle {
	display: inline-flex; padding: 4px; margin: 0;
	background: none; border: 0; color: inherit; cursor: pointer;
	font-size: 18px;
	transition: transform .2s ease;
}
.hf-submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.hf-nav__list .sub-menu {
	position: absolute; top: 100%; left: -24px; z-index: 10;
	min-width: 320px; padding: 16px 0;
	background: var(--hf-black);
	border-top: 2px solid var(--hf-gold);
	border-radius: 0 0 16px 16px;
	box-shadow: 0 16px 40px rgb(0 0 0 / 45%);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.hf-header .hf-nav__list .sub-menu a {
	display: block; padding: 10px 24px;
	font-size: 15px; text-transform: none;
}

@media (hover: hover) and (min-width: 1181px) {
	.hf-nav__list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.hf-nav__list > li.is-open > .sub-menu,
.hf-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.hf-header__actions { display: flex; align-items: center; gap: 20px; }

.hf-header .hf-urgent {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 10px 10px 22px; border-radius: 100px;
	background: var(--hf-gold-gradient);
	color: var(--hf-black); font-size: 16px; font-weight: 500;
	text-decoration: none; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease;
}
.hf-header .hf-urgent:hover, .hf-header .hf-urgent:focus { color: var(--hf-black); transform: translateY(-2px); box-shadow: 0 8px 24px rgb(212 175 55 / 35%); }
.hf-urgent__icon {
	display: grid; place-items: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--hf-white); font-size: 18px;
}

.hf-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hf-header .hf-social a {
	display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--hf-gold); color: var(--hf-white);
	font-size: 20px;
	transition: background .2s ease, transform .2s ease;
}
.hf-header .hf-social a:hover, .hf-header .hf-social a:focus { background: var(--hf-gold-light); color: var(--hf-black); transform: translateY(-2px); }

.hf-burger {
	display: none; margin-left: auto; padding: 8px;
	background: none; border: 0; color: var(--hf-white);
	font-size: 32px; cursor: pointer;
}
.hf-burger .hf-icon--close,
.hf-header.is-open .hf-burger .hf-icon--menu { display: none; }
.hf-header.is-open .hf-burger .hf-icon--close { display: block; }

@media (max-width: 1380px) {
	.hf-nav__list { gap: 8px 28px; }
	.hf-header .hf-nav__list a { font-size: 15px; }
	.hf-header .hf-social a { width: 40px; height: 40px; font-size: 17px; }
}

@media (max-width: 1180px) {
	:root { --hf-header-h: 96px; }
	.hf-header__logo img { width: 72px; }
	.hf-burger { display: block; }

	.hf-header__panel {
		position: fixed; inset: var(--hf-header-h) 0 0 0;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
		padding: 24px var(--hf-gutter) 48px;
		background: var(--hf-black);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.admin-bar .hf-header__panel { inset: calc(var(--hf-header-h) + 46px) 0 0 0; }
	.hf-header.is-open .hf-header__panel { opacity: 1; visibility: visible; transform: none; }

	.hf-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.hf-nav__list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 12%); }
	.hf-header .hf-nav__list > li > a { padding: 16px 0; font-size: 18px; }
	.hf-nav__list .sub-menu {
		position: static; flex-basis: 100%;
		min-width: 0; padding: 0 0 12px;
		border: 0; box-shadow: none; border-radius: 0;
		opacity: 1; visibility: visible; transform: none;
		display: none;
	}
	.hf-nav__list > li.is-open > .sub-menu { display: block; }
	.hf-header .hf-nav__list .sub-menu a { padding: 10px 16px; }

	.hf-header__actions { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- footer */
.hf-footer { background: var(--hf-black); color: var(--hf-white); }

.hf-footer__inner {
	display: flex; flex-direction: column; align-items: center; gap: 40px;
	max-width: 1000px; margin: 0 auto;
	padding: 72px var(--hf-gutter) 56px;
	text-align: center;
}

.hf-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.hf-footer__menu li + li { border-left: 2px solid var(--hf-gold); }
.hf-footer .hf-footer__menu a {
	display: block; padding: 0 24px;
	color: var(--hf-white); font-size: 18px; text-transform: uppercase; text-decoration: none;
}
.hf-footer .hf-footer__menu a:hover, .hf-footer .hf-footer__menu a:focus { color: var(--hf-gold); }

.hf-footer__logo img { width: 140px; height: auto; }

.hf-footer__tagline { margin: 0; font-size: 18px; line-height: 1.6; }

.hf-footer__contact {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px;
	list-style: none; margin: 0; padding: 0;
	text-align: left; font-size: 17px; line-height: 1.45;
}
.hf-footer__contact li { display: flex; align-items: center; gap: 16px; }
.hf-footer .hf-footer__contact a { color: var(--hf-white); text-decoration: none; }
.hf-footer .hf-footer__contact a:hover, .hf-footer .hf-footer__contact a:focus { color: var(--hf-gold); }
.hf-footer__badge {
	display: grid; place-items: center; flex-shrink: 0;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--hf-gold); color: var(--hf-white); font-size: 16px;
}

.hf-footer__bar { background: var(--hf-gold-gradient); color: var(--hf-black); }
.hf-footer__bar-inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 0;
	max-width: var(--hf-container); margin: 0 auto;
	padding: 20px var(--hf-gutter);
	font-size: 15px;
}
.hf-footer .hf-footer__brand,
.hf-footer .hf-footer__legal a { color: var(--hf-black); text-decoration: none; padding: 0 20px; }
.hf-footer__brand { font-weight: 600; letter-spacing: .04em; }
.hf-footer__legal { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.hf-footer__legal li,
.hf-footer__copy { border-left: 2px solid var(--hf-black); }
.hf-footer__copy { padding: 0 20px; }
.hf-footer .hf-footer__brand:hover, .hf-footer .hf-footer__legal a:hover,
.hf-footer .hf-footer__brand:focus, .hf-footer .hf-footer__legal a:focus { text-decoration: underline; color: var(--hf-black); }

@media (max-width: 767px) {
	.hf-footer__menu li + li { border-left: 0; }
	.hf-footer .hf-footer__menu a { padding: 6px 16px; }
	.hf-footer__contact { flex-direction: column; align-items: flex-start; }
	.hf-footer__bar-inner { justify-content: center; text-align: center; }
	.hf-footer__legal li, .hf-footer__copy { border-left: 0; }
}

/* ------------------------------------------------------ floating call */
body .hf-float-call {
	position: fixed; left: 16px; bottom: 16px; z-index: 90;
	display: grid; place-items: center;
	width: 70px; height: 70px; border-radius: 50%;
	background: var(--hf-gold); color: var(--hf-white);
	font-size: 32px;
	box-shadow: 0 6px 20px rgb(0 0 0 / 30%);
}
body .hf-float-call:hover, body .hf-float-call:focus { color: var(--hf-white); }
.hf-float-call__ring {
	position: absolute; inset: -14px; border-radius: 50%;
	border: 2px solid var(--hf-gold);
	animation: hf-ring 2.4s ease-out infinite;
	pointer-events: none;
}
@keyframes hf-ring {
	0%   { transform: scale(.85); opacity: .9; }
	100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hf-float-call__ring { animation: none; opacity: .6; }
	* { scroll-behavior: auto !important; }
}

/* ------------------------------------------------- town pages (plrd-*) */
/*
 * plrd.css reads Elementor's global colours and falls back to red when they
 * are missing. Define them as the live kit does, then apply the heading
 * treatment the live site layers on top (measured: Playfair 400 at the
 * global type scale; h2 gold, h1/h3 ink; copy in the system stack).
 */
:root {
	--e-global-color-color_1: #d4af37;
	--e-global-color-color_2: #ffffff;
	--e-global-color-color_3: #0b0b0b;
	--e-global-color-primary: #d4af37;
	--e-global-color-secondary: #ffffff;
	--e-global-color-text: #000000;
	--e-global-color-accent: #d4af37;
}

.plrd-global-section {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #404040;
}

.plrd-global-section :is(h1, h2, h3, h4) {
	font-family: var(--hf-font-display);
	font-weight: 400 !important;
	line-height: 1.15;
}
.plrd-global-section h1 { font-size: clamp(32px, 4vw, 50px) !important; color: var(--hf-black) !important; }
.plrd-global-section h2 { font-size: clamp(28px, 3.4vw, 45px) !important; color: var(--hf-gold) !important; }
.plrd-global-section h3 { font-size: clamp(24px, 2.6vw, 35px) !important; color: var(--hf-black) !important; }
