/*
 * IQ CONSTRUCT — V3 design layer, migrated from the approved standalone
 * prototype at /iq-design-prototype-v2/.
 *
 * The prototype is the source of truth: the rules below are its stylesheet with
 * two changes only — every selector is scoped to the `iq-v3` body class so
 * Woodmart, WooCommerce and the Elementor kit cannot reach the approved layout
 * (and so this file cannot reach them), and the global reset is replaced by a
 * scoped one covering just the header, the homepage content and the footer.
 *
 * Fonts come from assets/fonts/fonts.css. Elementor-specific plumbing lives in
 * v3-elementor.css, loaded after this file.
 */

/*
 * IQ CONSTRUCT — V3 prototype. A stone catalogue, not an agency portfolio.
 *
 * One 12-column field with bleed tracks either side (`.layout`). Sections
 * alternate between boxed content, edge-to-edge imagery and full-bleed bands so
 * the page reads as browsing -> inspiration -> conversion, instead of one
 * centred container repeated nine times.
 */

/* ── Tokens ───────────────────────────────────────────────────────────────── */

:root {
	--red: #7C0B0B;
	--red-deep: #480404;
	--black: #020000;

	--ink: #17181A;
	--graphite: #55585C;
	--rule: #E2E2E5;
	--rule-soft: #EFEFF1;
	--sunk: #F4F4F5;
	--paper: #FFFFFF;

	--inv-text: #FFFFFF;
	--inv-muted: rgba(255, 255, 255, .74);
	--inv-rule: rgba(255, 255, 255, .22);
	--rose: #F2B8B8; /* the red, lifted for dark grounds */

	--font-display: 'Manrope', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--t-hero: clamp(38px, 4.4vw, 72px);
	--t-h2: clamp(27px, 2.6vw, 42px);
	--t-h3: clamp(19px, 1.35vw, 22px);
	--t-lead: clamp(17px, 1.1vw, 19px);
	--t-body: 17px;
	--t-small: 15px;
	--t-label: 12px;

	--lh-display: 1.05;
	--lh-tight: 1.16;
	--lh-body: 1.6;
	--track-display: -.025em;
	--track-label: .14em;

	--shell: 1440px;
	--gutter: clamp(18px, 3.4vw, 56px);
	--col-gap: clamp(12px, 1.5vw, 24px);
	--content: min(calc(var(--shell) - var(--gutter) * 2), calc(100% - var(--gutter) * 2));
	--col: calc((var(--content) - 11 * var(--col-gap)) / 12);

	--sp-sm: clamp(18px, 2vw, 28px);
	--sp-md: clamp(30px, 3.4vw, 48px);
	--sp-lg: clamp(52px, 5.6vw, 88px);

	--util-h: 38px;
	--bar-h: 78px;
	--nav-h: 52px;
	--bar-h-sm: 62px;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--dur: 300ms;
	--dur-fast: 150ms;
}


/* ── Scoped reset (header, homepage, footer only) ─────────────────────────── */

/* `:where()` keeps every reset at zero specificity, exactly like the bare
   element selectors it replaces in the prototype, so component rules such as
   `.nav__link` still win. */

:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) *,
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) *::before,
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) *::after { box-sizing: border-box; }

:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) img { display: block; max-width: 100%; height: auto; }

:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) :is(h1, h2, h3, h4) {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: var(--track-display);
	line-height: var(--lh-tight);
}

:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) p { margin: 0; }
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) ul { margin: 0; padding: 0; list-style: none; }
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) a { color: inherit; text-underline-offset: .2em; }
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) button { font: inherit; }
:where(.masthead, .iq-footer, body.iq-v3.iq-home .elementor) figure { margin: 0; }

body.iq-v3.iq-home .elementor,
.iq-v3 .masthead,
.iq-v3 .iq-footer {
	font-family: var(--font-body);
	line-height: var(--lh-body);
	color: var(--ink);
}

body.iq-v3.iq-home .elementor { font-size: var(--t-body); background: var(--paper); }

.iq-v3 .vh {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

/* ── Grid ─────────────────────────────────────────────────────────────────── */

.iq-v3 .layout {
	display: grid;
	grid-template-columns:
		[full-start] minmax(var(--gutter), 1fr)
		repeat(12, [col] minmax(0, var(--col)))
		[content-end] minmax(var(--gutter), 1fr) [full-end];
	column-gap: var(--col-gap);
}

.iq-v3 .bleed { grid-column: full-start / full-end; }

.iq-v3 /* ── Shared parts ─────────────────────────────────────────────────────────── */

.label {
	font-family: var(--font-body);
	font-size: var(--t-label);
	font-weight: 600;
	letter-spacing: var(--track-label);
	text-transform: uppercase;
	color: var(--graphite);
}

.iq-v3 .label--inv { color: rgba(255, 255, 255, .85); }

.iq-v3 /* The stone-cut rule: a hairline with a short red kerf at its start. */
.kerf { position: relative; height: 1px; background: var(--rule); grid-column: col 1 / content-end; }
.iq-v3 .kerf::before {
	content: "";
	position: absolute;
	inset-block-start: -1px;
	inset-inline-start: 0;
	width: clamp(40px, 5vw, 84px);
	height: 3px;
	background: var(--red);
}

.iq-v3 .sectionHead {
	grid-column: col 1 / content-end;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-sm);
	padding-block: var(--sp-md) var(--sp-sm);
}

