/* ==========================================================================
   Almuteb Real Estate — brand: olive green #424E38 / cream #EFEDDA
   ========================================================================== */

:root {
	--green: #424e38;
	--green-900: #262d20;
	--green-800: #2f3828;
	--green-700: #384230;
	--green-500: #5b6a4d;
	--green-300: #94a083;
	--cream: #efedda;
	--cream-50: #faf9f1;
	--cream-100: #f5f3e6;
	--cream-300: #e2dfc4;
	--ink: #232a1d;
	--muted: #6b7262;
	--line: rgba(66, 78, 56, .14);
	--line-light: rgba(239, 237, 218, .18);

	--font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 24px 60px -24px rgba(38, 45, 32, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
	--gutter: clamp(16px, 4vw, 48px);

	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23efedda'%3E%3Crect x='17' y='24' width='7' height='34' rx='3.5'/%3E%3Crect x='32.5' y='14' width='7' height='24' rx='3.5'/%3E%3Crect x='48' y='24' width='7' height='34' rx='3.5'/%3E%3C/g%3E%3C/svg%3E");
	--pattern-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23424e38'%3E%3Crect x='17' y='24' width='7' height='34' rx='3.5'/%3E%3Crect x='32.5' y='14' width='7' height='24' rx='3.5'/%3E%3Crect x='48' y='24' width='7' height='34' rx='3.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--cream-50);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: var(--cream); }

.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--cream); color: var(--green); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.am-ico { width: 1.2em; height: 1.2em; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--green-500); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: clamp(17px, 1.6vw, 20px); opacity: .85; max-width: 640px; }
.muted { color: var(--green-300); font-weight: 300; }
.split-title { font-size: clamp(30px, 4.4vw, 56px); font-weight: 600; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty .btn + .btn { margin-top: -6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Buttons & chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 16px; font-weight: 500; white-space: nowrap;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .am-ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .am-ico-arrow { transform: translateX(-4px); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-cream { background: var(--cream); color: var(--green-800); }
.btn-cream:hover { background: #fff; }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-800); }
.btn-ghost { border-color: rgba(239, 237, 218, .5); color: var(--cream); }
.btn-ghost:hover { background: rgba(239, 237, 218, .12); border-color: var(--cream); }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-ghost-dark { color: var(--green); background: var(--cream-100); }
.btn-ghost-dark:hover { background: var(--cream-300); }

.chip { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(38, 45, 32, .72); color: var(--cream); backdrop-filter: blur(6px); }
.chip-cream { background: var(--cream); color: var(--green-800); }

.circle-link {
	display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
	border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--green);
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.circle-link:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.circle-link .am-ico { width: 20px; height: 20px; }
[data-rail-next] .am-ico { transform: none; }
[data-rail-prev] .am-ico { transform: scaleX(-1); }

.price { display: flex; flex-direction: column; font-weight: 600; font-size: 20px; color: var(--green); line-height: 1.35; }
.price small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.am-cur { font-size: .7em; font-weight: 500; }
.price-lg { font-size: 34px; }

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

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	color: var(--cream);
	background: var(--green);
	transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.has-hero .site-header { background: transparent; }
.has-hero .site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(20, 25, 16, .55), transparent); pointer-events: none; transition: opacity .35s; }
.site-header.is-scrolled { background: rgba(47, 56, 40, .94); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); --header-h: 72px; }
.site-header.is-scrolled::before { opacity: 0; }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }

.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; }
.brand .am-logo { width: auto; height: 46px; transition: height .35s var(--ease); }
.is-scrolled .brand .am-logo { height: 40px; }

.main-nav { flex: 1; }
.nav-list { display: flex; gap: 6px; }
.nav-list a { position: relative; display: block; padding: 8px 14px; font-size: 15.5px; font-weight: 500; opacity: .86; transition: opacity .2s; }
.nav-list a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cream); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-list a:hover, .nav-list .current-menu-item > a { opacity: 1; }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.h-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; opacity: .9; }
.h-phone:hover { opacity: 1; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--cream); place-items: center; }
.nav-toggle .am-ico { width: 22px; height: 22px; }

