:root {
  --dl-teal: #004f4d;
  --dl-aqua: #eef7f6;
  --dl-sand: #fbfaf7;
  --dl-muted: #007c78;
  --dl-text: #374151;
}

.dl-page {
  background: var(--dl-sand);
}

/* ── Hero ── */
.dl-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  background: url("/static/images/developments_hero.png") center center / cover
    no-repeat;
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.24) 28%,
      rgba(0, 0, 0, 0.08) 52%,
      rgba(0, 0, 0, 0) 72%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 40%);
}

.dl-hero::after {
  content: none;
}

.dl-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 88px;
}

.dl-breadcrumb {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dl-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.dl-breadcrumb a:hover {
  color: white;
}

.dl-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 6vw, 6.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  margin: 0 0 20px;
}

.dl-hero p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  line-height: 1.5;
  margin: 0 0 40px;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.dl-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dl-btn-primary {
  background: white;
  color: var(--dl-teal);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  font-family: "Inter", sans-serif;
}
.dl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  color: var(--dl-teal);
  text-decoration: none;
}

.dl-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.18s,
    background 0.18s;
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(6px);
}
.dl-btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  text-decoration: none;
}

/* ── Sections ── */
.dl-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.dl-section + .dl-section {
  border-top: 1px solid rgba(0, 79, 77, 0.1);
}

.dl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  color: var(--dl-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.dl-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--dl-muted);
  border-radius: 999px;
}

.dl-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 500;
  color: var(--dl-teal);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.dl-subtext {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 48px;
}

/* ── Featured card grid ── */
.dl-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.dl-dev-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  border: 1px solid rgba(0, 79, 77, 0.06);
}
.dl-dev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.11);
  text-decoration: none;
  color: inherit;
}

.dl-dev-card__img {
  position: relative;
  aspect-ratio: 9 / 8;
  overflow: hidden;
  background: var(--dl-aqua);
}
.dl-dev-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.dl-dev-card:hover .dl-dev-card__img img {
  transform: scale(1.04);
}

.dl-dev-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c89b3c;
  color: white;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  box-shadow: 0 2px 8px rgba(255, 149, 0, 0.35);
}

.dl-dev-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef7f6 0%, #c9f0ee 100%);
  color: rgba(0, 79, 77, 0.28);
  font-size: 3rem;
}

.dl-dev-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.dl-dev-card__name {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dl-teal);
  margin: 0 0 4px;
  line-height: 1.3;
}

.dl-dev-card__location {
  font-size: 0.8rem;
  color: #4d525d;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
}

.dl-dev-card__desc {
  font-size: 0.88rem;
  color: #363d47;
  line-height: 1.55;
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

.dl-dev-card__footer {
  border-top: 1px solid rgba(0, 79, 77, 0.1);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: "Inter", sans-serif;
}

.dl-dev-card__footer-type,
.dl-dev-card__footer-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  color: #505660;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-dev-card__footer-price {
  font-weight: 700;
  color: #29313d;
  flex-shrink: 0;
}

.dl-dev-card__footer i {
  color: #757a83;
  font-size: 1.08rem;
  flex-shrink: 0;
}

/* ── CTA button ── */
.dl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #007c78 0%, #004f4d 48%, #003b39 100%);
  box-shadow:
    0 12px 24px rgba(0, 79, 77, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.dl-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(0, 79, 77, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
}

/* ── Why Invest card ── */
.dl-invest-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 68px;
  align-items: center;
  background: linear-gradient(135deg, #eef7f6 0%, #fffdf8 100%);
  border-radius: 32px;
  padding: 68px;
  box-shadow: 0 24px 60px rgba(0, 79, 77, 0.1);
  position: relative;
  overflow: visible;
}

.dl-invest-stamp {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 190px;
  pointer-events: none;
  user-select: none;
  transform: rotate(9deg);
  z-index: 2;
}

.dl-invest-stamp svg {
  width: 100%;
  height: auto;
  display: block;
}

.dl-invest-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 79, 77, 0.055) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.dl-invest-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-invest-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 500;
  color: var(--dl-teal);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.dl-invest-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.dl-invest-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--dl-text);
  line-height: 1.6;
}

