/* ==========================================================================
   Promarh gradnja – home page
   ========================================================================== */

:root {
	--accent: #f47b20;
	--accent-600: #d9640c;
	--accent-50: #fff3e8;
	--green: #1f6b47;
	--ink: #15120f;
	--ink-2: #221d19;
	--ink-3: #2e2823;
	--text: #5f5852;
	--muted: #8c847d;
	--line: #ebe5df;
	--bg: #faf8f5;
	--white: #fff;

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

	--radius-lg: 28px;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 24px 60px -24px rgba(40, 24, 10, .25);
	--shadow-sm: 0 10px 30px -12px rgba(40, 24, 10, .18);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--ink);
}
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.section { padding: clamp(80px, 11vw, 140px) 0; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 10px;
	z-index: 1000;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
}
.skip-link:focus { left: 10px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent-600);
}
.eyebrow::before {
	content: '';
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.eyebrow-light { color: rgba(255, 255, 255, .85); }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg use[href="#i-arrow"],
.btn:hover svg { transform: translateX(3px); }
.btn:has(use[href="#i-phone"]):hover svg { transform: none; }
.btn-sm { padding: 12px 20px; font-size: 14px; }

.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -10px rgba(244, 123, 32, .8); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }

.btn-glass {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .35);
	color: var(--white);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: var(--white); color: var(--ink); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }

/* Brand ------------------------------------------------------------------ */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.brand-text {
	display: flex;
	flex-direction: column;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.02em;
	text-transform: uppercase;
}
.brand-text small {
	margin-top: 5px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .42em;
	opacity: .7;
}

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

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	color: var(--white);
	transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.site-header.is-scrolled {
	color: var(--ink);
	background: rgba(250, 248, 245, .82);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.main-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a,
.menu-parent {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.menu > li > a:hover,
.menu-parent:hover,
.menu > li:focus-within > .menu-parent { background: rgba(255, 255, 255, .14); }
.is-scrolled .menu > li > a:hover,
.is-scrolled .menu-parent:hover,
.is-scrolled .menu > li:focus-within > .menu-parent { background: rgba(21, 18, 15, .06); }
.menu-parent svg { transition: transform .25s; }
.has-children:hover .menu-parent svg,
.menu-parent[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	width: 290px;
	padding: 8px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before {
	/* hover bridge between trigger and panel */
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}
.has-children:hover > .dropdown,
.has-children:focus-within > .dropdown,
.menu-parent[aria-expanded="true"] + .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
.dropdown a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--ink);
	transition: background-color .2s, color .2s;
}
.dropdown a:hover { background: var(--accent-50); color: var(--accent-600); }

.menu-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	margin-left: auto;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	opacity: .9;
}
.menu-toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
	overflow-y: auto;
	background: var(--ink);
	color: var(--white);
	animation: fade-in .3s ease;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav nav > ul > li > a,
