/*
Theme Name: Agilus
Theme URI: https://agilusbuild.com/
Author: Nexys
Author URI: https://nexys.it/
Description: Moderna tema za Agilus – energetski efikasne, Net Zero i pasivne kuće. Modeli kuća kao poseban tip sadržaja, kalkulator potrošnje, kontakt forma bez dodataka i automatski uvoz sadržaja pri aktivaciji.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agilus
*/

/* ==========================================================================
   Tokeni
   ========================================================================== */
:root {
	--bg: #F3F0E8;
	--surface: #FFFFFF;
	--surface-2: #FBFAF6;
	--sand: #E9E4D6;
	--line: #DAD5C8;
	--line-soft: #E6E1D4;
	--ink: #17201B;
	--ink-2: #4A524C;
	--muted: #5A625C;
	--green: #245C43;
	--green-dark: #17402F;
	--green-soft: #E1EAD9;
	--lime: #D4E86A;
	--dark: #17201B;
	--dark-2: #222C26;
	--on-dark: #C9CEC6;

	--ill-sky: #E4DFD0;
	--ill-ground: #CBC4AE;
	--ill-hill: #C8D3BD;
	--ill-tree: #7C9A6B;
	--ill-tree-2: #6A8A5C;
	--ill-trunk: #5B4A3A;
	--ill-wall: #FAF8F2;
	--ill-roof: #2B332E;
	--ill-wood: #C9B58E;
	--ill-wood-line: #A89063;
	--ill-glass: #8FA9A2;
	--ill-solar: #3E5A73;
	--ill-cloud: #F3F0E8;

	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--gutter: clamp(20px, 5vw, 120px);
	--section: clamp(72px, 9vw, 120px);
	--header-h: 80px;
	--shadow: 0 12px 32px rgba(23, 32, 27, .10);
}