.iq-v3 .sectionHead h2 { font-size: var(--t-h2); margin-top: 10px; }
.iq-v3 .sectionHead p { margin-top: 10px; color: var(--graphite); max-width: 52ch; }

.iq-v3 .link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-family: var(--font-display);
	font-size: var(--t-small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.iq-v3 .arrow { transition: transform var(--dur) var(--ease); }
.iq-v3 .link:hover .arrow,
.iq-v3 .link:focus-visible .arrow { transform: translateX(5px); }
.iq-v3 .link:hover,
.iq-v3 .link:focus-visible { color: var(--red); }

.iq-v3 .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 26px;
	border: 1px solid var(--red);
	background: var(--red);
	color: #FFFFFF;
	font-family: var(--font-display);
	font-size: var(--t-small);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.iq-v3 .btn:hover,
.iq-v3 .btn:focus-visible { background: var(--red-deep); border-color: var(--red-deep); }
.iq-v3 .btn--light { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.iq-v3 .btn--light:hover,
.iq-v3 .btn--light:focus-visible { background: var(--sunk); border-color: var(--sunk); color: var(--ink); }
.iq-v3 .btn--outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #FFFFFF; }
.iq-v3 .btn--outline:hover,
.iq-v3 .btn--outline:focus-visible { background: rgba(255, 255, 255, .12); border-color: #FFFFFF; }

.iq-v3 figure { margin: 0; }

.iq-v3 /* No text ever sits on a bare photograph. */
.scrim {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(2, 0, 0, 0) 30%, rgba(2, 0, 0, .84) 100%);
	pointer-events: none;
}

.iq-v3 .zoom { overflow: hidden; }
.iq-v3 .zoom img { transition: transform 520ms var(--ease); }
.iq-v3 .zoom:hover img,
.iq-v3 a:hover .zoom img,
.iq-v3 a:focus-visible .zoom img { transform: scale(1.045); }

.iq-v3 .skip {
	position: fixed;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	z-index: 999;
	padding: 12px 18px;
	background: var(--red);
	color: #FFFFFF;
	font-size: var(--t-small);
	text-decoration: none;
	transform: translateY(-250%);
	transition: transform var(--dur-fast) var(--ease);
}

.iq-v3 .skip:focus { transform: translateY(0); }

.iq-v3 /* ── Header ───────────────────────────────────────────────────────────────── */

.masthead { position: sticky; inset-block-start: 0; z-index: 200; background: var(--paper); }

.iq-v3 .utility { background: var(--ink); color: var(--inv-text); font-size: var(--t-small); }

.iq-v3 .utility__row {
	grid-column: col 1 / content-end;
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
	min-height: var(--util-h);
}

.iq-v3 .utility__row .spacer { margin-inline-start: auto; }
.iq-v3 .utility a { color: #FFFFFF; text-decoration: none; font-weight: 500; }
.iq-v3 .utility a:hover,
.iq-v3 .utility a:focus-visible { text-decoration: underline; }
.iq-v3 .utility span { color: var(--inv-muted); }

.iq-v3 .bar { border-bottom: 1px solid var(--rule); }

.iq-v3 .bar__row {
	grid-column: col 1 / content-end;
	display: flex;
	align-items: center;
	gap: var(--sp-md);
	min-height: var(--bar-h);
}

.iq-v3 .brand { flex: 0 0 auto; line-height: 0; }
.iq-v3 .brand img { width: 186px; }

.iq-v3 .search { flex: 1 1 auto; max-width: 560px; }

.iq-v3 .search__field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding-inline: 14px 6px;
	border: 1px solid var(--rule);
	background: var(--sunk);
	transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.iq-v3 .search__field:focus-within { border-color: var(--ink); background: var(--paper); }
.iq-v3 .search__field > svg { flex: 0 0 auto; color: var(--graphite); }

.iq-v3 .search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--t-small);
}

.iq-v3 .search input::placeholder { color: var(--graphite); }
.iq-v3 .search input:focus { outline: none; }

.iq-v3 .search__go {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 0 16px;
	border: 0;
	background: var(--red);
	color: #FFFFFF;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.iq-v3 .search__go:hover,
.iq-v3 .search__go:focus-visible { background: var(--red-deep); }

.iq-v3 .bar__cta { flex: 0 0 auto; margin-inline-start: auto; }
.iq-v3 .burger,
.iq-v3 .bar__mobileCta { display: none; }

.iq-v3 /* The drawer is a mobile-only surface; on desktop it must not exist visually. */
.drawer { display: none; }

.iq-v3 .navbar { position: relative; border-bottom: 1px solid var(--rule); background: var(--paper); }

.iq-v3 .navbar__row {
	grid-column: col 1 / content-end;
	display: flex;
	align-items: stretch;
	gap: clamp(6px, 1.6vw, 26px);
	min-height: var(--nav-h);
}

.iq-v3 .nav__item { display: flex; }

.iq-v3 .nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding-inline: 4px;
	border: 0;
	background: none;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--t-small);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.iq-v3 .nav__link::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 2px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dur) var(--ease);
}

