:root {
  --dm-ink: #171512;
  --dm-muted: #6f6a64;
  --dm-line: rgba(23, 21, 18, .10);
  --dm-soft: #f6f1eb;
  --dm-soft-2: #efe7de;
  --dm-card: #ffffff;
  --dm-accent: #b38a63;
  --dm-accent-dark: #7f6040;
  --dm-radius: 18px;
  --dm-shadow: 0 18px 42px rgba(22, 19, 16, .09);
}

.dm-property-single,
.dm-property-single * {
  box-sizing: border-box;
}

.dm-property-single {
  background: linear-gradient(180deg, #fbf8f3 0%, #f7f3ee 30%, #f9f7f4 100%);
  color: var(--dm-ink);
  font-family: inherit;
}

.dm-property-single svg,
.dm-lightbox svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.dm-hero {
  position: relative;
  min-height: clamp(560px, 74vh, 780px);
  overflow: hidden;
  background: #d9d2c9;
  isolation: isolate;
}

.dm-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(251,248,243,0) 0%, #fbf8f3 100%);
  z-index: 3;
  pointer-events: none;
}

.dm-hero-img,
.dm-hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.dm-hero-placeholder {
  background: radial-gradient(circle at 30% 20%, rgba(179,138,99,.22), transparent 34%), linear-gradient(135deg, #ede5db 0%, #d8cec4 100%);
}

.dm-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,13,10,.22) 0%, rgba(16,13,10,.10) 36%, rgba(16,13,10,.04) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.20) 100%);
}

.dm-hero-inner {
  position: relative;
  z-index: 4;
  min-height: inherit;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(108px, 14vh, 158px) 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dm-hero-copy {
  max-width: 820px;
  padding: 22px 26px 24px;
  border-left: 2px solid rgba(255,255,255,.75);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(20,17,14,.34) 0%, rgba(20,17,14,.16) 70%, rgba(20,17,14,0) 100%);
  backdrop-filter: blur(4px);
}

.dm-hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dm-badge,
.dm-ref,
.dm-contact-label,
.dm-section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dm-badge {
  padding: 10px 15px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
}

.dm-badge-venta { background: rgba(179,138,99,.88); }
.dm-badge-alquiler { background: rgba(70, 98, 119, .84); }

.dm-ref {
  padding: 9px 13px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.dm-hero-title {
  max-width: 980px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.15rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 770;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(0,0,0,.24);
}

.dm-hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255,255,255,.92);
  font-size: .98rem;
}

.dm-hero-location svg {
  color: #fff;
  font-size: 1.08rem;
  opacity: .9;
}

.dm-hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin-top: 28px;
}

.dm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dm-hero-stat {
  min-width: 140px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.dm-hero-stat svg {
  display: block;
  margin-bottom: 10px;
  color: var(--dm-accent-dark);
  font-size: 1.1rem;
}

.dm-hero-stat strong,
.dm-hero-stat span {
  display: block;
}

.dm-hero-stat strong {
  color: var(--dm-ink);
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: -.03em;
}

.dm-hero-stat span {
  margin-top: 6px;
  color: var(--dm-muted);
  font-size: .77rem;
}

.dm-price-card {
  min-width: 240px;
  padding: 24px 26px;
  border-radius: 18px;
  color: var(--dm-ink);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  text-align: right;
}

.dm-price-card span {
  display: block;
  color: var(--dm-accent-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dm-price-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.55rem, 2.35vw, 2.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.dm-price-card small,
.dm-side-meta small {
  font-size: .45em;
  color: var(--dm-muted);
  font-weight: 500;
}

.dm-wrapper {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.dm-gallery-panel {
  position: relative;
  z-index: 5;
  margin-top: -32px;
  margin-bottom: 48px;
}

.dm-gallery-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: 188px 188px;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(23,22,21,.06);
  box-shadow: var(--dm-shadow);
}

.dm-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #eee;
  cursor: pointer;
}

.dm-gallery-item:first-child {
  grid-row: 1 / -1;
}

.dm-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.dm-gallery-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.03);
}

.dm-gallery-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(4px);
}

.dm-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.dm-body-main {
  min-width: 0;
}

.dm-body-side {
  position: sticky;
  top: 24px;
}

.dm-section {
  margin-bottom: 24px;
}

.dm-card,
.dm-contact-card,
.dm-side-box {
  border-radius: var(--dm-radius);
  background: var(--dm-card);
  border: 1px solid rgba(23,22,21,.08);
  box-shadow: 0 14px 34px rgba(22,19,16,.06);
}

