/* ==========================================================
   VANDOO.RO — Luxury Real Estate
   Mobile-first, performant, accessible
   ========================================================== */

/* Design tokens */
:root {
  /* Core palette — inspired by the banner */
  --bg: #0f0805;
  --bg-2: #1a0f08;
  --bg-3: #241610;
  --bg-4: #2e1d14;
  --panel: #1f130c;

  /* Gold system */
  --gold: #d4af37;
  --gold-light: #f4d061;
  --gold-dark: #a07d1b;
  --gold-deep: #8b6914;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.25);

  /* Text */
  --text: #f5ecd4;
  --text-muted: #b8a880;
  --text-dim: #8a7a5a;

  /* Misc */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 20px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--gold-border);
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* Fluid type */
  --fs-xs: clamp(.75rem, .72rem + .15vw, .85rem);
  --fs-sm: clamp(.85rem, .82rem + .18vw, .95rem);
  --fs-base: clamp(.95rem, .92rem + .2vw, 1.05rem);
  --fs-lg: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --fs-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --fs-3xl: clamp(2.4rem, 1.8rem + 3.5vw, 4.5rem);
  --fs-4xl: clamp(3rem, 2rem + 5vw, 5.5rem);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Rich noisy background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container { width: min(1280px, 100% - 2rem); margin-inline: auto; }

/* Utilities */
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline; } }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: .85rem 1rem;
  background: rgba(15, 8, 5, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  background: rgba(15, 8, 5, 0.95);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.5);
}
.nav__inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.nav__brand:hover { transform: translateY(-1px); }
.nav__logo { width: 32px; height: 32px; filter: drop-shadow(0 0 8px rgba(212,175,55,.4)); }
.nav__name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .05em;
  background: linear-gradient(180deg, #f4d061, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__name-dot { color: var(--gold-dark); -webkit-text-fill-color: var(--gold-dark); }

.nav__links {
  display: none;
  gap: 1.8rem;
  font-size: .92rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--text-muted);
  transition: color .3s var(--ease);
  padding: .3rem 0;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--gold-light);
  background: var(--gold-soft);
  transition: all .3s var(--ease);
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--bg-2);
  border-color: var(--gold);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5eec87;
  box-shadow: 0 0 10px #5eec87;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 0;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__burger { display: none; }
}

/* Mobile menu overlay */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(15, 8, 5, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
  font-size: 1.1rem;
  animation: slideDown .3s var(--ease);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.25rem 3rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
}
.hero__bg::before, .hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero__bg::before {
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 2px, rgba(212, 175, 55, 0.015) 2px, rgba(212, 175, 55, 0.015) 4px);
}
.hero__bg::after {
  background:
    radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.1), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(180, 140, 40, 0.08), transparent 30%);
  filter: blur(40px);
}

