:root {
  --bg-1: #08111f;
  --bg-2: #0b1424;
  --bg-3: #0f1c31;
  --bg-4: #0a1220;
  --text: rgba(255,255,255,0.96);
  --text-soft: rgba(255,255,255,0.72);
  --text-faint: rgba(255,255,255,0.46);
  --border: rgba(255,255,255,0.12);
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.08);
  --black-soft: rgba(0,0,0,0.14);
  --shadow-xl: 0 30px 120px rgba(0,0,0,0.38);
  --shadow-lg: 0 20px 70px rgba(0,0,0,0.24);
  --radius-xl: 36px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --accent-sky: #38bdf8;
  --accent-red: #f26867;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.14), transparent 22%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 32%, var(--bg-3) 64%, var(--bg-4) 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.page {
  width: min(var(--container), calc(100% - 32px));
  margin: 24px auto;
}

.shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.16), transparent 20%),
    radial-gradient(circle at 85% 0%, rgba(125,211,252,0.16), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.08), transparent 18%);
}

.section, .topbar {
  position: relative;
  z-index: 1;
  padding-inline: 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-badge {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 72px;
}

.brand-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
}

.brand-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

h1, h2, h3, p { margin: 0; }

.title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: #fff;
  color: #08111f;
  box-shadow: 0 10px 30px rgba(255,255,255,0.08);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(2px) translateY(-1px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-secondary .btn-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-secondary:hover .btn-icon {
  transform: translateY(-1px) scale(1.05);
  opacity: 0.95;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.spark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(56,189,248,0.7));
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
}

.hero-copy .headline {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 680;
}

.hero-copy .lead {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
  color: var(--text-soft);
}

.stats {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.glass-card {
  border: 1px solid var(--border);
  background: var(--panel-strong);
  border-radius: 30px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.stat-card {
  width: fit-content;
  min-width: unset;
  flex: 0 0 auto;
  padding: 16px 22px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.18);
}

.stat-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.10);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

/* PROIECTE - o casă centrată */
.house-icon::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
  border-radius: 2px;
}

.house-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 7px;
  left: 50%;
  top: 59%;
  transform: translate(-50%, -50%);
  background: rgba(11,20,36,0.55);
  border-radius: 2px;
  z-index: 2;
}

/* IMOBILE - 2 case centrate ca grup */
.homes-icon {
  position: relative;
  overflow: hidden;
}

.homes-icon .home-back,
.homes-icon .home-front,
.homes-icon .home-door {
  position: absolute;
  display: block;
}

/* casa din spate */
.homes-icon .home-back {
  width: 12px;
  height: 12px;
  left: 56%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.68);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
  border-radius: 2px;
}

/* casa din față */
.homes-icon .home-front {
  width: 15px;
  height: 15px;
  left: 41%;
  top: 56%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.95);
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
  border-radius: 2px;
  z-index: 2;
}

/* ușa casei din față */
.homes-icon .home-door {
  width: 4.5px;
  height: 7px;
  left: 41%;
  top: 66%;
  transform: translate(-50%, -50%);
  background: rgba(11,20,36,0.55);
  border-radius: 2px;
  z-index: 3;
}

/* ORAȘ - pin centrat perfect */
.map-icon::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-45deg);
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 999px 999px 999px 0;
}

.map-icon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.stat-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.20), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  pointer-events: none;
}

.hero-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.hero-panel p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 14px;
}

.stack {
  display: grid;
  gap: 12px;
}

.mini-card {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 16px;
}

.mini-card .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.mini-card .v {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  word-break: break-word;
}

.with-ghost-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 12px;
  row-gap: 18px;
}

.ghost-city {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.ghost-city-primary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.22);
}

.ghost-name-primary {
  color: #ffffff;
}

.ghost-name {
  color: rgba(255,255,255,0.20);
  font-weight: 600;
  white-space: nowrap;
}

.ghost-city.ghost-city-primary {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.ghost-city.ghost-city-primary .ghost-name,
.ghost-city.ghost-city-primary .ghost-name-primary {
  color: #ffffff !important;
  opacity: 1 !important;
}

.ghost-name-cluj {
  color: rgba(255,255,255,0.44);
}

.ghost-soon {
  position: absolute;
  top: -8px;
  right: 10px;
  left: auto;
  transform: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.72);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: none;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.ghost-location-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-left: 3px;
  color: inherit;
  vertical-align: -2px;
  animation: location-pin-float 1.5s ease-in-out infinite;
}

.ghost-location-pin svg {
  display: block;
  width: 11px;
  height: 11px;
}

.ghost-location-pin:hover,
.ghost-location-pin:focus-visible {
  color: rgba(255,255,255,0.96);
  outline: none;
}

@keyframes location-pin-float {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(1.5px); }
}

@media (prefers-reduced-motion: reduce) {
  .ghost-location-pin { animation: none; }
}

