/* ==========================================================================
   Alezzi - stiluri tema
   Paleta: adancul marii (ink), auriul Alezzi, nisip, spuma.
   Tipografie: Archivo lat (titluri, ecou la logo-ul spatiat), Montserrat (text).
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Montserrat";
	src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Montserrat";
	src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--ink: #0F2431;
	--ink-2: #183447;
	--ink-3: #24465C;
	--gold: #C9A062;
	--gold-l: #E3C796;
	--gold-d: #8A6A38;
	--sand: #EDE5D8;
	--sand-2: #E3D8C6;
	--foam: #F5F7F6;
	--white: #FFFFFF;
	--text: #1C2B35;
	--muted: #56656F;
	--line: rgba(15, 36, 49, .12);
	--line-l: rgba(255, 255, 255, .16);
	--ok: #2F7D5B;
	--err: #B3412E;

	--f-display: "Archivo", "Montserrat", system-ui, sans-serif;
	--f-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--sec: clamp(64px, 9vw, 128px);
	--head-h: 84px;
	--head-h-s: 68px;
	--r: 4px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h-s) + 64px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--f-text);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 1100px) { body { font-size: 17px; } }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-d); }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.az-ico { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text, .az-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.az-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.az-skip:focus { left: 8px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	font-stretch: 112%;
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: .005em;
	margin: 0 0 .6em;
	color: inherit;
	text-wrap: balance;
}

/* ---------------- Butoane ---------------- */

.az-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 14px 26px;
	border-radius: var(--r);
	border: 1px solid transparent;
	background: var(--ink);
	color: var(--white);
	font-family: var(--f-text);
	font-weight: 600;
	font-size: .94rem;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.az-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.az-btn-gold, .wp-block-button.az-btn-gold .wp-block-button__link { background: var(--gold); color: var(--ink); }
.az-btn-gold:hover, .wp-block-button.az-btn-gold .wp-block-button__link:hover { background: var(--gold-l); color: var(--ink); }
.wp-block-button.az-btn-dark .wp-block-button__link { background: var(--ink); color: var(--white); }
.wp-block-button.az-btn-dark .wp-block-button__link:hover { background: var(--ink-3); color: var(--white); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: currentColor; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.wp-block-button.is-style-outline.az-btn-light > .wp-block-button__link { color: var(--white); border-color: rgba(255, 255, 255, .55); background: transparent; }
.wp-block-button.is-style-outline.az-btn-light > .wp-block-button__link:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.az-dark .wp-block-button.is-style-outline .wp-block-button__link { color: var(--white); }
.az-dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--ink); }
.az-btn-ghost { background: transparent; color: var(--white); border-color: var(--line-l); }
.az-btn-ghost:hover { border-color: var(--white); color: var(--white); }
.az-btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.az-btn-link { background: none; color: var(--gold-l); padding-inline: 8px; text-decoration: underline; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.wp-block-buttons > .wp-block-button { margin: 0; }

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

.az-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--head-h);
	color: var(--white);
	background: var(--ink);
	transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
body.has-hero .az-header:not(.is-solid) { background: linear-gradient(180deg, rgba(8, 20, 28, .55), rgba(8, 20, 28, 0)); }
.az-header.is-solid { height: var(--head-h-s); background: rgba(15, 36, 49, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
@supports (backdrop-filter: blur(8px)) {
	.az-header.is-solid { background: rgba(15, 36, 49, .88); backdrop-filter: blur(12px) saturate(1.2); }
}
body:not(.has-hero) .az-main { padding-top: var(--head-h-s); }
body:not(.has-hero) .az-header { height: var(--head-h-s); }
.admin-bar .az-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .az-header { top: 46px; } }

.az-header-in {
	max-width: calc(var(--wrap) + 2 * var(--gut));
	height: 100%;
	margin: 0 auto;
	padding: 0 var(--gut);
	display: flex;
	align-items: center;
	gap: 28px;
}
.az-logo img { height: 34px; width: auto; transition: height .3s var(--ease); }
.az-header.is-solid .az-logo img { height: 28px; }

.az-nav { margin-left: auto; }
.az-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.az-menu > li { position: relative; }
.az-menu a {
	display: block;
	padding: 10px 12px;
	font-size: .88rem;
	font-weight: 500;
	letter-spacing: .03em;
	text-decoration: none;
	color: rgba(255, 255, 255, .88);
}
.az-menu a:hover, .az-menu .is-current > a { color: var(--gold-l); }
.az-menu > li.has-sub > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.az-menu .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: -8px;
	min-width: 270px;
	margin: 0;
	padding: 10px;
	background: var(--ink);
	border: 1px solid var(--line-l);
	border-radius: var(--r);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.az-menu li:hover > .sub-menu, .az-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.az-menu .sub-menu a { padding: 10px 12px; border-radius: 2px; }
.az-menu .sub-menu a:hover { background: var(--ink-2); }
.az-nav-extra { display: none; }

.az-header-cta { display: flex; align-items: center; gap: 18px; }
.az-head-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .03em; white-space: nowrap; }
.az-head-phone .az-ico { color: var(--gold); }
.az-head-phone:hover { color: var(--gold-l); }
.az-head-offer { min-height: 42px; padding: 10px 20px; }
.az-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; color: var(--white); }
.az-burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }

@media (min-width: 1121px) {
	.az-menu > li > a { white-space: nowrap; }
}
@media (max-width: 1366px) {
	.az-head-phone span { display: none; }
	.az-menu a { padding: 10px 9px; }
}
@media (max-width: 1120px) {
	.az-burger { display: block; }
	.az-header-cta { margin-left: auto; }
	.az-head-offer { display: none; }
	.az-head-phone { display: none; }
	.az-nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		padding: calc(var(--head-h) + 20px) var(--gut) 40px;
		background: var(--ink);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s var(--ease), visibility .3s;
	}
	.nav-open .az-nav { opacity: 1; visibility: visible; }
	.nav-open .az-header { background: var(--ink); }
	.nav-open { overflow: hidden; }
	.nav-open .az-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.nav-open .az-burger span:nth-child(2) { opacity: 0; }
	.nav-open .az-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.az-menu { flex-direction: column; gap: 0; }
	.az-menu > li { border-bottom: 1px solid var(--line-l); }
	.az-menu > li > a { font-family: var(--f-display); font-stretch: 115%; font-size: 1.6rem; font-weight: 300; padding: 16px 0; letter-spacing: .01em; }
	.az-menu > li.has-sub > a::after { display: none; }
	.az-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 14px; background: none; min-width: 0; }
	.az-menu .sub-menu a { padding: 6px 0; color: rgba(255, 255, 255, .7); }
	.az-nav-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
	.az-nav-extra a { display: inline-flex; gap: 12px; align-items: center; color: var(--white); text-decoration: none; font-size: 1.1rem; font-weight: 600; }
	.az-nav-extra .az-ico { color: var(--gold); }
}

/* ---------------- Structura sectiunilor ---------------- */

