/* ==========================================================================
   Harry Motors — theme styles
   Palette and type scale live in theme.json; this file adds components.
   ========================================================================== */

:root {
	--hm-topbar-h: 40px;
	--hm-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hm-line: rgba(240, 164, 30, 0.35);
	--hm-line-soft: rgba(255, 255, 255, 0.09);
	--hm-shadow: 0 22px 44px -26px rgba(20, 24, 29, 0.5);
	--hm-muted-on-dark: #a9b1ba;
}

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

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

::selection {
	background: var(--wp--preset--color--amber-light);
	color: var(--wp--preset--color--night);
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--amber);
	outline-offset: 3px;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.hm-main {
	margin-block: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hm-site-header {
	position: sticky;
	top: calc(-1 * var(--hm-topbar-h));
	z-index: 100;
}

@media (min-width: 783px) {
	.admin-bar .hm-site-header {
		top: calc(32px - var(--hm-topbar-h));
	}
}

@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .hm-site-header {
		top: calc(46px - var(--hm-topbar-h));
	}
}

.hm-topbar {
	height: var(--hm-topbar-h);
	overflow: hidden;
	background: #0b0e12;
	color: var(--hm-muted-on-dark);
	font-size: 0.875rem;
	line-height: 1;
	margin: 0 !important;
}

.hm-topbar__inner {
	height: 100%;
	align-items: center !important;
	gap: 1.5rem !important;
}

.hm-topbar__right {
	gap: 1.5rem !important;
}

.hm-topbar p {
	margin: 0;
	white-space: nowrap;
}

.hm-topbar a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.hm-topbar a:hover {
	color: var(--wp--preset--color--amber-light);
}

.hm-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.hm-topbar__item::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: var(--wp--preset--color--amber);
	-webkit-mask: var(--hm-icon) center / contain no-repeat;
	mask: var(--hm-icon) center / contain no-repeat;
}

.hm-topbar__org {
	padding-left: 1.5rem;
	border-left: 1px solid var(--hm-line-soft);
	letter-spacing: 0.04em;
}

.hm-topbar__org::before {
	display: none;
}

.hm-ico-pin {
	--hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

.hm-ico-phone {
	--hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.hm-ico-mail {
	--hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E");
}

@media (max-width: 1180px) {
	.hm-topbar .hm-ico-mail {
		display: none;
	}
}

.hm-ico-chat {
	--hm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5l1.3-4.2A8.5 8.5 0 1 1 8 19.4z'/%3E%3C/svg%3E");
}

.hm-mainbar {
	position: relative;
	margin: 0 !important;
	background: rgba(20, 24, 29, 0.98);
	border-bottom: 1px solid var(--hm-line);
}

.hm-mainbar__inner {
	min-height: 84px;
	align-items: center !important;
	gap: 1.5rem !important;
}

.hm-logo {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.75rem;
	margin: 0 !important;
	color: #fff;
	text-decoration: none;
}

.hm-logo img {
	display: block;
	width: 46px;
	height: 46px;
	transition: transform 0.4s var(--hm-ease);
}

.hm-logo:hover img {
	transform: rotate(30deg);
}

.hm-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.hm-logo__name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.hm-logo__sub {
	margin-top: 0.3rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
}

.hm-logo--footer {
	margin-bottom: 1.25rem !important;
}

.hm-mainbar__actions {
	gap: clamp(1rem, 2vw, 1.75rem) !important;
	align-items: center !important;
}

.hm-header-cta .wp-block-button__link {
	padding: 0.7rem 1.3rem;
	font-size: 0.95rem;
	white-space: nowrap;
}

/* Desktop navigation */
.hm-nav {
	--hm-nav-gap: clamp(1rem, 1.9vw, 1.9rem);
	color: #fff;
}

.hm-nav .wp-block-navigation__container {
	gap: var(--hm-nav-gap);
}

.hm-nav .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.55rem;
	color: #e8ecf1;
	text-decoration: none;
	transition: color 0.2s;
}

.hm-nav .wp-block-navigation-item__content:hover,
.hm-nav .wp-block-navigation-item__content:focus-visible,
.hm-nav .current-menu-item > .wp-block-navigation-item__content,
.hm-nav .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--amber-light);
}

