/* ==========================================================
   Imobiliare365 - main.css (Themes + Transparent Header)
   - Light: white + blue
   - Dark: black + gold + white
   ========================================================== */

/* -------------------------
   0) Base + vars
------------------------- */
:root{
  --container: 1240px;
  --gutter: 18px;

  --radius: 14px;

  --topbar-h: 36px;
  --header-h: 78px;

  /* defaults (light) */
  --bg: #ffffff;
  --text: #111827;
  --muted: rgba(17,24,39,.72);

  --brand: #0b5ed7;
  --brand-2: #084298;

  --border: rgba(17,24,39,.10);
  --shadow: 0 14px 30px rgba(0,0,0,.10);

  /* HEADER overlay style (initial over hero) */
  --header-link: rgba(255,255,255,.92);
  --header-link-hover: #ffffff;
  --header-cta-bg: rgba(17,24,39,.18);
  --header-cta-border: rgba(255,255,255,.22);

  /* TOPBAR (over hero) */
  --topbar-bg: rgba(8, 47, 73, .55);
  --topbar-text: rgba(255,255,255,.92);
  --topbar-divider: rgba(255,255,255,.25);

  /* SCROLLED header (light) */
  --scrolled-bg: rgba(255,255,255,.98);
  --scrolled-text: rgba(17,24,39,.88);
  --scrolled-link-hover: var(--brand);
  --scrolled-cta-bg: #ffffff;
  --scrolled-cta-border: var(--border);

  /* HERO overlay (light) */
  --hero-overlay: rgba(11,18,32,.45);
}

/* DARK THEME overrides */
body[data-theme="dark"]{
  --bg: #0b0b0f;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --brand: #d4af37;   /* GOLD */
  --brand-2: #b98a1a; /* darker gold */

  --border: rgba(255,255,255,.12);
  --shadow: 0 16px 34px rgba(0,0,0,.45);

  /* Topbar over hero: transparent dark + gold */
  --topbar-bg: rgba(0,0,0,.40);
  --topbar-text: rgba(212,175,55,.92);
  --topbar-divider: rgba(212,175,55,.35);

  /* Header links over hero: gold */
  --header-link: rgba(212,175,55,.92);
  --header-link-hover: rgba(255,255,255,.95);

  --header-cta-bg: rgba(0,0,0,.35);
  --header-cta-border: rgba(212,175,55,.35);

  /* Scrolled header: black + gold */
  --scrolled-bg: rgba(0,0,0,.92);
  --scrolled-text: rgba(212,175,55,.92);
  --scrolled-link-hover: rgba(255,255,255,.95);
  --scrolled-cta-bg: rgba(0,0,0,.65);
  --scrolled-cta-border: rgba(212,175,55,.35);

  /* Hero overlay: warm gold tint */
  --hero-overlay: radial-gradient(900px 380px at 50% 38%, rgba(212,175,55,.10), rgba(0,0,0,.72) 55%, rgba(0,0,0,.88) 100%);

}

html, body{
  margin:0;
  padding:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

*{ box-sizing: border-box; }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; height:auto; display:block; }
button, input, select, textarea{ font: inherit; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* -------------------------
   1) Header overlay + sticky
------------------------- */
.site-header{
  position: absolute;
  top:0;
  left:0;
  right:0;
  z-index: 9999;
  pointer-events: none;
}
.site-header > *{ pointer-events: auto; }

body.is-scrolled .site-header{ position: fixed; }

/* Topbar */
.topbar{
  height: var(--topbar-h);
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 12px;
  backdrop-filter: blur(8px);
}
.topbar-inner{
  height: var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-social{
  display:flex;
  align-items:center;
  gap: 10px;
}
.topbar-social a{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--topbar-text);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  transition: .18s ease;
}
/* SVG icons */
.topbar .social-btn svg{
  width: 14px;
  height: 14px;
  display:block;
  fill: currentColor;
}

.topbar-social .social-btn{
  color: var(--topbar-text);
}

.topbar-social .social-btn:hover{
  color: #fff;
}

body[data-theme="dark"] .topbar-social .social-btn:hover{
  color: rgba(255,255,255,.95);
}

/* WhatsApp icon */
.topbar-wa{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.topbar-wa .wa-ico{
  display:inline-flex;
  width: 16px;
  height: 16px;
}
.topbar-wa .wa-ico svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body[data-theme="dark"] .topbar-social a{
  background: rgba(0,0,0,.25);
  border-color: rgba(212,175,55,.25);
}
.topbar-social a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
}

.topbar-right{
  display:flex;
  align-items:center;
  gap: 14px;
}
.topbar-link{
  color: var(--topbar-text);
  opacity: .95;
  font-weight: 700;
}
.topbar-link:hover{ opacity: 1; text-decoration: underline; }

.topbar-sep{
  width: 1px;
  height: 14px;
  background: var(--topbar-divider);
  display:inline-block;
}

/* Navbar */
.navbar{
  height: var(--header-h);
  background: transparent;
  transition: .20s ease;
}
.navbar-inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo-text{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--header-link);
}
body.is-scrolled .site-logo-text{
  color: var(--scrolled-text);
}

.navbar-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 22px;
  list-style:none;
  margin:0;
  padding:0;
}
.navbar-menu a{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--header-link);
  transition: .18s ease;
}
.navbar-menu a:hover{ color: var(--header-link-hover); }

/* Right side */
.navbar-right{
  display:flex;
  align-items:center;
  gap: 10px;
}

.nav-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--header-cta-border);
  background: var(--header-cta-bg);
  color: var(--header-link);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(8px);
  transition: .18s ease;
}
.nav-phone:hover{ transform: translateY(-1px); }

/* Theme toggle */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--header-cta-border);
  background: var(--header-cta-bg);
  color: var(--header-link);
  cursor: pointer;
  transition: .18s ease;
  backdrop-filter: blur(8px);
}
.theme-toggle:hover{ transform: translateY(-1px); }
.theme-toggle-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.theme-toggle-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}

/* Scrolled behavior (colors switch by variables) */
body.is-scrolled .navbar{
  background: var(--scrolled-bg);
  box-shadow: 0 10px 26px rgba(0,0,0,.16);
}
body.is-scrolled .navbar-menu a{
  color: var(--scrolled-text);
}
body.is-scrolled .navbar-menu a:hover{
  color: var(--scrolled-link-hover);
}
body.is-scrolled .nav-phone,
body.is-scrolled .theme-toggle{
  background: var(--scrolled-cta-bg);
  border-color: var(--scrolled-cta-border);
  color: var(--scrolled-text);
}

/* Mobile */
@media (max-width: 980px){
  .navbar-menu{ display:none; }
  .topbar-right{ display:none; } /* optional: pe mobil e aglomerat */
}

/* -------------------------
   2) Hero
------------------------- */
.hero{
  position: relative;
  min-height: 540px;
  display:flex;
  align-items:center;
  background-position:center;
  background-size: cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: var(--hero-overlay);
}

.hero-inner{
  position:relative;
  z-index:2;
  width: 100%;
  padding: calc(var(--topbar-h) + var(--header-h) + 60px) 0 34px;
  text-align:center;
  color:#fff;
}
body[data-theme="dark"] .hero-inner{
  color: rgba(255,255,255,.95);
}

.hero-title{
  margin: 0 0 10px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.hero-subtitle{
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}
/* Dark theme hero text -> gold */
body[data-theme="dark"] .hero-title{
  color: rgba(212,175,55,.95);
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}
body[data-theme="dark"] .hero-subtitle{
  color: rgba(212,175,55,.82);
}


@media (max-width: 700px){
  .hero-title{ font-size: 34px; }
}

/* Search box */
.hero-search{
  width: min(980px, 100%);
  margin: 16px auto 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  overflow:hidden;
}
body[data-theme="dark"] .hero-search{
  background: rgba(0,0,0,.68);
  border: 1px solid rgba(212,175,55,.20);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}

.hero-filters{
  display:flex;
  align-items:stretch;
  gap: 10px;
  padding: 14px;
  flex-wrap: wrap;
}

.hero-filters select,
.hero-filters input{
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  background:#fff;
  height: 42px;
}
body[data-theme="dark"] .hero-filters select,
body[data-theme="dark"] .hero-filters input{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.22);
  color: rgba(255,255,255,.92);
}

