/*
Theme Name: Nicol Residence
Theme URI: https://www.nicolresidence.ro
Author: Nicol Residence
Description: Tema Nicol Residence Iași – apartamente noi cu 1, 2 și 3 camere.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: nicol-residence
*/

/* ========== Tokens ========== */
:root {
	--bg: #f6f3ee;
	--ink: #1d1a17;
	--muted: #5c554e;
	--accent: #a55a37;
	--accent: oklch(55% 0.11 45);
	--accent-light: #eca57d;
	--accent-light: oklch(78% 0.1 50);
	--accent-light2: #f2ab83;
	--accent-light2: oklch(80% 0.1 50);
	--grad: linear-gradient(135deg, #b86838, #964a2f);
	--grad: linear-gradient(135deg, oklch(60% 0.12 50), oklch(50% 0.11 40));
	--accent-shadow: rgba(165, 90, 55, .8);
	--accent-shadow: oklch(55% 0.11 45 / .8);
	--glow: rgba(240, 173, 127, .4);
	--glow: oklch(80% 0.1 55 / .4);
	--glow2: rgba(240, 173, 127, .15);
	--glow2: oklch(80% 0.1 55 / .15);
	--glow-soft: rgba(235, 175, 134, .35);
	--glow-soft: oklch(80% 0.09 55 / .35);
	--sans: Manrope, system-ui, sans-serif;
	--display: Sora, Manrope, system-ui, sans-serif;
	--pad: clamp(20px, 4vw, 48px);
	--radius: 20px;
	--card-shadow: 0 20px 40px -24px rgba(29, 26, 23, .3), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; }
p { margin: 0; }
.site { position: relative; overflow-x: clip; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sec { padding: 0 var(--pad); }
.mt-72 { margin-top: 72px; }
.mt-24 { margin-top: 24px; }

/* ========== Type ========== */
.eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow.light { color: var(--accent-light2); }
.hero-title { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; }
.h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.hero-text { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.lead-text { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 16px 0 28px; }

/* ========== Buttons ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; text-align: center; }
.btn-sm { padding: 10px 16px; font-size: 14px; font-weight: 600; }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px var(--accent-shadow); }
.btn-sm.btn-accent { box-shadow: 0 8px 20px -8px var(--accent-shadow); }
.btn-outline { background: #fff; color: var(--ink); border-color: rgba(0, 0, 0, .1); }
.btn-sm.btn-outline { border-color: rgba(0, 0, 0, .12); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.btn-glass { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(29, 26, 23, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--bg); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.link-more.dark { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 12px; border-radius: 999px; }
.badge-light { position: absolute; top: 20px; left: 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }

/* ========== Header ========== */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px var(--pad); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 12px 32px -16px rgba(29, 26, 23, .25); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile panel inside it. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { opacity: 1; }
.brand-bg { fill: var(--accent); }
.brand-logo { height: 32px; width: auto; }
.brand-text { font: 400 19px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand-text b { font-weight: 600; }
.brand-text em { font-style: normal; color: var(--accent); }
.site-footer .brand-text { font-size: 16px; }

.nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 14px 24px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 12px clamp(16px, 2.4vw, 30px); list-style: none; margin: 0 auto; padding: 0; font-size: 14px; color: var(--muted); }
.nav-list li { position: relative; }
.nav-list > li > a { position: relative; display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--muted); padding: 4px 0; }
.nav-list > li > a:hover { opacity: 1; color: var(--ink); }
.nav-list > li.active > a { color: var(--ink); font-weight: 700; }
.nav-list > li.active > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-list .i-chevron { width: 12px; height: 12px; }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn-accent .i { width: 14px; height: 14px; }

/* Dropdown */
.dropdown { position: absolute; left: -16px; top: 100%; padding-top: 18px; z-index: 50; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.dropdown-panel { width: 300px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -24px rgba(29, 26, 23, .4), 0 0 0 1px rgba(0, 0, 0, .05); }
.dd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.has-menu:hover .dropdown, .has-menu.open .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dd-item { color: var(--ink); display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; transition: background .15s; }
.dd-item:hover { opacity: 1; background: var(--bg); }
.dd-num { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; font: 600 17px var(--display); color: var(--accent); }
.dd-label { display: block; font-size: 14px; font-weight: 700; }
.dd-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dd-all { color: var(--accent); display: flex; align-items: center; justify-content: space-between; padding: 12px; margin-top: 2px; border-top: 1px solid rgba(0, 0, 0, .06); font-size: 13px; font-weight: 700; }
.dd-all .i { width: 14px; height: 14px; }

/* Hamburger */
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero (full-bleed image) ========== */
.hero { position: relative; height: 600px; overflow: hidden; color: #fff; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(29, 26, 23, .86) 0%, rgba(29, 26, 23, .55) 38%, rgba(29, 26, 23, .05) 68%, transparent); }
.hero-apt .hero-shade { background: linear-gradient(95deg, rgba(29, 26, 23, .82) 0%, rgba(29, 26, 23, .5) 40%, rgba(29, 26, 23, .05) 70%, transparent); }
.hero-strong .hero-shade { background: linear-gradient(95deg, rgba(29, 26, 23, .88), rgba(29, 26, 23, .5) 45%, rgba(29, 26, 23, .05) 75%); }
.hero-contact .hero-shade { background: linear-gradient(180deg, rgba(29, 26, 23, .55), rgba(29, 26, 23, .7)); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 26, 23, .25), transparent 25%, transparent 60%, var(--bg) 100%); }
.hero-inner { position: absolute; left: var(--pad); right: var(--pad); top: 72px; bottom: 110px; max-width: 640px; }
.hero-split { display: flex; flex-direction: column; justify-content: space-between; }
.hero-center { top: 50%; bottom: auto; transform: translateY(-55%); }
.hero .hero-title { margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-home .hero-title { margin-bottom: 20px; }
.hero .hero-text { color: rgba(255, 255, 255, .88); max-width: 480px; }
.hero-apt .hero-text, .hero-contact .hero-text { max-width: 520px; }
.hero-strong .hero-text { max-width: 500px; }
.hero-home .hero-text { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5); color: #fff; }
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: #fea47c; background: oklch(80% 0.12 45); box-shadow: 0 0 0 4px rgba(254, 164, 124, .3); box-shadow: 0 0 0 4px oklch(80% 0.12 45 / .3); }
.hero-badge .i { width: 14px; height: 14px; }
.hero-centered { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad) 48px; }
.hero-centered .hero-text { max-width: 560px; color: rgba(255, 255, 255, .85); margin-bottom: 34px; }
.btn-phone-big { gap: 14px; padding: 20px 34px; font: 600 clamp(22px, 2.5vw, 28px)/1 var(--display); letter-spacing: -.02em; box-shadow: 0 24px 50px -14px var(--accent-shadow); }

/* Side hero (Apartamente) */
.hero-side { position: relative; padding: 80px var(--pad) 64px; overflow: hidden; }
.hero-side-img { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-side-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 40%, rgba(246, 243, 238, .92) 55%, rgba(246, 243, 238, .3) 80%, rgba(246, 243, 238, .1)); }
.hero-side-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg)); }
.hero-side-inner { position: relative; max-width: 640px; }
.hero-side-inner .hero-title { margin-bottom: 18px; }
.hero-side-inner .hero-text { margin-bottom: 30px; }