.hm-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--wp--preset--color--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--hm-ease);
}

.hm-nav .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.hm-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after,
.hm-nav .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.hm-nav .wp-block-navigation__submenu-icon {
	color: var(--wp--preset--color--amber);
	margin-left: 0.3rem;
}

.hm-nav .wp-block-navigation__submenu-container {
	min-width: 250px !important;
	padding: 0.5rem 0 !important;
	background: var(--wp--preset--color--navy) !important;
	border: 0 !important;
	border-top: 2px solid var(--wp--preset--color--amber) !important;
	box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.65);
}

.hm-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
.hm-nav .has-child:not(.open-on-click):focus-within > .wp-block-navigation__submenu-container {
	margin-top: 0.4rem;
}

.hm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.6rem 1.25rem !important;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	color: #d5dce4;
}

.hm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: rgba(240, 164, 30, 0.12);
	color: var(--wp--preset--color--amber-light);
}

/* Hamburger below 1080px (core switches at 600px — too late for 6 items). */
@media (max-width: 1079px) {
	.hm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}

	.hm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}
}

.hm-nav .wp-block-navigation__responsive-container-open {
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	color: #fff;
	border: 1px solid var(--hm-line);
	border-radius: 2px;
	transition: border-color 0.2s, background 0.2s;
}

.hm-nav .wp-block-navigation__responsive-container-open:hover {
	border-color: var(--wp--preset--color--amber);
	background: rgba(240, 164, 30, 0.12);
}

.hm-nav .wp-block-navigation__responsive-container-open svg {
	width: 26px;
	height: 26px;
}

/* Mobile overlay */
.hm-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem clamp(1.25rem, 6vw, 3rem) 2.5rem !important;
	background: var(--wp--preset--color--night) !important;
	color: #fff !important;
}

.hm-nav .wp-block-navigation__responsive-container.is-menu-open::after {
	content: "";
	position: fixed;
	right: -70px;
	bottom: -50px;
	width: 340px;
	height: 340px;
	background: url("../img/hm-mark.svg") center / contain no-repeat;
	opacity: 0.07;
	pointer-events: none;
}

.hm-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 1.1rem;
	right: clamp(1.25rem, 6vw, 3rem);
	color: #fff;
}

.hm-nav .is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 32px;
	height: 32px;
}

.hm-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.25rem !important;
	align-items: stretch !important;
}

.hm-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}

.hm-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	align-items: flex-start !important;
}

.hm-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-bottom: 1px solid var(--hm-line-soft);
}

.hm-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 0.95rem 0 !important;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
}

.hm-nav .is-menu-open .wp-block-navigation-item__content::after {
	display: none;
}

.hm-nav .is-menu-open .wp-block-navigation__submenu-container {
	width: 100%;
	min-width: 0 !important;
	margin: -0.35rem 0 0 !important;
	padding: 0 0 0.9rem 1rem !important;
	background: transparent !important;
	border: 0 !important;
	border-left: 2px solid var(--hm-line) !important;
	box-shadow: none;
}

.hm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.45rem 0 !important;
	font-size: 1.0625rem;
	color: var(--hm-muted-on-dark);
}

.hm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: none;
}

@media (max-width: 900px) {
	.hm-topbar__inner {
		justify-content: center !important;
	}

	.hm-topbar__inner > .hm-ico-pin {
		display: none;
	}
}

@media (max-width: 600px) {
	.hm-mainbar__inner {
		min-height: 68px;
	}

	.hm-logo img {
		width: 38px;
		height: 38px;
	}

	.hm-logo__name {
		font-size: 1.375rem;
	}

	.hm-logo__sub {
		font-size: 0.6875rem;
		letter-spacing: 0.16em;
	}
}

@media (max-width: 420px) {
	.hm-topbar__org {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Shared section elements
   -------------------------------------------------------------------------- */

.hm-section {
	padding-block: var(--wp--preset--spacing--60) !important;
	margin-block: 0 !important;
}

.hm-section--tight {
	padding-block: var(--wp--preset--spacing--50) !important;
}

.wp-block-post-content > .alignfull {
	margin-block: 0;
}

.hm-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.25rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber-deep);
}