.m-parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 0;
	border: 0;
	background: none;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.02em;
	text-align: left;
	cursor: pointer;
}
.m-parent svg { transition: transform .25s; }
.m-parent[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-group ul { display: none; padding: 0 0 14px; }
.m-parent[aria-expanded="true"] + ul { display: block; }
.m-group ul a { display: block; padding: 8px 0; color: rgba(255, 255, 255, .7); }
.m-group ul a:hover { color: var(--accent); }
.mobile-nav-contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: auto;
	padding-top: 32px;
}
.mobile-mail { text-align: center; color: rgba(255, 255, 255, .7); }
.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .header-cta { display: none; }
.menu-open .header-cta + .menu-toggle { margin-left: auto; }

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

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding-top: var(--header-h);
	overflow: hidden;
	color: var(--white);
	background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(15, 12, 10, .78) 0%, rgba(15, 12, 10, .35) 55%, rgba(15, 12, 10, .1) 100%),
		linear-gradient(0deg, rgba(15, 12, 10, .7) 0%, rgba(15, 12, 10, 0) 45%),
		linear-gradient(180deg, rgba(15, 12, 10, .5) 0%, rgba(15, 12, 10, 0) 25%);
}
.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.2s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero-content {
	position: relative;
	padding-top: 60px;
	padding-bottom: 48px;
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	padding: 8px 16px 8px 12px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 14px;
	font-weight: 500;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(244, 123, 32, .3);
	animation: pulse 2s infinite;
}
.hero h1 {
	max-width: 13ch;
	margin-bottom: 24px;
	font-size: clamp(44px, 7.4vw, 104px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--white);
}
.hero h1 em {
	font-style: normal;
	color: var(--accent);
}
.hero-lead {
	max-width: 520px;
	margin-bottom: 36px;
	font-size: clamp(17px, 1.4vw, 19px);
	color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-bottom {
	position: relative;
	padding-bottom: 32px;
}
.hero-tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 0 0;
	border: 0;
	background: none;
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	color: rgba(255, 255, 255, .55);
	cursor: pointer;
	transition: color .3s;
}
.hero-tab:hover,
.hero-tab.is-active { color: var(--white); }
.tab-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.hero-tab i {
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	width: 0;
	background: var(--accent);
}
.hero-tab.is-active i { animation: progress var(--slide-duration, 6s) linear forwards; }

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

.stats {
	position: relative;
	z-index: 2;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stat {
	padding: 40px 28px;
	border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: clamp(38px, 4vw, 52px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--ink);
}
.stat span { display: block; max-width: 200px; font-size: 15px; line-height: 1.5; }

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

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(48px, 7vw, 110px);
	align-items: center;
}
.about-copy h2 { max-width: 12ch; margin-bottom: 28px; }
.about-copy > p { max-width: 540px; }

.checklist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 24px;
	margin-top: 36px;
}
.checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--ink);
}
.checklist svg {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 50%;
	background: var(--accent-50);
	color: var(--accent-600);
}

.about-media {
	position: relative;
	padding: 0 0 80px 70px;
}
.about-media figure { overflow: hidden; border-radius: var(--radius-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-img-main { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-img-small {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 1;
	border: 8px solid var(--bg);
	box-shadow: var(--shadow);
}
.img-placeholder { background: #ece6df; }
.about-img-small.img-placeholder { background: #e3dcd3; }
.about-quote {
	position: absolute;
	right: -20px;
	bottom: 30px;
	max-width: 280px;
	padding: 26px 28px;
	border-radius: var(--radius);
	background: var(--accent);
	box-shadow: var(--shadow);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--white);
}

/* Projects --------------------------------------------------------------- */

.projects { background: var(--white); }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { margin-bottom: 0; }
.section-head-text { max-width: 380px; margin: 0; }

.project {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.project + .project { margin-top: clamp(64px, 9vw, 120px); }
.project-reverse { grid-template-columns: 1fr 1.25fr; }
.project-reverse .project-media { order: 2; }

.project-media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	background: var(--line);
}
.project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.project:hover .project-media img { transform: scale(1.05); }
.project-tag {
	position: absolute;
	top: 20px;
	left: 20px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.project-body { position: relative; }
.project-num {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-size: clamp(64px, 7vw, 96px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--line);
}
.project-loc {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--accent-600);
}
.project-green .project-loc { color: var(--green); }
.project-body h3 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 18px; }
.project-body > p { max-width: 500px; }

.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 28px 0 34px;
}
.facts li {
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	color: var(--text);
}
.facts strong { font-weight: 600; color: var(--ink); }

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

.process {
	background: var(--ink);
	color: rgba(255, 255, 255, .65);
}
.process h2,
.process h3 { color: var(--white); }
.process .eyebrow { color: var(--accent); }

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 40px 36px 44px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--radius-lg);
	background: var(--ink-2);
	transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.step:hover {
	background: var(--ink-3);
	border-color: rgba(244, 123, 32, .4);
	transform: translateY(-6px);
}
.step-icon {
	display: block;
	width: 56px;
	height: 56px;
	margin-bottom: 48px;
	background: var(--accent);
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
.step-num {
	position: absolute;
	top: 36px;
	right: 36px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, .3);
}
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { font-size: 16px; }

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

.cta { padding-top: 0; background: linear-gradient(var(--ink) 50%, var(--bg) 50%); }
.cta-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
	padding: clamp(40px, 6vw, 80px);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, #f8913f 0%, var(--accent) 45%, #e0600a 100%);
	color: rgba(255, 255, 255, .88);
}
.cta-card::after {
	/* decorative rings */
	content: '';
	position: absolute;
	right: -140px;
	top: -140px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, .08);
	pointer-events: none;
}
.cta-copy h2 { color: var(--white); }
.cta-copy p { max-width: 440px; font-size: 18px; }
.cta-actions { position: relative; z-index: 1; display: grid; gap: 12px; }
.cta-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px 14px 14px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .22);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--white);
	transition: background-color .25s, color .25s, transform .25s var(--ease);
	overflow-wrap: anywhere;
}
.cta-link:hover { background: var(--white); color: var(--ink); transform: translateX(4px); }
.cta-link small {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	opacity: .75;
}
.cta-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--white);
	color: var(--accent-600);
}

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