.az-content > *:first-child { margin-top: 0; }
.az-section { padding: var(--sec) 0; position: relative; }
.az-wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.az-dark { background: var(--ink); color: rgba(255, 255, 255, .82); }
.az-dark h1, .az-dark h2, .az-dark h3, .az-dark .az-title { color: var(--white); }
.az-sand { background: var(--sand); }
.az-foam { background: var(--foam); }
.az-center { text-align: center; }
.az-small { font-size: .86rem; color: var(--muted); }
.az-dark .az-small { color: rgba(255, 255, 255, .6); }
.az-narrow { max-width: 820px; }

.az-title { font-size: clamp(1.85rem, 3.4vw, 3rem); font-weight: 300; font-stretch: 118%; color: var(--ink); }
.az-title span { display: block; font-family: var(--f-text); font-stretch: 100%; font-size: .4em; font-weight: 600; letter-spacing: .04em; color: var(--gold-d); margin-top: .7em; }
.az-dark .az-title span { color: var(--gold); }
.az-title-sm { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; color: var(--ink); }
.az-dark .az-title-sm, .az-lead .az-title-sm { color: var(--white); }
.az-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.az-head .az-title { margin-bottom: .35em; }
.az-sub { font-size: 1.08rem; color: var(--muted); }
.az-dark .az-sub { color: rgba(255, 255, 255, .7); }
.az-lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--ink); }
.az-dark .az-lede { color: var(--white); }
.az-lede-xl { font-family: var(--f-display); font-stretch: 108%; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; }
.az-sub-h { font-family: var(--f-text); font-stretch: 100%; font-size: 1rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-d); }
.az-display { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 300; font-stretch: 120%; color: var(--ink); line-height: 1.06; }

.wp-block-columns { display: flex; gap: clamp(28px, 5vw, 80px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; }
}
.az-split-cols { align-items: center; }
.az-intro-cols { align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }

/* Imaginile cu reveal: o singura miscare, la intrarea in ecran. */
.az-reveal img { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease); }
.js .az-reveal:not(.is-in) img { clip-path: inset(18% 0 0 0); transform: scale(1.06); }
.az-split-img img, .az-intro-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.wp-block-image { margin: 0; }
.wp-block-image img { border-radius: var(--r); }

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

.az-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.az-hero-bg { position: absolute !important; inset: 0; margin: 0; z-index: -2; }
.az-hero-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.az-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(10, 25, 35, .86) 0%, rgba(10, 25, 35, .55) 48%, rgba(10, 25, 35, .2) 100%), linear-gradient(0deg, rgba(10, 25, 35, .65) 0%, rgba(10, 25, 35, 0) 40%);
}
.az-hero-inner { position: relative; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: calc(var(--head-h) + 60px) var(--gut) clamp(56px, 8vw, 96px); }
.az-crumb { font-size: .84rem; font-weight: 600; letter-spacing: .05em; color: var(--gold-l); margin-bottom: 1.2em; }
.az-crumb a { color: inherit; text-decoration: none; }
.az-crumb span { opacity: .5; margin: 0 6px; }
.az-hero-title { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 300; font-stretch: 120%; line-height: 1.04; max-width: 15ch; margin-bottom: .45em; }
.az-hero-page .az-hero-title { max-width: 22ch; }
.az-hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 60ch; color: rgba(255, 255, 255, .86); }
.az-hero-kicker { font-size: .98rem; color: var(--gold-l); max-width: 52ch; }
.az-hero-page { min-height: min(72vh, 680px); display: flex; align-items: flex-end; }
.az-hero-page > .az-hero-inner { width: 100%; }

/* Hero cu slideshow, pe pagina principala.
   Linia orizontului: o linie aurie fixa, pe care stau titlurile si care arata progresul. */
.az-hero-home { height: 100svh; min-height: 640px; max-height: 1100px; }
.az-slides { position: absolute; inset: 0; }
.az-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; isolation: isolate; }
.az-slide.is-active { opacity: 1; visibility: visible; }
.az-slide::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10, 25, 35, .45) 0%, rgba(10, 25, 35, .15) 35%, rgba(10, 25, 35, .78) 100%);
}
.az-slide .az-hero-bg img { transform: scale(1.08); transition: transform 9s linear; }
.az-slide.is-active .az-hero-bg img { transform: scale(1); }
.az-slide-body {
	position: absolute;
	left: 0; right: 0; bottom: clamp(56px, 11vh, 120px);
	max-width: calc(var(--wrap) + 2 * var(--gut));
	margin: 0 auto;
	padding: 0 var(--gut);
}
.az-slide-place { font-size: .86rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-l); margin: 0 0 .9em; }
.az-slide-title {
	font-size: clamp(2.4rem, 7vw, 6.4rem);
	font-weight: 200;
	font-stretch: 125%;
	line-height: .98;
	letter-spacing: -.005em;
	max-width: 14ch;
	margin: 0;
	padding-bottom: clamp(20px, 3vw, 36px);
}
.az-slide-text { max-width: 54ch; margin: clamp(20px, 3vw, 32px) 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.az-slide .wp-block-buttons { margin-top: 24px; }
.az-slide.is-active .az-slide-title, .az-slide.is-active .az-slide-text, .az-slide.is-active .wp-block-buttons, .az-slide.is-active .az-slide-place {
	animation: azRise 1s var(--ease) both;
}
.az-slide.is-active .az-slide-title { animation-delay: .15s; }
.az-slide.is-active .az-slide-text { animation-delay: .35s; }
.az-slide.is-active .wp-block-buttons { animation-delay: .5s; }
@keyframes azRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.az-horizon {
	position: absolute;
	left: 0; right: 0;
	z-index: 3;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 0;
	pointer-events: none;
}
.az-horizon button {
	pointer-events: auto;
	position: relative;
	height: 30px;
	border: 0;
	padding: 0;
	background: none;
	color: rgba(255, 255, 255, .62);
	text-align: left;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
}
.az-horizon button::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: rgba(255, 255, 255, .28); }
.az-horizon button i { position: absolute; left: 0; top: 14px; height: 1px; width: 0; background: var(--gold); display: block; }
.az-horizon button.is-active i { animation: azFill var(--dur, 7s) linear forwards; }
.az-horizon button.is-done i { width: 100%; }
.az-horizon button span { position: absolute; top: 22px; left: 0; right: 14px; white-space: nowrap; transition: color .3s; }
.az-horizon button.is-active span, .az-horizon button:hover span { color: var(--white); }
@keyframes azFill { to { width: 100%; } }
/* Cu 5 proiecte, numele lungi trec pe doua randuri pe tableta in loc sa se suprapuna. */
@media (max-width: 1100px) {
	.az-horizon button span { white-space: normal; line-height: 1.3; }
}
@media (max-width: 700px) {
	.az-horizon button span { display: none; }
}