.mobile-nav {
	position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
	padding: 20px var(--gutter) 32px; background: var(--green-800) var(--pattern) center / 72px; color: var(--cream);
	background-blend-mode: soft-light;
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav::before { content: ""; position: absolute; inset: 0; background: rgba(38, 45, 32, .9); }
.mobile-nav > * { position: relative; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-top .am-logo { height: 40px; width: auto; }
.nav-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--cream); display: grid; place-items: center; }
.mobile-list { margin-top: 40px; display: grid; gap: 4px; }
.mobile-list a { display: block; font-size: 28px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.mobile-nav-foot { margin-top: auto; display: grid; gap: 16px; }
.mobile-contact { display: inline-flex; gap: 10px; align-items: center; justify-content: center; opacity: .85; }
.mobile-slogan { text-align: center; opacity: .55; }

/* ---------- Hero (home) ---------- */

.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; color: var(--cream); overflow: hidden; background: var(--green-900); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 45, 32, .5) 0%, rgba(38, 45, 32, .35) 35%, rgba(38, 45, 32, .82) 100%); }
.hero-pattern { position: absolute; inset: 0; background: var(--pattern) 0 0 / 72px; opacity: .05; pointer-events: none; }
.hero-content { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.hero-eyebrow { color: var(--cream); opacity: .85; }
.hero-eyebrow::before { display: none; }
.hero-title { font-size: clamp(52px, 9vw, 128px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.hero-title .dots { opacity: .5; font-weight: 300; }
.hero-sub { margin-top: 18px; max-width: 620px; font-size: clamp(16px, 1.6vw, 20px); opacity: .88; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-bottom { position: relative; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; opacity: .75; }
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Search bar ---------- */

.search-bar { width: 100%; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 8px; padding: 10px; border-radius: 22px; }
.search-bar.is-glass { background: rgba(239, 237, 218, .12); border: 1px solid rgba(239, 237, 218, .22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.search-bar.is-solid { background: var(--cream-50); box-shadow: var(--shadow); }
.sb-field { position: relative; display: flex; flex-direction: column; padding: 8px 16px; border-radius: 14px; transition: background .2s; min-width: 0; }
.sb-field span { font-size: 12px; opacity: .7; }
.sb-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 2px 0 2px 18px; font-size: 15px; font-weight: 500; cursor: pointer; outline: none; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2394a083' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left center; }
.is-glass .sb-field { color: var(--cream); }
.is-glass .sb-field:hover { background: rgba(239, 237, 218, .1); }
.is-glass .sb-field select option { color: var(--ink); }
.is-solid .sb-field { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.sb-btn { min-height: 100%; border-radius: 14px; padding: 0 28px; }
.is-solid .sb-btn { background: var(--green); color: var(--cream); }

/* ---------- Pattern + About ---------- */

.pattern-bg { position: absolute; inset: 0; background: var(--pattern-green) 0 0 / 96px; opacity: .035; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.about-band { position: relative; padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--cream-50); overflow: hidden; }
.about-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.about-title h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 600; color: var(--green); }
.about-title h2 span { font-weight: 300; color: var(--green-500); }
.about-copy { font-size: clamp(16px, 1.4vw, 19px); color: #3c4433; display: grid; gap: 28px; justify-items: start; }
.stats { position: relative; margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 28px 0 0; display: grid; gap: 4px; }
.stats li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.stats strong { font-size: clamp(40px, 5vw, 68px); font-weight: 600; color: var(--green); line-height: 1; }
.stats span { color: var(--muted); }

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

.rail-section { padding: clamp(70px, 9vw, 130px) 0; background: var(--cream-100); overflow: hidden; }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.rail-nav { display: flex; gap: 10px; }
.rail {
	display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding: 20px max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))) 30px; scroll-padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
	cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail .project-card { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; }
.rail-foot { margin-top: 40px; display: flex; justify-content: center; }

/* Project card — full-bleed, formal */
.project-card { position: relative; }
.pc-link { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: 26px; border-radius: 6px; overflow: hidden; color: var(--cream); background: var(--green-900); isolation: isolate; }
.pc-media, .pc-shade { position: absolute; inset: 0; z-index: -1; }
.pc-media img, .pc-media .am-img-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.pc-shade { background: linear-gradient(180deg, rgba(30, 36, 25, .45) 0%, rgba(30, 36, 25, 0) 26%, rgba(30, 36, 25, .15) 48%, rgba(30, 36, 25, .92) 100%); transition: background .6s var(--ease); }
.pc-link::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(239, 237, 218, .0); border-radius: 3px; pointer-events: none; transition: border-color .6s var(--ease), inset .6s var(--ease); }
.pc-top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; letter-spacing: .08em; }
.pc-index { font-family: system-ui, sans-serif; font-weight: 300; font-size: 13px; opacity: .85; padding-bottom: 4px; border-bottom: 1px solid rgba(239, 237, 218, .6); }
.pc-status { padding: 5px 12px; border: 1px solid rgba(239, 237, 218, .55); border-radius: 2px; font-size: 12px; letter-spacing: 0; backdrop-filter: blur(4px); background: rgba(30, 36, 25, .18); }
.pc-body { display: grid; gap: 6px; }
.pc-loc { font-size: 13px; opacity: .78; letter-spacing: .01em; }
.pc-title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.01em; }
.pc-facts { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(239, 237, 218, .28); display: flex; gap: 22px; }
.pc-facts div { display: grid; gap: 2px; }
.pc-facts dt { font-size: 11.5px; opacity: .65; }
.pc-facts dd { margin: 0; font-size: 15px; font-weight: 500; white-space: nowrap; }
.pc-facts .am-cur { font-size: .75em; opacity: .8; }
.pc-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 500; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: max-height .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.pc-cta .am-ico { width: 16px; height: 16px; }
.pc-link:hover .pc-media img, .pc-link:focus-visible .pc-media img { transform: scale(1.08); }
.pc-link:hover::after, .pc-link:focus-visible::after { border-color: rgba(239, 237, 218, .35); inset: 16px; }
.pc-link:hover .pc-shade { background: linear-gradient(180deg, rgba(30, 36, 25, .5) 0%, rgba(30, 36, 25, .1) 30%, rgba(30, 36, 25, .35) 50%, rgba(30, 36, 25, .95) 100%); }
.pc-link:hover .pc-cta, .pc-link:focus-visible .pc-cta { max-height: 30px; opacity: 1; transform: none; }
@media (hover: none) { .pc-cta { max-height: 30px; opacity: 1; transform: none; } }
.projects-grid .pc-link { aspect-ratio: 16 / 11; padding: 34px; }

/* Rail controls */
.rail-nav { align-items: center; gap: 18px; }
.rail-progress { display: flex; align-items: center; gap: 14px; font-family: system-ui, sans-serif; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.rail-progress i { position: relative; width: 120px; height: 1px; background: var(--line); }
.rail-progress b { position: absolute; inset-block: -0.5px; right: 0; width: 25%; background: var(--green); transition: width .35s var(--ease); }
.rail-nav .circle-link { border-radius: 2px; width: 46px; height: 46px; }

.am-img-ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--green); color: var(--cream); border-radius: var(--radius); }
.am-img-ph svg { width: 22%; opacity: .5; }

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

.pslider-section { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); background: var(--green-800); color: var(--cream); overflow: hidden; }
.pslider-pattern { position: absolute; inset: 0; background: var(--pattern) 0 0 / 96px; opacity: .025; pointer-events: none; }
.pslider-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pslider-head .eyebrow { color: var(--green-300); }
.pslider-head .split-title { color: var(--cream); }
.pslider-head .muted { color: var(--green-300); }
.pslider-head .btn-ghost { border-radius: 2px; }

