/* =========================================================================
   Hilton Press — Joomla 5/6 template
   Lightweight, modern, subtle animation. Brand-driven CSS custom properties.
   Brand: blue #2c4382, orange #eea240, Arimo. Re-skin in Template Options.
   BUILD: hp 1.3.3
   ========================================================================= */

/* ---- Design tokens (overridable values injected inline from params) ----
   Everything brand-specific is derived from the five colour variables below,
   so re-skinning only needs the Template Options (or these defaults). */
:root {
	--hp-primary: #2c4382;
	--hp-accent: #eea240;
	--hp-bg: #ffffff;
	--hp-ink: #333333;
	--hp-dark: #2c4382;
	--hp-container: 1200px;
	--hp-slider-h: 560px;
	--hp-logo-h: 64px;
	--hp-logo-sticky-h: 46px;
	--hp-font-heading: "Arimo", "Helvetica Neue", Arial, system-ui, sans-serif;
	--hp-font-body: "Arimo", "Helvetica Neue", Arial, system-ui, sans-serif;

	/* Derived neutrals + brand-tinted helpers (all track the variables above) */
	--hp-bg-2: #f4f5f7;
	--hp-card: #ffffff;
	--hp-muted: #5b6573;
	--hp-line: rgba(17, 24, 39, 0.12);
	--hp-shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.07);
	--hp-shadow-md: 0 10px 30px rgba(17, 24, 39, 0.10);
	--hp-shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.16);
	--hp-radius: 4px;
	--hp-radius-sm: 3px;
	--hp-radius-pill: 999px;
	--hp-header-h: 84px;
	--hp-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--hp-transition: 0.35s var(--hp-ease);

	/* Hover shade + translucent tints derived from the primary, so buttons,
	   focus rings and shadows always match whatever brand colour is set. */
	--hp-primary-dark: color-mix(in srgb, var(--hp-primary) 82%, #000);
	--hp-primary-soft: color-mix(in srgb, var(--hp-primary) 28%, transparent);
	--hp-primary-ring: color-mix(in srgb, var(--hp-primary) 14%, transparent);
	/* Light heading tint for use on the dark footer surface */
	--hp-on-dark-muted: color-mix(in srgb, var(--hp-dark) 30%, #c9d2de);

	/* Hilton Press brand accents */
	--hp-red: #e11936;                /* CDR / call-to-action button */
	--hp-red-dark: #b3122b;
	/* Translucent menu boxes — track the primary so re-skinning still works */
	--hp-menu-box: color-mix(in srgb, var(--hp-primary) 52%, transparent);
	--hp-menu-box-hover: color-mix(in srgb, var(--hp-primary) 84%, transparent);
	--hp-band-box: rgba(14, 21, 42, 0.5);    /* sustainability overlay box */
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--hp-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--hp-ink);
	background: var(--hp-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--hp-primary); text-decoration: none; transition: color var(--hp-transition); }