/* Hero de proiect: text in stanga, formular in dreapta. */
.az-hero-project { min-height: 100svh; display: flex; align-items: center; }
.az-hero-project > .az-hero-inner { width: 100%; }
.az-hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.az-project-logo img { max-height: 64px; width: auto; border-radius: 0; margin-bottom: 28px; }
.az-hero-project .az-hero-title { font-size: clamp(2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.az-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line-l); padding-top: 22px; }
.az-facts li { display: flex; gap: 12px; align-items: baseline; font-size: .96rem; color: rgba(255, 255, 255, .86); }
.az-facts li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--gold); transform: translateY(-4px); }
.az-hero-form .az-form { box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.az-bgvideo { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.4s; }
.az-bgvideo.is-on { opacity: 1; }
.az-bgvideo iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
@media (max-width: 960px) {
	.az-hero-split { grid-template-columns: 1fr; }
	.az-hero-project { min-height: 0; }
	.az-hero-form { margin-bottom: 8px; }
}
@media (max-width: 700px) {
	.az-bgvideo { display: none; }
}

.az-hero-finance { min-height: 0; }
.az-checks-light li { color: rgba(255, 255, 255, .9); }

/* Antet simplu (pagini legale, blog). */
.az-pagehead { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.az-pagehead-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.az-pagehead.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 25, 35, .9), rgba(10, 25, 35, .3)); }
.az-pagehead-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gut) clamp(40px, 6vw, 72px); }
.az-pagehead.has-img .az-pagehead-in { padding-top: clamp(120px, 18vw, 220px); }
.az-pagehead-title { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 300; font-stretch: 118%; max-width: 24ch; margin: 0; }
.az-pagehead-lead { margin: 18px 0 0; color: rgba(255, 255, 255, .78); max-width: 62ch; }

/* ---------------- Navigatia din pagina de proiect ---------------- */

.az-subnav {
	position: sticky;
	top: var(--head-h-s);
	z-index: 40;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 max(var(--gut), calc((100% - var(--wrap)) / 2));
}
.admin-bar .az-subnav { top: calc(var(--head-h-s) + 32px); }
.az-subnav-links {
	margin: 0;
	flex: 1;
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	margin-left: -14px;
}
.az-subnav-links::-webkit-scrollbar { display: none; }
.az-subnav-links a {
	flex: none;
	padding: 18px 14px;
	font-size: .86rem;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.az-subnav-links a:hover { color: var(--ink); }
.az-subnav-links a.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.az-subnav .wp-block-buttons { margin: 0; flex: none; }
.az-subnav .wp-block-button__link { min-height: 40px; padding: 9px 18px; font-size: .86rem; }
@media (max-width: 700px) {
	.az-subnav .wp-block-buttons { display: none; }
	.az-subnav { padding: 0; }
}

/* ---------------- Intro si avantaje ---------------- */

.az-adv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.az-adv li { display: flex; gap: 18px; align-items: center; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); line-height: 1.4; }
.az-adv li:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
	.az-adv { grid-template-columns: 1fr 1fr; }
	.az-adv li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
	.az-adv li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.az-adv { grid-template-columns: 1fr; }
	.az-adv li:nth-child(2n) { padding-left: 0; border-left: 0; }
}
.az-li-ico {
	flex: none;
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border: 1px solid rgba(201, 160, 98, .5);
	border-radius: 50%;
	color: var(--gold-d);
}
.az-dark .az-li-ico { color: var(--gold); }
.az-li-ico .az-ico { width: 22px; height: 22px; }

/* ---------------- Cifre ---------------- */