.section {
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.section-note {
  color: rgba(255,255,255,0.60);
  font-size: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.10), rgba(255,255,255,0.05));
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* IN DERULARE */
.project-card.glow-progress::before {
  background:
    radial-gradient(circle at top left, rgba(245,158,11,0.34), transparent 36%),
    radial-gradient(circle at bottom right, rgba(245,158,11,0.12), transparent 30%);
}

.project-card.glow-done::before {
  background:
    radial-gradient(circle at top left, rgba(16,185,129,0.30), transparent 36%),
    radial-gradient(circle at bottom right, rgba(16,185,129,0.12), transparent 30%);
}

.project-card.glow-next::before {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.30), transparent 36%),
    radial-gradient(circle at bottom right, rgba(56,189,248,0.12), transparent 30%);
}

.project-card.glow-sold::before {
  background:
    radial-gradient(circle at top left, rgba(244,63,67,0.32), transparent 36%),
    radial-gradient(circle at bottom right, rgba(244,63,67,0.12), transparent 30%);
}

.project-card > * { position: relative; z-index: 1; }

.project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.badge-status-progress { background: rgba(245,158,11,0.18); color: #fde68a; border-color: rgba(252,211,77,0.30); }

.badge-status-done {
  background: rgba(16,185,129,0.18);
  color: #d1fae5;
  border-color: rgba(110,231,183,0.28);
}
.badge-status-next { background: rgba(56,189,248,0.18); color: #e0f2fe; border-color: rgba(125,211,252,0.28); }

.badge-status-sold {
  background: rgba(244, 63, 67, 0.25);
  color: #ffffff;
  border-color: rgba(255, 95, 98, 0.65);
}

.badge-type {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.68);
}

.project-name {
  font-size: 32px;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.project-description {
  margin-top: 10px;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.stage-box {
  width: fit-content;
  min-width: unset;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  border-radius: 18px;
  padding: 12px 16px;
  text-align: right;
  margin-left: auto;
}

.stage-box .k,
.progress-card .k,
.info-box .k,
.map-float .k,
.contact-copy .k,
.footer .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.stage-box .v { margin-top: 4px; font-size: 20px; font-weight: 650; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.info-box {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 16px;
}

.info-box .v { margin-top: 8px; font-size: 14px; font-weight: 500; }

.progress-card {
  margin-top: 20px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.14);
  border-radius: 26px;
  padding: 18px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.progress-row .v { font-size: 26px; font-weight: 650; }

.progress-note {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.bar {
  position: relative;
  height: 12px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: visible;
}

.bar > span {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.78) 45%,
    rgba(255,255,255,0.52) 100%
  );
  transition: width 0.7s ease;
  overflow: hidden; /* taie sweep-ul exact la 82% */
  z-index: 2;
}

/* glow exterior fin pe toată zona progresului */
.bar > span::before {
  content: "";
  position: absolute;
  inset: -5px 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.03) 22%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.03) 78%,
    rgba(255,255,255,0.00) 100%
  );
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

/* sweep-ul care se mișcă */
.bar > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -20%;
  width: 20%;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.015) 12%,
    rgba(255,255,255,0.05) 28%,
    rgba(255,255,255,0.12) 46%,
    rgba(255,255,255,0.24) 62%,
    rgba(255,255,255,0.46) 76%,
    rgba(255,255,255,0.95) 88%,
    rgba(255,255,255,1.00) 93%,
    rgba(255,255,255,0.00) 100%
  );
  filter: blur(3.5px);
  opacity: 1;
  box-shadow:
    0 0 10px rgba(255,255,255,0.28),
    0 0 20px rgba(255,255,255,0.16);
  animation: progressSweep 7.2s linear infinite;
  pointer-events: none;
}

/* ceață externă, subtilă, în afara barei */
.bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--progress-width, 0%);
  height: 26px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.015) 18%,
    rgba(255,255,255,0.04) 50%,
    rgba(255,255,255,0.015) 82%,
    rgba(255,255,255,0.00) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 1;
}

@keyframes progressSweep {
  0% {
    left: -24%;
    opacity: 0;
  }
  8% {
    opacity: 0.95;
  }
  92% {
    opacity: 0.95;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.map-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.07);
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.24);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.map-surface {
  position: relative;
  overflow: hidden;
  height: 420px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(circle at 20% 30%, rgba(93,163,119,0.38), transparent 18%),
    radial-gradient(circle at 68% 44%, rgba(99,151,87,0.26), transparent 22%),
    radial-gradient(circle at 82% 70%, rgba(132,107,70,0.25), transparent 18%),
    linear-gradient(135deg, #162338 0%, #0e1727 50%, #14273b 100%);
}

.map-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.road, .road-v {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
}

.road { height: 2px; }
.road-v { width: 2px; }

.road.one { left: 6%; top: 18%; width: 56%; transform: rotate(-18deg); }
.road.two { left: 24%; top: 50%; width: 54%; transform: rotate(7deg); }
.road-v.one { left: 56%; top: 15%; height: 58%; transform: rotate(11deg); background: rgba(255,255,255,0.10); }

.map-topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  z-index: 2;
}