.pslider { margin-top: clamp(40px, 5vw, 64px); }
.pslider .swiper-slide { width: min(66vw, 1000px); opacity: .32; transform: scale(.9); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.pslider .swiper-slide-active { opacity: 1; transform: none; }
.ps-slide { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; color: var(--cream); background: var(--green-900); }
.ps-media, .ps-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-media img { transform: scale(1.1); transition: transform 7s cubic-bezier(.25, .1, .25, 1); }
.swiper-slide-active .ps-media img { transform: scale(1); }
.ps-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(26, 31, 21, .88) 0%, rgba(26, 31, 21, .55) 34%, rgba(26, 31, 21, 0) 68%), linear-gradient(0deg, rgba(26, 31, 21, .5), rgba(26, 31, 21, 0) 45%); opacity: 0; transition: opacity .9s var(--ease); }
.swiper-slide-active .ps-shade { opacity: 1; }
.ps-status { position: absolute; top: 28px; left: 28px; padding: 6px 14px; border: 1px solid rgba(239, 237, 218, .5); font-size: 12px; letter-spacing: .02em; background: rgba(26, 31, 21, .25); backdrop-filter: blur(6px); }
.ps-info { position: absolute; right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 52px); width: min(430px, 58%); display: grid; gap: 8px; }
.ps-info > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.swiper-slide-active .ps-info > * { opacity: 1; transform: none; }
.swiper-slide-active .ps-info > :nth-child(2) { transition-delay: .25s; }
.swiper-slide-active .ps-info > :nth-child(3) { transition-delay: .35s; }
.swiper-slide-active .ps-info > :nth-child(4) { transition-delay: .45s; }
.swiper-slide-active .ps-info > :nth-child(5) { transition-delay: .55s; }
.ps-index { justify-self: start; font-family: system-ui, sans-serif; font-weight: 300; font-size: 13px; letter-spacing: .12em; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid var(--cream); }
.ps-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; opacity: .8; }
.ps-loc .am-ico { width: 15px; height: 15px; }
.ps-title { font-size: clamp(30px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; }
.ps-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 14px 0 6px; padding-top: 16px; border-top: 1px solid rgba(239, 237, 218, .25); }
.ps-facts div { display: grid; gap: 2px; }
.ps-facts dt { font-size: 12px; opacity: .62; }
.ps-facts dd { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; }
.ps-facts .am-cur { font-size: .72em; opacity: .8; }
.ps-cta { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 22px; border: 1px solid rgba(239, 237, 218, .7); font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.ps-cta .am-ico { width: 16px; height: 16px; }
.ps-slide:hover .ps-cta { background: var(--cream); color: var(--green-800); }

.ps-controls { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); margin-top: clamp(30px, 4vw, 48px); }
.ps-count { display: flex; align-items: baseline; gap: 8px; font-family: system-ui, sans-serif; color: var(--green-300); font-size: 14px; letter-spacing: .08em; }
.ps-count b { font-size: 30px; font-weight: 300; color: var(--cream); }
.ps-bar { flex: 1; height: 1px; background: rgba(239, 237, 218, .18); position: relative; }
.ps-bar i { position: absolute; inset-block: -0.5px; right: 0; width: 25%; background: var(--cream); transition: width .9s var(--ease); }
.ps-arrows { display: flex; gap: 10px; }
.ps-btn { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(239, 237, 218, .3); background: transparent; color: var(--cream); transition: background .3s, color .3s, border-color .3s; }
.ps-btn:hover { background: var(--cream); color: var(--green-800); border-color: var(--cream); }
.ps-btn .am-ico { width: 20px; height: 20px; }
[data-ps-prev] .am-ico { transform: scaleX(-1); }