/* Simple heads (Galerie, Blog) */
.gal-head { padding-top: 80px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; position: relative; }
.gal-intro { max-width: 620px; position: relative; }
.gal-intro .hero-title { margin-bottom: 16px; }
.gal-intro .hero-text { max-width: none; }
.blog-glow { position: absolute; right: -200px; top: -100px; width: 700px; height: 500px; background: radial-gradient(closest-side, var(--glow-soft), transparent); pointer-events: none; }
.filters { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(29, 26, 23, .35), 0 0 0 1px rgba(0, 0, 0, .04); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.filters button { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 12px; background: transparent; color: var(--muted); }
.filters button.is-active { background: var(--ink); color: #fff; }

/* ========== Stats row ========== */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; border-bottom: 1px solid rgba(29, 26, 23, .1); }
.stat { position: relative; padding: 32px 4px; display: flex; gap: 12px; align-items: center; justify-content: center; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(29, 26, 23, .12); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -14px rgba(29, 26, 23, .35), 0 0 0 1px rgba(29, 26, 23, .06); display: grid; place-items: center; flex: none; color: var(--accent); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; white-space: nowrap; }
.stat-value { font: 600 17px/1.2 var(--display); letter-spacing: -.025em; white-space: nowrap; }
.stat-value.stat-email { font-size: 14px; line-height: 1.3; letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; }

/* ========== Section heads & grids ========== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head.center { justify-content: center; text-align: center; margin-bottom: 40px; }
.sec-head .btn-sm { font-weight: 700; color: var(--ink); }
.sec-head .btn-sm .i { width: 16px; height: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gap-16 { gap: 16px; }
.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); }

/* Why */
.why { padding-top: 72px; position: relative; }
.why-glow { position: absolute; left: -200px; top: 0; width: 700px; height: 500px; background: radial-gradient(closest-side, var(--glow-soft), transparent); pointer-events: none; }
.why .sec-head, .why .grid-3 { position: relative; }
.why-card { transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -24px rgba(29, 26, 23, .4), 0 0 0 1px rgba(0, 0, 0, .04); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #fcefe5, #fbdecc); background: linear-gradient(135deg, oklch(96% 0.02 60), oklch(92% 0.04 55)); display: grid; place-items: center; margin-bottom: 22px; box-shadow: inset 0 1px 0 #fff; color: var(--accent); }
.why-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; }
.why-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Types (home) */
.types { margin-top: 72px; padding: 72px var(--pad); background: linear-gradient(180deg, var(--bg), #fff 30%, #fff 70%, var(--bg)); }
.type-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -28px rgba(29, 26, 23, .5); color: #fff; background: var(--ink); }
.type-card:hover { opacity: 1; }
.type-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.type-card:hover img { transform: scale(1.03); }
.type-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 26, 23, .1), transparent 30%, rgba(29, 26, 23, .85)); }
.type-body { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.type-body h3 { margin-bottom: 6px; font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.type-body p { margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, .82); }

/* Apartment cards (listing) */
.apt-card, .post-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -24px rgba(29, 26, 23, .35), 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .25s, box-shadow .25s; }
.apt-card:hover, .post-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 30px 50px -24px rgba(29, 26, 23, .45), 0 0 0 1px rgba(0, 0, 0, .04); }
.apt-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.apt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(29, 26, 23, .7)); }
.apt-title { position: absolute; left: 22px; bottom: 18px; color: #fff; font: 600 30px/1 var(--display); letter-spacing: -.03em; }
.apt-body { padding: 24px; }
.apt-body p { margin-bottom: 18px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.strip-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: 0 20px 40px -26px rgba(29, 26, 23, .45); background: var(--ink); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Dark split section */
.dark-split { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); color: var(--bg); overflow: hidden; min-height: 480px; }
.dark-split.reverse .dark-body { order: 2; }
.dark-body { position: relative; z-index: 2; padding: 64px var(--pad); }
.dark-body.centered { display: flex; flex-direction: column; justify-content: center; }
.dark-body .h2 { margin-bottom: 16px; }
.dark-text { margin-bottom: 30px; font-size: 15px; line-height: 1.65; color: rgba(246, 243, 238, .7); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; font-weight: 600; }
.feature { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); padding: 14px 16px; border-radius: 12px; }
.feature .i { color: var(--accent-light); flex: none; }
.dark-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.dark-text + .dark-actions { margin-top: 0; }
.dark-media { position: relative; min-height: 360px; }
.dark-split.reverse .dark-media { order: 1; }
.dark-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(29, 26, 23, .35) 18%, transparent 40%); }
.dark-wide-fade .dark-fade { background: linear-gradient(90deg, var(--ink) 0%, rgba(29, 26, 23, .6) 22%, transparent 55%); }
.dark-split.reverse .dark-fade { background: linear-gradient(270deg, var(--ink) 0%, rgba(29, 26, 23, .6) 22%, transparent 55%); }
.pin-card { position: absolute; right: 32px; bottom: 32px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); border-radius: 12px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.pin-card .i { color: var(--accent); flex: none; }