.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.map-link {
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.map-link:hover,
.map-link:focus-visible {
  background: #394355;
  color: #fff;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 2;
  transition: transform 0.22s ease;
}

.pin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scale(1.55);
  opacity: 0.7;
  filter: blur(12px);
}

.pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
}

.pin:hover,
.pin.active { transform: translate(-50%, -50%) scale(1.12); }

.pin.amber { color: var(--accent-amber); }
.pin.amber::before { background: var(--accent-amber); }
.pin.green { color: var(--accent-green); }
.pin.green::before { background: var(--accent-green); }
.pin.sky { color: var(--accent-sky); }
.pin.sky::before { background: var(--accent-sky); }
.pin.red { color: var(--accent-red); }
.pin.red::before { background: var(--accent-red); }

.pin-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.82);
  opacity: 0;
  transition: 0.2s ease;
  pointer-events: none;
}

.pin:hover .pin-label,
.pin.active .pin-label { opacity: 1; }

.map-float {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.30);
  border-radius: 24px;
  padding: 16px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.map-float-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.map-float .name { margin-top: 6px; font-size: 22px; font-weight: 650; }
.map-float .loc { margin-top: 4px; color: var(--text-soft); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.contact-copy p {
  margin-top: 12px;
  max-width: 860px;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.85;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.separator {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.10);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .page { width: min(100% - 18px, var(--container)); margin: 10px auto; }
  .section, .topbar { padding-inline: 16px; }
  .topbar, .section { padding-top: 18px; padding-bottom: 18px; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .tabs { grid-template-columns: 1fr; }
  .project-card { padding: 18px; }
  .project-head { flex-direction: column; }
  .stage-box { width: 100%; text-align: left; margin-left: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .project-name { font-size: 26px; }
  .map-surface { height: 380px; }
  .map-float-row, .footer { flex-direction: column; align-items: flex-start; }
  .separator { display: none; }
  .stats { flex-direction: column; }
}
.project-top-right {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-left: auto;
}

.availability-box {
  width: fit-content;
  min-width: unset;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  border-radius: 18px;
  padding: 12px 16px;
  text-align: right;
}

.availability-box .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.availability-box .v {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 650;
}
@media (max-width: 760px) {
  .project-top-right {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .availability-box,
  .stage-box {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .stat-card {
    width: 100%;
    min-width: 0;
  }

  .stat-card-inner {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .with-ghost-tags {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .ghost-city {
    width: 100%;
    justify-content: center;
  }

 .map-surface {
    height: 460px;
  }

  .map-float {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .map-float .name {
    font-size: 18px;
  }

  .map-float .loc {
    font-size: 13px;
  }
  .tabs {
  grid-template-columns: 1fr;
  gap: 12px;
}

.tab-btn {
  min-height: 74px;
  padding: 18px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.tab-label {
  display: block;
  white-space: normal;
  line-height: 1.2;
  max-width: 140px;
  margin: 0 auto;
}

.tab-btn.tab-has-stock .tab-stock {
  top: -8px !important;
  right: 12px !important;
  font-size: 9px !important;
  padding: 3px 8px !important;
}
}

.tabs {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
}

.tab-btn {
  min-height: 56px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 500;
  position: relative;
  white-space: normal;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.12);
}

.tab-btn.active {
  background: #fff;
  color: #0b1424;
  border-color: rgba(255,255,255,0.12);
}

.tab-btn.tab-has-stock {
  overflow: visible !important;
}

.tab-label {
  display: inline-block;
}

.tab-stock {
  position: absolute !important;
  top: -12px !important;
  right: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  min-height: 22px !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  z-index: 20 !important;
}

.tab-stock-green {
  background: #10b981 !important;
  border: 1px solid rgba(255,255,255,0.38) !important;
  box-shadow:
    0 0 0 1px rgba(16,185,129,0.45),
    0 0 18px rgba(16,185,129,0.45),
    0 0 30px rgba(16,185,129,0.28) !important;
}

.tab-stock-red {
  background: #ef4444 !important;
  border: 1px solid rgba(255,255,255,0.38) !important;
  box-shadow:
    0 0 0 1px rgba(239,68,68,0.45),
    0 0 18px rgba(239,68,68,0.45),
    0 0 30px rgba(239,68,68,0.28) !important;
}

.tab-stock-gray {
  background: #6b7280 !important;
  border: 1px solid rgba(255,255,255,0.30) !important;
  box-shadow:
    0 0 0 1px rgba(107,114,128,0.38),
    0 0 14px rgba(107,114,128,0.24),
    0 0 24px rgba(107,114,128,0.18) !important;
}

.tab-stock-blue {
  background: #4d82a0 !important;
  border: 1px solid rgba(255,255,255,0.30) !important;
  box-shadow:
    0 0 0 1px rgba(76,126,155,0.38),
    0 0 14px rgba(76,126,155,0.24),
    0 0 24px rgba(76,126,155,0.18) !important;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  opacity: 0;
  animation: tabPulseStrong 1.4s ease-out infinite;
}

.pulse-ring-green::after {
  border: 2px solid rgba(16,185,129,0.65) !important;
  box-shadow: 0 0 18px rgba(16,185,129,0.35) !important;
}

.pulse-ring-red::after {
  border: 2px solid rgba(239,68,68,0.65) !important;
  box-shadow: 0 0 18px rgba(239,68,68,0.35) !important;
}

.pulse-ring-gray::after {
  border: 2px solid rgba(107,114,128,0.55) !important;
  box-shadow: 0 0 18px rgba(107,114,128,0.28) !important;
}

.pulse-ring-blue::after {
  border: 2px solid rgba(76,126,155,0.55) !important;
  box-shadow: 0 0 18px rgba(81,24,42,0.28) !important;
}

@keyframes tabPulseStrong {
  0% {
    transform: scale(0.94);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .tabs {
    width: 100%;
  }

  .tab-btn {
    padding-inline: 14px;
    font-size: 15px;
  }
}

/* Footer efect link */
.footer-cta-link {
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
}

.footer-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-cta-link:hover::after {
  transform: scaleX(1);
}

.footer-cta-link:hover {
  color: #ffffff;
}

.spark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255,255,255,1) 0%,
    rgba(220,245,255,0.98) 26%,
    rgba(125,211,252,0.90) 52%,
    rgba(56,189,248,0.58) 72%,
    rgba(56,189,248,0.00) 100%
  );
  box-shadow:
    0 0 8px rgba(125,211,252,0.32),
    0 0 18px rgba(56,189,248,0.20);
  animation: sparkGlowPulse 2.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow, filter, opacity;
}

@keyframes sparkGlowPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.88;
    filter: brightness(0.96);
    box-shadow:
      0 0 6px rgba(125,211,252,0.20),
      0 0 14px rgba(56,189,248,0.12);
  }

  50% {
    transform: scale(1.22);
    opacity: 1;
    filter: brightness(1.18);
    box-shadow:
      0 0 14px rgba(125,211,252,0.50),
      0 0 30px rgba(56,189,248,0.34),
      0 0 44px rgba(56,189,248,0.18);
  }

  100% {
    transform: scale(0.92);
    opacity: 0.88;
    filter: brightness(0.96);
    box-shadow:
      0 0 6px rgba(125,211,252,0.20),
      0 0 14px rgba(56,189,248,0.12);
  }
}

.error-wrap {
      min-height: calc(100vh - 48px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .error-card {
      width: min(920px, 100%);
      padding: 42px;
      text-align: center;
      border: 1px solid var(--border);
      border-radius: 32px;
      background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
      box-shadow: var(--shadow-xl);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      position: relative;
      overflow: hidden;
    }

    .error-card::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 24%);
    }

    .error-card > * {
      position: relative;
      z-index: 1;
    }

    .error-code {
      font-size: clamp(72px, 14vw, 148px);
      line-height: 0.95;
      letter-spacing: -0.06em;
      font-weight: 750;
      margin-bottom: 16px;
    }

    .error-title {
      font-size: clamp(28px, 5vw, 52px);
      line-height: 1;
      letter-spacing: -0.04em;
      font-weight: 680;
      margin-bottom: 18px;
    }

    .error-text {
      max-width: 700px;
      margin: 0 auto;
      color: var(--text-soft);
      font-size: clamp(15px, 2vw, 19px);
      line-height: 1.8;
    }

    .error-actions {
      margin-top: 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    .error-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      padding: 10px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.72);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-size: 12px;
    }

    .error-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: radial-gradient(
        circle,
        rgba(255,255,255,0.98) 0%,
        rgba(186,230,253,0.95) 38%,
        rgba(56,189,248,0.58) 68%,
        rgba(56,189,248,0.00) 100%
      );
      box-shadow:
        0 0 8px rgba(125,211,252,0.34),
        0 0 18px rgba(56,189,248,0.16);
    }

    @media (max-width: 760px) {
      .error-wrap {
        min-height: calc(100vh - 20px);
      }

    .error-card {
      padding: 26px 18px;
      border-radius: 26px;
    }
  }

.error-theme-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}

@media (max-width: 520px) {
.theme-toggle.error-theme-toggle {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 16px;
  }
}
	
	/* Comutare limba */
.lang-switch-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding-left: 0;
  flex: 0 0 auto;
}

