/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F8F7F5;
  --bg-dark:   #0A0A0A;
  --bg-dark-2: #141414;
  --ink:       #0A0A0A;
  --ink-soft:  #2A2A2A;
  --ink-mute:  #6B6B6B;
  --gold:      #C4A35A;
  --gold-light:#D4B870;
  --gold-dark: #A88A40;
  --line:      rgba(10,10,10,0.10);
  --line-light:rgba(255,255,255,0.15);

  --serif:  "Cormorant Garant", Georgia, serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 72px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }
ul[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--gold); color: #fff; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -120px; left: 1rem;
  padding: .5rem 1rem; background: var(--gold); color: #fff;
  z-index: 9999; border-radius: 4px; font-weight: 500; font-size: .875rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Cursor
   ============================================================= */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, [data-tilt], select, input, textarea { cursor: none; }
}
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease-out), height .2s var(--ease-out), background .2s;
}
.cursor-ring {
  position: absolute;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), opacity .35s, border-color .2s;
}
.cursor.is-hovering .cursor-dot { width: 10px; height: 10px; background: var(--gold); }
.cursor.is-hovering .cursor-ring { width: 48px; height: 48px; opacity: .5; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s;
}
.nav-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: filter .35s var(--ease-out);
}
/* On dark/transparent hero: invert to white */
.nav-header.is-hero .nav-logo-img {
  filter: brightness(0) invert(1);
}
/* On white scrolled nav: natural colors */
.nav-header.is-scrolled .nav-logo-img {
  filter: none;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
}
.nav-link {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-header.is-hero .nav-link { color: rgba(255,255,255,0.9); }
.nav-header.is-hero .nav-link::after { background: var(--gold); }
.nav-header.is-scrolled .nav-link { color: var(--ink); }
.nav-header.is-scrolled .logo-rizzo { color: var(--ink); }
.nav-header.is-scrolled .logo-prop { color: var(--ink-mute); }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 10;
}
.nav-burger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .2s;
  transform-origin: center;
}
.nav-header.is-hero .nav-burger span { background: #fff; }
.nav-header.is-scrolled .nav-burger span { background: var(--ink); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay-close {
  position: absolute; top: 1rem; right: var(--gutter);
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: color .2s;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.nav-overlay-close:hover { color: #fff; }
.nav-overlay-links { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.nav-overlay-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: color .2s, letter-spacing .3s var(--ease-out);
}
.nav-overlay-link:hover { color: var(--gold); letter-spacing: 0.04em; }
.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.4);
}
.nav-overlay-contact a { color: rgba(255,255,255,0.4); transition: color .2s; }
.nav-overlay-contact a:hover { color: var(--gold); }

/* =============================================================
   6. WhatsApp FAB
   ============================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* =============================================================
   6b. Tasación FAB — píldora flotante (abajo izquierda)
   ============================================================= */
.tasacion-fab-left {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: .875rem 1.375rem;
  border-radius: 2rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(196,163,90,.50);
  cursor: pointer;
  transition: transform .3s var(--ease-bounce), box-shadow .3s, background .22s;
}
.tasacion-fab-left:hover {
  transform: scale(1.05);
  background: var(--gold-dark);
  box-shadow: 0 6px 28px rgba(196,163,90,.65);
}
@media (max-width: 480px) {
  .tasacion-fab-left {
    font-size: .72rem;
    padding: .7rem 1rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

/* =============================================================
   7. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2.25rem;
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s var(--ease-out), color .25s, transform .2s var(--ease-out), box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 24px rgba(196,163,90,.35); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.9); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.btn-full { width: 100%; }

/* =============================================================
   8. Section shared
   ============================================================= */
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--ink);
}
.section-title--light { color: #fff; }
.section-eyebrow--gold { color: var(--gold); }
.section-header--light .section-eyebrow { color: var(--gold); }
.section-sub {
  font-size: .9375rem;
  color: var(--ink-mute);
  margin-top: .75rem;
}

/* =============================================================
   9. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* safety — if data-split is also set, override opacity:0 */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.65) 0%,
    rgba(10,10,10,0.42) 55%,
    rgba(10,10,10,0.62) 100%
  );
}
/* grain texture */
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.25rem;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: .8; }
}