@media (max-width: 960px) {
	.pslider .swiper-slide { width: 82vw; }
	.ps-info { width: auto; left: 24px; }
}
@media (max-width: 640px) {
	.pslider .swiper-slide { width: 84vw; transform: scale(.94); }
	.ps-slide { aspect-ratio: 4 / 5; }
	.ps-shade { background: linear-gradient(0deg, rgba(26, 31, 21, .92) 0%, rgba(26, 31, 21, .55) 42%, rgba(26, 31, 21, 0) 72%); }
	.ps-info { right: 22px; left: 22px; bottom: 22px; }
	.ps-title { font-size: 28px; }
	.ps-facts { gap: 12px 22px; }
	.ps-status { top: 18px; left: 18px; }
	.ps-btn { width: 48px; height: 48px; }
}

/* ---------- Feature (full-bleed project) ---------- */

.feature { position: relative; min-height: max(620px, 92vh); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.feature-bg, .feature-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-bg img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.feature:hover .feature-bg img { transform: scale(1.02); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 45, 32, .1) 30%, rgba(38, 45, 32, .78) 100%), linear-gradient(0deg, rgba(38, 45, 32, .55), transparent 55%); }
.feature-alt .feature-shade { background: linear-gradient(270deg, rgba(38, 45, 32, .1) 30%, rgba(38, 45, 32, .78) 100%), linear-gradient(0deg, rgba(38, 45, 32, .55), transparent 55%); }
.feature-inner { position: relative; padding-block: 80px; display: flex; }
.feature-alt .feature-inner { justify-content: flex-end; }
.feature-card { max-width: 520px; display: grid; gap: 16px; justify-items: start; }
.feature-card .project-loc { color: var(--cream); opacity: .85; }
.feature-card h2 { font-size: clamp(34px, 4.6vw, 60px); }
.feature-card > p { opacity: .88; font-size: 18px; }
.feature-facts { display: flex; gap: 28px; padding: 18px 0; margin: 4px 0 8px; border-block: 1px solid var(--line-light); width: 100%; }
.feature-facts li { display: grid; }
.feature-facts small { font-size: 12.5px; opacity: .7; }
.feature-facts b { font-weight: 600; font-size: 19px; }

