/* ============================================
   DESTAK IMÓVEIS — Stylesheet
   Editorial luxury aesthetic: deep navy + gold
   ============================================ */

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Color tokens */
  --bg:           #0a0d16;
  --bg-2:         #11151f;
  --surface:      #161b27;
  --surface-2:    #1d2331;
  --line:         rgba(201, 161, 74, 0.18);
  --line-strong:  rgba(201, 161, 74, 0.42);

  --gold:         #c9a14a;
  --gold-light:   #e9c97a;
  --gold-dark:    #8a6c2c;
  --gold-glow:    rgba(201, 161, 74, 0.25);

  --text:         #f3ecd9;
  --text-soft:    #c9c4b6;
  --text-muted:   #82838a;
  --text-dim:     #555761;

  --cream:        #f4ebd9;
  --cream-soft:   #ece2cc;

  --shadow-sm:    0 4px 14px rgba(0,0,0,0.25);
  --shadow:       0 18px 48px rgba(0,0,0,0.4);
  --shadow-lg:    0 30px 80px rgba(0,0,0,0.55);

  --r-sm: 4px;
  --r:    10px;
  --r-lg: 18px;

  --maxw: 1280px;
  --pad-x: clamp(1rem, 4vw, 2.5rem);

  --t-fast:  180ms cubic-bezier(.4,.2,.2,1);
  --t-med:   360ms cubic-bezier(.4,.2,.2,1);
  --t-slow:  650ms cubic-bezier(.22,.61,.36,1);

  /* Typography */
  --f-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --f-body:    "Outfit", "Manrope", -apple-system, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at top right, rgba(201,161,74,0.06), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(201,161,74,0.04), transparent 50%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

/* Global SVG safety net — prevents inline SVGs without width/height from filling their container */
svg { max-width: 100%; height: auto; }
.card svg, .agent-card svg, .detail-loc svg, .breadcrumbs svg, .contact-block svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* -------- Type styles -------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 300;
}
h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
}
h2 em { font-style: italic; color: var(--gold); }

h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

p { color: var(--text-soft); font-weight: 300; }

.lead { font-size: 1.15rem; color: var(--text-soft); }

/* -------- Layout -------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
  max-width: 720px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: #0a0d16;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gold);
  letter-spacing: 0.2em;
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

.btn .arrow { display: inline-block; transition: transform var(--t-med); }
.btn:hover .arrow { transform: translateX(4px); }

/* -------- Header / Nav -------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--t-med), padding var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 13, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--bg);
}
/* Stylized D mark using pure CSS */
.brand-mark::before {
  width: 16px; height: 22px;
  border: 3px solid var(--bg);
  border-left: none;
  border-radius: 0 12px 12px 0;
  background: transparent;
}
.brand-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--f-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width var(--t-med);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent;
  color: var(--gold);
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--t-med);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: all var(--t-med);
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 50%; }
.menu-toggle span:nth-child(3) { bottom: 4px; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 1.5rem var(--pad-x);
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
}

/* -------- Hero -------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 8rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,13,22,0.85) 0%,
    rgba(10,13,22,0.7) 50%,
    rgba(10,13,22,0.95) 100%
  );
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 28s ease-in-out infinite alternate;
  filter: saturate(0.85) brightness(0.85);
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-eyebrow {
  opacity: 0;
  animation: fadeInUp 1s var(--t-slow) forwards;
}
.hero h1 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  opacity: 0;
  animation: fadeInUp 1.2s 0.2s forwards;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 56ch;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1.2s 0.4s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 1.2s 0.6s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeInUp 1.2s 0.8s forwards;
}
.hero-stat .num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.scroll-indicator {
  display: none;
}

@media (max-width: 720px) {
  .hero-stats { gap: 2rem; margin-top: 3rem; }
  .hero-stat .num { font-size: 1.8rem; }
}

/* -------- Search bar -------- */
.search-bar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -2.5rem;
  margin-bottom: 0;
}
.search-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: end;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.search-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}
.search-field label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.search-field select,
.search-field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.search-field select:focus,
.search-field input:focus { border-color: var(--gold); }
.search-field select option {
  background: var(--surface);
  color: var(--text);
}
.search-field::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 14px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}
.search-field.no-arrow::after { display: none; }

.search-submit {
  background: var(--gold);
  color: var(--bg);
  padding: 0.85rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all var(--t-med);
  height: 100%;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.search-submit:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 24px var(--gold-glow);
}

@media (max-width: 980px) {
  .search-bar { grid-template-columns: repeat(2, 1fr); }
  .search-submit { grid-column: span 2; justify-content: center; }
}
@media (max-width: 540px) {
  .search-bar { grid-template-columns: 1fr; padding: 1.25rem; }
  .search-submit { grid-column: span 1; }
}