/* Ornate corners */
.hero__ornament {
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid var(--gold);
  opacity: .5;
  pointer-events: none;
}
.hero__ornament--tl { top: 90px; left: 1rem; border-right: 0; border-bottom: 0; }
.hero__ornament--tr { top: 90px; right: 1rem; border-left: 0; border-bottom: 0; }
.hero__ornament--bl { bottom: 1rem; left: 1rem; border-right: 0; border-top: 0; }
.hero__ornament--br { bottom: 1rem; right: 1rem; border-left: 0; border-top: 0; }
.hero__ornament::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}
.hero__ornament--tl::before { top: -4px; left: -4px; }
.hero__ornament--tr::before { top: -4px; right: -4px; }
.hero__ornament--bl::before { bottom: -4px; left: -4px; }
.hero__ornament--br::before { bottom: -4px; right: -4px; }
@media (min-width: 768px) {
  .hero__ornament { width: 100px; height: 100px; }
  .hero__ornament--tl, .hero__ornament--tr { top: 110px; }
  .hero__ornament--tl, .hero__ornament--bl { left: 2rem; }
  .hero__ornament--tr, .hero__ornament--br { right: 2rem; }
  .hero__ornament--bl, .hero__ornament--br { bottom: 2rem; }
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  animation: fadeUp 1s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__badge {
  display: inline-block;
  padding: .45rem 1.2rem;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--gold-light);
  background: var(--gold-soft);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero__title {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-4xl);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 1.2rem;
  letter-spacing: .02em;
}
.hero__title-line {
  display: block;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero__title-accent {
  background: linear-gradient(180deg, #f8e2a0 0%, #d4af37 45%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 15px rgba(212, 175, 55, 0.3));
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem auto 1.5rem;
  max-width: 340px;
}
.hero__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__divider-diamond {
  color: var(--gold);
  font-size: .7rem;
  animation: rotate 6s linear infinite;
  display: inline-block;
}
@keyframes rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.hero__subtitle {
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-style: italic;
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: .82rem;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--bg-2);
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(212, 175, 55, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

/* Stats */
.hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 1.5rem;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  max-width: 700px;
  margin: 2rem auto 0;
  background: rgba(212, 175, 55, 0.03);
}
.stat { text-align: center; flex: 1; }
.stat__num {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat__num::after { content: '+'; margin-left: 2px; }
.stat__label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat__sep {
  width: 1px;
  height: 30px;
  background: var(--gold-border);
}

/* ==========================================================
   SECTION HEADS
   ========================================================== */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-head__eyebrow {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .35em;
  color: var(--gold);
  margin-bottom: .8rem;
  font-weight: 600;
}
.section-head__title {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, #f5ecd4 0%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.section-head__title--left { text-align: left; }

/* ==========================================================
   FILTER + GRID
   ========================================================== */
.filter {
  padding: 5rem 0 3rem;
  position: relative;
}

.filters {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 0 .5rem;
}
.chip {
  padding: .6rem 1.2rem;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  transition: all .3s var(--ease);
}
.chip:hover { color: var(--gold-light); border-color: var(--gold); }
.chip--active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-2);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(212, 175, 55, 0.6);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Card */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--gold);
}
.card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card__image img { transform: scale(1.08); }
.card__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 8, 5, 0.9) 100%);
  pointer-events: none;
}

.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.card__tag--vanzare { background: rgba(212, 175, 55, 0.95); color: var(--bg-2); }
.card__tag--inchiriere { background: rgba(94, 236, 135, 0.95); color: var(--bg-2); }

.card__price {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.card__price-unit {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card__body {
  padding: 1.3rem 1.3rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 .4rem;
  color: var(--text);
  line-height: 1.3;
}
.card__location {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.card__location svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); }

.card__specs {
  display: flex;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-border);
  font-size: .82rem;
  color: var(--text-muted);
}
.card__spec { display: flex; align-items: center; gap: .35rem; }
.card__spec svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.card__arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  background: rgba(15, 8, 5, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 2;
  transition: all .4s var(--ease);
}
.card:hover .card__arrow {
  background: var(--gold);
  color: var(--bg-2);
  transform: rotate(-45deg) scale(1.1);
}

/* Skeleton */
.card--skeleton {
  pointer-events: none;
  border-color: rgba(212, 175, 55, 0.15);
}
.skeleton-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, var(--bg-3) 0%, var(--bg-4) 50%, var(--bg-3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}
.skeleton-line {
  height: 18px;
  margin: 1.2rem;
  background: linear-gradient(90deg, var(--bg-3) 0%, var(--bg-4) 50%, var(--bg-3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: 4px;
}
.skeleton-line.short { width: 60%; margin-top: 0; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
  font-style: italic;
  grid-column: 1 / -1;
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { padding: 5rem 0; position: relative; }
.about__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about__text .section-head__eyebrow { text-align: left; }
.about__text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about__features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.about__features li {
  padding: .6rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .8rem;
  border-bottom: 1px solid var(--gold-border);
}
.about__features li:last-child { border-bottom: 0; }
.tick {
  color: var(--gold);
  font-size: .9rem;
}

.about__image { position: relative; }
.about__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__frame::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 1px solid var(--gold-border);
  border-radius: calc(var(--radius-lg) + 15px);
  pointer-events: none;
  z-index: -1;
}
.about__frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.03), transparent);
}
.services__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service {
  text-align: center;
  padding: 2.2rem 1.5rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), transparent);
  transition: all .4s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
}
.service__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.service__icon svg { width: 30px; height: 30px; }
.service h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 .6rem;
  color: var(--gold-light);
}
.service p {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { padding: 5rem 0; }
.contact__head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.contact__head p { color: var(--text-muted); }

.contact__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .contact__cards { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  transition: all .3s var(--ease);
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-glow);
}
.contact-card__icon {
  width: 50px; height: 50px;
  background: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label {
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-card__value {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 600;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--gold-border);
  background: var(--bg);
  margin-top: 2rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--gold);
}
.footer__name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .05em;
}
.footer__name span { color: var(--gold-dark); }
.footer__tag {
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.footer__copy {
  color: var(--text-dim);
  font-size: .85rem;
  margin: 0;
}

/* ==========================================================
   FAB (mobile call button)
   ========================================================== */
.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 0 4px rgba(212, 175, 55, 0.15);
  z-index: 90;
  animation: floatPulse 3s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.1); }
