/* Custom theme styles */
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top left, rgba(30,58,95,0.05), transparent 20%),
    radial-gradient(circle at top right, rgba(176,141,87,0.06), transparent 24%),
    #F7F5F0;
  color: #1F1F1C;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.section-anchor { scroll-margin-top: 100px; }

.glass-nav {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  z-index: 10000 !important;
  overflow: hidden;
}

.glass-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
}

.glass-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.10);
}

.hero-glass-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hero-glass-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.03);
}

.hero-glass-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.hero-glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.025);
}

.hero-glass-panels-inline {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 16px;
  width: fit-content;
  margin-left: auto;
}

.hero-glass-panel-availability {
  width: 155px;
  min-width: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glass-panel-availability .hero-glass-stat {
  width: 100%;
  text-align: center;
}

.hero-glass-panel-availability .hero-glass-stat-label,
.hero-glass-panel-availability .hero-glass-stat-value {
  text-align: center;
}

.hero-glass-panel-pricing {
  width: 360px;
  min-width: 360px;
}

@media (max-width: 767px) {
  .hero-glass-panels-inline {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-glass-panel-availability,
  .hero-glass-panel-pricing {
    width: 100%;
    min-width: 0;
  }
}

.hero-glass-divider {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hero-glass-stat {
  position: relative;
  z-index: 1;
}

.hero-glass-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-glass-stat-value {
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(12,16,22,0.35), rgba(12,16,22,0.55)),
    radial-gradient(circle at top left, rgba(30,58,95,0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(176,141,87,0.12), transparent 30%);
}

.hero-section,
.hero-inner {
  min-height: 100vh;
  height: 100vh;
}

.hero-bg-layer {
  background-image: url('/imagini/bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .hero-section,
  .hero-inner {
    min-height: 760px;
    height: 760px;
  }

  .hero-bg-layer {
    background-image: url('/imagini/bg.png');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
  }
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.58));
  border: 1px solid #E7E0D6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31,31,28,0.08);
}

.feature-card:hover {
  border-color: rgba(30,58,95,0.28);
  box-shadow: 0 0 0 1px rgba(30,58,95,0.10), 0 14px 34px rgba(31,31,28,0.10);
  transform: translateY(-3px);
}

.neon-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.10);
  border-color: rgba(30,58,95,0.45);
}

.soft-grid {
  background-image:
    linear-gradient(rgba(31,31,28,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,31,28,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.nav-link {
  position: relative;
  display: inline-block;
}

.nav-actions-divider {
  width: 1px;
  height: 36px;
  background: rgba(31, 31, 28, 0.16);
  flex: 0 0 1px;
  margin-left: -2px;
  margin-right: -2px;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .nav-actions-divider {
    height: 34px;
    background: rgba(31, 31, 28, 0.20);
    margin-left: -6px;
    margin-right: -6px;
  }
}

.hero-cta-link {
  position: relative;
  display: inline-block;
}

.hero-cta-link::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 10px;
  height: 2px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.hero-cta-link:hover::after {
  transform: scaleX(1);
}

.hero-cta-wrap {
  width: 360px;       /* exact cât tabela din dreapta */
  margin-left: auto;  /* o mută sub tabela Pret + Suprafață */
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;   /* important: nu le mai lasă să cadă unul sub altul */
}

.hero-cta-row .hero-cta-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .hero-cta-wrap {
    width: 100%;
    margin-left: 0;
  }

  .hero-cta-row {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

#nav-tour-btn {
  background-color: #ffffff;
  color: #1f1f1c;
  border: 1px solid transparent;
  box-shadow: none;
}

#nav-tour-btn:hover {
  background: transparent !important;
  color: #1f1f1c !important;
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#nav-tour-btn.nav-tour-grey {
  background-color: #3a3d3e !important;
  color: #ffffff !important;
}

#nav-tour-btn.nav-tour-grey:hover {
  background-color: #262929 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.agent-photo {
  filter: blur(1.5px);
  transition: filter 0.35s ease;
}

.agent-photo:hover {
  filter: blur(0);
}

/* Footer efect link */
.footer-cta-link {
  position: relative;
  display: inline-block;
  color: #000000;
  text-decoration: none;
}

.footer-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer-cta-link:hover::after {
  transform: scaleX(1);
}

.footer-cta-link:hover {
  color: #000000;
}

.final-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.final-contact-col {
  min-width: 0;
}

.final-contact-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(31, 31, 28, 0.10);
}

.final-contact-col-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  text-align: center;
}