.hm-eyebrow::before,
.hm-eyebrow.hm-center::after {
	content: "";
	width: 2.25rem;
	height: 6px;
	border-top: 2px solid currentColor;
	border-bottom: 1px solid currentColor;
}

.hm-center {
	text-align: center;
}

.hm-eyebrow.hm-center {
	justify-content: center;
}

.hm-dark .hm-eyebrow,
.hm-slide .hm-eyebrow {
	color: var(--wp--preset--color--amber-light);
}

.hm-rule::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 6px;
	margin-top: 1.1rem;
	border-top: 2px solid var(--wp--preset--color--amber);
	border-bottom: 1px solid var(--wp--preset--color--amber);
}

.hm-rule.hm-center::after {
	margin-inline: auto;
}

.hm-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--wp--preset--color--slate);
}

.hm-intro-head {
	max-width: 760px;
	margin-inline: 0 !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.hm-intro-head.hm-center {
	margin-inline: auto !important;
}

.hm-intro-head > * {
	margin-block: 0 !important;
}

.hm-intro-head > * + * {
	margin-top: 0.9rem !important;
}

.hm-dark {
	color: #c8d0da;
}

.hm-dark :where(h1, h2, h3, h4, h5, h6) {
	color: #fff;
}

.hm-dark a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--amber-light);
}

.hm-dark .hm-lead {
	color: #d5dce4;
}

/* Grids (explicit so the layout is identical in editor and front end) */
.hm-grid-2,
.hm-grid-3,
.hm-grid-4 {
	display: grid !important;
	gap: clamp(1rem, 2.2vw, 1.75rem);
}

.hm-grid-2 > *,
.hm-grid-3 > *,
.hm-grid-4 > * {
	margin: 0 !important;
	min-width: 0;
}

.hm-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
	.hm-grid-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.hm-grid-3,
	.hm-grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.hm-grid-2,
	.hm-grid-3,
	.hm-grid-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Buttons */
.hm-btn-ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hm-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--wp--preset--color--amber-light);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--amber-light);
}

.hm-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--night);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--night);
}

.hm-btn-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--night);
	color: #fff;
}

.hm-btn-whatsapp .wp-block-button__link {
	background: #1f9d55;
	color: #fff;
}

.hm-btn-whatsapp .wp-block-button__link:hover {
	background: #17824a;
	color: #fff;
}

.wp-element-button {
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* --------------------------------------------------------------------------
   Home: hero slider
   -------------------------------------------------------------------------- */

.hm-slider {
	position: relative;
	margin-block: 0 !important;
	background: var(--wp--preset--color--night);
}

.hm-slider > .wp-block-cover {
	margin: 0 !important;
}

.hm-slider.is-ready {
	display: grid;
	gap: 0 !important;
}

.hm-slider.is-ready > .wp-block-cover {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 0s linear 1s;
}

.hm-slider.is-ready > .wp-block-cover.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s ease;
}

.hm-slide.wp-block-cover {
	min-height: clamp(560px, 84vh, 780px) !important;
	padding-block: 5rem 7rem !important;
	align-items: center;
	overflow: hidden;
}

.hm-slide .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(96deg, rgba(11, 14, 18, 0.94) 0%, rgba(20, 24, 29, 0.78) 42%, rgba(20, 24, 29, 0.25) 100%) !important;
}

.hm-slide .wp-block-cover__image-background {
	transform: scale(1.02);
}

.hm-slide.is-active .wp-block-cover__image-background {
	animation: hm-kenburns 14s ease-out both;
}

.hm-slide .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1240px !important;
	margin-inline: auto;
}

.hm-slide .wp-block-cover__inner-container > .hm-slide__content {
	max-width: 780px !important;
	margin-inline: 0 !important;
}

.hm-slide__content > * {
	margin-block: 0 !important;
}

.hm-slide__content > * + * {
	margin-top: 1.25rem !important;
}

