/* ==========================================================================
   TOP CITY — redesign 2027
   Identitate: galben #FAC41D + negru, logo-ul cu trei turnuri
   ========================================================================== */

:root {
  --yellow: #FAC41D;
  --yellow-hi: #FFD34A;
  --yellow-soft: #FDF0C4;
  --ink: #0F0F0E;
  --ink-2: #191917;
  --ink-3: #252522;
  --paper: #F4F2EC;
  --white: #FFFFFF;
  --muted: #6B6963;
  --muted-d: #A19F98;
  --line: rgba(15, 15, 14, .1);
  --line-d: rgba(255, 255, 255, .11);

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --inset: 12px;
  --promo-h: 0px;

  --f-display: "Urbanist", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografie ---------- */
.h2 {
  font: 600 clamp(2.3rem, 5.2vw, 4.75rem)/.98 var(--f-display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h2 em, .hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
}
.h2 em {
  padding-right: .04em;
  background: linear-gradient(transparent 64%, var(--yellow) 64%, var(--yellow) 90%, transparent 90%);
}
.dark .h2 em, .tour .h2 em { color: var(--yellow); background: none; }

.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--muted); max-width: 52ch; }
.dark .lead { color: var(--muted-d); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .78rem/1 var(--f-display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
/* mini-skyline din logo */
.eyebrow::before {
  content: ""; width: 14px; height: 13px; flex: none;
  background:
    linear-gradient(var(--yellow), var(--yellow)) 0 100% / 3px 8px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 5.5px 100% / 3px 13px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 11px 100% / 3px 9px no-repeat;
}
.dark .eyebrow, .eyebrow--light { color: var(--muted-d); }
.eyebrow--plain { margin-bottom: 10px; }

/* ---------- Butoane ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font: 600 1rem/1 var(--f-display); letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(250, 196, 29, .7); }
.btn--yellow:hover { background: var(--yellow-hi); box-shadow: 0 12px 30px -10px rgba(250, 196, 29, .85); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a27; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn__ic {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-right: -12px;
  border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  overflow: hidden;
}
.btn--ink .btn__ic { background: var(--yellow); color: var(--ink); }
.btn__ic .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .btn__ic .ic { animation: nudge .5s var(--ease); }
@keyframes nudge { 0% { transform: none; } 49% { transform: translateX(140%); } 50% { transform: translateX(-140%); } 100% { transform: none; } }

.round {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-d); color: #fff;
  transition: background .3s, color .3s, border-color .3s;
}
.round:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- Pastile, badge-uri, chip-uri ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  font: 500 .88rem/1 var(--f-display); letter-spacing: .01em;
}
.pill--glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.pill--soft { background: var(--yellow-soft); color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font: 600 .8rem/1 var(--f-display); letter-spacing: .02em; font-style: normal;
  background: rgba(255, 255, 255, .14); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge--y { background: var(--yellow); color: var(--ink); }
.badge .ic { width: 16px; height: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: grid; place-items: center; min-width: 58px; height: 46px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line);
  font: 600 1rem/1 var(--f-display); background: var(--white);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip--y { background: var(--yellow); border-color: var(--yellow); }
.chip--y:hover { background: var(--yellow-hi); border-color: var(--yellow-hi); }
/* contorul de apartamente disponibile din cipurile blocurilor (pus de backend, modulul apartamente) */
.chip[data-apt-count] { grid-auto-flow: column; gap: 8px; }
.chip__n { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--paper); font: 600 .76rem/1 var(--f-body); letter-spacing: 0; }
.chip__n::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1F9D55; }
.chip--y .chip__n { background: rgba(15, 15, 14, .12); }
.chip__n.is-zero { color: var(--muted); }
.chip__n.is-zero::before { background: var(--muted); }

/* ---------- Bară ofertă ---------- */
.promo { position: relative; z-index: 40; background: var(--ink); color: #fff; font-size: .9rem; }
.promo__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding-block: 8px; }
.promo p { opacity: .82; }
.promo strong { color: var(--yellow); font-weight: 600; }
.promo__tag { background: var(--yellow); color: var(--ink); font: 700 .68rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; flex: none; }
.promo__link { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 600; white-space: nowrap; }
.promo__link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.promo__link:hover .ic { transform: translateX(3px); }
.promo__close { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; opacity: .6; flex: none; }
.promo__close:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.promo__close .ic { width: 16px; height: 16px; }

/* ---------- Navigație ---------- */
.nav {
  position: sticky; top: var(--inset); z-index: 50;
  height: 68px;
  margin-top: calc(var(--inset) * 2);
  margin-bottom: calc(-68px - var(--inset) * 2);
  padding-inline: calc(var(--inset) * 2);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: 1320px; height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(15, 15, 14, .22);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  color: #fff;
  transition: background .45s var(--ease), color .45s, border-color .45s, box-shadow .45s;
}
.nav.is-solid .nav__bar {
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  border-color: rgba(15, 15, 14, .07);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 16px 40px -18px rgba(0, 0, 0, .25);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-right: auto; }
.brand__mark { width: 34px; height: 33px; color: currentColor; overflow: visible; }
.brand__word { font: 500 1.08rem/1 var(--f-display); letter-spacing: .2em; padding-top: 2px; }
.tw { transform-box: fill-box; transform-origin: 50% 100%; }
.brand .tw { animation: grow 1.1s var(--ease) both; }
.brand .tw-1 { animation-delay: .15s; } .brand .tw-2 { animation-delay: .3s; } .brand .tw-3 { animation-delay: .45s; }
.brand:hover .tw { animation: bounce .7s var(--ease); }
.brand:hover .tw-2 { animation-delay: .06s; } .brand:hover .tw-3 { animation-delay: .12s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bounce { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.82); } 70% { transform: scaleY(1.06); } }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 10px 13px; border-radius: 999px;
  font: 500 .95rem/1 var(--f-display);
  opacity: .88;
  transition: background .25s, opacity .25s;
}
.nav__links a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.nav.is-solid .nav__links a:hover { background: rgba(15, 15, 14, .06); }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--yellow); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 14px; font: 600 .95rem/1 var(--f-display); white-space: nowrap; }
.nav__phone .ic { width: 17px; height: 17px; color: var(--yellow); }
.nav.is-solid .nav__phone .ic { color: var(--ink); }
.nav__cta { flex: none; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; place-items: center; background: var(--yellow); color: var(--ink); }
.nav__burger .ic { width: 22px; height: 22px; }