.final-contact-col-left .mt-8.flex,
.final-contact-col-left .mt-8.flex.flex-wrap,
.final-contact-col-left .mt-8.flex.flex-wrap.gap-4 {
  justify-content: center;
}

@media (max-width: 1024px) {
  .final-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .final-contact-divider {
    display: block;
    width: 100%;
    height: 1px;
    align-self: auto;
    background: rgba(31, 31, 28, 0.10);
  }
}

/* Cookies */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(420px, calc(100vw - 48px));
}

.cookie-banner-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1c;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cookie-title-arrow {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-content {
  background: #ffffff;
  border: 1px solid #e5e1d8;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 22px;
}

.cookie-banner-title {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner-title::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 16px;
  background: rgba(31,31,28,0.22);
}

.cookie-banner-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: nowrap;
}

.cookie-btn {
  border-radius: 9999px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: none;
}

.cookie-btn-accept {
  border: 1px solid #3a3d3e;
  background: #3a3d3e;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: #262929;
  border-color: #262929;
}

.cookie-btn-decline {
  border: 1px solid #e5e7eb;
  background: #f7f5f0;
  color: #1f1f1c;
  box-shadow: none;
}

.cookie-btn-decline:hover {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #1f1f1c;
  box-shadow: none;
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-banner-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .cookie-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

/* Harta */
#property-map,
.leaflet-container {
  z-index: 1 !important;
}

.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control,
.leaflet-popup {
  z-index: 1 !important;
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.leaflet-control-zoom a {
  width: 42px !important;
  height: 42px !important;
  line-height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  color: #ffffff !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 42px !important;
  text-align: center !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:active {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #000000 !important;
}

.leaflet-control-zoom-in {
  margin-bottom: 8px !important;
}

.leaflet-bar a,
.leaflet-bar a:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.leaflet-top.leaflet-left .leaflet-control {
  margin-top: 14px !important;
  margin-left: 14px !important;
}

.leaflet-popup-content-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  padding: 16px 20px !important;
  color: #ffffff !important;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

.leaflet-popup-tip-container {
  margin-top: -1px;
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #000000 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  padding: 8px 10px 0 0 !important;
  display: none !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #000000 !important;
}

.leaflet-bottom.leaflet-right {
  right: 14px !important;
  bottom: 14px !important;
}

.leaflet-control-attribution {
  margin: 0 !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.leaflet-control-attribution a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.leaflet-control-attribution a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Panou progres constructie */
.progress-panel {
  position: fixed;
  left: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 9997;
  width: 320px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.progress-panel.is-visible {
  opacity: 1;
  visibility: visible;
}

.progress-panel-content {
  pointer-events: auto;
  position: relative;
  width: 320px;
  height: 800px;
  min-height: 800px;
  max-height: 800px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e7e0d6;
  border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 14px 34px rgba(31, 31, 28, 0.12);
  padding: 22px 20px 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateX(-100%);
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.progress-panel.open .progress-panel-content {
  transform: translateX(0);
}

.progress-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 9998;
  width: 54px;
  height: 96px;
  border-radius: 0 14px 14px 0;
  border-top: 1px solid #e7e0d6;
  border-right: 1px solid #e7e0d6;
  border-bottom: 1px solid #e7e0d6;
  border-left: none;
  margin-left: -1px;
  background: #ffffff;
  color: #1f1f1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    left 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    visibility 0.25s ease;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.progress-toggle.is-visible {
  opacity: 1;
  visibility: visible;
}

.progress-toggle:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.progress-panel.open + .progress-toggle {
  left: 320px;
}

#progressArrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.progress-panel.open + .progress-toggle #progressArrow {
  transform: rotate(180deg);
}

.progress-eyebrow {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b08d57;
}

.progress-title {
  margin: 0 0 18px 0;
  font-size: 24px;
  font-weight: 700;
  color: #1f1f1c;
}

.progress-current {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.progress-current-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.progress-current-value {
  font-size: 18px;
  font-weight: 600;
  color: #1f1f1c;
}

.progress-bar-wrap {
  margin-bottom: 18px;
}

.progress-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar-track {
  flex: 1;
  height: 12px;
  background: #e9ece7;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid #dfe5dc;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #55b86a, #72cf85);
  border-radius: 9999px;
}

.progress-percent {
  margin-top: 0;
  font-size: 14px;
  font-weight: 700;
  color: #2f7e44;
  white-space: nowrap;
}

.progress-steps {
  display: grid;
  gap: 10px;
}

.progress-step {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.progress-step.done {
  color: #2f7e44;
  font-weight: 600;
}

.progress-step.current {
  color: #1f1f1c;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .progress-panel {
    position: fixed !important;
    left: 0 !important;
    top: 54% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 300px !important;
  }

  .progress-panel-content {
    width: 300px !important;
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    padding: 14px 14px 14px !important;
    overflow-y: auto !important;
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .progress-toggle {
    position: fixed !important;
    left: 0 !important;
    top: 54% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 88px !important;
    border-radius: 0 12px 12px 0 !important;
    border-top: 1px solid #e7e0d6 !important;
    border-right: 1px solid #e7e0d6 !important;
    border-bottom: 1px solid #e7e0d6 !important;
    border-left: none !important;
    margin-left: -1px;
    transition:
      background 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease,
      left 0.46s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      visibility 0.25s ease !important;
  }

  .progress-panel.open + .progress-toggle {
    left: 300px !important;
  }

  .progress-eyebrow {
    margin: 0 0 5px 0 !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
  }

  .progress-title {
    margin: 0 0 12px 0 !important;
    font-size: 18px !important;
  }

  .progress-current {
    gap: 2px !important;
    margin-bottom: 10px !important;
  }

  .progress-current-label {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
  }

  .progress-current-value {
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  .progress-bar-wrap {
    margin-bottom: 10px !important;
  }

  .progress-bar-row {
    gap: 8px !important;
  }

  .progress-bar-track {
    height: 10px !important;
  }

  .progress-percent {
    font-size: 12px !important;
  }

  .progress-steps {
    gap: 7px !important;
  }

  .progress-step {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .progress-panel {
    top: 54% !important;
    transform: translateY(-50%) !important;
  }

  .progress-toggle {
    top: 54% !important;
    transform: translateY(-50%) !important;
  }

  .progress-panel-content {
    height: 650px !important;
    min-height: 650px !important;
    max-height: 650px !important;
    overflow-y: auto !important;
  }
}

/* Telefon */
@media (max-width: 767px) {
  .progress-panel {
    position: fixed !important;
    left: 0 !important;
    top: 55% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 280px !important;
  }

  .progress-panel-content {
    width: 280px !important;
    height: 630px !important;
    min-height: 630px !important;
    max-height: 630px !important;
    padding: 10px 10px 10px !important;
    overflow-y: auto !important;
  }

  .progress-toggle {
    position: fixed !important;
    left: 0 !important;
    top: 55% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 82px !important;
    border-radius: 0 12px 12px 0 !important;
    border-top: 1px solid #e7e0d6 !important;
    border-right: 1px solid #e7e0d6 !important;
    border-bottom: 1px solid #e7e0d6 !important;
    border-left: none !important;
    margin-left: -1px;
    transition:
      background 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease,
      left 0.46s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      visibility 0.25s ease !important;
  }

  .progress-panel.open + .progress-toggle {
    left: 280px !important;
  }

  #progressArrow {
    width: 20px !important;
    height: 20px !important;
  }

  .progress-eyebrow {
    margin: 0 0 4px 0 !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }

  .progress-title {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
  }

  .progress-current {
    gap: 2px !important;
    margin-bottom: 10px !important;
  }

  .progress-current-label {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }

  .progress-current-value {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  .progress-bar-wrap {
    margin-bottom: 10px !important;
  }

  .progress-bar-row {
    gap: 8px !important;
  }

  .progress-bar-track {
    height: 10px !important;
  }

  .progress-percent {
    font-size: 12px !important;
  }

  .progress-steps {
    gap: 6px !important;
  }

  .progress-step {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}

/* Scrollbar */
.progress-panel-content {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.progress-panel-content::-webkit-scrollbar {
  width: 8px;
}

.progress-panel-content::-webkit-scrollbar-track {
  background: transparent;
}

.progress-panel-content::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 9999px;
  transition: background 0.25s ease;
}

.progress-panel-content:hover {
  scrollbar-color: rgba(31,31,28,0.22) transparent;
}

.progress-panel-content:hover::-webkit-scrollbar-thumb {
  background: rgba(31,31,28,0.22);
}

.progress-panel-content:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(31,31,28,0.35);
}

/* PDF custom viewer */
.pdf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: rgba(0, 0, 0, 0.78);
}

.pdf-lightbox.hidden {
  display: none;
}

.pdf-modal {
  position: relative;
  width: min(1100px, 95vw);
  height: min(78vh, 820px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(231, 224, 214, 0.35);
  background: rgba(22, 22, 22, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pdf-floating-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.pdf-zoom-box,
.pdf-close-btn {
  pointer-events: auto;
}

.pdf-zoom-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

.pdf-tool-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  color: #000000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pdf-tool-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.pdf-zoom-label {
  min-width: 56px;
  text-align: center;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}

.pdf-close-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pdf-close-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.pdf-close-btn svg {
  stroke: #000000;
}

.pdf-viewport {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #232323;
  cursor: grab;
  overscroll-behavior: contain;
}

.pdf-viewport,
.pdf-viewport * {
  user-select: none;
  -webkit-user-select: none;
}

.pdf-viewport.is-dragging,
.pdf-viewport.is-dragging * {
  cursor: grabbing !important;
}

.pdf-canvas-wrap {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  box-sizing: border-box;
}

#pdfCanvas {
  display: block;
  max-width: none;
  margin: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  background: #ffffff;
}

@media (max-width: 767px) {
  .pdf-lightbox {
    align-items: flex-start;
    padding: 86px 14px 24px;
  }

  .pdf-modal {
    width: 100%;
    height: 72vh;
    border-radius: 14px;
  }

  .pdf-floating-controls {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .pdf-zoom-box {
    gap: 6px;
    padding: 6px 8px;
  }

  .pdf-tool-btn {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .pdf-zoom-label {
    min-width: 46px;
    font-size: 12px;
  }

  .pdf-close-btn {
    width: 38px;
    height: 38px;
  }

  .pdf-canvas-wrap {
    padding: 8px;
  }
}

.pdf-item {
  position: relative;
  z-index: 20;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#mobileMenu {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#mobileMenu::before,
#mobileMenu::after {
  display: none;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-size: 18px;
  font-weight: 500;
  color: #1f1f1c;
  border-bottom: 1px solid rgba(31, 31, 28, 0.10);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  color: #1f1f1c;
  border-bottom-color: rgba(31, 31, 28, 0.22);
  transform: none;
}

.mobile-menu-cta {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(31, 31, 28, 0.10);
  border-radius: 9999px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #000000 !important;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mobile-menu-cta:hover,
.mobile-menu-cta:active {
  border-color: rgba(31, 31, 28, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #000000 !important;
  transform: translateX(3px);
}

.mobile-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  background: transparent;
  color: #1f1f1c;
  font-size: 20px;
  line-height: 1;
  opacity: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mobile-menu-actions {
  margin-top: 0;
  padding-top: 20px;
  border-top: 0;
}

.mobile-menu-actions-inner {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.mobile-menu-theme-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mobile-menu-actions-divider {
  width: 1px;
  height: 40px;
  background: rgba(31, 31, 28, 0.12);
}

.mobile-menu-actions .mobile-menu-cta {
  margin-top: 0;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
}

/* Darkmode */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 31, 28, 0.10);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  padding: 0;
  width: 74px;
  height: 40px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  border-color: rgba(31, 31, 28, 0.18);
  box-shadow: none;
}

.theme-toggle-track {
  position: relative;
  width: 74px;
  height: 40px;
  border-radius: 9999px;
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(31, 31, 28, 0.12);
  transition: transform 0.28s ease, background 0.28s ease;
  z-index: 1;
}

.theme-icon {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #1f1f1c;
  z-index: 2;
  transition: color 0.28s ease, opacity 0.28s ease;
}

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

.theme-icon-sun {
  left: 10px;
}

.theme-icon-moon {
  right: 9px;
  top: calc(50% - 2px);
  color: #1f1f1c;
  opacity: 1;
}

body.dark-theme .theme-icon-moon {
  color: #ffffff;
  opacity: 1;
  right: 9px;
  top: calc(50% - 2px);
}

body.dark-theme .theme-toggle-thumb {
  transform: translateX(34px);
  background: #1f1f1c;
}

body.dark-theme .theme-icon-sun {
  color: #000000;
  opacity: 1;
}

body.dark-theme .nav-actions-divider {
  background: rgba(255, 255, 255, 0.18);
}

body.dark-theme .mobile-menu-actions-divider {
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle-mobile {
  width: 100%;
  max-width: 74px;
}

body.dark-theme {
  background:
    radial-gradient(circle at top left, rgba(82, 114, 156, 0.10), transparent 20%),
    radial-gradient(circle at top right, rgba(176,141,87,0.10), transparent 24%),
    #111315;
  color: #F5F3EE;
}

body.dark-theme .glass-nav {
  background: rgba(20, 22, 25, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.dark-theme .glass-nav::before {
  background: rgba(255, 255, 255, 0.02);
}

body.dark-theme .glass-nav::after {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-theme .mobile-menu-link {
  color: #F5F3EE;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .mobile-menu-link:hover,
body.dark-theme .mobile-menu-link:active {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  transform: none;
}

body.dark-theme .mobile-menu-cta {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #000000 !important;
}

body.dark-theme .final-contact-divider {
  background: rgba(255, 255, 255, 0.10);
}

body.dark-theme .mobile-menu-cta:hover,
body.dark-theme .mobile-menu-cta:active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #000000 !important;
}

body.dark-theme .mobile-menu-arrow {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.dark-theme #mobileMenu {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  border-bottom: 0 !important;
}

body.dark-theme .feature-card {
  background: linear-gradient(180deg, rgba(28,30,34,0.88), rgba(24,26,29,0.82));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

body.dark-theme .feature-card:hover {
  border-color: rgba(176,141,87,0.24);
  box-shadow: 0 0 0 1px rgba(176,141,87,0.08), 0 14px 34px rgba(0,0,0,0.20);
}

body.dark-theme .text-brand-text,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6 {
  color: #F5F3EE !important;
}

body.dark-theme .text-brand-muted,
body.dark-theme p,
body.dark-theme li,
body.dark-theme summary,
body.dark-theme label {
  color: #C8C5BD !important;
}

body.dark-theme .border-brand-border {
  border-color: rgba(255,255,255,0.08) !important;
}

body.dark-theme .bg-brand-surface,
body.dark-theme footer,
body.dark-theme section.bg-brand-surface {
  background: transparent !important;
}

body.dark-theme #nav-tour-btn {
  background: #C8C5BD !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

body.dark-theme #nav-tour-btn:hover {
  background: #C8C5BD !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}

body.dark-theme #nav-tour-btn.nav-tour-grey {
  background-color: #3a3d3e !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

body.dark-theme #nav-tour-btn.nav-tour-grey:hover {
  background-color: #262929 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

body.dark-theme .footer-cta-link,
body.dark-theme .footer-cta-link:hover {
  color: #F5F3EE;
}

body.dark-theme .footer-cta-link::after {
  background-color: #F5F3EE;
}

body.dark-theme input,
body.dark-theme textarea {
  background: rgba(24,26,29,0.88) !important;
  color: #F5F3EE !important;
  border-color: rgba(255,255,255,0.10) !important;
}

body.dark-theme .cookie-banner-content,
body.dark-theme .progress-panel-content,
body.dark-theme .progress-toggle {
  background: rgba(24,26,29,0.94) !important;
  color: #F5F3EE !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  border-right: 1px solid rgba(255,255,255,0.08) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  border-left: none !important;
}

@media (max-width: 1024px) {
  body.dark-theme .progress-toggle {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    border-left: none !important;
    background: rgba(24,26,29,0.94) !important;
  }
}

@media (max-width: 767px) {
  .theme-toggle {
    height: 38px;
  }
}

body.dark-theme .dark-invert-btn {
  color: #000000 !important;
  background: #f7f5f0 !important;
  border-color: rgba(255,255,255,0.10) !important;
}

body.dark-theme .dark-invert-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

body.dark-theme .mt-8.flex.flex-wrap.gap-4 a[href="https://wa.me/40740900980"],
body.dark-theme .mt-8.flex.flex-wrap.gap-4 a[href="tel:+40740900980"] {
  color: #000000 !important;
}

body.dark-theme .mt-8.flex.flex-wrap.gap-4 a[href="https://wa.me/40740900980"]:hover,
body.dark-theme .mt-8.flex.flex-wrap.gap-4 a[href="tel:+40740900980"]:hover {
  color: #ffffff !important;
}

body.dark-theme .project-scroll {
  scrollbar-color: rgba(255,255,255,0.35) rgba(24,26,29,0.88);
}

body.dark-theme .project-scroll::-webkit-scrollbar {
  height: 12px;
}

body.dark-theme .project-scroll::-webkit-scrollbar-track {
  background: rgba(24,26,29,0.88);
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

body.dark-theme .project-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.35);
  border-radius: 9999px;
  border: 3px solid rgba(24,26,29,0.88);
}

body.dark-theme .project-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.5);
}

body.dark-theme .progress-title,
body.dark-theme .progress-current-value,
body.dark-theme .progress-step.current,
body.dark-theme .progress-step.progress-step-main {
  color: #F5F3EE !important;
}

body.dark-theme .progress-current-label,
body.dark-theme .progress-eyebrow,
body.dark-theme .progress-step,
body.dark-theme .progress-step[style] {
  color: #C8C5BD !important;
}

body.dark-theme .progress-step.done {
  color: #55b86a !important;
}

/* Butoane harta */
body.dark-theme .leaflet-control-zoom a {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body.dark-theme .leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

body.dark-theme .leaflet-popup-content-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .leaflet-popup-content {
  color: #ffffff !important;
}

body.dark-theme .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.dark-theme .leaflet-container a.leaflet-popup-close-button,
body.dark-theme .leaflet-container a.leaflet-popup-close-button:hover {
  color: #ffffff !important;
}

/* Alte proiecte - varianta finală */
.other-projects-showcase {
  position: relative;
}

.other-projects-heading-outside {
  position: relative;
  margin-bottom: 34px;
  text-align: left;
}

.other-projects-panel {
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.other-projects-marquee {
  position: relative;
  overflow: hidden;
}

.other-projects-marquee::before,
.other-projects-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 3;
}

.other-projects-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(247,245,240,0.95) 12%, rgba(247,245,240,0.72) 52%, rgba(247,245,240,0) 100%);
}

.other-projects-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(247,245,240,0.95) 12%, rgba(247,245,240,0.72) 52%, rgba(247,245,240,0) 100%);
}

.other-projects-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  animation: otherProjectsAutoScroll 15s linear infinite;
}

.other-projects-marquee:hover .other-projects-track {
  animation-play-state: paused;
}

.other-project-image-card {
  position: relative;
  flex: 0 0 calc((100vw - 220px) / 3);
  width: calc((100vw - 220px) / 3);
  max-width: 360px;
  min-width: 300px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e7e0d6;
  background: #f7f5f0;
  text-decoration: none;
}

.other-project-cover-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: none !important;
  transform: none !important;
  filter: none !important;
}

.other-project-overlay-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.90);
  background: #ffffff;
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  color: #1f1f1c;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.other-project-overlay-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

@keyframes otherProjectsAutoScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

@media (min-width: 1536px) {
  .other-project-image-card {
    max-width: 390px;
  }
}

@media (max-width: 1280px) {
  .other-project-image-card {
    max-width: 320px;
    min-width: 280px;
  }
}

@media (max-width: 1024px) {
  .other-project-image-card {
    max-width: 300px;
    min-width: 260px;
  }

  .other-project-overlay-btn {
    right: 10px;
    bottom: 10px;
    padding: 9px 14px;
    font-size: 0.74rem;
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .other-projects-panel {
    padding: 16px;
  }

  .other-projects-marquee::before,
  .other-projects-marquee::after {
    width: 24px;
  }

  .other-projects-track {
    gap: 14px;
    animation-duration: 15s;
  }

  .other-project-image-card {
    min-width: 76vw;
    max-width: 76vw;
    width: 76vw;
  }

  .other-project-overlay-btn {
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
    font-size: 0.84rem;
  }
}

body.dark-theme .other-projects-marquee::before {
  background: linear-gradient(to right, rgba(24,26,29,0.96) 12%, rgba(24,26,29,0.82) 52%, rgba(24,26,29,0) 100%);
}

body.dark-theme .other-projects-marquee::after {
  background: linear-gradient(to left, rgba(24,26,29,0.96) 12%, rgba(24,26,29,0.82) 52%, rgba(24,26,29,0) 100%);
}

body.dark-theme .other-project-image-card {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .other-project-overlay-btn {
  background: #ffffff;
  color: #1f1f1c;
  border-color: rgba(255, 255, 255, 0.90);
}

body.dark-theme .other-project-overlay-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Custom minimalist video player */
.video-player-shell {
  position: relative;
}

.video-player {
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-center-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9999px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.25s ease;
}

.video-center-play:hover {
  background: rgba(255,255,255,0.16);
}

.video-center-play svg {
  width: 28px;
  height: 28px;
  margin-left: 2px;
}

.video-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9999px;
  background: rgba(12,16,22,0.32);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.video-control-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.video-control-btn:hover {
  background: rgba(255,255,255,0.12);
}

.video-control-btn svg {
  width: 20px;
  height: 20px;
}

.video-progress-wrap {
  display: flex;
  align-items: center;
}

.video-progress {
  --progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

.video-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(to right, #ffffff var(--progress), rgba(255,255,255,0.20) var(--progress));
}

.video-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #ffffff;
  margin-top: -4px;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.12);
}

.video-progress::-moz-range-track {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.20);
}

.video-progress::-moz-range-progress {
  height: 4px;
  border-radius: 9999px;
  background: #ffffff;
}

.video-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 9999px;
  background: #ffffff;
}

.video-time {
  white-space: nowrap;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Stări controale */
.video-player.is-playing .video-center-play {
  opacity: 0;
  pointer-events: none;
}

.video-player.is-paused .video-center-play {
  opacity: 1;
  pointer-events: auto;
}

.video-player.controls-hidden .video-controls {
  opacity: 0;
  pointer-events: none;
}

.video-player.controls-hidden.is-paused .video-controls {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .video-center-play {
    width: 62px;
    height: 62px;
  }

  .video-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 8px 10px;
  }

  .video-time,
  #videoFullscreenToggle {
    display: none;
  }

  .video-control-btn {
    width: 36px;
    height: 36px;
  }
}

/* Watermark copyright comun */
.image-copyright-wrap,
.video-copyright-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.image-copyright-badge {
  position: absolute;
  z-index: 10;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 18px;
  height: 18px;
  color: rgb(255, 255, 255);
  background-color: rgba(42, 39, 78, 0.25);
  border-radius: 18px;
  box-shadow: rgba(255, 255, 255, 0.25) 0 0 3px;
  line-height: 1;
  cursor: help;
}

.image-copyright-badge::after {
  content: "";
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  opacity: 0.75;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.08 10.86C10.13 10.53 10.24 10.24 10.38 10C10.68 9.44 11.19 9.15 11.88 9.14C12.33 9.14 12.74 9.34 13.03 9.63C13.31 9.94 13.5 10.37 13.5 10.8H15.3C15.28 10.33 15.19 9.9 15 9.5C14.85 9.12 14.62 8.78 14.32 8.5C12.87 7.16 10.18 7.35 8.95 8.87C7.66 10.54 7.63 13.46 8.94 15.13C10.15 16.62 12.8 16.83 14.24 15.5C14.55 15.25 14.8 14.94 15 14.58C15.16 14.22 15.27 13.84 15.28 13.43H13.5C13.5 13.64 13.43 13.83 13.34 14C13.25 14.19 13.13 14.34 13 14.47C12.67 14.73 12.28 14.87 11.86 14.87C11.5 14.86 11.2 14.79 10.97 14.64C10.72 14.5 10.5 14.27 10.38 14C9.88 13.1 9.96 11.85 10.08 10.86M12 2C6.5 2 2 6.5 2 12C2.53 25.27 21.5 25.26 22 12C22 6.5 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12C4.44 1.39 19.56 1.39 20 12C20 16.41 16.41 20 12 20Z'/></svg>");
mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.08 10.86C10.13 10.53 10.24 10.24 10.38 10C10.68 9.44 11.19 9.15 11.88 9.14C12.33 9.14 12.74 9.34 13.03 9.63C13.31 9.94 13.5 10.37 13.5 10.8H15.3C15.28 10.33 15.19 9.9 15 9.5C14.85 9.12 14.62 8.78 14.32 8.5C12.87 7.16 10.18 7.35 8.95 8.87C7.66 10.54 7.63 13.46 8.94 15.13C10.15 16.62 12.8 16.83 14.24 15.5C14.55 15.25 14.8 14.94 15 14.58C15.16 14.22 15.27 13.84 15.28 13.43H13.5C13.5 13.64 13.43 13.83 13.34 14C13.25 14.19 13.13 14.34 13 14.47C12.67 14.73 12.28 14.87 11.86 14.87C11.5 14.86 11.2 14.79 10.97 14.64C10.72 14.5 10.5 14.27 10.38 14C9.88 13.1 9.96 11.85 10.08 10.86M12 2C6.5 2 2 6.5 2 12C2.53 25.27 21.5 25.26 22 12C22 6.5 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12C4.44 1.39 19.56 1.39 20 12C20 16.41 16.41 20 12 20Z'/></svg>");
}

.image-copyright-tooltip {
  position: absolute;
  right: 30px;
  bottom: 24px;
  z-index: 11;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.image-copyright-tooltip::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  vertical-align: -1px;
  background-color: currentColor;
  opacity: 0.95;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.08 10.86C10.13 10.53 10.24 10.24 10.38 10C10.68 9.44 11.19 9.15 11.88 9.14C12.33 9.14 12.74 9.34 13.03 9.63C13.31 9.94 13.5 10.37 13.5 10.8H15.3C15.28 10.33 15.19 9.9 15 9.5C14.85 9.12 14.62 8.78 14.32 8.5C12.87 7.16 10.18 7.35 8.95 8.87C7.66 10.54 7.63 13.46 8.94 15.13C10.15 16.62 12.8 16.83 14.24 15.5C14.55 15.25 14.8 14.94 15 14.58C15.16 14.22 15.27 13.84 15.28 13.43H13.5C13.5 13.64 13.43 13.83 13.34 14C13.25 14.19 13.13 14.34 13 14.47C12.67 14.73 12.28 14.87 11.86 14.87C11.5 14.86 11.2 14.79 10.97 14.64C10.72 14.5 10.5 14.27 10.38 14C9.88 13.1 9.96 11.85 10.08 10.86M12 2C6.5 2 2 6.5 2 12C2.53 25.27 21.5 25.26 22 12C22 6.5 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12C4.44 1.39 19.56 1.39 20 12C20 16.41 16.41 20 12 20Z'/></svg>");
  mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10.08 10.86C10.13 10.53 10.24 10.24 10.38 10C10.68 9.44 11.19 9.15 11.88 9.14C12.33 9.14 12.74 9.34 13.03 9.63C13.31 9.94 13.5 10.37 13.5 10.8H15.3C15.28 10.33 15.19 9.9 15 9.5C14.85 9.12 14.62 8.78 14.32 8.5C12.87 7.16 10.18 7.35 8.95 8.87C7.66 10.54 7.63 13.46 8.94 15.13C10.15 16.62 12.8 16.83 14.24 15.5C14.55 15.25 14.8 14.94 15 14.58C15.16 14.22 15.27 13.84 15.28 13.43H13.5C13.5 13.64 13.43 13.83 13.34 14C13.25 14.19 13.13 14.34 13 14.47C12.67 14.73 12.28 14.87 11.86 14.87C11.5 14.86 11.2 14.79 10.97 14.64C10.72 14.5 10.5 14.27 10.38 14C9.88 13.1 9.96 11.85 10.08 10.86M12 2C6.5 2 2 6.5 2 12C2.53 25.27 21.5 25.26 22 12C22 6.5 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12C4.44 1.39 19.56 1.39 20 12C20 16.41 16.41 20 12 20Z'/></svg>");
}

.image-copyright-badge:hover + .image-copyright-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.video-copyright-wrap .image-copyright-badge {
  right: 12px;
  bottom: 10px;
}

.video-copyright-wrap .image-copyright-tooltip {
  right: 30px;
  bottom: 24px;
}

@media (max-width: 767px) {
  .image-copyright-badge {
    right: 10px;
    bottom: 10px;
    width: 16px;
    height: 16px;
    border-radius: 16px;
  }

  .image-copyright-badge::after {
    width: 16px;
    height: 16px;
  }

  .image-copyright-tooltip {
    right: 8px;
    left: auto;
    bottom: 30px;
    max-width: 180px;
    padding: 7px 8px;
    font-size: 9px;
    line-height: 1.4;
  }
  
  .hero-inner::after {
    right: 3%;
    bottom: 10%;
    width: 220px;
    height: 88px;
    border-width: 5px;
    font-size: 42px;
    transform: rotate(-12deg);
  }
}

/* ANPC SAL SOL */
.footer-top-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-legal-wrap {
  text-align: right;
}

.footer-anpc-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.footer-anpc-under-legal {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-anpc-line {
  width: 220px;
  height: 0;
  border-top: 1px solid rgba(31, 31, 28, 0.16);
  margin-bottom: 10px;
  box-sizing: border-box;
}

.anpc-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: 220px;
}

.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;
  }
}

@keyframes tabPulseStrong {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero-glass-panel-availability {
  overflow: visible !important;
}

.pulse-ring {
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.55);
  box-shadow: 0 0 12px rgba(255,255,255,0.22);
  opacity: 0;
  pointer-events: none;
  animation: tabPulseStrong 1.4s ease-out infinite;
  z-index: 2;
}

.hero-inner {
  position: relative;
  overflow: hidden;
}

.hero-inner::after {
  content: "VÂNDUT";
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 40;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 420px;
  height: 150px;

  border: 8px solid rgba(220, 38, 38, 0.95);
  color: rgba(220, 38, 38, 0.98);
  background: rgba(255, 255, 255, 0.03);

  font-size: 78px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;

  transform: rotate(-11deg);
  transform-origin: center;

  box-sizing: border-box;
  pointer-events: none;

  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  box-shadow:
    0 0 0 2px rgba(220, 38, 38, 0.12) inset,
    0 0 18px rgba(220, 38, 38, 0.10);

  text-shadow:
    0 0 1px rgba(220, 38, 38, 0.35),
    0 1px 0 rgba(220, 38, 38, 0.18);

  opacity: 0.92;
}