.iq-v3 .nav__link:hover::after,
.iq-v3 .nav__link:focus-visible::after,
.iq-v3 .nav__link[aria-expanded="true"]::after,
.iq-v3 .nav__link[aria-current]::after { transform: scaleX(1); }

.iq-v3 .chev { transition: transform var(--dur-fast) var(--ease); }
.iq-v3 .nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.iq-v3 .navbar__aside { margin-inline-start: auto; display: flex; align-items: center; gap: var(--sp-sm); }

.iq-v3 .mega {
	position: absolute;
	inset-inline: 0;
	inset-block-start: 100%;
	z-index: 90;
	background: var(--paper);
	border-block-end: 1px solid var(--rule);
	box-shadow: 0 26px 44px -30px rgba(2, 0, 0, .45);
	padding-block: var(--sp-md);
}

.iq-v3 .mega[hidden] { display: none; }

.iq-v3 .mega__list {
	grid-column: col 1 / col 7;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 var(--col-gap);
	align-content: start;
}

.iq-v3 .mega__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	border-bottom: 1px solid var(--rule-soft);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.iq-v3 .mega__list a small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--graphite); }
.iq-v3 .mega__list a:hover,
.iq-v3 .mega__list a:focus-visible { color: var(--red); border-bottom-color: var(--red); }

.iq-v3 .mega__promo { grid-column: col 8 / content-end; display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.iq-v3 .mega__card { position: relative; display: block; overflow: hidden; text-decoration: none; color: #FFFFFF; }
.iq-v3 .mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.iq-v3 .mega__card span { position: absolute; inset-block-end: 12px; inset-inline-start: 14px; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: 15px; }

.iq-v3 /* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
	position: relative;
	min-height: min(78vh, 760px);
	align-content: end;
	isolation: isolate;
	color: var(--inv-text);
}

.iq-v3 .hero__media { position: absolute; inset: 0; z-index: -2; }
.iq-v3 .hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.03); }

.iq-v3 .hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(2, 0, 0, .9) 0%, rgba(2, 0, 0, .64) 46%, rgba(2, 0, 0, .2) 78%),
		linear-gradient(180deg, rgba(2, 0, 0, .5) 0%, rgba(2, 0, 0, 0) 36%);
}

.iq-v3 .hero__body { grid-column: col 1 / col 8; padding-block: var(--sp-lg) var(--sp-md); }

.iq-v3 .hero h1 {
	margin-block: 14px 16px;
	font-size: var(--t-hero);
	line-height: var(--lh-display);
	max-width: 16ch;
	color: #FFFFFF;
}

.iq-v3 .hero h1 em { font-style: normal; color: var(--rose); }
.iq-v3 .hero__lead { font-size: var(--t-lead); color: rgba(255, 255, 255, .93); max-width: 48ch; }
.iq-v3 .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-sm); }

.iq-v3 .hero__jump {
	grid-column: col 1 / content-end;
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, .3);
}

.iq-v3 .hero__jump a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	padding-inline: clamp(14px, 2vw, 26px);
	border-inline-end: 1px solid rgba(255, 255, 255, .3);
	color: #FFFFFF;
	font-family: var(--font-display);
	font-size: var(--t-small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.iq-v3 .hero__jump a:first-child { padding-inline-start: 0; }
.iq-v3 .hero__jump a:last-child { border-inline-end: 0; }
.iq-v3 .hero__jump a:hover,
.iq-v3 .hero__jump a:focus-visible { color: var(--rose); }
.iq-v3 .hero__jump a:hover .arrow,
.iq-v3 .hero__jump a:focus-visible .arrow { transform: translateX(4px); }

.iq-v3 /* ── Trust strip ──────────────────────────────────────────────────────────── */

.trust { background: var(--ink); color: var(--inv-text); }

.iq-v3 .trust__row {
	grid-column: col 1 / content-end;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--inv-rule);
}

.iq-v3 .trust__item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); }
.iq-v3 .trust__item svg { flex: 0 0 auto; color: var(--rose); }
.iq-v3 .trust__item b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.iq-v3 .trust__item span { font-size: 13px; color: var(--inv-muted); }