.lang-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.10);
  flex: 0 0 1px;
  margin-inline: 5px;
  align-self: center;
}

.lang-switch-vertical {
  position: relative;
  width: 56px;
  height: 46px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lang-half {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.82);
  user-select: none;
  transition: color 0.2s ease;
}

.lang-half.active {
  color: #ffffff;
}

.lang-half-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
  transition: transform 0.22s ease, border-radius 0.22s ease;

  background: rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
}

.lang-switch-vertical.lang-ro .lang-half-bg {
  top: 0;
  transform: translateY(0);
  border-radius: 18px 18px 0 0;
}

.lang-switch-vertical.lang-en .lang-half-bg {
  top: 0;
  transform: translateY(100%);
  border-radius: 0 0 18px 18px;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(370px, calc(100vw - 48px));
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-content {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.cookie-banner-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 112% 108%,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.08) 14%,
      rgba(255,255,255,0.05) 28%,
      rgba(255,255,255,0.025) 42%,
      rgba(255,255,255,0.00) 62%
    );
}

.cookie-banner-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}

.cookie-banner-content > * {
  position: relative;
  z-index: 1;
}

.cookie-banner-title {
  margin: 0 0 14px 0;
  padding-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner-title::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 16px;
  background: rgba(255,255,255,0.10);
}