.hm-slide__title {
	color: #fff !important;
	font-size: var(--wp--preset--font-size--huge) !important;
	font-weight: 600;
	line-height: 1.02 !important;
}

.hm-slide__text {
	max-width: 620px;
	color: #d5dce4;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.hm-slide .wp-block-buttons {
	margin-top: 2rem !important;
}

.hm-slide.is-active .hm-slide__content > * {
	animation: hm-rise 0.9s var(--hm-ease) both;
}

.hm-slide.is-active .hm-slide__content > :nth-child(2) {
	animation-delay: 0.12s;
}

.hm-slide.is-active .hm-slide__content > :nth-child(3) {
	animation-delay: 0.24s;
}

.hm-slide.is-active .hm-slide__content > :nth-child(4) {
	animation-delay: 0.36s;
}

@keyframes hm-kenburns {
	from {
		transform: scale(1.12);
	}

	to {
		transform: scale(1.02);
	}
}

@keyframes hm-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.hm-slider__controls {
	position: absolute;
	left: 50%;
	bottom: clamp(1.5rem, 4vw, 2.75rem);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1240px, 100%);
	padding-inline: var(--wp--style--root--padding-left, 2rem);
	transform: translateX(-50%);
}

.hm-slider__dots {
	display: flex;
	gap: 1.25rem;
}

.hm-slider__dot {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.6);
	font: 600 1rem/1 var(--wp--preset--font-family--heading);
	letter-spacing: 0.1em;
	cursor: pointer;
}

.hm-slider__dot::after {
	content: "";
	width: 26px;
	height: 2px;
	background: currentColor;
	transition: width 0.4s var(--hm-ease);
}

.hm-slider__dot[aria-current="true"] {
	color: var(--wp--preset--color--amber-light);
}

.hm-slider__dot[aria-current="true"]::after {
	width: 56px;
}

.hm-slider__arrows {
	display: flex;
	gap: 0.6rem;
}

.hm-slider__arrow {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	background: rgba(20, 24, 29, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.hm-slider__arrow:hover {
	background: var(--wp--preset--color--amber);
	border-color: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--night);
}

@media (max-width: 600px) {
	.hm-slider__arrows {
		display: none;
	}

	.hm-slide.wp-block-cover {
		min-height: 600px !important;
	}
}

/* --------------------------------------------------------------------------
   Home: intro band, stats, services
   -------------------------------------------------------------------------- */

.hm-intro {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hm-intro::after {
	content: "";
	position: absolute;
	right: -120px;
	top: 50%;
	z-index: -1;
	width: 520px;
	height: 520px;
	background: url("../img/hm-mark.svg") center / contain no-repeat;
	opacity: 0.05;
	transform: translateY(-50%);
}

.hm-intro .wp-block-columns {
	gap: clamp(2rem, 6vw, 5rem);
}

.hm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.hm-chips li {
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--hm-line);
	border-radius: 2px;
	color: #e9edf2;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hm-chips li.is-main {
	background: var(--wp--preset--color--amber);
	border-color: var(--wp--preset--color--amber);
	color: var(--wp--preset--color--night);
	font-weight: 600;
}

.hm-stats {
	gap: 0 !important;
	margin: 0 !important;
}

.hm-stat {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem clamp(1rem, 3vw, 2.5rem) !important;
	border-left: 1px solid var(--wp--preset--color--stone);
}

.hm-stat:first-child {
	border-left: 0;
	padding-left: 0 !important;
}

.hm-stat > * {
	margin: 0 !important;
}

.hm-stat .wp-block-image {
	flex: none;
	width: 52px;
}

.hm-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3rem, 5.5vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--amber-deep);
}

.hm-stat__label {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--night);
}

@media (max-width: 781px) {
	.hm-stat {
		padding-inline: 0 !important;
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--stone);
	}

	.hm-stat:first-child {
		border-top: 0;
	}
}

.hm-services.wp-block-cover {
	padding-block: var(--wp--preset--spacing--60) !important;
	margin-block: 0 !important;
}