/* =============================================================
   11. Stats
   ============================================================= */
.stats {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: .8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================
   12. Featured properties
   ============================================================= */
.featured {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--bg);
}
.props-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.prop-card {
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
  border-radius: 3px;
}
.prop-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.prop-card-link { display: block; }
.prop-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}
.prop-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.prop-card-img--ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--line) 100%);
}
.prop-card:hover .prop-card-img { transform: scale(1.06); }
.prop-badge {
  position: absolute; top: .875rem; left: .875rem;
  padding: .25rem .75rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  border-radius: 2px;
}
.prop-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.prop-tipo {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .375rem;
}
.prop-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.prop-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  color: var(--ink-mute);
  margin-bottom: .875rem;
}
.prop-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .375rem;
  letter-spacing: -0.01em;
}
.prop-specs {
  font-size: .8rem;
  color: var(--ink-mute);
}

.featured-cta { text-align: center; }

/* =============================================================
   13. Services
   ============================================================= */
.services {
  background: var(--bg-dark);
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-dark);
  padding: 2.5rem 2rem;
  transition: background .3s var(--ease-out);
}
.service-card:hover { background: var(--bg-dark-2); }
.service-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(196,163,90,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  transition: background .3s, border-color .3s;
}
.service-card:hover .service-icon {
  background: rgba(196,163,90,0.12);
  border-color: var(--gold);
}
.service-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .625rem;
}
.service-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* =============================================================
   14. About
   ============================================================= */
.about {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.about-title em {
  font-style: italic;
  color: var(--gold);
}
.about-divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.about-body:last-of-type { margin-bottom: 1.5rem; }
.about-address {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--ink-mute);
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(15%);
}
.about-img-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  width: 90px; height: 90px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(196,163,90,.5);
}
.about-badge-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.about-badge-label {
  font-size: .6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: .85;
}

/* =============================================================
   15. Why choose us
   ============================================================= */
.why {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  background: var(--bg-2);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.why-item {
  padding: 2rem 2rem 2rem;
  background: var(--bg);
  border-radius: 3px;
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease-out);
}
.why-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}
.why-num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.why-title-item {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: .625rem;
  color: var(--ink);
}
.why-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--ink-mute);
}

/* =============================================================
   16. Contact
   ============================================================= */
