/* ==========================================================================
   Hapticsad Construction Manager — Website styles
   Fonts are inherited from the theme so everything matches the site.
   ========================================================================== */

.hcm {
	--hcm-ink: #172033;
	--hcm-text: #3d4656;
	--hcm-muted: #6b7484;
	--hcm-line: #e3e6ec;
	--hcm-soft: #f5f6f8;
	--hcm-green: #12805c;
	--hcm-green-bg: #e3f5ee;
	--hcm-amber: #a85a06;
	--hcm-amber-bg: #fdf0dc;
	--hcm-amber-bar: #e08a12;
	--hcm-blue: #2457c5;
	--hcm-blue-bg: #e5edfc;
	--hcm-tint: color-mix(in srgb, var(--hcm-primary) 12%, #fff);
	color: var(--hcm-text);
	line-height: 1.55;
}
.hcm *, .hcm *::before, .hcm *::after { box-sizing: border-box; }
.hcm [hidden] { display: none !important; }
.hcm .hcm-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hcm img { max-width: 100%; height: auto; }
.hcm h3, .hcm h4 { margin: 0; color: var(--hcm-ink); }
.hcm p { margin: 0; }
.hcm ul { list-style: none; margin: 0; padding: 0; }
.hcm li { margin: 0; }
.hcm .hcm-ico { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.hcm a:focus-visible, .hcm button:focus-visible, .hcm summary:focus-visible, .hcm select:focus-visible, .hcm input:focus-visible {
	outline: 2px solid var(--hcm-primary);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Buttons (high specificity to resist theme button styles)
   -------------------------------------------------------------------------- */
.hcm a.hcm-btn:not(#hcm), .hcm button.hcm-btn:not(#hcm) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: var(--hcm-radius-sm);
	font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.1;
	text-decoration: none; text-transform: none; letter-spacing: normal;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .18s, color .18s, border-color .18s;
}
.hcm a.hcm-btn--primary:not(#hcm), .hcm button.hcm-btn--primary:not(#hcm) { background: var(--hcm-primary); color: var(--hcm-on-primary); }
.hcm a.hcm-btn--primary:not(#hcm):hover, .hcm button.hcm-btn--primary:not(#hcm):hover { background: color-mix(in srgb, var(--hcm-primary) 86%, #000); color: var(--hcm-on-primary); }
.hcm a.hcm-btn--line:not(#hcm), .hcm button.hcm-btn--line:not(#hcm) { background: transparent; color: var(--hcm-ink); border-color: var(--hcm-line); }
.hcm a.hcm-btn--line:not(#hcm):hover, .hcm button.hcm-btn--line:not(#hcm):hover { border-color: var(--hcm-ink); background: transparent; color: var(--hcm-ink); }
.hcm button.hcm-text-btn:not(#hcm) {
	background: none; border: 0; padding: 4px 0; margin: 0;
	color: var(--hcm-ink); font: inherit; font-size: 14px; font-weight: 600;
	text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hcm-line);
	cursor: pointer; box-shadow: none;
}
.hcm button.hcm-text-btn:not(#hcm):hover { background: none; color: var(--hcm-ink); text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   Pricing cards
   -------------------------------------------------------------------------- */
/* Columns adapt to the width of the container (Elementor column, theme content area…):
   never more than the requested count, fewer when there is not enough room. */
.hcm-pricing-grid, .hcm-project-grid {
	--hcm-gap: 22px;
	display: grid;
	gap: var(--hcm-gap);
	align-items: stretch;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--hcm-min), calc((100% - (var(--hcm-max) - 1) * var(--hcm-gap)) / var(--hcm-max)))), 1fr));
}
.hcm-pricing-grid { --hcm-min: 250px; }
.hcm-project-grid { --hcm-min: 270px; --hcm-gap: 24px; }
.hcm-cols-1 { --hcm-max: 1; }
.hcm-cols-2 { --hcm-max: 2; }
.hcm-cols-3 { --hcm-max: 3; }
.hcm-cols-4 { --hcm-max: 4; }
.hcm-project-grid.hcm-cols-4 { --hcm-min: 230px; --hcm-gap: 20px; }
.hcm-pricing-grid.hcm-cols-1 { max-width: 460px; margin-inline: auto; }

.hcm-price-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--hcm-line);
	border-radius: var(--hcm-radius);
	overflow: hidden;
}
.hcm-price-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hcm-soft); }
.hcm .hcm-price-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.hcm-price-body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.hcm-price-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hcm .hcm-price-name { font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.hcm-price-badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--hcm-primary); color: var(--hcm-on-primary);
	font-size: 12.5px; font-weight: 700;
	white-space: nowrap;
}
.hcm-price-tagline { margin-top: 8px !important; color: var(--hcm-muted); font-size: 14.5px; }