/* ---------- Values ---------- */

.values { padding: clamp(70px, 9vw, 130px) 0; }
.section-head { margin-bottom: 44px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value h3 { font-size: 22px; color: var(--green); }
.value p { color: var(--muted); font-size: 15.5px; }
.value-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--green); }
.value-ico .am-ico { width: 26px; height: 26px; }
.values-dark { background: var(--green); color: var(--cream); position: relative; }
.values-dark .values-grid { grid-template-columns: repeat(3, 1fr); }
.values-dark .value { background: rgba(239, 237, 218, .06); border-color: var(--line-light); }
.values-dark .value h3 { color: var(--cream); }
.values-dark .value p { color: rgba(239, 237, 218, .75); }
.values-dark .value-ico { background: rgba(239, 237, 218, .12); color: var(--cream); }

/* ---------- Units ---------- */

.units-section { padding: clamp(70px, 9vw, 120px) 0; }
.units-section-cream { background: var(--cream-100); }
.units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.unit-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.unit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.unit-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.unit-media img, .unit-media .am-img-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .8s var(--ease); }
.unit-card:hover .unit-media img { transform: scale(1.05); }
.unit-body { padding: 22px 24px 24px; display: grid; gap: 10px; flex: 1; }
.unit-project { font-size: 13.5px; color: var(--green-500); font-weight: 500; }
.unit-body h3 { font-size: 20px; color: var(--green-800); }
.specs { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .am-ico { width: 18px; height: 18px; color: var(--green-500); }
.unit-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; color: var(--muted); }
.results-bar b { color: var(--green); font-size: 20px; }
.sort-form label { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; }
.sort-form select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); }
.pagination .current { background: var(--green); color: var(--cream); border-color: var(--green); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Map ---------- */

.map-section { padding: 0 0 clamp(70px, 9vw, 120px); }
.map-section-tight { padding-top: clamp(60px, 8vw, 100px); }
.am-map { height: clamp(380px, 52vw, 560px); border-radius: var(--radius); overflow: hidden; background: var(--cream-100); border: 1px solid var(--line); z-index: 1; }
.am-map-sm { height: 380px; }
.am-tiles { filter: grayscale(.85) sepia(.25) brightness(1.03) contrast(.92); }
.am-pin { width: 44px; height: 54px; color: var(--cream); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.am-pin .pin-body { position: absolute; inset: 0 0 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 2px solid var(--cream); }
.am-pin svg { position: absolute; top: 9px; left: 50%; width: 16px; margin-left: -8px; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; font-family: var(--font); }
.leaflet-popup-content { margin: 0 !important; width: 220px !important; }
.map-pop { display: grid; }
.map-pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 14px 14px 0 0; }
.map-pop div { padding: 12px 14px; display: grid; gap: 2px; }
.map-pop b { font-size: 15px; color: var(--green-800); }
.map-pop small { color: var(--muted); font-size: 12.5px; }
.map-pop a { color: var(--green); font-weight: 600; font-size: 13px; margin-top: 4px; }

/* ---------- Interest form ---------- */

.interest { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: var(--green-800); overflow: hidden; }
.interest-bg, .interest-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interest-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38, 45, 32, .2), rgba(38, 45, 32, .75)); }
.interest .container { position: relative; display: flex; }
.interest-card { width: min(640px, 100%); padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: var(--cream-50); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.interest-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.interest-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--green); }
.interest-head p:not(.eyebrow) { color: var(--muted); margin-top: 6px; }
.interest-mark { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--green); color: var(--cream); display: grid; place-items: center; }
.interest-mark svg { width: 26px; }
.interest-plain { padding: 0; background: none; }
.interest-plain .container { padding: 0; }
.interest-plain .interest-card { width: 100%; box-shadow: var(--shadow); }