.site-footer {
	padding: 80px 0 32px;
	background: var(--bg);
	font-size: 15px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 20px; color: var(--ink); }
.footer-brand p { max-width: 320px; }
.footer-col h4 {
	margin-bottom: 18px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-600); }

.footer-bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 28px;
	font-size: 14px;
	color: var(--muted);
}
.footer-bottom::before {
	content: '';
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--line);
}
.to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: var(--ink);
}
.to-top svg { transform: rotate(-90deg); transition: transform .25s var(--ease); }
.to-top:hover svg { transform: rotate(-90deg) translateX(3px); }

/* Animations ------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(244, 123, 32, .3); }
	50% { box-shadow: 0 0 0 8px rgba(244, 123, 32, 0); }
}

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

/* Responsive ------------------------------------------------------------- */

@media (max-width: 820px) {
	.main-nav { display: none; }
	.menu-toggle { display: block; }
	.header-cta { margin-left: auto; }
	.header-cta + .menu-toggle { margin-left: 0; }
	.header-inner { gap: 12px; }
}

@media (max-width: 960px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat { padding: 32px 24px; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }

	.about-grid { grid-template-columns: 1fr; }
	.about-media { max-width: 620px; }
	.about-quote { right: 0; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; }

	.project,
	.project-reverse { grid-template-columns: 1fr; gap: 28px; }
	.project-reverse .project-media { order: 0; }
	.project-num { position: absolute; top: -10px; right: 0; margin: 0; }

	.steps { grid-template-columns: 1fr; }
	.step-icon { margin-bottom: 28px; }

	.cta-card { grid-template-columns: 1fr; gap: 32px; }

	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	:root { --header-h: 72px; }
	body { font-size: 16px; }

	.header-cta span { display: none; }
	.header-cta { width: 46px; height: 46px; padding: 0; }

	.hero-media::after {
		background:
			linear-gradient(0deg, rgba(15, 12, 10, .85) 0%, rgba(15, 12, 10, .55) 60%, rgba(15, 12, 10, .45) 100%);
	}
	.hero h1 { font-size: clamp(42px, 12vw, 60px); }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-tabs { grid-template-columns: 1fr; border-top: 0; }
	.hero-tab { display: none; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
	.hero-tab.is-active { display: flex; }

	.stat { padding: 26px 16px; }
	.stat span { font-size: 14px; }

	.about-media { padding: 0 0 0 30px; }
	.about-quote { position: relative; right: auto; bottom: auto; max-width: none; margin: 20px 0 0 -30px; }
	.about-img-small { bottom: 110px; width: 44%; border-width: 6px; }
	.checklist { grid-template-columns: 1fr; }

	.step { padding: 32px 26px; }
	.step-num { top: 30px; right: 26px; }

	.cta-link { font-size: 16px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }

}

/* ==========================================================================
   Building pages
   ========================================================================== */

/* Page hero */
.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 78vh;
	min-height: 78svh;
	padding: calc(var(--header-h) + 60px) 0 64px;
	overflow: hidden;
	color: var(--white);
	background: var(--ink) center / cover no-repeat;
}
.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(15, 12, 10, .8) 0%, rgba(15, 12, 10, .35) 60%, rgba(15, 12, 10, .15) 100%),
		linear-gradient(0deg, rgba(15, 12, 10, .65) 0%, rgba(15, 12, 10, 0) 50%),
		linear-gradient(180deg, rgba(15, 12, 10, .5) 0%, rgba(15, 12, 10, 0) 25%);
}
.page-hero-inner {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}
.page-hero h1 {
	margin-bottom: 20px;
	font-size: clamp(44px, 7vw, 96px);
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--white);
}
.page-hero .hero-lead { margin-bottom: 32px; }

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 14px;
	color: rgba(255, 255, 255, .65);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--white); }