/* Partners */
.partners { padding: 40px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.partners-title { font-size: 13px; font-weight: 700; color: var(--muted); flex: none; letter-spacing: .06em; text-transform: uppercase; }
.partners-logos { display: flex; justify-content: space-between; flex: 1; align-items: center; gap: 24px; flex-wrap: wrap; }
.partners-logos img { height: 28px; width: auto; filter: grayscale(1); opacity: .5; }

/* CTA */
.cta { position: relative; margin-top: 72px; padding: 80px var(--pad); text-align: center; overflow: hidden; background: var(--bg); }
.partners + .cta { margin-top: 0; }
.cta-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1400px; height: 900px; background: radial-gradient(ellipse at center, var(--glow) 0%, var(--glow2) 30%, transparent 60%); pointer-events: none; }
.cta-inner { position: relative; }
.cta h2 { margin-bottom: 14px; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.cta p { margin: 0 auto 32px; max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta .btn-outline { box-shadow: 0 10px 24px -14px rgba(29, 26, 23, .3); }

/* Steps (Proiectare) */
.steps-head { margin-bottom: 40px; }
.steps-head > div { max-width: 560px; }
.steps-text { max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step { position: relative; padding: 28px 24px 0 0; border-top: 2px solid rgba(29, 26, 23, .1); }
.step::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--accent); }
.step-n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.2; min-height: 46px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* 6/6 splits (Contact "Cum ajungi", Apartament "Compartimentare") */
.split-6-6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: stretch; }
.layout.split-6-6 { padding-top: 24px; gap: 56px; }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: 0 30px 60px -28px rgba(29, 26, 23, .5); background: var(--ink); }
.layout .media-card { min-height: 360px; }
.media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29, 26, 23, .75)); }
.media-caption { position: absolute; left: 20px; bottom: 18px; color: #fff; font: 600 16px/1.2 var(--display); }
.how-list { display: grid; gap: 10px; font-size: 14px; font-weight: 600; }
.how-item { display: flex; gap: 10px; align-items: center; background: #fff; padding: 14px 16px; border-radius: 12px; box-shadow: 0 10px 24px -18px rgba(29, 26, 23, .35), 0 0 0 1px rgba(0, 0, 0, .04); }
.how-item .i { color: var(--accent); flex: none; }
.rooms { display: grid; border-top: 1px solid rgba(0, 0, 0, .08); }
.room { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 15px; }
.room span:first-child { font-weight: 700; }
.room span:last-child { color: var(--muted); text-align: right; }

/* Apartment: included, others */
.incl-card { padding: 22px 24px; }
.incl-title { font: 600 17px/1.2 var(--display); margin-bottom: 6px; }
.incl-text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.other-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -24px rgba(29, 26, 23, .35), 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .25s, box-shadow .25s; }
.other-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(29, 26, 23, .5), 0 0 0 1px rgba(0, 0, 0, .04); }
.other-media { position: relative; min-height: 220px; background: var(--ink); }
.other-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.other-eyebrow { min-height: 36px; }
.other-title { font: 600 30px/1 var(--display); letter-spacing: -.03em; margin-bottom: 10px; }
.other-body p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ========== Gallery ========== */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 20px; grid-auto-flow: dense; }
.gal-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(29, 26, 23, .5); background: var(--ink); }
.gal-item.hide { display: none; }
.gal-item a { display: block; height: 100%; }
.gal-item a:hover { opacity: 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.04); }
.gal-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(29, 26, 23, .75)); pointer-events: none; }
.gal-item figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
.gal-title { font: 600 16px/1.2 var(--display); }
.gal-cat { font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
/* Mosaic spans only when unfiltered (same pattern as the mockup). */
.gallery:not(.is-filtered) .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery:not(.is-filtered) .gal-item:nth-child(5) { grid-row: span 2; }
.gallery:not(.is-filtered) .gal-item:nth-child(8) { grid-column: span 2; }

/* ========== Blog ========== */
.post-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(29, 26, 23, .45), 0 0 0 1px rgba(0, 0, 0, .04); }
.post-featured:hover { opacity: 1; }
.post-featured-media { position: relative; min-height: 420px; background: var(--ink); }
.post-featured-fade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #fff); }
.post-featured-body { padding: 48px 48px 48px 24px; display: flex; flex-direction: column; justify-content: center; }
.post-featured-body .h2 { margin-bottom: 14px; }
.post-featured-body p { margin-bottom: 24px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-date { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-media .badge-light, .post-featured .badge-light { padding: 6px 11px; box-shadow: none; }
.post-media .badge-light { top: 16px; left: 16px; }
.post-body { padding: 24px; }
.post-body .post-date { margin-bottom: 10px; }
.post-body h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.post-body p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.pagination-wrap { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); font-size: 14px; font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article / generic page */
.article { max-width: 820px; margin: 0 auto; padding-top: 80px; }
.archive { padding-top: 80px; }
.article-head { margin-bottom: 32px; }
.article-head .back { margin-bottom: 24px; }
.article-head .hero-title { font-size: clamp(34px, 4vw, 52px); }
.article-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(29, 26, 23, .45); margin-bottom: 40px; background: var(--ink); }
.prose { font-size: 17px; line-height: 1.7; color: #2f2a26; }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3 { line-height: 1.15; letter-spacing: -.02em; margin-top: 1.6em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 22px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { border-radius: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose .wp-block-image, .prose figure { margin-left: 0; margin-right: 0; }

/* ========== Footer & bottom bar ========== */
.site-footer { padding: 32px var(--pad) 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; font-size: 13px; color: var(--muted); background: #fff; border-top: 1px solid rgba(0, 0, 0, .06); }
.site-footer.has-bar { padding-bottom: 104px; }
.footer-left { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.footer-list { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.footer-right { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: rgba(29, 26, 23, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .6); }
.bar-text { font-size: 14px; font-weight: 600; }
.btn-bar { padding: 10px 18px; font-size: 14px; box-shadow: 0 8px 20px -8px var(--accent-shadow); }

/* Scroll to top */
.to-top { position: fixed; right: 20px; bottom: 90px; z-index: 31; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, .1); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(29, 26, 23, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
body:not(.has-bottom-bar) .to-top { bottom: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(29, 26, 23, .94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.lightbox figcaption { color: #fff; font: 600 15px/1.3 var(--display); text-align: center; }
.lightbox button { position: absolute; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
body.lb-open, body.nav-open { overflow: hidden; }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
	.header-actions .btn-outline { display: none; }
}

@media (max-width: 960px) {
	.hamburger { display: flex; }
	.nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 88px 24px 32px; background: #fff; box-shadow: -20px 0 60px -20px rgba(29, 26, 23, .4); transform: translateX(100%); transition: transform .25s; overflow-y: auto; z-index: 45; }
	.nav.open { transform: none; }
	.site-header .hamburger { position: relative; z-index: 46; }
	.nav-list { flex-direction: column; gap: 4px; font-size: 16px; margin: 0; }
	.nav-list > li > a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); font-weight: 600; }
	.nav-list > li.active > a::after { display: none; }
	.nav-list .i-chevron { display: none; }
	.dropdown { position: static; padding: 6px 0 10px; opacity: 1; visibility: visible; transform: none; }
	.dropdown-panel { width: auto; box-shadow: none; border-radius: 0; padding: 0; background: transparent; }
	.dd-item { padding: 8px 0; }
	.dd-all { padding: 10px 0 0; border-top: 0; }
	.header-actions { flex-direction: column; }
	.header-actions .btn-outline { display: inline-flex; }
	.header-actions .btn { width: 100%; padding: 14px 16px; font-size: 15px; }
	.nav-backdrop { position: fixed; inset: 0; background: rgba(29, 26, 23, .5); z-index: 44; }

	/* Stats: 2x2 with a vertical divider between columns and a horizontal one between rows. */
	.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat { padding: 24px 12px; }
	.stat:nth-child(2n)::after { display: none; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid rgba(29, 26, 23, .1); }
	.grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dark-split, .split-6-6 { grid-template-columns: 1fr; }
	.dark-split.reverse .dark-body { order: 1; }
	.dark-split.reverse .dark-media { order: 2; }
	.dark-media { min-height: 300px; }
	.dark-fade, .dark-wide-fade .dark-fade, .dark-split.reverse .dark-fade { background: linear-gradient(180deg, var(--ink) 0%, rgba(29, 26, 23, .35) 25%, transparent 55%); }
	.hero-side-img { width: 100%; }
	.hero-side-shade { background: linear-gradient(90deg, var(--bg) 20%, rgba(246, 243, 238, .92) 50%, rgba(246, 243, 238, .4)); }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
	.gallery:not(.is-filtered) .gal-item:nth-child(5) { grid-row: auto; }
	.post-featured { grid-template-columns: 1fr; }
	.post-featured-media { min-height: 280px; }
	.post-featured-fade { background: linear-gradient(180deg, transparent 60%, #fff); }
	.post-featured-body { padding: 24px 32px 32px; }
	.partners { flex-direction: column; align-items: flex-start; }
	.partners-logos { justify-content: flex-start; }
	.other-card { grid-template-columns: 1fr; }
	.other-media { min-height: 200px; }
}

@media (max-width: 640px) {
	.hero { height: auto; min-height: 520px; }
	.hero-inner { position: relative; top: auto; bottom: auto; left: auto; right: auto; padding: 56px var(--pad) 90px; gap: 40px; max-width: none; }
	.hero-center { transform: none; }
	.hero .hero-title { font-size: clamp(36px, 10vw, 48px); }
	.hero-centered { padding-top: 56px; padding-bottom: 80px; min-height: 520px; }
	.hero-side { padding-top: 56px; }
	.hero-side-img { opacity: .5; }
	.btn-phone-big { font-size: 22px; padding: 16px 24px; }
	.gal-head { padding-top: 56px; }
	.stat { flex-direction: column; gap: 10px; padding: 20px 10px; text-align: center; }
	.stat-label, .stat-value { white-space: normal; }
	.stat-value.stat-email { font-size: 13px; overflow-wrap: break-word; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.types, .mt-72, .cta { margin-top: 48px; }
	.partners + .cta { margin-top: 0; }
	.types { padding: 48px var(--pad); }
	.why { padding-top: 48px; }
	.features, .dark-actions { grid-template-columns: 1fr; }
	.dark-body { padding: 48px var(--pad); }
	.gallery { grid-template-columns: 1fr; }
	.gallery:not(.is-filtered) .gal-item:nth-child(n) { grid-column: auto; grid-row: auto; }
	.filters { width: 100%; }
	.filters button { flex: 1; }
	.cta { padding: 56px var(--pad); }
	.cta-actions { flex-direction: column; width: 100%; }
	.cta .btn, .hero-actions .btn { width: 100%; }
	.room { flex-direction: column; gap: 4px; }
	.room span:last-child { text-align: left; }
	.site-footer, .footer-left, .footer-right { flex-direction: column; align-items: flex-start; gap: 16px; }
	.site-footer.has-bar { padding-bottom: 140px; }
	.bottom-bar { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; padding: 12px var(--pad); }
	.btn-bar { justify-content: center; }
	.to-top { bottom: 124px; right: 14px; }
	.pin-card { right: 16px; left: 16px; bottom: 16px; font-size: 12px; }
	.article, .archive { padding-top: 48px; }
	.lightbox { padding: 12px; }
	.lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
	.lb-prev { left: 16px; }
	.lb-next { right: 16px; }
	.lightbox img { max-height: calc(100vh - 160px); }
}

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