.hm-services .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(11, 14, 18, 0.95), rgba(20, 24, 29, 0.9)) !important;
}

.hm-services .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1240px !important;
	margin-inline: auto;
}

.hm-service {
	height: 100%;
	padding: 2rem 1.75rem !important;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid var(--hm-line-soft);
	transition: transform 0.35s var(--hm-ease), border-color 0.35s, background 0.35s;
}

.hm-service:hover {
	transform: translateY(-4px);
	background: rgba(240, 164, 30, 0.08);
	border-color: var(--hm-line);
}

.hm-service > * {
	margin-block: 0 !important;
}

.hm-service .wp-block-image {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin-bottom: 1.35rem !important;
	border: 1px solid var(--hm-line);
	border-radius: 50%;
}

.hm-service .wp-block-image img {
	width: 36px !important;
	height: 36px;
}

.hm-service h3 {
	margin-bottom: 0.6rem !important;
	color: #fff;
	font-size: 1.5rem;
}

.hm-service p {
	color: #b9c3cf;
	font-size: 1rem;
	line-height: 1.6;
}

/* Light variant used on the Services page */
.hm-service--light {
	background: #fff;
	border-color: var(--wp--preset--color--stone);
}

.hm-service--light:hover {
	background: #fff;
	border-color: var(--wp--preset--color--amber-light);
	box-shadow: var(--hm-shadow);
}

.hm-service--light h3 {
	color: var(--wp--preset--color--night);
}

.hm-service--light p {
	color: var(--wp--preset--color--slate);
}

.hm-service__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--wp--preset--color--amber-deep);
	margin-bottom: 0.4rem !important;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.hm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wp--preset--color--stone);
	transition: transform 0.35s var(--hm-ease), box-shadow 0.35s var(--hm-ease), border-color 0.35s;
}

.hm-card:hover,
.hm-card:focus-within {
	transform: translateY(-4px);
	border-color: var(--wp--preset--color--amber-light);
	box-shadow: var(--hm-shadow);
}

.hm-card > .wp-block-image {
	margin: 0 !important;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--stone);
}

.hm-card > .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--hm-ease);
}

.hm-card:hover > .wp-block-image img {
	transform: scale(1.06);
}

.hm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0 !important;
	padding: 1.35rem 1.5rem 1.5rem !important;
}

.hm-card__body > * {
	margin: 0 !important;
}

.hm-card h2,
.hm-card h3 {
	font-size: 1.625rem;
}

.hm-card p {
	color: var(--wp--preset--color--slate);
	font-size: 1rem;
	line-height: 1.6;
}

.hm-card .hm-more {
	margin-top: auto !important;
	padding-top: 0.5rem;
}

.hm-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--amber-deep);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
}

.hm-more a::after {
	content: "→";
	transition: transform 0.25s var(--hm-ease);
}

.hm-card .hm-more a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hm-card:hover .hm-more a::after {
	transform: translateX(5px);
}

.hm-card--lg h2,
.hm-card--lg h3 {
	font-size: 2rem;
}

.hm-card--lg > .wp-block-image {
	aspect-ratio: 16 / 11;
}

.hm-card--sm h3 {
	font-size: 1.375rem;
}

.hm-card--sm .hm-card__body {
	padding: 1.1rem 1.25rem 1.25rem !important;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.hm-cta {
	position: relative;
	margin-block: 0 !important;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--amber);
}

.hm-cta::before {
	content: "";
	position: absolute;
	inset: 12px;
	z-index: -1;
	border: 1px solid rgba(20, 24, 29, 0.3);
	pointer-events: none;
}

.hm-cta::after {
	content: "";
	position: absolute;
	right: -40px;
	top: 50%;
	z-index: -1;
	width: 360px;
	height: 360px;
	background: url("../img/hm-mark.svg") center / contain no-repeat;
	filter: brightness(0);
	opacity: 0.08;
	transform: translateY(-50%);
}

.hm-cta__inner {
	align-items: center !important;
	gap: 1.5rem 3rem !important;
}

.hm-cta__inner > .wp-block-group > * {
	margin-block: 0 !important;
}