.hero-card {
	flex-shrink: 0;
	width: 280px;
	padding: 24px 26px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.hero-card small {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .65);
}
.hero-card strong {
	display: block;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -.02em;
}
.hero-card .progress { margin-top: 14px; }

.progress {
	height: 8px;
	overflow: hidden;
	border-radius: 99px;
	background: rgba(255, 255, 255, .2);
}
.progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--accent);
}

/* Overview */
.overview-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(48px, 7vw, 100px);
	align-items: start;
}
.overview-copy h2 { max-width: 14ch; margin-bottom: 28px; }
.overview-copy > p { max-width: 560px; }

.spec-list {
	margin: 40px 0 0;
	border-top: 1px solid var(--line);
}
.spec-list div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 15px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15.5px;
}
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }

.overview-media { display: grid; gap: 20px; position: sticky; top: 110px; }
.overview-media figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--line);
}
.overview-media img { width: 100%; height: 100%; object-fit: cover; }
.overview-media figcaption {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}
.media-main { aspect-ratio: 1; }

/* Floor picker */
.picker { background: var(--white); }
.picker-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 32px;
	align-items: stretch;
}
.picker-media {
	position: relative;
	width: 100%;
	align-self: start;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-lg);
	background: var(--line);
}
.picker-media > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.picker-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.picker-svg polygon {
	fill: rgba(244, 123, 32, 0);
	stroke: rgba(255, 255, 255, 0);
	stroke-width: 3;
	cursor: pointer;
	outline: none;
	transition: fill .2s, stroke .2s;
}
.picker-svg polygon:hover,
.picker-svg polygon:focus-visible,
.picker-svg polygon.is-hover { fill: rgba(244, 123, 32, .5); stroke: rgba(255, 255, 255, .9); }
.picker-svg polygon.is-full:hover,
.picker-svg polygon.is-full.is-hover { fill: rgba(21, 18, 15, .5); }
.picker-svg polygon.is-active { fill: rgba(244, 123, 32, .65); stroke: var(--white); }

.picker-tooltip {
	position: absolute;
	z-index: 2;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	background: var(--ink);
	box-shadow: var(--shadow-sm);
	font-size: 13px;
	line-height: 1.35;
	color: rgba(255, 255, 255, .75);
	pointer-events: none;
	transform: translate(-50%, calc(-100% - 14px));
	white-space: nowrap;
}
.picker-tooltip strong { display: block; font-size: 15px; color: var(--white); }
.picker-hint {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	pointer-events: none;
}

.floor-panel {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg);
}
.floor-panel h3 { font-size: 20px; margin: 4px 4px 14px; }
.floor-list { display: grid; gap: 4px; }
.floor-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 9px 14px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: none;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.floor-btn:hover { background: var(--white); border-color: var(--line); }
.floor-btn.is-active { background: var(--ink); color: var(--white); }
.floor-btn-label { font-weight: 600; }
.floor-btn-free { font-size: 13px; color: #1d7a4d; }
.floor-btn-free.is-none { color: var(--muted); }
.floor-btn.is-active .floor-btn-free { color: var(--accent); }

/* Apartments */
.apartments { background: var(--bg); }
.apt-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: 28px;
}
.apt-head h2 { margin-bottom: 6px; }
.apt-summary { margin: 0; color: var(--muted); }

