/* =========================================================
   Tema „AURORA” (Dark Gold) – întunecată, luxoasă, cu efecte.
   Este baza pentru toate temele: celelalte (Emerald, Ocean, Bordeaux, Ivory)
   schimbă doar culorile, din fișierele lor din f/themes/.
   Folosește aceeași structură HTML (clasele x-) ca tema clasică.
   ========================================================= */

:root {
	--a-bg: #07080c;
	--a-bg-2: #0d0f16;
	--a-surface: rgba(var(--a-fg-rgb),  .04);
	--a-line: rgba(var(--a-fg-rgb),  .09);
	--a-text: #ecebe6;
	--a-muted: #8d8f9a;
	--a-gold: #e2c285;
	--a-gold-2: #f4dcaa;
	--a-teal: #5ee6d0;
	--a-violet: #8b7bff;
	--a-ok: #4ade9a;
	--a-err: #ff6b6b;
	--a-ease: cubic-bezier(.16, 1, .3, 1);
	--a-serif: 'Instrument Serif', 'Fraunces', Georgia, serif;
	--a-sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--a-gold-rgb: 226, 194, 133;
	--a-teal-rgb: 94, 230, 208;
	--a-violet-rgb: 139, 123, 255;
	--a-bg-rgb: 7, 8, 12;
	--a-panel-rgb: 13, 15, 22;
	--a-text-rgb: 236, 235, 230;
	--a-fg-rgb: 255, 255, 255;
	--a-grad: linear-gradient(110deg, var(--a-gold) 0%, var(--a-gold-2) 35%, var(--a-teal) 70%, var(--a-violet) 100%);

	/* culori pentru conținutul paginilor (content.css) */
	--c-bg: var(--a-bg);
	--c-surface: #0f1119;
	--c-surface-2: #151823;
	--c-text: #d9d8d2;
	--c-heading: #f1f0ea;
	--c-muted: var(--a-muted);
	--c-line: rgba(var(--a-fg-rgb),  .09);
	--c-accent: var(--a-gold);
	--c-accent-2: var(--a-gold-2);
	--c-accent-ink: #07080c;
	--c-dark: var(--a-bg);
	--c-input-bg: rgba(var(--a-fg-rgb),  .03);
	--c-input-line: rgba(var(--a-fg-rgb),  .14);
	--c-focus: rgba(var(--a-gold-rgb),  .18);
	--c-err: #ff6b6b;
	--c-ok: #4ade9a;
	--c-radius: 20px;
	--c-radius-lg: 28px;
	--c-shadow: inset 0 0 0 1px rgba(var(--a-fg-rgb),  .08), 0 40px 80px -40px rgba(0, 0, 0, .8);
	--c-ease: cubic-bezier(.16, 1, .3, 1);
	--c-serif: 'Instrument Serif', 'Fraunces', Georgia, serif;
	--c-sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--c-top: 96px;
	--c-head-h: 0px;
}

html { scroll-behavior: auto; }
body.x-body {
	margin: 0; background: var(--a-bg); color: var(--a-text);
	font-family: var(--a-sans); -webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
::selection { background: var(--a-gold); color: var(--a-bg); }

/* Granulație fină peste tot – dă aspect „de film” */
body.x-body::after {
	content: ""; position: fixed; top: -50%; right: -50%; bottom: -50%; left: -50%; z-index: 300; pointer-events: none; opacity: .06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: a-grain 1s steps(6) infinite;
}

.x-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.x-wrap--fixed { max-width: 1040px; }

/* ---------- Intro (cortină cu logo) ---------- */
.a-intro {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 500; background: var(--a-bg);
	display: grid; place-items: center;
	transition: clip-path 1.1s var(--a-ease) .1s;
	clip-path: inset(0 0 0 0);
}
.a-intro.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.a-intro__word { font-family: var(--a-serif); font-size: clamp(40px, 7vw, 96px); overflow: hidden; line-height: 1; }
.a-intro__word span { display: inline-block; transform: translateY(110%); animation: a-rise .9s var(--a-ease) forwards; }
.a-intro__word em { color: var(--a-gold); }
.a-intro__bar { position: absolute; left: 50%; bottom: 18%; width: 180px; height: 1px; margin-left: -90px; background: var(--a-line); overflow: hidden; }
.a-intro__bar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: var(--a-gold); transform-origin: left; animation: a-load .65s var(--a-ease) forwards; }