.iq-v3 /* ── Applications ─────────────────────────────────────────────────────────── */

.apps { padding-bottom: var(--sp-lg); }

.iq-v3 .apps__grid {
	grid-column: col 1 / content-end;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: minmax(0, auto);
	align-items: stretch;
	gap: var(--col-gap);
}

.iq-v3 .tile {
	position: relative;
	display: block;
	overflow: hidden;
	color: #FFFFFF;
	text-decoration: none;
	background: var(--ink);
}

.iq-v3 .tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 520ms var(--ease);
}
.iq-v3 .tile:hover img,
.iq-v3 .tile:focus-visible img { transform: scale(1.045); }
.iq-v3 .tile__body { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 1; padding: clamp(16px, 1.6vw, 26px); }
.iq-v3 .tile h3 { font-size: clamp(20px, 1.7vw, 28px); color: #FFFFFF; display: flex; align-items: center; gap: 10px; }
.iq-v3 .tile p { margin-top: 6px; font-size: var(--t-small); color: rgba(255, 255, 255, .92); max-width: 36ch; }
.iq-v3 .tile:hover .arrow,
.iq-v3 .tile:focus-visible .arrow { transform: translateX(5px); }

.iq-v3 /* Blaturi sets the row height through its ratio; the stack fills exactly the
   same box,
.iq-v3 so Trepte + gap + Glafuri/Placări always equals the lead card.
   The two small tiles share one row and one column track,
.iq-v3 so they are identical
   by construction rather than by matching two aspect ratios by hand. */
.tile--lead { grid-column: span 6; aspect-ratio: 4 / 3.4; align-self: start; }

.iq-v3 .apps__stack {
	grid-column: span 6;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: minmax(0, 42fr) minmax(0, 58fr);
	gap: var(--col-gap);
	height: 100%;
}

.iq-v3 .tile--a { grid-column: span 2; }
.iq-v3 .tile--a,
.iq-v3 .tile--b,
.iq-v3 .tile--c { height: 100%; min-height: 0; }

.iq-v3 /* ── Materials ────────────────────────────────────────────────────────────── */

.materials { background: var(--sunk); padding-bottom: var(--sp-lg); }

.iq-v3 .rail {
	grid-column: col 1 / content-end;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--col-gap);
}

.iq-v3 .card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--rule);
	text-decoration: none;
	color: inherit;
	transition: border-color var(--dur) var(--ease);
}

.iq-v3 .card:hover,
.iq-v3 .card:focus-visible { border-color: var(--ink); }
.iq-v3 .card__media { position: relative; overflow: hidden; }
.iq-v3 .card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 520ms var(--ease); }
.iq-v3 .card:hover .card__media img,
.iq-v3 .card:focus-visible .card__media img { transform: scale(1.045); }

.iq-v3 .card__tag {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: 1;
	padding: 7px 12px;
	background: var(--ink);
	color: #FFFFFF;
	font-size: var(--t-label);
	font-weight: 600;
	letter-spacing: var(--track-label);
	text-transform: uppercase;
}

.iq-v3 .card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.iq-v3 .card__body h3 { font-size: var(--t-h3); }
.iq-v3 .card__body p { font-size: var(--t-small); color: var(--graphite); }

.iq-v3 .card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	padding-top: 12px;
	border-top: 1px solid var(--rule-soft);
	font-size: 13px;
	color: var(--graphite);
}

.iq-v3 .card__meta b { color: var(--ink); font-weight: 600; }

.iq-v3 .card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	min-height: 52px;
	padding: 10px 18px;
	border-top: 1px solid var(--rule-soft);
	font-family: var(--font-display);
	font-size: var(--t-small);
	font-weight: 600;
	color: var(--red);
}

.iq-v3 .card:hover .card__foot .arrow,
.iq-v3 .card:focus-visible .card__foot .arrow { transform: translateX(5px); }

.iq-v3 /* ── Featured project card ────────────────────────────────────────────────── */

/* Both this and the atelier module are compact cards on the shared content
   field — same width,
.iq-v3 same gutters,
.iq-v3 same border language as the material cards.
   The card's own min-height sets the row,
.iq-v3 and the photograph is absolute inside
   its cell,
.iq-v3 so neither module can grow past ~380px on desktop. */

.featured { padding-block: var(--sp-md); }