.hcm-price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; margin-top: 22px; color: var(--hcm-ink); }
.hcm-price-cur { white-space: pre; font-size: 24px; font-weight: 600; align-self: flex-start; margin-top: 6px; }
.hcm-price-num { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hcm-price-unit { margin-left: 8px; color: var(--hcm-muted); font-size: 15px; font-weight: 500; }
.hcm-price-ask { font-size: 26px; font-weight: 700; }

/* The measuring-tape line: the signature detail of the price card. */
.hcm-ruler {
	display: block;
	height: 12px;
	margin: 18px 0 20px;
	border-bottom: 1.5px solid var(--hcm-line);
	background-image:
		repeating-linear-gradient(90deg, var(--hcm-line) 0 1.5px, transparent 1.5px 50px),
		repeating-linear-gradient(90deg, var(--hcm-line) 0 1px, transparent 1px 10px);
	background-size: 100% 12px, 100% 6px;
	background-position: left bottom, left bottom;
	background-repeat: no-repeat;
}

.hcm-price-list { display: grid; gap: 11px; margin-bottom: 24px !important; }
.hcm-price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.hcm-price-list .hcm-ico { margin-top: 3px; color: var(--hcm-green); }
.hcm-price-actions { display: grid; gap: 10px; margin-top: auto; }

/* Recommended card — inverted onto the dark brand color. */
.hcm-price-card.is-featured { background: var(--hcm-dark); border-color: var(--hcm-dark); color: color-mix(in srgb, var(--hcm-on-dark) 82%, transparent); }
.hcm-price-card.is-featured .hcm-price-name,
.hcm-price-card.is-featured .hcm-price-amount { color: var(--hcm-on-dark); }
.hcm-price-card.is-featured .hcm-price-tagline,
.hcm-price-card.is-featured .hcm-price-unit { color: color-mix(in srgb, var(--hcm-on-dark) 65%, transparent); }
.hcm-price-card.is-featured .hcm-ruler {
	border-bottom-color: var(--hcm-primary);
	background-image:
		repeating-linear-gradient(90deg, var(--hcm-primary) 0 1.5px, transparent 1.5px 50px),
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--hcm-on-dark) 30%, transparent) 0 1px, transparent 1px 10px);
}
.hcm-price-card.is-featured .hcm-price-list .hcm-ico { color: var(--hcm-primary); }
.hcm-price-card.is-featured button.hcm-btn--line:not(#hcm) { background: transparent; color: var(--hcm-on-dark); border-color: color-mix(in srgb, var(--hcm-on-dark) 30%, transparent); }
.hcm-price-card.is-featured button.hcm-btn--line:not(#hcm):hover { background: transparent; color: var(--hcm-on-dark); border-color: var(--hcm-on-dark); }

/* --------------------------------------------------------------------------
   Packages — default layout: colour card + accordion under each card
   -------------------------------------------------------------------------- */
.hcm-pk-grid {
	--hcm-gap: 28px;
	--hcm-min: 250px;
	display: grid;
	gap: 40px var(--hcm-gap);
	align-items: start;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--hcm-min), calc((100% - (var(--hcm-max) - 1) * var(--hcm-gap)) / var(--hcm-max)))), 1fr));
}
.hcm-pk-grid.hcm-cols-1 { max-width: 480px; margin-inline: auto; }
.hcm-pk-card { display: flex; flex-direction: column; min-width: 0; }