/* ---------- Bara de progres la scroll ---------- */
.a-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 400; background: var(--a-grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Cursor personalizat ---------- */
.a-cursor, .a-cursor-dot { position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none; border-radius: 50%; }
.a-cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(var(--a-gold-rgb),  .6); transition: width .4s var(--a-ease), height .4s var(--a-ease), margin .4s var(--a-ease), background .3s, border-color .3s; mix-blend-mode: difference; }
.a-cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--a-gold); }
.a-cursor.is-hover { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(var(--a-gold-rgb),  .95); border-color: transparent; }
.a-cursor.is-down { transform: scale(.8); }
@media (hover: none), (max-width: 960px) { .a-cursor, .a-cursor-dot { display: none; } }
.a-has-cursor, .a-has-cursor a, .a-has-cursor button { cursor: none; }

/* ---------- Butoane ---------- */
.x-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 17px 30px; border-radius: 999px; border: 0; cursor: pointer;
	font: 600 15px/1 var(--a-sans); letter-spacing: .01em; text-decoration: none;
	transition: color .5s var(--a-ease), box-shadow .5s var(--a-ease), border-color .4s;
	will-change: transform;
}
.x-btn > * { position: relative; z-index: 2; }
.x-btn span { display: inline-block; transition: transform .5s var(--a-ease); }
.x-btn:hover span { transform: translateX(5px) rotate(-45deg); }
/* umplere circulară care pornește din punctul cursorului */
.x-btn::before {
	content: ""; position: absolute; z-index: 1; left: var(--mx, 50%); top: var(--my, 50%);
	width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%);
	transition: width .7s var(--a-ease), height .7s var(--a-ease);
}
.x-btn:hover::before { width: 320%; height: 700%; }
/* luciu care trece peste buton */
.x-btn::after {
	content: ""; position: absolute; z-index: 3; top: 0; left: -80%; width: 50%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(var(--a-fg-rgb),  .45), transparent);
	transform: skewX(-20deg); animation: a-shine 4.5s 2.5s ease-in-out infinite; pointer-events: none;
}
.x-btn--gold { background: var(--a-gold); color: var(--a-bg); box-shadow: 0 0 0 0 rgba(var(--a-gold-rgb),  0); }
.x-btn--gold::before { background: #fff; }
.x-btn--gold:hover { box-shadow: 0 18px 50px -12px rgba(var(--a-gold-rgb),  .55); }
.x-btn--dark, .x-btn--ghost { background: transparent; color: var(--a-text); box-shadow: inset 0 0 0 1px rgba(var(--a-fg-rgb),  .22); }
.x-btn--dark::before, .x-btn--ghost::before { background: var(--a-gold); }
.x-btn--dark:hover, .x-btn--ghost:hover { color: var(--a-bg); box-shadow: inset 0 0 0 1px transparent; }
.x-btn--dark::after, .x-btn--ghost::after { display: none; }

/* Butoanele de vizionare din capul paginii de proprietate:
   se ridica putin la hover + umbra, ca butoanele din popup-ul de vizionare.
   flex-wrap: daca nu incap una langa alta, trec pe randul urmator (aliniate dreapta). */
.x-prop-price__actions { flex-wrap: wrap; }
.x-prop-price__actions .x-btn,
.x-prop-price__actions .x-iconbtn { transition: transform .45s var(--a-ease), box-shadow .5s var(--a-ease), color .4s var(--a-ease); }
.x-prop-price__actions .x-btn:hover,
.x-prop-price__actions .x-iconbtn:hover { transform: translateY(-3px); }
.x-prop-price__actions .x-btn--gold:hover { box-shadow: 0 20px 44px -14px rgba(var(--a-gold-rgb),  .60); }
.x-prop-price__actions .x-iconbtn:hover { box-shadow: inset 0 0 0 1px var(--a-gold), 0 12px 26px -12px rgba(var(--a-gold-rgb),  .5); }
.x-prop-price__actions .x-btn:active,
.x-prop-price__actions .x-iconbtn:active { transform: translateY(0); }

/* ---------- Header: capsulă de sticlă plutitoare ---------- */
.x-header {
	position: fixed; top: 18px; left: 0; right: 0; z-index: 100; pointer-events: none;
	transition: transform .7s var(--a-ease);
}
.x-header.is-hidden { transform: translateY(-140%); }
.x-header__inner {
	pointer-events: auto; position: relative;
	display: flex; align-items: center; justify-content: space-between;
	height: 72px; max-width: 1240px; margin: 0 auto; padding: 0 10px 0 28px !important;
	width: calc(100% - 36px);
	background: rgba(var(--a-panel-rgb),  .55); border-radius: 999px;
	-webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
	box-shadow: inset 0 0 0 1px var(--a-line), 0 30px 60px -30px rgba(0, 0, 0, .8);
	transition: height .5s var(--a-ease), background .4s;
}
.x-header.is-scrolled .x-header__inner { height: 62px; background: rgba(var(--a-panel-rgb),  .8); }
/* chenar animat cu gradient */
.x-header__inner::before {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--a-angle, 0deg), transparent 0 70%, var(--a-gold) 80%, var(--a-teal) 88%, transparent 96%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: a-spin-angle 6s linear infinite; opacity: .8;
}
@property --a-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.x-logo { display: flex; align-items: center; color: var(--a-text); text-decoration: none; font-family: var(--a-serif); font-size: 26px; letter-spacing: -.01em; }
.x-logo em { color: var(--a-gold); }
.x-logo img { display: block; max-height: 44px; width: auto; }

