/**
 * Cinematic layer: premium dark agency look.
 * Palette: bg #080D18 / #0D1424, card #111A2D, text #F8FAFC, muted #94A3B8,
 * blue #3B82F6 (about 15%), orange #F97316 (about 5%), border #1E293B.
 * Loads after main.css and re-points its tokens, then styles the new sections.
 */

:root {
	--hm-navy-900: #080d18;
	--hm-navy-800: #0d1424;
	--hm-navy-700: #111a2d;
	--hm-charcoal: #111a2d;
	--hm-line: #1e293b;
	--hm-line-strong: #2a3a55;
	--hm-text: #f8fafc;
	--hm-text-muted: #94a3b8;

	--hm-blue: #3b82f6;
	--hm-blue-soft: rgba(59, 130, 246, 0.14);
	--hm-warm: #f97316;
	--hm-warm-soft: rgba(249, 115, 22, 0.14);

	--hm-purple: #3b82f6;
	--hm-gold: #3b82f6;
	--hm-gold-soft: rgba(59, 130, 246, 0.14);
	--hm-orange: #3b82f6;
	--hm-orange-hover: #60a5fa;
	--hm-orange-soft: rgba(59, 130, 246, 0.14);
	--hm-accent-grad: #3b82f6;
	--hm-accent-grad-soft: rgba(59, 130, 246, 0.14);

	--hm-surface: #111a2d;
	--hm-surface-2: #0d1424;
	--hm-glass: rgba(8, 13, 24, 0.82);
	--hm-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9);
	--hm-radius: 16px;
	--hm-radius-sm: 10px;
	--hm-header-h: 72px;
}

body.hm-theme {
	background: #080d18;
	font-size: 1rem;
	line-height: 1.65;
}

h1, h2, h3, h4 {
	font-family: var(--hm-font-head);
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.hm-accent { color: var(--hm-blue); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--hm-blue);
	outline-offset: 3px;
}

.hm-progress { display: none; }
.hm-orb, .hm-grid-lines, .hm-hero__bg, .hm-ai__bg { display: none !important; }

/* ---------- Buttons ---------- */

.hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 999px;
	font-family: var(--hm-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	transform: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.hm-btn::before, .hm-btn::after { display: none; }

.hm-btn--primary {
	background: var(--hm-blue);
	border: 1px solid var(--hm-blue);
	color: #fff;
}
.hm-btn--primary:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
	box-shadow: 0 10px 30px -12px rgba(59, 130, 246, 0.7);
	transform: none;
}

.hm-btn--ghost {
	background: transparent;
	border: 1px solid var(--hm-line-strong);
	color: var(--hm-text);
}
.hm-btn--ghost:hover {
	background: rgba(248, 250, 252, 0.05);
	border-color: var(--hm-blue);
	color: #fff;
	transform: none;
	box-shadow: none;
}

.hm-link { color: var(--hm-blue); font-weight: 600; }
.hm-link:hover { color: #60a5fa; }

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

.hm-header {
	background: rgba(8, 13, 24, 0.7);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}
.hm-header.is-stuck {
	background: rgba(8, 13, 24, 0.94);
	border-bottom-color: var(--hm-line);
	box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.9);
}

.hm-header__inner { gap: 1.25rem; }

.hm-logo { gap: 0.65rem; color: var(--hm-text); }
.hm-logo__mark {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--hm-blue), var(--hm-warm));
}
.hm-logo__text { display: flex; flex-direction: column; line-height: 1.1; letter-spacing: 0; }
.hm-logo__text strong { font-family: var(--hm-font-head); font-size: 0.98rem; font-weight: 800; letter-spacing: 0.04em; }
.hm-logo__text small { font-size: 0.68rem; font-weight: 500; color: var(--hm-warm); letter-spacing: 0; }

.hm-nav__list a { font-size: 0.9rem; font-weight: 500; color: #cbd5e1; }
.hm-nav__list a:hover,
.hm-nav__list .current-menu-item > a { color: #fff; }

.hm-header__actions { display: flex; align-items: center; gap: 0.85rem; }

.hm-header__socials { display: none; list-style: none; margin: 0; padding: 0; gap: 0.4rem; }
.hm-header__socials a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--hm-navy-700);
	border: 1px solid var(--hm-line);
	color: #cbd5e1;
}
.hm-header__socials a:hover { color: #fff; border-color: var(--hm-blue); }
.hm-header__socials svg { width: 17px; height: 17px; }

.hm-header .hm-btn--primary {
	background: linear-gradient(110deg, #3b82f6 0%, #f97316 100%);
	border-color: transparent;
	padding-inline: 1.2rem;
}
.hm-header .hm-btn--primary:hover { filter: brightness(1.1); box-shadow: 0 10px 28px -14px rgba(249, 115, 22, 0.8); }

.hm-burger__bars,
.hm-burger__bars::before,
.hm-burger__bars::after { background: var(--hm-text); }

@media (min-width: 1180px) {
	.hm-header__socials { display: flex; }
}

/* ---------- Section frame ---------- */

.hm-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.hm-section__head { margin-bottom: 2.25rem; }
.hm-section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.hm-section__intro { color: var(--hm-text-muted); max-width: 58ch; }

.hm-eyebrow,
.hm-eyebrow--pill {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--hm-text-muted);
	margin-bottom: 0.5rem;
}

.hm-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	border: 1px solid var(--hm-line-strong);
	color: #cbd5e1;
	background: rgba(17, 26, 45, 0.7);
}
.hm-badge--hero { border-color: rgba(59, 130, 246, 0.5); color: #bfdbfe; background: rgba(59, 130, 246, 0.1); padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.hm-badge--hero::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hm-blue); }
.hm-badge--sample { border-color: rgba(249, 115, 22, 0.5); color: #fdba74; background: rgba(249, 115, 22, 0.1); }

/* ---------- Hero ---------- */

.hm-hero {
	position: relative;
	padding-block: calc(var(--hm-header-h) + 2.5rem) 3rem;
	background: #080d18;
	overflow: hidden;
}
.hm-hero__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(55% 60% at 78% 30%, rgba(59, 130, 246, 0.22), transparent 70%),
		radial-gradient(40% 40% at 8% 90%, rgba(59, 130, 246, 0.1), transparent 70%),
		radial-gradient(30% 30% at 95% 95%, rgba(249, 115, 22, 0.08), transparent 70%);
}

.hm-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
}

