.nomad-project .hilal-hero-media {
  isolation: isolate;
  background: #071a32;
}

.nomad-project .hilal-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nomad-hero-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 5px;
  padding: clamp(22px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(0deg, rgba(5, 18, 38, .82), transparent);
  pointer-events: none;
}

.nomad-hero-caption span {
  color: #ecd8ae;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nomad-hero-caption strong {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.1;
}

.nomad-project .hilal-gallery-item {
  margin: 0;
}

.nomad-project .hilal-gallery-item img {
  display: block;
}

.nomad-project .nomad-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nomad-project .nomad-amenities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nomad-amenities-grid .hilal-invest-card > i {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 13px;
  color: #051940;
  background: rgba(206, 177, 122, .24);
  font-size: 18px;
}

.nomad-section-intro,
.nomad-note,
.nomad-location > p {
  color: var(--text-body, #475569);
  line-height: 1.75;
}

.nomad-note {
  margin-top: 20px;
  font-size: 13px;
}

.nomad-project .nomad-plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nomad-pricing {
  position: relative;
  overflow: hidden;
  margin: 30px 0 34px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(170, 133, 70, .38);
  border-radius: 24px;
  color: #102746;
  background: linear-gradient(145deg, #fff 0%, #fbfaf6 58%, #f4f7fa 100%);
  box-shadow: 0 22px 54px rgba(5, 25, 64, .11);
}

.nomad-pricing::before {
  position: absolute;
  top: -95px;
  right: -75px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(206, 177, 122, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(206, 177, 122, .055), 0 0 0 49px rgba(206, 177, 122, .04);
  content: "";
  pointer-events: none;
}

.nomad-pricing-heading {
  position: relative;
  margin: 0 auto 25px;
  text-align: center;
}

.nomad-pricing-heading > span,
.nomad-floor-heading > div > span {
  color: #9b7438;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nomad-pricing-heading h2 {
  margin: 8px 0 7px;
  color: #071d3d;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.15;
}

.nomad-pricing-heading p,
.nomad-pricing-footnote {
  margin: 0;
  color: #5d6d81;
  font-size: 14px;
  line-height: 1.6;
}

.nomad-price-highlights {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nomad-price-card {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  border: 1px solid #e2e7ed;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 9px 25px rgba(5, 25, 64, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nomad-price-card:hover {
  transform: translateY(-5px);
  border-color: #cdb27d;
  box-shadow: 0 17px 30px rgba(5, 25, 64, .12);
}

.nomad-price-card > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #526176;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.nomad-price-card > span i {
  color: #a47c3a;
  font-size: 15px;
}

.nomad-price-card > strong {
  color: #071d3d;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.nomad-price-card > small {
  color: #718096;
  font-size: 11px;
  line-height: 1.5;
}

.nomad-price-card.nomad-price-featured {
  border-color: #152d50;
  color: #fff;
  background: linear-gradient(140deg, #071a38, #18375d);
  box-shadow: 0 13px 29px rgba(5, 25, 64, .2);
}

.nomad-price-featured > span,
.nomad-price-featured > strong {
  color: #f2dfb6;
}

.nomad-price-featured > span i {
  color: #d3b778;
}

.nomad-price-featured > small {
  color: #d3deea;
}

.nomad-floor-pricing {
  position: relative;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #e2e7ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, .83);
}

.nomad-floor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.nomad-floor-heading h3 {
  margin: 4px 0 0;
  color: #071d3d;
  font-size: 22px;
  font-weight: 900;
}

.nomad-floor-heading > p {
  margin: 0 0 3px;
  color: #718096;
  font-size: 12px;
  font-weight: 700;
}

.nomad-price-table-wrap {
  overflow-x: auto;
  border: 1px solid #e4e9ef;
  border-radius: 13px;
  scrollbar-color: #c9ae79 #f3f5f8;
}

.nomad-price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.nomad-price-table th,
.nomad-price-table td {
  padding: 13px 15px;
  border-bottom: 1px solid #e9edf1;
  color: #526176;
  font-size: 13px;
  white-space: nowrap;
}

.nomad-price-table thead th {
  border: 0;
  color: #f5f7fa;
  background: #0a2143;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.nomad-price-table tbody th {
  color: #102746;
  font-weight: 800;
}

.nomad-price-table tbody td:last-child strong {
  color: #927039;
  font-size: 14px;
  font-weight: 900;
}

.nomad-price-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.nomad-price-table tbody tr:last-child th,
.nomad-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.nomad-price-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 15px;
  padding: 15px 17px;
  border: 1px solid rgba(206, 177, 122, .34);
  border-radius: 13px;
  color: #f6e5c0;
  background: linear-gradient(110deg, #081d3c, #15395a);
}

.nomad-price-note > i {
  margin-top: 2px;
  color: #d4b878;
  font-size: 19px;
}

.nomad-price-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.nomad-price-note p {
  margin: 0;
  color: #d5dfeb;
  font-size: 12px;
  line-height: 1.6;
}

.nomad-pricing-footnote {
  margin-top: 15px;
  text-align: center;
  font-size: 12px;
}

.nomad-project .midnimo-plan {
  overflow: hidden;
}

.nomad-project .midnimo-plan img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: contain;
  background: #f7f8fa;
}

.nomad-location > img {
  display: block;
  width: 100%;
  max-height: 540px;
  margin: 20px 0;
  border: 1px solid rgba(5, 25, 64, .08);
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
}

.nomad-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--primary, #051940);
  font-weight: 700;
  line-height: 1.6;
}

.nomad-address i {
  margin-top: 4px;
  color: #aa8546;
}

.nomad-map-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 280px;
  border: 1px solid rgba(5, 25, 64, .12);
  border-radius: 16px;
  background: #e9eef3;
  box-shadow: 0 12px 28px rgba(5, 25, 64, .1);
}

.nomad-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.nomad-directions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 26px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #051940;
  color: #ecd8ae;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.nomad-directions:hover {
  background: #102c55;
}