.fab svg { width: 24px; height: 24px; }
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 0 4px rgba(212, 175, 55, 0.15); }
  50% { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5), 0 0 0 8px rgba(212, 175, 55, 0.1); }
}
@media (min-width: 900px) { .fab { display: none; } }

/* ==========================================================
   PROPERTY DETAIL PAGE
   ========================================================== */
.detail { padding: 100px 0 4rem; min-height: 100vh; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  transition: gap .3s var(--ease);
}
.back-link:hover { gap: .8rem; }

.detail__gallery {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 2.5rem;
}

.detail__gallery-main {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
}
@media (min-width: 768px) {
  .detail__gallery-main { aspect-ratio: 16/9; }
}

.detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s var(--ease);
}
.detail__gallery-main img.fading { opacity: 0; }

.detail__gallery-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .4rem .9rem;
  background: rgba(15, 8, 5, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: .75rem;
  color: var(--gold-light);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .4rem;
  letter-spacing: .08em;
}

.detail__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 8, 5, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all .3s var(--ease);
}
.detail__gallery-nav:hover {
  background: var(--gold);
  color: var(--bg-2);
  border-color: var(--gold);
}
.detail__gallery-nav--prev { left: .8rem; }
.detail__gallery-nav--next { right: .8rem; }
.detail__gallery-nav svg { width: 20px; height: 20px; }

.detail__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}
@media (min-width: 640px) {
  .detail__gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: .8rem; }
}

.detail__gallery-thumb {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  padding: 0;
  background: var(--bg-3);
}
.detail__gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 5, 0.5);
  transition: background .3s var(--ease);
}
.detail__gallery-thumb:hover::after { background: rgba(15, 8, 5, 0.15); }
.detail__gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
}
.detail__gallery-thumb.active::after { background: transparent; }
.detail__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .detail__grid { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}

.detail__tag {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.detail__tag--vanzare { background: rgba(212, 175, 55, 0.15); color: var(--gold); border: 1px solid var(--gold-border); }
.detail__tag--inchiriere { background: rgba(94, 236, 135, 0.15); color: #5eec87; border: 1px solid rgba(94, 236, 135, 0.3); }

.detail__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, #f5ecd4, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.detail__location {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.detail__location svg { width: 18px; height: 18px; color: var(--gold); }

.detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.detail__spec { text-align: center; }
.detail__spec-icon {
  width: 40px; height: 40px;
  margin: 0 auto .6rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 50%;
}
.detail__spec-icon svg { width: 20px; height: 20px; }
.detail__spec-value {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 700;
}
.detail__spec-label {
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.detail h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 0 0 1rem;
  font-weight: 600;
}
.detail__desc {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
  white-space: pre-line;
}

.detail__features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
.detail__features li {
  padding: .5rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
}
.detail__features li::before {
  content: '✦';
  color: var(--gold);
  font-size: .75rem;
}

/* Sidebar */
.detail__sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 2rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  box-shadow: var(--shadow-lg);
}
.detail__price {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.detail__price-unit {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.detail__contact-title {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin: 1.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-border);
}
.detail__cta-group { display: flex; flex-direction: column; gap: .7rem; }
.detail__cta-group .btn { justify-content: center; width: 100%; }

/* ==========================================================
   MOTION
   ========================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