.dm-card {
  padding: clamp(28px, 4vw, 44px);
}

.dm-section-eyebrow {
  margin: 0 0 12px;
  color: var(--dm-accent-dark);
  background: rgba(179,138,99,.10);
  padding: 8px 12px;
}

.dm-section-title {
  margin: 0 0 22px;
  color: var(--dm-ink);
  font-size: clamp(1.52rem, 2.35vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 760;
}

.dm-desc {
  color: #46423e;
  font-size: 1.02rem;
  line-height: 1.9;
}

.dm-description-card .dm-desc > p:first-child {
  font-size: 1.14rem;
  line-height: 1.85;
  color: #2f2b27;
}

.dm-desc p {
  margin: 0 0 1.15em;
}

.dm-desc p:last-child {
  margin-bottom: 0;
}

.dm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dm-feature-card {
  min-height: 146px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfbf9 0%, #f5efe8 100%);
  border: 1px solid rgba(23,22,21,.06);
}

.dm-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--dm-accent-dark);
  background: rgba(179,138,99,.12);
  margin-bottom: 18px;
}

.dm-feature-card strong,
.dm-feature-label {
  display: block;
}

.dm-feature-card strong {
  margin-top: 6px;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.05em;
}

.dm-feature-label {
  color: var(--dm-muted);
  font-size: .83rem;
}

.dm-extras-grid,
.dm-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dm-extra-item,
.dm-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 17px;
  background: #fbfaf8;
  border: 1px solid rgba(23,22,21,.07);
}

.dm-extra-item span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dm-accent);
}

.dm-extra-item strong,
.dm-detail-item strong {
  font-size: .92rem;
  font-weight: 680;
}

.dm-detail-item {
  justify-content: space-between;
  align-items: flex-start;
}

.dm-detail-item span {
  color: var(--dm-muted);
  font-size: .85rem;
}

.dm-detail-item strong {
  text-align: right;
  color: var(--dm-ink);
}

.dm-contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--dm-ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(179,138,99,.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbf8f4 100%);
}

.dm-contact-card::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--dm-accent) 0%, rgba(179,138,99,0) 60%);
}

.dm-contact-label {
  position: relative;
  z-index: 1;
  padding: 8px 11px;
  color: var(--dm-accent-dark);
  background: rgba(179,138,99,.10);
  border: 1px solid rgba(179,138,99,.14);
}

.dm-contact-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.dm-contact-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #5e5953;
  line-height: 1.62;
  font-size: .94rem;
}

.dm-contact-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 760;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.dm-contact-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.dm-contact-tel {
  color: #fff;
  background: var(--dm-ink);
  border: 1px solid var(--dm-ink);
}

.dm-contact-tel:hover {
  background: #2a2622;
}

.dm-contact-wa {
  color: var(--dm-ink);
  background: #fff;
  border: 1px solid rgba(23,22,21,.10);
  box-shadow: none;
}

.dm-contact-wa:hover {
  color: var(--dm-ink);
  background: #f7f3ee;
  border-color: rgba(23,22,21,.16);
}

.dm-side-box {
  padding: 24px;
  margin-top: 18px;
  background: rgba(255,255,255,.92);
}

.dm-side-box h3 {
  margin: 0 0 16px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dm-muted);
}

.dm-side-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dm-side-meta li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--dm-line);
  font-size: .9rem;
}

.dm-side-meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dm-side-meta li:first-child {
  padding-top: 0;
}

.dm-side-meta span {
  color: var(--dm-muted);
}

.dm-side-meta strong {
  text-align: right;
  font-weight: 700;
}

.dm-map-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(23,22,21,.08);
}

.dm-map-wrap #dm-map {
  width: 100%;
  height: 420px;
  filter: saturate(.75) sepia(.08) contrast(.96);
}

.dm-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.dm-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.dm-footer-links a:hover {
  transform: translateY(-2px);
}

.dm-btn-back {
  color: var(--dm-ink);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(23,22,21,.08);
}

.dm-btn-back:hover {
  color: var(--dm-ink);
  background: #fff;
}

.dm-btn-ext {
  color: #fff;
  background: var(--dm-ink);
}

.dm-btn-ext:hover {
  color: #fff;
  background: #2b2925;
}

.dm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  background: rgba(9, 8, 7, .96);
  backdrop-filter: blur(8px);
}

