/* ============================================================
   DJR REAL ESTATE — MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================
   DESIGN TOKENS
   ======================== */
:root {
  --gold:         #8B7A4E;
  --gold-hover:   #7A6A3E;
  --gold-light:   #C4AD7E;
  --gold-pale:    #F0EAD8;
  --cream:        #F5F0E6;
  --cream-mid:    #EDE8DC;
  --cream-dark:   #E2DACB;
  --dark:         #1A1714;
  --dark-2:       #232019;
  --dark-3:       #2E2B24;
  --text:         #2A2520;
  --text-muted:   #8A8480;
  --text-light:   #B0AAA4;
  --white:        #FFFFFF;
  --border:       #E5DFD3;
  --border-mid:   #D8D0C4;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;
  --radius-full:  999px;

  --shadow-xs:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.08);
  --shadow:       0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 14px 48px rgba(0,0,0,0.16);

  --transition:   all 0.3s ease;
  --transition-slow: all 0.5s ease;

  --nav-height:   80px;
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ========================
   LAYOUT
   ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.white { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.75;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(139,122,78,0.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.68rem;
}

.btn-full { width: 100%; }

/* ========================
   NAVBAR — floating pill
   ======================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: calc(100% - 48px);
  max-width: 1180px;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  top: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 28px;
  gap: 0;
  max-width: none;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.footer-brand .logo-img {
  height: 56px;
  width: auto;
  border-radius: 6px;
}

.stats-brand-ring .logo-img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}

.logo-icon {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 2px;
}

.logo-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.logo-d {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.logo-jr {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-left: 1px;
  padding-top: 4px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 20px;
}

.nav-link {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold); font-weight: 500; }
.nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
  z-index: 901;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer .nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.mobile-drawer .nav-link:hover { color: var(--gold-light); }

.mobile-drawer .btn { margin-top: 16px; }

/* ========================
   HERO — HOMEPAGE
   ======================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px; /* clear floating navbar */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/interior-living-wide.jpg');
  background-size: cover;
  background-position: center 50%;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,16,12,0.82) 0%,
    rgba(20,16,12,0.55) 60%,
    rgba(20,16,12,0.72) 100%
  );
}

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

.hero-content {
  max-width: 680px;
  color: var(--white);
}

.hero-content .eyebrow { color: var(--gold-light); }

.hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================
   SECTION HEADERS
   ======================== */
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ========================
   CE NE DIFERENȚIAZĂ
   ======================== */
.diferentiaza {
  padding: 96px 0;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold-pale);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.4rem;
}

.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   STATS
   ======================== */
.stats-section {
  padding: 64px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.stats-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding-right: 60px;
  margin-right: 60px;
  border-right: 1px solid var(--border-mid);
}