a:hover { color: var(--hp-primary-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hp-font-heading);
	color: var(--hp-ink);
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 600;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

/* --------------------------- Utilities --------------------------------- */
.hp-container {
	width: 100%;
	max-width: var(--hp-container);
	margin-inline: auto;
	padding-inline: 24px;
}

.hp-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--hp-primary);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 var(--hp-radius-sm) 0;
}
.hp-skip-link:focus { left: 0; color: #fff; }

/* --------------------------- Buttons ----------------------------------- */
.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.97rem;
	line-height: 1;
	padding: 0.85em 1.7em;
	border-radius: var(--hp-radius);
	border: 2px solid transparent;
	cursor: pointer;
	letter-spacing: 0.01em;
	transition: transform var(--hp-transition), box-shadow var(--hp-transition), background var(--hp-transition), color var(--hp-transition);
	white-space: nowrap;
}
.hp-btn--accent { background: var(--hp-accent); color: #fff; box-shadow: 0 6px 18px var(--hp-primary-soft); }
.hp-btn--accent:hover { background: var(--hp-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px var(--hp-primary-soft); }
.hp-btn--red { background: var(--hp-red); color: #fff; text-transform: uppercase; letter-spacing: 0.03em; border-radius: 0; }
.hp-btn--red:hover { background: var(--hp-red-dark); color: #fff; transform: translateY(-2px); }
.hp-btn--primary { background: var(--hp-primary); color: #fff; box-shadow: 0 6px 18px var(--hp-primary-soft); }
.hp-btn--primary:hover { background: var(--hp-primary-dark); color: #fff; transform: translateY(-2px); }
.hp-btn--outline { background: transparent; color: var(--hp-ink); border-color: var(--hp-line); }
.hp-btn--outline:hover { border-color: var(--hp-primary); color: var(--hp-primary); transform: translateY(-2px); }

/* --------------------------- Top bar ----------------------------------- */
.hp-topbar {
	background: var(--hp-dark);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.86rem;
}
.hp-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 34px;
	padding-block: 3px;
	flex-wrap: wrap;
}
.hp-topbar__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hp-topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.85); }
.hp-topbar__item:hover { color: #fff; }
.hp-topbar__item svg { width: 15px; height: 15px; fill: var(--hp-primary); flex: 0 0 auto; }
.hp-topbar__actions { display: inline-flex; align-items: center; gap: 20px; }
.hp-topbar__login {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hp-topbar__login svg { width: 14px; height: 14px; fill: var(--hp-primary); flex: 0 0 auto; transition: fill var(--hp-transition); }
.hp-topbar__login:hover { color: #fff; }
.hp-topbar__login:hover svg { fill: #fff; }

/* Account position — a Menu or Login module (Login / Logout / Account links) */
.hp-topbar__account { display: inline-flex; align-items: center; }
.hp-topbar__account ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.hp-topbar__account li { display: inline-flex; align-items: center; }
.hp-topbar__account li + li { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.hp-topbar__account a,
.hp-topbar__account button,
.hp-topbar__account .btn {
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 2px 14px;
	line-height: 1.4;
}
.hp-topbar__account li:first-child a { padding-left: 0; }
.hp-topbar__account a:hover,
.hp-topbar__account button:hover,
.hp-topbar__account li.current > a,
.hp-topbar__account li.active > a { color: var(--hp-primary); }
.hp-topbar__account button, .hp-topbar__account .btn { background: none; border: 0; cursor: pointer; }
.hp-topbar__account form { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.hp-topbar__account .login-greeting,
.hp-topbar__account .logout-greeting { color: rgba(255, 255, 255, 0.85); font-weight: 500; letter-spacing: 0; text-transform: none; }

.hp-topbar__social { display: inline-flex; gap: 6px; }
.hp-topbar__social a { display: inline-flex; padding: 6px; border-radius: 50%; transition: background var(--hp-transition); }
.hp-topbar__social a svg { width: 15px; height: 15px; fill: rgba(255, 255, 255, 0.85); transition: fill var(--hp-transition); }
.hp-topbar__social a:hover { background: rgba(255, 255, 255, 0.12); }
.hp-topbar__social a:hover svg { fill: #fff; }

/* ============ Header — scenic background slider + overlaid nav ============ */
.hp-header {
	position: relative;
	background: var(--hp-primary);   /* fallback behind the slider */
	z-index: 100;
	overflow: hidden;
}
.hp-header.has-slider { min-height: var(--hp-slider-h, 560px); }

/* Background slider — horizontal sliding track (JS translates the track) */
.hp-header__slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hp-header__track {
	display: flex;
	height: 100%;
	width: 100%;
	will-change: transform;
	/* transition duration is set inline by JS from the "slide speed" option */
}
.hp-header__slide {
	flex: 0 0 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Overlay content */
.hp-header__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: inherit;
	padding-block: 26px 30px;
}
.hp-header__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }

.hp-logo { display: inline-flex; align-items: flex-start; }
/* Logo height follows the Branding "Logo max height" option (--hp-logo-h) */
.hp-logo__img { max-height: var(--hp-logo-h); width: auto; max-width: 70vw; box-shadow: var(--hp-shadow-sm); }

/* Top-right utility column: top menu + CDR button */
.hp-header__util { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* Top menu (Home / Contact Us) — boxed items, active = orange */
.hp-topmenu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hp-topmenu li { position: relative; }
.hp-topmenu li > a,
.hp-topmenu li > span {
	display: block;
	padding: 13px 22px;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: var(--hp-menu-box);
	transition: background var(--hp-transition);
}
.hp-topmenu li > a:hover { background: var(--hp-menu-box-hover); color: #fff; }
.hp-topmenu li.current > a,
.hp-topmenu li.active > a { background: var(--hp-accent); color: #fff; }

/* CDR / call-to-action button (red) — sits a little below the top menu */
.hp-cta {
	display: inline-block;
	margin-top: 16px;
	padding: 13px 22px;
	background: var(--hp-red);
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background var(--hp-transition);
}
.hp-cta:hover { background: var(--hp-red-dark); color: #fff; }

/* Main menu — translucent blue boxes with an orange left accent */
.hp-mainnav { align-self: stretch; }
.hp-mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.hp-mainnav ul ul { display: none; }
.hp-mainnav > ul > li { position: relative; }
.hp-mainnav > ul > li > a,
.hp-mainnav > ul > li > span {
	display: block;
	padding: 14px 20px;
	border-left: 3px solid var(--hp-accent);
	background: var(--hp-menu-box-hover);
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: background var(--hp-transition), color var(--hp-transition);
}
.hp-mainnav > ul > li > a:hover { background: var(--hp-menu-box); color: #fff; }
.hp-mainnav > ul > li.current > a,
.hp-mainnav > ul > li.active > a { background: var(--hp-menu-box-hover); color: var(--hp-accent); }

/* Main-menu dropdowns */
.hp-mainnav li.parent > a { padding-right: 34px; }
.hp-mainnav li.parent > a::after {
	content: "";
	position: absolute;
	right: 16px; top: 50%;
	width: 6px; height: 6px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-70%) rotate(45deg);
	opacity: 0.85;
}
.hp-mainnav > ul > li.parent:hover > ul,
.hp-mainnav > ul > li.parent:focus-within > ul {
	display: block;
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: var(--hp-primary);
	box-shadow: var(--hp-shadow-md);
	padding: 6px;
	z-index: 50;
}
.hp-mainnav ul ul li a {
	display: block;
	padding: 11px 14px;
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 500;
	font-size: 0.9rem;
}
.hp-mainnav ul ul li a:hover { background: var(--hp-menu-box-hover); }

@keyframes hpFadeUp {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* --------------------------- Mobile nav -------------------------------- */
.hp-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px; height: 46px;
	background: var(--hp-menu-box);
	border: 0;
	cursor: pointer;
	padding: 12px;
}
.hp-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	transition: transform var(--hp-transition), opacity var(--hp-transition);
}
.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle__bar:nth-child(2) { opacity: 0; }
.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hp-mobile-nav {
	display: none;
	background: var(--hp-primary);
	padding: 12px 24px 22px;
}
.hp-mobile-nav.is-open { display: block; animation: hpFadeUp 0.3s var(--hp-ease); }
.hp-mobile-nav nav + nav { margin-top: 4px; }
.hp-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.hp-mobile-nav ul a,
.hp-mobile-nav ul span {
	display: block;
	padding: 13px 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
}
.hp-mobile-nav ul a:hover,
.hp-mobile-nav ul li.active > a { color: var(--hp-accent); }
.hp-mobile-nav ul ul a { padding-left: 22px; font-weight: 400; text-transform: none; }
.hp-mobile-nav__cta { margin-top: 16px; width: 100%; text-align: center; }

/* --------------------- Sticky menu bar (on scroll) --------------------- */
.hp-stickybar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 200;
	background: #fff;
	box-shadow: 0 3px 14px rgba(17, 24, 39, 0.12);
	transform: translateY(-100%);
	transition: transform 0.35s var(--hp-ease);
}
.hp-stickybar.is-visible { transform: translateY(0); }
.hp-stickybar__inner { display: flex; align-items: center; gap: 24px; min-height: 62px; padding-block: 6px; }
.hp-stickybar__logo { display: inline-flex; flex: 0 0 auto; }
.hp-stickybar__logo img { max-height: 44px; width: auto; display: block; }

/* Menu as compact links, pushed to the right */
.hp-stickybar__nav { margin-left: auto; }
.hp-stickybar__nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hp-stickybar__nav ul ul { display: none; }
.hp-stickybar__nav > ul > li { position: relative; }
.hp-stickybar__nav > ul > li > a,
.hp-stickybar__nav > ul > li > span {
	display: block;
	padding: 10px 13px;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--hp-primary);
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.hp-stickybar__nav > ul > li > a:hover,
.hp-stickybar__nav > ul > li.current > a,
.hp-stickybar__nav > ul > li.active > a { color: var(--hp-accent); border-bottom-color: var(--hp-accent); }

/* Sticky-nav dropdowns */
.hp-stickybar__nav li.parent > a { padding-right: 24px; }
.hp-stickybar__nav li.parent > a::after {
	content: ""; position: absolute; right: 9px; top: 50%;
	width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg); opacity: 0.7;
}
.hp-stickybar__nav > ul > li.parent:hover > ul,
.hp-stickybar__nav > ul > li.parent:focus-within > ul {
	display: block; position: absolute; top: 100%; left: 0;
	min-width: 210px; background: #fff; box-shadow: var(--hp-shadow-md); padding: 6px; z-index: 5;
}
.hp-stickybar__nav ul ul li a { display: block; padding: 10px 12px; color: var(--hp-ink); font-family: var(--hp-font-heading); font-weight: 500; font-size: 0.88rem; }
.hp-stickybar__nav ul ul li a:hover { background: var(--hp-bg-2); color: var(--hp-primary); }

/* toggle: dark bars on white, only shown on mobile */
.hp-stickybar__toggle { display: none; background: transparent; flex: 0 0 auto; margin-left: 14px; }
.hp-stickybar__toggle .hp-nav-toggle__bar { background: var(--hp-primary); }

@media (max-width: 991px) {
	.hp-stickybar__nav { display: none; }
	.hp-stickybar__toggle { display: flex; margin-left: auto; }
}

/* --------------------------- Hero -------------------------------------- */
.hp-hero {
	position: relative;
	display: flex;
	align-items: center;
	background-color: var(--hp-ink);
	overflow: hidden;
}
.hp-hero--standard { min-height: 560px; }
.hp-hero--tall { min-height: 680px; }
.hp-hero--full { min-height: calc(100vh - var(--hp-header-h)); }

/* Dedicated background layer (so parallax can transform it independently) */
.hp-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: var(--hp-ink);
	background-image: var(--hp-hero-img);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* Extra vertical room only when JS parallax is actually running */
.hp-hero.parallax-active .hp-hero__bg {
	top: -20%;
	bottom: -20%;
	will-change: transform;
}

.hp-hero__overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hp-hero.text-light .hp-hero__overlay {
	background: linear-gradient(90deg, rgba(20,18,16,1) 0%, rgba(20,18,16,.6) 55%, rgba(20,18,16,0) 100%);
}
.hp-hero.text-dark .hp-hero__overlay {
	background: linear-gradient(90deg, rgba(246,243,237,1) 0%, rgba(246,243,237,.6) 55%, rgba(246,243,237,0) 100%);
}
.hp-hero.align-center.text-light .hp-hero__overlay { background: rgba(20,18,16,1); }
.hp-hero.align-center.text-dark .hp-hero__overlay { background: rgba(246,243,237,1); }

.hp-hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 64px; }
.hp-hero__content { max-width: 640px; }
.hp-hero.align-center .hp-hero__content { max-width: 760px; margin-inline: auto; text-align: center; }

.hp-hero.text-light, .hp-hero.text-light .hp-hero__title { color: #fff; }
.hp-hero.text-dark, .hp-hero.text-dark .hp-hero__title { color: var(--hp-ink); }

.hp-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	font-weight: 600;
	font-family: var(--hp-font-heading);
	color: var(--hp-accent);
	margin: 0 0 16px;
}
.hp-hero.text-dark .hp-hero__eyebrow { color: var(--hp-primary); }

.hp-hero__title { font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.08; margin: 0 0 0.45em; }
.hp-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.27rem); line-height: 1.55; max-width: 54ch; margin: 0 0 1.7em; opacity: 0.96; }
.hp-hero.align-center .hp-hero__sub { margin-inline: auto; }

.hp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-hero.align-center .hp-hero__actions { justify-content: center; }

/* Outline button styled for use on the hero photo */
.hp-btn--on-hero { background: transparent; border-color: rgba(255,255,255,0.65); color: #fff; }
.hp-btn--on-hero:hover { background: #fff; border-color: #fff; color: var(--hp-ink); transform: translateY(-2px); }
.hp-hero.text-dark .hp-btn--on-hero { border-color: var(--hp-line); color: var(--hp-ink); }
.hp-hero.text-dark .hp-btn--on-hero:hover { background: var(--hp-primary); border-color: var(--hp-primary); color: #fff; }

/* Hero entrance animation (above the fold, runs on load) */
.anim-on .hp-hero__eyebrow,
.anim-on .hp-hero__title,
.anim-on .hp-hero__sub,
.anim-on .hp-hero__actions {
	opacity: 0;
	transform: translateY(22px);
	animation: hpHeroIn 0.8s var(--hp-ease) forwards;
}
.anim-on .hp-hero__title { animation-delay: 0.08s; }
.anim-on .hp-hero__sub { animation-delay: 0.16s; }
.anim-on .hp-hero__actions { animation-delay: 0.24s; }
@keyframes hpHeroIn { to { opacity: 1; transform: none; } }

/* --------------------------- Hero login (gated home) ------------------- */
.hp-hero__layout { width: 100%; }
.hp-hero.has-login .hp-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px);
	gap: 56px;
	align-items: center;
}
/* With the login card present, keep the message column left-aligned */
.hp-hero.has-login .hp-hero__content { max-width: 620px; margin: 0; text-align: left; }

.hp-hero__login { width: 100%; }
.hp-hero__login-card {
	background: rgba(255, 255, 255, 0.97);
	border-radius: var(--hp-radius);
	box-shadow: var(--hp-shadow-lg);
	border-top: 4px solid var(--hp-primary);
	padding: 34px 32px 30px;
	color: var(--hp-ink);
}
.hp-hero__login-title {
	font-family: var(--hp-font-heading);
	font-size: 1.4rem;
	color: var(--hp-dark);
	margin: 0 0 4px;
}
.hp-hero__login-intro { color: var(--hp-muted); font-size: 0.93rem; margin: 0 0 22px; }

/* Style Joomla's mod_login markup inside the card */
.hp-hero__login-card form { margin: 0; }
.hp-hero__login-card fieldset { border: 0; margin: 0; padding: 0; }
.hp-hero__login-card label { display: block; font-weight: 600; font-size: 0.82rem; color: var(--hp-dark); margin: 0 0 6px; }
.hp-hero__login-card .control-group,
.hp-hero__login-card .mod-login__userdata > div,
.hp-hero__login-card p { margin: 0 0 16px; }
.hp-hero__login-card input[type="text"],
.hp-hero__login-card input[type="password"],
.hp-hero__login-card input[type="email"],
.hp-hero__login-card .form-control {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius);
	background: #fff;
	font-family: var(--hp-font-body);
	font-size: 0.98rem;
	color: var(--hp-ink);
	transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
}
.hp-hero__login-card input:focus {
	outline: none;
	border-color: var(--hp-primary);
	box-shadow: 0 0 0 3px var(--hp-primary-ring);
}
.hp-hero__login-card .control-group.checkbox,
.hp-hero__login-card .form-check { display: flex; align-items: center; gap: 8px; }
.hp-hero__login-card .form-check label,
.hp-hero__login-card label.checkbox { margin: 0; font-weight: 400; font-size: 0.88rem; color: var(--hp-muted); }
.hp-hero__login-card input[type="checkbox"] { width: auto; accent-color: var(--hp-primary); }
/* Submit ("Log in") — the only solid red, full-width button. Keyed off
   type, not Bootstrap classes, which this install assigns unpredictably. */
.hp-hero__login-card .mod-login__submit button,
.hp-hero__login-card button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%;
	margin-top: 10px;
	padding: 12px 18px;
	border: 2px solid var(--hp-primary) !important;
	border-radius: var(--hp-radius);
	background: var(--hp-primary) !important;
	color: #fff !important;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.98rem;
	box-shadow: none !important;
	cursor: pointer;
	transition: background var(--hp-transition), border-color var(--hp-transition), transform var(--hp-transition);
}
.hp-hero__login-card .mod-login__submit button:hover,
.hp-hero__login-card button[type="submit"]:hover { background: var(--hp-primary-dark) !important; border-color: var(--hp-primary-dark) !important; transform: translateY(-1px); }

/* Other login buttons (passkey, social) — outline, never solid */
.hp-hero__login-card button[type="button"]:not(.input-password-toggle) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%;
	margin-top: 10px;
	padding: 10px 16px;
	border: 2px solid var(--hp-primary) !important;
	border-radius: var(--hp-radius);
	background: transparent !important;
	color: var(--hp-primary) !important;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.94rem;
	line-height: 1.2;
	box-shadow: none !important;
	cursor: pointer;
	transition: background var(--hp-transition), color var(--hp-transition);
}
.hp-hero__login-card button[type="button"]:not(.input-password-toggle):hover {
	background: var(--hp-primary) !important;
	color: #fff !important;
}
/* Keep icons inside login buttons small and on-colour */
.hp-hero__login-card button img,
.hp-hero__login-card button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hp-hero__login-card button[type="button"]:not(.input-password-toggle) svg { fill: currentColor; stroke: currentColor; }
.hp-hero__login-card button[type="button"]:not(.input-password-toggle) [class*="icon-"] { font-size: 18px; }

/* Password reveal → compact, centred eye. Transparent, never red — even on hover.
   Applies in the hero login card and on the com_users profile/login pages. */
.hp-hero__login-card .input-password-toggle,
.users .input-password-toggle {
	width: 42px; min-width: 42px; height: 42px; padding: 0; margin: 0; flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
	font-size: 0; line-height: 0; cursor: pointer;
}
.hp-hero__login-card .input-password-toggle:hover,
.hp-hero__login-card .input-password-toggle:focus,
.hp-hero__login-card .input-password-toggle:active,
.users .input-password-toggle:hover,
.users .input-password-toggle:focus,
.users .input-password-toggle:active { background: transparent !important; }
.hp-hero__login-card .input-password-toggle > *,
.users .input-password-toggle > * { display: none !important; }
.hp-hero__login-card .input-password-toggle::before,
.users .input-password-toggle::before {
	content: ""; display: block; width: 20px; height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
	transition: opacity var(--hp-transition);
}
.hp-hero__login-card .input-password-toggle:hover::before,
.users .input-password-toggle:hover::before { opacity: 0.6; }
/* JS wraps the password input + toggle together so the eye centres on the field only */
.hp-hero__login-card .hp-pass-wrap,
.users .hp-pass-wrap { position: relative; display: block; }
.hp-hero__login-card .hp-pass-wrap > input,
.users .hp-pass-wrap > input { width: 100%; padding-right: 48px; }
.hp-hero__login-card .hp-pass-wrap > .input-password-toggle,
.users .hp-pass-wrap > .input-password-toggle {
	position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
}
/* Fallback for no-JS: centre against whatever wrapper Joomla provides */
.hp-hero__login-card :has(> .input-password-toggle),
.users .hp-content :has(> .input-password-toggle) { position: relative; }
.hp-hero__login-card :has(> .input-password-toggle) > input,
.users .hp-content :has(> .input-password-toggle) > input { padding-right: 48px; }
.hp-hero__login-card :has(> .input-password-toggle) > .input-password-toggle,
.users .hp-content :has(> .input-password-toggle) > .input-password-toggle {
	position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
}
.hp-hero__login-card ul {
	list-style: none; margin: 18px 0 0; padding: 16px 0 0;
	border-top: 1px solid var(--hp-line);
	display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.hp-hero__login-card ul a { font-size: 0.86rem; color: var(--hp-muted); }
.hp-hero__login-card ul a:hover { color: var(--hp-primary); }
.hp-hero__login-card .login-greeting,
.hp-hero__login-card .logout-button { text-align: center; }

@media (max-width: 880px) {
	.hp-hero.has-login .hp-hero__layout { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin-inline: auto; }
	.hp-hero.has-login .hp-hero__content { max-width: none; }
}

/* ---------------- Promo band (Environmental & Sustainability) ----------- */
.hp-band {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 160px;
	padding-block: 26px;
	background-color: var(--hp-dark);
	background-image: var(--hp-band-img);
	background-size: cover;
	background-position: center;
	border-bottom: 4px solid var(--hp-accent);
}
.hp-band .hp-container { width: 100%; }
/* Just the orange bar + heading directly on the photo — no background box */
.hp-band__box {
	display: inline-block;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--hp-accent);
	background: transparent;
	color: #fff;
}
.hp-band__heading {
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: clamp(1.05rem, 1.9vw, 1.35rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
	transition: color var(--hp-transition);
}
a.hp-band__box:hover .hp-band__heading { color: var(--hp-accent); }

@media (max-width: 600px) {
	.hp-band { min-height: 120px; padding-block: 20px; }
}

/* --------------------- com_users pages (login / reset / remind /
   registration / profile / edit) — clean, on-brand component views ------- */
.users .hp-main { padding: 64px 0 84px; }
.users .hp-content { max-width: 620px; margin-inline: auto; }
/* Multi-column pages (profile view / edit / registration) need more room than
   the simple single-field login & reset forms */
.users .hp-content:has(.com-users-profile),
.users .hp-content:has(.com-users-profile__edit),
.users .hp-content:has(.profile-edit),
.users .hp-content:has(.com-users-registration),
.users .hp-content:has(.registration) { max-width: 940px; }
.users .hp-content > h1,
.users .page-header h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--hp-dark); margin: 0 0 1.4rem; }

/* Tame heading sizes inside component views (e.g. the MFA method titles on the
   edit-profile page render at default huge sizes otherwise) */
.users .hp-content h1,
.users .hp-content h2,
.users .hp-content h3,
.users .hp-content h4,
.users .hp-content h5,
.users .hp-content .card-title { color: var(--hp-dark); line-height: 1.25; margin: 0 0 0.5em; letter-spacing: 0; }
.users .hp-content h1 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.users .hp-content h2 { font-size: 1.4rem; }
.users .hp-content h3,
.users .hp-content .card-title { font-size: 1.15rem; }
.users .hp-content h4,
.users .hp-content h5 { font-size: 1rem; }

/* MFA method cards on the edit-profile page */
.users .hp-content .card { background: var(--hp-card); border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: none; padding: 4px; }
.users .hp-content .card .card-body { padding: 20px 22px; }
.users .hp-content .card img,
.users .hp-content .card svg { max-height: 48px; width: auto; }
.users .hp-content figure,
.users .hp-content .card figure { margin: 0 0 12px; }

/* Card wrapper around each form / view */
.users .hp-content form,
.users .com-users-profile,
.users .profile-edit,
.users .registration {
	background: var(--hp-card);
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius);
	box-shadow: var(--hp-shadow-sm);
	padding: 30px 30px 32px;
}
.users fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.users fieldset:last-child { margin-bottom: 0; }
.users legend {
	font-family: var(--hp-font-heading); font-weight: 600;
	font-size: 1.25rem; color: var(--hp-dark);
	width: auto; padding: 0; margin: 0 0 1rem; border: 0;
}
.users fieldset > p,
.users .com-users-reset > p,
.users .com-users-remind > p { color: var(--hp-muted); margin: 0 0 1.4em; }

/* Fields */
.users .control-group,
.users .form-group,
.users .mb-3 { margin-bottom: 16px; }
.users .control-group:last-child,
.users .form-group:last-child { margin-bottom: 0; }
.users label,
.users .control-label label { display: inline-block; font-weight: 600; font-size: 0.85rem; color: var(--hp-dark); margin: 0 0 6px; }
.users .controls { display: block; }
.users input[type="text"],
.users input[type="email"],
.users input[type="password"],
.users input[type="tel"],
.users input[type="url"],
.users select,
.users textarea,
.users .form-control {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius);
	background: #fff;
	font-family: var(--hp-font-body);
	font-size: 0.98rem;
	color: var(--hp-ink);
	transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
}
.users input:focus,
.users select:focus,
.users textarea:focus { outline: none; border-color: var(--hp-primary); box-shadow: 0 0 0 3px var(--hp-primary-ring); }
.users input[type="checkbox"],
.users input[type="radio"] { width: auto; accent-color: var(--hp-primary); margin-right: 6px; }
.users .form-text,
.users .small,
.users small { color: var(--hp-muted); font-size: 0.82rem; }
.users .required .star,
.users .star { color: var(--hp-primary); }

/* Buttons (the password reveal toggle is excluded — it's styled as an eye icon) */
.users .btn:not(.input-password-toggle),
.users button[type="submit"],
.users input[type="submit"],
.users .btn-primary:not(.input-password-toggle) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 6px;
	padding: 11px 22px;
	border: 2px solid var(--hp-primary);
	border-radius: var(--hp-radius);
	background: var(--hp-primary);
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.96rem;
	cursor: pointer;
	transition: background var(--hp-transition), color var(--hp-transition);
}
.users .btn:not(.input-password-toggle):hover,
.users button[type="submit"]:hover,
.users input[type="submit"]:hover,
.users .btn-primary:not(.input-password-toggle):hover { background: var(--hp-primary-dark); color: #fff; }
.users .btn-secondary:not(.input-password-toggle),
.users .btn-outline-primary,
.users .btn-outline-secondary {
	background: transparent; color: var(--hp-primary);
}
.users .btn-secondary:not(.input-password-toggle):hover,
.users .btn-outline-primary:hover,
.users .btn-outline-secondary:hover { background: var(--hp-primary); color: #fff; }

/* Profile read view (definition list or table) */
.users .com-users-profile dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.users .com-users-profile dt { font-weight: 600; color: var(--hp-dark); }
.users .com-users-profile dd { margin: 0; color: var(--hp-ink); }
.users table.table { width: 100%; border-collapse: collapse; }
.users table.table th,
.users table.table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hp-line); }
.users table.table th { color: var(--hp-dark); font-weight: 600; width: 38%; }
.users table.table tr:last-child th,
.users table.table tr:last-child td { border-bottom: 0; }

/* Action links under a form/view */
.users .hp-content nav ul,
.users ul.nav-tabs,
.users .com-users-profile ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.users .com-users-profile { margin-top: 0; }

/* --------------------- Bootstrap-grid shim for component views ----------
   This template doesn't load Bootstrap, but Joomla's component views (e.g. the
   MFA methods list on the edit-profile page) use Bootstrap's .row/.col grid.
   Provide just enough so those views lay out in columns. Scoped to component
   output so it never touches the template's own .hp-* layout. */
.hp-content .row {
	display: flex;
	flex-wrap: wrap;
	margin-inline: -12px;
}
.hp-content .row > .col,
.hp-content .row > [class*="col-"] {
	padding-inline: 12px;
	margin-bottom: 24px;
	box-sizing: border-box;
}
.hp-content .row > .col { flex: 1 0 0%; }
.hp-content .row > .col-12 { flex: 0 0 100%; max-width: 100%; }
.hp-content .row > [class*="col-md-"],
.hp-content .row > [class*="col-lg-"],
.hp-content .row > [class*="col-sm-"] { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
	.hp-content .row > [class*="col-md-3"] { flex: 0 0 25%; max-width: 25%; }
	.hp-content .row > [class*="col-md-4"] { flex: 0 0 33.333%; max-width: 33.333%; }
	.hp-content .row > [class*="col-md-6"] { flex: 0 0 50%; max-width: 50%; }
	.hp-content .row > [class*="col-md-8"] { flex: 0 0 66.666%; max-width: 66.666%; }
	.hp-content .row > [class*="col-md-9"] { flex: 0 0 75%; max-width: 75%; }
}
.hp-content .card.h-100 { height: auto; }
.hp-content .g-0 { margin-inline: 0; }
.hp-content .g-0 > [class*="col-"] { padding-inline: 0; }

/* Bootstrap-utility shim — Joomla's component markup assumes these classes,
   but this template doesn't load Bootstrap. Provide just the common ones so
   component views (com_users etc.) render as intended. Scoped to .hp-content. */
.hp-content .d-flex { display: flex; }
.hp-content .d-block { display: block; }
.hp-content .d-none { display: none; }
.hp-content .flex-wrap { flex-wrap: wrap; }
.hp-content .flex-column { flex-direction: column; }
.hp-content .flex-grow-1 { flex-grow: 1; }
.hp-content .align-items-center { align-items: center; }
.hp-content .align-items-start { align-items: flex-start; }
.hp-content .justify-content-between { justify-content: space-between; }
.hp-content .justify-content-center { justify-content: center; }
.hp-content .text-center { text-align: center; }
.hp-content .text-end { text-align: right; }
.hp-content .w-100 { width: 100%; }
.hp-content .img-fluid { max-width: 100%; height: auto; }
.hp-content .gap-2 { gap: 0.5rem; }
.hp-content .gap-3 { gap: 1rem; }
.hp-content .mx-1 { margin-inline: 0.25rem; }
.hp-content .my-3 { margin-block: 1rem; }
.hp-content .mt-3 { margin-top: 1rem; }
.hp-content .mb-3 { margin-bottom: 1rem; }
.hp-content .p-2 { padding: 0.5rem; }
.hp-content .pt-1 { padding-top: 0.25rem; }
.hp-content .px-3 { padding-inline: 1rem; }
.hp-content .pb-2 { padding-bottom: 0.5rem; }
.hp-content .bg-light { background: var(--hp-bg-2); }
.hp-content .border { border: 1px solid var(--hp-line); }
.hp-content .rounded-2,
.hp-content .rounded-3 { border-radius: var(--hp-radius); }
.hp-content .card-header { padding: 16px 18px; border-bottom: 1px solid var(--hp-line); background: transparent; }
.hp-content .card-body { padding: 16px 18px; }

/* MFA methods list on the edit-profile page — lay the method cards out 2-up.
   Targets the exact Joomla container/method classes. */
.users #com-users-methods-list-container {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: stretch;
}
.users #com-users-methods-list-container > .com-users-methods-list-method {
	flex: 1 1 calc(50% - 9px);
	max-width: calc(50% - 9px);
	min-width: 0;
	margin: 0;
}
.users .com-users-methods-list-method-image img { max-height: 44px; width: auto; }
.users .com-users-methods-list-method-title { font-size: 1.1rem; font-weight: 600; color: var(--hp-dark); }
.users .com-users-methods-list-method-title h1,
.users .com-users-methods-list-method-title h2,
.users .com-users-methods-list-method-title h3,
.users .com-users-methods-list-method-title h4,
.users .com-users-methods-list-method-title h5 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
@media (max-width: 600px) {
	.users #com-users-methods-list-container > .com-users-methods-list-method {
		flex-basis: 100%;
		max-width: 100%;
	}
}