.az-statsband { padding: clamp(56px, 7vw, 96px) 0; }
.az-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.az-stats-3 { grid-template-columns: repeat(3, 1fr); }
.az-stats-2 { grid-template-columns: repeat(2, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.az-stat { padding: 8px clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-l); }
.az-stat:first-child { border-left: 0; padding-left: 0; }
.az-stats-2 .az-stat { border-left-color: var(--line); padding-top: 36px; }
.az-stat p { margin: 0; }
.az-stat-pre { font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.az-stats-2 .az-stat-pre { color: var(--gold-d); }
.az-count {
	font-family: var(--f-display);
	font-stretch: 125%;
	font-weight: 200;
	font-size: clamp(2.8rem, 6vw, 5.2rem);
	line-height: 1;
	color: var(--white);
	margin: 10px 0 14px !important;
	font-variant-numeric: tabular-nums;
}
.az-stats-2 .az-count { color: var(--ink); }
.az-stat-label { font-size: .95rem; max-width: 24ch; }
@media (max-width: 860px) {
	.az-stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.az-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.az-stats-3 .az-stat:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* ---------------- Proiecte (randuri cu galerie) ---------------- */

.az-projects-tight { padding-top: 0; }
.az-project {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding: clamp(32px, 4vw, 56px) 0;
	border-top: 1px solid var(--line);
}
.az-head + .az-project { border-top: 0; padding-top: 0; }
.az-project-flip { grid-template-columns: 1fr 1.25fr; }
.az-project-flip > .az-strip { order: 2; }
.az-project-name { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; font-stretch: 118%; color: var(--ink); margin-bottom: .3em; }
.az-dark .az-project-name { color: var(--white); }
.az-project-status { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--gold-d); border: 1px solid rgba(201, 160, 98, .55); padding: 5px 12px; border-radius: 99px; margin-bottom: 1.2em; }
.az-project-sold .az-project-status { color: var(--muted); border-color: var(--line); }
.az-project-sold .az-strip img { filter: saturate(.4); }
.az-project-body > p:not(.az-project-status) { color: var(--muted); }
.az-project-body > p strong { color: var(--ink); }
@media (max-width: 960px) {
	.az-project, .az-project-flip { grid-template-columns: 1fr; }
	.az-project-flip > .az-strip { order: 0; }
}

/* Banda de imagini derulabila (galerie de proiect). */
.wp-block-gallery.has-nested-images.az-strip {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	position: relative;
	border-radius: var(--r);
}
.wp-block-gallery.has-nested-images.az-strip::-webkit-scrollbar { display: none; }
.wp-block-gallery.has-nested-images.az-strip figure.wp-block-image:not(#x) { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.wp-block-gallery.has-nested-images.az-strip figure.wp-block-image:not(#x) img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
/* Poza Odyssey cu badge-ul Romanian Property Awards sus: decupam de jos, ca badge-ul sa ramana intreg. */
img[src*="Design-fara-titlu-9"] { object-position: 50% 0; }
.az-strip-wrap { position: relative; min-width: 0; }
.az-strip-nav { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 2; }
.az-strip-nav button {
	width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: rgba(255, 255, 255, .92); color: var(--ink);
	display: grid; place-items: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.az-strip-nav button:hover { background: var(--gold); }
.az-strip-count { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(15, 36, 49, .75); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-radius: 99px; }
.wp-block-gallery.has-nested-images.az-strip-sm figure.wp-block-image:not(#x) { flex-basis: 70%; }

/* Logo-uri proiecte, in miscare continua. */
.az-logos-band { padding: 40px 0; overflow: hidden; }
.wp-block-gallery.has-nested-images.az-logos { display: flex; flex-wrap: nowrap; gap: 72px; align-items: center; width: max-content; margin: 0; animation: azMarquee 40s linear infinite; }
.wp-block-gallery.has-nested-images.az-logos figure.wp-block-image:not(#x) { flex: none; width: auto; margin: 0; }
.wp-block-gallery.has-nested-images.az-logos figure.wp-block-image:not(#x) img { height: 56px; width: auto; max-width: none !important; opacity: .7; object-fit: contain; border-radius: 0; }
.az-logos-band:hover .az-logos { animation-play-state: paused; }
@keyframes azMarquee { to { transform: translateX(-50%); } }

/* ---------------- Testimoniale ---------------- */

.az-testimonials .az-title { margin-bottom: 1.2em; }
.az-quotes { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.az-quote {
	flex: 0 0 min(560px, 86%);
	scroll-snap-align: start;
	background: var(--foam);
	border-radius: var(--r);
	padding: clamp(28px, 4vw, 44px);
	position: relative;
	font-size: .98rem;
	color: var(--muted);
}
.az-quote::before {
	content: "„";
	display: block;
	font-family: Georgia, serif;
	font-size: 4.4rem;
	line-height: .6;
	color: var(--gold);
	margin-bottom: 14px;
}
.az-quote-by { margin: 22px 0 0 !important; color: var(--ink); }
.az-quote-by strong { font-weight: 600; }
.az-quote-by span { display: block; font-size: .86rem; color: var(--muted); }

/* ---------------- Video ---------------- */

.az-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .az-video-grid { grid-template-columns: 1fr; } }
.az-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--r); overflow: hidden; }
.az-video-btn { position: absolute; inset: 0; border: 0; padding: 0; background: none; width: 100%; }
.az-video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.az-video-btn:hover img { opacity: 1; transform: scale(1.03); }
.az-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.az-video-play .az-ico { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.az-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Sectiunea de formular ---------------- */

.az-lead { background: var(--ink); color: rgba(255, 255, 255, .8); }
.az-lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.az-lead .az-title { color: var(--white); }
.az-lead-sub { font-size: 1.1rem; color: rgba(255, 255, 255, .78); }
.az-lead-points { margin-top: 28px; }
@media (max-width: 900px) { .az-lead-grid { grid-template-columns: 1fr; } }

.az-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.az-quick-a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-l); border-radius: var(--r); color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; }
.az-quick-a:hover { border-color: var(--gold); color: var(--white); }
.az-quick-a .az-ico { color: var(--gold); }
.az-side-card .az-quick-a, .az-drawer .az-quick-a, .az-foam .az-quick-a { color: var(--ink); border-color: var(--line); }

/* Liste cu bife. */
.az-checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.az-checks li { display: flex; gap: 14px; align-items: flex-start; }
.az-checks .az-li-ico { width: 26px; height: 26px; border: 0; background: rgba(201, 160, 98, .16); color: var(--gold-d); margin-top: 1px; }
.az-dark .az-checks .az-li-ico, .az-lead .az-checks .az-li-ico, .az-hero .az-checks .az-li-ico { color: var(--gold); background: rgba(201, 160, 98, .18); }
.az-checks .az-li-ico .az-ico { width: 15px; height: 15px; stroke-width: 2; }
.az-checks-lg li { padding: 18px 0; border-bottom: 1px solid var(--line); }

/* ---------------- Formular ---------------- */

.az-form {
	background: var(--white);
	color: var(--text);
	border-radius: 6px;
	padding: clamp(24px, 3.4vw, 40px);
	position: relative;
}
.az-form-title { font-family: var(--f-display); font-stretch: 115%; font-size: 1.6rem; font-weight: 400; color: var(--ink); margin: 0 0 4px; line-height: 1.15; }
.az-form-promise { font-size: .9rem; color: var(--muted); margin: 0 0 22px; }
.az-form.is-compact { padding: clamp(22px, 2.6vw, 32px); }
.az-form.is-compact .az-form-title { font-size: 1.4rem; }
.az-chips { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.az-chips legend { font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; width: 100%; }
.az-chip { position: relative; }
.az-chip input { position: absolute; opacity: 0; inset: 0; }
.az-chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 500; cursor: pointer; transition: all .2s; background: var(--white); }
.az-chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.az-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.az-chip:hover span { border-color: var(--ink); }
.az-field { margin-bottom: 14px; }
.az-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .az-field-row { grid-template-columns: 1fr; gap: 0; } }
.az-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.az-field label span { font-weight: 400; color: var(--muted); }
.az-field input, .az-field select, .az-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #C9D1D5;
	border-radius: var(--r);
	background: var(--white);
	font: inherit;
	font-size: 1rem;
	color: var(--text);
	transition: border-color .2s, box-shadow .2s;
}
.az-field textarea { min-height: 96px; resize: vertical; }
.az-field input:focus, .az-field select:focus, .az-field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 160, 98, .35); }
.az-field.has-err input, .az-field.has-err select, .az-check.has-err span::before { border-color: var(--err); }
.az-err { display: block; font-size: .8rem; color: var(--err); margin-top: 5px; }
.az-check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.5; color: var(--muted); margin: 10px 0; cursor: pointer; }
.az-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.az-check a { color: var(--ink); }
.az-submit {
	width: 100%;
	display: flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px;
	margin-top: 16px;
	border: 0;
	border-radius: var(--r);
	background: var(--gold);
	color: var(--ink);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .02em;
	transition: background .2s, transform .2s;
}
.az-submit:hover { background: var(--gold-l); }
.az-submit .az-ico { transition: transform .3s var(--ease); }
.az-submit:hover .az-ico { transform: translateX(4px); }
.az-form.is-sending .az-submit { opacity: .7; pointer-events: none; }
.az-form.is-sending .az-submit span::after { content: "…"; }
.az-form-msg { font-size: .86rem; margin: 10px 0 0; color: var(--err); min-height: 1em; }
.az-form-done { text-align: center; padding: 20px 0; }
.az-done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: var(--white); margin-bottom: 16px; }
.az-done-ico .az-ico { width: 30px; height: 30px; stroke-width: 2; }
.az-done-title { font-family: var(--f-display); font-stretch: 112%; font-size: 1.4rem; color: var(--ink); }
.az-file input { padding: 10px; }

/* ---------------- Apartamente ---------------- */

.az-unit-list { display: grid; gap: 24px; }
.az-unit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	background: var(--white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 0 var(--line);
}
.az-unit-img { margin: 0; height: 100%; }
.az-unit-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 0; }
.az-unit-body { padding: clamp(24px, 3.4vw, 48px); }
.az-unit-name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; font-stretch: 118%; color: var(--ink); margin-bottom: .4em; }
.az-price { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: .3em; }
.az-price-note { font-size: .82rem; color: var(--muted); }
.az-specs { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.az-specs li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--text); }
.az-specs .az-li-ico { width: 34px; height: 34px; }
.az-specs .az-li-ico .az-ico { width: 18px; height: 18px; }
.az-specs li:nth-child(-n + 2) { font-weight: 600; }
.az-unit-desc { font-size: .94rem; color: var(--muted); }
.az-badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; padding: 6px 12px; border-radius: 99px; background: var(--gold); color: var(--ink); }
.az-badge-sold { background: var(--ink); color: var(--white); }
.az-unit.is-sold .az-unit-img img { filter: grayscale(.85); opacity: .75; }
.az-unit.is-sold .az-unit-name { color: var(--muted); }
@media (max-width: 860px) {
	.az-unit { grid-template-columns: 1fr; }
	.az-unit-img img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 340px) { .az-specs { grid-template-columns: 1fr; } }

