/*
Theme Name: Premier Imobiliare
Theme URI: https://premier-imobiliare.ro
Author: Premier Imobiliare
Version: 1.0.1
Text Domain: premier-imobiliare
Description: Temă premium agenție imobiliară
*/

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

:root {
  --gold:        #C49A2A;
  --gold-dark:   #A07A1A;
  --gold-light:  #D4AA40;
  --dark:        #1A1A2E;
  --dark-2:      #16213E;
  --white:       #FFFFFF;
  --off-white:   #F8F6F0;
  --gray-light:  #F2F2F2;
  --gray:        #E0E0E0;
  --gray-mid:    #9E9E9E;
  --gray-dark:   #555555;
  --text:        #2C2C2C;
  --text-light:  #666666;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Mulish', 'Open Sans', sans-serif;
  --radius:      8px;
  --radius-sm:   4px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --transition:  0.25s ease;
  --header-h:    72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 7px 0;
  font-size: 13px;
  position: relative;
  z-index: 200;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-left a {
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 6px;
}
.top-bar-left a:hover { color: var(--gold); }
.top-bar-left svg { flex-shrink: 0; }

.top-bar-right { display: flex; align-items: center; gap: 6px; }
.top-bar-right span { color: rgba(255,255,255,.55); font-size: 12px; margin-right: 2px; }
.top-bar-right a {
  color: rgba(255,255,255,.75);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--transition);
}
.top-bar-right a:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon svg { width: 42px; height: 42px; }
.logo-text { line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--dark);
  text-transform: uppercase;
  display: block;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gray-mid);
  text-transform: uppercase;
  display: block;
}

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-menu > li > a:hover { color: var(--gold); }
.nav-menu > li.current-menu-item > a {
  color: var(--gold);
  position: relative;
}
.nav-menu > li.current-menu-item > a::after {
  content: '';
  position: absolute; bottom: -4px; left: 12px; right: 12px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.has-dropdown > a .chevron {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  display: inline-block;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 2px;
}
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 190px; padding: 6px 0;
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 9px 16px;
  font-size: 13px; color: var(--text);
  transition: all var(--transition);
}
.dropdown-menu li a:hover { background: var(--gray-light); color: var(--gold); padding-left: 22px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-hdr {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; font-size: 13px; font-weight: 600;
  color: var(--text); background: transparent; border: none;
  border-radius: var(--radius-sm);
  white-space: nowrap; transition: color var(--transition);
}
.btn-hdr:hover { color: var(--gold); }
.btn-hdr svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-adauga {
  background: var(--gold); color: var(--white) !important;
  padding: 9px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: 13px;
  white-space: nowrap;
}
.btn-adauga:hover { background: var(--gold-dark) !important; color: var(--white); }

/* Mobile hamburger */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none;
  margin-left: auto;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1613977257363-707ba9348227?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(15,20,35,.88) 0%,
    rgba(15,20,35,.55) 55%,
    rgba(15,20,35,.1) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 0 130px;
  max-width: 520px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 16px;
}
.hero-content p {
  color: rgba(255,255,255,.82);
  font-size: 15px; margin-bottom: 30px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--white);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 12px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  border: 2px solid var(--gold); transition: all var(--transition);
  white-space: nowrap;
}
.btn-hero-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--white);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 12px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.7);
  transition: all var(--transition); white-space: nowrap;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-wrapper {
  position: relative; z-index: 50;
  margin-top: -58px;
}
.search-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(0,0,0,.18);
  overflow: visible;
}
.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--gray);
  padding: 0 4px;
}
.search-tab {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 20px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-mid);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  white-space: nowrap;
}
.search-tab svg { width: 15px; height: 15px; }
.search-tab.active { color: var(--text); border-bottom-color: var(--gold); }
.search-tab:hover { color: var(--text); }

.search-fields {
  display: flex; align-items: flex-end; gap: 10px;
  padding: 18px 20px; flex-wrap: wrap;
}
.sf { flex: 1; min-width: 130px; }
.sf label {
  display: block; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .9px;
  color: var(--gray-dark); margin-bottom: 5px;
}
.sf select, .sf input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--gray); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color var(--transition);
  appearance: none; -webkit-appearance: none;
}
.sf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 28px;
}
.sf input { background-image: none; }
.sf select:focus, .sf input:focus { border-color: var(--gold); }
.sf-price { display: flex; gap: 6px; align-items: center; }
.sf-price input { flex: 1; min-width: 70px; }
.sf-price .dash { color: var(--gray-mid); font-size: 16px; flex-shrink: 0; }
.btn-search {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--dark); color: var(--white);
  padding: 0 22px; height: 40px;
  border-radius: var(--radius-sm); border: none;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background var(--transition);
}
.btn-search:hover { background: var(--gold); }
.btn-search svg { width: 15px; height: 15px; }