.x-nav { position: relative; display: flex; align-items: center; gap: 0; }
.a-nav-pill {
	position: absolute; top: 50%; left: 0; height: 40px; margin-top: -20px; border-radius: 999px; z-index: 0;
	background: rgba(var(--a-fg-rgb),  .08); box-shadow: inset 0 0 0 1px rgba(var(--a-fg-rgb),  .06);
	transition: transform .55s var(--a-ease), width .55s var(--a-ease), opacity .3s; opacity: 0; pointer-events: none;
}
.x-nav a {
	position: relative; z-index: 1; overflow: hidden;
	color: var(--a-muted); text-decoration: none; font-size: 14px; font-weight: 500;
	padding: 12px 18px; border-radius: 999px; transition: color .3s;
}
/* text care „se rostogolește” la hover */
.x-nav a .a-roll { display: block; overflow: hidden; }
.x-nav a .a-roll__in { display: block; position: relative; transition: transform .55s var(--a-ease); }
.x-nav a .a-roll__in::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--a-gold); }
.x-nav a:hover .a-roll__in { transform: translateY(-100%); }
.x-nav a:hover, .x-nav a.is-active { color: var(--a-text); }
.x-nav a.is-active::before { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--a-gold); box-shadow: 0 0 10px var(--a-gold); }
.x-nav a.x-nav__cta { margin-left: 10px; padding: 14px 24px; background: var(--a-gold); color: var(--a-bg); font-weight: 700; transition: box-shadow .4s var(--a-ease); }
.x-nav a.x-nav__cta .a-roll__in::after { color: var(--a-bg); }
.x-nav a.x-nav__cta:hover { box-shadow: 0 10px 30px -8px rgba(var(--a-gold-rgb),  .7); }
.x-nav a.x-nav__cta::before { display: none; }

.x-burger { display: none; position: relative; z-index: 120; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--a-gold); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.x-burger span { display: block; width: 20px; height: 2px; background: var(--a-bg); border-radius: 2px; transition: transform .5s var(--a-ease), opacity .3s; }
body.x-menu-open .x-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.x-menu-open .x-burger span:nth-child(2) { opacity: 0; }
body.x-menu-open .x-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.x-header { top: 12px; }
	.x-header__inner { height: 66px; padding: 0 7px 0 22px !important; width: calc(100% - 24px); -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(var(--a-panel-rgb),  .92); }
	body.x-menu-open .x-header__inner { background: transparent; box-shadow: none; }
	body.x-menu-open .x-header__inner::before { opacity: 0; }
	.x-burger { display: flex; }
	.a-nav-pill { display: none; }
	.x-nav {
		position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 110; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
		padding: 0 32px; background: var(--a-bg);
		clip-path: circle(0 at calc(100% - 50px) 45px); transition: clip-path .9s var(--a-ease);
	}
	body.x-menu-open .x-nav { clip-path: circle(150% at calc(100% - 50px) 45px); }
	.x-nav a { font-family: var(--a-serif); font-size: 46px; font-weight: 400; padding: 6px 0; color: var(--a-text); opacity: 0; transform: translateY(40px); transition: opacity .6s var(--a-ease), transform .8s var(--a-ease); }
	.x-nav a.is-active { color: var(--a-gold); }
	.x-nav a.is-active::before { display: none; }
	.x-nav a.x-nav__cta { margin: 26px 0 0; font-family: var(--a-sans); font-size: 16px; padding: 18px 30px; }
	body.x-menu-open { overflow: hidden; }
	body.x-menu-open .x-nav a { opacity: 1; transform: none; }
	body.x-menu-open .x-nav a:nth-of-type(1) { transition-delay: .25s; }
	body.x-menu-open .x-nav a:nth-of-type(2) { transition-delay: .31s; }
	body.x-menu-open .x-nav a:nth-of-type(3) { transition-delay: .37s; }
	body.x-menu-open .x-nav a:nth-of-type(4) { transition-delay: .43s; }
	body.x-menu-open .x-nav a:nth-of-type(5) { transition-delay: .49s; }
	body.x-menu-open .x-nav a:nth-of-type(6) { transition-delay: .55s; }
}