/* Detalii expandabile. */
.wp-block-details.az-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0; }
.wp-block-details.az-more summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: .92rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details.az-more summary::after, .az-faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-d); transition: transform .3s var(--ease); }
.wp-block-details[open] > summary::after { transform: rotate(45deg); }
.wp-block-details.az-more[open] { padding-bottom: 10px; }
.wp-block-details.az-more .az-checks { font-size: .9rem; gap: 8px; }

/* ---------------- Plata ---------------- */

.az-pay-cols { align-items: start; }
.az-pay-list li { padding: 18px 0; border-bottom: 1px solid var(--line-l); font-size: 1.04rem; color: var(--white); }
.az-pay-opt { padding: 22px 0; border-bottom: 1px solid var(--line-l); }
.az-pay-opt:first-child { padding-top: 0; }
.az-pay-opt h3 { font-size: 1.25rem; font-weight: 400; color: var(--white); margin-bottom: .6em; }
.az-pay-opt .az-checks { margin: 0; }

/* ---------------- Facilitati ---------------- */

.az-facility-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.az-facility-grid li { display: flex; flex-direction: column; gap: 14px; padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink); line-height: 1.4; }
@media (max-width: 1000px) { .az-facility-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .az-facility-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .az-facility-grid { grid-template-columns: 1fr; } .az-facility-grid li { flex-direction: row; align-items: center; } }

/* Carduri de facilitate cu titlu si text. */
.az-features { display: grid; gap: clamp(24px, 3vw, 40px); }
.az-features-2 { grid-template-columns: repeat(2, 1fr); }
.az-features-3 { grid-template-columns: repeat(3, 1fr); }
.az-features-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .az-features-3, .az-features-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .az-features-2, .az-features-3, .az-features-4 { grid-template-columns: 1fr; } }
.az-feature { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.az-dark .az-feature { border-top-color: var(--line-l); }
.az-feature-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 160, 98, .5); color: var(--gold-d); margin-bottom: 18px; }
.az-dark .az-feature-ico { color: var(--gold); }
.az-feature-ico .az-ico { width: 22px; height: 22px; }
.az-feature-title { font-size: 1.2rem; font-weight: 500; font-stretch: 108%; color: var(--ink); margin-bottom: .5em; line-height: 1.25; }
.az-dark .az-feature-title { color: var(--white); }
.az-feature p { font-size: .95rem; color: var(--muted); margin: 0; }
.az-dark .az-feature p { color: rgba(255, 255, 255, .72); }
.wp-block-column > .az-feature + .az-feature { margin-top: 28px; }

/* ---------------- Stadiul lucrarilor ---------------- */

.wp-block-gallery.has-nested-images.az-timeline {
	display: flex;
	flex-wrap: nowrap;
	gap: 18px;
	margin: 0 calc(-1 * var(--gut));
	padding: 0 var(--gut) 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--gold) transparent;
	position: relative;
}
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x) { flex: 0 0 min(340px, 78%); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column-reverse; position: relative; }
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x) img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x) figcaption {
	position: static; background: none; color: var(--ink); text-align: left; padding: 0 0 16px; margin: 0;
	font-family: var(--f-display); font-stretch: 115%; font-size: 1.15rem; font-weight: 400;
	border-bottom: 1px solid var(--gold); margin-bottom: 14px;
	max-height: none; overflow: visible;
}
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x) figcaption::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 10px; transform: translateY(-2px); }
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x) a::after, .wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x)::before { display: none; }

.az-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .az-steps { grid-template-columns: 1fr; } }
.az-step { background: var(--white); border-radius: 6px; overflow: hidden; }
.az-step-img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: 0; }
.az-step-date { font-size: 1.3rem; font-weight: 400; color: var(--ink); padding: 22px 26px 0; margin-bottom: .4em; }
.az-step p { padding: 0 26px 26px; margin: 0; color: var(--muted); }

/* ---------------- Galerie cu tab-uri ---------------- */