/* ==========================================================================
   Osnova
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }
.site-main { min-height: 60vh; }

/* Tipografija */
.display { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
.h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
.h4 { font-size: 19px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.eyebrow--lime { color: var(--lime); }
.muted { color: var(--muted); font-weight: 500; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--green); }

/* ==========================================================================
   Dugmad i linkovi
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
	font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: var(--line); background: var(--surface); color: var(--ink); min-width: 52px; padding: 0 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.link-arrow .icon { transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }
.more { margin-top: 40px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 240, 232, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { color: var(--green); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.brand__tag { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand--logo img { max-height: 52px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav__list > li > a:hover, .nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a, .nav__list > li.current-menu-parent > a { background: rgba(23, 32, 27, .06); }
.nav__list .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.nav__list .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 10px; list-style: none;
	background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__list .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.nav__list .sub-menu a:hover, .nav__list .sub-menu .current-menu-item > a { background: var(--bg); color: var(--green); }
.nav__cta-mobile { display: none; }

.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: flex; }
.nav-toggle__open { display: flex; }

/* ==========================================================================
   Hero (početna)
   ========================================================================== */
.hero { padding-top: clamp(32px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__copy .lead { max-width: 560px; margin: 0; }
.hero__media { position: relative; aspect-ratio: 16 / 15; border-radius: var(--radius-lg); overflow: hidden; background: var(--ill-sky); }
.hero__media > img, .hero__media > .illustration { width: 100%; height: 100%; object-fit: cover; }
.illustration { width: 100%; height: 100%; }
.energy-chip { position: absolute; left: 20px; bottom: 20px; width: min(320px, calc(100% - 40px)); padding: 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 12px; }
.energy-chip__title { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.mini-bar { display: grid; gap: 6px; font-size: 13px; }
.mini-bar__row { display: flex; justify-content: space-between; gap: 12px; }
.mini-bar__track { display: block; height: 8px; border-radius: 99px; background: transparent; }
.mini-bar__track i { display: block; height: 100%; border-radius: inherit; background: var(--ill-ground); }
.mini-bar--accent { color: var(--green); font-weight: 600; }
.mini-bar--accent .mini-bar__track i { background: var(--green); }

/* Brojevi */
.stats-wrap { padding-top: clamp(40px, 5vw, 64px); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.stat { padding: 28px 28px 28px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.stat dd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.stats--boxed { margin-top: 24px; border: 0; gap: 16px; }
.stats--boxed .stat { padding: 24px; border: 0; border-radius: var(--radius); background: var(--surface); }

/* ==========================================================================
   Sekcije
   ========================================================================== */
.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head--split > div { max-width: 680px; }
.section-head__aside { max-width: 420px; margin: 0; color: var(--ink-2); }
.section-head > .section-head__aside { margin-top: 16px; }

/* Tipovi kuća */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.type-card { display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.type-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.type-card__media { height: 200px; display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--green); }
.type-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex-grow: 1; }
.type-card__range { font-size: 13px; font-weight: 700; color: var(--muted); }
.type-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.type-card__text { color: var(--ink-2); font-size: 15px; flex-grow: 1; }
.type-card .link-arrow { margin-top: 10px; }

/* Koraci */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.step { padding: 32px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); }
.step h3 { margin: 22px 0 10px; font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step__n { width: 48px; height: 48px; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: var(--green); color: #fff; font-family: var(--font-display); font-size: 22px; }
.step--dark { background: var(--dark); border-color: var(--dark); color: #F3F0E8; }
.step--dark p { color: var(--on-dark); }
.step--dark .step__n { background: var(--lime); color: var(--ink); }

/* Kalkulator */
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 72px); border-radius: 32px; background: var(--dark); color: #F3F0E8; }
.calc .lead { color: var(--on-dark); }
.calc .h2, .cta .h2, .team-block .h2 { margin-bottom: 18px; }
.calc__control { margin-top: 28px; display: grid; gap: 10px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; font-weight: 600; color: var(--on-dark); }
.calc__value { font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); color: #fff; }
.calc__scale { display: flex; justify-content: space-between; font-size: 13px; color: #9AA29B; }
.calc input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--lime); background: transparent; cursor: pointer; }
.calc__panel { display: grid; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--dark-2); }
.bar { display: grid; gap: 10px; }
.bar__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--on-dark); }
.bar__row strong { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar--accent .bar__row, .bar--accent .bar__row strong { color: var(--lime); font-weight: 700; }
.bar__track { height: 14px; border-radius: 99px; }
.bar__fill { display: block; height: 100%; border-radius: inherit; }
.bar__fill--grey { background: #6B736D; }
.bar__fill--lime { background: var(--lime); }
.bar__fill--sage { background: #9DB88A; }
.calc__result { display: flex; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid #3A453E; color: var(--on-dark); font-size: 15px; }
.calc__big { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--lime); }
.calc__note { margin: 0; font-size: 13px; color: #9AA29B; }

/* Presek zida */
.wall { margin: 0 0 56px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); display: grid; gap: 24px; }
.wall__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--ink-2); }
.wall__head strong { font-size: 18px; color: var(--ink); }
.wall__head b { color: var(--green); }
.wall__layers { display: flex; height: 120px; border-radius: 12px; overflow: hidden; }
.l { display: block; }
.l--gips { flex: 0 0 4%; background: #EFEDE7; border-right: 1px solid #D4D0C4; }
.l--osb { flex: 0 0 5%; background: #D8B57A; }
.l--eps { background: #B9BDBA; }
.l--eps2 { background: #A6ABA8; }
.l--fasada { flex: 0 0 3%; background: var(--ill-sky); }
.wall__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-2); }
.wall__legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw--gips { background: #EFEDE7; border: 1px solid #D4D0C4; }
.sw--osb { background: #D8B57A; }
.sw--eps { background: #B9BDBA; }
.sw--eps2 { background: #A6ABA8; }
.sw--fasada { background: var(--ill-sky); border: 1px solid #D4D0C4; }

/* Prednosti */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.benefit { display: flex; gap: 18px; }
.benefit__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green); }
.benefit__title { margin-bottom: 6px; font-size: 18px; }
.benefit p { font-size: 15px; color: var(--ink-2); }

/* Istaknut projekat */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 32px; overflow: hidden; background: var(--green-soft); }
.feature__media { min-height: 480px; background: var(--ill-hill); }
.feature__media img, .feature__media svg { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.feature__body .lead { color: #33403A; margin: 0; }
.pill { align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; }

/* Tim */
.team-block { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.team-block__intro p { color: var(--ink-2); margin: 0 0 20px; }
.team { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #E1DCCD; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 56px; color: #8C8672; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { margin: 14px 0 2px; font-size: 18px; font-weight: 700; }
.person__role { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; align-items: start; }
.faq__col { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; font-size: 18px; font-weight: 700; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; }

/* Kontakt / CTA */
.cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 5vw, 72px); border-radius: 32px; background: var(--green); color: #fff; }
.cta .lead { color: #D6E4DB; }
.cta__form { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--surface); color: var(--ink); }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.contact-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-list--light { margin-top: 32px; font-size: 16px; }
.contact-list--light .icon { color: var(--lime); }

/* Forma */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field__opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid #C9C3B3; background: var(--surface-2); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2317201B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(36, 92, 67, .18); }
.field input::placeholder, .field textarea::placeholder { color: #8A9089; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex-shrink: 0; }
.form__hint { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }
.form__notice--ok { background: var(--green-soft); color: var(--green-dark); }
.form__notice--err { background: #FBE7E1; color: #8A2A12; }

/* ==========================================================================
   Unutrašnje stranice
   ========================================================================== */
.page-hero { padding-top: clamp(28px, 4vw, 48px); }
.page-hero .h1 { max-width: 900px; }
.page-hero__lead { max-width: 720px; margin: 20px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(24px, 3vw, 40px); font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #A9A594; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter__item { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink); }
.filter__item:hover { border-color: var(--ink); color: var(--ink); }
.filter__item.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.group + .group { margin-top: clamp(48px, 6vw, 80px); }
.group__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.group__head .muted { font-family: var(--font-body); font-size: 16px; margin-left: 8px; }

.house-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.house-card__link { height: 100%; display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.house-card__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.house-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--ill-sky); overflow: hidden; }
.house-card__media img, .house-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.house-card__link:hover .house-card__media img { transform: scale(1.03); }
.house-card__badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 99px; background: var(--surface); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.house-card__body { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex-grow: 1; }
.house-card__title { font-size: 21px; line-height: 1.3; }
.house-card__text { color: var(--ink-2); font-size: 15px; flex-grow: 1; margin: 0; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; font-weight: 600; }
.specs .icon { color: var(--green); }
.specs small { font-weight: 500; color: var(--muted); }

.note-card { margin-top: 48px; display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--green-soft); }
.note-card > div { flex-grow: 1; }
.note-card p { margin: 6px 0 0; color: #33403A; }
.note-card__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); color: var(--green); display: flex; align-items: center; justify-content: center; }
.empty { padding: 40px; border-radius: var(--radius); background: var(--surface); text-align: center; }

/* Model kuće */
.model { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.model__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--ill-sky); }
.model__media img, .model__media svg { width: 100%; height: 100%; object-fit: cover; }
.model__info { display: flex; flex-direction: column; gap: 22px; }
.model__info .eyebrow { margin: 0; }
.model__info .lead { margin: 0; }
.model__hint { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; color: var(--muted); }
.model__hint .icon { color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts > div { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.facts dt .icon { color: var(--green); }
.facts dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.facts small { font-size: 13px; font-weight: 500; color: var(--muted); }

.model-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.model-body__main .h3 { margin-bottom: 16px; }
.model-body__main .prose + .h3 { margin-top: 48px; }
.rooms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rooms li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); font-weight: 600; font-size: 15px; }
.rooms .icon { color: var(--green); flex-shrink: 0; }
.model-body__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.energy-card { padding: 28px; border-radius: 24px; background: var(--dark); color: var(--on-dark); font-size: 15px; }
.energy-card__big { margin: 0 0 8px; font-family: var(--font-display); font-size: 44px; color: #fff; line-height: 1.1; }
.energy-card__big small { font-family: var(--font-body); font-size: 15px; color: var(--on-dark); }
.energy-card strong { color: #fff; }
.included { list-style: none; display: grid; gap: 4px; padding: 16px; border-radius: 24px; background: var(--surface); }
.included li { display: flex; gap: 12px; align-items: center; padding: 10px; font-size: 15px; font-weight: 600; }
.included .icon { color: var(--green); flex-shrink: 0; }

/* Sadržaj iz editora */
.prose { font-size: 17px; color: var(--ink-2); }
.prose--lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; color: var(--ink); }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--green); font-family: var(--font-display); font-size: 22px; color: var(--ink); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split .wall { margin: 0; }
.split .h2 { margin-bottom: 20px; }
.stack { display: grid; gap: 16px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); }
.info-card h3 { margin: 16px 0 8px; font-size: 19px; }
.info-card .h4 { margin-bottom: 16px; }
.info-card p { color: var(--ink-2); font-size: 15px; }
.info-card__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--green-soft); color: var(--green); }
.info-card--green { background: var(--green); border-color: var(--green); color: #fff; }
.info-card--green p { color: #D6E4DB; }
.info-card--green .info-card__icon { background: rgba(255, 255, 255, .12); color: var(--lime); }
.plain { list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.plain li { position: relative; padding-left: 18px; }
.plain li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 99px; background: var(--green); }
.mini-steps { padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }

.banner { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--ill-hill); }
.banner img, .banner svg { width: 100%; height: 100%; object-fit: cover; }
.banner--flat { aspect-ratio: auto; margin-bottom: 32px; }

.spec-table { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); }
.spec-table__row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, .7fr); gap: 24px; padding: 22px 28px; align-items: center; font-size: 15px; }
.spec-table__row + .spec-table__row { border-top: 1px solid var(--line-soft); }
.spec-table__row--head { background: var(--sand); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-block: 16px; }
.spec-table__row strong { display: block; font-size: 17px; }
.spec-table__row small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.spec-table__u { font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }

.values { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.values li { padding: 28px; border-radius: 24px; background: var(--surface); border-top: 4px solid var(--green); display: grid; gap: 8px; }
.values strong { font-size: 19px; }
.values span { color: var(--ink-2); font-size: 15px; }

.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__form { padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line-soft); }
.contact__aside { display: grid; gap: 16px; }
.map-link { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: 18px; background: var(--green-soft); font-weight: 700; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card a { display: block; height: 100%; border-radius: 24px; overflow: hidden; background: var(--surface); color: var(--ink); }
.post-card__body { padding: 24px; }
.notfound { padding-bottom: var(--section); text-align: left; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: var(--section); padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer__brand p { margin: 18px 0 20px; max-width: 340px; color: var(--ink-2); font-size: 15px; }
.site-footer__title { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.site-footer__col a { color: var(--ink); }
.site-footer__col a:hover { color: var(--green); }
.site-footer .sub-menu { display: none; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.social a:hover { background: var(--ink); color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.to-top { color: var(--muted); }

.mobile-cta { display: none; }

/* ==========================================================================
   WordPress osnovne klase
   ========================================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.nav-links { display: flex; gap: 8px; margin-top: 40px; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; }

/* ==========================================================================
   Efekti (aktivni samo uz JS i kada korisnik ne traži manje animacija)
   ========================================================================== */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .scroll-progress { top: 32px; }
.site-header { transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .3s; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(23, 32, 27, .07); }

.fx .site-main { animation: fx-page .7s ease both; }
@keyframes fx-page { from { opacity: 0; } }

/* Pojavljivanje */
.fx [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.fx .hero__media[data-reveal], .fx .feature[data-reveal], .fx .banner[data-reveal], .fx .model__media[data-reveal] { transform: translate3d(0, 40px, 0) scale(.97); }
.fx [data-reveal].is-in { opacity: 1; transform: none; }

/* Naslov reč po reč */
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.fx .is-split .w > span { display: inline-block; transform: translateY(110%); animation: fx-word .95s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes fx-word { to { transform: none; } }

/* Ilustracije se "montiraju" deo po deo */
.illustration > * { transform-box: fill-box; transform-origin: 50% 100%; }
.fx .illustration[data-build]:not(.is-built) > * { opacity: 0; }
.fx .illustration.is-built > * { animation: fx-build .75s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--n, 0) * 55ms); }
.fx .illustration.is-built > [transform] { animation-name: fx-fade; }
@keyframes fx-build { from { opacity: 0; transform: translateY(26px) scaleY(.9); } to { opacity: 1; transform: none; } }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
.ill-sun { transform-origin: 50% 50% !important; }
.fx .illustration.is-built > .ill-sun { animation: fx-fade .8s both, fx-sun 5s ease-in-out 1s infinite; }
.fx .illustration.is-built > .ill-cloud { animation: fx-fade 1s both, fx-cloud 14s ease-in-out infinite alternate; }
.fx .illustration.is-built > .ill-cloud--2 { animation-duration: 1s, 19s; animation-delay: 0s, -6s; }
@keyframes fx-sun { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes fx-cloud { from { transform: translateX(-24px); } to { transform: translateX(40px); } }
.hero__media > .illustration, .hero__media > img, .feature__media > *, .banner > * { will-change: transform; }

/* Energetski čip lebdi, trake se pune */
.fx .energy-chip { animation: fx-float 6s ease-in-out 1.4s infinite; }
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fx .mini-bar__track i, .fx .bar__fill { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .45s, width .45s cubic-bezier(.2, .7, .2, 1); }
.fx .is-in .mini-bar__track i, .fx .is-in .bar__fill, .fx .calc:not([data-reveal]) .bar__fill, .fx .hero__media:not([data-reveal]) .mini-bar__track i { transform: none; }
.bar__fill { transition: width .45s cubic-bezier(.2, .7, .2, 1); }

/* Slojevi zida rastu */
.fx .wall .l { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--n, 0) * 110ms + 200ms); }
.fx .wall.is-in .l, .fx .wall:not([data-reveal]) .l { transform: none; }

/* Brojevi koraka pulsiraju */
.fx .step.is-in .step__n { animation: fx-ring 1.8s ease-out calc(var(--d, 0ms) + 400ms) 2; }
@keyframes fx-ring { 0% { box-shadow: 0 0 0 0 rgba(36, 92, 67, .45); } 100% { box-shadow: 0 0 0 18px rgba(36, 92, 67, 0); } }
.fx .step--dark.is-in .step__n { animation-name: fx-ring-lime; }
@keyframes fx-ring-lime { 0% { box-shadow: 0 0 0 0 rgba(212, 232, 106, .55); } 100% { box-shadow: 0 0 0 18px rgba(212, 232, 106, 0); } }

/* Kartice: nagib + svetlo */
.has-glow { position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; transform-style: preserve-3d; }
.has-glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.has-glow:hover::after { opacity: 1; }
.has-glow:hover { box-shadow: 0 24px 48px -18px rgba(23, 32, 27, .28); }
.step.has-glow { overflow: hidden; }

/* Tamni blokovi: svetlo prati miš */
.has-spot { position: relative; isolation: isolate; overflow: hidden; }
.has-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 232, 106, .13), transparent 60%); opacity: 0; transition: opacity .4s; }
.has-spot:hover::before { opacity: 1; }
.feature.has-spot::before { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .5), transparent 60%); }

/* Dugmad: sjaj i pomeranje za kursorom */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s, color .2s, border-color .2s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn--primary:hover, .btn--dark:hover { box-shadow: 0 12px 28px -10px rgba(23, 32, 27, .45); }
.btn .icon { transition: transform .25s; }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* Linkovi u meniju: podvlaka */
.nav__list > li > a { position: relative; }

/* Pokretna traka */
.ticker { margin-top: clamp(48px, 6vw, 72px); padding: 22px 0; overflow: hidden; background: var(--dark); color: #F3F0E8; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: fx-ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; list-style: none; }
.ticker__list li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.ticker__list li::after { content: ""; width: 10px; height: 10px; border-radius: 99px; background: var(--lime); flex-shrink: 0; }
@keyframes fx-ticker { to { transform: translateX(-50%); } }

/* Slike u karticama */
.house-card__media svg { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.house-card__link:hover .house-card__media svg { transform: scale(1.04); }
.type-card__media .glyph { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.type-card:hover .type-card__media .glyph { transform: translateY(-6px) scale(1.06); }
.type-card__media { position: relative; overflow: hidden; }
.type-card__media::before { content: ""; position: absolute; left: -30%; right: -30%; bottom: -60%; height: 100%; border-radius: 50%; background: var(--green-soft); transform: translateY(40%); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.type-card:hover .type-card__media::before { transform: translateY(0); }
.type-card__media .glyph { position: relative; }

/* FAQ */
.faq__item p { overflow: hidden; }
.faq__item summary { transition: color .2s; }
.faq__item summary:hover { color: var(--green); }
.faq__icon { transition: background-color .2s, border-color .2s, transform .3s; }
.faq__item[open] .faq__icon { background: var(--green); border-color: var(--green); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }

/* ==========================================================================
   Responzivno
   ========================================================================== */
@media (max-width: 1200px) {
	.site-header__cta { display: none; }
	.type-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.house-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.model-body { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0; padding: 24px var(--gutter) 40px;
		background: var(--bg); overflow-y: auto; display: flex; flex-direction: column; gap: 24px;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list > li > a { min-height: 60px; padding: 0; border-radius: 0; font-size: 20px; font-weight: 700; }
	.nav__list > li > a:hover { background: none; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.nav__list .sub-menu { position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
	.nav__list .sub-menu a { padding: 10px 0; font-size: 16px; color: var(--ink-2); }
	.nav__cta-mobile { display: inline-flex; min-height: 56px; }

	.hero__grid, .calc, .feature, .team-block, .cta, .split, .model, .contact { grid-template-columns: minmax(0, 1fr); }
	.hero__media { aspect-ratio: 4 / 3; }
	.feature__media { min-height: 0; aspect-ratio: 16 / 10; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.stats--boxed .stat { border: 0; padding: 20px; }
	.section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
	.model-body { grid-template-columns: minmax(0, 1fr); }
	.model-body__aside { position: static; }
	.cards-3 { grid-template-columns: minmax(0, 1fr); }
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.banner { aspect-ratio: 16 / 9; }
	.spec-table__row--head { display: none; }
	.spec-table__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
	.spec-table__row > span:first-child { grid-column: 1 / -1; }
	.spec-table__row > span[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
	body { font-size: 16px; padding-bottom: 84px; }
	.brand__tag { display: none; }
	.brand__name { font-size: 24px; }
	.btn-row .btn { flex: 1 1 100%; }
	.energy-chip { left: 12px; bottom: 12px; padding: 14px 16px; width: calc(100% - 24px); }
	.stat, .stat + .stat { padding: 20px 12px 20px 0; }
	.stat:nth-child(even) { padding-left: 16px; }
	.stat dd { font-size: 14px; }
	.type-grid, .steps, .benefits, .house-grid, .post-grid, .values, .faq, .team, .rooms, .form__row, .facts { grid-template-columns: minmax(0, 1fr); }
	.type-card { flex-direction: row; align-items: center; }
	.type-card__media { width: 96px; height: auto; align-self: stretch; flex-shrink: 0; }
	.type-card__media .glyph { width: 64px; height: 48px; }
	.type-card__body { padding: 18px; gap: 4px; }
	.type-card__text, .type-card .link-arrow { display: none; }
	.type-card__title { font-size: 17px; }
	.steps { gap: 12px; }
	.step { padding: 22px; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
	.step h3 { margin: 10px 0 4px; }
	.step p { grid-column: 2; }
	.team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.person__photo { font-size: 32px; border-radius: 16px; }
	.person__name { font-size: 14px; }
	.person__role { font-size: 13px; }
	.faq__col + .faq__col { border-top: 0; }
	.faq__col:first-child { border-bottom: 0; }
	.faq__item p { padding-right: 0; }
	.calc__result { flex-direction: column; align-items: flex-start; gap: 8px; }
	.note-card { flex-direction: column; align-items: flex-start; }
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
	.site-footer__col:last-child { grid-column: 1 / -1; }
	.energy-chip { display: none; }
	.stat dt { font-size: 26px; }
	.cta { padding: 28px 16px 16px; border-radius: 24px; }
	.cta__intro { padding-inline: 8px; }
	.cta__form { padding: 20px; border-radius: 18px; }
	.calc { padding: 28px 20px 20px; border-radius: 24px; }
	.calc__panel { padding: 20px; }
	.bar__row { font-size: 14px; }
	.mobile-cta:not(.is-visible) { transform: translateY(120%); opacity: 0; pointer-events: none; }
	.filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.filter__item { white-space: nowrap; }

	.mobile-cta {
		display: flex; gap: 10px; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
		padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
		box-shadow: 0 10px 30px rgba(23, 32, 27, .18); transition: transform .25s, opacity .25s;
	}
	.mobile-cta.is-hidden { transform: translateY(120%); opacity: 0; }
	.ticker { padding: 16px 0; }
}

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