.dm-lightbox.open {
  display: flex;
}

.dm-lb-close,
.dm-lb-nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.09);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.dm-lb-close:hover,
.dm-lb-nav:hover {
  background: rgba(255,255,255,.17);
}

.dm-lb-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.65rem;
}

.dm-lb-nav {
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.dm-lb-prev { left: 24px; }
.dm-lb-next { right: 24px; }

.dm-lb-img {
  max-width: min(1120px, 86vw);
  max-height: 86vh;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
}

.dm-lb-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: .85rem;
  font-weight: 650;
}

@media (max-width: 1080px) {
  .dm-body {
    grid-template-columns: 1fr;
  }

  .dm-body-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .dm-contact-card {
    grid-column: 1 / -1;
  }

  .dm-side-box {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .dm-hero {
    min-height: 640px;
  }

  .dm-hero-inner,
  .dm-wrapper {
    width: min(100% - 30px, 1240px);
  }

  .dm-hero-copy {
    max-width: 100%;
    padding: 18px 18px 20px;
    border-radius: 0 14px 14px 0;
  }

  .dm-hero-bottom {
    grid-template-columns: 1fr;
  }

  .dm-price-card {
    text-align: left;
    width: 100%;
  }

  .dm-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 150px;
  }

  .dm-gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .dm-gallery-item:nth-child(n+4) {
    display: none;
  }

  .dm-feature-grid,
  .dm-extras-grid,
  .dm-detail-grid,
  .dm-body-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .dm-hero {
    min-height: 590px;
  }

  .dm-hero-inner {
    padding-bottom: 48px;
  }

  .dm-hero-copy {
    padding: 16px 14px 18px;
  }

  .dm-hero-title {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .dm-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-hero-stat {
    min-width: 0;
    padding: 14px;
  }

  .dm-card,
  .dm-contact-card,
  .dm-side-box {
    border-radius: 20px;
  }

  .dm-card {
    padding: 24px 20px;
  }

  .dm-gallery-grid {
    grid-template-rows: 210px 120px;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
  }

  .dm-map-wrap #dm-map {
    height: 320px;
  }

  .dm-lb-nav {
    width: 44px;
    height: 44px;
  }

  .dm-lb-prev { left: 12px; }
  .dm-lb-next { right: 12px; }
}


/* === Style variants === */
.dm-style-editorial {
  background: linear-gradient(180deg, #fbf8f2 0%, #f5f0e9 100%);
  --dm-accent: #9f7b58;
  --dm-accent-dark: #6e5236;
}

.dm-style-editorial .dm-hero {
  min-height: clamp(540px, 72vh, 760px);
}

.dm-style-editorial .dm-hero-shade {
  background:
    linear-gradient(90deg, rgba(15,13,10,.14) 0%, rgba(15,13,10,.06) 40%, rgba(15,13,10,.02) 100%),
    linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.14) 100%);
}

.dm-style-editorial .dm-hero-copy {
  max-width: 720px;
  padding: 24px 28px 28px;
  border-left: 0;
  border-radius: 22px;
  background: rgba(251,248,242,.94);
  box-shadow: 0 24px 60px rgba(19,16,12,.10);
}

.dm-style-editorial .dm-badge,
.dm-style-editorial .dm-ref {
  color: var(--dm-ink);
  background: rgba(255,255,255,.72);
  border-color: rgba(23,22,21,.08);
}

.dm-style-editorial .dm-badge-venta {
  color: #fff;
  background: var(--dm-accent);
  border-color: transparent;
}

.dm-style-editorial .dm-badge-alquiler {
  color: #fff;
  background: #5d7385;
  border-color: transparent;
}

.dm-style-editorial .dm-hero-title,
.dm-style-editorial .dm-hero-location,
.dm-style-editorial .dm-hero-location * {
  color: var(--dm-ink) !important;
  text-shadow: none;
}

.dm-style-editorial .dm-hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.3rem, 4.9vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.dm-style-editorial .dm-hero-location {
  color: #5f5952 !important;
}

.dm-style-editorial .dm-hero-location svg {
  color: var(--dm-accent-dark);
}

.dm-style-editorial .dm-hero-bottom {
  align-items: center;
  gap: 18px;
}