.hero-filters select{ min-width: 160px; }

.price-range{
  display:flex;
  gap: 10px;
}
.price-range input{ width: 150px; }

.btn-primary{
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 900;
  font-size: 13px;
  background: var(--brand);
  color: #fff;
  transition: .18s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  background: var(--brand-2);
}

@media (max-width: 980px){
  .hero-filters select,
  .price-range,
  .price-range input{
    width: 100%;
    min-width: 0;
  }
  .btn-primary{ width: 100%; }
}
body.is-scrolled .topbar{
  display: none;
}
/* ==========================================================
   3) Sections + Recent grid + Property card
========================================================== */

.container-wide{
  max-width: 1320px; /* poți urca la 1440 dacă vrei mai wide */
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{
  padding: 54px 0;
}

.section.alt{
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
}
body[data-theme="dark"] .section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,0));
}

.section-head h2{
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Pills */
.pills{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}
.pill{
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.pill:hover{ transform: translateY(-1px); }
.pill.is-active{
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

/* Grid: 3 pe rând, 2 rânduri = 6 inițial */
.props-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 10px;
}

@media (max-width: 1024px){
  .props-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .props-grid{ grid-template-columns: 1fr; }
}

/* Card */
.prop-card{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body[data-theme="dark"] .prop-card{
  background: rgba(0,0,0,.55);
  border-color: rgba(212,175,55,.20);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}
.prop-card:hover{
  transform: translateY(-3px);
}

/* Media */
.prop-media{
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(0,0,0,.06);
}
body[data-theme="dark"] .prop-media{ background: rgba(255,255,255,.06); }

.prop-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges */
.prop-badges{
  position:absolute;
  top: 12px;
  left: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}
.badge{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
}
.badge.brand{
  background: rgba(11,94,215,.85);
}
body[data-theme="dark"] .badge.brand{
  background: rgba(212,175,55,.85);
  color: #111;
}

/* Top meta overlay (icons / gallery count etc.) */
.prop-meta-top{
  position:absolute;
  right: 12px;
  top: 12px;
  display:flex;
  gap: 10px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}
.prop-meta-top .chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
}

/* Body */
.prop-body{
  padding: 14px 14px 16px;
}

.prop-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.prop-price{
  display:flex;
  align-items:baseline;
  gap: 10px;
  font-weight: 900;
  margin: 0 0 6px;
}
.prop-price .value{ color: var(--brand); font-size: 16px; }
.prop-price .note{ color: var(--muted); font-size: 12px; font-weight: 800; }

.prop-loc{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.prop-desc{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prop-specs{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  opacity: .92;
}
.prop-specs span{
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

/* Button center */
.center .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 900;
}
/* FORCE Recent grid + card (override) */
.container-wide{
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 var(--gutter) !important;
}

.props-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-top: 12px !important;
}

@media (max-width: 1024px){
  .props-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px){
  .props-grid{ grid-template-columns: 1fr !important; }
}

.prop-card{
  width: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  background: rgba(255,255,255,.75) !important;
  box-shadow: var(--shadow) !important;
}

body[data-theme="dark"] .prop-card{
  background: rgba(0,0,0,.55) !important;
  border-color: rgba(212,175,55,.20) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.55) !important;
}

.prop-media{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16/10 !important;
  overflow: hidden !important;
  background: rgba(0,0,0,.06) !important;
}

.prop-media img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.prop-badges{
  position:absolute !important;
  top: 12px !important;
  left: 12px !important;
  display:flex !important;
  gap: 8px !important;
  z-index: 2 !important;
}

.badge{
  font-size: 12px !important;
  font-weight: 900 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  color: #fff !important;
}

.badge.brand{ background: rgba(11,94,215,.85) !important; }
body[data-theme="dark"] .badge.brand{
  background: rgba(212,175,55,.85) !important;
  color: #111 !important;
}

.prop-meta-top{
  position:absolute !important;
  right: 12px !important;
  top: 12px !important;
  display:flex !important;
  gap: 10px !important;
  z-index: 2 !important;
  color:#fff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
}

.prop-meta-top .chip{
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.55) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}

.prop-body{ padding: 14px 14px 16px !important; }
.prop-title{ margin: 0 0 8px !important; font-size: 16px !important; font-weight: 900 !important; line-height: 1.25 !important; }
.prop-price{ margin: 0 0 6px !important; font-weight: 900 !important; display:flex !important; gap: 10px !important; align-items:baseline !important; }
.prop-price .value{ color: var(--brand) !important; font-size: 16px !important; }
.prop-price .note{ color: var(--muted) !important; font-size: 12px !important; font-weight: 800 !important; }
.prop-loc{ margin: 0 0 10px !important; color: var(--muted) !important; font-weight: 700 !important; font-size: 13px !important; }

.prop-desc{
  margin: 0 0 12px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.prop-specs{
  display:flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  opacity: .92 !important;
}
/* bottom overlay on image */
.prop-media-foot{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}

.media-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-chip svg{
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* price under title */
.prop-price{
  margin: 0 0 10px !important;
}
.prop-price .value{
  color: var(--brand) !important;
}
.prop-price .old{
  font-size: 12px;
  opacity: .65;
  text-decoration: line-through;
}

/* badges extra */
.badge-discount{
  background: rgba(220, 53, 69, .85);
}
.badge-active{
  background: rgba(25, 135, 84, .80);
}

/* specs row with delimiter + right actions */
.prop-specs{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body[data-theme="light"] .prop-specs{
  border-top-color: rgba(17,24,39,.10);
}

.spec-left{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  opacity: .92;
}

/* share buttons */
.spec-right{
  display:flex;
  gap: 8px;
  flex: 0 0 auto;
}
.share-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: .18s ease;
}
body[data-theme="light"] .share-btn{
  background: rgba(17,24,39,.05);
  color: rgba(17,24,39,.80);
  border-color: rgba(17,24,39,.12);
}

.share-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.30);
}
.share-btn svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- Recent heading ---------- */
.section-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 10px;
}
.section-subtitle{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Grid ---------- */
.container-wide{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.props-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 12px;
}
@media (max-width: 1024px){ .props-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .props-grid{ grid-template-columns: 1fr; } }

.center{ text-align:center; margin-top:20px; }

/* ---------- Card ---------- */
.prop-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
}
body[data-theme="dark"] .prop-card{
  background: rgba(0,0,0,.55);
  border-color: rgba(212,175,55,.20);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

.prop-media{
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: rgba(0,0,0,.06);
}
.prop-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* badges */
.prop-badges{
  position:absolute;
  top: 12px;
  left: 12px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 3;
}

.badge{
  font-size: 12px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.50);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.badge.brand{
  background: rgba(11,94,215,.85);
  border-color: rgba(255,255,255,.12);
}
body[data-theme="dark"] .badge.brand{
  background: rgba(212,175,55,.85);
  color: #111;
  border-color: rgba(0,0,0,.20);
}
.badge-discount{ background: rgba(220, 53, 69, .82); }
.badge-active{ background: rgba(25, 135, 84, .78); }

/* bottom overlay */
.prop-media-foot{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}
.media-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.media-chip svg{
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* body */
.prop-body{ padding: 14px 14px 16px; }

.prop-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}
.prop-desc{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* price under title */
.prop-price{
  margin: 0 0 10px;
  font-weight: 900;
  display:flex;
  align-items: baseline;
  gap: 10px;
}
.prop-price .value{ color: var(--brand); font-size: 15px; }
.prop-price .old{
  font-size: 12px;
  opacity: .65;
  text-decoration: line-through;
}
.prop-price .note{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

/* specs + delimiter + share */
.prop-specs{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body[data-theme="light"] .prop-specs{ border-top-color: rgba(17,24,39,.10); }

.spec-left{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  opacity: .92;
}

.spec-right{
  display:flex;
  gap: 8px;
  flex: 0 0 auto;
}

.share-btn{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: .18s ease;
}
body[data-theme="light"] .share-btn{
  background: rgba(17,24,39,.05);
  color: rgba(17,24,39,.80);
  border-color: rgba(17,24,39,.12);
}
.share-btn:hover{ transform: translateY(-1px); }
.share-btn svg{ width: 16px; height: 16px; fill: currentColor; }
/* ==========================================================
   Home: Cities (Proprietăți după orașe)
========================================================== */
.section-cities .section-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 14px;
}

.cities-panel{
  margin: 18px auto 0;
  max-width: 980px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-theme="dark"] .cities-panel{
  background: rgba(0,0,0,.45);
  border-color: rgba(212,175,55,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

@media (max-width: 760px){
  .cities-panel{ grid-template-columns: 1fr; }
}

.city-item{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.60);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body[data-theme="dark"] .city-item{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.18);
}

.city-item:hover{
  transform: translateY(-2px);
  border-color: rgba(11,94,215,.35);
  background: rgba(255,255,255,.85);
}
body[data-theme="dark"] .city-item:hover{
  border-color: rgba(212,175,55,.35);
  background: rgba(0,0,0,.50);
}

.city-thumb{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(11,94,215,.22), rgba(11,94,215,.06));
  border: 1px solid rgba(17,24,39,.10);
}

body[data-theme="dark"] .city-thumb{
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(212,175,55,.06));
  border-color: rgba(212,175,55,.18);
}

.city-meta{
  display:flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.city-name{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.city-sub{
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.city-cta{
  margin-left: auto;
  font-weight: 900;
  opacity: .55;
}

/* disabled / soon */
.city-item.is-disabled{
  opacity: .55;
  filter: grayscale(1);
  cursor: not-allowed;
  pointer-events: none;
}

.city-item.is-disabled .city-sub{
  color: var(--muted);
}

.city-item.is-disabled .city-thumb{
  background: rgba(0,0,0,.06);
}
body[data-theme="dark"] .city-item.is-disabled .city-thumb{
  background: rgba(255,255,255,.06);
}
/* ==========================================================
   Home: Categories (Găsește după categorie)
========================================================== */
.section-cats .section-head{
  text-align:center;
  max-width: 820px;
  margin: 0 auto 18px;
}

.cat-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* primul card mai mare (ca în demo) */
.cat-card{
  grid-column: span 4;
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.08);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.cat-card.is-featured{
  grid-column: span 6;
  min-height: 320px;
}

.cat-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55));
}

body[data-theme="dark"] .cat-overlay{
  background:
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.72));
}