.az-gtab-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.az-gtab-bar button { padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 600; color: var(--muted); }
.az-gtab-bar button span { font-weight: 400; margin-left: 4px; }
.az-gtab-bar button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.js .az-gtab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .az-gtab[hidden] { display: none; }
.wp-block-gallery.has-nested-images.az-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.wp-block-gallery.has-nested-images.az-grid figure.wp-block-image:not(#x) { margin: 0; width: auto !important; }
.wp-block-gallery.has-nested-images.az-grid figure.wp-block-image:not(#x):nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.wp-block-gallery.has-nested-images.az-grid figure.wp-block-image:not(#x) img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: transform .6s var(--ease), opacity .3s; }
.wp-block-gallery.has-nested-images.az-grid figure.wp-block-image:not(#x) a { display: block; overflow: hidden; height: 100%; border-radius: 2px; }
.wp-block-gallery.has-nested-images.az-grid figure.wp-block-image:not(#x) a:hover img { transform: scale(1.04); }
.js .wp-block-gallery.has-nested-images.az-grid.is-capped figure.wp-block-image:not(#x):nth-child(n + 13) { display: none; }
.az-more-btn { margin-top: 20px; }
@media (max-width: 760px) {
	.wp-block-gallery.has-nested-images.az-grid { grid-template-columns: repeat(2, 1fr); }
	.js .wp-block-gallery.has-nested-images.az-grid.is-capped figure.wp-block-image:not(#x):nth-child(n + 9) { display: none; }
}

/* ---------------- Contact proiect, harta ---------------- */

.az-contact-cols { align-items: center; }
.az-contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; font-size: 1.05rem; }
.az-contact-list li { padding-left: 34px; position: relative; color: var(--ink); }
.az-contact-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 20px; height: 1px; background: var(--gold); }
.az-contact-list a { text-decoration: none; font-weight: 600; }
.az-map { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E"); }
.az-map-btn { position: absolute; inset: 0; width: 100%; border: 0; background: none; color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; }
.az-map-btn .az-ico { width: 40px; height: 40px; color: var(--gold); }
.az-map-btn span { font-weight: 600; font-size: 1.05rem; }
.az-map-btn small { color: rgba(255, 255, 255, .6); }
.az-map-link { position: absolute; left: 12px; bottom: 12px; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.az-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------- Disclaimer ---------------- */

.az-disclaimer { padding: 40px 0; background: var(--foam); border-top: 1px solid var(--line); }
.az-disclaimer p { font-size: .78rem; line-height: 1.6; color: var(--muted); max-width: 980px; margin-bottom: .6em; }

/* ---------------- Citadine ---------------- */

.az-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .az-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .az-cards { grid-template-columns: 1fr; } }
.az-card { background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.az-card-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 0; }
.az-card-title { font-size: 1.25rem; font-weight: 400; font-stretch: 110%; color: var(--ink); padding: 24px 24px 0; margin-bottom: .5em; }
.az-card p { padding: 0 24px; font-size: .93rem; color: var(--muted); }
.az-card p:last-child { padding-bottom: 24px; }
.js .az-card p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.js .az-card.is-open p { display: block; }
.az-card-more { margin: 0 24px 24px; align-self: flex-start; border: 0; background: none; padding: 0; color: var(--gold-d); font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; }

.az-ctypes { display: grid; gap: clamp(40px, 6vw, 80px); }
.az-ctype { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.az-ctype:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.az-ctype:nth-child(even) > .az-strip-wrap, .az-ctype:nth-child(even) > .az-ctype-imgs { order: 2; }
.az-ctype-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 300; font-stretch: 118%; color: var(--ink); }
.az-ctype-body p { color: var(--muted); }
@media (max-width: 900px) {
	.az-ctype, .az-ctype:nth-child(even) { grid-template-columns: 1fr; }
	.az-ctype:nth-child(even) > .az-strip-wrap, .az-ctype:nth-child(even) > .az-ctype-imgs { order: 0; }
}
.wp-block-gallery.has-nested-images.az-ctype-imgs { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0; }
.wp-block-gallery.has-nested-images.az-ctype-imgs::-webkit-scrollbar { display: none; }
.wp-block-gallery.has-nested-images.az-ctype-imgs figure.wp-block-image:not(#x) { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.wp-block-gallery.has-nested-images.az-ctype-imgs figure.wp-block-image:not(#x) img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------------- Proiecte (pagina hub) ---------------- */

.az-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.az-tile { position: relative; background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.az-tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.az-tile-img { margin: 0; overflow: hidden; }
.az-tile-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; transition: transform 1.2s var(--ease); }
.az-tile-wide .az-tile-img img { height: 100%; aspect-ratio: auto; min-height: 380px; }
.az-tile:hover .az-tile-img img { transform: scale(1.03); }
.az-tile-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.az-tile-body .wp-block-buttons { margin-top: auto; padding-top: 12px; }
.az-tile-status { font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--gold-d); margin-bottom: .6em; }
.az-tile-name { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 300; font-stretch: 118%; color: var(--ink); }
.az-tile-body > p:not(.az-tile-status) { font-size: .95rem; color: var(--muted); }
.az-tile-sold .az-tile-img img { filter: grayscale(.8); }
.az-sub-link a { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
	.az-tiles { grid-template-columns: 1fr; }
	.az-tile-wide { grid-template-columns: 1fr; }
	.az-tile-wide .az-tile-img img { min-height: 0; aspect-ratio: 16 / 10; }
}

.az-faq-cols { align-items: start; }
.az-faq-item { border-bottom: 1px solid var(--line); }
.az-faq-item:first-child { border-top: 1px solid var(--line); }
.az-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.az-faq-item p { color: var(--muted); padding-bottom: 12px; margin: 0; max-width: 64ch; }

/* ---------------- Companie / echipa ---------------- */

.az-mv-cols p { font-size: 1.05rem; }
.az-years { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.az-years::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--gold); }
.az-year { position: relative; }
.az-year-num { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 2.2rem; color: var(--ink); background: var(--sand); display: inline-block; padding-right: 14px; position: relative; margin-bottom: 18px !important; line-height: 1.2; }
.az-year-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 16px; }
.az-year p:last-child { font-size: .9rem; color: var(--muted); }
@media (max-width: 1100px) {
	.az-years { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(300px, 80%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
	.az-year { scroll-snap-align: start; }
}

.az-people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .az-people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .az-people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .az-people { grid-template-columns: 1fr; } }
.az-person-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(.25); transition: filter .4s; }
.az-person:hover .az-person-img img { filter: none; }
.az-person-name { font-size: 1.2rem; font-weight: 400; color: var(--ink); margin: 18px 0 .2em; }
.az-person-role { font-size: .86rem; color: var(--gold-d); font-weight: 600; margin-bottom: 0; }
.az-person .az-more p { font-size: .9rem; color: var(--muted); }

.az-elite-img img { max-width: 420px; margin: 0 auto; border-radius: 0; }
.az-steps-list { padding-left: 1.2em; display: grid; gap: 16px; }
.az-steps-list li::marker { color: var(--gold); font-weight: 700; }

/* ---------------- Finantare ---------------- */

.az-callout a { display: inline-block; font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration-color: var(--gold); }
.az-stack { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.az-stack figure.wp-block-image:not(#x):first-child { grid-column: 1 / -1; }
.wp-block-gallery.az-stack figure.wp-block-image:not(#x) img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.az-rate-hero { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); margin-bottom: 40px; flex-wrap: wrap; }
.az-rate-big { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: clamp(5rem, 14vw, 10rem); line-height: .9; color: var(--gold); margin: 0; }
.az-rate-big-label { font-size: 1.1rem; color: var(--white); max-width: 32ch; margin: 0; }
.az-rate-big-label s { opacity: .55; }
.az-rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .az-rate-grid { grid-template-columns: 1fr; } }
.az-rate { border: 1px solid var(--line-l); border-radius: 6px; padding: 28px; }
.az-rate:last-child { border-color: var(--gold); background: rgba(201, 160, 98, .06); }
.az-rate-title { font-family: var(--f-text); font-stretch: 100%; font-size: .9rem; font-weight: 700; letter-spacing: .04em; color: var(--gold); }
.az-rate-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-l); }
.az-rate-row p { margin: 0; font-size: .82rem; color: rgba(255, 255, 255, .7); }
.az-rate-row p strong { display: block; font-family: var(--f-display); font-stretch: 115%; font-size: 1.5rem; font-weight: 300; color: var(--white); margin-top: 4px; }
.az-rate-label { font-weight: 600; color: var(--white) !important; }
@media (max-width: 520px) { .az-rate-row { grid-template-columns: 1fr 1fr; } .az-rate-label { grid-column: 1 / -1; } }
.az-rate-fees { margin-top: 28px; font-weight: 600; color: var(--white); }

.az-quote-band .az-lede-xl { max-width: 30ch; }

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

.az-contact-main { padding-top: clamp(48px, 6vw, 80px); }
.az-office { margin-bottom: 32px; }
.az-office .az-contact-list li { color: var(--white); }

/* ---------------- Blog ---------------- */

.az-blog, .az-related { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); }
.az-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.az-cats a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--muted); }
.az-cats a.is-current, .az-cats a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.az-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .az-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .az-posts { grid-template-columns: 1fr; } }
.az-post-card-img { display: block; overflow: hidden; border-radius: var(--r); background: var(--sand); aspect-ratio: 4 / 3; }
.az-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.az-post-card:hover .az-post-card-img img { transform: scale(1.04); }
.az-post-meta { font-size: .8rem; color: var(--muted); margin: 18px 0 8px; display: flex; gap: 12px; }
.az-post-meta span { color: var(--gold-d); font-weight: 600; }
.az-post-card-title { font-size: 1.22rem; font-weight: 400; font-stretch: 108%; line-height: 1.3; }
.az-post-card-title a { text-decoration: none; color: var(--ink); }
.az-post-card-title a:hover { color: var(--gold-d); }
.az-post-card-ex { font-size: .92rem; color: var(--muted); }
.az-pager { margin-top: 48px; }
.az-pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.az-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.az-pager .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.az-empty { color: var(--muted); }
.az-related { border-top: 1px solid var(--line); }