.stats-brand-ring {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.stats-brand-ring .logo-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.stats-brand-ring .logo-d {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.stats-brand-ring .logo-jr {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-left: 1px;
  padding-top: 3px;
}

.stats-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.stats-brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.stats-grid {
  display: flex;
  gap: 0;
  flex: 1;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================
   MAP SECTION
   ======================== */
.map-section {
  padding: 96px 0;
  background: var(--cream);
}

.map-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.map-container {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.7) saturate(0.6);
}

.map-overlay-pins {
  position: absolute;
  inset: 0;
}

.map-notice {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.map-pin-label {
  position: absolute;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-pin-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.map-pin-label:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(0,0,0,0.5); }

/* Leaflet outer wrapper: 0×0 placed exactly at the lat/lng coordinate */
.djr-marker-outer {
  overflow: visible !important;
  background: none !important;
  border: none !important;
}

/* Pin sits above the 0×0 anchor — needle tip always at the coordinate */
.map-custom-pin {
  position: absolute;
  bottom: 0;          /* needle tip aligns with the 0×0 anchor point */
  left: 0;
  transform: translateX(-50%); /* centre the pin horizontally over the anchor */
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}

.map-custom-pin-label {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.map-custom-pin-sub {
  background: var(--dark);
  color: rgba(255,255,255,0.72);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 5px 14px 6px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  white-space: nowrap;
  margin-top: -1px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* needle line */
.map-custom-pin-needle {
  width: 2px;
  height: 20px;
  background: var(--gold);
}

/* needle tip dot — this is the anchor that touches the map pin */
.map-custom-pin-needle::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2.5px solid var(--white);
  border-radius: 50%;
  margin-left: -5px;
  box-shadow: 0 0 0 3px rgba(139,122,78,0.35);
}

/* ========================
   PROJECTS SECTION
   ======================== */
.projects-section {
  padding: 96px 0;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Single-project layout — used when only one .proj-card is rendered */
.projects-grid--single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.proj-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.proj-card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.proj-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.proj-card:hover .proj-card-media img { transform: scale(1.07); }

.proj-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.proj-card-body {
  padding: 24px 24px 0;
  flex: 1;
}

.proj-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.proj-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.proj-card-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.proj-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--cream);
  margin-top: auto;
}

.proj-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.proj-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  margin-bottom: 1px;
}

/* ========================
   APARTMENTS TABLE
   ======================== */
.apartments-section {
  padding: 96px 0;
  background: var(--cream);
}

.apt-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.apt-tab {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
}

.apt-tab:hover,
.apt-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.apt-table {
  width: 100%;
  border-collapse: collapse;
}

.apt-table thead tr {
  background: var(--dark);
}

.apt-table th {
  color: rgba(255,255,255,0.85);
  padding: 15px 20px;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apt-table td {
  padding: 15px 20px;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.apt-table tbody tr:last-child td { border-bottom: none; }

.apt-table tbody tr {
  transition: background 0.15s ease;
}

.apt-table tbody tr:hover td { background: var(--cream); }

.apt-table .apt-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-badge.disponibil {
  background: #EDF7EE;
  color: #2A7D34;
}
.status-badge.disponibil::before { background: #2A7D34; }

.status-badge.rezervat {
  background: #FFF4E5;
  color: #C06000;
}
.status-badge.rezervat::before { background: #C06000; }

.status-badge.vandut {
  background: #F5F5F5;
  color: #9A9A9A;
}
.status-badge.vandut::before { background: #9A9A9A; }

/* ========================
   OFFER SECTION
   ======================== */
.offer-section {
  padding: 96px 0;
  background: var(--dark);
  overflow: hidden;
}

.offer-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.offer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.offer-content .eyebrow { color: var(--gold-light); }

.offer-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.offer-content p {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

.offer-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.offer-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.offer-perk::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}

.offer-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.offer-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.offer-amount {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.offer-amount-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
  line-height: 1.5;
}

.offer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 24px;
}

.offer-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ========================
   GALLERY SECTION
   ======================== */
.gallery-section {
  padding: 96px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--cream-mid);
}

.gallery-item:first-child { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-item-overlay { background: rgba(15,12,9,0.38); }

.gallery-zoom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-cta {
  text-align: center;
  margin-top: 36px;
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact-section {
  padding: 96px 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-left .section-title { margin-bottom: 12px; }

.contact-left > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 360px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-body .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-detail-body .value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

.contact-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: 4px;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139,122,78,0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238A8480' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  background-color: var(--cream);
  padding-right: 40px;
  cursor: pointer;
}

.form-group select:focus {
  background-color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.form-checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border-mid);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}

.form-checkbox-row label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

.form-checkbox-row label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #DC3545;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(139,122,78,0.18);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold-light); }

/* ========================
   PAGE HERO (Interior pages)
   ======================== */
.page-hero {
  position: relative;
  padding: 180px 0 88px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,16,12,0.78) 0%, rgba(20,16,12,0.60) 100%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero-content .eyebrow { color: var(--gold-light); }
.page-hero-content h1 { color: var(--white); margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero-content p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 560px; line-height: 1.78; }

/* ========================
   PROIECTE PAGE — LIST VIEW
   ======================== */
.project-list-section {
  padding: 96px 0;
  background: var(--white);
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 96px;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--border);
}

.project-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-row.reverse {
  direction: rtl;
}
.project-row.reverse > * { direction: ltr; }

.project-row-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.project-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-row-img:hover img { transform: scale(1.04); }

.project-row-info .eyebrow { color: var(--gold); }
.project-row-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }

.project-row-info .desc {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.spec-box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.spec-box .spec-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-box .spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

/* ========================
   INVESTITORI PAGE
   ======================== */
.invest-hero {
  padding: 180px 0 88px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.invest-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.invest-hero-text .eyebrow { color: var(--gold); }

.invest-hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 22px;
  color: var(--text);
}

.invest-hero-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 480px;
}

.invest-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.invest-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Invest reasons */
.invest-reasons {
  padding: 96px 0;
  background: var(--white);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background: var(--white);
  border-color: var(--gold-pale);
}

.reason-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  color: var(--gold);
}

.reason-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  color: var(--text);
}

.reason-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Invest offer */
.invest-offer {
  padding: 96px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.invest-offer-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/6.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}

.invest-offer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.invest-offer-content .eyebrow { color: var(--gold-light); }
.invest-offer-content h2 { color: var(--white); font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 18px; }
.invest-offer-content p { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 32px; font-size: 0.95rem; }

.invest-offer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
}

.invest-offer-card .eyebrow { color: var(--gold-light); display: block; margin-bottom: 14px; font-size: 0.65rem; }
.invest-offer-amount {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.invest-offer-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

/* ========================
   LIGHTBOX
   ======================== */
.lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lightbox-stage img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.2s ease;
}

.lightbox-stage img.fading {
  opacity: 0;
}

.lb-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.lb-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.lb-btn:hover {
  border-color: var(--gold);
  background: rgba(139,122,78,0.25);
  transform: scale(1.08);
}

.lb-close {
  position: absolute;
  top: -56px;
  right: 0;
  font-size: 1.2rem;
}

/* Gallery item — cursor hint */
.gallery-item {
  cursor: zoom-in;
}

/* ========================
   FLOATING ACTION BUTTONS
   ======================== */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-back-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease, visibility 0.3s, box-shadow 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  flex-shrink: 0;
}