/* Coloured head with the photo tinted underneath */
.hcm-pk-head {
	position: relative;
	margin: 0 8px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 18px;
	border-radius: var(--hcm-radius) var(--hcm-radius) 0 0;
	background-color: var(--hcm-dark);
	background-image: linear-gradient(color-mix(in srgb, var(--hcm-dark) 88%, transparent), color-mix(in srgb, var(--hcm-dark) 88%, transparent));
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	container-type: inline-size;
}
.hcm-pk-head.has-image {
	background-image:
		linear-gradient(color-mix(in srgb, var(--hcm-dark) 84%, transparent), color-mix(in srgb, var(--hcm-dark) 84%, transparent)),
		var(--hcm-pk-bg);
}
.hcm-pk-card.is-featured .hcm-pk-head {
	background-color: var(--hcm-primary);
	background-image: linear-gradient(color-mix(in srgb, var(--hcm-primary) 88%, transparent), color-mix(in srgb, var(--hcm-primary) 88%, transparent));
}
.hcm-pk-card.is-featured .hcm-pk-head.has-image {
	background-image:
		linear-gradient(color-mix(in srgb, var(--hcm-primary) 82%, transparent), color-mix(in srgb, var(--hcm-primary) 82%, transparent)),
		var(--hcm-pk-bg);
}
.hcm-pk-head-inner { position: relative; z-index: 1; width: 100%; }
.hcm .hcm-pk-name {
	margin: 0 0 6px;
	color: var(--hcm-accent);
	font-size: clamp(22px, 2.4vw, 40px);
	font-size: clamp(20px, 12.5cqi, 44px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.hcm .hcm-pk-price {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 2.6vw, 48px);
	font-size: clamp(22px, 14cqi, 58px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.01em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 3px 14px rgba(0,0,0,.25);
}
.hcm-pk-cur { white-space: pre; }
.hcm-pk-unit { font-size: .82em; }
.hcm .hcm-pk-price--ask { font-size: clamp(22px, 2vw, 30px); white-space: normal; }
.hcm-pk-tagline { margin-top: 14px !important; font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.45; }
.hcm-pk-card.is-featured .hcm-pk-name { color: #fff; }
.hcm-pk-card.is-featured .hcm-pk-price { color: var(--hcm-dark); text-shadow: none; }
.hcm-pk-card.is-featured .hcm-pk-tagline { color: rgba(255,255,255,.92); }

/* Corner ribbon */
.hcm-pk-ribbon {
	position: absolute;
	top: -8px;
	left: -8px;
	width: 170px;
	height: 170px;
	overflow: hidden;
	z-index: 2;
	pointer-events: none;
}
.hcm-pk-ribbon::before, .hcm-pk-ribbon::after {
	content: "";
	position: absolute;
	z-index: -1;
	border: 4px solid color-mix(in srgb, var(--hcm-ribbon) 65%, #000);
	border-top-color: transparent;
	border-left-color: transparent;
}
.hcm-pk-ribbon::before { top: 0; right: 0; }
.hcm-pk-ribbon::after { bottom: 0; left: 0; }
.hcm-pk-ribbon > span {
	position: absolute;
	top: 48px;
	left: -62px;
	display: block;
	width: 270px;
	padding: 9px 30px;
	background: var(--hcm-ribbon);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transform: rotate(-45deg);
	box-shadow: 0 5px 12px rgba(0,0,0,.2);
}

/* Accordion */
.hcm-pk-acc { background: var(--hcm-dark); }
.hcm-pk-item + .hcm-pk-item { border-top: 1px solid rgba(255,255,255,.12); }
.hcm .hcm-pk-item-h { margin: 0; padding: 0; font: inherit; line-height: 1; }
.hcm button.hcm-pk-toggle:not(#hcm) {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 0;
	background: var(--hcm-dark);
	color: #fff;
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: .01em;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s;
}
.hcm button.hcm-pk-toggle:not(#hcm):hover { background: color-mix(in srgb, var(--hcm-dark) 86%, #fff); color: #fff; }
.hcm .hcm-pk-item.is-open button.hcm-pk-toggle:not(#hcm) { background: var(--hcm-primary); color: #fff; }
.hcm button.hcm-pk-toggle:not(#hcm):focus-visible { outline: 2px solid var(--hcm-accent); outline-offset: -4px; }
.hcm-pk-sign { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.hcm-pk-sign::before, .hcm-pk-sign::after {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .25s;
}
.hcm-pk-sign::after { transform: rotate(90deg); }
.hcm-pk-item.is-open .hcm-pk-sign::after { transform: rotate(0deg); opacity: 0; }
.hcm-pk-label { flex: 1; min-width: 0; }

.hcm-pk-pane {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	background: #fff;
	transition: grid-template-rows .35s ease, visibility 0s linear .35s;
}
.hcm-pk-item.is-open > .hcm-pk-pane {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows .35s ease, visibility 0s;
}
.hcm-pk-pane-inner { min-height: 0; overflow: hidden; }
.hcm-pk-list { padding: 28px 30px !important; }
.hcm .hcm-pk-list li {
	margin: -1px 0 0;
	padding: 13px 18px;
	border: 1px solid var(--hcm-line);
	color: var(--hcm-ink);
	font-size: 15.5px;
	line-height: 1.45;
	letter-spacing: .01em;
}
.hcm .hcm-pk-list li:first-child { margin-top: 0; }
.hcm .hcm-pk-list li.is-sub { background: var(--hcm-soft); font-weight: 700; font-size: 14.5px; }

.hcm-pk-foot { padding-top: 16px; }
.hcm a.hcm-pk-cta:not(#hcm) { width: 100%; }

@media (max-width: 640px) {
	.hcm-pk-head { aspect-ratio: 5 / 4; }
	.hcm-pk-list { padding: 20px 18px !important; }
	.hcm button.hcm-pk-toggle:not(#hcm) { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Specifications
   -------------------------------------------------------------------------- */
.hcm-specs { margin-top: 56px; scroll-margin-top: 110px; }
.hcm-pricing-grid + .hcm-specs { padding-top: 0; }
.hcm-specs:first-child { margin-top: 0; }
.hcm-specs-head { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.hcm .hcm-specs-title { font-size: 26px; font-weight: 700; letter-spacing: -.015em; }

.hcm-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: calc(var(--hcm-radius-sm) + 5px); background: var(--hcm-soft); }
.hcm button.hcm-tab:not(#hcm) {
	padding: 10px 18px;
	border: 0; border-radius: var(--hcm-radius-sm);
	background: transparent;
	color: var(--hcm-muted);
	font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
	text-transform: none; letter-spacing: normal;
	cursor: pointer; box-shadow: none;
	transition: background-color .15s, color .15s;
}
.hcm button.hcm-tab:not(#hcm):hover { background: rgba(0,0,0,.04); color: var(--hcm-ink); }
.hcm button.hcm-tab:not(#hcm).is-active { background: #fff; color: var(--hcm-ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }

.hcm-specs-panel { border: 1px solid var(--hcm-line); border-radius: var(--hcm-radius); background: #fff; overflow: hidden; }
.hcm-specs-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--hcm-line); background: var(--hcm-soft); }
.hcm-specs-panel-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hcm-specs-panel-name strong { font-size: 18px; color: var(--hcm-ink); }
.hcm-specs-panel-name > span { display: inline-flex; align-items: baseline; gap: 2px; color: var(--hcm-ink); font-weight: 700; }
.hcm-specs-panel-name .hcm-price-cur { font-size: 15px; margin: 0; align-self: auto; }
.hcm-specs-panel-name .hcm-price-num { font-size: 18px; letter-spacing: 0; font-weight: 700; }
.hcm-specs-panel-name .hcm-price-unit { font-size: 13px; margin-left: 4px; }

.hcm-acc { border-bottom: 1px solid var(--hcm-line); }
.hcm-acc:last-child { border-bottom: 0; }
.hcm-acc summary {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 24px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background-color .15s;
}
.hcm-acc summary::-webkit-details-marker { display: none; }
.hcm-acc summary::marker { content: ""; }
.hcm-acc summary:hover { background: var(--hcm-soft); }
.hcm-acc-icon { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: var(--hcm-radius-sm); background: var(--hcm-tint); color: color-mix(in srgb, var(--hcm-primary) 55%, var(--hcm-ink)); }
.hcm-acc-title { flex: 1; font-size: 16.5px; font-weight: 650; color: var(--hcm-ink); }
.hcm-acc-count { min-width: 28px; padding: 2px 9px; border-radius: 999px; background: var(--hcm-soft); color: var(--hcm-muted); font-size: 12.5px; font-weight: 600; text-align: center; }
.hcm-acc-chev { color: var(--hcm-muted); display: inline-flex; transition: transform .2s; }
.hcm-acc[open] .hcm-acc-chev { transform: rotate(180deg); }
.hcm-acc[open] summary { background: transparent; }
.hcm-acc-body { padding: 0 24px 20px 78px; }
.hcm-spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px 32px; }
.hcm-spec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.hcm-spec-list li.is-sub { grid-column: 1 / -1; font-weight: 700; color: var(--hcm-ink); font-size: 14px; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--hcm-line); }
.hcm-spec-list li.is-sub:first-child { margin-top: 0; }
.hcm-tick { width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: var(--hcm-green-bg); color: var(--hcm-green); }
.hcm-acc.is-extra .hcm-acc-icon { background: var(--hcm-amber-bg); color: var(--hcm-amber); }
.hcm-acc.is-extra .hcm-tick { background: var(--hcm-amber-bg); color: var(--hcm-amber); }

/* --------------------------------------------------------------------------
   Inline price & counters
   -------------------------------------------------------------------------- */
.hcm-inline-price-value { white-space: nowrap; }
.hcm.hcm-counter { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }

.hcm.hcm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 0; border: 1px solid var(--hcm-line); border-radius: var(--hcm-radius); background: #fff; overflow: hidden; }
.hcm-stats .hcm-stat { display: grid; gap: 4px; padding: 26px 24px; box-shadow: 1px 0 0 var(--hcm-line), 0 1px 0 var(--hcm-line); }
.hcm-stats .hcm-stat-icon { color: var(--hcm-primary); margin-bottom: 6px; }
.hcm-stats .hcm-stat-value { font-size: 36px; font-weight: 800; color: var(--hcm-ink); line-height: 1.05; letter-spacing: -.03em; }
.hcm-stats .hcm-stat-label { color: var(--hcm-muted); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Project grid
   -------------------------------------------------------------------------- */
.hcm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hcm button.hcm-filter-btn:not(#hcm) {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px;
	border: 1.5px solid var(--hcm-line); border-radius: 999px;
	background: #fff; color: var(--hcm-text);
	font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
	text-transform: none; letter-spacing: normal;
	cursor: pointer; box-shadow: none;
	transition: border-color .15s, background-color .15s, color .15s;
}
.hcm button.hcm-filter-btn:not(#hcm):hover { border-color: var(--hcm-ink); background: #fff; color: var(--hcm-ink); }
.hcm button.hcm-filter-btn:not(#hcm).is-active { background: var(--hcm-dark); border-color: var(--hcm-dark); color: var(--hcm-on-dark); }
.hcm-filter-btn > span { font-size: 12.5px; padding: 1px 8px; border-radius: 999px; background: var(--hcm-soft); color: var(--hcm-muted); }
.hcm-filter-btn.is-active > span { background: rgba(255,255,255,.16); color: inherit; }
.hcm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.hcm-dot--completed { background: var(--hcm-green); }
.hcm-dot--ongoing { background: var(--hcm-amber-bar); }
.hcm-dot--upcoming { background: var(--hcm-blue); }



.hcm-project-card {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--hcm-line);
	border-radius: var(--hcm-radius);
	overflow: hidden;
	transition: border-color .2s;
}
.hcm-project-card:hover { border-color: color-mix(in srgb, var(--hcm-ink) 30%, var(--hcm-line)); }
.hcm-project-card[hidden] { display: none; }
.hcm-project-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hcm-soft); }
.hcm .hcm-project-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; display: block; transition: transform .5s ease; }
.hcm-project-card:hover .hcm-project-media img { transform: scale(1.04); }
.hcm-project-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #b7bec9; }

.hcm-status {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 5px 12px 5px 10px;
	border-radius: 999px;
	font-size: 13px; font-weight: 700; line-height: 1.2;
	background: #fff;
}
.hcm-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.hcm-project-media .hcm-status { position: absolute; top: 14px; left: 14px; box-shadow: 0 2px 8px rgba(16,24,40,.18); }
.hcm-status--completed { color: var(--hcm-green); }
.hcm-status--completed::before { background: var(--hcm-green); }
.hcm-status--ongoing { color: var(--hcm-amber); }
.hcm-status--ongoing::before { background: var(--hcm-amber-bar); animation: hcm-pulse 1.8s ease-in-out infinite; }
.hcm-status--upcoming { color: var(--hcm-blue); }
.hcm-status--upcoming::before { background: var(--hcm-blue); }
.hcm-single .hcm-status--completed { background: var(--hcm-green-bg); }
.hcm-single .hcm-status--ongoing { background: var(--hcm-amber-bg); }
.hcm-single .hcm-status--upcoming { background: var(--hcm-blue-bg); }
@keyframes hcm-pulse { 50% { opacity: .35; } }

.hcm-project-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.hcm-project-type { font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--hcm-primary) 60%, var(--hcm-ink)); }
.hcm .hcm-project-title { font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.005em; }
.hcm .hcm-project-title a { color: var(--hcm-ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s; }
.hcm .hcm-project-title a:hover { background-size: 100% 1.5px; color: var(--hcm-ink); }
.hcm-project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--hcm-muted); font-size: 14px; }
.hcm-project-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hcm-project-date { display: flex; align-items: center; gap: 7px; color: var(--hcm-muted); font-size: 13.5px; }
.hcm-project-actions { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--hcm-line); }
.hcm button.hcm-project-more:not(#hcm) { width: 100%; min-height: 44px; }
.hcm button.hcm-project-more:not(#hcm):hover { background: var(--hcm-dark); border-color: var(--hcm-dark); color: var(--hcm-on-dark); }
.hcm button.hcm-project-media:not(#hcm) { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: var(--hcm-soft); cursor: pointer; box-shadow: none; text-align: left; }

.hcm-progress { display: grid; gap: 7px; }
.hcm-progress-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--hcm-muted); }
.hcm-progress-top strong { color: var(--hcm-ink); font-variant-numeric: tabular-nums; }
.hcm-progress-track { height: 8px; border-radius: 99px; background: var(--hcm-amber-bg); overflow: hidden; }
.hcm-progress-bar {
	display: block; height: 100%;
	width: var(--hcm-progress);
	border-radius: inherit;
	background: repeating-linear-gradient(-45deg, var(--hcm-amber-bar) 0 8px, color-mix(in srgb, var(--hcm-amber-bar) 82%, #fff) 8px 16px);
}
.hcm-js .hcm-progress-bar { width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.hcm-js .hcm-progress.is-visible .hcm-progress-bar { width: var(--hcm-progress); }

.hcm-grid-empty { padding: 40px 20px; text-align: center; color: var(--hcm-muted); border: 1.5px dashed var(--hcm-line); border-radius: var(--hcm-radius); }
.hcm-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.hcm-empty-front { padding: 40px 20px; text-align: center; color: var(--hcm-muted); border: 1.5px dashed var(--hcm-line); border-radius: var(--hcm-radius, 14px); }

/* --------------------------------------------------------------------------
   Single project page
   -------------------------------------------------------------------------- */
.hcm-single { margin: 0 0 24px; }
.hcm-gallery-mosaic { display: grid; gap: 10px; margin-bottom: 32px; border-radius: var(--hcm-radius); overflow: hidden; }
.hcm-gallery-count-1 { grid-template-columns: 1fr; }
.hcm-gallery-count-2 { grid-template-columns: 1fr 1fr; }
.hcm-gallery-count-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.hcm-gallery-count-3 .hcm-gallery-item:first-child { grid-row: span 2; }
.hcm-gallery-count-4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hcm-gallery-count-4 .hcm-gallery-item:first-child { grid-row: span 2; }
.hcm-gallery-count-4 .hcm-gallery-item:nth-child(4) { grid-column: span 2; }
.hcm-gallery-count-5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.hcm-gallery-count-5 .hcm-gallery-item:first-child { grid-row: span 2; }
.hcm-gallery-item { position: relative; display: block; overflow: hidden; background: var(--hcm-soft); min-height: 160px; }
.hcm-gallery-count-1 .hcm-gallery-item { aspect-ratio: 16 / 9; }
.hcm-gallery-count-2 .hcm-gallery-item { aspect-ratio: 4 / 3; }
.hcm-gallery-item:first-child { min-height: 340px; }
.hcm .hcm-gallery-item img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform .5s ease; }
.hcm-gallery-item:hover img { transform: scale(1.03); }
.hcm-gallery-item[hidden] { display: none; }
.hcm-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,24,40,.55); color: #fff; font-size: 20px; font-weight: 700; }

.hcm-single-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hcm-single-main { flex: 999 1 420px; min-width: 0; }
.hcm-single-side { flex: 1 1 300px; }
.hcm-single-status { display: grid; gap: 16px; justify-items: start; margin-bottom: 20px; }
.hcm-progress--wide { width: 100%; max-width: 480px; }
.hcm-single-content { font-size: 16.5px; line-height: 1.75; }
.hcm-single-content > * + * { margin-top: 1em; }
.hcm-single-content ul { list-style: disc; padding-left: 1.3em; }
.hcm-single-content ol { list-style: decimal; padding-left: 1.3em; }

.hcm-single-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.hcm-facts { margin: 0; border: 1px solid var(--hcm-line); border-radius: var(--hcm-radius); background: #fff; overflow: hidden; }
.hcm-fact { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hcm-line); }
.hcm-fact:last-child { border-bottom: 0; }
.hcm-fact dt { display: inline-flex; align-items: center; gap: 8px; color: var(--hcm-muted); font-size: 14px; font-weight: 500; margin: 0; }
.hcm-fact dt .hcm-ico { color: var(--hcm-primary); }
.hcm-fact dd { margin: 0; color: var(--hcm-ink); font-weight: 650; text-align: right; font-size: 15px; }
.hcm-single-cta { display: grid; gap: 8px; justify-items: start; padding: 24px; border-radius: var(--hcm-radius); background: var(--hcm-dark); color: color-mix(in srgb, var(--hcm-on-dark) 80%, transparent); }
.hcm-single-cta strong { font-size: 18px; color: var(--hcm-on-dark); }
.hcm-single-cta p { font-size: 14.5px; margin-bottom: 8px !important; }

.hcm-related { margin-top: 64px; }
.hcm .hcm-related-title { font-size: 26px; font-weight: 700; margin: 0 0 22px; color: var(--hcm-ink); letter-spacing: -.015em; }

/* --------------------------------------------------------------------------
   Project popup ("View more")
   -------------------------------------------------------------------------- */
html.hcm-modal-open, html.hcm-modal-open body { overflow: hidden !important; }
.hcm.hcm-pmodal {
	position: fixed;
	inset: 0;
	z-index: 999998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity .22s ease;
}
.hcm.hcm-pmodal.is-open { opacity: 1; }
.hcm-pmodal-backdrop { position: absolute; inset: 0; background: rgba(10,14,22,.74); }
.hcm-pmodal-dialog {
	position: relative;
	width: 100%;
	max-width: 1120px;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	display: flex;
	background: #fff;
	border-radius: var(--hcm-radius);
	overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
	transform: translateY(14px) scale(.98);
	transition: transform .25s ease;
}
.hcm-pmodal.is-open .hcm-pmodal-dialog { transform: none; }
.hcm-pmodal-dialog:focus { outline: none; }
.hcm button.hcm-pmodal-close:not(#hcm) {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--hcm-ink);
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hcm button.hcm-pmodal-close:not(#hcm):hover { background: var(--hcm-soft); color: var(--hcm-ink); }

.hcm-pm { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); width: 100%; min-height: 0; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.hcm-pm-gallery { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #0f1520; }
.hcm-pm-stage { position: relative; flex: 1; min-height: 340px; min-height: min(560px, calc(100vh - 170px)); min-height: min(560px, calc(100dvh - 170px)); }
.hcm-pm-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.hcm-pm-slide.is-active { opacity: 1; z-index: 1; }
.hcm .hcm-pm-slide img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.hcm-pm-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.35); }
.hcm button.hcm-pm-nav:not(#hcm) {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: var(--hcm-ink);
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.hcm button.hcm-pm-nav:not(#hcm):hover { background: #fff; color: var(--hcm-ink); }
.hcm-pm-prev { left: 14px; }
.hcm-pm-next { right: 14px; }
.hcm-pm-count { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.hcm-pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; background: #0f1520; }
.hcm button.hcm-pm-thumb:not(#hcm) {
	position: relative;
	flex: 0 0 72px;
	height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: #222;
	opacity: .6;
	cursor: pointer;
	box-shadow: none;
	transition: opacity .15s, border-color .15s;
}
.hcm button.hcm-pm-thumb:not(#hcm):hover { opacity: 1; background: #222; }
.hcm button.hcm-pm-thumb.is-active:not(#hcm) { opacity: 1; border-color: var(--hcm-primary); }
.hcm .hcm-pm-thumb img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }

.hcm-pm-info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 34px 30px 28px; overflow-y: auto; overscroll-behavior: contain; }
.hcm-pm-info .hcm-status { background: var(--hcm-soft); }
.hcm-pm-info .hcm-status--completed { background: var(--hcm-green-bg); }
.hcm-pm-info .hcm-status--ongoing { background: var(--hcm-amber-bg); }
.hcm-pm-info .hcm-status--upcoming { background: var(--hcm-blue-bg); }
.hcm .hcm-pm-title { margin: 0; padding-right: 40px; color: var(--hcm-ink); font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; line-height: 1.25; letter-spacing: -.01em; }
.hcm-pm-info .hcm-progress { width: 100%; }
.hcm-facts--pm { width: 100%; }
.hcm-pm-content { width: 100%; font-size: 15px; line-height: 1.7; color: var(--hcm-text); }
.hcm-pm-content > * + * { margin-top: .8em; }
.hcm-pm-content ul { list-style: disc; padding-left: 1.2em; }
.hcm-pm-content ol { list-style: decimal; padding-left: 1.2em; }
.hcm a.hcm-pm-cta:not(#hcm) { width: 100%; margin-top: auto; }

@media (max-width: 860px) {
	.hcm.hcm-pmodal { padding: 0; align-items: stretch; }
	.hcm-pmodal-dialog { max-height: none; height: 100%; border-radius: 0; overflow-y: auto; overscroll-behavior: contain; display: block; }
	.hcm-pm { grid-template-columns: minmax(0, 1fr); max-height: none; }
	.hcm-pm-stage { flex: none; min-height: 0; aspect-ratio: 1 / 1; max-height: 70vh; width: 100%; }
	.hcm-pm-info { overflow: visible; padding: 24px 20px 32px; }
	.hcm button.hcm-pmodal-close:not(#hcm) { position: fixed; }
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.hcm-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: rgb(10,14,22); opacity: 0; transition: opacity .2s; }
.hcm-lightbox.is-open { opacity: 1; }
.hcm-lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; user-select: none; }
.hcm-lightbox button:not(#hcm) { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background-color .15s; box-shadow: none; }
.hcm-lightbox button:not(#hcm):hover { background: rgba(255,255,255,.22); color: #fff; }
.hcm-lightbox button:not(#hcm):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hcm-lb-close { top: 20px; right: 20px; }
.hcm-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.hcm-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.hcm-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 14px; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.hcm-single-side { position: static; }
}
@media (max-width: 640px) {
	.hcm-price-num { font-size: 42px; }
	.hcm-specs { margin-top: 40px; }
	.hcm .hcm-specs-title { font-size: 22px; }
	.hcm-tabs { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
	.hcm button.hcm-tab:not(#hcm) { flex: 1 0 auto; padding: 9px 14px; font-size: 14px; }
	.hcm-specs-panel-head { padding: 14px 16px; }
	.hcm-acc summary { padding: 14px 16px; gap: 12px; }
	.hcm-acc-icon { width: 34px; height: 34px; }
	.hcm-acc-body { padding: 0 16px 18px; }
	.hcm-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; padding: 0 4px 4px; }
	.hcm button.hcm-filter-btn:not(#hcm) { flex-shrink: 0; padding: 9px 14px; font-size: 14px; }
	.hcm-stats .hcm-stat { padding: 20px 16px; }
	.hcm-stats .hcm-stat-value { font-size: 28px; }
	.hcm-gallery-mosaic[class*="hcm-gallery-count-"] { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.hcm-gallery-mosaic .hcm-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
	.hcm-gallery-mosaic .hcm-gallery-item { min-height: 120px; grid-column: auto; }
	.hcm-lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
	.hcm-lb-prev, .hcm-lb-next { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hcm *, .hcm *::before, .hcm *::after, .hcm-lightbox { transition: none !important; animation: none !important; }
}
.hcm-pmodal-body { display: flex; width: 100%; min-height: 0; }
@media (max-width: 860px) { .hcm-pmodal-body { display: block; } }
.hcm .hcm-btn--wa .hcm-wa-ico { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Show the whole photo (no cropping): the photo sits on a blurred copy of itself
   -------------------------------------------------------------------------- */
.hcm .hcm-project-media.has-photo::before,
.hcm-pm-slide::before {
	content: "";
	position: absolute;
	inset: -24px;
	z-index: 0;
	background: var(--hcm-photo) center / cover no-repeat;
	filter: blur(18px) saturate(1.1);
	opacity: .85;
	transform: scale(1.08);
}
.hcm .hcm-project-media.has-photo img,
.hcm .hcm-pm-slide img {
	z-index: 1;
	object-fit: contain !important;
	object-position: center;
}
.hcm .hcm-project-media.has-photo { background: #e9ecf1; }
.hcm .hcm-project-media .hcm-status { z-index: 2; }
.hcm-project-card:hover .hcm-project-media.has-photo img { transform: scale(1.02); }
.hcm-pm-slide { overflow: hidden; }
.hcm-pm-stage { overflow: hidden; }