/* Generic fallback: any other container with 2+ direct .card children goes 2-up */
.hp-content :has(> .card ~ .card) { display: flex; flex-wrap: wrap; gap: 18px; }
.hp-content :has(> .card ~ .card) > .card { flex: 1 1 calc(50% - 9px); min-width: 0; margin: 0; }
.hp-content :has(> .card ~ .card) > :not(.card) { flex: 1 1 100%; }
@media (max-width: 600px) {
	.hp-content :has(> .card ~ .card) > .card { flex-basis: 100%; }
}

/* --------------------------- Section heading --------------------------- */
.hp-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.hp-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.82rem;
	font-weight: 600;
	font-family: var(--hp-font-heading);
	color: var(--hp-accent);
	margin: 0 0 12px;
}
.hp-section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 0.4em; }
.hp-section-intro { font-size: 1.12rem; line-height: 1.6; opacity: 0.9; margin: 0; }

/* --------------------------- Home welcome ------------------------------ */
/* Reproduces the old page: grey uppercase heading with an orange left bar,
   a large intro paragraph, then a two-column row — body + red CTA on the left,
   a small rotating service slideshow on the right. */
.hp-welcome { padding: 72px 0 84px; }
.hp-welcome--light { background: var(--hp-bg); }
.hp-welcome--alt { background: var(--hp-bg-2); }
.hp-welcome--dark { background: var(--hp-dark); color: rgba(255, 255, 255, 0.82); }