/* -------- Properties Section -------- */
.properties { padding-top: 6rem; }

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.filter-tag {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  background: transparent;
  transition: all var(--t-fast);
  cursor: pointer;
}
.filter-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-tag.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.results-info strong { color: var(--gold); font-weight: 500; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

/* -------- Property Card -------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  cursor: pointer;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--t-slow);
}
.card:hover .card-img img { transform: scale(1.06); }

.card-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.card-tag.alt { color: var(--cream); border-color: var(--cream); }

.card-fav {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(10,13,22,0.7);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
  z-index: 2;
}
.card-fav:hover { background: var(--gold); }
.card-fav svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 1.5; transition: all var(--t-fast); }
.card-fav:hover svg { stroke: var(--bg); }
.card-fav.active svg { fill: var(--gold); stroke: var(--gold); }

.card-img-counter {
  position: absolute;
  bottom: 1rem; right: 1rem;
  padding: 0.35rem 0.7rem;
  background: rgba(10,13,22,0.75);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.card-body {
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}
.card-loc {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.4rem;
}
.card-loc svg { width: 12px; height: 12px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.card-meta .item svg { width: 16px; height: 16px; flex-shrink: 0; }
.card-img-counter svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card-title {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}
.card-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-top: auto;
}
.card-meta .item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.card-meta .item svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.card-meta .item .value { font-weight: 500; color: var(--text); }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.card-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.price-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price-value {
  font-family: var(--f-display);
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.price-extra {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-cta {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--t-fast);
}
.card:hover .card-cta { border-color: var(--gold); }

/* -------- About Section -------- */
.about {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,161,74,0.15));
  pointer-events: none;
}
.about-img-frame {
  position: absolute;
  top: -1rem; left: -1rem; right: 1rem; bottom: 1rem;
  border: 1px solid var(--gold);
  border-radius: var(--r);
  z-index: -1;
}

.about-content { display: flex; flex-direction: column; gap: 1.5rem; }
.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.value-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.value-item .num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.value-item .lbl {
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

/* -------- Services Section -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  padding: 2.25rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; height: 1px; width: 0;
  background: var(--gold);
  transition: width var(--t-slow);
}
.service-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  transition: background var(--t-med);
}
.service-card:hover .service-icon { background: var(--gold-glow); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.92rem; }

/* -------- Stats / Trust -------- */
.trust-strip {
  background: var(--bg-2);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.trust-item .big {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem;
}
.trust-item .suffix { font-size: 1.5rem; }
.trust-item .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.6rem;
}

/* -------- Contact Section -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.contact-block .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-block .val {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 400;
}
.contact-block a:hover { color: var(--gold); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--gold); }
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
.form-group select option {
  background: var(--surface);
  color: var(--text);
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
  transition: transform var(--t-med);
  animation: pulse 2.4s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 12px 36px rgba(37,211,102,0.4), 0 0 0 18px rgba(37,211,102,0); }
}

/* -------- Footer -------- */
.site-footer {
  background: #06080f;
  color: var(--text-soft);
  padding: 5rem 0 2rem;
  position: relative;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 1rem;
  color: var(--text-muted);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--gold); }

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
}
.socials a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}
.socials svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--t-slow), transform 1s var(--t-slow);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.detail-hero {
  padding-top: 7rem;
  padding-bottom: 0;
  min-height: auto;
}
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { color: var(--text-dim); }
.breadcrumbs .cur { color: var(--gold); }

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.detail-head h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 0.5rem;
}
.detail-loc {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.detail-loc svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.agent-card .phone-link svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }
.agent-card .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.detail-prices {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 600px) { .detail-prices { align-items: flex-start; text-align: left; } }
.detail-prices .price-value { font-size: 2rem; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.6rem;
  margin-bottom: 4rem;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-cell {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.gallery-cell:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-cell:hover img { transform: scale(1.05); }
.gallery-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,13,22,0);
  transition: background var(--t-fast);
  pointer-events: none;
}
.gallery-cell:hover::after { background: rgba(10,13,22,0.2); }

.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(10,13,22,0.7);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(2px);
  z-index: 1;
  transition: background var(--t-fast);
}
.gallery-cell:hover .gallery-more { background: rgba(10,13,22,0.55); }

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .gallery-cell:nth-child(1) { grid-row: 1; grid-column: 1 / 3; }
}

/* Detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-main { display: flex; flex-direction: column; gap: 3rem; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
}
.spec-item {
  text-align: center;
  padding: 1rem 0.5rem;
  border-right: 1px dashed var(--line);
}
.spec-item:last-child { border-right: none; }
@media (max-width: 600px) {
  .spec-item { border-right: none; border-bottom: 1px dashed var(--line); padding-bottom: 1rem; }
  .spec-item:last-child { border-bottom: none; }
}
.spec-item svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 0.5rem;
}
.spec-item .v {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1;
}
.spec-item .l {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.detail-section h2 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}
.detail-section p { line-height: 1.75; font-size: 1rem; }

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  list-style: none;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.features-list li:hover {
  border-color: var(--line-strong);
  color: var(--text);
}
.features-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Sidebar agent card */
.agent-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.agent-card h4 {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.agent-card .name {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--text);
}
.agent-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.agent-card .divider {
  height: 1px;
  background: var(--line);
  margin: 0.5rem 0;
}
.agent-card .phone-link {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.agent-card .phone-link:hover { color: var(--gold-light); }
.agent-card .btn { width: 100%; justify-content: center; }
.agent-card .wa {
  background: #25D366;
  color: white;
}
.agent-card .wa:hover { background: #1da855; }

.detail-prices-card {
  background: var(--bg-2);
  padding: 1.25rem;
  border-radius: var(--r-sm);
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
  animation: lbFadeIn .3s ease;
}
.lightbox.open { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--t-fast);
}
.lb-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-close {
  top: 1.5rem; right: 1.5rem; transform: none;
  width: 44px; height: 44px;
  font-size: 1.4rem;
}
.lb-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Page transitions */
.page-fade {
  animation: pageFade .8s var(--t-slow);
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* No results state */
.no-results {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text-muted);
}
.no-results h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; }

/* Form feedback */
.form-msg {
  padding: 1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  display: none;
}
.form-msg.success {
  background: rgba(37, 211, 102, 0.1);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.form-msg.show { display: block; }