.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.f-full { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line);
	background: #fff; font-size: 15.5px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.f textarea { resize: vertical; min-height: 96px; }
.f select { appearance: none; -webkit-appearance: none; padding-left: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235b6a4d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center; cursor: pointer; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(91, 106, 77, .14); }
.f [aria-invalid="true"] { border-color: #b4532a; }
.f-phone { position: relative; display: block; }
.f-phone input { padding-left: 70px; text-align: left; }
.f-phone em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: 15px; padding-right: 10px; border-right: 1px solid var(--line); }
.f-note { margin: 18px 0; font-size: 12.5px; color: var(--muted); }
.f-msg { margin-top: 14px; font-size: 15px; text-align: center; min-height: 1px; }
.f-msg.ok { color: var(--green); font-weight: 500; }
.f-msg.err { color: #a2431e; }
.lead-form button[disabled] { opacity: .6; pointer-events: none; }
.lead-form.is-done .f-grid, .lead-form.is-done .f-note, .lead-form.is-done button { display: none; }
.lead-form.is-done .f-msg { padding: 30px 10px; font-size: 18px; }
.interest-contacts { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.interest-contacts a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; background: var(--cream-100); color: var(--green); font-size: 14.5px; font-weight: 500; transition: background .2s; }
.interest-contacts a:hover { background: var(--cream-300); }

/* ---------- Page hero ---------- */

.page-hero { position: relative; min-height: 460px; padding: calc(var(--header-h) + 70px) 0 70px; display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; color: var(--cream); background: var(--green); overflow: hidden; }
.page-hero-bg, .page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38, 45, 32, .88), rgba(38, 45, 32, .45)); }
.page-hero-plain { min-height: 380px; }
.page-hero-plain .hero-pattern { opacity: .04; }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); }
.page-hero .eyebrow { color: var(--cream); opacity: .8; }
.page-hero .lead { margin-top: 12px; }
.page-hero-search { padding-bottom: 0; overflow: visible; margin-bottom: 60px; }
.page-hero-search .search-bar { position: relative; transform: translateY(50%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; opacity: .75; margin-bottom: 22px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-dark { color: var(--muted); opacity: 1; }

/* ---------- Project page ---------- */

.project-hero { position: relative; color: var(--cream); background: var(--green-900); }
.project-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero .hero-shade { background: linear-gradient(0deg, rgba(38, 45, 32, .92) 0%, rgba(38, 45, 32, .35) 55%, rgba(38, 45, 32, .55) 100%); }
.project-hero-inner { position: relative; min-height: max(560px, 82vh); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding-top: calc(var(--header-h) + 60px); padding-bottom: 50px; }
.project-hero-inner .chip { position: static; }
.project-hero h1 { font-size: clamp(42px, 7vw, 96px); }
.project-hero .project-loc { color: var(--cream); font-size: 17px; opacity: .85; }
.project-facts { position: relative; transform: translateY(50%); margin-top: -10px; display: flex; align-items: center; gap: 10px 40px; flex-wrap: wrap; padding: 22px 30px; border-radius: 22px; background: var(--cream-50); color: var(--ink); box-shadow: var(--shadow); }
.project-facts li { display: grid; }
.project-facts small { font-size: 12.5px; color: var(--muted); }
.project-facts b { font-size: 19px; color: var(--green); font-weight: 600; }
.project-facts .facts-cta { margin-inline-start: auto; display: flex; gap: 10px; }
.project-about { padding: clamp(110px, 12vw, 160px) 0 clamp(50px, 6vw, 80px); }
.project-about .about-title h2 { font-size: clamp(30px, 4vw, 52px); }
.prose p + p { margin-top: 1em; }

.gallery-section { padding: 0 0 clamp(70px, 9vw, 120px); }
.gallery-count { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream-100); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(38, 45, 32, .6); color: var(--cream); font-size: 28px; font-weight: 600; }

.units-table { display: grid; gap: 10px; }
.ut-row { display: grid; grid-template-columns: 2.2fr 1.2fr .8fr 1fr 1fr 1.4fr 48px; align-items: center; gap: 12px; padding: 18px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
a.ut-row:hover { border-color: var(--green-300); transform: translateX(-4px); }
.ut-head { background: transparent; border: 0; padding-block: 4px; font-size: 13px; color: var(--muted); }
.ut-name { font-weight: 600; color: var(--green-800); }
.ut-price { font-weight: 600; color: var(--green); }
.ut-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); }