/* ============================================================
   PROPRIETĂȚI RECOMANDATE
   ============================================================ */
.props-section { padding: 52px 0 60px; }
.section-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; color: var(--dark);
}
.section-link {
  font-size: 13px; font-weight: 700; color: var(--gold);
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.section-link:hover { color: var(--gold-dark); }

.props-map-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}
.props-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================================
   CARD PROPRIETATE
   ============================================================ */
.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Link wrapper over entire card */
.prop-card-link {
  position: absolute; inset: 0; z-index: 1;
  display: block;
}
/* Favorite button above link */
.btn-fav {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; transition: all var(--transition);
}
.btn-fav:hover { background: var(--white); transform: scale(1.1); }
.btn-fav svg { width: 15px; height: 15px; color: var(--gray-dark); pointer-events: none; }
.btn-fav.active svg { color: #E53935; fill: #E53935; }

.card-img {
  height: 185px; overflow: hidden; position: relative;
  background: var(--gray-light);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.prop-card:hover .card-img img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 3px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  pointer-events: none;
}
.badge-nou       { background: var(--gold); color: #fff; }
.badge-exclusiv  { background: var(--gold); color: #fff; }
.badge-comision  { background: #2A7A2A; color: #fff; }

.card-body { padding: 13px 14px; flex: 1; }
.card-title {
  font-size: 13px; font-weight: 700; color: var(--dark);
  margin-bottom: 4px; line-height: 1.3;
}
.card-loc {
  display: flex; align-items: center; gap: 3px;
  font-size: 11px; color: var(--gray-mid); margin-bottom: 8px;
}
.card-loc svg { width: 11px; height: 11px; color: var(--gold); flex-shrink: 0; }
.card-price {
  font-size: 17px; font-weight: 800; color: var(--dark);
  margin-bottom: 9px;
}
.card-price small { font-size: 12px; font-weight: 400; color: var(--gray-mid); }
.card-specs {
  display: flex; gap: 10px; align-items: center;
  padding-top: 9px; border-top: 1px solid var(--gray-light);
  font-size: 11px; color: var(--gray-dark); flex-wrap: wrap;
}
.cs { display: flex; align-items: center; gap: 3px; }
.cs svg { width: 12px; height: 12px; color: var(--gray-mid); flex-shrink: 0; }

/* ============================================================
   HARTA MINI
   ============================================================ */
.map-widget {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 440px;
  position: relative;
}
#mini-map { width: 100%; height: 100%; min-height: 440px; }

/* Leaflet popup custom */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
  border: none !important;
}
.leaflet-popup-content { margin: 0 !important; width: auto !important; }
.leaflet-popup-tip-container { display: none; }
.map-popup-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; width: 230px;
}
.map-popup-img {
  width: 68px; height: 68px; flex-shrink: 0;
  border-radius: 5px; object-fit: cover;
}
.map-popup-title { font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.map-popup-loc   { font-size: 10px; color: var(--gray-mid); margin-bottom: 4px; }
.map-popup-price { font-size: 15px; font-weight: 800; color: var(--gold); margin-bottom: 5px; }
.map-popup-specs { font-size: 10px; color: var(--gray-mid); display: flex; gap: 8px; }
.map-popup-link  {
  display: inline-block; margin-top: 6px;
  font-size: 11px; font-weight: 700; color: var(--gold);
}

/* Marker hover tooltip */
.premier-pin {
  width: 30px; height: 30px; cursor: pointer;
}
.premier-pin .pin-inner {
  width: 26px; height: 26px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s, background .2s;
}
.premier-pin:hover .pin-inner {
  background: var(--dark);
  transform: rotate(-45deg) scale(1.2);
}

/* ============================================================
   DESPRE NOI
   ============================================================ */
.about-section { padding: 60px 0; background: var(--off-white); }
.about-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px; align-items: start;
}
.about-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.about-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; color: var(--dark);
  line-height: 1.25; margin-bottom: 14px;
}
.about-desc { font-size: 14px; color: var(--text-light); line-height: 1.78; margin-bottom: 22px; }
.btn-about {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--white);
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 12px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase; border: none;
  transition: background var(--transition);
}
.btn-about:hover { background: var(--gold-dark); color: var(--white); }