/* Text lung: pagini legale si articole. */
.az-prose-wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); }
.az-article { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 6vw, 96px); justify-content: space-between; align-items: start; }
@media (max-width: 1000px) { .az-article { grid-template-columns: 1fr; } }
.az-prose { max-width: 760px; font-size: 1.05rem; }
.az-prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; color: var(--ink); margin-top: 1.8em; }
.az-prose h3 { font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-top: 1.6em; }
.az-prose h4, .az-prose h5, .az-prose h6 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.az-prose ul, .az-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.az-prose li { margin-bottom: .45em; }
.az-prose li::marker { color: var(--gold-d); }
.az-prose a { color: var(--ink); font-weight: 500; }
.az-prose .wp-block-image { margin: 2em 0; }
.az-prose .az-video { margin: 2em 0; }
.az-table { overflow-x: auto; margin: 1.6em 0; }
.az-table table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.az-table td, .az-table th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.az-blockquote { border-left: 2px solid var(--gold); padding-left: 20px; font-style: italic; }
.az-article-side { position: sticky; top: calc(var(--head-h-s) + 24px); display: grid; gap: 20px; }
.az-side-card { background: var(--ink); color: rgba(255, 255, 255, .8); border-radius: 6px; padding: 28px; }
.az-side-title { font-family: var(--f-display); font-stretch: 112%; font-size: 1.3rem; color: var(--white); line-height: 1.25; }
.az-side-card .az-btn { width: 100%; }
.az-side-card .az-quick { flex-direction: column; margin-top: 14px; }
.az-side-card .az-quick-a { color: var(--white); border-color: var(--line-l); }
.az-share { display: flex; align-items: center; gap: 10px; }
.az-share p { margin: 0 6px 0 0; font-size: .86rem; font-weight: 600; color: var(--muted); }
.az-share a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.az-share a:hover { border-color: var(--gold); color: var(--gold-d); }
.az-404 p { display: flex; gap: 12px; flex-wrap: wrap; }

/* Grile preluate din paginile vechi (ex. Aparitii media). */
.az-prose:has(.az-vcgrid) { max-width: var(--wrap); }
.az-vcgrid { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 32px; margin: 0 0 32px; }
.az-vcgrid-3 { --c: 3; }
.az-vcgrid-4 { --c: 4; }
@media (max-width: 1000px) { .az-vcgrid-3, .az-vcgrid-4 { --c: 2; } }
@media (max-width: 560px) { .az-vcgrid { --c: 1; } }
.az-vccol .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.az-vccol p { font-size: .95rem; margin: 14px 0 0; }
.az-vccol .wp-block-buttons { margin-top: 12px; }
.az-vccol .wp-block-button__link { min-height: 40px; padding: 8px 16px; font-size: .84rem; }
.az-prose .wp-block-gallery.has-nested-images.az-post-gallery { grid-template-columns: repeat(3, 1fr); }
.az-prose .wp-block-gallery.has-nested-images.az-post-gallery figure.wp-block-image:not(#x):nth-child(6n + 1) { grid-column: auto; grid-row: auto; }

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

.az-footer { background: #0B1C27; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.az-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.az-footer a:hover { color: var(--gold-l); }
.az-footer-top { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gut) 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .az-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .az-footer-top { grid-template-columns: 1fr; } }
.az-footer-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.az-footer-brand p { max-width: 30ch; }
.az-footer-h { color: var(--white); font-weight: 600; font-size: .86rem; letter-spacing: .05em; margin-bottom: 16px; }
.az-footer-h-sm { margin-top: 28px; }
.az-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.az-footer-contact li a, .az-footer-contact li span { display: inline-flex; gap: 10px; align-items: flex-start; }
.az-footer-contact .az-ico { color: var(--gold); margin-top: 2px; }
.az-social { display: flex; gap: 8px; margin-top: 22px; }
.az-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-l); border-radius: 50%; }
.az-social a:hover { border-color: var(--gold); }
.az-award { width: 140px; height: auto; }
.az-footer-legal { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut); border-top: 1px solid var(--line-l); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.az-footer-legal p { margin: 0; font-size: .84rem; }
.az-anpc { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.az-anpc img { height: 40px; width: auto; border-radius: 4px; }
.az-footer-bottom { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 20px var(--gut) 28px; border-top: 1px solid var(--line-l); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.az-footer-bottom p { margin: 0; }
.az-cookie-open { background: none; border: 0; color: rgba(255, 255, 255, .6); text-decoration: underline; padding: 0; font-size: .82rem; }

/* ---------------- Elemente globale ---------------- */

.az-mbar { display: none; }
@media (max-width: 860px) {
	.az-mbar {
		display: grid;
		grid-template-columns: 1fr 1fr 1.4fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 45;
		background: var(--ink);
		border-top: 1px solid var(--line-l);
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
		transform: translateY(110%);
		transition: transform .35s var(--ease);
	}
	.az-mbar.is-on { transform: none; }
	.az-mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r); color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; border: 1px solid var(--line-l); }
	.az-mbar a .az-ico { color: var(--gold); }
	.az-mbar a.is-main { background: var(--gold); color: var(--ink); border-color: var(--gold); }
	body { padding-bottom: 72px; }
}

.az-drawer { position: fixed; inset: 0; z-index: 100; }
.az-drawer[hidden] { display: none; }
.az-drawer-bg { position: absolute; inset: 0; background: rgba(8, 20, 28, .6); opacity: 0; transition: opacity .3s; }
.az-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(520px, 100%);
	background: var(--white);
	overflow-y: auto;
	padding: 56px clamp(20px, 4vw, 40px) 40px;
	transform: translateX(100%);
	transition: transform .4s var(--ease);
}
.az-drawer.is-open .az-drawer-bg { opacity: 1; }
.az-drawer.is-open .az-drawer-panel { transform: none; }
.az-drawer-title { font-family: var(--f-display); font-stretch: 118%; font-size: 2rem; font-weight: 300; color: var(--ink); margin: 0 0 6px; }
.az-drawer-sub { color: var(--muted); margin-bottom: 8px; }
.az-drawer .az-form { padding: 16px 0 0; }
.az-drawer-alt .az-quick { margin-top: 20px; }
.az-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: none; color: inherit; display: grid; place-items: center; border-radius: 50%; }
.az-x:hover { background: rgba(0, 0, 0, .06); }
.az-x .az-ico { width: 24px; height: 24px; }
body.is-locked { overflow: hidden; }