/* titlu sus-stânga */
.cat-name{
  position:absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.96);
  text-shadow: 0 10px 28px rgba(0,0,0,.45);
}

/* count jos-stânga */
.cat-count{
  position:absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}

/* hover */
.cat-card:hover{
  transform: translateY(-3px);
  border-color: rgba(11,94,215,.35);
}
body[data-theme="dark"] .cat-card:hover{
  border-color: rgba(212,175,55,.35);
}

/* disabled */
.cat-card.is-disabled{
  filter: grayscale(1);
  opacity: .60;
  cursor: not-allowed;
  pointer-events: none;
}
.cat-card.is-disabled .cat-count{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.14);
}

/* responsive */
@media (max-width: 1024px){
  .cat-card{ grid-column: span 6; min-height: 260px; }
  .cat-card.is-featured{ grid-column: span 12; min-height: 320px; }
}
@media (max-width: 640px){
  .cat-grid{ gap: 14px; }
  .cat-card, .cat-card.is-featured{ grid-column: span 12; min-height: 240px; }
}
.cat-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

/* default: fiecare card ocupă 4 */
.cat-card{
  grid-column: span 4;
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

/* MOSAIC desktop: 1 mare + 2 stivuite */
@media (min-width: 1025px){
  .cat-card:nth-child(1){
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    min-height: 380px;
  }

  .cat-card:nth-child(2){
    grid-column: 8 / span 5;
    grid-row: 1 / span 1;
    min-height: 180px;
  }

  .cat-card:nth-child(3){
    grid-column: 8 / span 5;
    grid-row: 2 / span 1;
    min-height: 180px;
  }
}

/* tablet */
@media (max-width: 1024px){
  .cat-card{ grid-column: span 6; min-height: 260px; }
}

/* mobil */
@media (max-width: 640px){
  .cat-card{ grid-column: span 12; min-height: 240px; }
}
/* ==========================================================
   Featured (Home) - card orizontal ca in demo
========================================================== */

/* grid 2 coloane pentru featured */
.featured-grid.featured-grid--two{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
@media (max-width: 980px){
  .featured-grid.featured-grid--two{
    grid-template-columns: 1fr;
  }
}

/* card orizontal */
.prop-card--featured{
  display: grid;
  grid-template-columns: 46% 54%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.prop-card--featured:hover{
  transform: translateY(-3px);
}

body[data-theme="dark"] .prop-card--featured{
  background: rgba(0,0,0,.55);
  border-color: rgba(212,175,55,.20);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

/* media full height */
.prop-card--featured .prop-media{
  aspect-ratio: auto;
  height: 100%;
  min-height: 270px;
}

/* body mai aerisit */
.prop-card--featured .prop-body{
  padding: 18px;
}

/* titlu putin mai mare */
.prop-title--featured{
  font-size: 18px;
  margin-bottom: 10px;
}

/* descriere 3 randuri (ca demo) */
.prop-desc--featured{
  -webkit-line-clamp: 3;
}

/* specs rand final fix ca in demo */
.prop-specs--featured{
  margin-top: 14px;
  padding-top: 14px;
}

/* icon specs */
.prop-specs--featured .spec-left .spec{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.prop-specs--featured .spec-left .spec svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: .9;
}

/* pe mobil: media sus, text jos */
@media (max-width: 640px){
  .prop-card--featured{
    grid-template-columns: 1fr;
  }
  .prop-card--featured .prop-media{
    min-height: 220px;
  }
}
/* ==========================================================
   Featured sharp + slider (no pills)
========================================================== */

.prop-card--sharp{
  border-radius: 8px;
}

.prop-card--featured{
  border-radius: 8px;
  grid-template-columns: 46% 54%;
}

.prop-media--featured{
  position: relative;
  border-radius: 0; /* imaginea sa fie “taiata” clean in card */
  overflow: hidden;
  min-height: 270px;
}

.prop-slider{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 270px;
}

.prop-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.prop-slide.is-active{
  opacity: 1;
  pointer-events: auto;
}

.prop-slide--empty{
  background: rgba(0,0,0,.06);
}

.prop-media-link{
  position:absolute;
  inset:0;
  z-index: 3;
}

/* arrows (no rounded pills) */
.slider-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
  opacity: .9;
}
.slider-arrow:hover{
  background: rgba(0,0,0,.40);
}
.slider-arrow svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.slider-prev{ left: 12px; }
.slider-next{ right: 12px; }

/* stack specs + socials underneath */
.prop-specs--stack{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}
body[data-theme="light"] .prop-specs--stack{
  border-top-color: rgba(17,24,39,.10);
}

.spec-social{
  display:flex;
  gap: 10px;
}

/* social icons: NO BORDER, less visible, less rounded */
.share-btn--flat{
  width: 34px;
  height: 34px;
  border: 0 !important;
  border-radius: 6px;
  background: transparent !important;
  opacity: .70;
}
.share-btn--flat:hover{
  opacity: .95;
  transform: translateY(-1px);
}
.share-btn--flat svg{
  width: 16px;
  height: 16px;
}

/* Mobile: media top, content bottom */
@media (max-width: 640px){
  .prop-card--featured{
    grid-template-columns: 1fr;
  }
  .prop-media--featured,
  .prop-slider{
    min-height: 220px;
  }
}
/* ==========================================================
   Home: Contact (Schedule a meeting style)
========================================================== */
.contact-final{
  padding: 90px 0;
  background-position: center;
  background-size: cover;
  position: relative;
}

.contact-final::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(11,18,32,.78);
}

body[data-theme="dark"] .contact-final::before{
  background: rgba(0,0,0,.78);
}

.contact-wrap{
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 34px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.92);
  box-shadow: 0 26px 60px rgba(0,0,0,.30);
}

body[data-theme="dark"] .contact-wrap{
  background: rgba(0,0,0,.62);
  border-color: rgba(212,175,55,.22);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}

.contact-head{
  text-align: center;
  margin-bottom: 18px;
}

.contact-head h2{
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact-head p{
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

body[data-theme="dark"] .contact-head p{
  color: rgba(212,175,55,.78);
}

/* grid inputs ca in demo */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field label{
  display:none; /* păstrăm semantic, dar vizual e ca demo */
}

.contact-field input,
.contact-field textarea{
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.92);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-field textarea{
  resize: vertical;
  min-height: 120px;
}

.contact-field input:focus,
.contact-field textarea:focus{
  border-color: rgba(11,94,215,.45);
  box-shadow: 0 0 0 4px rgba(11,94,215,.10);
}

body[data-theme="dark"] .contact-field input,
body[data-theme="dark"] .contact-field textarea{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.22);
  color: rgba(255,255,255,.92);
}

body[data-theme="dark"] .contact-field input:focus,
body[data-theme="dark"] .contact-field textarea:focus{
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 0 0 4px rgba(212,175,55,.10);
}

.contact-field--full{
  grid-column: 1 / -1;
}

/* actions ca in demo: buton mare full width */
.contact-actions{
  display:flex;
  gap: 12px;
  margin-top: 6px;
}

.contact-actions .btn-secondary,
.contact-actions .btn-primary{
  height: 46px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  padding: 0 18px;
  width: 100%;
}

.btn-secondary{
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(17,24,39,.04);
  color: rgba(17,24,39,.88);
}

body[data-theme="dark"] .btn-secondary{
  border-color: rgba(212,175,55,.22);
  background: rgba(0,0,0,.30);
  color: rgba(212,175,55,.92);
}

.btn-secondary:hover{
  transform: translateY(-1px);
}

/* responsive */
@media (max-width: 720px){
  .contact-wrap{ padding: 26px 16px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-actions{ flex-direction: column; }
}
/* ==========================================================
   Ultra Featured (Home) - full width 1 + 4 grid + overlay card
========================================================== */

.section-ultra{
  padding: 0;                 /* full width look */
}

.container-ultra{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* wrapper full width */
.ultra-featured{
  width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 1fr; /* stanga mai mare */
  gap: 0;
  min-height: 520px;
  background: transparent;
}

/* LEFT big image */
.ultra-left{
  position: relative;
  display: block;
  min-height: 520px;
  background-size: cover;
  background-position: center;
}

/* subtle dark overlay (ca demo) */
.ultra-left::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,0) 70%);
  pointer-events:none;
}

/* RIGHT mosaic 2x2 */
.ultra-right{
  position: relative;
  display: grid;
  grid-template-rows: 1fr; /* doar gridul, info e absolut */
  background: #0000;
}

.ultra-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;                  /* linii subtiri intre poze */
  height: 100%;
  min-height: 520px;
}