.apt-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.floor-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	margin: -4px;
	padding: 4px;
}
.floor-chips::-webkit-scrollbar { display: none; }
.chip {
	flex-shrink: 0;
	padding: 10px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.free-toggle {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	user-select: none;
}
.free-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
	position: relative;
	width: 44px;
	height: 26px;
	border-radius: 99px;
	background: var(--line);
	transition: background-color .25s;
}
.switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transition: transform .25s var(--ease);
}
.free-toggle input:checked + .switch { background: var(--accent); }
.free-toggle input:checked + .switch::after { transform: translateX(18px); }
.free-toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 3px; }

.apt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}
.apt-card {
	display: flex;
	flex-direction: column;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.apt-card.is-free:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-sm); }
.apt-card.is-sold { background: transparent; }
.apt-card.is-sold .apt-num,
.apt-card.is-sold .apt-area { color: var(--muted); }
.apt-plan {
	display: block;
	margin: -10px -10px 18px;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--bg);
	aspect-ratio: 4 / 3;
}
.apt-plan img { width: 100%; height: 100%; object-fit: contain; }
.apt-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.apt-num {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--ink);
}
.apt-num small {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}
.badge {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}
.badge.is-free { background: #e4f5ec; color: #1d7a4d; }
.badge.is-reserved { background: var(--accent-50); color: var(--accent-600); }
.badge.is-sold { background: var(--line); color: var(--muted); }
.apt-area {
	margin: 0;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--ink);
}
.apt-area span { font-size: 16px; font-weight: 500; }
.apt-floor { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.apt-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: auto;
	padding-top: 20px;
}
.apt-actions .btn { width: 100%; }
.apt-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	border-bottom: 1.5px solid var(--accent);
}
.apt-empty {
	grid-column: 1 / -1;
	padding: 48px 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	text-align: center;
}
.apt-note {
	margin: 28px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--muted);
}

/* Construction */
.construction { background: var(--white); }
.gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	aspect-ratio: 2.4 / 1;
}
.gallery a {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--line);
}
.gallery a:first-child { grid-row: 1 / 3; border-radius: var(--radius-lg); }
.gallery a:nth-child(4) { grid-column: 2 / 4; }
.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }

.progress-panel {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 40px;
	align-items: center;
	padding: clamp(32px, 5vw, 56px);
	border-radius: var(--radius-lg);
	background: var(--ink);
	color: rgba(255, 255, 255, .7);
}
.progress-value {
	font-family: var(--font-display);
	font-size: clamp(64px, 9vw, 120px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.05em;
	color: var(--white);
}
.progress-value span { color: var(--accent); }
.progress-panel h3 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.progress-panel .progress { height: 10px; margin-top: 22px; }

/* Other projects */
.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.other-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 340px;
	padding: 28px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	color: var(--white);
	isolation: isolate;
}
.other-card img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.other-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(15, 12, 10, .8) 0%, rgba(15, 12, 10, 0) 60%);
}
.other-card:hover img { transform: scale(1.05); }
.other-card:only-child { grid-column: 1 / -1; min-height: 420px; }
.other-card h3 { margin: 0; font-size: 30px; color: var(--white); }
.other-card p { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, .75); }
.other-card .arrow {
	position: absolute;
	top: 24px;
	right: 24px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	transform: rotate(-45deg);
	transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.other-card:hover .arrow { background: var(--accent); color: var(--white); transform: rotate(0); }

.cta-map {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	font-weight: 600;
	color: var(--white);
	border-bottom: 1.5px solid rgba(255, 255, 255, .6);
}
.cta-map:hover { border-color: var(--white); }

/* Lightbox */
.lightbox {
	max-width: min(1200px, 94vw);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--white);
	overflow: visible;
}
.lightbox::backdrop { background: rgba(15, 12, 10, .85); backdrop-filter: blur(4px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius) var(--radius) 0 0; }
.lightbox figcaption { padding: 14px 20px; font-size: 14px; font-weight: 500; color: var(--ink); }
.lightbox figcaption:empty { display: none; }
.lightbox-close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--accent);
	font-size: 24px;
	line-height: 1;
	color: var(--white);
	cursor: pointer;
}