/* ---------- Unit page ---------- */

.unit-hero { padding: 30px 0 0; background: var(--cream-50); }
.unit-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; }
.ug-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream-100); }
.ug-item img, .ug-item .am-img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ug-item:hover img { transform: scale(1.04); }
.ug-main { grid-row: span 2; }
.unit-detail { padding: 50px 0 clamp(60px, 8vw, 100px); }
.unit-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.unit-main h1 { font-size: clamp(32px, 4vw, 48px); color: var(--green-800); margin: 6px 0 8px; }
.unit-main h2 { font-size: 24px; color: var(--green); margin-bottom: 16px; }
.spec-tiles { margin: 30px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec-tiles li { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; }
.spec-tiles .am-ico { width: 26px; height: 26px; color: var(--green-500); margin-bottom: 8px; }
.spec-tiles small { font-size: 12.5px; color: var(--muted); }
.spec-tiles b { font-size: 18px; color: var(--green-800); }
.unit-content { margin-bottom: 40px; }
.unit-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.price-card { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.price-card > small { color: var(--muted); }
.price-card .price { margin-bottom: 8px; }

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

.brand-wheel { padding: clamp(60px, 8vw, 110px) 0; background: var(--cream-100); overflow: hidden; }
.brand-wheel .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.wheel { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; background: var(--green); border-radius: 28px; color: var(--cream); overflow: hidden; }
.ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(239, 237, 218, .55); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-1 { width: 62%; height: 62%; }
.ring-2 { width: 96%; height: 96%; }
.wheel-core { position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: var(--cream); color: var(--green); display: grid; place-content: center; text-align: center; }
.wheel b { display: block; font-weight: 600; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.3; }
.wheel small { display: block; font-size: 11px; opacity: .75; font-family: system-ui, sans-serif; }
.wheel-item { position: absolute; text-align: center; transform: translate(-50%, -50%); background: var(--green); padding: 4px 8px; }
.wi-1 { left: 69%; top: 50%; } .wi-2 { left: 31%; top: 50%; } .wi-3 { left: 50%; top: 20%; } .wi-4 { left: 50%; top: 80%; }
.wheel-copy h2 { font-size: clamp(28px, 3.6vw, 46px); color: var(--green); margin-bottom: 18px; }
.wheel-copy p:not(.eyebrow) { color: #3c4433; }

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

.contact-section { padding: clamp(60px, 8vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(26px, 4vw, 50px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
a.c-card:hover { border-color: var(--green-300); transform: translateY(-2px); }
.c-card .value-ico { grid-row: span 2; }
.c-card small { color: var(--muted); font-size: 13px; }
.c-card b { color: var(--green-800); font-weight: 600; }

/* ---------- Posts ---------- */

.posts-section, .page-body { padding: clamp(60px, 8vw, 100px) 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-media { display: block; aspect-ratio: 16 / 10; }
.post-media img, .post-media .am-img-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.post-body { padding: 22px; display: grid; gap: 8px; }
.post-body time { font-size: 13px; color: var(--muted); }
.post-body h2 { font-size: 20px; color: var(--green-800); }
.prose { font-size: 17.5px; }
.prose h2, .prose h3 { color: var(--green); margin: 1.4em 0 .5em; }
.prose a { color: var(--green); text-decoration: underline; }
.prose img { border-radius: var(--radius-sm); }
.prose ul { list-style: disc; padding-inline-start: 1.4em; }

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

.site-footer { position: relative; background: var(--green-800); color: var(--cream); overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; background: var(--pattern) 0 0 / 72px; opacity: .035; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(60px, 8vw, 100px) 50px; }
.footer-logo { display: block; width: 130px; color: var(--cream); }
.footer-slogan { margin: 18px 0 10px; font-size: 22px; font-weight: 500; }
.footer-about { font-size: 14.5px; opacity: .7; max-width: 340px; }
.site-footer h3 { font-size: 16px; font-weight: 600; margin-bottom: 18px; opacity: .95; }
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a { opacity: .72; transition: opacity .2s; }
.footer-list a:hover { opacity: 1; }
.footer-contact ul { display: grid; gap: 14px; font-size: 15px; }
.footer-contact a, .f-addr { display: inline-flex; align-items: flex-start; gap: 10px; opacity: .8; }
.footer-contact a:hover { opacity: 1; }
.footer-contact .am-ico { margin-top: 4px; width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); transition: background .2s, color .2s; }
.socials a:hover { background: var(--cream); color: var(--green); }
.socials-dark a { border-color: var(--line); color: var(--green); }
.socials-dark a:hover { background: var(--green); color: var(--cream); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line-light); font-size: 13.5px; opacity: .65; }

/* ---------- Lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(20, 24, 17, .94); padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(239, 237, 218, .08); color: var(--cream); display: grid; place-items: center; }
.lightbox button:hover { background: rgba(239, 237, 218, .2); }
.lb-close { top: 16px; left: 16px; }
.lb-prev { right: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; color: var(--cream); opacity: .7; font-size: 14px; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.hero-slide.is-active img { animation: none; }
	* { transition-duration: .01ms !important; }
}

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

@media (max-width: 1180px) {
	.h-phone { display: none; }
	.search-bar { grid-template-columns: repeat(3, 1fr); }
	.sb-btn { grid-column: span 3; min-height: 50px; }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.main-nav, .header-actions .btn { display: none; }
	.nav-toggle { display: grid; }
	.header-inner { justify-content: space-between; }
	.brand .am-logo { height: 38px; }
	.about-grid, .brand-wheel .container, .contact-grid, .unit-layout { grid-template-columns: 1fr; }
	.units-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
	.projects-grid { grid-template-columns: 1fr !important; }
	.unit-aside { position: static; }
	.ut-head { display: none; }
	.ut-row { grid-template-columns: 1fr 1fr; padding: 18px; }
	.ut-row .ut-name { grid-column: 1 / -1; font-size: 17px; }
	.ut-row [data-l]::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
	.ut-go { display: none; }
	.project-facts { transform: none; margin: 0 0 -1px; border-radius: 22px 22px 0 0; }
	.project-facts .facts-cta { margin-inline-start: 0; width: 100%; }
	.project-facts .facts-cta .btn { flex: 1; }
	.project-about { padding-top: 60px; }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
	.unit-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 140px 140px; }
	.ug-main { grid-column: span 2; grid-row: auto; }
	.spec-tiles { grid-template-columns: repeat(2, 1fr); }
	.feature-shade, .feature-alt .feature-shade { background: linear-gradient(0deg, rgba(38, 45, 32, .92) 10%, rgba(38, 45, 32, .2) 70%); }
	.feature-alt .feature-inner { justify-content: flex-start; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.btn { min-height: 48px; padding: 0 20px; }
	.hero-ctas .btn { flex: 1 1 100%; }
	.hero-ctas { width: 100%; }
	.search-bar { grid-template-columns: 1fr 1fr; }
	.search-bar .sb-field:first-child { grid-column: span 2; }
	.sb-btn { grid-column: span 2; }
	.stats { grid-template-columns: 1fr; }
	.stats li + li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
	.stats li { padding-top: 22px; }
	.values-grid, .values-dark .values-grid, .units-grid, .posts-grid { grid-template-columns: 1fr; }
	.f-grid { grid-template-columns: 1fr; }
	.interest-contacts { grid-template-columns: 1fr 1fr 1fr; }
	.interest-contacts a { flex-direction: column; gap: 4px; font-size: 13px; }
	.interest-mark { display: none; }
	.footer-top { grid-template-columns: 1fr; gap: 34px; }
	.rail-head { flex-direction: column; align-items: flex-start; }
	.rail .project-card { flex-basis: 80vw; }
	.rail-nav { display: flex; }
	.rail-nav .circle-link { display: none; }
	.projects-grid .pc-link { aspect-ratio: 4 / 5; padding: 24px; }
	.page-hero { min-height: 340px; padding-bottom: 50px; }
	.page-hero-search { padding-bottom: 0; }
	.page-hero-search .search-bar { transform: translateY(30%); }
	.results-bar { flex-direction: column; align-items: flex-start; }
	.lightbox { padding: 70px 10px; }
	.lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
	.lb-prev { transform: scaleX(-1); }
}

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 80px) clamp(30px, 4vw, 60px); }
.projects-page { padding: clamp(60px, 8vw, 110px) 0; }