.float-back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-back-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139,122,78,0.4);
}

.float-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139,122,78,0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.float-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139,122,78,0.45);
}

.float-cta svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .floating-actions { bottom: 20px; right: 16px; }
  .float-cta { padding: 11px 16px; font-size: 0.62rem; }
}

/* ========================
   LOADING SCREEN
   ======================== */
#djr-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.1s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 1.1s;
}

#djr-loader.loader-exit {
  opacity: 0;
  transform: scale(1.02);
  visibility: hidden;
  pointer-events: none;
}

/* Soft vignette + subtle gold glow — echoes the hero overlay gradient */
#djr-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(139,122,78,0.10), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

/* Minimalist residential building mark — drawn in as the loader resolves */
.loader-building {
  width: 58px;
  height: auto;
  margin-bottom: 24px;
  display: block;
  overflow: visible;
  opacity: 0;
  transform: translateY(6px);
  animation: loader-building-fade 0.5s ease forwards;
  filter: drop-shadow(0 6px 18px rgba(196,173,126,0.10));
}

@keyframes loader-building-fade {
  to { opacity: 1; transform: translateY(0); }
}

.loader-building path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.loader-building .lb-ground {
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.4;
  animation: lb-draw 0.75s cubic-bezier(0.65, 0, 0.35, 1) 0.10s forwards;
}

.loader-building .lb-outline {
  stroke: var(--gold-light);
  stroke-width: 1.4;
  opacity: 0.95;
  animation: lb-draw 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}

.loader-building .lb-mullion {
  stroke: var(--gold-light);
  stroke-width: 0.7;
  opacity: 0.42;
  animation: lb-draw 0.75s cubic-bezier(0.65, 0, 0.35, 1) 0.65s forwards;
}

.loader-building .lb-floors {
  stroke: var(--gold-light);
  stroke-width: 0.8;
  opacity: 0.45;
  animation: lb-draw 0.85s cubic-bezier(0.65, 0, 0.35, 1) 0.70s forwards;
}

.loader-building .lb-entrance {
  stroke: var(--gold);
  stroke-width: 1.1;
  opacity: 0.85;
  animation: lb-draw 0.55s cubic-bezier(0.65, 0, 0.35, 1) 0.95s forwards;
}

.loader-building .lb-mast {
  stroke: var(--gold);
  stroke-width: 0.9;
  opacity: 0.7;
  animation: lb-draw 0.4s cubic-bezier(0.65, 0, 0.35, 1) 1.25s forwards;
}

@keyframes lb-draw {
  to { stroke-dashoffset: 0; }
}

.loader-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.55em;
  padding-left: 0.55em; /* compensate for trailing letter-spacing */
  margin-bottom: 26px;
  opacity: 0;
  animation: loader-eyebrow-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes loader-eyebrow-in {
  0%   { opacity: 0; letter-spacing: 0.85em; transform: translateY(4px); }
  60%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.42em; transform: translateY(0); }
}

.loader-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
  display: inline-flex;
}