.hm-hero__title {
	margin: 1.1rem 0 1rem;
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	background: none;
	-webkit-text-fill-color: var(--hm-text);
	color: var(--hm-text);
	max-width: 17ch;
}
.hm-hero__title .hm-accent { -webkit-text-fill-color: var(--hm-blue); color: var(--hm-blue); }

.hm-hero__text { color: #cbd5e1; font-size: 1.05rem; max-width: 34rem; }

.hm-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}
.hm-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.8rem 0.4rem 0.45rem;
	border: 1px solid var(--hm-line);
	border-radius: 999px;
	background: rgba(17, 26, 45, 0.7);
	font-size: 0.82rem;
	font-weight: 600;
	color: #e2e8f0;
}
.hm-hero__chip .hm-icon { width: 28px; height: 28px; border-radius: 50%; padding: 5px; }
.hm-hero__chip .hm-icon svg { width: 100%; height: 100%; }

.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hm-hero__actions .hm-btn { padding: 0.85rem 1.6rem; }

.hm-hero__media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }

.hm-hero__ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(59, 130, 246, 0.3);
	pointer-events: none;
}
.hm-hero__ring--1 { inset: -6% -8% 8% -8%; }
.hm-hero__ring--2 { inset: 6% -18% -4% -2%; border-color: rgba(59, 130, 246, 0.16); }

.hm-hero__frame {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: radial-gradient(70% 70% at 50% 25%, rgba(59, 130, 246, 0.25), #0d1424);
	border: 1px solid rgba(59, 130, 246, 0.3);
	box-shadow: 0 0 80px -20px rgba(59, 130, 246, 0.55), var(--hm-shadow);
	aspect-ratio: 4 / 5;
}
.hm-hero__frame::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 35%;
	background: linear-gradient(to top, #080d18 8%, transparent);
	pointer-events: none;
}
.hm-hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: none; }

.hm-float {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 0.9rem;
	border-radius: 14px;
	background: rgba(13, 20, 36, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(59, 130, 246, 0.35);
	box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.hm-float strong { display: block; font-size: 0.82rem; line-height: 1.2; }
.hm-float small { display: block; font-size: 0.74rem; color: var(--hm-text-muted); }
.hm-float__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--hm-blue-soft); color: var(--hm-blue); flex: none; }
.hm-float__icon--orange { background: var(--hm-warm-soft); color: var(--hm-warm); }
.hm-float__icon svg { width: 18px; height: 18px; }
.hm-float--1 { top: 8%; right: -6%; animation: hm-bob 7s ease-in-out infinite; }
.hm-float--2 { top: 46%; left: -9%; animation: hm-bob 8s ease-in-out -2s infinite; }