/* ---------- Meniu mobil ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  clip-path: circle(0 at calc(100% - 52px) 52px);
  transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 52px) 52px); }
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open[hidden] { visibility: visible; }
.menu { overflow-y: auto; padding-top: calc(var(--promo-h) + 100px); justify-content: flex-start; }
.menu__links { display: flex; flex-direction: column; margin-top: auto; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-d);
  font: 600 clamp(1.9rem, 8vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.03em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.menu__links a:hover { color: var(--yellow); }
.menu__links small { font: 500 .8rem/1 var(--f-body); color: var(--yellow); letter-spacing: .05em; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .19s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .23s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .27s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .31s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .35s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: .39s; }
.menu__foot { display: grid; gap: 10px; margin-top: 28px; }
body.menu-open { overflow: hidden; }
body.menu-open .nav__bar { background: transparent; border-color: transparent; box-shadow: none; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero-shell { padding: var(--inset); }
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto;
  height: calc(100svh - var(--promo-h) - var(--inset) * 2);
  min-height: 660px; max-height: 1080px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 1.4s var(--ease-io), transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 9, .5) 0%, rgba(10, 10, 9, 0) 22%, rgba(10, 10, 9, 0) 40%, rgba(10, 10, 9, .82) 100%),
    linear-gradient(90deg, rgba(10, 10, 9, .55) 0%, rgba(10, 10, 9, 0) 65%);
}
.hero__content { align-self: end; padding-top: 120px; padding-bottom: 36px; }
.hero__pill { margin-bottom: 26px; opacity: 0; animation: fadeUp .9s var(--ease) .2s forwards; }
.hero__title {
  font: 600 clamp(2.9rem, 7.6vw, 7.8rem)/.92 var(--f-display);
  letter-spacing: -.05em;
  max-width: 13ch;
}
.hero__title em { color: var(--yellow); }
.line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.line > span { display: block; transform: translateY(108%); animation: rise 1.15s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__lead { margin-top: 26px; max-width: 50ch; font-size: clamp(1rem, 1.2vw, 1.18rem); color: rgba(255, 255, 255, .82); opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }

.hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 28px;
  opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards;
}
.hero__tabs { display: flex; gap: 22px; }
.hero__tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  width: 170px; padding-bottom: 14px; text-align: left;
  font: 500 .9rem/1.2 var(--f-display); color: rgba(255, 255, 255, .6);
  transition: color .3s;
}
.hero__tab span { font-size: .75rem; letter-spacing: .1em; color: rgba(255, 255, 255, .45); }
.hero__tab.is-active, .hero__tab:hover { color: #fff; }
.hero__tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .22); border-radius: 2px; overflow: hidden; }
.hero__tab i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-done i::after { transform: scaleX(1); }
.hero__tab.is-active i::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__tab.is-active i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.hero__stats {
  display: flex;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.hero__stats > div { display: flex; flex-direction: column-reverse; padding: 18px 26px; }
.hero__stats > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__stats dd { font: 600 2.1rem/1 var(--f-display); letter-spacing: -.03em; }

.hero__stats dt { margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .66); white-space: nowrap; }

/* ---------- Secțiuni ---------- */
.section { padding-block: clamp(84px, 11vw, 150px); }
.dark {
  background: var(--ink); color: #fff;
  margin-inline: var(--inset);
  border-radius: var(--r-lg);
}
.sec-head {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 64px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head__aside p { color: var(--muted); max-width: 46ch; }
.dark .sec-head__aside p { color: var(--muted-d); }
.sec-head__aside .btn { margin-top: 24px; }
.sec-head__aside--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Despre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 32px 64px; }
.about__side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.about__note { color: var(--muted); font-size: .98rem; max-width: 34ch; }
.statement {
  font: 500 clamp(1.65rem, 3.3vw, 3.1rem)/1.16 var(--f-display);
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.statement .w { opacity: .14; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
}
.stat { padding: 26px 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font: 600 clamp(2.6rem, 5vw, 4.6rem)/.9 var(--f-display); letter-spacing: -.05em; display: flex; align-items: baseline; gap: 4px; }
.stat b small { font-size: .38em; letter-spacing: -.01em; color: var(--muted); font-weight: 500; }
.stat > span { color: var(--muted); font-size: .95rem; }

.phases {
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 24px 60px -36px rgba(0, 0, 0, .25);
}
.phases__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.phases__head h3 { font: 600 1.5rem/1 var(--f-display); letter-spacing: -.02em; }
.phases__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 32px; }
.phases__track li { display: flex; flex-direction: column; gap: 4px; }
.phases__track i { height: 12px; border-radius: 999px; background: #ECEAE3; margin-bottom: 12px; overflow: hidden; position: relative; }
.phases__track .done i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.phases.in .done i::after { transform: scaleX(1); }
.phases.in .done:nth-child(2) i::after { transition-delay: .15s; }
.phases.in .done:nth-child(3) i::after { transition-delay: .3s; }
.phases.in .done:nth-child(4) i::after { transition-delay: .45s; }
.phases__track .now i { background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, #3a3a36 8px 16px); background-size: 22.6px 22.6px; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 22.6px 0; } }
.phases__track b { font: 600 1rem/1.2 var(--f-display); }
.phases__track span { font-size: .85rem; color: var(--muted); }
.phases__track .now span { color: var(--ink); font-weight: 500; }
.phases__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.phases__foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--yellow); color: var(--ink);
  margin-block: 0 clamp(70px, 9vw, 120px);
  transform: rotate(-1.4deg) scale(1.03);
  padding-block: 18px;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font: 600 clamp(1.4rem, 2.6vw, 2.3rem)/1 var(--f-display); letter-spacing: -.025em; white-space: nowrap;
}
.marquee span::after {
  content: ""; width: .62em; height: .6em;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 100% / 22% 60% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 100% / 22% 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 22% 70% no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- NZEB / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .4s, transform .5s var(--ease);
}
.card h3 { font: 600 1.3rem/1.15 var(--f-display); letter-spacing: -.02em; }
.card p { color: var(--muted-d); font-size: .96rem; }
.card__k { font: 600 .74rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(250, 196, 29, .13), transparent 60%);
  transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: rgba(250, 196, 29, .35); }