.hp-welcome__heading {
	font-size: clamp(1.8rem, 3.4vw, 2.25rem);
	line-height: 1.25;
	margin: 0 0 24px;
	padding-left: 20px;
	border-left: 3px solid var(--hp-accent);
	color: #9e9e9e;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 500;
}
.hp-welcome--dark .hp-welcome__heading { color: rgba(255, 255, 255, 0.7); }

/* Large intro paragraph(s) — grey, like the original */
.hp-welcome__intro { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; color: #555; font-weight: 500; margin: 0 0 40px; max-width: 60ch; }
.hp-welcome__intro p { margin: 0 0 0.7em; }
.hp-welcome__intro p:last-child { margin-bottom: 0; }
.hp-welcome__intro a { color: var(--hp-primary); font-weight: 600; }
.hp-welcome--dark .hp-welcome__intro { color: rgba(255, 255, 255, 0.88); }

/* Body + aside row */
.hp-welcome__cols { display: block; }
.hp-welcome__cols.has-aside {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.hp-welcome__body { font-size: 1rem; line-height: 1.7; }
.hp-welcome__body p { margin: 0 0 1.1em; }
.hp-welcome__body p:last-child { margin-bottom: 0; }
.hp-welcome__body a { font-weight: 500; }
.hp-welcome--dark .hp-welcome__body a { color: var(--hp-accent); }

.hp-welcome__actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-top: 28px; }
.hp-welcome--dark .hp-btn--outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hp-welcome--dark .hp-btn--outline:hover { border-color: #fff; color: var(--hp-accent); }

/* Small rotating service slideshow (bottom-right) */
.hp-welcome__aside { align-self: stretch; }
.hp-welcome__slider {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--hp-dark);
	box-shadow: var(--hp-shadow-sm);
}
.hp-welcome__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s var(--hp-ease);
	pointer-events: none;
}
.hp-welcome__slide.is-active { opacity: 1; pointer-events: auto; }
.hp-welcome__slide img { width: 100%; height: 100%; object-fit: cover; }
.no-js .hp-welcome__slide { opacity: 1; }
.no-js .hp-welcome__slide ~ .hp-welcome__slide { display: none; }