.dm-style-editorial .dm-hero-stat {
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border-color: rgba(23,22,21,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.dm-style-editorial .dm-price-card {
  border-radius: 18px;
}

.dm-style-editorial .dm-gallery-grid {
  background: #fff;
  border-color: rgba(23,22,21,.08);
}

.dm-style-editorial .dm-section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.dm-style-editorial .dm-description-card .dm-desc > p:first-child {
  font-size: 1.18rem;
}

.dm-style-editorial .dm-contact-card {
  background: linear-gradient(180deg, #fffdf9 0%, #f7f1ea 100%);
}

/* Dark luxury */
.dm-style-premium {
  background: linear-gradient(180deg, #171411 0%, #221d18 100%);
  color: #f1ece5;
  --dm-ink: #f3ede6;
  --dm-muted: rgba(243,237,230,.72);
  --dm-line: rgba(255,255,255,.10);
  --dm-card: #1f1a16;
  --dm-accent: #c29a69;
  --dm-accent-dark: #e0be95;
  --dm-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.dm-style-premium .dm-hero {
  min-height: clamp(600px, 78vh, 860px);
  background: #120f0d;
}

.dm-style-premium .dm-hero::after {
  background: linear-gradient(180deg, rgba(23,20,17,0) 0%, #171411 100%);
}

.dm-style-premium .dm-hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.14) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.46) 100%);
}

.dm-style-premium .dm-hero-copy {
  max-width: 780px;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

.dm-style-premium .dm-badge,
.dm-style-premium .dm-ref {
  color: #f5eee6;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
}

.dm-style-premium .dm-badge-venta,
.dm-style-premium .dm-badge-alquiler {
  background: rgba(194,154,105,.24);
  color: #f5eee6;
  border-color: rgba(194,154,105,.30);
}

.dm-style-premium .dm-hero-title {
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-shadow: 0 16px 40px rgba(0,0,0,.36);
}

.dm-style-premium .dm-hero-location,
.dm-style-premium .dm-hero-location * {
  color: rgba(255,255,255,.88);
}

.dm-style-premium .dm-hero-location svg {
  color: var(--dm-accent);
}

.dm-style-premium .dm-hero-stat {
  color: #f3ede6;
  background: rgba(27,23,19,.78);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.dm-style-premium .dm-hero-stat strong,
.dm-style-premium .dm-hero-stat span {
  color: #f3ede6;
}

.dm-style-premium .dm-hero-stat span {
  color: rgba(243,237,230,.66);
}

.dm-style-premium .dm-price-card {
  color: #171411;
  background: linear-gradient(180deg, #ead8c0 0%, #c79f6d 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 38px rgba(0,0,0,.24);
}

.dm-style-premium .dm-price-card span,
.dm-style-premium .dm-price-card small,
.dm-style-premium .dm-price-card strong {
  color: #171411;
}

.dm-style-premium .dm-gallery-grid,
.dm-style-premium .dm-card,
.dm-style-premium .dm-contact-card,
.dm-style-premium .dm-side-box,
.dm-style-premium .dm-map-wrap {
  background: #1f1a16;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.dm-style-premium .dm-card,
.dm-style-premium .dm-contact-card,
.dm-style-premium .dm-side-box,
.dm-style-premium .dm-detail-item,
.dm-style-premium .dm-extra-item,
.dm-style-premium .dm-feature-card {
  color: #f3ede6;
}

.dm-style-premium .dm-section-eyebrow {
  color: #171411;
  background: linear-gradient(180deg, #e7d0b3 0%, #c79f6d 100%);
}

.dm-style-premium .dm-section-title,
.dm-style-premium .dm-side-box h3,
.dm-style-premium .dm-contact-card h3,
.dm-style-premium .dm-desc,
.dm-style-premium .dm-side-meta strong,
.dm-style-premium .dm-feature-card strong,
.dm-style-premium .dm-detail-item strong,
.dm-style-premium .dm-extra-item strong {
  color: #f3ede6;
}

.dm-style-premium .dm-side-box h3,
.dm-style-premium .dm-side-meta span,
.dm-style-premium .dm-desc,
.dm-style-premium .dm-detail-item span,
.dm-style-premium .dm-feature-label,
.dm-style-premium .dm-contact-card p {
  color: rgba(243,237,230,.72);
}

.dm-style-premium .dm-feature-card,
.dm-style-premium .dm-extra-item,
.dm-style-premium .dm-detail-item {
  background: #26201b;
  border-color: rgba(255,255,255,.06);
}

.dm-style-premium .dm-feature-icon,
.dm-style-premium .dm-extra-item span {
  color: #171411;
  background: linear-gradient(180deg, #e7d0b3 0%, #c79f6d 100%);
}

.dm-style-premium .dm-contact-card {
  background: linear-gradient(180deg, #211c17 0%, #191511 100%);
}

.dm-style-premium .dm-contact-card::after {
  height: 3px;
  background: linear-gradient(90deg, #c79f6d 0%, rgba(199,159,109,0) 60%);
}

.dm-style-premium .dm-contact-label {
  color: #171411;
  background: linear-gradient(180deg, #e7d0b3 0%, #c79f6d 100%);
  border-color: transparent;
}

.dm-style-premium .dm-contact-tel {
  color: #171411;
  background: linear-gradient(180deg, #e7d0b3 0%, #c79f6d 100%);
  border-color: transparent;
}

.dm-style-premium .dm-contact-tel:hover {
  background: linear-gradient(180deg, #efd9bc 0%, #cfa775 100%);
}

.dm-style-premium .dm-contact-wa {
  color: #f3ede6;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
}

.dm-style-premium .dm-contact-wa:hover {
  color: #f3ede6;
  background: rgba(255,255,255,.06);
}

.dm-style-premium .dm-btn-back {
  color: #f3ede6;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.dm-style-premium .dm-btn-back:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}

.dm-style-premium .dm-btn-ext {
  color: #171411;
  background: linear-gradient(180deg, #e7d0b3 0%, #c79f6d 100%);
}

.dm-style-premium .dm-btn-ext:hover {
  color: #171411;
  background: linear-gradient(180deg, #efd9bc 0%, #cfa775 100%);
}

/* Minimal clean */
.dm-style-minimal {
  background: #fcfbf8;
  --dm-accent: #8f7760;
  --dm-accent-dark: #665443;
}

.dm-style-minimal .dm-wrapper,
.dm-style-minimal .dm-hero-inner {
  width: min(1120px, calc(100% - 56px));
}

.dm-style-minimal .dm-hero {
  min-height: clamp(460px, 62vh, 620px);
}

.dm-style-minimal .dm-hero::after {
  background: linear-gradient(180deg, rgba(252,251,248,0) 0%, #fcfbf8 100%);
}

.dm-style-minimal .dm-hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.04) 44%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.12) 100%);
}

.dm-style-minimal .dm-hero-copy {
  max-width: 680px;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
}

.dm-style-minimal .dm-badge,
.dm-style-minimal .dm-ref {
  background: rgba(255,255,255,.92);
  border-color: rgba(23,22,21,.06);
  color: var(--dm-ink);
}

.dm-style-minimal .dm-badge-venta,
.dm-style-minimal .dm-badge-alquiler {
  color: var(--dm-ink);
}

.dm-style-minimal .dm-hero-title {
  font-size: clamp(2rem, 4.3vw, 4rem);
  letter-spacing: -.045em;
}

.dm-style-minimal .dm-hero-bottom {
  grid-template-columns: 1fr;
  gap: 16px;
}

.dm-style-minimal .dm-hero-stats {
  gap: 10px;
}

.dm-style-minimal .dm-hero-stat {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: none;
}

.dm-style-minimal .dm-price-card {
  min-width: 0;
  max-width: 320px;
  text-align: left;
  border-radius: 10px;
  box-shadow: none;
}

.dm-style-minimal .dm-gallery-panel {
  margin-top: 10px;
}

.dm-style-minimal .dm-gallery-grid,
.dm-style-minimal .dm-card,
.dm-style-minimal .dm-contact-card,
.dm-style-minimal .dm-side-box,
.dm-style-minimal .dm-map-wrap,
.dm-style-minimal .dm-feature-card,
.dm-style-minimal .dm-extra-item,
.dm-style-minimal .dm-detail-item {
  border-radius: 10px;
  box-shadow: none;
}

.dm-style-minimal .dm-gallery-grid,
.dm-style-minimal .dm-card,
.dm-style-minimal .dm-contact-card,
.dm-style-minimal .dm-side-box,
.dm-style-minimal .dm-map-wrap {
  border-color: rgba(23,22,21,.06);
}

.dm-style-minimal .dm-body {
  grid-template-columns: 1fr;
  gap: 26px;
}

.dm-style-minimal .dm-body-side {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dm-style-minimal .dm-contact-card {
  grid-column: 1 / -1;
}

.dm-style-minimal .dm-contact-card,
.dm-style-minimal .dm-side-box {
  background: #fff;
}

.dm-style-minimal .dm-contact-card::after {
  height: 1px;
  background: rgba(23,22,21,.06);
}

.dm-style-minimal .dm-contact-tel,
.dm-style-minimal .dm-btn-ext {
  background: var(--dm-ink);
  border-color: var(--dm-ink);
}

.dm-style-minimal .dm-contact-wa,
.dm-style-minimal .dm-btn-back {
  background: #fff;
}

/* Commercial strong */
.dm-style-commercial {
  background: linear-gradient(180deg, #f7f2ea 0%, #efe6d8 100%);
  --dm-accent: #ca7a25;
  --dm-accent-dark: #8b5117;
}

.dm-style-commercial .dm-hero {
  min-height: clamp(620px, 80vh, 900px);
}

.dm-style-commercial .dm-hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.18) 42%, rgba(0,0,0,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.28) 100%);
}

.dm-style-commercial .dm-hero-inner {
  align-items: center;
  text-align: center;
}

.dm-style-commercial .dm-hero-copy {
  max-width: 860px;
  padding: 20px 24px 22px;
  border-left: 0;
  border-radius: 20px;
  background: rgba(17,14,11,.34);
}

.dm-style-commercial .dm-hero-kicker,
.dm-style-commercial .dm-hero-location,
.dm-style-commercial .dm-hero-stats {
  justify-content: center;
}

.dm-style-commercial .dm-hero-title {
  font-size: clamp(2.5rem, 5.6vw, 5.6rem);
  line-height: .93;
}

.dm-style-commercial .dm-hero-bottom {
  width: 100%;
  max-width: 980px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
}

.dm-style-commercial .dm-hero-stat {
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.72);
}

.dm-style-commercial .dm-price-card {
  min-width: 290px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #1f1a16 0%, #312821 100%);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.dm-style-commercial .dm-price-card span,
.dm-style-commercial .dm-price-card strong,
.dm-style-commercial .dm-price-card small {
  color: #fff;
}

.dm-style-commercial .dm-gallery-grid {
  border-radius: 26px;
}

.dm-style-commercial .dm-card,
.dm-style-commercial .dm-contact-card,
.dm-style-commercial .dm-side-box {
  border-radius: 24px;
}

.dm-style-commercial .dm-feature-card,
.dm-style-commercial .dm-extra-item,
.dm-style-commercial .dm-detail-item {
  border-radius: 18px;
}

.dm-style-commercial .dm-contact-card {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(202,122,37,.34), transparent 32%),
    linear-gradient(160deg, #1a1714 0%, #2d241d 100%);
}

.dm-style-commercial .dm-contact-card::after {
  height: 4px;
  background: linear-gradient(90deg, var(--dm-accent) 0%, rgba(202,122,37,0) 60%);
}

.dm-style-commercial .dm-contact-label {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.12);
}

.dm-style-commercial .dm-contact-card h3,
.dm-style-commercial .dm-contact-card p {
  color: #fff;
}

.dm-style-commercial .dm-contact-card p {
  color: rgba(255,255,255,.72);
}

.dm-style-commercial .dm-contact-tel {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}

.dm-style-commercial .dm-contact-tel:hover {
  background: rgba(255,255,255,.18);
}

.dm-style-commercial .dm-contact-wa {
  color: #fff;
  background: var(--dm-accent);
  border-color: var(--dm-accent);
  box-shadow: 0 14px 26px rgba(202,122,37,.24);
}

.dm-style-commercial .dm-contact-wa:hover {
  color: #fff;
  background: #d48531;
}

@media (max-width: 1080px) {
  .dm-style-minimal .dm-body-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .dm-style-commercial .dm-hero-inner {
    align-items: stretch;
    text-align: left;
  }

  .dm-style-commercial .dm-hero-kicker,
  .dm-style-commercial .dm-hero-location,
  .dm-style-commercial .dm-hero-stats {
    justify-content: flex-start;
  }

  .dm-style-commercial .dm-hero-bottom {
    justify-items: stretch;
  }

  .dm-style-editorial .dm-hero-copy,
  .dm-style-premium .dm-hero-copy,
  .dm-style-minimal .dm-hero-copy,
  .dm-style-commercial .dm-hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .dm-style-minimal .dm-wrapper,
  .dm-style-minimal .dm-hero-inner {
    width: min(100% - 30px, 1120px);
  }

  .dm-style-minimal .dm-body-side {
    grid-template-columns: 1fr;
  }

  .dm-style-editorial .dm-hero-copy {
    padding: 18px;
  }
}