.ultra-cell{
  display:block;
  background-size: cover;
  background-position: center;
  min-height: 0;
}

/* CARD text (overlay) – il mutam peste stanga, ca in demo */
.ultra-info{
  position: absolute;
  left: 6vw;                 /* “iese frumos” pe desktop */
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: min(520px, 86vw);
  padding: 22px 24px;
  background: rgba(255,255,255,.92);
  color: #0b0b0f;
  border-radius: 10px;       /* discret, nu rotund mult */
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

/* dark theme: card alb tot arata premium */
body[data-theme="dark"] .ultra-info{
  background: rgba(255,255,255,.92);
  color: #0b0b0f;
}

/* pret sus */
.ultra-price{
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 10px;
}

/* titlu */
.ultra-title{
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.ultra-title a{
  color: inherit;
}

/* buton mic ca demo */
.ultra-info .btn.btn-primary{
  display:inline-flex;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;   /* discret */
  font-size: 13px;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 980px){
  .ultra-featured{
    grid-template-columns: 1fr;
    min-height: 520px;
  }

  /* ascundem cele 4 poze pe mobil */
  .ultra-right{
    display: none;
  }

  .ultra-left{
    min-height: 520px;
  }

  /* card mai jos si mai centrat */
  .ultra-info{
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    transform: none;
    width: auto;
    padding: 18px 18px;
    border-radius: 10px;
  }

  .ultra-title{
    font-size: 28px;
  }
}

@media (max-width: 520px){
  .ultra-left{
    min-height: 460px;
  }
  .ultra-title{
    font-size: 24px;
  }
}
/* ==========================================================
   Ultra Featured - like demo (left hero + 4 mosaic, full width)
   - text bottom-left on left image
   - slim typography, low radius
========================================================== */

.section-ultra{
  padding: 0;
  margin: 0;
}

.container-ultra{
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.ultra-featured{
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 560px;
  gap: 0;
}

/* LEFT */
.ultra-left{
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* overlay subtil doar pe stanga (sa citeasca textul) */
.ultra-left::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.20) 45%,
    rgba(0,0,0,.55) 100%
  );
  pointer-events:none;
}

/* click overlay */
.ultra-left-link{
  position:absolute;
  inset:0;
  z-index: 2;
}

/* RIGHT mosaic */
.ultra-right{
  min-height: 560px;
}

.ultra-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 560px;
  gap: 2px;
  background: rgba(0,0,0,.08);
}

.ultra-cell{
  display:block;
  background-size: cover;
  background-position: center;
}

/* TEXT CARD - bottom-left (ca demo) */
.ultra-info{
  position:absolute;
  left: 48px;
  bottom: 40px;
  z-index: 3;
  width: min(420px, 86%);
  background: rgba(255,255,255,.92);
  color: #0b0b0f;
  padding: 18px 18px;
  border-radius: 6px;     /* NU bombat */
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

/* tipografie mai fina */
.ultra-price{
  font-weight: 800;
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 8px;
}

.ultra-title{
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.ultra-desc{
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11,11,15,.70);
  font-weight: 650;
}

.ultra-cta{
  display:inline-flex;
  font-size: 13px;
  font-weight: 850;
  color: #0b0b0f;
  text-decoration: none;
  opacity: .9;
}
.ultra-cta:hover{ opacity: 1; text-decoration: underline; }

/* Mobile: doar stanga + card jos */
@media (max-width: 980px){
  .ultra-featured{
    grid-template-columns: 1fr;
    min-height: 520px;
  }
  .ultra-right{ display:none; }
  .ultra-left, .ultra-grid{
    min-height: 520px;
  }
  .ultra-info{
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    border-radius: 6px;
    padding: 16px;
  }
  .ultra-title{ font-size: 24px; }
}
/* ==========================================================
   ULTRA FEATURED (HOME) - full width, left hero + 4 mosaic
   - price above title (light blue / dark gold via --brand)
   - typography thinner (less bold)
   - info card bottom-left "touching" bottom edge
========================================================== */

.section-ultra{
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.container-ultra{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Layout */
.ultra-featured{
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 560px;
  gap: 0;
}

/* if no mosaic */
.ultra-featured.ultra-no-mosaic{
  grid-template-columns: 1fr;
}

/* LEFT */
.ultra-left{
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* gradient overlay for text readability */
.ultra-left::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.18) 45%,
    rgba(0,0,0,.58) 100%
  );
  pointer-events:none;
}

/* click overlay */
.ultra-left-link{
  position:absolute;
  inset:0;
  z-index: 2;
}

/* RIGHT mosaic */
.ultra-right{
  min-height: 560px;
}

.ultra-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 560px;
  gap: 2px;
  background: rgba(0,0,0,.06);
}