.dl-invest-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--dl-muted);
  border-radius: 50%;
  margin-top: 7px;
}

/* ── Browse preview ── */
/* ── Browse-all button row (replaces filter pills) ── */
.dl-browse-row {
  margin-top: 28px;
  margin-bottom: 36px;
}
.dl-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  background: linear-gradient(135deg, #007c78 0%, #004f4d 60%, #003b39 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 79, 77, 0.22);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.dl-browse-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 79, 77, 0.3);
  color: #fff;
  text-decoration: none;
}

/* ── Carousel pagination ── */
.dl-carousel-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}
.dl-pg-btn {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.dl-pg-btn:hover {
  color: #004f4d;
}
.dl-pg-btn--active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #007c78 0%, #004f4d 60%, #003b39 100%);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 79, 77, 0.22);
  cursor: default;
}
.dl-pg-ellipsis {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1;
}
/* hide non-visible carousel cards */
.dl-compact-card--hidden {
  display: none !important;
}

/* ── Portrait card grid ── */
.dl-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.dl-compact-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(0, 79, 77, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.dl-compact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11);
}

/* ── Card image — portrait, fixed height ── */
.dl-compact-card__img {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #004f4d 0%, #188f8b 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.dl-compact-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-compact-card__img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Card body ── */
.dl-compact-card__body {
  padding: 20px;
}

.dl-compact-card__status {
  font-family: "Inter", sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #188f8b;
  margin-bottom: 6px;
}

.dl-compact-card__name {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #004f4d;
  margin: 0 0 8px;
  line-height: 1.2;
}

.dl-compact-card__loc {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.dl-compact-card__loc i {
  color: #004f4d;
  font-size: 0.78rem;
}

.dl-compact-card__divider {
  height: 1px;
  background: rgba(0, 79, 77, 0.08);
  margin-bottom: 14px;
}

.dl-compact-card__price {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
}

/* ── Final CTA ── */
.dl-cta-section {
  background: var(--dl-teal);
}

.dl-cta-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

.dl-cta-inner h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 500;
  color: white;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0 0 18px;
}

.dl-cta-inner p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

.dl-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-cta-white {
  background: white;
  color: var(--dl-teal);
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: "Inter", sans-serif;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.dl-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  color: var(--dl-teal);
  text-decoration: none;
}

.dl-cta-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.dl-cta-ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  text-decoration: none;
}

/* ── Nav overrides ── */
.sign-in-btn {
  background: transparent !important;
  color: #0f766e !important;
  border: 1px solid rgba(15, 118, 110, 0.3) !important;
  padding: 6px 14px;
  border-radius: 8px;
}
.sign-in-btn:hover {
  background: rgba(15, 118, 110, 0.08) !important;
  border-color: rgba(15, 118, 110, 0.5) !important;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .dl-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dl-invest-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 36px;
  }
  .dl-invest-illustration {
    display: none;
  }
}

@media (max-width: 900px) {
  .dl-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dl-hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.28) 40%,
      rgba(0, 0, 0, 0.1) 100%
    );
  }
  .dl-hero h1 {
    font-size: 3.6rem;
    line-height: 0.98;
  }
  .dl-hero p {
    font-size: 1rem;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .dl-hero {
    min-height: 440px;
  }
  .dl-hero-inner,
  .dl-section {
    width: min(calc(100% - 32px), 1180px);
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .dl-featured-grid,
  .dl-compact-grid {
    grid-template-columns: 1fr;
  }
  .dl-cta-inner {
    padding: 72px 0;
  }
}

/* ── Slim copyright bar ── */
.dl-footer-bar {
  background: #003533;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dl-footer-bar p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.dl-footer-bar__social {
  display: flex;
  gap: 14px;
}
.dl-footer-bar__social a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  transition: color 0.2s;
}
.dl-footer-bar__social a:hover {
  color: #fff;
}