.nomad-nearby-heading {
  margin: 8px 0;
  color: var(--primary, #051940);
  font-size: 18px;
  font-weight: 800;
}

.nomad-distance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.nomad-distance-grid > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 13px;
  background: var(--white, #fff);
}

.nomad-distance-grid strong {
  color: #96783d;
  font-size: 17px;
}

.nomad-distance-grid span {
  color: var(--text-body, #475569);
  font-size: 12px;
  line-height: 1.4;
}

.nomad-form-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(206, 177, 122, .45);
  border-radius: 99px;
  color: #ecd8ae;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nomad-project .hilal-form-control option {
  color: #051940;
  background: #fff;
}

html[data-theme="dark"] .nomad-project .nomad-section-intro,
html[data-theme="dark"] .nomad-project .nomad-note,
html[data-theme="dark"] .nomad-project .nomad-location > p,
html[data-theme="dark"] .nomad-distance-grid span {
  color: #c0cee0;
}

html[data-theme="dark"] .nomad-project {
  --white: #12243a;
  --bg-light: #081526;
  --border: #293a50;
  --text-body: #c0cee0;
  --muted: #9bacc2;
  background: #081526;
  color: #c0cee0;
}

html[data-theme="dark"] .nomad-distance-grid > div {
  background: #12243a;
  border-color: #293a50;
}

html[data-theme="dark"] .nomad-address,
html[data-theme="dark"] .nomad-nearby-heading {
  color: #e4edf9;
}

html[data-theme="dark"] .nomad-pricing {
  border-color: #44516a;
  color: #dce6f2;
  background: linear-gradient(145deg, #102238, #0b1b2d 70%, #10243a);
}

html[data-theme="dark"] .nomad-pricing-heading h2,
html[data-theme="dark"] .nomad-floor-heading h3,
html[data-theme="dark"] .nomad-price-card > strong,
html[data-theme="dark"] .nomad-price-table tbody th {
  color: #edf4fc;
}

html[data-theme="dark"] .nomad-pricing-heading p,
html[data-theme="dark"] .nomad-pricing-footnote,
html[data-theme="dark"] .nomad-floor-heading > p,
html[data-theme="dark"] .nomad-price-card > span,
html[data-theme="dark"] .nomad-price-card > small {
  color: #b4c2d4;
}

html[data-theme="dark"] .nomad-price-card,
html[data-theme="dark"] .nomad-floor-pricing {
  border-color: #2b4058;
  background: #142940;
}

html[data-theme="dark"] .nomad-price-card.nomad-price-featured {
  border-color: #927b4d;
  background: linear-gradient(140deg, #071a38, #18375d);
}

html[data-theme="dark"] .nomad-price-featured > span,
html[data-theme="dark"] .nomad-price-featured > strong {
  color: #f2dfb6;
}

html[data-theme="dark"] .nomad-price-featured > small {
  color: #d3deea;
}

html[data-theme="dark"] .nomad-price-table-wrap {
  border-color: #2b4058;
}

html[data-theme="dark"] .nomad-price-table th,
html[data-theme="dark"] .nomad-price-table td {
  border-color: #2b4058;
  color: #bfccdb;
}

html[data-theme="dark"] .nomad-price-table thead th {
  color: #f5f7fa;
  background: #081a31;
}

html[data-theme="dark"] .nomad-price-table tbody tr:nth-child(even) {
  background: #102238;
}

html[data-theme="dark"] .nomad-price-table tbody td:last-child strong {
  color: #e2c888;
}

@media (max-width: 1024px) {
  .nomad-price-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nomad-project .nomad-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nomad-distance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nomad-project .hilal-hero-media {
    height: 380px;
  }

  .nomad-project .nomad-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nomad-project .hilal-quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .nomad-pricing {
    padding: 20px 15px;
    border-radius: 18px;
  }

  .nomad-price-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .nomad-price-card {
    min-height: 122px;
    padding: 17px;
  }

  .nomad-floor-pricing {
    padding: 14px;
  }

  .nomad-floor-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .nomad-price-note {
    padding: 13px;
  }

  .nomad-project .hilal-hero-media {
    height: 300px;
    border-radius: 18px;
  }

  .nomad-project .nomad-amenities-grid,
  .nomad-project .nomad-plans,
  .nomad-project .nomad-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .nomad-distance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nomad-map-frame {
    min-height: 240px;
    aspect-ratio: 1 / 1;
  }

  .nomad-project .hilal-block,
  .nomad-project .hilal-prime-location {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nomad-project .hilal-gallery-item img,
  .nomad-project .nomad-price-card {
    transition: none;
  }
}