.ultra-cell{
  display:block;
  background-size: cover;
  background-position: center;
}

/* INFO CARD - bottom-left, touching bottom edge */
.ultra-info{
  position:absolute;
  left: 48px;
  bottom: 0;               /* IMPORTANT: lipit jos */
  z-index: 3;

  width: min(440px, 86%);
  background: rgba(255,255,255,.92);
  color: #0b0b0f;

  padding: 18px 18px;
  border-radius: 6px;      /* foarte discret */
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

/* Price (auto color from variables) */
.ultra-price{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--brand); /* light=albastru, dark=auriu */
}

/* Title */
.ultra-title{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.10;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.ultra-title a{ color: inherit; }

/* Excerpt */
.ultra-desc{
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(11,11,15,.68);
  font-weight: 600;
}

/* CTA */
.ultra-cta{
  display:inline-flex;
  font-size: 13px;
  font-weight: 700;
  color: #0b0b0f;
  opacity: .92;
}
.ultra-cta:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Mobile: only left image, card bottom */
@media (max-width: 980px){
  .ultra-featured{
    grid-template-columns: 1fr;
    min-height: 520px;
  }
  .ultra-right{ display:none; }

  .ultra-left{
    min-height: 520px;
  }

  .ultra-info{
    left: 16px;
    right: 16px;
    bottom: 0;            /* lipit jos */
    width: auto;
    padding: 16px;
    border-radius: 6px;
  }

  .ultra-title{
    font-size: 24px;
    font-weight: 750;
  }
}

/* Small phones */
@media (max-width: 520px){
  .ultra-left{ min-height: 460px; }
  .ultra-title{ font-size: 22px; }
}
/* ==========================================================
   ULTRA FEATURED - FINAL OVERRIDE (match demo)
========================================================== */

.section-ultra{
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.container-ultra{
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* layout full width */
.ultra-featured{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0 !important;
  min-height: 560px;
}

.ultra-featured.ultra-no-mosaic{
  grid-template-columns: 1fr;
}

/* LEFT image */
.ultra-left{
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* overlay: keep it subtle (demo look) */
.ultra-left::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.06) 0%,
    rgba(0,0,0,.10) 55%,
    rgba(0,0,0,.35) 100%
  );
  pointer-events:none;
}

/* clickable layer */
.ultra-left-link{
  position:absolute;
  inset:0;
  z-index: 2;
}

/* RIGHT mosaic */
.ultra-right{ min-height: 560px; }
.ultra-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 560px;
  gap: 2px;
  background: rgba(0,0,0,.08);
}
.ultra-cell{
  display:block;
  background-size: cover;
  background-position: center;
}

/* INFO CARD: anchored bottom-left like demo */
.ultra-info{
  position:absolute;
  left: 80px;            /* mai “demo” decât 48px */
  bottom: 28px;          /* NU 0: la demo e puțin ridicată */
  z-index: 3;

  width: 420px;
  max-width: calc(100% - 160px);

  padding: 22px 22px;
  border-radius: 6px;    /* discret, nu bombat */
  box-shadow: 0 18px 55px rgba(0,0,0,.25);

  background: rgba(255,255,255,.92);
  color: #0b0b0f;
}

/* price */
.ultra-price{
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--brand); /* light: albastru */
}

/* title + desc: thinner */
.ultra-title{
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 750;      /* mai fin */
  letter-spacing: -0.01em;
}
.ultra-title a{ color: inherit; }

.ultra-desc{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(11,11,15,.70);
}

/* CTA */
.ultra-cta{
  display:inline-flex;
  font-size: 13px;
  font-weight: 800;
  opacity: .90;
}
.ultra-cta:hover{ opacity: 1; text-decoration: underline; }

/* DARK THEME: card negru + text alb, doar pret auriu */
body[data-theme="dark"] .ultra-info{
  background: rgba(0,0,0,.78);
  color: rgba(255,255,255,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
}
body[data-theme="dark"] .ultra-desc{
  color: rgba(255,255,255,.70);
}
body[data-theme="dark"] .ultra-cta{
  color: rgba(255,255,255,.92);
}
body[data-theme="dark"] .ultra-price{
  color: var(--brand); /* gold din variabila ta */
}

/* Responsive */
@media (max-width: 1100px){
  .ultra-info{
    left: 28px;
    bottom: 18px;
    max-width: calc(100% - 56px);
  }
}

@media (max-width: 980px){
  .ultra-featured{ grid-template-columns: 1fr; min-height: 520px; }
  .ultra-right{ display:none; }
  .ultra-left{ min-height: 520px; }

  .ultra-info{
    left: 16px;
    right: 16px;
    bottom: 16px;      /* demo mobile: jos frumos, nu pe mijloc */
    width: auto;
    max-width: none;
    padding: 18px;
    border-radius: 6px;
  }

  .ultra-title{ font-size: 24px; }
}
/* --- Badge: Comision cumparator (verde opac, light + dark) --- */
.badge-commission{
  background: rgba(25, 135, 84, .82);      /* verde opac */
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.18);
  text-shadow: 0 10px 28px rgba(0,0,0,.25);
}

body[data-theme="dark"] .badge-commission{
  background: rgba(25, 135, 84, .82);      /* la fel */
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.18);
}
/* --- Badge: Comision (fără să schimbăm background-ul) --- */
.badge-commission{
  background: transparent !important;                /* NU schimbă backgroundul */
  border: 1px solid rgba(25, 135, 84, .55) !important;
  color: rgba(25, 135, 84, .95) !important;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, .12) inset;
}

/* dark: text mai deschis ca să fie lizibil */
body[data-theme="dark"] .badge-commission{
  background: transparent !important;
  border-color: rgba(25, 135, 84, .60) !important;
  color: rgba(180, 255, 210, .92) !important;
  box-shadow: 0 0 0 2px rgba(25, 135, 84, .14) inset;
}
/* --- Badge: 0% Comision (verde inchis, opac, text alb) --- */
.badge-commission{
  background: rgba(25, 135, 84, .88) !important; /* verde inchis */
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* dark theme – la fel, nu schimbam nimic */
body[data-theme="dark"] .badge-commission{
  background: rgba(25, 135, 84, .88) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.20) !important;
}
/* ==========================================================
   Footer (Imobiliare365) - 3 coloane + latest
========================================================== */
.site-footer{
  background: #06233b; /* navy ca demo */
  color: rgba(255,255,255,.92);
  padding: 56px 0 0;
}

.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 36px;
}

.footer-title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.96);
}

.footer-muted{
  margin: 0;
  opacity: .80;
  font-weight: 700;
  font-size: 13px;
}