.iq-v3 .promo,
.iq-v3 .craft {
	grid-column: col 1 / content-end;
	display: grid;
	align-items: stretch;
	border: 1px solid var(--rule);
	background: var(--paper);
	overflow: hidden;
}

.iq-v3 .promo,
.iq-v3 .craft {
	grid-template-columns: 5fr 7fr;
	min-height: 300px;
}

.iq-v3 .promo__media,
.iq-v3 .craft__media {
	position: relative;
	overflow: hidden;
	background: var(--sunk);
}

.iq-v3 .promo__media img,
.iq-v3 .craft__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: 340px;
	object-fit: cover;
	object-position: center;
	transition: transform 520ms var(--ease);
}

.iq-v3 /* A hairline where the picture meets the copy,
.iq-v3 so the two halves read as one
   card rather than two stuck-together blocks. */
.promo__media,
.iq-v3 .craft__media { border-inline-end: 1px solid var(--rule); }

.iq-v3 .promo__stamp {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	z-index: 1;
	padding: 8px 14px;
	background: var(--red);
	color: #FFFFFF;
	font-size: var(--t-label);
	font-weight: 600;
	letter-spacing: var(--track-label);
	text-transform: uppercase;
}

.iq-v3 .promo__body,
.iq-v3 .craft__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(20px, 2vw, 32px);
}

.iq-v3 .promo__body h2,
.iq-v3 .craft__body h2 {
	font-size: clamp(20px, 1.6vw, 26px);
	max-width: 26ch;
}

.iq-v3 .promo__text { font-size: var(--t-small); color: var(--graphite); max-width: 46ch; }

.iq-v3 .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.iq-v3 .tags li {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--rule);
	background: var(--sunk);
	font-size: 13px;
	color: var(--ink);
}

.iq-v3 .tags b {
	font-family: var(--font-body);
	font-size: var(--t-label);
	font-weight: 600;
	letter-spacing: var(--track-label);
	text-transform: uppercase;
	color: var(--graphite);
}

.iq-v3 .promo__cta { margin-top: auto; align-self: start; }

.iq-v3 /* ── Atelier: four steps,
.iq-v3 one stone detail ────────────────────────────────── */

.atelier { padding-block: var(--sp-md); }
.iq-v3 .craft__body { justify-content: center; gap: 12px; }

.iq-v3 .flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 6px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}

.iq-v3 .flow__step {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 2px 0;
	border-inline-end: 1px solid var(--rule);
}

.iq-v3 .flow__step:last-child { border-inline-end: 0; }
.iq-v3 .flow__step svg { color: var(--red); }
.iq-v3 .flow__step b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.iq-v3 .flow__step small { font-size: 13px; color: var(--graphite); }

.iq-v3 /* ── Gallery ──────────────────────────────────────────────────────────────── */

.gallery { background: var(--sunk); padding-bottom: var(--sp-lg); }

.iq-v3 .gallery__grid {
	grid-column: col 1 / content-end;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: stretch;
	gap: var(--col-gap);
}

.iq-v3 .shot { position: relative; display: block; overflow: hidden; color: #FFFFFF; text-decoration: none; }
.iq-v3 .shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 520ms var(--ease);
}
.iq-v3 .shot:hover img,
.iq-v3 .shot:focus-visible img { transform: scale(1.045); }
.iq-v3 .shot figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 1; padding: 14px 16px; font-size: var(--t-small); }
.iq-v3 .shot figcaption b { display: block; font-family: var(--font-display); font-size: 16px; }
.iq-v3 .shot figcaption span { color: rgba(255, 255, 255, .88); }

.iq-v3 /* The lead frame sets the row height; its neighbour stretches to the same box,
.iq-v3 so the two outer edges of the row line up exactly. */
.shot--1 { grid-column: span 7; aspect-ratio: 3 / 2; align-self: start; }
.iq-v3 .shot--2 { grid-column: span 5; height: 100%; }
.iq-v3 .shot--3,
.iq-v3 .shot--4,
.iq-v3 .shot--5 { grid-column: span 4; aspect-ratio: 4 / 5; align-self: start; }

.iq-v3 /* ── Process ──────────────────────────────────────────────────────────────── */

.process { padding-block: var(--sp-lg); row-gap: var(--sp-md); }
.iq-v3 .process__head { grid-column: col 1 / col 5; align-self: center; }
.iq-v3 .process__head h2 { font-size: var(--t-h2); margin-top: 12px; }
.iq-v3 .process__head p { margin-top: 12px; color: var(--graphite); }