.cookie-title-arrow {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  opacity: 0.92;
}

.cookie-banner-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: nowrap;
}

.cookie-btn {
  border-radius: 18px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: pointer;
  min-height: 46px;

}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn-accept {
  position: relative;
  z-index: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: #fff;
  color: #08111f;
  box-shadow: 0 10px 30px rgba(255,255,255,0.08);
}

.cookie-btn-accept::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 108% 112%,
      rgba(16,185,129,0.18) 0%,
      rgba(16,185,129,0.11) 18%,
      rgba(16,185,129,0.06) 34%,
      rgba(16,185,129,0.025) 48%,
      rgba(16,185,129,0.00) 66%
    );
  z-index: 0;
}

.cookie-btn-accept:hover {
  background: #fff;
}

.cookie-btn-decline {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.cookie-btn-decline::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 108% 112%,
      rgba(239,68,68,0.18) 0%,
      rgba(239,68,68,0.11) 18%,
      rgba(239,68,68,0.06) 34%,
      rgba(239,68,68,0.025) 48%,
      rgba(239,68,68,0.00) 66%
    );
  z-index: 0;
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.cookie-title-arrow {
  filter: brightness(0) invert(1);
}

.separator-cookies {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.10);
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-banner-content {
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .cookie-banner-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .cookie-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 14px;
  }
}

/* Contact form modal */
body.contact-modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 17, 0.58);
  backdrop-filter: blur(14px) saturate(0.9);
  -webkit-backdrop-filter: blur(14px) saturate(0.9);
}

.contact-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  color: var(--text);
  background-color: #1c2534;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,0.15), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(125,211,252,0.14), transparent 32%),
    linear-gradient(135deg, #263140 0%, #1c2534 50%, #18283b 100%);
  box-shadow: 0 32px 100px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(28px) saturate(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(1.05);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s ease;
}

.contact-modal.is-open .contact-dialog {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.06);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.11);
  transform: translateY(-1px);
}

.contact-modal-header {
  padding-right: 40px;
}

.contact-modal-header h2,
.contact-success-view h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.contact-modal-header p,
.contact-success-view p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label {
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 15px;
  outline: none;
  color: #fff;
  background: rgba(255,255,255,0.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input {
  height: 48px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 116px;
  padding: 13px 15px;
  line-height: 1.55;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255,255,255,0.34);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(56,189,248,0.58);
  background: rgba(255,255,255,0.075);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.10);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  min-height: 0;
  margin: -3px 0 0;
  color: #fca5a5;
  font-size: 12px;
  line-height: 1.45;
}

.contact-form-status:not(:empty) {
  min-height: 18px;
}

.contact-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 1px;
  border: 0;
  border-radius: 16px;
}

.contact-submit-arrow {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.contact-submit:hover .contact-submit-arrow {
  transform: translate(2px, -2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-success-view {
  min-height: 340px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px 4px;
}

.contact-modal.is-success .contact-form-view {
  display: none;
}

.contact-modal.is-success .contact-success-view {
  display: flex;
}

.contact-success-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(110,231,183,0.34);
  border-radius: 22px;
  color: #a7f3d0;
  background: rgba(16,185,129,0.14);
  box-shadow: 0 16px 42px rgba(16,185,129,0.10), inset 0 1px 0 rgba(255,255,255,0.08);
  font-size: 32px;
}

.contact-success-close {
  min-width: 140px;
  margin-top: 24px;
}

@media (max-width: 520px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-dialog {
    max-height: calc(100vh - 24px);
    padding: 25px 20px 22px;
    border-radius: 24px;
  }

  .contact-modal-header h2,
  .contact-success-view h2 {
    font-size: 23px;
  }

  .contact-modal-close {
    top: 13px;
    right: 13px;
  }
}

/* Light / Dark theme switch */
.theme-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(255,255,255,0.11);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(56,189,248,0.72);
  outline-offset: 3px;
}

.theme-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.theme-icon svg {
  width: 19px;
  height: 19px;
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-18deg) scale(0.72);
}