/* ---------- Notificări ---------- */
.x-toasts { position: fixed; top: 108px; right: 24px; z-index: 150; display: flex; flex-direction: column; gap: 12px; width: min(420px, calc(100vw - 32px)); }
.x-toast {
	position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 14px;
	padding: 18px 18px 20px 20px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; color: var(--a-text);
	background: rgba(var(--a-panel-rgb),  .75); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: inset 0 0 0 1px var(--a-line), 0 30px 60px -20px rgba(0, 0, 0, .7);
	animation: a-toast-in .9s var(--a-ease) 1.4s both;
}
.x-toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--a-grad); transform-origin: left; }
.x-toast--success::after { animation: a-timer 6s linear 1.4s forwards; }
.x-toast--error::after { background: var(--a-err); }
.x-toast.is-leaving { animation: a-toast-out .5s var(--a-ease) forwards; }
.x-toast__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--a-bg); font-weight: 800; font-size: 14px; }
.x-toast--error .x-toast__icon { background: var(--a-err); box-shadow: 0 0 20px rgba(255, 107, 107, .6); }
.x-toast--success .x-toast__icon { background: var(--a-ok); box-shadow: 0 0 20px rgba(74, 222, 154, .6); }
.x-toast__text { flex: 1; padding-top: 3px; }
.x-toast__close { flex: none; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--a-muted); cursor: pointer; padding: 0 4px; transition: color .2s, transform .4s var(--a-ease); }
.x-toast__close:hover { color: var(--a-text); transform: rotate(90deg); }

/* ---------- Conținut ---------- */
.x-main { position: relative; z-index: 1; }

/* HERO cu aurora animată */
.x-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
	padding: 150px 0 110px; background: var(--a-bg);
}
.a-aurora { position: absolute; top: -20%; right: -20%; bottom: -20%; left: -20%; z-index: -2; filter: blur(80px) saturate(140%); opacity: .75; }
.a-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.a-aurora i:nth-child(1) { width: 55vw; height: 55vw; left: 5%; top: 10%; background: radial-gradient(circle, rgba(var(--a-gold-rgb),  .55), transparent 65%); animation: a-float1 18s ease-in-out infinite alternate; }
.a-aurora i:nth-child(2) { width: 45vw; height: 45vw; right: 0; top: 0; background: radial-gradient(circle, rgba(var(--a-teal-rgb),  .35), transparent 65%); animation: a-float2 22s ease-in-out infinite alternate; }
.a-aurora i:nth-child(3) { width: 50vw; height: 50vw; left: 35%; bottom: -10%; background: radial-gradient(circle, rgba(var(--a-violet-rgb),  .4), transparent 65%); animation: a-float3 20s ease-in-out infinite alternate; }
/* grilă fină în perspectivă */
.x-hero::before {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(var(--a-fg-rgb),  .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--a-fg-rgb),  .05) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
/* lumina care urmărește mouse-ul */
.x-hero::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 40%), rgba(var(--a-gold-rgb),  .13), transparent 60%);
}
.x-hero .x-wrap { position: relative; }
.x-eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
	font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--a-gold);
	padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(var(--a-gold-rgb),  .07); box-shadow: inset 0 0 0 1px rgba(var(--a-gold-rgb),  .2);
}
.x-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--a-gold); box-shadow: 0 0 0 0 rgba(var(--a-gold-rgb),  .7); animation: a-ping 2s infinite; }
.x-hero h1 {
	font-family: var(--a-serif); font-weight: 400; letter-spacing: -.025em;
	font-size: clamp(54px, 10vw, 158px); line-height: .92; margin: 0 0 34px; max-width: 11ch;
}
.x-hero h1 em, .a-grad-text {
	font-style: italic; background: var(--a-grad); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: a-grad-move 6s linear infinite;
}
/* cuvinte care urcă din mască */
.a-split .a-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.a-split .a-w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--a-ease); transition-delay: calc(var(--i) * .07s + .2s); }
.a-split.is-in .a-w > span { transform: none; }
.x-hero p { font-size: 19px; line-height: 1.65; color: var(--a-muted); max-width: 48ch; margin: 0 0 42px; }
.x-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.a-scroll-cue { position: absolute; right: 32px; bottom: -40px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--a-muted); writing-mode: vertical-rl; }
.a-scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--a-gold), transparent); animation: a-cue 2.2s var(--a-ease) infinite; transform-origin: top; }