.ic-wrap { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink-3); color: var(--yellow); margin-bottom: 8px; }
.ic-wrap .ic { width: 24px; height: 24px; }

.b-hero { grid-column: span 4; grid-row: span 2; min-height: 460px; padding: 0; justify-content: flex-end; }
.b-rer, .b-sm { grid-column: span 2; }
.b-third { grid-column: span 2; }
.b-half { grid-column: span 3; }

.card--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card--img:hover img { transform: scale(1.04); }
.card--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 9, 0) 35%, rgba(10, 10, 9, .85)); }
.card__over { position: relative; z-index: 1; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.card__over h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; max-width: 20ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

.big-num { font: 600 clamp(3.2rem, 5vw, 4.6rem)/.9 var(--f-display) !important; letter-spacing: -.05em; color: #fff !important; display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.big-num small { font-size: .4em; color: var(--yellow); }
.big-num--sm { font-size: clamp(2.2rem, 3vw, 2.8rem) !important; gap: 10px; }
.big-num--sm span { color: var(--yellow); }
.rer { position: relative; height: 10px; border-radius: 999px; background: var(--ink-3); margin-top: auto; }
.rer i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--yellow); transition: width 1.4s var(--ease) .3s; }
.b-rer.in .rer i { width: calc(var(--v) * 2.4); }
.rer b { position: absolute; top: -6px; bottom: -6px; left: calc(var(--v) * 2.4); width: 2px; background: #fff; }
.rer b span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font: 500 .72rem/1 var(--f-body); color: var(--muted-d); white-space: nowrap; }
.b-rer { padding-bottom: 46px; }

.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted-d); font-size: .96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F0E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Viața în Top City ---------- */
.life__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.life__media { position: sticky; top: 110px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; }
.life__img { overflow: hidden; border-radius: var(--r-lg); }
.life__img img { width: 100%; height: 100%; object-fit: cover; }
.life__img--a { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 4 / 4.4; }
.life__img--b { grid-column: 3 / 7; grid-row: 2; aspect-ratio: 4 / 3; margin-top: -26%; border: 8px solid var(--paper); border-radius: calc(var(--r-lg) + 8px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.life__chip {
  grid-column: 1 / 4; grid-row: 2; align-self: start; margin-top: 28px; justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px;
  background: var(--ink); color: #fff; font-size: .92rem; line-height: 1.3;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
}
.life__chip .ic { color: var(--yellow); width: 26px; height: 26px; }
.life__chip b { color: var(--yellow); font-weight: 600; }
.life .h2 { margin-bottom: 22px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.feats li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 18px; border-radius: 18px;
  background: var(--white); border: 1px solid transparent;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.feats li:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .3); }
.feats .ic { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--yellow-soft); stroke-width: 1.6; }
.feats b { font: 600 1.02rem/1.2 var(--f-display); }
.feats span { font-size: .86rem; color: var(--muted); line-height: 1.35; }

/* ---------- Apartamente ---------- */
.apts { background: var(--white); margin-inline: var(--inset); border-radius: var(--r-lg); }
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  padding: 5px; border-radius: 999px; background: var(--paper);
  margin-bottom: 26px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font: 600 .98rem/1 var(--f-display); color: var(--muted);
  transition: background .3s, color .3s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab__hot { background: var(--yellow); color: var(--ink); font-size: .72rem; padding: 4px 7px; border-radius: 999px; }