.loader-wordmark > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  animation: loader-letter-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity, filter;
}
.loader-wordmark > span:nth-child(1) { animation-delay: 0.32s; }
.loader-wordmark > span:nth-child(2) { animation-delay: 0.44s; }
.loader-wordmark > span:nth-child(3) { animation-delay: 0.56s; }

@keyframes loader-letter-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.loader-rule {
  display: block;
  width: 84px;
  height: 1px;
  background: var(--gold);
  margin-top: 22px;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.9;
  animation: loader-rule-in 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.95s forwards;
}

@keyframes loader-rule-in {
  to { transform: scaleX(1); }
}

/* Slim horizon line across the bottom — calmer than a tiny centered bar */
.loader-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg,
    rgba(196,173,126,0) 0%,
    var(--gold) 35%,
    var(--gold-light) 100%);
  animation: loader-progress-fill 1.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loader-progress-fill {
  0%   { width: 0; }
  100% { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  #djr-loader { transition: opacity 0.3s ease; }
  .loader-building,
  .loader-building path,
  .loader-eyebrow,
  .loader-wordmark > span,
  .loader-rule,
  .loader-progress {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .loader-building path { stroke-dashoffset: 0 !important; }
  .loader-progress      { width: 100% !important; }
  .loader-rule          { transform: scaleX(1) !important; }
}

@keyframes loader-bar {
  0%   { transform: scaleX(0); }
  60%  { transform: scaleX(0.75); }
  100% { transform: scaleX(1); }
}

/* ========================
   COOKIE BANNER
   ======================== */
.cookie-banner {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 50px));
  z-index: 9997;
  max-width: 620px;
  width: calc(100% - 48px);
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.2);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

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

.cookie-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.cookie-body p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 6px;
  line-height: 1.6;
}

.cookie-body a {
  color: var(--gold-light);
  font-size: 0.7rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.cookie-body a:hover {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  align-items: stretch;
  min-width: 110px;
}

.cookie-accept {
  padding: 10px 20px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cookie-accept:hover {
  background: var(--gold-hover);
  box-shadow: 0 4px 18px rgba(139,122,78,0.45);
}

.cookie-decline {
  padding: 9px 20px;
  background: none;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.65);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 20px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
  .cookie-actions {
    flex-direction: row;
    width: 100%;
  }
  .cookie-accept, .cookie-decline {
    flex: 1;
  }
}

/* ========================
   ANIMATIONS
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .offer-inner, .invest-offer-inner { grid-template-columns: 1fr; gap: 44px; }
  .invest-hero-inner { grid-template-columns: 1fr; }
  .invest-hero-text h1 { font-size: 2.4rem; }
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .stats-brand { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--border-mid); padding-bottom: 24px; width: 100%; }
  .stats-grid { flex-wrap: wrap; width: 100%; }
  .stat-item { flex: 0 0 calc(50% - 12px); border-right: none; padding: 0; }
  .project-row, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .project-row.reverse { direction: ltr; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container, .container-wide { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .features-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: span 1; }

  .form-row { grid-template-columns: 1fr; }
  .project-specs-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .apt-table th:nth-child(4),
  .apt-table td:nth-child(4) { display: none; }

  .map-container { height: 320px; }

  .invest-offer-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 480px) {
  .apt-table th:nth-child(3),
  .apt-table td:nth-child(3),
  .apt-table th:nth-child(5),
  .apt-table td:nth-child(5) { display: none; }
}

/* ========================
   UTILITIES
   ======================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* ========================
   LOCALIZARE PAGE
   ======================== */
.localizare-hero {
  position: relative;
  padding: 180px 0 72px;
  overflow: hidden;
}

.localizare-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/5.jpg');
  background-size: cover;
  background-position: center;
}

.localizare-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,16,12,0.78) 0%, rgba(20,16,12,0.60) 100%);
}

.localizare-hero .container { position: relative; z-index: 1; }
.localizare-hero h1 { color: var(--white); margin-bottom: 16px; }
.localizare-hero p  { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 540px; }

.project-selector {
  padding: 56px 0 0;
  background: var(--cream);
}

.project-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.project-tab {
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.project-tab:hover,
.project-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.address-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 10px 10px 20px;
  max-width: 560px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.address-bar svg { color: var(--gold); flex-shrink: 0; }

.address-bar input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
}

.address-bar input::placeholder { color: var(--text-light); }