@media (max-width: 960px) {
	.page-hero-inner { flex-direction: column; align-items: flex-start; }
	.overview-grid { grid-template-columns: 1fr; }
	.overview-media { position: static; grid-template-columns: 1fr 1fr; }
	.media-main { aspect-ratio: 4 / 5; }
	.picker-grid { grid-template-columns: 1fr; }
	.floor-list { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
	.gallery a { aspect-ratio: 4 / 3; }
	.gallery a:first-child { grid-row: auto; grid-column: 1 / -1; }
	.gallery a:nth-child(4) { grid-column: 1 / -1; }
	.progress-panel { grid-template-columns: 1fr; gap: 16px; }
	.other-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.page-hero { min-height: 88svh; padding-bottom: 40px; }
	.hero-card { width: 100%; }
	.overview-media { grid-template-columns: 1fr; }
	.spec-list div { flex-direction: column; gap: 2px; }
	.spec-list dd { text-align: left; }
	.picker-media { aspect-ratio: 4 / 5; }
	.floor-panel { padding: 16px; }
	.floor-list { grid-template-columns: 1fr; }
	.apt-controls { flex-direction: column; align-items: stretch; }
	.floor-chips { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
	.apt-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.apt-card { padding: 16px; }
	.apt-num { font-size: 24px; }
	.apt-area { font-size: 19px; }
	.badge { padding: 5px 9px; font-size: 11.5px; }
	.apt-top { flex-direction: column; gap: 10px; margin-bottom: 12px; }
	.other-card { min-height: 260px; }
}

.cta-plain { padding-top: 0; background: var(--white); }
.other { background: var(--bg); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.page-hero-sm { min-height: 56vh; min-height: 56svh; }

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.contact-info h2 { max-width: 13ch; margin-bottom: 24px; }
.contact-info > p { max-width: 460px; }

.contact-cards { display: grid; gap: 12px; margin-top: 36px; }
.contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px 14px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
	transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.contact-card:hover { border-color: transparent; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.contact-card small {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}
.contact-icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--accent-50);
	color: var(--accent-600);
	transition: background-color .25s, color .25s;
}
.contact-card:hover .contact-icon { background: var(--accent); color: var(--white); }

.form-card {
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 8px; font-size: 28px; }
.form-intro { margin-bottom: 28px; font-size: 15px; color: var(--muted); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315120f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #d8d0c8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background-color: var(--white);
	box-shadow: 0 0 0 4px rgba(244, 123, 32, .15);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #d14343; background-color: #fff6f6; }
.field-error { min-height: 0; font-size: 13px; color: #c23434; }
.field-error:empty { display: none; }

.contact-form .btn { justify-self: start; margin-top: 6px; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1d7a4d; }
.form-status.is-error { color: #c23434; }

.map-section { padding-bottom: clamp(80px, 11vw, 140px); }
.map-wrap {
	position: relative;
	overflow: hidden;
	height: clamp(360px, 45vw, 520px);
	border-radius: var(--radius-lg);
	background: var(--line);
}
.map-wrap iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05);
}
.map-card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	display: grid;
	gap: 2px;
	padding: 22px 26px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	color: var(--text);
}
.map-card small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); }
.map-card strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.map-card .apt-link { justify-self: start; margin-top: 10px; }

.menu > li > a[aria-current="page"] { color: var(--accent); }
.is-scrolled .menu > li > a[aria-current="page"] { color: var(--accent-600); }