:root[data-theme="light"] {
  --bg-1: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #eef3f8;
  --bg-4: #ffffff;
  --text: rgba(15,23,42,0.96);
  --text-soft: rgba(15,23,42,0.72);
  --text-faint: rgba(15,23,42,0.50);
  --border: rgba(15,23,42,0.13);
  --panel: rgba(255,255,255,0.82);
  --panel-strong: rgba(255,255,255,0.90);
  --black-soft: rgba(15,23,42,0.08);
  --shadow-xl: 0 30px 100px rgba(15,23,42,0.13);
  --shadow-lg: 0 20px 60px rgba(15,23,42,0.11);
  color-scheme: light;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at top, rgba(125,211,252,0.18), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 34%, #edf3f8 68%, #ffffff 100%);
}

:root[data-theme="light"] .shell {
  background: rgba(255,255,255,0.78);
}

:root[data-theme="light"] .error-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94), rgba(241,245,249,0.90));
}

:root[data-theme="light"] .error-card::before {
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(15,23,42,0.045), transparent 24%);
}

:root[data-theme="light"] .error-badge {
  border-color: rgba(15,23,42,0.13);
  background: rgba(241,245,249,0.92);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
}

:root[data-theme="light"] .shell::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(15,23,42,0.055), transparent 20%),
    radial-gradient(circle at 85% 0%, rgba(56,189,248,0.13), transparent 19%),
    radial-gradient(circle at 100% 100%, rgba(15,23,42,0.035), transparent 18%);
}

:root[data-theme="light"] .brand-badge {
  border-color: rgba(15,23,42,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.92));
  box-shadow: 0 10px 30px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

:root[data-theme="light"] .btn-primary {
  border-color: rgba(15,23,42,0.16);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15,23,42,0.10);
}

:root[data-theme="light"] .btn-secondary,
:root[data-theme="light"] .theme-toggle {
  border-color: rgba(15,23,42,0.15);
  background: rgba(255,255,255,0.76);
  color: #0f172a;
}

:root[data-theme="light"] .btn-secondary:hover,
:root[data-theme="light"] .theme-toggle:hover {
  background: rgba(226,232,240,0.82);
  color: #020617;
}

:root[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(18deg) scale(0.72);
}

:root[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

:root[data-theme="light"] .chip,
:root[data-theme="light"] .icon-box {
  border-color: rgba(15,23,42,0.13);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.72);
}

:root[data-theme="light"] .house-icon::before,
:root[data-theme="light"] .homes-icon .home-front,
:root[data-theme="light"] .map-icon::after {
  background: rgba(15,23,42,0.88);
}

:root[data-theme="light"] .homes-icon .home-back {
  background: rgba(15,23,42,0.58);
}

:root[data-theme="light"] .house-icon::after,
:root[data-theme="light"] .homes-icon .home-door {
  background: rgba(255,255,255,0.92);
}

:root[data-theme="light"] .map-icon::before {
  border-color: rgba(15,23,42,0.88);
}

:root[data-theme="light"] .hero-panel::before {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(241,245,249,0.52));
}

:root[data-theme="light"] .mini-card,
:root[data-theme="light"] .stage-box,
:root[data-theme="light"] .availability-box,
:root[data-theme="light"] .info-box,
:root[data-theme="light"] .progress-card {
  background: rgba(241,245,249,0.78);
}

:root[data-theme="light"] .ghost-city {
  border-color: rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.76);
}

:root[data-theme="light"] .ghost-city.ghost-city-primary {
  border-color: rgba(15,23,42,0.22) !important;
  background: rgba(255,255,255,0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

:root[data-theme="light"] .ghost-city.ghost-city-primary .ghost-name,
:root[data-theme="light"] .ghost-city.ghost-city-primary .ghost-name-primary {
  color: #0f172a !important;
}

:root[data-theme="light"] .ghost-name {
  color: rgba(15,23,42,0.30);
}

:root[data-theme="light"] .ghost-name-cluj {
  color: rgba(15,23,42,0.50);
}

:root[data-theme="light"] .ghost-soon {
  border-color: rgba(15,23,42,0.13);
  background: rgba(255,255,255,0.88);
  color: rgba(15,23,42,0.72);
}

:root[data-theme="light"] .ghost-location-pin:hover,
:root[data-theme="light"] .ghost-location-pin:focus-visible,
:root[data-theme="light"] .section-note,
:root[data-theme="light"] .contact-copy p,
:root[data-theme="light"] .footer {
  color: rgba(15,23,42,0.68);
}

:root[data-theme="light"] .project-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94), rgba(241,245,249,0.88));
}

:root[data-theme="light"] .badge-status-progress {
  color: #92400e;
}

:root[data-theme="light"] .badge-status-done {
  color: #047857;
}

:root[data-theme="light"] .badge-status-next {
  color: #0369a1;
}