.iq-v3 .steps { grid-column: col 6 / content-end; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.iq-v3 .step { display: flex; flex-direction: column; gap: 10px; }
.iq-v3 .step__no { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: var(--track-label); color: var(--red); }
.iq-v3 .step img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.iq-v3 .step h3 { font-size: 17px; }
.iq-v3 .step p { font-size: 14px; color: var(--graphite); }

.iq-v3 /* ── Close ────────────────────────────────────────────────────────────────── */

.close { background: var(--red-deep); color: var(--inv-text); padding-block: var(--sp-lg); row-gap: var(--sp-sm); }
.iq-v3 .close__text { grid-column: col 1 / col 8; }
.iq-v3 .close__text h2 { font-size: var(--t-h2); color: #FFFFFF; max-width: 20ch; margin-top: 12px; }
.iq-v3 .close__text p { margin-top: 14px; color: rgba(255, 255, 255, .86); max-width: 46ch; }
.iq-v3 .close__actions { grid-column: col 9 / content-end; align-self: center; display: grid; gap: 12px; justify-items: start; }
.iq-v3 .close__actions .contact { display: grid; gap: 2px; font-size: var(--t-small); color: rgba(255, 255, 255, .9); }
.iq-v3 .close__actions .contact a { color: #FFFFFF; display: inline-flex; align-items: center; min-height: 34px; font-weight: 600; }

.iq-v3 /* ── Footer ───────────────────────────────────────────────────────────────── */

.footer { background: var(--sunk); border-top: 1px solid var(--rule); padding-block: var(--sp-lg) var(--sp-sm); row-gap: var(--sp-md); }
.iq-v3 .footer__brand { grid-column: col 1 / col 4; }
.iq-v3 .footer__brand img { width: 160px; }
.iq-v3 .footer__brand address { margin-top: 16px; font-style: normal; font-size: var(--t-small); color: var(--graphite); }
.iq-v3 .footer__brand address a { color: var(--ink); font-weight: 500; }

/* Coloanele erau plasate fix pentru patru; cu trei, regula celei de-a patra nu
   mai prindea nimic și rămâneau 291px de gol în dreapta, sub rândul de jos care
   se întinde până la capăt. Trei coloane umplu acum lățimea. */
.iq-v3 .footer__col:nth-of-type(1) { grid-column: col 5 / col 8; }
.iq-v3 .footer__col:nth-of-type(2) { grid-column: col 8 / col 11; }
.iq-v3 .footer__col:nth-of-type(3) { grid-column: col 11 / content-end; }

/* Dacă se adaugă din nou o a patra coloană, se strâng la împărțirea inițială
   în loc să iasă din grilă. */
.iq-v3 .footer:has(.footer__col:nth-of-type(4)) .footer__col:nth-of-type(1) { grid-column: col 5 / col 7; }
.iq-v3 .footer:has(.footer__col:nth-of-type(4)) .footer__col:nth-of-type(2) { grid-column: col 7 / col 9; }
.iq-v3 .footer:has(.footer__col:nth-of-type(4)) .footer__col:nth-of-type(3) { grid-column: col 9 / col 11; }
.iq-v3 .footer:has(.footer__col:nth-of-type(4)) .footer__col:nth-of-type(4) { grid-column: col 11 / content-end; }

.iq-v3 .footer__col h2 { font-family: var(--font-body); font-size: var(--t-label); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--graphite); }
.iq-v3 .footer__col li { margin-top: 6px; }
.iq-v3 .footer__col a { display: inline-flex; align-items: center; min-height: 34px; font-size: var(--t-small); text-decoration: none; }
.iq-v3 .footer__col a:hover,
.iq-v3 .footer__col a:focus-visible { color: var(--red); text-decoration: underline; }

.iq-v3 .footer__legal {
	grid-column: col 1 / content-end;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	/* Baseline, not centre: the two groups hold boxes of different heights and
	   centring them puts their text on different lines. */
	align-items: baseline;
	gap: 8px 24px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
	font-size: var(--t-small);
	color: var(--graphite);
}

/* The legal row carries two groups: the site meta on one side, the statutory
   links on the other. `space-between` on the parent keeps them apart. */
.iq-v3 .footer__legal-meta,
.iq-v3 .footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 24px;
}

.iq-v3 .footer__legal-meta p { margin: 0; }

.iq-v3 .footer__legal-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The cookie-settings control is a button — it opens a dialog, it does not
   navigate — so it is stripped back to look like its neighbours. */
.iq-v3 .footer__cc {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
	/* Woodmart styles every `button` as `inline-flex` with `min-height: 42px`.
	   Next to two 24px anchors that is a box nearly twice as tall, and whatever
	   the row aligns on, this one sits apart. Put it back on the text's terms. */
	display: inline;
	min-height: 0;
	line-height: inherit;
	vertical-align: baseline;
}

.iq-v3 .footer__legal-links a,
.iq-v3 .footer__cc {
	color: var(--graphite);
	text-decoration: none;
	transition: color 200ms var(--ease);
}

.iq-v3 .footer__legal-links a:hover,
.iq-v3 .footer__legal-links a:focus-visible,
.iq-v3 .footer__cc:hover,
.iq-v3 .footer__cc:focus-visible {
	color: var(--red);
	text-decoration: underline;
}

.iq-v3 /* ── Motion ───────────────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.iq-v3 .reveal.is-in { opacity: 1; transform: none; }

.iq-v3 /* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
	.iq-v3 .brand img { width: 156px; }
	.iq-v3 .search { max-width: 360px; }
	.iq-v3 .hero__body { grid-column: col 1 / col 10; }
	.iq-v3 .process__head { grid-column: col 1 / col 5; }
	.iq-v3 .steps { grid-column: col 5 / content-end; }
	.iq-v3 .mega__list { grid-column: col 1 / col 8; }
	.iq-v3 .mega__promo { grid-column: col 9 / content-end; }
}

@media (max-width: 1000px) {
	.iq-v3 .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iq-v3 .trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iq-v3 .tile--lead { grid-column: span 12; aspect-ratio: 16 / 9; }
	.iq-v3 .apps__stack { grid-column: span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iq-v3 .tile--b,
.iq-v3 .tile--c { aspect-ratio: 4 / 3.6; }
}

@media (max-width: 860px) {
	:root { --t-hero: clamp(30px, 7.4vw, 40px); }

	.iq-v3 .layout > *:not(.bleed):not(.hero) { grid-column: col 1 / content-end; }

	.iq-v3 .utility,
.iq-v3 .navbar,
.iq-v3 .bar__cta { display: none; }
	.iq-v3 .bar > .bar__row > .search { display: none; }

	.iq-v3 /* Three real columns: the side tracks are equal,
.iq-v3 so the logo is centred in
	   the viewport rather than between two controls of different widths. */
	.bar__row {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap: 10px;
		min-height: var(--bar-h-sm);
	}

	.iq-v3 .brand { justify-self: center; margin: 0; }
	.iq-v3 .brand img { width: 118px; }

	.iq-v3 .burger {
		justify-self: start;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0 12px;
		border: 1px solid var(--rule);
		background: none;
		color: var(--ink);
		font-size: 14px;
		cursor: pointer;
	}

	.iq-v3 /* Menu and offer controls are the same height,
.iq-v3 so the bar reads as one row. */
	.bar__mobileCta {
		justify-self: end;
		display: inline-flex;
		height: 44px;
		min-height: 44px;
		padding: 0 14px;
		font-size: 14px;
	}

	.iq-v3 .drawer {
		display: block;
		position: fixed;
		inset: var(--bar-h-sm) 0 0 0;
		z-index: 190;
		padding: 14px var(--gutter) 40px;
		background: var(--paper);
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) step-end;
	}

	.iq-v3 .drawer[data-open="true"] {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) step-start;
	}

	body[data-nav="open"] { overflow: hidden; }
	.iq-v3 .drawer .search { display: block; max-width: none; margin-bottom: 14px; }

	.iq-v3 .group { border-bottom: 1px solid var(--rule); }

	.iq-v3 .group__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 56px;
		padding: 0;
		border: 0;
		background: none;
		color: var(--ink);
		font-family: var(--font-display);
		font-size: 17px;
		font-weight: 600;
		text-align: start;
		cursor: pointer;
	}

	.iq-v3 .group__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
	.iq-v3 .group__panel[hidden] { display: none; }
	.iq-v3 .group__panel { padding-bottom: 8px; }
	.iq-v3 .group__panel a { display: flex; align-items: center; min-height: 48px; padding-inline-start: 14px; border-top: 1px solid var(--rule-soft); font-size: 16px; text-decoration: none; }

	.iq-v3 .drawer__single { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: 17px; font-weight: 600; text-decoration: none; }
	.iq-v3 .drawer__contact { margin-top: 18px; display: grid; gap: 4px; font-size: var(--t-small); color: var(--graphite); }
	.iq-v3 .drawer__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); font-weight: 600; }

	.iq-v3 .hero { min-height: 0; }
	.iq-v3 .hero::after { background: linear-gradient(180deg, rgba(2, 0, 0, .5) 0%, rgba(2, 0, 0, .74) 58%, rgba(2, 0, 0, .9) 100%); }
	.iq-v3 .hero__media img { min-height: 0; }
	.iq-v3 .hero__body { padding-block: var(--sp-md) var(--sp-sm); }
	.iq-v3 .hero__lead { font-size: 16px; }

	.iq-v3 /* Both actions are one column wide,
.iq-v3 so they are equal by definition. */
	.hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
	.iq-v3 .hero__actions .btn { width: 100%; }

	.iq-v3 /* Four shortcuts,
.iq-v3 four equal cells — nothing scrolls off the edge. */
	.hero__jump {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
	}

	.iq-v3 .hero__jump a {
		justify-content: space-between;
		min-height: 52px;
		padding-inline: 14px;
	}

	.iq-v3 .hero__jump a:first-child { padding-inline-start: 14px; }
	.iq-v3 .hero__jump a:nth-child(2n) { border-inline-end: 0; }
	.iq-v3 .hero__jump a:nth-child(n + 3) { border-block-start: 1px solid rgba(255, 255, 255, .3); }

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

	.iq-v3 /* All four application cards share one ratio,
.iq-v3 one gap and one text inset,
.iq-v3 so
	   copy length can no longer change a card's height. */
	.apps__grid { grid-template-columns: 1fr; gap: 12px; }

	.iq-v3 .apps__stack {
		grid-column: auto;
		grid-template-columns: 1fr;
		grid-template-rows: none;
		gap: 12px;
		height: auto;
	}

	.iq-v3 .tile--lead,