@media (max-width: 860px) {
	.hp-welcome { padding: 56px 0 64px; }
	.hp-welcome__cols.has-aside { grid-template-columns: 1fr; gap: 32px; }
	.hp-welcome__aside { max-width: 520px; }
}

/* --------------------------- Home services ----------------------------- */
.hp-services { padding: 92px 0; }
.hp-services--light { background: var(--hp-bg); }
.hp-services--alt { background: var(--hp-bg-2); }
.hp-services--dark { background: var(--hp-dark); color: rgba(255, 255, 255, 0.82); }
.hp-services--dark .hp-section-title,
.hp-services--dark .hp-svc__title { color: #fff; }

.hp-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 44px;
}
.hp-svc { text-align: center; color: inherit; display: block; }
a.hp-svc { transition: transform var(--hp-transition); }

.hp-svc__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: var(--hp-radius);
	background: var(--hp-bg-2);
	box-shadow: var(--hp-shadow-sm);
	margin-bottom: 22px;
	transition: transform var(--hp-transition), box-shadow var(--hp-transition), background var(--hp-transition);
}
.hp-svc__icon { width: 38px; height: 38px; color: var(--hp-primary); }
.hp-services--dark .hp-svc__badge { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.hp-services--dark .hp-svc__icon { color: var(--hp-accent); }

a.hp-svc:hover .hp-svc__badge { transform: translateY(-5px); box-shadow: var(--hp-shadow-md); }
a.hp-svc:hover .hp-svc__title { color: var(--hp-primary); }
.hp-services--dark a.hp-svc:hover .hp-svc__title { color: var(--hp-accent); }

.hp-svc__title { font-size: 1.32rem; margin: 0 0 0.5em; }
.hp-svc__text { opacity: 0.9; margin: 0 auto; max-width: 34ch; }

.hp-services__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
.hp-services--dark .hp-btn--outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hp-services--dark .hp-btn--outline:hover { border-color: #fff; color: var(--hp-accent); }

@media (max-width: 880px) {
	.hp-services__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 48px; }
}

/* --------------------------- Testimonials ------------------------------ */
.hp-testimonials { padding: 80px 0; background: var(--hp-bg-2); }
/* strip trailing margin the module may add below its last element */
.hp-testimonials .moduletable:last-child,
.hp-testimonials .hp-container > :last-child,
.hp-testimonials .moduletable > :last-child { margin-bottom: 0; }

/* --------------------------- Sections ---------------------------------- */
.hp-main { padding: 56px 0; }
.hp-main--empty { padding: 0; }
.hp-content { min-width: 0; }

.hp-layout { display: grid; gap: 40px; align-items: start; }
.hp-layout.has-left { grid-template-columns: 300px minmax(0, 1fr); }
.hp-layout.has-right { grid-template-columns: minmax(0, 1fr) 300px; }
.hp-layout.has-left.has-right { grid-template-columns: 280px minmax(0, 1fr) 280px; }

.hp-main-top, .hp-main-bottom { margin-bottom: 32px; }

/* --------------------------- Blog listing ------------------------------ */
.hp-blog { padding: 72px 0 88px; }
.hp-blog__head { max-width: 760px; margin: 0 0 52px; }
.hp-blog__title { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 0.2em 0 0.45em; }
.hp-blog__intro { font-size: 1.12rem; line-height: 1.7; color: var(--hp-muted); }
.hp-blog__intro p:last-child { margin-bottom: 0; }
.hp-blog__empty { color: var(--hp-muted); }

.hp-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.hp-post-card {
	background: var(--hp-card);
	border-radius: var(--hp-radius);
	overflow: hidden;
	box-shadow: var(--hp-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform var(--hp-transition), box-shadow var(--hp-transition);
}
.hp-post-card:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-md); }
.hp-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.hp-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--hp-ease); }
.hp-post-card:hover .hp-post-card__media img { transform: scale(1.04); }
.hp-post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hp-post-card__title { font-size: 1.25rem; line-height: 1.25; margin: 0 0 0.55em; }
.hp-post-card__title a { color: var(--hp-primary); }
.hp-post-card__title a:hover { color: var(--hp-accent); }
.hp-post-card__meta { font-size: 0.86rem; color: var(--hp-muted); margin: 0 0 0.85em; }
.hp-post-card__intro { color: var(--hp-muted); margin: 0 0 1.3em; }
.hp-post-card__more { margin-top: auto; align-self: flex-start; font-family: var(--hp-font-heading); font-weight: 500; font-size: 0.92rem; }