.footer-contact{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-item{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-ico{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: .95;
  margin-top: 2px;
}
.footer-ico svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-text{
  opacity: .92;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.footer-link{
  opacity: .92;
  font-weight: 800;
  font-size: 13px;
}
.footer-link:hover{
  opacity: 1;
  text-decoration: underline;
}

.footer-social{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.footer-social-btn svg{
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,.92);
}
.footer-social-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cat{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  opacity: .92;
  font-weight: 800;
  font-size: 13px;
}
.footer-cat:hover{
  opacity: 1;
  text-decoration: underline;
}
.footer-cat-count{
  opacity: .75;
  font-weight: 900;
}

/* latest */
.footer-latest{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-latest-item{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.footer-latest-item:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.footer-latest-thumb{
  width: 60px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.18);
  display: block;
}
.footer-latest-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-thumb-empty{
  display:block;
  width:100%;
  height:100%;
  background: rgba(255,255,255,.06);
}

.footer-latest-meta{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-latest-title{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-latest-price{
  font-weight: 900;
  font-size: 13px;
  opacity: .92;
}

/* bottom */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 0;
  margin-top: 10px;
}
.footer-bottom-inner{
  display: flex;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  opacity: .85;
}

/* responsive */
@media (max-width: 980px){
  .footer-inner{
    grid-template-columns: 1fr;
  }
}
/* ==========================================================
   Footer (Imobiliare365) - theme-aware (light/dark)
========================================================== */

.site-footer{
  /* se mulează pe tema ta */
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,0)), var(--bg);
  color: var(--text);
  padding: 56px 0 0;
  border-top: 1px solid var(--border);
}

body[data-theme="dark"] .site-footer{
  background: linear-gradient(180deg, rgba(212,175,55,.06), rgba(0,0,0,0)), var(--bg);
}

.footer-inner{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 34px;
}

.footer-title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-muted{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.footer-contact{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-item{
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-ico{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: .95;
  margin-top: 2px;
  color: var(--brand);
}
.footer-ico svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-text{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

.footer-link{
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  opacity: .92;
}
.footer-link:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Social */
.footer-social{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(17,24,39,.05);
  border: 1px solid var(--border);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body[data-theme="dark"] .footer-social-btn{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.22);
}

.footer-social-btn svg{
  width: 18px;
  height: 18px;
  fill: var(--text);
  opacity: .92;
}

body[data-theme="dark"] .footer-social-btn svg{
  fill: rgba(255,255,255,.92);
}

.footer-social-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(11,94,215,.35);
  background: rgba(11,94,215,.06);
}
body[data-theme="dark"] .footer-social-btn:hover{
  border-color: rgba(212,175,55,.45);
  background: rgba(212,175,55,.08);
}

/* Categorii */
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cat{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  opacity: .92;
}
.footer-cat:hover{
  opacity: 1;
  text-decoration: underline;
  color: var(--brand);
}
.footer-cat-count{
  color: var(--muted);
  font-weight: 900;
}

/* Latest */
.footer-latest{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-latest-item{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;

  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body[data-theme="dark"] .footer-latest-item{
  background: rgba(0,0,0,.38);
  border-color: rgba(212,175,55,.18);
}

.footer-latest-item:hover{
  transform: translateY(-2px);
  border-color: rgba(11,94,215,.30);
  background: rgba(255,255,255,.75);
}
body[data-theme="dark"] .footer-latest-item:hover{
  border-color: rgba(212,175,55,.35);
  background: rgba(0,0,0,.50);
}

.footer-latest-thumb{
  width: 60px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
  display: block;
  border: 1px solid rgba(0,0,0,.08);
}
body[data-theme="dark"] .footer-latest-thumb{
  background: rgba(255,255,255,.06);
  border-color: rgba(212,175,55,.16);
}

.footer-latest-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-thumb-empty{
  display:block;
  width:100%;
  height:100%;
  background: rgba(0,0,0,.06);
}
body[data-theme="dark"] .footer-thumb-empty{
  background: rgba(255,255,255,.06);
}

.footer-latest-meta{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-latest-title{
  font-weight: 900;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.footer-latest-price{
  font-weight: 900;
  font-size: 13px;
  color: var(--brand);
}

/* Bottom */
.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 16px 0;
  margin-top: 8px;
}

.footer-bottom-inner{
  display: flex;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* ==========================================================
   SINGLE PROPRIETATE (im365)
========================================================== */

.im365-single{ padding: 34px 0 54px; }
.im365-single-grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

@media (max-width: 1024px){
  .im365-single-grid{ grid-template-columns: 1fr; }
}

.im365-breadcrumb{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 12px;
}
.im365-breadcrumb a:hover{ color: var(--brand); }
.im365-breadcrumb .sep{ opacity:.6; }
.im365-breadcrumb .current{ color: var(--text); }

.im365-head{
  display:flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}
@media (max-width: 860px){
  .im365-head{ flex-direction: column; }
}

.im365-pills{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 10px; }
.im365-pill{
  display:inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: var(--brand);
  color:#fff;
}
.im365-pill--muted{
  background: rgba(17,24,39,.06);
  color: rgba(17,24,39,.80);
  border: 1px solid rgba(17,24,39,.10);
}
body[data-theme="dark"] .im365-pill--muted{
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  border-color: rgba(212,175,55,.18);
}

.im365-title{
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
@media (max-width: 640px){ .im365-title{ font-size: 30px; } }

.im365-loc{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}
.im365-loc svg{ width: 18px; height: 18px; fill: currentColor; opacity:.9; }

.im365-head-right{
  min-width: 240px;
  text-align:right;
}
@media (max-width: 860px){ .im365-head-right{ text-align:left; } }

.im365-price-mp{
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 6px;
}
.im365-price-main{
  font-size: 34px;
  font-weight: 950;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.im365-price-old{
  margin-left: 10px;
  font-weight: 900;
  opacity: .55;
  text-decoration: line-through;
}
.im365-actions{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}
@media (max-width: 860px){ .im365-actions{ justify-content:flex-start; } }

.im365-action{
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(17,24,39,.04);
  font-weight: 900;
  cursor:pointer;
}
body[data-theme="dark"] .im365-action{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.22);
  color: rgba(255,255,255,.92);
}
.im365-action:hover{ transform: translateY(-1px); }

.im365-note{ margin-top: 8px; font-weight: 900; color: var(--muted); }

/* media block */
.im365-media{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.05);
  box-shadow: var(--shadow);
}
body[data-theme="dark"] .im365-media{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.18);
}

.im365-media-top{
  position:absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display:flex;
  gap: 10px;
}
.im365-media-tab{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}
body[data-theme="light"] .im365-media-tab{
  background: rgba(17,24,39,.06);
  border-color: rgba(17,24,39,.12);
  color: rgba(17,24,39,.80);
}
.im365-media-tab.is-active{
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.im365-media-stage{ position:relative; }
.im365-stage{ display:none; }
.im365-stage.is-active{ display:block; }

.im365-slide{
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.08);
}
.im365-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* arrows */
.im365-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: rgba(0,0,0,.30);
  color: rgba(255,255,255,.95);
  font-size: 28px;
  cursor:pointer;
}
.im365-prev{ left: 14px; }
.im365-next{ right: 14px; }
.im365-arrow:hover{ background: rgba(0,0,0,.42); }

.im365-thumbs{
  display:flex;
  gap: 10px;
  padding: 12px;
  overflow:auto;
  background: rgba(0,0,0,.03);
}
body[data-theme="dark"] .im365-thumbs{ background: rgba(0,0,0,.22); }

.im365-thumb{
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow:hidden;
  width: 110px;
  height: 70px;
  cursor:pointer;
  background: transparent;
  flex: 0 0 auto;
}
.im365-thumb img{ width:100%; height:100%; object-fit:cover; }
.im365-thumb.is-active{ border-color: var(--brand); }

/* map */
.im365-map{ width: 100%; height: 520px; }
@media (max-width: 640px){ .im365-map{ height: 380px; } }

.im365-map-fallback{
  display:none;
  padding: 16px;
  font-weight: 900;
}
.im365-stage[data-stage="map"] .im365-map-fallback{ display:block; }
.im365-stage[data-stage="map"] .im365-map{ display:none; }

/* sticky sidebar */
.im365-sticky{
  position: sticky;
  top: calc(var(--header-h) + 18px);
}
@media (max-width: 1024px){
  .im365-sticky{ position: static; }
}

.im365-box{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  overflow:hidden;
}
body[data-theme="dark"] .im365-box{
  background: rgba(0,0,0,.55);
  border-color: rgba(212,175,55,.18);
}

.im365-box-tabs{
  display:flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.im365-box-tab{
  flex:1;
  padding: 14px 12px;
  font-weight: 950;
  border:0;
  background: transparent;
  cursor:pointer;
}
.im365-box-tab.is-active{
  background: rgba(11,94,215,.10);
}
body[data-theme="dark"] .im365-box-tab.is-active{
  background: rgba(212,175,55,.10);
}

.im365-form{ padding: 14px; display:flex; flex-direction:column; gap: 10px; }
.im365-form input, .im365-form textarea{
  width: 100%;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(17,24,39,.12);
  background: rgba(255,255,255,.92);
}
body[data-theme="dark"] .im365-form input,
body[data-theme="dark"] .im365-form textarea{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.22);
  color: rgba(255,255,255,.92);
}

.im365-side-actions{ padding: 0 14px 14px; }

/* ==============================
   Header behavior:
   - homepage: overlay (has-hero-header)
   - others: normal header (no-hero-header)
================================ */

/* default: overlay doar când e has-hero-header */
body.has-hero-header .site-header{
  position: absolute;
}

/* pe pagini interne: header normal (fixat sus) */
body.no-hero-header .site-header{
  position: relative; /* sau fixed dacă vrei sticky by default */
}

/* dacă vrei sticky mereu pe pagini interne */
body.no-hero-header .site-header{
  position: sticky;
  top: 0;
}

/* IMPORTANT: adaugă spațiu sus ca să nu intre conținutul sub header */
body.no-hero-header{
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

/* opțional: pe pagini interne nu mai arăta topbar */
body.no-hero-header .topbar{
  display: none;
}

/* și scazi padding dacă ascunzi topbar */
body.no-hero-header{
  padding-top: var(--header-h);
}
/* ==========================================================
   SINGLE PROPRIETATE - FINET OVERRIDE
========================================================== */

/* 1) Header overlay doar pe home */
body.is-inner .site-header{ position: fixed !important; }
body.is-inner{ padding-top: calc(var(--topbar-h) + var(--header-h)) !important; }

body.is-home .site-header{ position: absolute !important; }
body.is-home{ padding-top: 0 !important; }
body.is-home.is-scrolled .site-header{ position: fixed !important; }

/* 2) Header mai fin (mai mic) */
:root{
  --header-h: 66px;
  --topbar-h: 32px;
  --radius: 10px;
}

.site-logo-text{ font-size: 14px !important; }
.navbar-menu a{ font-size: 12px !important; }
.nav-phone{ padding: 8px 12px !important; font-size: 12px !important; border-radius: 10px !important; }
.theme-toggle{ height: 38px !important; padding: 0 10px !important; border-radius: 10px !important; }
.theme-toggle-label{ font-size: 12px !important; }

/* 3) Layout single */
.prop-single{ padding: 34px 0 54px; }
.prop-layout{
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px){
  .prop-layout{ grid-template-columns: 1fr; }
}

/* 4) Top section (title + price) */
.prop-top{
  display:flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 16px;
}
@media (max-width: 980px){
  .prop-top{ flex-direction: column; }
}

.prop-breadcrumbs{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 10px;
}
.prop-breadcrumbs .sep{ opacity: .55; margin: 0 8px; }

.prop-tags{ display:flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tag{
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17,24,39,.04);
}
body[data-theme="dark"] .tag{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.tag-brand{
  background: rgba(11,94,215,.10);
  border-color: rgba(11,94,215,.22);
  color: var(--brand);
}
body[data-theme="dark"] .tag-brand{
  background: rgba(212,175,55,.10);
  border-color: rgba(212,175,55,.22);
}

.prop-h1{
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800; /* fin, nu beton */
  letter-spacing: -0.02em;
}
@media (max-width: 700px){
  .prop-h1{ font-size: 24px; }
}

.prop-subline{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.map-link{
  font-size: 12px;
  font-weight: 900;
  color: var(--brand);
  opacity: .95;
}
.map-link:hover{ text-decoration: underline; opacity: 1; }

/* Price box finut */
.price-box{
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  padding: 14px 14px;
  min-width: 260px;
}
body[data-theme="dark"] .price-box{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.18);
}
.price-mp{
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 6px;
  text-align: right;
}
.price-main{
  text-align: right;
  display:flex;
  flex-direction: column;
  gap: 4px;
}
.price-value{
  font-size: 22px;
  font-weight: 850;
  color: var(--brand);
}
.price-old{
  font-size: 12px;
  opacity: .65;
  text-decoration: line-through;
}
.price-label, .price-note{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

/* share buttons -> mici, discrete */
.prop-actions{
  margin-top: 10px;
  display:flex;
  justify-content: flex-end;
  gap: 8px;
}
.mini-btn{
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor:pointer;
  opacity: .92;
}
.mini-btn:hover{ opacity: 1; transform: translateY(-1px); }

/* 5) Gallery finut */
.prop-gallery{
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}
body[data-theme="dark"] .prop-gallery{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.prop-gallery-stage{
  position: relative;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,.06);
}
.prop-gallery-stage img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .18s ease;
}
.prop-gallery-stage img.is-active{ opacity: 1; }

.g-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(0,0,0,.28);
  color: #fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
}
.g-prev{ left: 12px; }
.g-next{ right: 12px; }

.prop-thumbs{
  display:flex;
  gap: 8px;
  padding: 10px;
  overflow:auto;
  background: rgba(255,255,255,.55);
}
body[data-theme="dark"] .prop-thumbs{ background: rgba(0,0,0,.35); }
.thumb{
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0;
  cursor:pointer;
  overflow:hidden;
  width: 64px;
  height: 48px;
  flex: 0 0 auto;
  opacity: .85;
}
.thumb img{ width:100%; height:100%; object-fit: cover; display:block; }
.thumb.is-active{ border-color: rgba(11,94,215,.35); opacity: 1; }
body[data-theme="dark"] .thumb.is-active{ border-color: rgba(212,175,55,.45); }

/* 6) Text blocks */
.prop-lead{
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.50);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
body[data-theme="dark"] .prop-lead{ background: rgba(0,0,0,.30); border-color: rgba(212,175,55,.16); }

.prop-section{ margin-top: 18px; }
.prop-section h3{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
}
.prop-content{
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

/* 7) Sidebar sticky - stabil */
.prop-sidebar{
  position: relative;
  overflow: visible !important;
}
.side-card{
  position: sticky;
  top: calc(var(--header-h) + 18px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
body[data-theme="dark"] .side-card{
  background: rgba(0,0,0,.35);
  border-color: rgba(212,175,55,.18);
}

.side-tabs{
  display:grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.side-tab{
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 900;
  border: 0;
  background: transparent;
  cursor:pointer;
  color: var(--muted);
}
.side-tab.is-active{
  background: rgba(17,24,39,.04);
  color: var(--text);
}
body[data-theme="dark"] .side-tab.is-active{ background: rgba(255,255,255,.06); }

.agent-mini{
  padding: 12px 14px 0;
}
.agent-name{ font-weight: 900; font-size: 13px; }
.agent-sub{ font-weight: 800; font-size: 12px; color: var(--muted); margin-top: 2px; }

.side-pane{ display:none; padding: 12px 14px 14px; }
.side-pane.is-active{ display:block; }

.side-form{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.side-form input,
.side-form textarea{
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,.12);
  padding: 11px 12px;
  font-size: 13px;
  background: rgba(255,255,255,.92);
  outline: none;
}
body[data-theme="dark"] .side-form input,
body[data-theme="dark"] .side-form textarea{
  background: rgba(0,0,0,.30);
  border-color: rgba(212,175,55,.22);
  color: rgba(255,255,255,.92);
}

.side-send{
  height: 42px;
  border-radius: 12px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  cursor:pointer;
}
.side-call{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  background: transparent;
}
/* ==============================
   Single – layout: galerie mai îngustă, sidebar mai lat
============================== */
.prop-layout-wideform{
  grid-template-columns: 1.35fr 1.15fr !important;
  gap: 26px !important;
}
@media (max-width: 980px){
  .prop-layout-wideform{ grid-template-columns: 1fr !important; }
}

/* Galerie puțin mai mică (mai “fină”) */
.prop-gallery-stage{ aspect-ratio: 16/9 !important; }

/* Sidebar: titlu + agent */
.side-head{
  padding: 14px 14px 8px;
  border-bottom: 1px solid var(--border);
}
.side-title{
  font-weight: 950;
  font-size: 13px;
  margin-bottom: 6px;
}
.side-agent .agent-name{ font-size: 13px; font-weight: 950; }
.side-agent .agent-sub{ font-size: 12px; font-weight: 800; color: var(--muted); }

/* Formular 2 coloane pentru Nume / Prenume */
.side-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px){
  .side-grid{ grid-template-columns: 1fr; }
}

/* CTA 3 butoane */
.side-cta{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
.side-wa{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  background: transparent;
}

/* Pills share: mici, elegante */
.prop-actions-pills{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.pill-btn{
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  display:flex;
  align-items:center;
  gap: 8px;
  opacity: .95;
}
.pill-btn:hover{ opacity: 1; transform: translateY(-1px); }
.pill-btn .ico{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 950;
  background: rgba(212,175,55,.16);
  border: 1px solid rgba(212,175,55,.28);
}

/* ==============================
   Sticky FIX REAL (când “se duce” la scroll)
   Motiv clasic: un parent are overflow hidden/auto/clip sau transform.
   Forțăm overflow: visible pe wrapper-ele importante.
============================== */
.prop-layout,
.prop-single,
.container-wide,
.prop-sidebar{
  overflow: visible !important;
}
.site-content,
#page,
#content{
  overflow: visible !important;
}
.side-card{
  position: sticky !important;
  top: calc(var(--header-h) + 18px) !important;
  will-change: transform;
}
/* ===========================
   IM365 Single Proprietate
   finuț, aerisit, sticky corect
   =========================== */

.im365-single { padding: 28px 0 60px; }
.im365-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.im365-breadcrumbs {
  font-size: 12px;
  opacity: .75;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.im365-breadcrumbs a { text-decoration: none; }

.im365-head {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.im365-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.im365-meta-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  opacity: .9;
}
.im365-gmaps {
  font-size: 12px;
  text-decoration: none;
  opacity: .85;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.im365-gmaps:hover { opacity: 1; }

.im365-pricecard {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;   /* nu “curbănesc” */
  padding: 12px 12px 10px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}
.im365-price-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.im365-mp { font-size: 12px; opacity: .75; }
.im365-price { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.im365-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.im365-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;           /* pill corect */
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.im365-pill:hover { background: rgba(255,255,255,.05); }
.im365-ico {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px;
  opacity: .9;
}

/* Grid proporții ca în poza 1:
   stânga “mai domol”, dreapta “mai lată la formular” */
.im365-grid {
  display: grid;
  grid-template-columns: 1fr 420px; /* dreapta mai lata */
  gap: 18px;
  align-items: start;
}

/* Galerie: mai mică (nu gigant), centrată */
.im365-gallery {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 12px;
  background: rgba(0,0,0,.22);
  overflow: hidden;
}

.im365-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;        /* fix “finut” */
  background: rgba(255,255,255,.04);
}
.im365-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.im365-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.im365-nav.prev { left: 10px; }
.im365-nav.next { right: 10px; }
.im365-nav:hover { background: rgba(0,0,0,.55); }

.im365-thumbs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-top: 10px;
}
.im365-thumb {
  border: 1px solid rgba(255,255,255,.10);
  background: transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  width: 70px;
  height: 52px;
  opacity: .75;
}
.im365-thumb.is-active { opacity: 1; border-color: rgba(255,255,255,.22); }
.im365-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.im365-desc {
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(0,0,0,.18);
  font-size: 14px;
  line-height: 1.65;
  opacity: .95;
}

/* Sidebar sticky care chiar rămâne sticky:
   ATENȚIE: sticky moare dacă un părinte are overflow:hidden/auto/scroll
*/
.im365-sidecol { min-height: 1px; }
.im365-sticky {
  position: sticky;
  top: 96px; /* ajustezi după înălțimea headerului */
}

.im365-card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  background: rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}
.im365-card-title {
  font-size: 13px;
  font-weight: 700;
  opacity: .9;
  margin-bottom: 10px;
}

.im365-form label { display: block; margin-bottom: 10px; }
.im365-form span { display: block; font-size: 12px; opacity: .75; margin-bottom: 6px; }

.im365-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.im365-form input,
.im365-form textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
  outline: none;
  font-size: 13px;
}
.im365-form input:focus,
.im365-form textarea:focus {
  border-color: rgba(255,255,255,.22);
}

.im365-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.im365-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}
.im365-btn.primary {
  background: rgba(212, 171, 55, .95);
  border-color: rgba(212, 171, 55, .95);
  color: #111;
  font-weight: 700;
}
.im365-btn.primary:hover { filter: brightness(1.03); }
.im365-btn.ghost { background: rgba(0,0,0,.22); }
.im365-btn.ghost:hover { background: rgba(255,255,255,.05); }

.im365-form-note { margin-top: 10px; font-size: 12px; opacity: .8; }

/* Responsive */
@media (max-width: 980px) {
  .im365-head { grid-template-columns: 1fr; }
  .im365-grid { grid-template-columns: 1fr; }
  .im365-sticky { position: static; top: auto; }
  .im365-ctas { grid-template-columns: 1fr; }
}
/* layout */
.im365-container{max-width:1200px;margin:0 auto;padding:24px;}
.im365-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;}
@media (max-width: 1100px){.im365-grid{grid-template-columns:1fr;}}
.im365-sticky{position:sticky;top:110px;} /* ajustezi în funcție de header */

/* cards */
.im365-card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.im365-card-title{font-size:16px;margin:0 0 12px 0;letter-spacing:.2px;opacity:.95}

/* overview */
.im365-overview-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
}
@media (max-width: 800px){.im365-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
.im365-overview-item{
  display:flex;gap:10px;align-items:center;
  padding:12px;border-radius:12px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
}
.im365-overview-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.06);font-size:16px;}
.im365-overview-label{font-size:12px;opacity:.75;line-height:1.2}
.im365-overview-value{font-size:14px;font-weight:600;line-height:1.2}

/* accordion */
.im365-accordion{padding:0;overflow:hidden;}
.im365-acc-head{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  padding:16px 18px;border:0;background:transparent;color:inherit;
  cursor:pointer;font-weight:600;font-size:14px;
}
.im365-acc-icon{opacity:.7;transition:transform .2s ease;}
.im365-acc-body{padding:0 18px 16px 18px;display:none;}
.im365-accordion.is-open .im365-acc-body{display:block;}
.im365-accordion.is-open .im365-acc-icon{transform:rotate(180deg);}

/* kv grid (address/details) */
.im365-kv-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;
  margin-bottom:14px;
}
@media (max-width: 900px){.im365-kv-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 520px){.im365-kv-grid{grid-template-columns:1fr;}}

/* features */
.im365-features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
@media (max-width: 900px){.im365-features-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 520px){.im365-features-grid{grid-template-columns:1fr;}}
.im365-features-group h4{margin:0 0 10px 0;font-size:13px;opacity:.9}
.im365-features-group ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.im365-features-group li{display:flex;gap:8px;align-items:flex-start;font-size:13px;opacity:.9}
.im365-check{display:inline-flex;width:18px;height:18px;border-radius:999px;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:12px}

/* embed */
.im365-embed{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.25)}
.im365-embed iframe, .im365-embed video{width:100%;aspect-ratio:16/9;display:block}

/* contact */
.im365-contact-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.im365-badge{font-size:11px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);opacity:.9}
.im365-contact-form label{display:grid;gap:6px;margin-bottom:10px;}
.im365-contact-form span{font-size:12px;opacity:.75}
.im365-contact-form input,
.im365-contact-form textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: inherit;
  padding:10px 12px;
  outline:none;
}
.im365-row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media (max-width: 520px){.im365-row-2{grid-template-columns:1fr;}}

.im365-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;}
.im365-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:40px;padding:0 14px;border-radius:12px;
  text-decoration:none;border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:inherit;font-weight:600;font-size:13px;
}
.im365-btn:hover{background: rgba(255,255,255,.06);}
.im365-btn-primary{
  background: #caa43a; /* dacă ai accentul tău gold */
  border-color: rgba(0,0,0,.2);
  color:#101010;
}
.im365-btn-primary:hover{filter:brightness(1.03);}
.im365-btn-soft{opacity:.95;}