.apt { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; animation: panelIn .6s var(--ease); }
.apt[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.apt__plan {
  position: relative; display: grid; place-items: center;
  background: #F7F6F2; border-radius: var(--r-lg); overflow: hidden;
  padding: clamp(10px, 2vw, 28px); min-height: 380px; cursor: zoom-in;
}
.apt__plan img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.apt__plan:hover img { transform: scale(1.035); }
.apt__tag { position: absolute; top: 18px; left: 18px; padding: 7px 12px; border-radius: 999px; background: var(--white); font: 600 .78rem/1 var(--f-display); letter-spacing: .04em; }
.apt__zoom { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; transition: background .3s, color .3s; }
.apt__plan:hover .apt__zoom { background: var(--yellow); color: var(--ink); }
.apt__zoom .ic { width: 18px; height: 18px; }
.apt__info {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg); background: var(--paper);
}
.apt__info h3 { font: 600 clamp(2rem, 3vw, 2.8rem)/1 var(--f-display); letter-spacing: -.04em; }
.apt__offer { align-self: flex-start; margin-bottom: 16px; }
.apt__area { margin-top: 14px; font: 500 1.1rem/1.2 var(--f-display); color: var(--muted); }
.apt__area b { font-size: 3.4rem; font-weight: 600; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.apt__area span { display: block; margin-top: 6px; font-size: 1rem; }
.apt__area--txt { font: 400 1.05rem/1.5 var(--f-body); max-width: 34ch; }
.specs { margin-top: 24px; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs span { color: var(--muted); }
.specs b { font-weight: 600; font-family: var(--f-display); font-size: 1rem; }
.apt__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }

.avail {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px;
  margin-top: 14px;
}
.avail__img { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.avail__img img { width: 100%; height: 100%; object-fit: cover; }
.avail__body { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper); display: flex; flex-direction: column; gap: 22px; }
.avail__body h3 { font: 600 clamp(1.4rem, 2vw, 1.75rem)/1.12 var(--f-display); letter-spacing: -.025em; }
.avail__group { display: grid; gap: 10px; }
.avail__lbl { display: flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.avail__lbl .badge { letter-spacing: .02em; text-transform: none; padding: 5px 9px; font-size: .72rem; }

/* ---------- Galerie ---------- */
.gallery { padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter {
  height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-d); color: rgba(255, 255, 255, .7);
  font: 500 .92rem/1 var(--f-display);
  transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.filter.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.g-nav { display: flex; gap: 8px; }
.g-track {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
  cursor: grab;
}
.g-track::-webkit-scrollbar { display: none; }
.g-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.g-item {
  position: relative; flex: none; height: clamp(300px, 46vw, 540px);
  border-radius: var(--r); overflow: hidden; scroll-snap-align: start;
  background: var(--ink-2);
  transition: opacity .4s, transform .5s var(--ease);
}
.g-item[hidden] { display: none !important; }
.g-item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; user-select: none; }
.g-item:hover img { transform: scale(1.05); }
.g-item > span {
  position: absolute; left: 14px; bottom: 14px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(15, 15, 14, .55); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 .86rem/1 var(--f-display);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .45s var(--ease);
}
.g-item:hover > span, .g-item:focus-visible > span { opacity: 1; transform: none; }

/* ---------- Tur virtual ---------- */
.tour { padding: clamp(84px, 11vw, 150px) var(--inset) 0; }
.tour__card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 60vw, 640px);
  border-radius: var(--r-lg); background: var(--ink); color: #fff;
  display: grid; place-items: center; text-align: center;
  padding: 60px var(--gutter);
}
.tour__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); opacity: .85; }
.tour__body { display: flex; flex-direction: column; align-items: center; }
.tour .h2 { max-width: 14ch; }
.tour__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.tour__btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 26px 10px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font: 600 1.25rem/1.1 var(--f-display); text-align: left;
  transition: background .3s, transform .4s var(--ease);
}
.tour__btn:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.tour__btn small { display: block; font: 500 .74rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 4px; }
.tour__play { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.tour__play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: ping 2.2s var(--ease) infinite; }
.tour__play .ic { width: 22px; height: 22px; margin-left: 3px; }

/* ---------- Localizare ---------- */
.loc__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.loc .h2 { margin-bottom: 22px; }
.poi { margin-top: 36px; border-top: 1px solid var(--line); }
.poi__row { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.poi__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); }
.poi__ic .ic { width: 21px; height: 21px; }
.poi b { font: 600 1.08rem/1.2 var(--f-display); }
.poi p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.loc__map { position: relative; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: #E7E4DC; }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.loc__card {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35);
}
.loc__card .brand__mark { width: 36px; height: 35px; color: var(--ink); flex: none; }
.loc__card div { display: flex; flex-direction: column; margin-right: auto; }
.loc__card b { font: 600 1rem/1.2 var(--f-display); }
.loc__card span { font-size: .85rem; color: var(--muted); }
.loc__card .ic { width: 16px; height: 16px; }

/* ---------- Plată ---------- */
.pay { padding-top: 0; }
.pay__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--white); min-height: 330px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(0, 0, 0, .35); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 44px; }
.pcard__n { font: 600 .9rem/1 var(--f-display); color: var(--muted); letter-spacing: .05em; }
.pcard__top .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.pcard h3 { font: 600 1.6rem/1.05 var(--f-display); letter-spacing: -.03em; }
.pcard p { color: var(--muted); font-size: .95rem; }
.pcard p b { color: var(--ink); font-weight: 600; }
.pcard--ink { background: var(--ink); color: #fff; }
.pcard--ink .pcard__top .ic { color: var(--yellow); }
.pcard--ink p, .pcard--ink .pcard__n { color: var(--muted-d); }
.pcard__tels { display: grid; gap: 8px; margin-top: 6px; }
.pcard__tels a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.1rem/1 var(--f-display); color: var(--yellow); }
.pcard__tels .ic { width: 17px; height: 17px; }
.split { display: flex; gap: 4px; margin-top: 2px; }
.split i { flex: var(--w); height: 10px; border-radius: 999px; background: var(--yellow); }
.split i:nth-child(2) { background: var(--ink); }
.split i:nth-child(3) { background: #CFCCC3; }
.split-key { display: grid; gap: 8px; margin-top: 4px; }
.split-key li { display: flex; align-items: baseline; gap: 10px; font-size: .92rem; color: var(--muted); }
.split-key li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; transform: translateY(-1px); }
.split-key li:nth-child(2)::before { background: var(--ink); }
.split-key li:nth-child(3)::before { background: #CFCCC3; }
.split-key b { font: 600 1.05rem/1 var(--f-display); color: var(--ink); min-width: 2.6em; }
.pay__notes { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* ---------- Dezvoltatori ---------- */
.devs { padding-top: 0; }
.devs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dcard { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, background .3s; }
.dcard:hover { border-color: var(--ink); background: var(--white); }
.dcard__mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--yellow); font: 700 1.3rem/1 var(--f-display); letter-spacing: .02em; margin-bottom: 18px; }
.dcard h3 { font: 600 1.55rem/1.05 var(--f-display); letter-spacing: -.03em; }
.dcard p { color: var(--muted); font-size: .96rem; }
.dcard__facts { display: flex; gap: 28px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.dcard__facts li { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); }
.dcard__facts b { font: 600 1.6rem/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { font-size: clamp(2.3rem, 4.6vw, 4.4rem); margin-bottom: 22px; }
.hl { background: var(--yellow); color: var(--ink); padding: 0 .14em .02em; border-radius: .14em; display: inline-block; transform: rotate(-2deg); }
.clist { margin-top: 36px; display: grid; gap: 6px; }
.clist li { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.clist__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-3); color: var(--yellow); flex: none; }
.clist small { display: block; font-size: .78rem; color: var(--muted-d); letter-spacing: .05em; }
.clist a { font: 600 1.2rem/1.25 var(--f-display); transition: color .2s; }
.clist a:hover { color: var(--yellow); }
.socials { display: flex; gap: 8px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.form { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.form__in { display: grid; gap: 14px; }
.form__in[hidden] { display: none; }
.form h3 { font: 600 1.45rem/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; }
.form__interest { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.form__interest legend { font-size: .82rem; color: var(--muted-d); margin-bottom: 10px; padding: 0; }
.form__interest label { cursor: pointer; }
.form__interest input { position: absolute; opacity: 0; pointer-events: none; }
.form__interest span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-d); font: 500 .92rem/1 var(--f-display); color: rgba(255, 255, 255, .8); transition: all .25s; }
.form__interest label:hover span { border-color: rgba(255, 255, 255, .4); }
.form__interest input:checked + span { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.form__interest input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px;
  border: 1px solid var(--line-d); background: var(--ink);
  color: #fff; font: 400 1rem/1.4 var(--f-body);
  transition: border-color .25s, background .25s;
  resize: vertical;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted-d); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--yellow); }