.iq-v3 .tile--a,
.iq-v3 .tile--b,
.iq-v3 .tile--c {
		grid-column: auto;
		aspect-ratio: 16 / 10;
		height: auto;
		align-self: stretch;
	}

	.iq-v3 .tile h3 { font-size: 22px; }

	.iq-v3 /* Body copy holds 16px on phones; only true metadata sits below it. */
	.tile p,
.iq-v3 .card__body p,
.iq-v3 .sectionHead > div > p,
.iq-v3 .craft__body p,
.iq-v3 .promo__text,
.iq-v3 .step p,
.iq-v3 .close__text p,
.iq-v3 .process__head p,
.iq-v3 .footer__brand address,
.iq-v3 .footer__col a { font-size: 16px; }

	.iq-v3 .card__meta { font-size: 14px; }
	.iq-v3 .trust__item span { font-size: 14px; }

	.iq-v3 .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.iq-v3 .card__body { padding: 14px; }
	.iq-v3 .card__foot { padding: 8px 14px; }

	.iq-v3 /* Both modules stack: a short image band,
.iq-v3 then the copy. */
	.promo,
.iq-v3 .craft { grid-template-columns: 1fr; min-height: 0; }
	.iq-v3 .promo__media,
.iq-v3 .craft__media { aspect-ratio: auto; height: 200px; }
	.iq-v3 .promo__media img,