.hm-cta__inner > .wp-block-group > * + * {
	margin-top: 0.5rem !important;
}

.hm-cta h2 {
	color: var(--wp--preset--color--night);
	font-size: var(--wp--preset--font-size--x-large);
}

.hm-cta p {
	color: rgba(20, 24, 29, 0.82);
	font-size: 1.0625rem;
}

.hm-cta .wp-block-button__link {
	background: var(--wp--preset--color--night);
	color: #fff;
}

.hm-cta .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--amber-light);
}

.hm-cta .hm-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--night);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--night);
}

.hm-cta .hm-btn-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--night);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */

.hm-page-hero {
	position: relative;
	margin: 0 !important;
	padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem) !important;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--night) url("../img/page-hero.jpg") center / cover no-repeat;
}

.hm-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(11, 14, 18, 0.95) 0%, rgba(20, 24, 29, 0.82) 50%, rgba(20, 24, 29, 0.5) 100%);
}

.hm-page-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	border-top: 2px solid var(--wp--preset--color--amber);
	border-bottom: 1px solid var(--wp--preset--color--amber);
	background: var(--wp--preset--color--night);
}

.hm-page-hero > * {
	max-width: 1240px !important;
}

.hm-page-hero__title {
	margin-top: 0 !important;
	color: #fff !important;
	font-size: clamp(2.375rem, 5.5vw, 4.25rem) !important;
	max-width: 22ch;
}

.hm-breadcrumbs {
	margin-bottom: 1rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hm-muted-on-dark);
}

.hm-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hm-breadcrumbs li + li::before {
	content: "/";
	margin: 0 0.7rem;
	color: var(--wp--preset--color--amber);
}

.hm-breadcrumbs a {
	color: var(--wp--preset--color--amber-light);
	text-decoration: none;
}

.hm-breadcrumbs a:hover {
	color: #fff;
}

/* Product page */
.hm-product .wp-block-columns {
	gap: clamp(2rem, 5vw, 4rem);
}

.hm-gallery.wp-block-gallery {
	gap: 0.6rem !important;
	margin: 0 !important;
}

.hm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0;
	width: calc(33.333% - 0.4rem) !important;
}

.hm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:first-child {
	width: 100% !important;
}

.hm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hm-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:first-child img {
	aspect-ratio: 16 / 11;
}

.hm-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 0.95rem;
	background: var(--wp--preset--color--paper);
	border-left: 3px solid var(--wp--preset--color--amber);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--night);
}

.hm-product__info > * {
	margin-block: 0 !important;
}

.hm-product__info > * + * {
	margin-top: 1.25rem !important;
}

.hm-product__info .wp-block-buttons {
	margin-top: 1.75rem !important;
}

.hm-facts {
	margin: 0;
	padding: 0 !important;
	list-style: none;
	border-top: 1px solid var(--wp--preset--color--stone);
}

.hm-facts li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--wp--preset--color--stone);
}

.hm-facts li strong {
	font-weight: 600;
	color: var(--wp--preset--color--night);
}

/* Tables */
.wp-block-table {
	overflow-x: auto;
	margin-block: 0;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.wp-block-table td,
.wp-block-table th {
	padding: 0.7rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--stone);
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead {
	border: 0;
}

.wp-block-table thead th {
	background: var(--wp--preset--color--night);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.wp-block-table tbody tr:nth-child(even) td {
	background: var(--wp--preset--color--paper);
}

.hm-specs td:first-child {
	font-weight: 600;
	color: var(--wp--preset--color--night);
}

.hm-specs th:last-child,
.hm-specs td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.hm-data table {
	min-width: 720px;
}

.hm-data td,
.hm-data th {
	text-align: center;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.hm-data td:first-child,
.hm-data th:first-child {
	text-align: left;
}

.wp-block-table figcaption {
	margin-top: 0.6rem;
	text-align: left;
}

/* About page */
.hm-panel {
	height: 100%;
	padding: clamp(2rem, 4vw, 3.25rem) !important;
}

.hm-panel > * {
	margin-block: 0 !important;
}

.hm-panel > * + * {
	margin-top: 1.25rem !important;
}

.hm-checks {
	margin: 0;
	padding: 0 !important;
	list-style: none;
	columns: 2;
	column-gap: 2rem;
}

.hm-checks li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.9rem;
	break-inside: avoid;
}

.hm-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72rem;
	width: 1.1rem;
	height: 1.1rem;
	background: var(--wp--preset--color--amber);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 480px) {
	.hm-checks {
		columns: 1;
	}
}

.hm-prose > * {
	margin-block: 0 !important;
}

.hm-prose > * + * {
	margin-top: 1.1rem !important;
}

.hm-prose > h2,
.hm-prose > h3 {
	margin-top: 2.25rem !important;
}

/* Contact page */
.hm-contact-list {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.hm-contact-list li {
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--wp--preset--color--stone);
	line-height: 1.5;
}

.hm-contact-list li strong {
	display: block;
	margin-bottom: 0.15rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber-deep);
}