@media (max-width: 960px) {
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.form-row { grid-template-columns: 1fr; }
	.contact-form .btn { justify-self: stretch; }
	.map-card { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
}

/* ==========================================================================
   Toše Jovanovića 30 – illustration, levels
   ========================================================================== */

.page-hero-illustration { background-position: center 85%; }
.hero-slide[style*="fasada.svg"] { background-position: center 85%; }
.img-illustration { object-position: center 80%; }

/* Floor picker on an illustration: show the whole building, never crop */
.picker-media.picker-media-fit { aspect-ratio: 16 / 10; }

/* Room-by-room breakdown inside a unit card */
.apt-spaces { margin-top: 14px; font-size: 14px; }
.apt-spaces summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.apt-spaces summary::-webkit-details-marker { display: none; }
.apt-spaces summary::after {
	content: '';
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s;
}
.apt-spaces[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.apt-spaces dl { margin: 10px 0 0; }
.apt-spaces dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	border-top: 1px dashed var(--line);
}
.apt-spaces dt { color: var(--muted); }
.apt-spaces dd { margin: 0; font-weight: 500; color: var(--ink); white-space: nowrap; }

/* Stacked levels card */
.levels {
	display: grid;
	gap: 8px;
	padding: 12px;
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}
.levels li {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--bg);
}
.levels li:first-child { margin: 0 14%; background: var(--accent-50); }
.levels strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.levels p { margin: 2px 0 0; font-size: 14.5px; }
.level-tag {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ink);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--white);
}
.levels li:first-child .level-tag { background: var(--accent); }
.levels li:last-child .level-tag { background: var(--muted); }

@media (max-width: 600px) {
	.picker-media.picker-media-fit { aspect-ratio: 16 / 10; }
	.levels li:first-child { margin: 0 6%; }
	.levels li { padding: 14px 16px; gap: 14px; }
}

/* "Uskoro" (coming soon) project ---------------------------------------- */

.soon-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--accent);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--white);
	white-space: nowrap;
}
.soon-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: default;
}
.dropdown .soon-item { padding: 11px 14px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.m-group ul .soon-item { padding: 8px 0; color: rgba(255, 255, 255, .5); justify-content: flex-start; }
.footer-col .soon-item { justify-content: flex-start; color: var(--muted); }

.hero-tab-soon { cursor: default; }
.hero-tab-soon:hover { color: rgba(255, 255, 255, .55); }

.soon-panel {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 22px),
		radial-gradient(circle at 70% 30%, rgba(244, 123, 32, .35), transparent 55%),
		var(--ink);
}
.soon-panel span {
	font-family: var(--font-display);
	font-size: clamp(48px, 7vw, 96px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}
.project-soon .project-media { cursor: default; }
.project-soon:hover .project-media img { transform: none; }
.other-soon { cursor: default; }
.other-soon .soon-panel { z-index: -2; }
.other-soon .soon-panel span { font-size: clamp(40px, 5vw, 72px); }

.btn-glass-dark { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-glass-dark:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* Page hero without a photo */
.page-hero-plain {
	background:
		radial-gradient(circle at 85% 20%, rgba(244, 123, 32, .28), transparent 50%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 24px),
		var(--ink);
}
.page-hero-plain::before { display: none; }

/* Five-item stats strip */
.stats-grid-5 { grid-template-columns: repeat(5, 1fr); }
.stats-grid-5 .stat { padding-left: 24px; padding-right: 20px; }
.stats-grid-5 .stat:first-child { padding-left: 0; }
@media (max-width: 1100px) {
	.stats-grid-5 .stat strong { font-size: clamp(32px, 3.4vw, 44px); }
}
@media (max-width: 960px) {
	.stats-grid-5 { grid-template-columns: repeat(2, 1fr); }
	.stats-grid-5 .stat:nth-child(odd) { padding-left: 0; }
	.stats-grid-5 .stat:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* Honeypot field for spam bots – never visible */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