.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-feat { text-align: center; padding: 18px 8px; }
.feat-icon {
  width: 50px; height: 50px; margin: 0 auto 12px;
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 34px; height: 34px; }
.feat-name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.feat-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: var(--white); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,.45); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 14px; line-height: 1.7; }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.fcontact-item { display: flex; gap: 10px; margin-bottom: 11px; font-size: 13px; color: rgba(255,255,255,.6); }
.fcontact-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-btm-links { display: flex; gap: 18px; }

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-hdr { background: var(--dark); padding: 44px 0; color: var(--white); }
.archive-hdr h1 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 6px; }
.archive-hdr p { color: rgba(255,255,255,.65); font-size: 14px; }

.archive-layout {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 28px; padding: 40px 0;
  align-items: start;
}
.archive-sidebar {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.filter-title { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-dark); margin-bottom: 5px; }
.filter-group select,
.filter-group input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--gray); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px; color: var(--text);
  appearance: none; background: var(--white); outline: none;
  transition: border-color var(--transition);
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--gold); }
.filter-price { display: flex; gap: 6px; align-items: center; }
.filter-price input { flex: 1; }
.filter-price span { color: var(--gray-mid); flex-shrink: 0; }
.btn-reset {
  width: 100%; padding: 9px; border: 1px solid var(--gray);
  border-radius: var(--radius-sm); background: transparent;
  font-size: 13px; font-weight: 600; color: var(--gray-dark);
  transition: all var(--transition); margin-top: 6px;
}
.btn-reset:hover { border-color: var(--gold); color: var(--gold); }

.archive-main {}
.archive-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.results-count { font-size: 13px; color: var(--gray-mid); font-weight: 600; }
.sort-sel {
  padding: 8px 14px; border: 1px solid var(--gray);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 13px; background: var(--white); outline: none;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ajax-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pag-btn {
  width: 34px; height: 34px; border: 1px solid var(--gray);
  border-radius: var(--radius-sm); background: var(--white);
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.pag-btn:hover, .pag-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.no-results { grid-column: 1/-1; padding: 48px; text-align: center; color: var(--gray-mid); }

/* ============================================================
   SINGLE PROPRIETATE
   ============================================================ */
.single-hero { height: 440px; overflow: hidden; background: var(--dark); }
.single-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px; padding: 44px 0 60px;
  align-items: start;
}
.single-badge {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--white);
  padding: 4px 12px; border-radius: 4px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 14px;
}
.single-title {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700; color: var(--dark);
  margin-bottom: 8px; line-height: 1.2;
}
.single-loc {
  display: flex; align-items: center; gap: 5px;
  color: var(--gray-mid); font-size: 13px; margin-bottom: 20px;
}
.single-loc svg { color: var(--gold); width: 14px; height: 14px; }
.single-price { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 26px; }
.single-specs {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray);
  margin-bottom: 28px;
}
.sspec { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 55px; }
.sspec svg { width: 20px; height: 20px; color: var(--gold); }
.sspec-val { font-size: 14px; font-weight: 700; color: var(--dark); }
.sspec-lbl { font-size: 10px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: .5px; text-align: center; }
.single-desc { font-size: 14px; color: var(--text-light); line-height: 1.82; margin-bottom: 28px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.feat-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text);
  padding: 8px 11px; background: var(--gray-light); border-radius: var(--radius-sm);
}
.feat-item::before { content: '✓'; color: var(--gold); font-weight: 800; }