:root[data-theme="light"] .badge-type {
  border-color: rgba(15,23,42,0.14);
  background: rgba(15,23,42,0.055);
  color: rgba(15,23,42,0.68);
}

:root[data-theme="light"] .bar {
  background: rgba(15,23,42,0.10);
}

:root[data-theme="light"] .bar > span {
  background: linear-gradient(90deg, rgba(15,23,42,0.90), rgba(30,41,59,0.74), rgba(71,85,105,0.52));
}

:root[data-theme="light"] .pulse-btn::before {
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.12), inset 0 0 24px rgba(15,23,42,0.025);
}

:root[data-theme="light"] .pulse-btn::after {
  background: linear-gradient(90deg, transparent, rgba(15,23,42,0.04), rgba(15,23,42,0.10), rgba(15,23,42,0.04), transparent);
}

:root[data-theme="light"] .map-card {
  background: rgba(255,255,255,0.86);
  box-shadow: 0 20px 70px rgba(15,23,42,0.12);
}

:root[data-theme="light"] .map-surface {
  border-color: rgba(15,23,42,0.11);
  background:
    radial-gradient(circle at 20% 30%, rgba(93,163,119,0.22), transparent 19%),
    radial-gradient(circle at 68% 44%, rgba(99,151,87,0.17), transparent 23%),
    radial-gradient(circle at 82% 70%, rgba(132,107,70,0.14), transparent 19%),
    linear-gradient(135deg, #f8fafc 0%, #e7edf4 50%, #f1f5f9 100%);
}

:root[data-theme="light"] .map-surface::before {
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
}

:root[data-theme="light"] .road,
:root[data-theme="light"] .road-v.one {
  background: rgba(15,23,42,0.13);
}

:root[data-theme="light"] .map-pill,
:root[data-theme="light"] .map-float,
:root[data-theme="light"] .pin-label {
  border-color: rgba(15,23,42,0.13);
  background: rgba(255,255,255,0.78);
  color: rgba(15,23,42,0.80);
}

:root[data-theme="light"] .map-link:hover,
:root[data-theme="light"] .map-link:focus-visible {
  background: #e2e8f0;
  color: #020617;
}

:root[data-theme="light"] .tabs {
  background: rgba(15,23,42,0.055);
}

:root[data-theme="light"] .tab-btn {
  background: rgba(255,255,255,0.66);
  color: rgba(15,23,42,0.72);
}

:root[data-theme="light"] .tab-btn:hover {
  background: rgba(255,255,255,0.92);
}

:root[data-theme="light"] .tab-btn.active {
  border-color: rgba(15,23,42,0.13);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

:root[data-theme="light"] .footer-cta-link,
:root[data-theme="light"] .footer-cta-link:hover {
  color: #0f172a;
}

:root[data-theme="light"] .footer-cta-link::after {
  background-color: #0f172a;
}

:root[data-theme="light"] .lang-divider,
:root[data-theme="light"] .separator,
:root[data-theme="light"] .separator-cookies,
:root[data-theme="light"] .cookie-banner-title::after {
  background: rgba(15,23,42,0.12);
}

:root[data-theme="light"] .lang-switch-vertical {
  border-color: rgba(15,23,42,0.15);
  background: rgba(255,255,255,0.72);
}

:root[data-theme="light"] .lang-half {
  color: rgba(15,23,42,0.72);
}

:root[data-theme="light"] .lang-half.active {
  color: #0f172a;
}

:root[data-theme="light"] .lang-half-bg {
  border-top-color: rgba(15,23,42,0.10);
  border-bottom-color: rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.08);
}

:root[data-theme="light"] .cookie-banner-content {
  border-color: rgba(255,255,255,0.82);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.66), rgba(226,232,240,0.40));
  box-shadow:
    0 24px 60px rgba(15,23,42,0.16),
    inset 0 1px 0 rgba(255,255,255,0.94),
    inset 0 -1px 0 rgba(148,163,184,0.16);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
}

:root[data-theme="light"] .cookie-btn-accept {
  border-color: rgba(15,23,42,0.14);
}

:root[data-theme="light"] .cookie-btn-decline {
  border-color: rgba(15,23,42,0.14);
  background: rgba(15,23,42,0.055);
  color: #0f172a;
}

:root[data-theme="light"] .cookie-btn-decline:hover {
  background: rgba(15,23,42,0.09);
  color: #020617;
}

:root[data-theme="light"] .cookie-title-arrow {
  filter: none;
}

:root[data-theme="light"] .contact-modal-backdrop {
  background: rgba(226,232,240,0.58);
}

:root[data-theme="light"] .contact-dialog {
  border-color: rgba(15,23,42,0.14);
  color: var(--text);
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(15,23,42,0.055), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(56,189,248,0.13), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #edf4fa 100%);
  box-shadow: 0 32px 100px rgba(15,23,42,0.20), inset 0 1px 0 rgba(255,255,255,0.94);
}