.address-bar button {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.address-bar button:hover { background: var(--gold-hover); }

/* Landmark grid */
.landmarks-section {
  padding: 72px 0;
  background: var(--cream);
}

.landmarks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.landmark-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.landmark-card:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.landmark-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.landmark-info .landmark-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.landmark-info .landmark-place {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.landmark-info .landmark-dist {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 768px) {
  .landmarks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .landmarks-grid { grid-template-columns: 1fr; }
}

/* ========================
   CONTACT PAGE (standalone)
   ======================== */
.contact-page-wrap {
  padding: 140px 0 0;
  min-height: 100vh;
  background: var(--cream);
}

/* ========================
   DESPRE NOI PAGE
   ======================== */
.story-section {
  padding: 96px 0;
  background: var(--white);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text .eyebrow { color: var(--gold); }
.story-text h2 { margin-bottom: 20px; }

.story-text p {
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.story-text p:last-of-type { margin-bottom: 32px; }

.team-section {
  padding: 96px 0;
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.team-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-mid);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img img { transform: scale(1.05); }

.team-card-body {
  padding: 20px;
}

.team-card-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-banner {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/4.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
}

.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-banner p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; }

@media (max-width: 900px) {
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ========================
   PROIECTE PAGE v2
   ======================== */

/* Spec grid inside project rows */
.proj-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin: 20px 0 32px;
}

.proj-spec-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.proj-spec-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Status badge on project image */
.proj-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.proj-img-badge.finalizat {
  background: #D9EFDD;
  color: #1A6B2C;
}

.proj-img-badge.constructie {
  background: var(--dark);
  color: rgba(255,255,255,0.88);
}

/* Project hero large title */
.proiecte-hero-title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 20px;
}

/* Updated footer (minimal 4-col) */
.footer-minimal {
  background: var(--dark);
  padding: 64px 0 0;
}

.footer-minimal-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-minimal-brand .fm-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-minimal-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-minimal-col h6 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.footer-minimal-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-minimal-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.48);
  transition: var(--transition);
}

.footer-minimal-col ul li a:hover { color: var(--gold-light); }

.footer-minimal-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-minimal-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
}

.footer-minimal-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer-minimal-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-minimal-grid { grid-template-columns: 1fr; }
}

/* ========================
   LANGUAGE SELECTOR
   ======================== */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1.5px solid var(--border-mid);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb, 180,147,80), 0.12);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
}

.lang-code {
  display: none;
}

.lang-chevron {
  display: none;
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 130px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 10000;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown.open ~ .lang-toggle .lang-chevron,
.lang-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--cream);
}

.lang-option.active {
  color: var(--gold);
  font-weight: 600;
}

.lang-option span {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .lang-selector {
    margin-right: 4px;
  }
  .lang-toggle {
    width: 32px;
    height: 32px;
  }
}

/* ========================
   POVESTEA NOASTRĂ
   ======================== */
.story-section {
  padding: 100px 0;
  background: var(--cream);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-logo .logo-img {
  height: 60px;
  width: auto;
}

.story-title {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin: 0;
}

.story-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.story-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-stat-card {
  background: #2A2520;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.story-stat-icon {
  color: var(--gold);
}

.story-stat-number {
  font-family: var(--font-body);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.story-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .story-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .story-stat-card {
    padding: 24px 18px;
  }
  .story-stat-number {
    font-size: 2.2rem;
  }
}

/* ========================
   APARTAMENTE DISPONIBILE — CARD LAYOUT
   ======================== */
.apartments-section {
  padding: 100px 0;
  background: var(--white);
}

.apt-main-title {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--dark);
  text-align: center;
  margin: 0 0 16px;
}

.apt-main-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.apt-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.apt-type-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.apt-type-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.apt-type-card--popular {
  border-color: var(--gold);
  border-width: 2px;
  padding-top: 44px;
}

.apt-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: var(--radius-full);
}

.apt-type-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.apt-type-name {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  letter-spacing: 0.02em;
}

.apt-type-specs {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apt-type-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.apt-type-specs li svg {
  flex-shrink: 0;
  color: var(--gold);
}

.apt-type-btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-mid);
  background: transparent;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.apt-type-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.apt-type-btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.apt-type-btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.apt-types-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.apt-cta-btn {
  padding: 18px 48px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .apt-types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .apt-types-grid {
    grid-template-columns: 1fr;
  }
  .apt-main-title {
    font-size: 1.8rem;
  }
}