.contact {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .25rem;
}
.contact-value {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.contact-value a { transition: color .2s; }
.contact-value a:hover { color: var(--gold); }

.contact-map {
  margin-top: 1.5rem;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .75rem 1rem;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-sending, .btn-sent { display: none; }
.contact-form.is-sending .btn-text { display: none; }
.contact-form.is-sending .btn-sending { display: block; }
.contact-form.is-sent .btn-text { display: none; }
.contact-form.is-sent .btn-sent { display: block; }
.contact-form.is-sent button { background: #4CAF50; }

.form-note {
  font-size: .8125rem;
  color: var(--ink-mute);
  text-align: center;
}
.form-note a { color: var(--gold); transition: opacity .2s; }
.form-note a:hover { opacity: .75; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.55);
  padding: clamp(3rem, 6vw, 5.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-social a {
  color: rgba(255,255,255,0.4);
  transition: color .25s, transform .2s var(--ease-out);
}
.footer-social a:hover { color: var(--gold); transform: translateY(-2px); }

.footer-nav-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-nav ul, .footer-contact ul {
  display: flex; flex-direction: column; gap: .625rem;
}
.footer-nav a, .footer-contact a {
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li {
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy, .footer-made {
  font-size: .75rem;
  color: rgba(255,255,255,0.3);
}

/* =============================================================
   18. Properties page — shared
   ============================================================= */
.page-hero-banner {
  position: relative;
  height: clamp(220px, 35vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.page-hero-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.58);
}
.page-hero-banner-content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 2rem var(--gutter);
}
.page-hero-banner-eyebrow {
  font-size: .7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.page-hero-banner-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  color: #fff;
}

/* Filter bar */
.props-filter-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.props-filter-inner {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .875rem;
}
.filter-row--advanced {
  padding-top: .5rem;
  border-top: 1px solid var(--line);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}
.filter-group--price {
  flex-wrap: nowrap;
}
.filter-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.filter-btn {
  padding: .5rem 1.125rem;
  font-size: .775rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-mute);
  background: var(--bg);
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter-btn.is-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.filter-select {
  padding: .45rem .625rem;
  font-size: .775rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--bg);
  cursor: pointer;
}
.filter-select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.filter-input {
  width: 7rem;
  padding: .45rem .625rem;
  font-size: .775rem;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: var(--bg);
}
.filter-input::placeholder { color: var(--ink-mute); }
.filter-input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.filter-price-sep {
  color: var(--ink-mute);
  font-size: .85rem;
}
.filter-count {
  font-size: .75rem;
  color: var(--ink-mute);
  margin-left: auto;
}
@media (max-width: 600px) {
  .filter-row { gap: .4rem .5rem; }
  .filter-input { width: 5.5rem; }
}

/* Props page container */
.props-page {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  background: var(--bg);
}
.props-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.prop-card-full .prop-card-link {
  display: grid;
}

/* Admin page */
.admin-body { background: var(--bg-2); min-height: 100vh; padding: 2rem var(--gutter); }
.admin-header { text-align: center; margin-bottom: 2rem; }
.admin-login { max-width: 400px; margin: 3rem auto; background: var(--bg); padding: 2.5rem; border-radius: 6px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.admin-title { font-family: var(--serif); font-size: 2rem; font-weight: 500; text-align: center; margin-bottom: 1.5rem; }
.admin-panel { max-width: 960px; margin: 0 auto; }
.admin-section { background: var(--bg); padding: 2rem; border-radius: 6px; margin-bottom: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.admin-section-title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.admin-props-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-prop-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--bg-2); border-radius: 4px; border: 1px solid var(--line); gap: 1rem; flex-wrap: wrap; }
.admin-prop-title { font-weight: 500; color: var(--ink); }
.admin-prop-meta { font-size: .875rem; color: var(--ink-mute); }
.btn-danger { background: #e74c3c; color: #fff; padding: .4rem 1rem; border-radius: 3px; font-size: .8rem; transition: background .2s; }
.btn-danger:hover { background: #c0392b; }

/* =============================================================
   19. Responsive — tablet (720px+)
   ============================================================= */
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item + .stat-item::before { display: block; }

  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .props-page-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 3rem 2.25rem; }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }

  .why-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* =============================================================
   20. Responsive — desktop (1024px+)
   ============================================================= */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }

  .props-grid { grid-template-columns: repeat(3, 1fr); }
  .props-page-grid { grid-template-columns: repeat(3, 1fr); }

  .services-grid { grid-template-columns: repeat(4, 1fr); }

  .hero-content { padding-top: calc(var(--nav-h) + 5rem); }
}

/* =============================================================
   21. Responsive — large (1280px+)
   ============================================================= */
@media (min-width: 1280px) {
  .about-grid { gap: 6rem; }
}

/* =============================================================
   22. Reduced-motion — INTRUSIVE only
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .scroll-line { animation: none; opacity: .5; }
  .hero-bg-img { will-change: auto; }
  /* Do NOT disable: hover effects, tilt, card transitions, count-up, reveal fades */
}

/* =============================================================
   23. View transitions (multi-page)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .4s var(--ease-out) forwards; }
::view-transition-new(root) { animation: vt-in .4s var(--ease-out) forwards; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(8px); } }

/* =============================================================
   24. Tasación FAB & Modal
   ============================================================= */

/* Nav CTA button — "Tasá tu propiedad" */
.nav-tasacion-btn {
  display: none; /* shown above 900px via media query below */
  align-items: center;
  padding: .5rem 1.125rem;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 2rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s, color .22s;
  margin-left: 1.25rem;
}
.nav-tasacion-btn:hover,
.nav-header.is-hero .nav-tasacion-btn:hover {
  background: var(--gold);
  color: #fff;
}
/* On transparent hero — button adapts to white nav context */
.nav-header.is-hero .nav-tasacion-btn {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.6);
}
.nav-header.is-hero .nav-tasacion-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.9);
  color: #fff;
}
@media (min-width: 900px) {
  .nav-tasacion-btn { display: flex; }
}