.iq-v3 .craft__media img { max-height: none; }
	.iq-v3 .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.iq-v3 .flow__step { padding: 12px 12px 8px 0; border-block-end: 1px solid var(--rule); }
	.iq-v3 .flow__step:nth-child(2n) { border-inline-end: 0; }
	.iq-v3 .flow__step:nth-last-child(-n + 2) { border-block-end: 0; }

	.iq-v3 .shot--1,
.iq-v3 .shot--2,
.iq-v3 .shot--5 { grid-column: span 2; aspect-ratio: 16 / 10; height: auto; }
	.iq-v3 .shot--3,
.iq-v3 .shot--4 { grid-column: span 1; aspect-ratio: 4 / 5; }

	.iq-v3 .steps { grid-template-columns: 1fr; gap: var(--sp-sm); }
	.iq-v3 .step { flex-direction: row; align-items: flex-start; gap: 14px; }
	.iq-v3 .step img { width: 112px; flex: 0 0 auto; aspect-ratio: 1 / 1; }
	.iq-v3 .step > div { flex: 1 1 auto; }

	.iq-v3 .close__actions { margin-top: var(--sp-sm); justify-items: stretch; }
	.iq-v3 .close__actions .btn { width: 100%; }
	.iq-v3 .close__actions .contact a { min-height: 44px; }

	.iq-v3 /* Every tap target reaches 44px on the phone,
.iq-v3 logos and search included. */
	.search__go { min-height: 44px; }
	.iq-v3 .brand,
.iq-v3 .footer__brand > a { display: inline-flex; align-items: center; min-height: 44px; }

	.iq-v3 .footer__col { margin-top: var(--sp-sm); }
	.iq-v3 .footer__col a { min-height: 44px; }
	.iq-v3 .footer__brand address a { display: inline-flex; align-items: center; min-height: 44px; }
	.iq-v3 .footer__legal { flex-direction: column; align-items: flex-start; }
	.iq-v3 .footer__legal-links a,
	.iq-v3 .footer__cc { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 460px) {
	/* Visual margin = outer track + one column gap = 8 + 12 = 20px. */
	:root { --gutter: 8px; --col-gap: 12px; }
	.iq-v3 .trust__row { grid-template-columns: 1fr; }
	.iq-v3 .rail { grid-template-columns: 1fr; }

}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.iq-v3 *,
.iq-v3 *::before,
.iq-v3 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.iq-v3 .reveal { opacity: 1; transform: none; }
}