/* Contact Card (sidebar) */
.contact-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.cc-head { background: var(--dark); padding: 22px; text-align: center; }
.cc-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--gold); margin: 0 auto 10px; overflow: hidden; }
.cc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc-name { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cc-role { color: rgba(255,255,255,.55); font-size: 12px; }
.cc-body { padding: 22px; }
.cc-price { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--dark); text-align: center; margin-bottom: 18px; }
.cc-price small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--gray-mid); margin-bottom: 4px; }
.btn-cc {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 12px; border-radius: var(--radius); border: none;
  font-size: 13px; font-weight: 700; margin-bottom: 9px;
  transition: all var(--transition);
}
.btn-cc-call { background: var(--gold); color: var(--white); }
.btn-cc-call:hover { background: var(--gold-dark); }
.btn-cc-wa { background: #25D366; color: var(--white); }
.btn-cc-wa:hover { background: #1da851; }
.btn-cc-email { background: transparent; color: var(--dark); border: 2px solid var(--gray) !important; }
.btn-cc-email:hover { border-color: var(--gold) !important; color: var(--gold); }
.cc-form-toggle { font-size: 12px; color: var(--gold); font-weight: 700; cursor: pointer; text-align: center; margin-top: 6px; }
.cc-form { margin-top: 14px; display: none; }
.cc-form.open { display: block; }
.cc-form input, .cc-form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--gray);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 12px; color: var(--text); margin-bottom: 8px; outline: none;
  transition: border-color var(--transition);
}
.cc-form input:focus, .cc-form textarea:focus { border-color: var(--gold); }
.cc-form textarea { min-height: 80px; resize: vertical; }
.btn-cc-send {
  width: 100%; padding: 12px; background: var(--dark); color: var(--white);
  border: none; border-radius: var(--radius); font-size: 13px; font-weight: 700;
  transition: background var(--transition);
}
.btn-cc-send:hover { background: var(--gold); }

/* Single map */
.single-map-wrap { border-radius: var(--radius); overflow: hidden; height: 280px; margin-bottom: 28px; }
#single-map { width: 100%; height: 100%; }

/* ============================================================
   MODAL HARTA MARE
   ============================================================ */
#map-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.7);
  align-items: center; justify-content: center;
  padding: 20px;
}
#map-modal.open { display: flex; }
.map-modal-inner {
  background: var(--white); border-radius: var(--radius);
  width: 100%; max-width: 1000px; height: 80vh;
  max-height: 700px; overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.map-modal-hdr {
  padding: 14px 18px; border-bottom: 1px solid var(--gray);
  display: flex; align-items: center; justify-content: space-between;
}
.map-modal-hdr h3 { font-size: 16px; font-weight: 700; color: var(--dark); }
.btn-close-modal {
  background: none; border: none; font-size: 22px; line-height: 1;
  color: var(--gray-mid); transition: color var(--transition);
}
.btn-close-modal:hover { color: var(--dark); }
#full-map { flex: 1; }

/* ============================================================
   PAGE GENERICE
   ============================================================ */
.page-content-wrap { max-width: 860px; padding: 56px 24px; margin: 0 auto; }
.page-content-wrap h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--dark); margin-bottom: 22px; }
.page-content-wrap .entry-content { font-size: 15px; color: var(--text-light); line-height: 1.82; }
.page-content-wrap .entry-content p { margin-bottom: 16px; }
.page-content-wrap .entry-content h2,
.page-content-wrap .entry-content h3 { font-family: var(--font-display); color: var(--dark); margin: 24px 0 12px; }

/* ============================================================
   UTILITARE
   ============================================================ */
.loading-spinner { text-align: center; padding: 48px; color: var(--gray-mid); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--gray); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- 1100px ---- */
@media (max-width: 1100px) {
  .props-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-features { grid-template-columns: repeat(4, 1fr); }
}

/* ---- 960px ---- */
@media (max-width: 960px) {
  .props-map-wrap { grid-template-columns: 1fr; }
  .map-widget { height: 320px; min-height: 320px; }
  #mini-map { min-height: 320px; }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-sidebar { position: static; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  /* Nav collapse */
  .main-nav .nav-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 9998;
    padding: 80px 30px 30px; overflow-y: auto; gap: 0;
  }
  .main-nav .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--gray-light); width: 100%; }
  .mobile-toggle { display: flex; }
  .btn-hdr:not(.btn-adauga) { display: none; }
}

/* ---- 680px ---- */
@media (max-width: 680px) {
  .hero-content { padding: 60px 0 110px; }
  .props-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .search-fields { flex-direction: column; }
  .sf { min-width: 100%; }
  .section-hdr { flex-direction: column; align-items: flex-start; gap: 8px; }
  .top-bar .container { flex-direction: column; gap: 6px; }
  .header-inner { gap: 10px; }
  .btn-adauga { padding: 8px 14px; font-size: 12px; }
}

/* ---- 420px ---- */
@media (max-width: 420px) {
  .props-cards-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-hero-gold, .btn-hero-outline { text-align: center; justify-content: center; }
}