.hp-blog__pagination { margin-top: 52px; display: flex; justify-content: center; }
.hp-blog__pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hp-blog__pagination .page-link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm);
	font-family: var(--hp-font-heading); font-weight: 500; font-size: 0.92rem;
}
.hp-blog__pagination a.page-link:hover { border-color: var(--hp-primary); color: var(--hp-primary); }
.hp-blog__pagination .active .page-link { background: var(--hp-primary); color: #fff; border-color: var(--hp-primary); }
.hp-blog__pagination .disabled .page-link { opacity: 0.45; }
/* Joomla's prev/next/first/last use an icon font we don't load — supply glyphs */
.hp-blog__pagination [class*="icon-"] { font-style: normal; line-height: 1; }
.hp-blog__pagination [class*="icon-"]::before { font-family: inherit; }
.hp-blog__pagination .icon-angle-left::before,
.hp-blog__pagination .icon-chevron-left::before { content: "\2039"; }
.hp-blog__pagination .icon-angle-right::before,
.hp-blog__pagination .icon-chevron-right::before { content: "\203A"; }
.hp-blog__pagination .icon-angles-left::before,
.hp-blog__pagination .icon-angle-double-left::before,
.hp-blog__pagination .icon-first::before,
.hp-blog__pagination .icon-step-backward::before { content: "\00AB"; }
.hp-blog__pagination .icon-angles-right::before,
.hp-blog__pagination .icon-angle-double-right::before,
.hp-blog__pagination .icon-last::before,
.hp-blog__pagination .icon-step-forward::before { content: "\00BB"; }

@media (max-width: 960px) { .hp-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hp-blog__grid { grid-template-columns: 1fr; } }

/* --------------------------- Services accordion ------------------------ */
.hp-services-page { padding: 72px 0 88px; }

/* Optional image beside the nav */
.hp-svc-top--media { display: grid; grid-template-columns: 1fr 0.82fr; gap: 52px; align-items: center; margin-bottom: 44px; }
.hp-svc-top--media.img-left { grid-template-columns: 0.82fr 1fr; }
.hp-svc-top--media.img-left .hp-svc-top__main { order: 2; }
.hp-svc-top--media.img-left .hp-svc-top__media { order: 1; }
.hp-svc-top--media .hp-blog__head,
.hp-svc-top--media .hp-svc-nav { margin-bottom: 0; }
.hp-svc-top--media .hp-blog__head { margin-bottom: 28px; }
.hp-svc-top__media img { width: 100%; border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-sm); }

@media (max-width: 782px) {
	.hp-svc-top--media, .hp-svc-top--media.img-left { grid-template-columns: 1fr; gap: 28px; }
	.hp-svc-top--media.img-left .hp-svc-top__main { order: 1; }
	.hp-svc-top--media.img-left .hp-svc-top__media { order: 2; }
}

.hp-svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.hp-svc-nav__link {
	display: inline-flex; align-items: center;
	padding: 9px 18px;
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius-pill);
	font-family: var(--hp-font-heading);
	font-weight: 500;
	font-size: 0.92rem;
	color: var(--hp-ink);
	background: var(--hp-card);
	transition: background var(--hp-transition), color var(--hp-transition), border-color var(--hp-transition);
}
.hp-svc-nav__link:hover,
.hp-svc-nav__link.is-active { background: var(--hp-primary); border-color: var(--hp-primary); color: #fff; }

.hp-accordion { display: flex; flex-direction: column; gap: 52px; }

.hp-svc-panel { scroll-margin-top: 110px; }

/* Header = warm-dark colour band with the photo overlapping (left by default) */
.hp-svc-panel__header {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 300px;
	padding: 38px 56px 38px 408px;
	border: 0;
	border-radius: var(--hp-radius);
	background: var(--hp-dark);
	color: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	transition: box-shadow var(--hp-transition);
}
.hp-svc-panel.is-open .hp-svc-panel__header { box-shadow: var(--hp-shadow-md); }

.hp-svc-panel__media {
	position: absolute;
	left: 36px; top: -24px; bottom: -24px;
	width: 312px;
	border-radius: var(--hp-radius);
	box-shadow: var(--hp-shadow-lg);
	background-size: cover;
	background-position: center;
	transition: transform 0.5s var(--hp-ease);
}
.hp-svc-panel__header:hover .hp-svc-panel__media { transform: scale(1.02); }

/* Alternate the image side: even panels get the photo on the right */
.hp-accordion .hp-svc-panel:nth-child(even) .hp-svc-panel__header { padding: 38px 408px 38px 56px; }
.hp-accordion .hp-svc-panel:nth-child(even) .hp-svc-panel__media { left: auto; right: 36px; }

.hp-svc-panel__bar { display: flex; align-items: center; gap: 26px; width: 100%; }
.hp-svc-panel__titles { flex: 1; min-width: 0; }
.hp-svc-panel__title { display: block; font-family: var(--hp-font-heading); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.15; color: #fff; }
.hp-svc-panel__title::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--hp-accent); margin: 16px 0 14px; }
.hp-svc-panel__tagline { display: block; color: rgba(255, 255, 255, 0.82); font-size: 1.04rem; line-height: 1.55; }