.field.is-bad input { border-color: #FF6B5A; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: var(--muted-d); line-height: 1.45; cursor: pointer; margin: 4px 0 8px; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .3); margin: 0; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.consent input:checked { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F0E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--yellow); }
.consent.is-bad input { border-color: #FF6B5A; }
.form__ok { text-align: center; padding: 40px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.form__ok[hidden] { display: none; }
.form__okic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-bottom: 10px; animation: pop .6s var(--ease); }
.form__okic .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.form__ok p { color: var(--muted-d); margin-bottom: 14px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
/* trimiterea reală (cu PHP): capcana pentru roboți, erorile de la server, starea „se trimite”, captcha */
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.field.is-bad textarea, .form__interest.is-bad span { border-color: #FF6B5A; }
.field__err { display: block; margin: 7px 4px 0; font-size: .8rem; line-height: 1.4; color: #FF8F80; }
.consent + .field__err { margin: -4px 0 6px 32px; }
.form__interest .field__err { flex-basis: 100%; margin: 2px 4px 0; }
.form__err { padding: 12px 15px; border-radius: 14px; background: rgba(255, 107, 90, .1); border: 1px solid rgba(255, 107, 90, .32); color: #FFC2B8; font-size: .88rem; line-height: 1.5; animation: fadeUp .4s var(--ease); }
.form__err a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.form.is-sending [type="submit"] { cursor: progress; opacity: .88; }
.form.is-sending [type="submit"] .btn__ic { position: relative; }
.form.is-sending [type="submit"] .btn__ic .ic { opacity: 0; animation: none; }
.form.is-sending [type="submit"] .btn__ic::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tcSpin .7s linear infinite; }
@keyframes tcSpin { to { transform: rotate(360deg); } }
.form__captcha:empty { display: none; }
.form__note { font-size: .74rem; line-height: 1.45; color: var(--muted-d); text-align: center; }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
/* reCAPTCHA v3: insigna Google ar acoperi bara de jos pe telefon; textul cerut de Google stă sub buton (.form__note) */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #fff; margin-top: clamp(84px, 11vw, 150px); padding-top: clamp(60px, 8vw, 100px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding-bottom: 40px; }
.foot__mark { width: 70px; height: 67px; color: #fff; margin-bottom: 20px; }
.foot__brand p { color: var(--muted-d); max-width: 30ch; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot__cols h4 { font: 600 .78rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 16px; }
.foot__cols a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .85); transition: color .2s; }
.foot__cols a:hover { color: var(--yellow); }
.foot__hours { margin-top: 10px; color: rgba(255, 255, 255, .85); line-height: 1.65; }
.foot__hours small { color: var(--muted-d); font-size: .82rem; }
.foot__bottom span a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.foot__word {
  font: 600 clamp(4rem, 17.5vw, 17rem)/.8 var(--f-display);
  letter-spacing: -.02em; white-space: nowrap; text-align: center;
  margin: 10px 0 -.06em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-size: .86rem; color: var(--muted-d); position: relative; }
.foot__bottom nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.foot__bottom a:hover, .foot__bottom button:hover { color: #fff; }

/* ---------- Bară mobil, cookie, progres ---------- */
.mbar { display: none; }
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  width: min(380px, calc(100% - 32px));
  padding: 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45);
  font-size: .88rem; color: var(--muted);
  animation: fadeUp .6s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie > div { display: flex; gap: 8px; margin-top: 14px; }
.cookie .btn { flex: 1; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }

/* ---------- Lightbox ---------- */
.lb {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 9, .94); color: #fff;
}
.lb[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; animation: fadeIn .3s; }
.lb::backdrop { background: transparent; }
.lb figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; height: 100%; justify-content: center; }
.lb img { max-width: 100%; max-height: calc(100dvh - 120px); border-radius: 18px; object-fit: contain; animation: zoomIn .4s var(--ease); }
.lb figcaption { font: 500 .95rem/1.3 var(--f-display); color: rgba(255, 255, 255, .75); text-align: center; }
.lb__close { position: absolute; top: 18px; right: 18px; z-index: 2; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* elementul care conține ținta din adresă (de ex. contact.html#formular) apare direct: altfel derularea la ancoră
   (și la reîncărcare) se face cât el e încă coborât cu 28 px, iar titlul ajunge sub antetul fix */
.js [data-reveal]:has(:target) { opacity: 1; transform: none; transition: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav__phone { display: none; }
  .nav__links a { padding: 10px 10px; font-size: .92rem; }
}
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__bar { padding-right: 8px; }
  .hero__tabs { display: none; }
  .hero__bottom { justify-content: flex-start; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-hero { grid-column: span 2; grid-row: auto; min-height: 400px; }
  .b-rer, .b-sm, .b-third, .b-half { grid-column: span 1; }
  .b-third:last-of-type { grid-column: span 2; }
  .life__grid { grid-template-columns: 1fr; }
  .life__media { position: relative; top: 0; max-width: 640px; }
  .apt, .avail { grid-template-columns: 1fr; }
  .loc__grid, .contact__grid { grid-template-columns: 1fr; }
  .loc__map { min-height: 440px; }
  .pay__grid { grid-template-columns: repeat(2, 1fr); }
  .devs__grid { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --inset: 8px; --r-lg: 24px; --r: 18px; }
  body { font-size: 1rem; }
  .promo__long, .promo__link { display: none; }
  .promo__inner { justify-content: flex-start; font-size: .82rem; gap: 10px; }
  .promo__close { margin-left: auto; }
  .nav { height: 60px; margin-bottom: calc(-60px - var(--inset) * 2); }
  .nav__bar { padding-left: 16px; }
  .brand__mark { width: 28px; height: 27px; }
  .brand__word { font-size: .98rem; }
  .nav__burger { width: 44px; height: 44px; }
  .hero { min-height: 600px; }
  .hero__content { padding-top: 100px; padding-bottom: 24px; }
  .hero__ctas { gap: 8px; margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 auto; padding: 0 16px; }
  .hero__ctas .btn__ic { display: none; }
  .hero__lead { margin-top: 18px; }
  .hero__pill { margin-bottom: 18px; }
  .hero__stats { width: 100%; }
  .hero__stats > div { flex: 1; padding: 14px 12px; }
  .hero__stats dd { font-size: 1.5rem; }
  .hero__stats dt { font-size: .7rem; white-space: normal; }
  .hero__bottom { padding-bottom: 16px; }
  .stat, .stat + .stat { padding: 20px 12px 0 0; border-left: 0; }
  .phases__track { grid-template-columns: 1fr; gap: 14px; }
  .phases__track li { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; }
  .phases__track i { margin: 0; order: 2; }
  .phases__track b { order: 1; font-size: .92rem; }
  .phases__track span { order: 3; font-size: .8rem; }
  .phases__foot { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-hero, .b-rer, .b-sm, .b-third, .b-half, .b-third:last-of-type { grid-column: auto; }
  .b-hero { min-height: 380px; }
  .card { padding: 22px; }
  .feats { grid-template-columns: 1fr; }
  .feats li { padding: 14px; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 18px; max-width: 100%; }
  .tab { flex: none; padding: 0 16px; }
  .apt__plan { min-height: 0; aspect-ratio: 4 / 3; }
  .apt__area b { font-size: 2.8rem; }
  .pay__grid { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .pcard__top { padding-bottom: 20px; }
  .form__2 { grid-template-columns: 1fr; }
  .g-nav { display: none; }
  .g-item { height: 62vw; max-height: 380px; }
  .g-item > span { opacity: 1; transform: none; }
  .tour__btn { width: 100%; }
  .loc__card { flex-wrap: wrap; }
  .loc__card .btn { width: 100%; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:last-child { grid-column: span 2; }
  .lb[open] { grid-template-columns: 1fr; padding: 70px 12px 12px; }
  .lb__prev, .lb__next { display: none; }
  .mbar {
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    padding: 8px; border-radius: 999px;
    background: rgba(15, 15, 14, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mbar .btn { --h: 48px; }
  .mbar.is-on { transform: none; }
  .cookie { bottom: 80px; }
  .foot__bottom { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* ---------- Ajustări ---------- */
.about { padding-bottom: clamp(60px, 7vw, 100px); }
.apt__plan--fill { padding: 0; background: #CBCCD0; }
.apt__plan--fill img { max-height: none; object-fit: cover; mix-blend-mode: normal; }
.life__chip { white-space: nowrap; }
.avail__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 600 1rem/1 var(--f-display); border-bottom: 2px solid var(--yellow); padding-bottom: 6px; }
.avail__more .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.avail__more:hover .ic { transform: translate(2px, -2px); }
.foot { margin: var(--inset); border-radius: var(--r-lg); }
.contact { margin-bottom: 0; }
.marquee-wrap { overflow: hidden; padding-block: 24px; margin-bottom: clamp(46px, 7vw, 96px); }
.marquee-wrap .marquee { margin: 0; }

/* ==========================================================================
   SUBPAGINI — componente comune
   ========================================================================== */

/* ---------- Navigație: pagina curentă ---------- */
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--yellow); }
.menu__links a[aria-current="page"] { color: var(--yellow); }
.menu.is-open .menu__links a:nth-child(8) { transition-delay: .43s; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 600 1rem/1 var(--f-display); border-bottom: 2px solid var(--yellow); padding-bottom: 6px; }
.more-link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more-link:hover .ic { transform: translateX(3px); }
.dark .more-link { color: #fff; }

/* ---------- Hero de subpagină ---------- */
.page-hero-shell { padding: var(--inset); }
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(540px, 74svh, 780px);
  border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.2s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: none; } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 10, 9, .55) 0%, rgba(10, 10, 9, 0) 28%, rgba(10, 10, 9, .1) 50%, rgba(10, 10, 9, .86) 100%),
    linear-gradient(90deg, rgba(10, 10, 9, .5) 0%, rgba(10, 10, 9, 0) 70%);
}
.page-hero__body { width: 100%; padding-top: 140px; padding-bottom: clamp(32px, 5vw, 60px); }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; }
.page-hero__title {
  font: 600 clamp(2.6rem, 6.6vw, 6.4rem)/.93 var(--f-display);
  letter-spacing: -.048em; max-width: 15ch; text-wrap: balance;
  animation: fadeUp 1s var(--ease) .1s both;
}
.page-hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; color: var(--yellow); }
.page-hero__lead { margin-top: 22px; max-width: 56ch; font-size: clamp(1rem, 1.2vw, 1.18rem); color: rgba(255, 255, 255, .82); animation: fadeUp 1s var(--ease) .25s both; }
.page-hero__aside { animation: fadeUp 1s var(--ease) .4s both; }
.page-hero__facts {
  display: flex; border-radius: var(--r);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.page-hero__facts > div { display: flex; flex-direction: column-reverse; padding: 16px 24px; }
.page-hero__facts > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.page-hero__facts dd { font: 600 1.9rem/1 var(--f-display); letter-spacing: -.03em; }
.page-hero__facts dt { margin-top: 6px; font-size: .78rem; color: rgba(255, 255, 255, .66); white-space: nowrap; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: fadeUp 1s var(--ease) .4s both; }

/* varianta fără imagine (pagini legale, 404) — nav-ul e solid din start */
.page-hero--light { background: var(--white); color: var(--ink); min-height: clamp(380px, 48svh, 520px); }
.page-hero--light::after { display: none; }
.page-hero--light .page-hero__lead { color: var(--muted); }
.page-hero--light .page-hero__title em { color: inherit; background: linear-gradient(transparent 64%, var(--yellow) 64%, var(--yellow) 90%, transparent 90%); }
.page-hero--light .crumbs { color: var(--muted); }
.page-hero--light .crumbs a:hover { color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; font: 500 .86rem/1 var(--f-display); color: rgba(255, 255, 255, .72); animation: fadeUp .9s var(--ease) both; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: inherit; opacity: .9; }

/* ---------- Text lung (pagini legale, articole) ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 2px; font-size: .92rem; }
.toc b { font: 600 .74rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { padding: 8px 12px; border-radius: 10px; color: var(--muted); border-left: 2px solid transparent; transition: background .2s, color .2s; }
.toc a:hover, .toc a.is-active { background: var(--white); color: var(--ink); }
.prose { max-width: 72ch; font-size: 1.04rem; line-height: 1.7; color: #3A3934; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font: 600 clamp(1.55rem, 2.5vw, 2.15rem)/1.12 var(--f-display); letter-spacing: -.03em; color: var(--ink); margin-top: 2.1em; scroll-margin-top: 110px; }
.prose h3 { font: 600 1.25rem/1.25 var(--f-display); letter-spacing: -.015em; color: var(--ink); margin-top: 1.7em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul { display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.prose ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: .5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 .8rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose blockquote { margin: 0; padding: 18px 22px; border-radius: 16px; background: var(--white); border-left: 3px solid var(--yellow); }

/* ---------- Bandă CTA de final ---------- */
.cta-band { padding: clamp(84px, 11vw, 150px) var(--inset) 0; }
.cta-band__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 32px 48px;
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--r-lg);
  background: var(--yellow); color: var(--ink);
}
.cta-band__card::after {
  content: ""; position: absolute; right: -2%; bottom: -8%; z-index: -1;
  width: clamp(180px, 26vw, 360px); aspect-ratio: 194 / 186; opacity: .16;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 100% / 13% 50% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 44% 100% / 18% 96% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 13% 70% no-repeat;
}
.cta-band .eyebrow { color: rgba(15, 15, 14, .65); }
.cta-band .eyebrow::before { filter: brightness(0); }
.cta-band .h2 em { background: none; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }
.cta-band p { margin-top: 18px; max-width: 46ch; color: rgba(15, 15, 14, .75); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cta-band .btn--ghost { border-color: rgba(15, 15, 14, .3); }
.cta-band .btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .25); }

/* ---------- Continuă explorarea ---------- */
.next { padding-top: clamp(84px, 11vw, 150px); }
.next__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.next__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  min-height: 300px; padding: 24px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
}
.next__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.next__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 9, .1) 30%, rgba(10, 10, 9, .8)); }
.next__card:hover img { transform: scale(1.06); }
.next__k { font: 600 .74rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.next__card b { font: 600 1.6rem/1.05 var(--f-display); letter-spacing: -.03em; }
.next__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s, transform .4s var(--ease); }
.next__go .ic { width: 18px; height: 18px; }
.next__card:hover .next__go { background: var(--yellow); color: var(--ink); transform: rotate(-45deg); }