:root[data-theme="light"] .contact-modal-close {
  border-color: rgba(15,23,42,0.13);
  color: rgba(15,23,42,0.72);
  background: rgba(15,23,42,0.055);
}

:root[data-theme="light"] .contact-modal-close:hover {
  color: #020617;
  background: rgba(15,23,42,0.10);
}

:root[data-theme="light"] .contact-field label {
  color: rgba(15,23,42,0.76);
}

:root[data-theme="light"] .contact-field input,
:root[data-theme="light"] .contact-field textarea {
  border-color: rgba(15,23,42,0.13);
  color: #0f172a;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
}

:root[data-theme="light"] .contact-field input::placeholder,
:root[data-theme="light"] .contact-field textarea::placeholder {
  color: rgba(15,23,42,0.38);
}

:root[data-theme="light"] .contact-field input:focus,
:root[data-theme="light"] .contact-field textarea:focus {
  border-color: rgba(56,189,248,0.62);
  background: #ffffff;
}

@media (max-width: 767px) {
  :root[data-theme="light"] .footer-anpc-line {
    border-top-color: rgba(15,23,42,0.12);
  }
}

/* Error labels — keep this final override after all theme rules */
html[data-theme="light"] body .error-card .error-badge {
  background: #e5e9ef !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92) !important;
}

.pulse-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pulse-btn::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -32%;
  width: 42%;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.03) 18%,
    rgba(255,255,255,0.08) 38%,
    rgba(255,255,255,0.16) 52%,
    rgba(255,255,255,0.08) 66%,
    rgba(255,255,255,0.03) 82%,
    rgba(255,255,255,0.00) 100%
  );
  filter: blur(10px);
  opacity: 0.9;
  animation: innerSweepPulse 3.6s ease-in-out infinite;
}

.pulse-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    inset 0 0 24px rgba(255,255,255,0.03);
}

@keyframes innerSweepPulse {
  0% {
    left: -42%;
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  92% {
    opacity: 0.9;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* ANPC SAL SOL */
.footer-top-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-legal-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: right;
}

.footer-anpc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.footer-anpc-under-legal {
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-anpc-line {
  display: none;
}

.anpc-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: auto;
}

.anpc-link {
  display: inline-block;
  width: 105px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

.anpc-sal {
  background-image: url("/imagini/anpc-sal.svg");
}

.anpc-sol {
  background-image: url("/imagini/anpc-sol.svg");
}

@media (max-width: 1024px) {
  .footer-top-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .footer-legal-wrap {
    width: 100%;
    text-align: center !important;
  }

  .footer-legal-wrap p {
    text-align: center;
    line-height: 1.7;
  }

  .footer-anpc-row {
    justify-content: center !important;
  }

  .footer-anpc-under-legal {
    display: flex;
    flex-direction: column;
    align-items: center !important;
  }

  .anpc-links {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  .footer-top-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .footer-legal-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }

  .footer-legal-wrap p,
  .footer-legal-wrap div {
    text-align: center !important;
  }

  .footer-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
  }

  .footer-anpc-row {
    width: 100%;
    display: flex;
    justify-content: center !important;
    margin-top: 0;
  }

  .footer-anpc-under-legal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;
  }

  .footer-anpc-line {
    display: block;
    width: min(280px, 70%);
    height: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    margin: 0 0 14px 0;
  }

  .anpc-links {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .anpc-link {
    width: 145px;
    height: 34px;
    flex: 0 0 145px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

/* Mobile header: one balanced row that fills the available width. */
@media (max-width: 760px) {
  .topbar .actions {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 6px;
  }

  .topbar .actions > .btn {
    min-width: 0;
    min-height: 44px;
    padding-inline: 10px;
    border-radius: 16px;
    font-size: 13px;
    flex: 1 1 auto;
  }

  .topbar .theme-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 16px;
  }

  .topbar .theme-icon svg {
    width: 18px;
    height: 18px;
  }

  .topbar .lang-divider {
    height: 32px;
    margin-inline: 1px;
  }

  .topbar .lang-switch-vertical {
    width: 48px;
    height: 44px;
    flex: 0 0 48px;
    border-radius: 16px;
  }

  .topbar .lang-half {
    font-size: 8px;
  }

  .topbar .lang-switch-vertical.lang-ro .lang-half-bg {
    border-radius: 16px 16px 0 0;
  }

  .topbar .lang-switch-vertical.lang-en .lang-half-bg {
    border-radius: 0 0 16px 16px;
  }
}

@media (max-width: 380px) {
  .topbar .actions {
    gap: 4px;
  }

  .topbar .actions > .btn {
    min-height: 40px;
    padding-inline: 6px;
    border-radius: 14px;
    font-size: 12px;
  }

  .topbar .theme-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
  }

  .topbar .lang-switch-vertical {
    width: 44px;
    height: 40px;
    flex-basis: 44px;
    border-radius: 14px;
  }

  .topbar .lang-divider {
    height: 28px;
    margin-inline: 0;
  }
}