/* Bandă cu text care curge */
.a-marquee { display: block; position: relative; overflow: hidden; padding: 34px 0; border-block: 1px solid var(--a-line); background: var(--a-bg-2); }
.a-marquee__track { display: flex; width: max-content; animation: a-marquee 38s linear infinite; }
.a-marquee:hover .a-marquee__track { animation-play-state: paused; }
.a-marquee a, .a-marquee span { text-decoration: none; cursor: pointer; font-family: var(--a-serif); font-size: clamp(34px, 5vw, 64px); white-space: nowrap; padding: 0 28px; color: transparent; -webkit-text-stroke: 1px rgba(var(--a-text-rgb),  .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.a-marquee a:hover, .a-marquee a:focus-visible, .a-marquee span:hover { outline: 0; color: var(--a-gold); -webkit-text-stroke-color: var(--a-gold); }
.a-marquee b { color: var(--a-gold); font-weight: 400; align-self: center; font-size: 28px; }

/* Secțiuni */
.x-section { position: relative; padding: 140px 0; }
.x-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 64px; flex-wrap: wrap; }
.x-section h2 { font-family: var(--a-serif); font-weight: 400; font-size: clamp(42px, 6vw, 88px); line-height: .95; letter-spacing: -.02em; margin: 0; color: var(--a-text); }
.x-section h2 em { font-style: italic; color: var(--a-gold); }
.a-kicker, .x-kicker { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 20px; }

/* Statistici */
.a-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--a-line); }
.a-stat { padding: 44px 28px 10px 0; border-right: 1px solid var(--a-line); }
.a-stat + .a-stat { padding-left: 28px; }
.a-stat:last-child { border-right: 0; }
.a-stat strong { display: block; font-family: var(--a-serif); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; background: var(--a-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-stat span { display: block; margin-top: 12px; color: var(--a-muted); font-size: 14.5px; }
@media (max-width: 800px) { .a-stats { grid-template-columns: 1fr 1fr; } .a-stat:nth-child(2) { border-right: 0; } .a-stat:nth-child(3) { padding-left: 0; } }

/* Carduri cu înclinare 3D și reflexie */
.x-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; perspective: 1400px; }
.x-card {
	position: relative; display: block; text-decoration: none; color: inherit;
	border-radius: 26px; overflow: hidden; background: var(--a-bg-2);
	box-shadow: inset 0 0 0 1px var(--a-line);
	transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .7s var(--a-ease), box-shadow .6s var(--a-ease);
}
.x-card.is-tilting { transition: transform .12s linear, box-shadow .6s var(--a-ease); }
.x-card:hover { box-shadow: inset 0 0 0 1px rgba(var(--a-gold-rgb),  .35), 0 50px 90px -40px rgba(var(--a-gold-rgb),  .35); }
.x-card::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s;
	background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--a-fg-rgb),  .16), transparent 45%);
}
.x-card:hover::after { opacity: 1; }
.x-card__img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; clip-path: inset(0 0 0 0 round 26px 26px 0 0); }
.x-card__img > img, .x-card__img > .x-card__ph, .x-card__img > .ph { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform 1.6s var(--a-ease); }
.x-card:hover .x-card__img > img, .x-card:hover .x-card__img > .ph { transform: scale(1.02); }
.x-card__img::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, transparent 50%, rgba(var(--a-bg-rgb),  .7)); }
.a-tag, .x-card__tag { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--a-text); background: rgba(var(--a-bg-rgb),  .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(var(--a-fg-rgb),  .15); }
.a-arrow, .x-card__arrow { position: absolute; z-index: 2; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--a-gold); color: var(--a-bg); font-size: 20px; transform: scale(0) rotate(-90deg); transition: transform .6s var(--a-ease); }
.x-card:hover .a-arrow, .x-card__arrow { transform: scale(1) rotate(-45deg); }
.x-card__body { position: relative; padding: 26px 28px 30px; transform: translateZ(30px); }
.x-card__price { font-family: var(--a-serif); font-size: 34px; line-height: 1; color: var(--a-text); }
.x-card__title { margin: 10px 0 20px; color: var(--a-muted); }
.x-card__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--a-text); }
.x-card__meta span { padding: 7px 12px; border-radius: 999px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); }