.hp-svc-panel__chev {
	flex: 0 0 auto;
	width: 16px; height: 16px;
	border-right: 2px solid var(--hp-accent);
	border-bottom: 2px solid var(--hp-accent);
	transform: rotate(45deg);
	transition: transform var(--hp-transition);
	margin-top: -8px;
}
.hp-svc-panel.is-open .hp-svc-panel__chev { transform: rotate(-135deg); margin-top: 4px; }

.hp-svc-panel__body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.45s var(--hp-ease);
	background: var(--hp-card);
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius);
	margin-top: 14px;
	box-shadow: var(--hp-shadow-sm);
}
.hp-svc-panel__content { padding: 32px 40px 38px; }
.hp-svc-panel__content > :first-child { margin-top: 0; }
.hp-svc-panel__content img { height: auto; border-radius: var(--hp-radius-sm); }
.no-js .hp-svc-panel__body { max-height: none; }

@media (max-width: 720px) {
	.hp-svc-panel__header,
	.hp-accordion .hp-svc-panel:nth-child(even) .hp-svc-panel__header { display: block; min-height: 0; padding: 0; }
	.hp-svc-panel__media,
	.hp-accordion .hp-svc-panel:nth-child(even) .hp-svc-panel__media { position: static; width: auto; height: 200px; top: auto; bottom: auto; left: auto; right: auto; border-radius: var(--hp-radius) var(--hp-radius) 0 0; }
	.hp-svc-panel__bar { padding: 24px 24px 28px; }
	.hp-svc-panel__content { padding: 26px 22px 30px; }
}

/* --------------------------- Single article ----------------------------
   Service-page layout: grey uppercase heading with an orange bar, a full-width
   intro paragraph, then body text + article image in two columns. Mirrors the
   home welcome block. */
.hp-article__head { padding: 56px 0 0; }
.hp-article__title {
	font-size: clamp(1.8rem, 3.4vw, 2.4rem);
	line-height: 1.2;
	margin: 0;
	padding-left: 20px;
	border-left: 3px solid var(--hp-accent);
	color: #9e9e9e;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 500;
}
.hp-article__meta { margin: 14px 0 0; color: var(--hp-muted); font-size: 0.9rem; }

.hp-article__body { padding: 34px 0 72px; }

/* Full-width intro (article introtext, before the Read More break) */
.hp-article__intro { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; color: #555; font-weight: 500; margin: 0 0 44px; max-width: 68ch; }
.hp-article__intro p { margin: 0 0 0.7em; }
.hp-article__intro p:last-child { margin-bottom: 0; }
.hp-article__intro a { color: var(--hp-primary); font-weight: 600; }

/* Body + image columns */
.hp-article__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.hp-article__main { min-width: 0; }
.hp-article__content { line-height: 1.7; }
.hp-article__content > :first-child { margin-top: 0; }
.hp-article__content img { height: auto; border-radius: var(--hp-radius-sm); }
.hp-article__content h2, .hp-article__content h3 { margin-top: 1.7em; }
.hp-article__content--wide { max-width: 820px; }

.hp-article__aside { min-width: 0; }
.hp-article__img { width: 100%; height: auto; display: block; border-radius: var(--hp-radius-sm); box-shadow: var(--hp-shadow-sm); }

.hp-article__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hp-article__tags { margin-top: 2.5em; }

/* Anchor jumps clear any fixed offset (e.g. /services#offset) */
:target { scroll-margin-top: 96px; }
.hp-article__content [id] { scroll-margin-top: 96px; }

@media (max-width: 860px) {
	.hp-article__cols { grid-template-columns: 1fr; gap: 30px; }
	.hp-article__aside { max-width: 560px; }
}

/* Orange chevron bullets in body copy (matches the old site) */
.hp-article__content ul,
.hp-rows__body ul,
.hp-welcome__body ul,
.hp-welcome__intro ul { list-style: none; margin: 0 0 1.1em; padding: 0; }
.hp-article__content ul > li,
.hp-rows__body ul > li,
.hp-welcome__body ul > li,
.hp-welcome__intro ul > li { position: relative; padding-left: 1.5em; margin-bottom: 0.5em; }
.hp-article__content ul > li::before,
.hp-rows__body ul > li::before,
.hp-welcome__body ul > li::before,
.hp-welcome__intro ul > li::before {
	content: "\203A";           /* › */
	position: absolute;
	left: 0.2em; top: -0.02em;
	color: var(--hp-accent);
	font-weight: 700;
	font-size: 1.15em;
	line-height: 1.35;
}

/* -------------------- Category "rows" (alternating image/text) --------- */
.hp-rows { padding: 24px 0 40px; }
.hp-rows__head { padding: 32px 0 8px; }
.hp-rows__pagetitle {
	font-size: clamp(1.8rem, 3.4vw, 2.4rem);
	line-height: 1.2; margin: 0 0 0.6em;
	padding-left: 20px; border-left: 3px solid var(--hp-accent);
	color: #9e9e9e; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500;
}
.hp-rows__pageintro { font-size: 1.1rem; color: #555; max-width: 70ch; }

.hp-rows__item { padding: 36px 0; }
.hp-rows__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hp-rows__item.is-flipped .hp-rows__text { order: 2; }
.hp-rows__item.is-flipped .hp-rows__media { order: 1; }
.hp-rows__item.no-media .hp-rows__grid { grid-template-columns: 1fr; }

.hp-rows__title {
	color: var(--hp-primary);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 1rem;
}
.hp-rows__body { line-height: 1.7; }
.hp-rows__body > :first-child { margin-top: 0; }
.hp-rows__body p { margin: 0 0 1em; }
.hp-rows__body p:last-child { margin-bottom: 0; }
.hp-rows__media img { width: 100%; height: auto; display: block; border-radius: var(--hp-radius-sm); box-shadow: var(--hp-shadow-sm); }

@media (max-width: 860px) {
	.hp-rows__grid { grid-template-columns: 1fr; gap: 26px; }
	.hp-rows__item.is-flipped .hp-rows__text { order: 1; }
	.hp-rows__item.is-flipped .hp-rows__media { order: 2; }
}

/* --------------------------- Contact page ------------------------------ */
.hp-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.hp-contact__grid.no-map { grid-template-columns: 1fr; max-width: 760px; }
.hp-contact__map iframe { width: 100%; border: 0; display: block; border-radius: var(--hp-radius-sm); box-shadow: var(--hp-shadow-sm); }

/* The article editor wraps the form shortcode in empty <p></p> tags — hide
   them so the first field lines up with the top of the map. Also strip any top
   spacing on the Postbox wrapper itself. */
.hp-contact__form p:empty { display: none; }
.hp-contact__form > :first-child { margin-top: 0 !important; }
.hp-contact__form .postbox-form-wrapper { margin-top: 0; padding-top: 0; }
/* Strip Postbox's card look (padding / border / background) so the form sits
   flush on the page and its fields align with the top of the map. */
.hp-contact__form .postbox-form { padding: 0; border: 0; background: transparent; border-radius: 0; }

/* Form fields (works with most form extensions, e.g. Postbox) */
.hp-contact__form label { display: block; font-weight: 600; color: var(--hp-ink); margin: 0 0 6px; }
.hp-contact__form input[type="text"],
.hp-contact__form input[type="email"],
.hp-contact__form input[type="tel"],
.hp-contact__form input[type="url"],
.hp-contact__form input[type="number"],
.hp-contact__form select,
.hp-contact__form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius);
	background: #fff;
	font-family: var(--hp-font-body);
	font-size: 1rem;
	color: var(--hp-ink);
	transition: border-color var(--hp-transition), box-shadow var(--hp-transition);
}
.hp-contact__form textarea { min-height: 190px; resize: vertical; }
.hp-contact__form input:focus,
.hp-contact__form select:focus,
.hp-contact__form textarea:focus {
	outline: none;
	border-color: var(--hp-primary);
	box-shadow: 0 0 0 3px var(--hp-primary-ring);
}
.hp-contact__form .control-group,
.hp-contact__form .form-group,
.hp-contact__form .mb-3,
.hp-contact__form p { margin-bottom: 18px; }
.hp-contact__form button[type="submit"],
.hp-contact__form input[type="submit"],
.hp-contact__form .btn-primary {
	display: inline-block;
	margin-top: 6px;
	padding: 13px 26px;
	border: 0;
	background: var(--hp-red);
	color: #fff;
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--hp-transition);
}
.hp-contact__form button[type="submit"]:hover,
.hp-contact__form input[type="submit"]:hover,
.hp-contact__form .btn-primary:hover { background: var(--hp-red-dark); }