/* ---------- Responsive subpagini ---------- */
@media (max-width: 1080px) {
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc b { width: 100%; }
  .toc a { background: var(--white); }
  .cta-band__card { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .next__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { min-height: 560px; }
  .page-hero__body { padding-top: 110px; }
  .page-hero__facts { width: 100%; }
  .page-hero__facts > div { flex: 1; padding: 14px 12px; }
  .page-hero__facts dd { font-size: 1.45rem; }
  .page-hero__facts dt { font-size: .7rem; white-space: normal; }
  .page-hero__ctas .btn { flex: 1 1 auto; }
  .page-hero--light { min-height: 0; }
  .next__grid { grid-template-columns: 1fr; }
  .next__card { min-height: 220px; }
  .cta-band__actions .btn { flex: 1 1 auto; }
}
.sec-head__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sec-head__btns .btn { margin-top: 0; }
.gallery .more-link { margin-top: 0; color: #fff; }

/* ==========================================================================
   POPUP OFERTĂ — injectat de main.js, o dată pe sesiune
   ========================================================================== */
.offer {
  /* lățimea ține cont și de înălțimea ecranului, ca afișul (464×640) să încapă întreg;
     pentru alt afiș din Admin → Ofertă, main.js pune proporția lui (--offer-ar = lățime / înălțime) */
  --offer-ar: .725;
  --offer-w: 440px;
  width: min(var(--offer-w), calc(100vw - 32px), calc((100dvh - 180px) * var(--offer-ar) + 20px));
  max-width: none; max-height: calc(100dvh - 24px);
  padding: 10px; border: 0;
  border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
  box-shadow: 0 0 0 1px rgba(250, 196, 29, .28), 0 40px 120px -30px rgba(250, 196, 29, .5), 0 30px 70px -20px rgba(0, 0, 0, .65);
  overflow: hidden auto;
}
.offer[open] { animation: offerIn .95s var(--ease) both; }
.offer::backdrop { background: rgba(15, 15, 14, .62); backdrop-filter: blur(10px) saturate(1.15); -webkit-backdrop-filter: blur(10px) saturate(1.15); }
.offer[open]::backdrop { animation: offerFade .5s ease both; }
.offer.is-closing { animation: offerOut .34s var(--ease-io) forwards; }
.offer.is-closing::backdrop { animation: offerFade .34s ease reverse forwards; }
.offer__card { outline: 0; }

.offer__media {
  position: relative; margin: 0;
  aspect-ratio: var(--offer-ar);
  border-radius: calc(var(--r-lg) - 10px);
  overflow: hidden;
  background: #EDE7DC;
}
.offer__media img { display: block; width: 100%; height: 100%; object-fit: cover; animation: offerZoom 1.8s var(--ease) both; }
/* un reflex de lumină trece peste afiș, ca un luciu auriu */
.offer__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 236, 170, .55) 50%, transparent 62%);
  mix-blend-mode: overlay;
  transform: translateX(-130%);
  animation: offerShine 6s var(--ease-io) 1.1s infinite;
}