/* Ajustări pentru conținutul paginilor */
.x-card__tag.is-sold { background: rgba(255, 107, 107, .85); }
.x-slider .a-aurora { opacity: .3; }
.x-hero.x-slider::before { opacity: .5; }
.x-slider__dot::after { background: var(--a-grad); }
.x-search { background: rgba(var(--a-panel-rgb),  .72); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
.x-pagehero { padding-bottom: 130px; }
.x-pagehero::after { background: radial-gradient(ellipse 50% 80% at 10% 100%, rgba(var(--a-gold-rgb),  .2), transparent 70%), radial-gradient(ellipse 40% 60% at 90% 0%, rgba(var(--a-teal-rgb),  .12), transparent 70%), linear-gradient(180deg, rgba(var(--a-bg-rgb),  .5), rgba(var(--a-bg-rgb),  .92)); }
.x-pagehero h1 { font-size: clamp(52px, 8vw, 128px); }
.x-prop-title, .x-block__title, .x-prose h1, .x-prose h2, .x-prose h3 { letter-spacing: -.02em; }
.x-fact strong, .x-prop-price strong { background: var(--a-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-plan { background: var(--a-plan-bg, #f4f2ec); }
.x-panel { background: linear-gradient(160deg, rgba(var(--a-fg-rgb),  .05), rgba(var(--a-fg-rgb),  .015)); }
.x-gallery__thumb.is-active { outline-color: var(--a-gold); }
.x-side a.is-active { color: var(--a-gold); }

/* ---------- Footer ---------- */
.x-footer { position: relative; z-index: 1; overflow: hidden; background: var(--a-bg); color: var(--a-muted); font-size: 14.5px; border-top: 1px solid var(--a-line); }
.x-footer::before { content: ""; position: absolute; left: 50%; top: -300px; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(var(--a-gold-rgb),  .14), transparent); pointer-events: none; }
.a-bigcta { display: block; position: relative; padding: 120px 0 40px; text-decoration: none; text-align: center; }
.a-bigcta small { display: block; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--a-gold); margin-bottom: 18px; }
.a-bigcta strong {
	display: block; font-family: var(--a-serif); font-weight: 400; font-size: clamp(64px, 14vw, 220px); line-height: .9; letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 1px rgba(var(--a-text-rgb),  .3);
	background: var(--a-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
	background-position: 100% 0; transition: background-position 1.2s var(--a-ease), -webkit-text-stroke-color .6s;
	-webkit-text-fill-color: transparent; background-repeat: no-repeat; background-size: 0% 100%;
}
.a-bigcta:hover strong { background-size: 100% 100%; -webkit-text-stroke-color: transparent; transition: background-size 1s var(--a-ease), -webkit-text-stroke-color .6s; }
.x-footer__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px; padding: 70px 0 70px; border-top: 1px solid var(--a-line); }
.x-footer h6 { font-family: var(--a-sans); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--a-text); margin: 0 0 24px; }
.x-footer__links a { position: relative; display: table; color: inherit; text-decoration: none; padding: 7px 0; transition: color .3s; }
.x-footer__links a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: var(--a-gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--a-ease); }
.x-footer__links a:hover { color: var(--a-text); }
.x-footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.x-footer__contact p { margin: 0 0 16px; line-height: 1.8; }
.x-footer__contact a:not(.x-btn) { color: var(--a-text); text-decoration: none; }
.x-footer__contact .x-btn { margin-top: 8px; }
.x-label { display: inline-block; min-width: 56px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--a-gold); }
.x-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-badges a { display: flex; align-items: center; justify-content: center; height: 62px; padding: 8px; border-radius: 14px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); transition: transform .5s var(--a-ease), box-shadow .5s, background .5s; }
.x-badges a:hover { transform: translateY(-4px); background: rgba(var(--a-fg-rgb),  .92); box-shadow: 0 20px 30px -15px rgba(var(--a-gold-rgb),  .4); }
.x-badges img { max-width: 100%; max-height: 40px; filter: grayscale(1) invert(1) brightness(1.4); opacity: .7; transition: filter .5s, opacity .5s; }
.x-badges a:hover img { filter: none; opacity: 1; }
.x-footer__bottom { position: relative; border-top: 1px solid var(--a-line); font-size: 13px; }
.x-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; padding-bottom: 26px; }
.x-footer__bottom a { color: inherit; }
.x-powered { margin: 0; }
.x-powered img { height: 18px; vertical-align: middle; filter: grayscale(1) brightness(2); opacity: .6; }

/* ---------- Chat ---------- */
.x-chat { position: fixed; right: 28px; bottom: 28px; z-index: 140; }
.x-chat__btn {
	position: relative; width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--a-gold); color: var(--a-bg); display: grid; place-items: center;
	box-shadow: 0 20px 40px -12px rgba(var(--a-gold-rgb),  .55);
	transition: transform .5s var(--a-ease); animation: a-pop 1s 2.4s var(--a-ease) both;
}
.x-chat__btn::before, .x-chat__btn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 1px solid var(--a-gold); animation: a-pulse 3s 3s ease-out infinite; }
.x-chat__btn::after { animation-delay: 4.5s; }
.x-chat__btn:hover { transform: scale(1.08) rotate(-8deg); }
.x-chat__panel {
	position: absolute; right: 0; bottom: 84px; width: 270px; padding: 24px; border-radius: 22px;
	background: rgba(var(--a-panel-rgb),  .85); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: inset 0 0 0 1px var(--a-line), 0 40px 80px -30px rgba(0, 0, 0, .9);
	transform-origin: bottom right; transform: translateY(16px) scale(.85); opacity: 0; visibility: hidden;
	transition: transform .6s var(--a-ease), opacity .35s, visibility .35s;
}
.x-chat.is-open .x-chat__panel { transform: none; opacity: 1; visibility: visible; }
.x-chat__panel strong { font-family: var(--a-serif); font-size: 28px; font-weight: 400; color: var(--a-text); }
.x-chat__panel p { margin: 8px 0 18px; color: var(--a-muted); font-size: 14px; line-height: 1.5; }