.az-popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(8, 20, 28, .65); padding: 20px; animation: azFade .3s; }
.az-popup[hidden] { display: none; }
.az-popup-card { position: relative; max-width: 760px; width: 100%; display: grid; grid-template-columns: 5fr 6fr; background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(8, 20, 28, .35); }
.az-popup-media { position: relative; min-height: 100%; background: var(--ink); }
.az-popup-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.az-popup-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 49, 0) 55%, rgba(15, 36, 49, .55)); }
.az-popup-body { padding: clamp(28px, 4vw, 44px); border-top: 3px solid var(--gold); }
.az-popup-kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 12px; font-weight: 600; }
.az-popup-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; color: var(--ink); margin: 0 0 14px; }
.az-popup-text { color: var(--muted); margin: 0 0 24px; }
.az-popup-link { display: block; margin-top: 16px; font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
	.az-popup-card { grid-template-columns: 1fr; max-width: 420px; }
	.az-popup-media { height: 170px; }
}
.az-popup .az-x { background: var(--white); color: var(--ink); top: 12px; right: 12px; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
@keyframes azFade { from { opacity: 0; } to { opacity: 1; } }

.az-lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(6, 16, 22, .96); display: grid; place-items: center; color: var(--white); }
.az-lightbox[hidden] { display: none; }
.az-lb-fig { margin: 0; max-width: 92vw; max-height: 86vh; text-align: center; }
.az-lb-fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 2px; }
.az-lb-fig figcaption { margin-top: 12px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.az-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-l); background: rgba(255, 255, 255, .06); color: var(--white); display: grid; place-items: center; }
.az-lb-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.az-lb-prev { left: 16px; }
.az-lb-next { right: 16px; }
.az-lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .82rem; color: rgba(255, 255, 255, .6); margin: 0; }
.az-lightbox .az-x { color: var(--white); }
.az-lightbox .az-x:hover { background: rgba(255, 255, 255, .1); }

.az-cookie {
	position: fixed;
	left: 16px; bottom: 16px;
	z-index: 95;
	width: min(440px, calc(100% - 32px));
	background: var(--ink);
	color: rgba(255, 255, 255, .8);
	border: 1px solid var(--line-l);
	border-radius: 6px;
	padding: 22px;
	font-size: .86rem;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.az-cookie[hidden] { display: none; }
.az-cookie-title { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.az-cookie a { color: var(--gold-l); }
.az-cookie-opts { display: grid; gap: 8px; margin: 12px 0; }
.az-cookie-opts label { display: flex; gap: 10px; align-items: center; }
.az-cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.az-cookie .az-btn { min-height: 42px; padding: 10px 16px; font-size: .86rem; }
@media (max-width: 860px) { .az-cookie { bottom: 84px; } }

/* Fara animatii pentru cine le-a dezactivat. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .az-reveal:not(.is-in) img { clip-path: none; transform: none; }
	.wp-block-gallery.has-nested-images.az-logos { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Margini implicite ale galeriilor din core, neutralizate. */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { background: none; }
.wp-block-gallery.has-nested-images.az-timeline figure.wp-block-image:not(#x):has(figcaption)::before { display: none; }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; }

/* Istoric: eticheta de lansare */
.az-year-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 4px !important; }
.az-years::before { top: 46px; }

/* Premii si distinctii */
.az-prize-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.az-prize { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.az-prize-year { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: 1.6rem; color: var(--gold-d); margin: 0 0 10px !important; line-height: 1.2; }
.az-prize p:last-child { margin: 0; color: var(--text); }

/* Nota de sub cifre estimate */
.az-note { font-size: .82rem; line-height: 1.5; color: var(--muted); max-width: 820px; margin: 24px 0 0 !important; }
.az-dark .az-note { color: rgba(255, 255, 255, .62); }

/* ---------------- Casete AI Ready: „Pe scurt”, cuprins, intrebari, tabel ---------------- */
.az-ai { padding-bottom: calc(var(--sec) * .5); }
.az-ai-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .az-ai-grid { grid-template-columns: 1fr; } }
.az-ai-box { background: var(--sand); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 30px 34px; }
@media (max-width: 640px) { .az-ai-box { padding: 24px 20px; } }
.az-ai-box p { margin: 0 0 .8em; }
.az-ai-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--gold-d); }
.az-ai-title { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0 0 .7em; }
.az-ai-label { margin-bottom: .5em !important; }
.az-ai-benefits { margin-bottom: 1.1em; }
.az-ai-verdict { margin-bottom: 0 !important; padding-top: .8em; border-top: 1px solid rgba(15, 36, 49, .12); color: var(--ink); }
.az-toc { position: sticky; top: calc(var(--head-h-s) + 24px); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--white); }
@media (max-width: 900px) { .az-toc { position: static; } }
.az-toc-title { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--muted); margin: 0 0 .6em; }
.az-toc-list { list-style: none; padding: 0; margin: 0; }
.az-toc-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.az-toc-list a { color: var(--ink); text-decoration: none; }
.az-toc-list a:hover { color: var(--gold-d); }
.az-qa { padding-top: calc(var(--sec) * .5); }
.az-qa-body { max-width: 820px; }
.az-ai-q { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 1.7em 0 .5em; }
.az-qa-body > .az-ai-q:first-child { margin-top: 0; }
.az-qa-body p a, .az-ai-box a, .az-faq-ai .az-faq-item a, .az-ai-table a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; }
.az-ai-table th[scope="row"] { font-weight: 600; color: var(--ink); }
.az-ai-table thead th { background: var(--foam); }
.az-ai-cards .az-card .wp-block-buttons { padding: 0 24px 24px; margin-top: auto; }
.az-subnav ~ .az-ai .az-toc { top: calc(var(--head-h-s) + 84px); }

/* QA mobil: poza Elite nu mai lateste pagina, butoane mai usor de atins, etichete lizibile, tabele stivuite. */
.az-elite-img img { width: 100%; height: auto; }
.az-card-more, .az-map-link { min-height: 44px; display: inline-flex; align-items: center; }
.az-ai-kicker, .az-toc-title { font-size: .8rem; }
@media (max-width: 640px) {
	.az-ai-table table, .az-ai-table tbody, .az-ai-table tr, .az-ai-table th, .az-ai-table td { display: block; width: 100%; }
	.az-ai-table thead { display: none; }
	.az-ai-table tr { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
	.az-ai-table th[scope="row"] { background: var(--foam); border: 0; border-bottom: 1px solid var(--line); }
	.az-ai-table td { border: 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
	.az-ai-table td + td { border-top: 1px solid var(--line); }
	.az-ai-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
	.az-ai-table td[data-label=""]::before, .az-ai-table td:not([data-label])::before { content: none; }
}
@media (max-width: 640px) {
	.az-ai-table td.az-empty { display: none; }
	.az-ai-table td[data-label=""] { justify-content: flex-start; text-align: left; }
}

/* Pagina Apariții media */
.az-media-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 2em; }
@media (max-width: 640px) { .az-media-list { grid-template-columns: 1fr; } }
.az-media-item { background: var(--foam); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.az-media-title { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.45; }
.az-media-link { margin: 0; }
.az-media-link a { color: var(--gold-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