.hm-hero__id {
	position: absolute;
	left: 6%;
	bottom: 5%;
	z-index: 2;
	padding: 0.7rem 1rem;
	border-radius: 14px;
	background: rgba(13, 20, 36, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--hm-line-strong);
}
.hm-hero__id-name { margin: 0; font-family: var(--hm-font-head); font-weight: 700; font-size: 0.95rem; color: #fff; display: flex; align-items: center; gap: 0.45rem; }
.hm-hero__id-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hm-hero__id-role { margin: 0; font-size: 0.76rem; color: var(--hm-text-muted); }

@keyframes hm-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ---------- Stats bar ---------- */

.hm-statsbar { position: relative; padding-block: 0 1rem; background: #080d18; }
.hm-statsbar__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0.4rem 0.5rem;
	border: 1px solid var(--hm-line);
	border-radius: 18px;
	background: #0d1424;
}
.hm-statsbar__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.2rem;
	border-right: 1px solid var(--hm-line);
}
.hm-statsbar__item:last-child { border-right: 0; }
.hm-statsbar__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--hm-warm-soft); color: var(--hm-warm); }
.hm-statsbar__icon svg { width: 20px; height: 20px; }
.hm-statsbar__text { display: flex; flex-direction: column; min-width: 0; }
.hm-statsbar__value { font-family: var(--hm-font-head); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.15; color: #fff; }
.hm-statsbar__label { font-size: 0.8rem; color: var(--hm-text-muted); }

/* ---------- Cards (shared) ---------- */

.hm-card {
	background: var(--hm-navy-700);
	border: 1px solid var(--hm-line);
	border-radius: var(--hm-radius);
	box-shadow: none;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hm-card::after { display: none; }
.hm-card:hover {
	border-color: rgba(59, 130, 246, 0.55);
	box-shadow: 0 24px 50px -30px rgba(59, 130, 246, 0.45);
	transform: translateY(-3px);
}
.hm-card__title { font-family: var(--hm-font-head); font-weight: 700; color: #fff; }
.hm-card__text { color: var(--hm-text-muted); }

.hm-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--hm-blue-soft);
	color: var(--hm-blue);
	border: 1px solid rgba(59, 130, 246, 0.25);
}
.hm-icon svg { width: 24px; height: 24px; }
.hm-icon--brand { background: rgba(248, 250, 252, 0.06); border-color: var(--hm-line-strong); }
.hm-icon--brand-facebook { color: #3b82f6; }
.hm-icon--brand-linkedin { color: #60a5fa; }

/* ---------- Services ---------- */

.hm-services__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.1rem;
}
.hm-services__grid .hm-card { grid-column: span 2; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.hm-services__grid .hm-card--feature { grid-column: span 3; padding: 1.9rem; }
.hm-card--feature {
	background:
		radial-gradient(80% 90% at 100% 0%, rgba(59, 130, 246, 0.16), transparent 65%),
		var(--hm-navy-700);
	border-color: rgba(59, 130, 246, 0.35);
}
.hm-card--feature .hm-icon { width: 56px; height: 56px; }
.hm-card--feature .hm-card__title { font-size: 1.35rem; }
.hm-card--service .hm-card__title { font-size: 1.1rem; margin: 0.3rem 0 0; }
.hm-card--service .hm-card__text { margin: 0; font-size: 0.93rem; flex: 1; }
.hm-card--service .hm-link { margin-top: 0.4rem; font-size: 0.88rem; }

/* ---------- Case studies ---------- */

.hm-projects { background: #0b1120; border-block: 1px solid var(--hm-line); }

.hm-project-group + .hm-project-group { margin-top: 3rem; }
.hm-project-group__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; color: #fff; }
.hm-project-group__note { color: var(--hm-text-muted); max-width: 62ch; margin: 0 0 1.25rem; font-size: 0.95rem; }

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

.hm-card--project { display: grid; grid-template-columns: 38% 1fr; overflow: hidden; }
.hm-card--project .hm-card__media { display: block; min-height: 100%; background: #0d1424; position: relative; }
.hm-card--project .hm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hm-card--project:hover .hm-card__media img { transform: scale(1.04); }
.hm-card__media-empty { display: grid; place-items: center; height: 100%; min-height: 170px; color: var(--hm-blue); background: radial-gradient(70% 70% at 50% 30%, rgba(59, 130, 246, 0.22), #0d1424); }
.hm-card__media-empty svg { width: 42px; height: 42px; opacity: 0.8; }
.hm-card--project .hm-card__body { padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.35rem; }
.hm-card__meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hm-card__meta { margin: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-blue); }
.hm-card--project .hm-card__title { font-size: 1.15rem; margin: 0.15rem 0 0; }
.hm-card--project .hm-card__title a { color: inherit; }
.hm-card__client { margin: 0; font-size: 0.82rem; color: var(--hm-text-muted); }
.hm-card--project .hm-card__text { margin: 0.2rem 0 0.4rem; font-size: 0.9rem; }
.hm-card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; list-style: none; padding: 0; margin: 0.4rem 0 0.6rem; }
.hm-card__metrics li { background: #0d1424; border: 1px solid var(--hm-line); border-radius: 10px; padding: 0.55rem 0.65rem; }
.hm-card__metrics strong { display: block; font-family: var(--hm-font-head); font-size: 0.98rem; color: #fff; line-height: 1.2; }
.hm-card__metrics span { display: block; font-size: 0.68rem; color: var(--hm-text-muted); line-height: 1.3; }
.hm-card--project .hm-link { margin-top: auto; font-size: 0.86rem; }
.hm-section__more { text-align: center; margin-top: 2rem; }

/* ---------- Results ---------- */

.hm-results { background: #080d18; }
.hm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.hm-stat { background: var(--hm-navy-700); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.5rem; }
.hm-stat__value { font-family: var(--hm-font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin: 0; }
.hm-stat__label { color: var(--hm-text-muted); margin: 0.25rem 0 0; font-size: 0.9rem; }
.hm-results__note { color: var(--hm-text-muted); font-size: 0.85rem; margin-top: 1rem; }
.hm-measures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-card--measure { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.hm-card--measure .hm-card__title { font-size: 1rem; margin: 0.3rem 0 0; }
.hm-card--measure .hm-card__text { margin: 0; font-size: 0.88rem; }

/* ---------- AI ---------- */

.hm-ai { background: #0b1120; border-block: 1px solid var(--hm-line); }
.hm-ai__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hm-ai__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; width: 100%; margin-inline: auto; }
.hm-ai__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(59, 130, 246, 0.35); }
.hm-ai__ring--1 { inset: 0; border-style: dashed; animation: hm-spin 40s linear infinite; }
.hm-ai__ring--2 { inset: 14%; border-color: rgba(59, 130, 246, 0.2); }
.hm-ai__core {
	display: grid;
	place-items: center;
	width: 38%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0.08) 70%);
	border: 1px solid rgba(59, 130, 246, 0.5);
	color: #93c5fd;
	box-shadow: 0 0 60px -10px rgba(59, 130, 246, 0.6);
}
.hm-ai__core svg { width: 46%; height: 46%; }
.hm-ai__message { color: var(--hm-text-muted); max-width: 56ch; }
.hm-ai__list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.hm-ai__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--hm-line-strong);
	border-radius: 999px;
	background: rgba(17, 26, 45, 0.8);
	font-size: 0.85rem;
	color: #e2e8f0;
}
.hm-ai__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-blue); }
@keyframes hm-spin { to { transform: rotate(360deg); } }

/* ---------- Process ---------- */

.hm-process { background: #080d18; }
.hm-process__timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hm-process__timeline::before {
	content: "";
	position: absolute;
	top: 27px;
	left: 8%;
	right: 8%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hm-blue) 15%, var(--hm-blue) 85%, transparent);
	opacity: 0.45;
}
.hm-process__step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 0; background: none; border: 0; }
.hm-process__marker {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #0d1424;
	border: 1px solid rgba(59, 130, 246, 0.6);
	box-shadow: 0 0 0 6px #080d18;
	color: var(--hm-blue);
}
.hm-process__icon { display: grid; place-items: center; width: 24px; height: 24px; background: none; border: 0; color: inherit; }
.hm-process__icon svg { width: 100%; height: 100%; }
.hm-process__body { padding: 1rem; border: 1px solid var(--hm-line); border-radius: 14px; background: var(--hm-navy-700); width: 100%; flex: 1; }
.hm-process__num { display: block; font-family: var(--hm-font-head); font-weight: 800; font-size: 0.78rem; color: var(--hm-warm); letter-spacing: 0.06em; }
.hm-process__title { font-size: 1rem; margin: 0.2rem 0 0.4rem; color: #fff; }
.hm-process__text { margin: 0; font-size: 0.84rem; color: var(--hm-text-muted); line-height: 1.5; }

/* ---------- About ---------- */

.hm-about { background: #0b1120; border-top: 1px solid var(--hm-line); }
.hm-about__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hm-about__media { max-width: 400px; }
.hm-about__photo { width: 100%; border-radius: 22px; border: 1px solid var(--hm-line-strong); box-shadow: var(--hm-shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.hm-prose p { color: #cbd5e1; }
.hm-about__label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-text-muted); margin: 1.5rem 0 0.5rem; font-weight: 700; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.hm-tag { padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--hm-line-strong); background: rgba(17, 26, 45, 0.8); font-size: 0.82rem; color: #e2e8f0; }
.hm-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.hm-why-card { padding: 1.25rem; }
.hm-why-card .hm-card__title { font-size: 0.98rem; margin: 0.8rem 0 0.35rem; }
.hm-why-card .hm-card__text { font-size: 0.86rem; margin: 0; }
.hm-why-card .hm-icon { width: 42px; height: 42px; }

/* ---------- Experience ---------- */

.hm-experience { background: #080d18; }
.hm-timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--hm-line-strong); max-width: 760px; }
.hm-timeline__item { position: relative; padding-bottom: 2rem; }
.hm-timeline__item:last-child { padding-bottom: 0; }
.hm-timeline__marker { position: absolute; left: calc(-1.5rem - 6px); top: 0.45rem; width: 11px; height: 11px; border-radius: 50%; background: var(--hm-blue); box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.18); border: 0; }
.hm-timeline__role { font-size: 1.15rem; margin: 0; color: #fff; }
.hm-timeline__company { margin: 0.15rem 0 0; color: var(--hm-blue); font-weight: 600; font-size: 0.92rem; }
.hm-timeline__dates { margin: 0.15rem 0 0.5rem; font-size: 0.82rem; color: var(--hm-text-muted); }
.hm-timeline__text { margin: 0; color: #cbd5e1; }
.hm-timeline__list { margin: 0.7rem 0 0; padding-left: 1.1rem; color: #cbd5e1; font-size: 0.93rem; }

/* ---------- Skills ---------- */

.hm-skills { background: #0b1120; border-block: 1px solid var(--hm-line); }
.hm-skill-group + .hm-skill-group { margin-top: 1.75rem; }
.hm-skill-group__title { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-text-muted); margin: 0 0 0.8rem; }
.hm-card--skill { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-radius: 12px; }
.hm-card--skill:hover { transform: none; }
.hm-card--skill .hm-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.hm-card--skill .hm-icon svg { width: 18px; height: 18px; }
.hm-card__title--sm { font-size: 0.92rem; margin: 0; }

/* ---------- Testimonials ---------- */

.hm-testimonials { background: #080d18; }
.hm-review { background: var(--hm-navy-700); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); padding: 1.6rem; }
.hm-review__quote { color: #e2e8f0; font-size: 1rem; line-height: 1.7; }
.hm-review__avatar { background: var(--hm-blue-soft); color: var(--hm-blue); }
.hm-review__job { display: block; font-size: 0.8rem; color: var(--hm-text-muted); }
.hm-review__location { color: var(--hm-text-muted); }
.hm-slider__btn { background: var(--hm-navy-700); border: 1px solid var(--hm-line-strong); color: var(--hm-text); }
.hm-slider__btn:hover { border-color: var(--hm-blue); }
.hm-testimonials .hm-muted { text-align: center; color: var(--hm-text-muted); }

/* ---------- Companies marquee ---------- */

.hm-companies { background: #0b1120; border-block: 1px solid var(--hm-line); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.hm-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hm-marquee__track {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	width: max-content;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	animation: hm-marquee 40s linear infinite;
}
.hm-marquee:hover .hm-marquee__track { animation-play-state: paused; }
.hm-marquee__item { flex: none; display: grid; place-items: center; height: 56px; padding-inline: 0.5rem; }
.hm-marquee__item a { display: grid; place-items: center; color: inherit; }
.hm-marquee__item img { max-height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.85; transition: opacity 0.2s ease; }
.hm-marquee__item:hover img { opacity: 1; }
.hm-marquee__name { font-family: var(--hm-font-head); font-weight: 700; font-size: 1.1rem; color: #cbd5e1; white-space: nowrap; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }

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

.hm-cta {
	position: relative;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background:
		radial-gradient(60% 120% at 12% 100%, rgba(59, 130, 246, 0.28), transparent 65%),
		radial-gradient(45% 100% at 95% 100%, rgba(249, 115, 22, 0.2), transparent 65%),
		linear-gradient(180deg, #0d1424, #080d18);
	border-block: 1px solid var(--hm-line);
}
.hm-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hm-cta__copy { max-width: 640px; }
.hm-cta__title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.6rem; color: #fff; font-weight: 800; }
.hm-cta__text { margin: 0; color: #cbd5e1; }
.hm-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ---------- Contact ---------- */

.hm-contact { background: #080d18; }
.hm-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hm-contact__text { color: var(--hm-text-muted); }
.hm-contact__topics { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.1rem 0 0; }
.hm-contact__topics li { padding: 0.3rem 0.75rem; border: 1px solid var(--hm-line-strong); border-radius: 999px; font-size: 0.82rem; color: #cbd5e1; background: rgba(17, 26, 45, 0.7); }
.hm-contact__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.hm-contact__details { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; color: #cbd5e1; }
.hm-contact__label { color: var(--hm-text-muted); margin-right: 0.35rem; }
.hm-contact__details a:hover { color: var(--hm-blue); }
.hm-social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.hm-social__link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border: 1px solid var(--hm-line-strong); border-radius: 999px; font-size: 0.82rem; color: #e2e8f0; background: rgba(17, 26, 45, 0.7); }
.hm-social__link:hover { border-color: var(--hm-blue); color: #fff; }
.hm-social__link svg { width: 16px; height: 16px; }

.hm-contact__form-wrap { background: var(--hm-navy-700); border: 1px solid var(--hm-line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); }
.hm-form label { color: #e2e8f0; font-weight: 600; font-size: 0.88rem; text-transform: none; letter-spacing: 0; }
.hm-form input,
.hm-form select,
.hm-form textarea,
.hm-searchform__input {
	background: #0d1424;
	color: var(--hm-text);
	border: 1px solid var(--hm-line-strong);
	border-radius: 10px;
}
.hm-form input:focus,
.hm-form select:focus,
.hm-form textarea:focus { border-color: var(--hm-blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); outline: none; }
.hm-notice--ok { border-color: rgba(34, 197, 94, 0.5); background: rgba(34, 197, 94, 0.1); color: #86efac; }
.hm-notice--error { border-color: rgba(239, 68, 68, 0.5); background: rgba(239, 68, 68, 0.1); color: #fca5a5; }

/* ---------- Footer: see the .hm-foot block at the end of this file ---------- */

.hm-whatsapp-float { box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.7); }
.hm-whatsapp-float__ping { display: none; }

/* ---------- Single pages and archives ---------- */

.hm-single__hero, .hm-archive { background: #080d18; }
.hm-panel, .hm-details { background: var(--hm-navy-700); border: 1px solid var(--hm-line); border-radius: var(--hm-radius); }

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
	.hm-process__timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
	.hm-process__timeline::before { display: none; }
	.hm-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.hm-nav { background: #0d1424; backdrop-filter: none; border-bottom: 1px solid var(--hm-line); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9); }
	.hm-nav__list a { color: #e2e8f0; font-size: 1.05rem; }
	.hm-hero { padding-top: calc(var(--hm-header-h) + 1.5rem); }
	.hm-hero__inner { grid-template-columns: 1fr; }
	.hm-hero__media { max-width: 380px; margin-top: 1rem; }
	.hm-float--1 { right: -2%; }
	.hm-float--2 { left: -2%; }
	.hm-hero__ring { display: none; }
	.hm-statsbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-statsbar__item:nth-child(2) { border-right: 0; }
	.hm-statsbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }
	.hm-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-services__grid .hm-card,
	.hm-services__grid .hm-card--feature { grid-column: span 1; }
	.hm-services__grid .hm-card:last-child:nth-child(odd) { grid-column: span 2; }
	.hm-projects .hm-grid { grid-template-columns: 1fr; }
	.hm-ai__grid, .hm-about__grid, .hm-contact__grid { grid-template-columns: 1fr; }
	.hm-ai__visual { max-width: 220px; }
	.hm-about__media { max-width: 340px; }
	.hm-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
	body.hm-theme { font-size: 0.97rem; }
	.hm-hero__title { font-size: 2rem; max-width: none; }
	.hm-hero__actions .hm-btn { flex: 1 1 100%; }
	.hm-hero__media { max-width: 320px; }
	.hm-float { padding: 0.5rem 0.65rem; }
	.hm-float strong { font-size: 0.74rem; }
	.hm-float small { display: none; }
	.hm-float--2 { top: 52%; }
	.hm-hero__id { left: 4%; bottom: 4%; padding: 0.5rem 0.75rem; }
	.hm-statsbar__list { grid-template-columns: 1fr; padding: 0.25rem 0.75rem; }
	.hm-statsbar__item,
	.hm-statsbar__item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--hm-line); padding-inline: 0.4rem; }
	.hm-statsbar__item:last-child { border-bottom: 0; }
	.hm-services__grid { grid-template-columns: 1fr; }
	.hm-services__grid .hm-card:last-child:nth-child(odd) { grid-column: span 1; }
	.hm-card--project { grid-template-columns: 1fr; }
	.hm-card--project .hm-card__media { aspect-ratio: 16 / 9; min-height: 0; }
	.hm-card__metrics { grid-template-columns: repeat(3, 1fr); }
	.hm-measures { grid-template-columns: 1fr; }
	.hm-process__timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0.25rem; }
	.hm-process__timeline::before { display: block; top: 0; bottom: 0; left: 27px; right: auto; width: 1px; height: auto; background: var(--hm-line-strong); opacity: 1; }
	.hm-process__step { flex-direction: row; align-items: flex-start; gap: 1rem; padding-bottom: 1.1rem; }
	.hm-process__marker { flex: none; width: 46px; height: 46px; margin-left: 4px; }
	.hm-process__body { padding: 0.85rem 1rem; }
	.hm-why-grid { grid-template-columns: 1fr; }
	.hm-cta__actions .hm-btn,
	.hm-contact__buttons .hm-btn { flex: 1 1 100%; }
	.hm-form__row { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	.hm-float, .hm-ai__ring--1, .hm-marquee__track { animation: none !important; }
	.hm-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.hm-marquee__track { flex-wrap: nowrap; }
	.hm-card, .hm-btn { transition: none; }
	.hm-card:hover { transform: none; }
}

/* ---------- Overrides for the original layout rules in main.css ---------- */

.hm-hero__inner { grid-template-rows: auto; }
.hm-hero__content { grid-column: 1; grid-row: 1; }
.hm-hero__media { grid-column: 2; grid-row: 1; padding: 0; border-radius: 0; }
.hm-hero__media::before { display: none; }
.hm-hero__frame img { height: 100%; aspect-ratio: auto; filter: none; transition: none; }
.hm-hero__media:hover .hm-hero__frame img { filter: none; }

.hm-process__step::before { display: none; }
.hm-process__marker { top: auto; left: auto; transform: none; }
.hm-process__body { text-align: left; padding-top: 1rem; }

@media (max-width: 900px) {
	.hm-hero__media { grid-column: 1; grid-row: auto; }
}

@media (max-width: 640px) {
	.hm-process__step { padding-left: 0; padding-top: 0; }
	.hm-process__marker { top: auto; left: auto; transform: none; }
	.hm-process__body { padding-top: 0.85rem; }
}

/* ---------- Fixes after review ---------- */

/* The header is sticky (in flow), so the hero only needs its own breathing room. */
.hm-hero { padding-block: clamp(2rem, 4vw, 3.5rem) 3rem; }
@media (max-width: 900px) { .hm-hero { padding-top: 1.5rem; } }

/* Project card: image fills the left column instead of keeping the old 16:11 ratio. */
@media (min-width: 641px) {
	.hm-card--project .hm-card__media { aspect-ratio: auto; }
}
.hm-card--project .hm-card__media img { position: absolute; inset: 0; }
@media (max-width: 640px) {
	.hm-card--project .hm-card__media img { position: static; }
}

.hm-project-group--sample .hm-card--project { border-style: dashed; }
.hm-single__sample-note {
	display: inline-block;
	margin: 0.75rem 0 0;
	padding: 0.6rem 0.9rem;
	border: 1px solid rgba(249, 115, 22, 0.45);
	border-radius: 10px;
	background: rgba(249, 115, 22, 0.08);
	color: #fdba74;
	font-size: 0.9rem;
}

/* Keep long labels from breaking the stats bar and tags on narrow screens. */
.hm-statsbar__value { overflow-wrap: anywhere; }
.hm-header__inner { flex-wrap: nowrap; }
.hm-logo { min-width: 0; }
.hm-logo__text strong { white-space: nowrap; }
@media (max-width: 380px) {
	.hm-logo__text small { display: none; }
}

/* Original rules that clash with the new compact grids. */
@media (max-width: 900px) {
	.hm-ai__list { display: flex; }
}

/* ---------- Social rail, markets, core services, platform chips ---------- */

.hm-social-rail {
	display: none;
	position: fixed;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 40;
	flex-direction: column;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hm-social-rail__link {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	color: #fff;
	background: #1e293b;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
	transition: transform 0.2s ease, filter 0.2s ease;
}
.hm-social-rail__link:hover { transform: translateX(-3px); filter: brightness(1.12); }
.hm-social-rail__link svg { width: 19px; height: 19px; }
.hm-social-rail__link--facebook { background: #1877f2; }
.hm-social-rail__link--instagram { background: linear-gradient(45deg, #f9a825, #e1306c 55%, #833ab4); }
.hm-social-rail__link--linkedin { background: #0a66c2; }
@media (min-width: 1360px) {
	.hm-social-rail { display: flex; }
}

.hm-hero__markets { margin-top: 1.6rem; }
.hm-hero__markets-label { margin: 0 0 0.5rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hm-text-muted); }
.hm-hero__markets-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.hm-hero__markets-list li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; font-weight: 500; color: #e2e8f0; }
.hm-flag { width: 18px; height: 14px; border-radius: 2px; object-fit: cover; display: inline-block; }

.hm-badge--core { border-color: rgba(59, 130, 246, 0.5); color: #bfdbfe; background: rgba(59, 130, 246, 0.12); }
.hm-card--feature .hm-card__top { justify-content: space-between; align-items: center; }
.hm-card__points { list-style: none; margin: 0.4rem 0 0.2rem; padding: 0; display: grid; gap: 0.4rem; }
.hm-card__points li { position: relative; padding-left: 1.35rem; font-size: 0.9rem; color: #cbd5e1; }
.hm-card__points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.hm-services__grid .hm-card--feature { gap: 0.8rem; }
@media (min-width: 901px) {
	.hm-services__grid .hm-card--feature .hm-card__title { font-size: 1.5rem; }
}

.hm-marquee__chip { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.5rem; border: 1px solid var(--hm-line-strong); border-radius: 999px; background: var(--hm-navy-700); }
.hm-marquee__chip .hm-icon { width: 32px; height: 32px; border-radius: 50%; padding: 0; }
.hm-marquee__chip .hm-icon svg { width: 17px; height: 17px; }
.hm-marquee__chip .hm-marquee__name { font-size: 0.95rem; }

/* =====================================================================
   ICON SYSTEM: every icon box is a fixed square, every svg a fixed size.
   ===================================================================== */

.hm-svg { display: block; flex: none; width: 24px; height: 24px; }

.hm-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border-radius: 12px;
	background: var(--hm-blue-soft);
	background-image: none;
	border: 1px solid rgba(59, 130, 246, 0.28);
	color: var(--hm-blue);
	line-height: 1;
	transition: none;
}
.hm-icon svg,
.hm-icon .hm-svg { width: 24px; height: 24px; }
.hm-card:hover .hm-icon { transform: none; }

.hm-card--feature .hm-icon { width: 56px; height: 56px; border-radius: 14px; }
.hm-card--feature .hm-icon svg { width: 28px; height: 28px; }

.hm-icon--img { overflow: hidden; }
.hm-icon--img img { display: block; width: 100%; height: 100%; padding: 9px; border-radius: 0; object-fit: contain; }
.hm-icon--text { font-size: 1.3rem; font-weight: 700; }
.hm-icon--dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--hm-blue); }

/* Compact contexts */
.hm-card--skill .hm-icon { width: 38px; height: 38px; border-radius: 10px; }
.hm-card--skill .hm-icon svg { width: 20px; height: 20px; }
.hm-why-card .hm-icon { width: 44px; height: 44px; }
.hm-why-card .hm-icon svg { width: 22px; height: 22px; }
.hm-card--measure .hm-icon { width: 44px; height: 44px; }
.hm-card--measure .hm-icon svg { width: 22px; height: 22px; }
.hm-hero__chip .hm-icon { width: 28px; height: 28px; border-radius: 50%; }
.hm-hero__chip .hm-icon svg { width: 15px; height: 15px; }
.hm-marquee__chip .hm-icon { width: 32px; height: 32px; border-radius: 50%; }
.hm-marquee__chip .hm-icon svg { width: 16px; height: 16px; }
.hm-statsbar__icon svg { width: 20px; height: 20px; }
.hm-float__icon svg { width: 18px; height: 18px; }
.hm-process__icon svg { width: 24px; height: 24px; }
.hm-card__media-empty svg { width: 44px; height: 44px; }
.hm-ai__core svg { width: 44%; height: 44%; }

/* =====================================================================
   FOOTER
   ===================================================================== */

.hm-foot {
	position: relative;
	margin-top: 0;
	padding: clamp(3rem, 6vw, 4.5rem) 0 1.25rem;
	background: linear-gradient(180deg, #080d18 0%, #060a14 100%);
	border-top: 0;
	color: #cbd5e1;
	overflow: hidden;
}
.hm-foot::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8) 30%, rgba(249, 115, 22, 0.55) 70%, transparent);
}
.hm-foot::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 220px;
	background: radial-gradient(50% 100% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 75%);
	pointer-events: none;
}
.hm-foot > .hm-container { position: relative; z-index: 1; }

.hm-foot__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
	gap: clamp(1.75rem, 3.5vw, 3.25rem);
	align-items: start;
}

.hm-foot__name { margin: 0; font-family: var(--hm-font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.hm-foot__role { margin: 0.2rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--hm-warm); }
.hm-foot__about { margin: 1rem 0 0; max-width: 34ch; font-size: 0.92rem; line-height: 1.7; color: var(--hm-text-muted); }
.hm-foot__logo img { max-height: 44px; width: auto; margin-bottom: 0.75rem; }

.hm-foot__social { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.hm-foot__social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid var(--hm-line-strong);
	background: rgba(17, 26, 45, 0.7);
	color: #cbd5e1;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.hm-foot__social a:hover { border-color: var(--hm-blue); color: #fff; background: rgba(59, 130, 246, 0.14); }
.hm-foot__social svg { width: 18px; height: 18px; }

.hm-foot__heading { margin: 0 0 1rem; font-family: var(--hm-font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.hm-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hm-foot__list a { font-size: 0.92rem; color: var(--hm-text-muted); transition: color 0.2s ease; }
.hm-foot__list a:hover { color: #60a5fa; }

.hm-foot__text { margin: 0 0 1.1rem; font-size: 0.92rem; color: var(--hm-text-muted); max-width: 34ch; }
.hm-foot__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.hm-foot__cta .hm-btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
.hm-foot__cta .hm-btn svg { width: 16px; height: 16px; }
.hm-foot__meta { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9rem; color: #cbd5e1; }
.hm-foot__meta a { overflow-wrap: anywhere; }
.hm-foot__meta a:hover { color: #60a5fa; }
.hm-foot__markets { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--hm-text-muted); }

.hm-foot__focus { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--hm-line); text-align: center; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--hm-text-muted); }
.hm-foot__widgets { margin-top: 1.5rem; }

.hm-foot__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1.5rem;
	margin-top: 1.75rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--hm-line);
	font-size: 0.82rem;
	color: var(--hm-text-muted);
}
.hm-foot__focus + .hm-foot__bottom { margin-top: 1.25rem; }
.hm-foot__bottom p { margin: 0; }
.hm-foot__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.hm-foot__legal a { color: var(--hm-text-muted); }
.hm-foot__legal a:hover { color: #fff; }

@media (max-width: 1000px) {
	.hm-foot__grid { grid-template-columns: 1fr 1fr; }
	.hm-foot__brand { grid-column: 1 / -1; }
	.hm-foot__about { max-width: 52ch; }
	.hm-foot__contact { grid-column: 1 / -1; }
	.hm-foot__text { max-width: 52ch; }
}
@media (max-width: 560px) {
	.hm-foot { padding-top: 2.5rem; }
	.hm-foot__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
	.hm-foot__cta .hm-btn { flex: 1 1 100%; }
	.hm-foot__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 4.25rem; }
}

/* =====================================================================
   FIXES FROM THE RENDER TEST (mobile 360/390, tablet 768, desktop 1440)
   ===================================================================== */

/* Hero headline: calmer size so it reads in 4 to 5 lines instead of 7 */
.hm-hero__title { font-size: clamp(1.95rem, 3.5vw, 2.9rem); max-width: 21ch; line-height: 1.12; }
@media (max-width: 640px) { .hm-hero__title { font-size: 1.95rem; max-width: none; } }

/* Header call-to-action: same visual weight as the rest of the header */
.hm-header .hm-btn { padding: 0.62rem 1.25rem; font-size: 0.86rem; }

/* Stats bar: equal-height cells, single-line values on wide screens */
.hm-statsbar__item { min-width: 0; }
@media (min-width: 901px) {
	.hm-statsbar__value { font-size: clamp(1rem, 1.5vw, 1.3rem); white-space: nowrap; }
}

/* Process: connector line runs between markers and stops at the last one */
@media (max-width: 640px) {
	.hm-process__timeline::before { display: none; }
	.hm-process__step::after {
		content: "";
		position: absolute;
		left: 27px;
		top: 50px;
		bottom: 0;
		width: 1px;
		background: var(--hm-line-strong);
	}
	.hm-process__step:last-child::after { display: none; }
	.hm-process__step:last-child { padding-bottom: 0; }
}

/* Project cards without an image: compact placeholder, not a tall empty block */
@media (max-width: 640px) {
	.hm-card--project .hm-card__media:has(.hm-card__media-empty) { aspect-ratio: 16 / 6; }
}

/* Contact: the form wrapper is the only panel (original .hm-form had its own box) */
.hm-contact__form-wrap .hm-form { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }

/* Footer focus line */
ul.hm-foot__focus {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 0;
	list-style: none;
	padding: 1.5rem 0 0;
}
.hm-foot__focus li { white-space: nowrap; }
.hm-foot__focus li + li::before { content: "\2022"; margin: 0 0.7rem; color: var(--hm-line-strong); }
@media (max-width: 560px) {
	ul.hm-foot__focus { justify-content: flex-start; }
}

/* Better touch targets and text sizes on phones */
@media (max-width: 640px) {
	.hm-btn { min-height: 46px; }
	.hm-foot__list a, .hm-foot__legal a { display: inline-block; padding: 0.15rem 0; }
	.hm-section__head { margin-bottom: 1.6rem; }
	.hm-section__title { font-size: 1.65rem; }
}

@media (min-width: 901px) {
	.hm-statsbar__value { font-size: clamp(0.95rem, 1.35vw, 1.2rem); }
}
@media (max-width: 560px) {
	.hm-foot__focus li + li::before { display: none; }
	ul.hm-foot__focus { gap: 0.35rem 1.1rem; }
}

/* =====================================================================
   4.1: real brand logos + logo mark
   ===================================================================== */

/* Brand logos sit on a white tile so their official colours read correctly on the dark theme. */
.hm-icon.hm-icon--brand {
	background: #ffffff;
	background-image: none;
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
	color: inherit;
}
.hm-icon.hm-icon--brand .hm-svg { width: 26px; height: 26px; }
.hm-card--feature .hm-icon.hm-icon--brand .hm-svg { width: 30px; height: 30px; }

.hm-hero__chip .hm-icon,
.hm-marquee__chip .hm-icon { padding: 0; overflow: hidden; }
.hm-hero__chip .hm-icon.hm-icon--brand .hm-svg { width: 16px; height: 16px; }
.hm-marquee__chip .hm-icon.hm-icon--brand .hm-svg { width: 18px; height: 18px; }

.hm-logo__mark {
	display: inline-grid;
	place-items: center;
	flex: none;
	font-family: var(--hm-font-head);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #ffffff;
}


/* ---------- v4.1.1: clearer hero chip logos ---------- */
.hm-hero__chip { gap: 0.6rem; padding: 0.35rem 0.95rem 0.35rem 0.35rem; font-size: 0.86rem; }
.hm-hero__chip .hm-icon {
	flex: none;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: #ffffff;
	box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.6);
}
.hm-hero__chip .hm-icon--img img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.hm-hero__chip .hm-icon--svg { color: #1d4ed8; }
.hm-hero__chip .hm-icon svg,
.hm-hero__chip .hm-icon.hm-icon--brand .hm-svg { width: 18px; height: 18px; }

/* ---------- v4.1.1: even footer contact buttons ---------- */
.hm-foot__cta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: 0.6rem;
	max-width: 22rem;
}
.hm-foot__cta .hm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 1rem;
	line-height: 1;
	white-space: nowrap;
	box-sizing: border-box;
}
.hm-foot__meta { gap: 0.5rem; }
.hm-foot__meta li { line-height: 1.5; }
@media (max-width: 560px) {
	.hm-foot__cta { max-width: none; grid-template-columns: 1fr 1fr; }
}

/* ---------- v4.1.2: keep review avatars perfectly round ---------- */
/* Long job titles made the flex row shrink the avatar into an oval. */
.hm-review__avatar {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
}
.hm-review__avatar img {
	display: block;
	width: 52px;
	height: 52px;
	min-width: 52px;
	max-width: none;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #ffffff;
}
.hm-review__id { min-width: 0; }

/* ---------- v4.1.3: balanced footer columns ---------- */
.hm-foot__about { margin: 0.9rem 0 0; max-width: 32ch; font-size: 0.9rem; line-height: 1.65; }
.hm-foot__brand .hm-foot__markets {
	margin: 1.1rem 0 0;
	max-width: 32ch;
	line-height: 1.6;
}
.hm-foot__more { color: #60a5fa !important; font-weight: 600; }
.hm-foot__more:hover { color: #93c5fd !important; }
.hm-foot__text { margin-bottom: 1rem; }
.hm-foot__cta {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	max-width: none;
}
.hm-foot__cta .hm-btn {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	font-size: 0.85rem;
}
.hm-foot__meta { margin-top: 1rem; }
@media (max-width: 1000px) {
	.hm-foot__cta { max-width: 24rem; }
}
@media (max-width: 560px) {
	.hm-foot__cta { max-width: none; }
	.hm-foot__cta .hm-btn { flex: 1 1 0; }
}

/* ---------- v4.1.5: show the full project cover (16:11) on top of the card ---------- */
/* The old 38% side column was portrait-shaped, so landscape covers were cropped on both sides. */
.hm-card--project {
	display: flex;
	flex-direction: column;
}
.hm-card--project .hm-card__media,
.hm-card--project .hm-card__media-empty {
	position: relative;
	width: 100%;
	min-height: 0;
	height: auto;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-bottom: 1px solid var(--hm-line);
}
.hm-card--project .hm-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hm-card--project .hm-card__body { flex: 1 1 auto; }
@media (max-width: 640px) {
	.hm-card--project .hm-card__media img { position: absolute; }
}

/* ---------- v4.1.6: 3 project cards per row, compact card body ---------- */
.hm-projects .hm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hm-card--project .hm-card__body { padding: 1rem 1.05rem 1.1rem; gap: 0.3rem; }
.hm-card--project .hm-card__title { font-size: 1.02rem; line-height: 1.3; }
.hm-card--project .hm-card__text {
	font-size: 0.84rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hm-card__metrics { gap: 0.4rem; margin: 0.35rem 0 0.5rem; }
.hm-card__metrics li { padding: 0.45rem 0.5rem; border-radius: 8px; }
.hm-card__metrics strong { font-size: 0.9rem; }
.hm-card__metrics span { font-size: 0.64rem; }
.hm-card--project .hm-link { font-size: 0.82rem; }
@media (max-width: 1024px) {
	.hm-projects .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.hm-projects .hm-grid { grid-template-columns: 1fr; }
}
