/* Distrito Paisaje — UX polish V3 (gold + advisor + map + centered heads) */

:root {
  --fx: #0066ff;
  --accent: #0066ff;
  --fx-dark: #071526;
  --ink: #071526;
  --fx-accent2: #00d26a;
  --dp-gold: #c9a46a;
  --dp-gold-deep: #a8844a;
  --dp-gold-soft: rgba(201, 164, 106, 0.18);
  --dp-red: #c41e3a;
  --dp-cream: #f6f3ec;
  --dp-mist: #efeae1;
}

body.fx {
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(0, 102, 255, 0.07), transparent 58%),
    radial-gradient(900px 420px at 100% 0%, rgba(201, 164, 106, 0.14), transparent 50%),
    var(--dp-cream) !important;
}

/* —— Centered section titles / subtitles —— */
.fx-sec__head {
  text-align: center !important;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 44px !important;
}
.fx-sec__head span,
.fx-sec__head .kicker,
.fx-tag {
  color: var(--dp-gold-deep) !important;
}
.fx-sec__head h2,
.fx-sec h2 {
  max-width: 22ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.fx-sec__head p,
.fx-sec__head .pl-el[data-edit*=".sub"] {
  max-width: 42rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  color: #5a6b7d !important;
  line-height: 1.6;
}

.fx-hero__content {
  text-align: center !important;
}
.fx-hero__content h1 em {
  color: var(--dp-gold) !important;
}
.fx-hero__content > p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Gold accents mixed with blue */
.fx-kicker, [class*="kicker"] {
  color: var(--dp-gold-deep) !important;
}
.fx-stat, .stat-card {
  border-top-color: var(--dp-gold) !important;
}
.fx-badge--feat {
  background: linear-gradient(135deg, var(--dp-gold), var(--dp-gold-deep)) !important;
  color: #1a1408 !important;
}
.fx-card__foot strong,
.dp-detail__price,
.dp-interest__price strong {
  color: var(--dp-gold-deep) !important;
}
.fx-nav #btn-wa {
  box-shadow: 0 10px 28px rgba(0, 210, 106, 0.28), 0 0 0 1px rgba(201, 164, 106, 0.25);
}
.fx-about__list li::before {
  background: var(--dp-gold) !important;
}
.fx-foot {
  background: linear-gradient(165deg, #050d18 0%, #0b1f3a 45%, #1a1530 100%) !important;
  border-top: 3px solid var(--dp-gold);
}
.fx-foot__copy {
  color: rgba(201, 164, 106, 0.9) !important;
}

/* —— Featured + advisor sidebar (like reference Contáctanos) —— */
.dp-featured-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 980px) {
  .dp-featured-wrap {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
    gap: 32px;
  }
}
.dp-advisor-card {
  background: #fff;
  border: 1px solid rgba(201, 164, 106, 0.35);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 50px rgba(7, 21, 38, 0.08);
  position: sticky;
  top: 88px;
}
.dp-advisor-card__title {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 10px;
  color: var(--fx-dark);
}
.dp-advisor-card__rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--dp-gold), var(--dp-gold-deep));
  border-radius: 2px;
  margin-bottom: 14px;
}
.dp-advisor-card__text {
  margin: 0 0 20px;
  color: #5a6b7d;
  font-size: 0.92rem;
  line-height: 1.55;
}
.dp-advisor-card__person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(201, 164, 106, 0.12), rgba(0, 102, 255, 0.05));
  border-radius: 14px;
}
.dp-advisor-card__person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dp-gold);
}
.dp-advisor-card__person strong {
  display: block;
  font-size: 0.98rem;
  color: var(--fx-dark);
}
.dp-advisor-card__person span {
  font-size: 0.78rem;
  color: var(--dp-gold-deep);
  font-weight: 600;
}
.dp-advisor-card__meta {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: #3d4d5f;
}
.dp-advisor-card__meta a {
  color: inherit;
  text-decoration: none;
}
.dp-advisor-card__meta a:hover { color: var(--fx); }
.dp-advisor-card .dp-cta--wa {
  background: linear-gradient(135deg, #25d366, #00d26a);
}
.dp-advisor-card .dp-cta--gold {
  background: linear-gradient(135deg, var(--dp-gold), var(--dp-gold-deep));
  color: #1a1408;
  box-shadow: 0 10px 24px rgba(201, 164, 106, 0.35);
}

/* —— About: gold frame photo —— */
.fx-about__visual {
  border: 1px solid rgba(201, 164, 106, 0.45) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 60px rgba(7, 21, 38, 0.12), 0 0 0 6px rgba(201, 164, 106, 0.12) !important;
  overflow: hidden;
}
.fx-agent {
  border-color: rgba(201, 164, 106, 0.35) !important;
  border-radius: 16px !important;
}
.fx-agent__av--photo {
  border: 2px solid var(--dp-gold) !important;
}

/* —— Contact form property field —— */
.fx-contact__form select {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}
.fx-contact__form select:focus { border-color: var(--dp-gold); }
.fx-contact__form select option { color: #0b1f3a; }
.fx-contact__actions {
  display: grid;
  gap: 10px;
}
.fx-btn--gold {
  background: linear-gradient(135deg, var(--dp-gold), var(--dp-gold-deep)) !important;
  color: #1a1408 !important;
  border: none !important;
  font-weight: 700 !important;
}
.fx-sec--dark {
  background: linear-gradient(160deg, #071526 0%, #0b1f3a 50%, #152038 100%) !important;
  border-top: 1px solid rgba(201, 164, 106, 0.25);
}

/* —— Google Maps block —— */
.dp-map {
  padding: 0 0 72px;
  background: var(--dp-cream);
}
.dp-map__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.dp-map__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.dp-map__head span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dp-gold-deep);
  margin-bottom: 8px;
}
.dp-map__head h2 {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--fx-dark);
}
.dp-map__head p {
  margin: 0;
  color: #5a6b7d;
  line-height: 1.55;
}
.dp-map__frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 106, 0.4);
  box-shadow: 0 24px 60px rgba(7, 21, 38, 0.12);
  aspect-ratio: 21 / 9;
  min-height: 320px;
  background: #0b1f3a;
}
.dp-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 720px) {
  .dp-map__frame { aspect-ratio: 4 / 3; }
  .dp-advisor-card { position: static; }
}