.hm-contact-list a {
	color: var(--wp--preset--color--night);
	text-decoration: none;
	font-weight: 500;
}

.hm-contact-list a:hover {
	color: var(--wp--preset--color--amber-deep);
}

.hm-notice {
	padding: 1.35rem 1.5rem !important;
	background: #fdf4f2;
	border-left: 4px solid #b42318;
	color: #5b1a12;
	font-size: 0.975rem;
}

.hm-notice > * {
	margin-block: 0 !important;
}

.hm-notice > * + * {
	margin-top: 0.6rem !important;
}

.hm-notice h3 {
	color: #b42318;
	font-size: 1.375rem;
}

.hm-form-card {
	padding: clamp(1.5rem, 4vw, 2.75rem) !important;
	background: var(--wp--preset--color--paper);
	border-top: 3px solid var(--wp--preset--color--amber);
}

.hm-form-card > * {
	margin-block: 0 !important;
}

.hm-form-card > * + * {
	margin-top: 1rem !important;
}

.hm-map {
	margin-block: 0 !important;
	line-height: 0;
}

.hm-map iframe {
	display: block;
	width: 100%;
	height: clamp(320px, 42vw, 460px);
	border: 0;
	filter: grayscale(0.4) contrast(1.05);
}

/* Contact Form 7 */
.wpcf7 form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem 1.25rem;
}

.wpcf7 form > fieldset.hidden-fields-container {
	display: none;
}

.wpcf7 .hm-field--full,
.wpcf7 .wpcf7-response-output,
.wpcf7 .screen-reader-response {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.wpcf7 form {
		grid-template-columns: minmax(0, 1fr);
	}
}

.hm-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--night);
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	background: #fff;
	border: 1px solid #d4cdbe;
	border-radius: 2px;
	color: var(--wp--preset--color--ink);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--amber);
	box-shadow: 0 0 0 3px rgba(240, 164, 30, 0.25);
}

.wpcf7 textarea {
	min-height: 160px;
	resize: vertical;
}

.wpcf7 .wpcf7-submit {
	border: 0;
	cursor: pointer;
}

.wpcf7-not-valid-tip {
	margin-top: 0.3rem;
	font-size: 0.875rem;
	color: #b42318;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 0.8rem 1rem;
	border-radius: 2px;
}

.wpcf7-spinner {
	vertical-align: middle;
}

/* Useful pages */
.hm-figure-center {
	margin-inline: auto !important;
	text-align: center;
}

.hm-truck {
	align-items: center;
	padding: 1.5rem !important;
	background: #fff;
	border: 1px solid var(--wp--preset--color--stone);
}

.hm-truck .wp-block-image {
	margin: 0 !important;
}

.hm-terms > .wp-block-group {
	margin: 0 !important;
	padding: 1.5rem 1.6rem !important;
	background: #fff;
	border: 1px solid var(--wp--preset--color--stone);
	border-top: 3px solid var(--wp--preset--color--amber);
}

.hm-terms > .wp-block-group > * {
	margin-block: 0 !important;
}

.hm-terms > .wp-block-group > * + * {
	margin-top: 0.6rem !important;
}

.hm-terms h2 {
	font-size: 1.5rem;
}