.offer__x {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(15, 15, 14, .5); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .3s, transform .4s var(--ease);
  animation: offerFade .5s ease .5s both;
}
.offer__x:hover { background: var(--ink); transform: rotate(90deg); }
.offer__x .ic { width: 18px; height: 18px; }

.offer__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.offer__foot .btn { flex: 1 1 170px; animation: fadeUp .7s var(--ease) both; }
.offer__foot .btn:nth-child(1) { animation-delay: .35s; }
.offer__foot .btn:nth-child(2) { animation-delay: .45s; }

@keyframes offerIn { from { opacity: 0; transform: translateY(48px) scale(.9) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes offerOut { to { opacity: 0; transform: translateY(24px) scale(.95); } }
@keyframes offerFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes offerZoom { from { transform: scale(1.1); } to { transform: none; } }
@keyframes offerShine { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }

@media (prefers-reduced-motion: reduce) {
  .offer__media::after { display: none; }
}

/* ==========================================================================
   VIDEO — hero cu drona, filmul din galerie
   ========================================================================== */
/* cu 4 slide-uri, filele din hero se strâng ca să încapă lângă cifre */
.hero__tab { width: 150px; }
@media (max-width: 1240px) {
  .hero__tabs { gap: 16px; }
  .hero__tab { width: 128px; }
}

/* cadrele din dronă sunt mai luminoase decât fotografiile (beton alb, cer): le temperăm ca textul să rămână lizibil */
video.hero__slide { filter: brightness(.8) saturate(1.05); }
/* pe mobil textul acoperă aproape tot cadrul, deci îl întunecăm puțin mai mult */
@media (max-width: 760px) { video.hero__slide { filter: brightness(.68) saturate(1.05); } }

/* card de film în galerie: buton de redare pulsând + eticheta mereu vizibilă */
.g-film { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(15, 15, 14, .45)); }
.g-film i {
  display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  animation: filmPulse 2.4s var(--ease) infinite;
  transition: transform .45s var(--ease);
}
.g-film .ic { width: 26px; height: 26px; margin-left: 4px; }
.g-item--film:hover .g-film i { transform: scale(1.1); }
.g-item--film > span { opacity: 1; transform: none; }
@keyframes filmPulse { 0% { box-shadow: 0 0 0 0 rgba(250, 196, 29, .6); } 70%, 100% { box-shadow: 0 0 0 24px rgba(250, 196, 29, 0); } }

/* dialogul cu filmul refolosește lightbox-ul, cu o singură coloană */
.lb--film[open] { grid-template-columns: 1fr; }
.lb--film video {
  width: min(100%, calc((100dvh - 120px) * 16 / 9)); height: auto;
  aspect-ratio: 16 / 9; border-radius: 18px; background: #000;
  animation: zoomIn .4s var(--ease);
}

/* ==========================================================================
   Ajustări comune cerute de paginile noi
   ========================================================================== */
/* text doar pentru cititoare de ecran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* „continuă explorarea” stătea lipit de footer (footerul are doar marginea inset) */
.next { padding-bottom: clamp(36px, 5vw, 72px); }
/* cifrele rămân aliniate sus chiar dacă o etichetă trece pe două rânduri */
.hero__stats > div, .page-hero__facts > div { justify-content: flex-end; }
/* sub 360 px butonul galben din bara mobilă ieșea din ecran */
@media (max-width: 360px) {
  .mbar { grid-template-columns: auto minmax(0, 1fr); }
  .mbar .btn { min-width: 0; padding-inline: 14px; font-size: .86rem; }
}