/* Mobile overlay tasación button */
.nav-overlay-tasacion {
  display: block;
  width: calc(100% - 4rem);
  margin: .5rem 2rem 1.5rem;
  padding: .875rem 1.5rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background .22s;
}
.nav-overlay-tasacion:hover { background: var(--gold-dark); }

/* Modal overlay */
.tasacion-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.tasacion-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.tasacion-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tasacion-modal-inner {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(196,163,90,.2);
  transform: translateY(28px) scale(.97);
  transition: transform .38s var(--ease-out);
}
.tasacion-modal.is-open .tasacion-modal-inner {
  transform: none;
}
.tasacion-modal-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 8px 8px 0 0;
}
.tasacion-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .875rem;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, background .2s;
}
.tasacion-modal-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tasacion-modal-header { margin-bottom: 1.75rem; }
.tasacion-modal-header .section-eyebrow { font-size: .65rem; margin-bottom: .5rem; }
.tasacion-modal-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .75rem;
}
.tasacion-modal-title em { font-style: italic; color: var(--gold); }
.tasacion-modal-sub {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Form grid inside modal */
.tasacion-form .tf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tasacion-form .tf-full { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .tasacion-form .tf-grid { grid-template-columns: 1fr; }
  .tasacion-form .tf-full { grid-column: auto; }
  .tasacion-modal-inner { padding: 2rem 1.25rem 1.75rem; }
}

/* Submit button states */
.tasacion-form .btn-text,
.tasacion-form .btn-sending,
.tasacion-form .btn-sent { display: none; }
.tasacion-form:not(.is-sending):not(.is-sent) .btn-text { display: inline; }
.tasacion-form.is-sending .btn-sending { display: inline; }
.tasacion-form.is-sent .btn-sent { display: inline; }
.tasacion-form.is-sending button[type="submit"],
.tasacion-form.is-sent button[type="submit"] { pointer-events: none; opacity: .72; }

/* Success state */
.tasacion-success {
  text-align: center;
  padding: 2rem 1rem 1rem;
  animation: fadeUp .5s var(--ease-out) both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.tasacion-success-icon {
  width: 60px; height: 60px;
  background: rgba(196,163,90,.1);
  border: 1px solid rgba(196,163,90,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}
.tasacion-success h3 {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .5rem;
}
.tasacion-success p {
  font-size: .9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto;
}

/* =============================================================
   PROPERTY DETAIL PAGE (propiedad.html)
============================================================= */
.prop-detail-hero {
  position: relative; height: 62vh; min-height: 380px; overflow: hidden;
  background: var(--ink);
}
.prop-detail-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.prop-detail-hero-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.prop-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.prop-detail-hero-content {
  position: absolute; bottom: 2.5rem; left: 0; right: 0;
  padding: 0 var(--gutter);
}
.prop-detail-hero-back {
  position: absolute; top: calc(var(--nav-h) + 1rem); left: var(--gutter);
  color: rgba(255,255,255,.75); font-size: .875rem;
  display: inline-flex; align-items: center; gap: .375rem;
  transition: color .2s;
}
.prop-detail-hero-back:hover { color: var(--gold); }
.prop-detail-op-row {
  display: flex; align-items: center; gap: .625rem; margin-bottom: .625rem;
}
.prop-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 4vw, 2.75rem);
  font-weight: 500; color: #fff;
  margin-bottom: .5rem; line-height: 1.25;
}
.prop-detail-loc-hero {
  color: rgba(255,255,255,.8); font-size: .9375rem;
  display: flex; align-items: center; gap: .375rem;
}
.prop-detail-body { padding: 3rem 0 5rem; }
.prop-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}
.prop-detail-gallery {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.prop-detail-gallery img:not(.pd-gal-img) {
  width: 120px; height: 85px;
  object-fit: cover; cursor: pointer; border-radius: 2px;
  border: 2px solid transparent;
  transition: border-color .2s, opacity .2s;
}
.prop-detail-gallery img:not(.pd-gal-img):hover,
.prop-detail-gallery img.is-active:not(.pd-gal-img) { border-color: var(--gold); }
.prop-detail-desc-title {
  font-family: var(--serif); font-size: 1.375rem; font-weight: 500;
  color: var(--ink); margin-bottom: 1rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.prop-detail-desc {
  font-size: .9375rem; line-height: 1.8; color: var(--ink-soft);
  white-space: pre-line;
}
.prop-detail-sidebar {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 4px; padding: 1.75rem;
}
.prop-detail-sidebar-tipo {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .375rem;
}
.prop-detail-sidebar-op {
  font-size: .75rem; color: var(--ink-mute); margin-bottom: 1rem;
}
.prop-detail-price {
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  color: var(--ink); margin-bottom: 1.25rem; line-height: 1.1;
}
.prop-detail-specs-grid {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem;
}
.prop-detail-spec-chip {
  background: #fff; border: 1px solid var(--line);
  padding: .3rem .75rem; border-radius: 2px;
  font-size: .8125rem; color: var(--ink);
}
.prop-detail-divider {
  height: 1px; background: var(--line); margin: 1.5rem 0;
}
.prop-detail-cta + .prop-detail-cta { margin-top: .625rem; }
.prop-detail-back-link {
  display: inline-flex; align-items: center; gap: .375rem;
  margin-top: 1.25rem; color: var(--ink-mute); font-size: .8125rem;
  text-decoration: underline;
}
.prop-detail-back-link:hover { color: var(--ink); }
.prop-detail-nofound {
  padding: 6rem var(--gutter); text-align: center;
}
.prop-detail-nofound h1 {
  font-family: var(--serif); font-size: clamp(1.75rem,4vw,2.5rem);
  margin-bottom: 1rem;
}
.prop-detail-nofound p { color: var(--ink-mute); margin-bottom: 2rem; }
@media (max-width: 900px) {
  .prop-detail-grid { grid-template-columns: 1fr; }
  .prop-detail-sidebar { position: static; }
}
@media (max-width: 600px) {
  .prop-detail-hero { height: 52vh; min-height: 300px; }
  .prop-detail-title { font-size: 1.5rem; }
  .prop-detail-body { padding: 2rem 0 3.5rem; }
  .prop-detail-gallery img:not(.pd-gal-img) { width: 90px; height: 63px; }
}

/* =============================================================
   PROPERTY DETAIL — GALLERY COMPONENT (.pd-gal-*)
============================================================= */
.prop-detail-gallery { display: block; margin-bottom: 2rem; }

.pd-gal-inner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.pd-gal-track {
  position: relative;
  height: 560px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .pd-gal-track { height: 360px; }
}

.pd-gal-item {
  display: none;
  position: absolute;
  inset: 0;
}
.pd-gal-item.is-active { display: block; }

/* Blurred background fills the letterbox area (same technique as YouTube vertical video) */
.pd-gal-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.45);
}

.pd-gal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-gal-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  border: none; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.pd-gal-btn:hover { background: rgba(0,0,0,.75); }
.pd-gal-btn--prev { left: .75rem; }
.pd-gal-btn--next { right: .75rem; }

.pd-gal-ctrl-row {
  display: flex; justify-content: center;
  padding: .5rem;
  background: var(--ink);
}
.pd-gal-counter {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}

/* =============================================================
   PROPERTY DETAIL — SPECS CHIPS (.pd-spec-chip)
============================================================= */
.pd-spec-chip {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--line);
  padding: .5rem .75rem; border-radius: 2px;
  min-width: 72px; text-align: center;
}
.pd-spec-icon { font-size: 1.1rem; margin-bottom: .2rem; }
.pd-spec-label {
  font-size: .6875rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .15rem;
}
.pd-spec-val { font-size: .9375rem; font-weight: 600; color: var(--ink); }

/* =============================================================
   PROPERTY DETAIL — MAP
============================================================= */
.prop-detail-map {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: .5rem;
}
.pd-map-iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
@media (max-width: 600px) {
  .pd-map-iframe { height: 240px; }
}