/* Centred contact-info bar below the form + map */
.hp-contact__info { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--hp-line); text-align: center; }
.hp-contact__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; }
.hp-contact__row + .hp-contact__row { margin-top: 14px; }
.hp-contact__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--hp-ink); }
.hp-contact__item a { color: inherit; }
.hp-contact__item a:hover { color: var(--hp-accent); }
.hp-contact__email { color: var(--hp-accent); }
.hp-contact__ico { display: inline-flex; flex: 0 0 auto; }
.hp-contact__ico svg { width: 20px; height: 20px; fill: var(--hp-accent); }

@media (max-width: 860px) {
	.hp-contact__grid { grid-template-columns: 1fr; gap: 30px; }
	.hp-contact__row { gap: 10px 26px; }
}

/* --------------------------- Cards ------------------------------------- */
.card, .moduletable.card, .hp-features__col, .hp-banner .moduletable {
	background: var(--hp-card);
	border-radius: var(--hp-radius);
	box-shadow: var(--hp-shadow-sm);
	padding: 28px;
	transition: transform var(--hp-transition), box-shadow var(--hp-transition);
}
.hp-features__col:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-md); }

.moduletable .module-title, .moduletable h3 { margin-top: 0; }

/* --------------------------- Features grid ----------------------------- */
.hp-features { padding: 64px 0; }
.hp-features__grid { display: grid; gap: 26px; }
.hp-features__grid.cols-1 { grid-template-columns: 1fr; }
.hp-features__grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-features__grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-features__grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------- Footer ------------------------------------ */
.hp-footer { background: var(--hp-dark); color: rgba(255, 255, 255, 0.9); border-top: 4px solid var(--hp-accent); }
.hp-footer__top { padding: 54px 0 48px; }
.hp-footer a { color: rgba(255, 255, 255, 0.9); }
.hp-footer a:not(.hp-btn):hover { color: var(--hp-accent); }

/* Three columns: logo | contact + address | map */
.hp-footer__cols { display: grid; grid-template-columns: 0.8fr 1fr 1.05fr; gap: 64px; align-items: start; }
.hp-footer__logo { display: inline-flex; margin-top: 34px; }
.hp-footer__logo img { max-height: 78px; width: auto; box-shadow: var(--hp-shadow-sm); }

/* Column headings (Contact Details / Address) + module titles */
.hp-footer h1, .hp-footer h2, .hp-footer h3,
.hp-footer .module-title, .hp-footer__heading {
	color: #fff;
	font-family: var(--hp-font-heading);
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	margin: 0 0 1rem;
}
.hp-foot-list + .hp-footer__heading { margin-top: 1.6rem; }

/* Contact / address list — orange icon before each line */
.hp-foot-list { list-style: none; margin: 0; padding: 0; }
.hp-foot-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 1.05rem; line-height: 1.45; }
.hp-foot-list li:last-child { margin-bottom: 0; }
.hp-foot-ico { flex: 0 0 auto; display: inline-flex; margin-top: 3px; }
.hp-foot-ico svg { width: 20px; height: 20px; fill: var(--hp-accent); }

/* Map with an overlaid "Open in Maps" tab.
   The tab sits flush in the top-left corner, sized to cover Google's own
   place-card that the embed renders there, so only one white panel shows. */
.hp-foot-map__wrap { position: relative; width: 100%; min-height: 200px; overflow: hidden; }
.hp-foot-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* scoped under .hp-footer a so it beats the generic footer link colour */
.hp-footer a.hp-foot-map__link {
	position: absolute;
	top: 0; left: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 220px;
	min-height: 58px;
	padding: 12px 20px;
	background: #fff;
	color: var(--hp-primary);
	font-family: var(--hp-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0 0 6px 0;
	box-shadow: 3px 3px 10px rgba(17, 24, 39, 0.14);
}
.hp-footer a.hp-foot-map__link:hover { color: var(--hp-primary-dark); }
.hp-foot-map__link svg { width: 16px; height: 16px; }

/* Footer module positions (footer-a..d, footer) */
.hp-footer__grid { display: grid; gap: 36px; }
.hp-footer__grid.cols-1 { grid-template-columns: 1fr; }
.hp-footer__grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hp-footer__grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hp-footer__grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hp-footer .moduletable ul { list-style: none; margin: 0; padding: 0; }
.hp-footer .moduletable li { margin-bottom: 8px; }

@media (max-width: 880px) {
	.hp-footer__cols { grid-template-columns: 1fr; gap: 34px; }
	.hp-footer__col--map { max-width: 560px; }
}

/* Dark bottom bar — centred, with orange brand highlights */
.hp-footer__bottom { background: #262626; font-size: 0.92rem; }
.hp-footer__bottom-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; text-align: center; }
.hp-footer__copy { margin: 0; color: rgba(255, 255, 255, 0.85); }
.hp-footer__copy a, .hp-footer__copy .hp-hl { color: var(--hp-accent); }
.hp-footer__copy a:hover { color: #fff; }
.hp-footer__social { display: inline-flex; gap: 8px; }
.hp-footer__social a { display: inline-flex; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); transition: background var(--hp-transition); }
.hp-footer__social a svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.85); transition: fill var(--hp-transition); }
.hp-footer__social a:hover { background: var(--hp-accent); }
.hp-footer__social a:hover svg { fill: #fff; }

/* --------------------------- Scroll reveal ----------------------------- */
.anim-on [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--hp-ease), transform 0.7s var(--hp-ease);
	will-change: opacity, transform;
}
.anim-on [data-reveal].is-visible { opacity: 1; transform: none; }
.anim-on [data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
.anim-on [data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
.anim-on [data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }

/* --------------------------- Responsive -------------------------------- */
@media (max-width: 991px) {
	.hp-mainnav, .hp-header__util { display: none; }
	.hp-nav-toggle { display: flex; }
	.hp-header.has-slider { min-height: clamp(300px, 52vw, 420px); }
	.hp-header__inner { justify-content: flex-start; }
	.hp-layout.has-left, .hp-layout.has-right, .hp-layout.has-left.has-right { grid-template-columns: 1fr; }
	.hp-features__grid.cols-3, .hp-features__grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.hp-footer__grid.cols-3, .hp-footer__grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.hp-container { padding-inline: 18px; }
	.hp-topbar__info { gap: 14px; }
	.hp-topbar__address { display: none; }
	.hp-hero--standard { min-height: 460px; }
	.hp-hero--tall { min-height: 520px; }
	.hp-hero__inner { padding-block: 48px; }
	.hp-hero__actions .hp-btn { flex: 1 1 auto; }
	/* widen the left-fade overlay so left-aligned text stays legible on mobile */
	.hp-hero.text-light .hp-hero__overlay { background: linear-gradient(90deg, rgba(20,18,16,1) 0%, rgba(20,18,16,.8) 75%, rgba(20,18,16,.45) 100%); }
	.hp-hero.text-dark .hp-hero__overlay { background: linear-gradient(90deg, rgba(246,243,237,1) 0%, rgba(246,243,237,.8) 75%, rgba(246,243,237,.45) 100%); }
	.hp-features__grid.cols-2, .hp-features__grid.cols-3, .hp-features__grid.cols-4 { grid-template-columns: 1fr; }
	.hp-footer__grid.cols-2, .hp-footer__grid.cols-3, .hp-footer__grid.cols-4 { grid-template-columns: 1fr; }
}

/* --------------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
	.anim-on [data-reveal] { opacity: 1; transform: none; }
}