/* ---------- Loader (#p) ---------- */
#p.x-loader { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 480; display: none; background: rgba(var(--a-bg-rgb),  .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.x-loader__box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--a-text); }
.x-loader__box p { margin: 18px 0 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.x-spinner { display: inline-block; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, var(--a-gold)); -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%); mask: radial-gradient(circle, transparent 55%, #000 57%); animation: a-spin 1s linear infinite; }

/* ---------- Apariție la scroll ---------- */
.x-js [data-reveal] { opacity: 0; transform: translateY(60px); filter: blur(8px); transition: opacity 1.2s var(--a-ease), transform 1.4s var(--a-ease), filter 1.2s var(--a-ease); transition-delay: var(--d, 0s); }
.x-js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.x-js .x-card[data-reveal].is-visible { transition: opacity 1.2s var(--a-ease), filter 1.2s var(--a-ease), transform .7s var(--a-ease), box-shadow .6s var(--a-ease); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.x-js [data-reveal="clip"] { opacity: 1; filter: none; transform: none; }
.x-js [data-reveal="clip"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--a-ease); transition-delay: var(--d, 0s); }
.x-js [data-reveal="clip"].is-visible > * { clip-path: inset(0 0 0 0); }

/* ---------- Animații ---------- */
@keyframes a-grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,5%); } 40% { transform: translate(5%,-3%); } 60% { transform: translate(-3%,-5%); } 80% { transform: translate(4%,4%); } }
@keyframes a-rise { to { transform: none; } }
@keyframes a-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes a-shine { 0% { left: -80%; } 22%, 100% { left: 140%; } }
@keyframes a-spin-angle { to { --a-angle: 360deg; } }
@keyframes a-toast-in { from { opacity: 0; transform: translateY(-20px) scale(.9); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-toast-out { to { opacity: 0; transform: translateX(60px) scale(.9); filter: blur(10px); } }
@keyframes a-timer { to { transform: scaleX(0); } }
@keyframes a-float1 { to { transform: translate(18vw, 12vh) scale(1.2); } }
@keyframes a-float2 { to { transform: translate(-22vw, 22vh) scale(.85); } }
@keyframes a-float3 { to { transform: translate(-14vw, -24vh) scale(1.15); } }
@keyframes a-grad-move { to { background-position: -200% 0; } }
@keyframes a-ping { 0% { box-shadow: 0 0 0 0 rgba(var(--a-gold-rgb),  .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(var(--a-gold-rgb),  0); } }
@keyframes a-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes a-marquee { to { transform: translateX(-50%); } }
@keyframes a-pop { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes a-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes a-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
	.x-wrap { padding: 0 20px; }
	.x-section { padding: 96px 0; }
	.x-hero { padding: 130px 0 90px; }
	.a-scroll-cue { display: none; }
	.x-eyebrow { letter-spacing: .16em; font-size: 11px; }
	.x-toasts { top: 92px; right: 16px; }
	.x-chat { right: 16px; bottom: 16px; }
	.x-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.x-js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
	.a-split .a-w > span { transform: none; }
	.a-intro { display: none; }
}

/* Meniul: textul nu se rupe pe două rânduri, iar pe ecrane medii se strânge */
.x-nav a { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 961px) {
	.x-nav a { padding-left: 11px; padding-right: 11px; font-size: 13.5px; }
	.x-nav a.x-nav__cta { padding-left: 18px; padding-right: 18px; }
}

/* Pe telefon, pagina activă din meniul lateral e o pastilă aurie: textul trebuie să fie închis */
@media (max-width: 1080px) { .x-side a.is-active { color: var(--c-accent-ink); } }

/* ---------- Performanță: efecte mai ușoare pentru calculatoare și telefoane mai slabe ---------- */
body.x-body::after { animation: none; top: 0; right: 0; bottom: 0; left: 0; opacity: .045; }
.a-aurora { filter: none; opacity: .9; }
.a-aurora i { will-change: transform; }
.a-aurora i:nth-child(1) { background: radial-gradient(circle, rgba(var(--a-gold-rgb),  .34), transparent 60%); }
.a-aurora i:nth-child(2) { background: radial-gradient(circle, rgba(var(--a-teal-rgb),  .2), transparent 60%); }
.a-aurora i:nth-child(3) { background: radial-gradient(circle, rgba(var(--a-violet-rgb),  .24), transparent 60%); }
.x-search, .x-toast, .x-chat__panel, .x-slide__meta span, .a-tag, .x-card__tag { -webkit-backdrop-filter: none; backdrop-filter: none; }
.x-search { background: rgba(var(--a-panel-rgb),  .94); }
.x-js [data-reveal] { filter: none; }
@media (max-width: 960px), (hover: none) {
	.a-aurora i { animation: none; }
	.x-header__inner::before { animation: none; }
	body.x-body::after { display: none; }
}
@supports not (backdrop-filter: blur(1px)) {
	.x-header__inner { background: rgba(var(--a-panel-rgb),  .94); }
}

/* ---------- Meniul de pe telefon: listă ordonată, numerotată ---------- */
.x-nav__info { display: none; }
@media (max-width: 960px) {
	.x-nav {
		justify-content: flex-start; align-items: stretch; gap: 0;
		padding: 104px 24px 28px; box-sizing: border-box; overflow-y: auto; counter-reset: xnav;
	}
	.x-nav::before {
		content: "Menu"; position: absolute; left: 24px; top: 38px;
		font: 600 11px/1 var(--a-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--a-muted);
	}
	.x-nav > a:not(.x-nav__cta) {
		counter-increment: xnav; display: flex; align-items: center; gap: 16px; width: 100%; box-sizing: border-box;
		padding: 17px 2px; border-radius: 0; border-bottom: 1px solid var(--a-line);
		font-family: var(--a-serif); font-size: 31px; line-height: 1.1; color: var(--a-text);
	}
	.x-nav > a:not(.x-nav__cta):first-of-type { border-top: 1px solid var(--a-line); }
	.x-nav > a:not(.x-nav__cta)::before {
		content: counter(xnav, decimal-leading-zero); position: static; display: block; flex: none;
		width: 26px; height: auto; margin: 0; border-radius: 0; background: none; box-shadow: none;
		font: 600 11px/1 var(--a-sans); letter-spacing: .1em; color: var(--a-muted);
	}
	.x-nav > a:not(.x-nav__cta)::after {
		content: "\2192"; margin-left: auto; font: 400 20px/1 var(--a-sans); color: var(--a-muted);
		transform: translateX(-6px); opacity: .6; transition: transform .4s var(--a-ease), opacity .3s, color .3s;
	}
	.x-nav > a:not(.x-nav__cta):active::after, .x-nav > a.is-active::after { transform: none; opacity: 1; color: var(--a-gold); }
	.x-nav > a.is-active { color: var(--a-gold); }
	.x-nav > a.is-active::before { display: block; color: var(--a-gold); }
	.x-nav > a .a-roll { overflow: visible; }
	.x-nav > a .a-roll__in::after { display: none; }
	.x-nav > a.x-nav__cta {
		display: flex; justify-content: center; width: 100%; box-sizing: border-box; margin: 28px 0 0;
		padding: 19px 24px; font-size: 16px;
	}
	.x-nav__info {
		display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: baseline;
		margin-top: auto; padding-top: 30px; opacity: 0; transform: translateY(20px);
		transition: opacity .6s var(--a-ease) .6s, transform .8s var(--a-ease) .6s;
	}
	body.x-menu-open .x-nav__info { opacity: 1; transform: none; }
	.x-nav__label { font: 600 10.5px/1.4 var(--a-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--a-muted); }
	.x-nav__phone { font: 400 22px/1.2 var(--a-serif); color: var(--a-gold); cursor: pointer; }
	.x-nav__addr { font-size: 14px; line-height: 1.5; color: var(--a-text); opacity: .8; }
}
@media (max-width: 960px) and (max-height: 640px) {
	.x-nav > a:not(.x-nav__cta) { padding: 12px 2px; font-size: 26px; }
	.x-nav { padding-top: 90px; }
}

/* Meniul de telefon: fără numerele 01, 02… și fără etichetele „Call us” / „Visit us” */
@media (max-width: 960px) {
	.x-nav > a:not(.x-nav__cta)::before, .x-nav > a.is-active::before { content: none; display: none; }
	.x-nav__label { display: none; }
	.x-nav__info { grid-template-columns: 1fr; gap: 6px; }
}

/* Meniul de telefon: fără telefon și adresă */
@media (max-width: 960px) { .x-nav__info { display: none !important; } }