.hm-terms p {
	color: var(--wp--preset--color--slate);
	font-size: 1rem;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.hm-site-footer {
	margin-top: 0;
}

.hm-footer {
	margin: 0 !important;
	background: var(--wp--preset--color--night);
	color: var(--hm-muted-on-dark);
	font-size: 0.975rem;
}

.hm-footer > * {
	margin: 0 !important;
}

.hm-features {
	padding-block: 2.5rem !important;
	border-bottom: 1px solid var(--hm-line-soft);
}

.hm-features__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.75rem 2rem;
}

.hm-features__grid > * {
	margin: 0 !important;
}

.hm-feature {
	gap: 1rem !important;
	align-items: flex-start !important;
}

.hm-feature .wp-block-image {
	flex: none;
	margin: 0 !important;
}

.hm-feature .wp-block-group > * {
	margin: 0 !important;
}

.hm-feature .hm-feature__title {
	margin-bottom: 0.2rem !important;
	color: #fff;
	font-size: 1.25rem;
	letter-spacing: 0.05em;
}

.hm-feature p {
	font-size: 0.9375rem;
	line-height: 1.5;
}

.hm-footer__main {
	padding-block: clamp(3rem, 6vw, 4.5rem) !important;
}

.hm-footer__grid {
	display: grid !important;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 2.5rem;
}

.hm-footer__grid > * {
	margin: 0 !important;
}

.hm-footer__grid .wp-block-group > * {
	margin-block: 0 !important;
}

.hm-footer__grid .wp-block-group > * + * {
	margin-top: 1rem !important;
}

.hm-footer__brand .hm-logo {
	margin-bottom: 1.25rem !important;
}

.hm-footer__brand p {
	max-width: 34ch;
}

.hm-footer .hm-footer__title {
	margin-bottom: 1.25rem !important;
	color: #fff;
	font-size: 1.25rem;
	letter-spacing: 0.14em;
}

.hm-footer__title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 5px;
	margin-top: 0.65rem;
	border-top: 2px solid var(--wp--preset--color--amber);
	border-bottom: 1px solid var(--wp--preset--color--amber);
}

.hm-footer ul {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.hm-footer li + li {
	margin-top: 0.55rem;
}

.hm-footer a {
	color: #d5dce4;
	text-decoration: none;
	transition: color 0.2s;
}

.hm-footer a:hover {
	color: var(--wp--preset--color--amber-light);
}

.hm-footer strong {
	color: #fff;
	font-weight: 600;
}

.hm-footer__bottom {
	padding-block: 1.25rem !important;
	border-top: 1px solid var(--hm-line-soft);
	font-size: 0.875rem;
}

.hm-footer__bottom-inner {
	gap: 0.4rem 1.5rem !important;
}

.hm-footer__bottom p {
	margin: 0;
}

@media (max-width: 1000px) {
	.hm-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.hm-features__grid,
	.hm-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hm-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start !important;
	}
}

/* Floating WhatsApp button */
.hm-whatsapp {
	position: fixed;
	right: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
	transition: transform 0.25s var(--hm-ease);
}

.hm-whatsapp::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid #25d366;
	border-radius: 50%;
	animation: hm-pulse 2.6s ease-out infinite;
}

.hm-whatsapp:hover {
	transform: scale(1.07);
	color: #fff;
}

.hm-whatsapp svg {
	width: 30px;
	height: 30px;
}

.has-modal-open .hm-whatsapp {
	display: none;
}

@keyframes hm-pulse {
	from {
		opacity: 0.7;
		transform: scale(1);
	}

	to {
		opacity: 0;
		transform: scale(1.55);
	}
}

@media (max-width: 600px) {
	.hm-whatsapp {
		width: 52px;
		height: 52px;
	}

	.hm-whatsapp svg {
		width: 27px;
		height: 27px;
	}
}

/* --------------------------------------------------------------------------
   Editor tweaks
   -------------------------------------------------------------------------- */

.editor-styles-wrapper .hm-slider > .wp-block-cover + .wp-block-cover {
	margin-top: 4px !important;
}
