:root {
  --primary: #d4a657;
  --bg-dark: #050509;
  --bg-light: #f6f4ef;
  --bg-secondary: #f0ebe1;
  --text-body: #4b4b57;
  --text-dark: #14141f;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-body);
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-bg-light {
  background-color: #ffffff;
}

.section-bg-secondary {
  background-color: var(--bg-secondary);
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.two-col .col {
  min-width: 0;
}

.section-header.center {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-dark);
  margin: 0.75rem 0 0;
}

.section-title.light {
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
}

.kicker.light {
  color: var(--primary);
}

.body-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.body-text.small {
  font-size: 0.875rem;
}

.body-text.muted {
  color: rgba(255, 255, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #f3d08a, #d4a657);
  color: #1a1204;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.bullet-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bullet-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--primary);
}

/* Top info bar + Nav fixed together at top */

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-spacer {
  height: 90px;
}

@media (min-width: 768px) {
  .header-spacer {
    height: 98px;
  }
}

.top-header {
  position: relative;
}

.top-info-bar {
  position: relative;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(40, 27, 12, 0.92);
  transition: background 0.3s ease;
}
.header-sticky.header-scrolled .top-info-bar {
  background: rgba(255, 255, 255, 0.98);
}
.header-sticky.header-scrolled .top-info-inner {
  color: var(--text-body);
}

.top-info-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
}

@media (min-width: 768px) {
  .top-info-inner {
    padding-block: 0.5rem;
    font-size: 0.8rem;
  }
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-info-hours {
  display: none;
}

@media (min-width: 768px) {
  .top-info-hours {
    display: flex;
  }
}

.top-info-icon {
  opacity: 0.85;
}

/* Nav */

.nav {
  position: relative;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(40, 27, 12, 0.92);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header-sticky.header-scrolled .nav {
  background: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo h1 {
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.nav-logo span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media (min-width: 992px) {
  .nav-cta {
    display: block;
  }
}

.nav-toggle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 14px;
  height: 1.7px;
  background-color: #ffffff;
  border-radius: 999px;
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 0.25rem;
}

.nav-mobile li {
  margin-bottom: 0.6rem;
}

.nav-mobile a {
  font-size: 0.9rem;
  color: var(--text-body);
}

.nav-mobile .btn {
  margin: 0.75rem 1.25rem 1.05rem;
}

/* When scrolled: header (top bar + nav) white background */
.header-sticky.header-scrolled .top-info-bar {
  background: #ffffff;
  color: var(--text-dark);
}
.header-sticky.header-scrolled .top-info-inner,
.header-sticky.header-scrolled .top-info-item {
  color: var(--text-body);
}

.header-sticky.header-scrolled .nav {
  background: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-sticky.header-scrolled .nav-logo h1 {
  color: var(--text-dark);
}

.header-sticky.header-scrolled .nav-links a {
  color: var(--text-body);
}

.header-sticky.header-scrolled .nav-links a::after {
  background-color: var(--primary);
}

.header-sticky.header-scrolled .nav-toggle {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.header-sticky.header-scrolled .nav-toggle span {
  background-color: #000000;
}

/* Hero */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 0.7s ease-in-out, transform 6s ease-out;
  opacity: 0;
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 10, 5, 0.88),
    rgba(18, 12, 6, 0.65),
    rgba(8, 5, 2, 0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  /* Same padding as top-info-inner so hero text starts from "Downtown Dubai, UAE" line */
  padding: 6.2rem 1.25rem 4rem;
}

.hero-inner {
  max-width: 620px;
}

.hero-pill {
  display: flex; /* block-level so next text starts on new line */
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  backdrop-filter: blur(12px);
  margin-bottom: 1.2rem;
}

.hero-pill-icon {
  font-size: 0.8rem;
  color: var(--primary);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.9rem;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 30rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 2.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dots .dot.active {
  width: 26px;
  background-color: var(--primary);
}

/* Stats */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
}

.stat-item {
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .stat-item:not(:last-child) {
    border-right: 1px solid rgba(212, 166, 87, 0.4);
  }
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  margin-top: 0.2rem;
  color: var(--text-body);
}

/* Property Story */

.image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.image-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .image-main img {
    height: 280px;
  }
}

.image-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.image-thumbs img {
  border-radius: 10px;
  height: 80px;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .image-thumbs img {
    height: 96px;
  }
}

.image-thumbs img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 1.8rem;
}

.counter {
  text-align: center;
}

.counter-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: rgba(212, 166, 87, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.4rem;
}

.counter-value {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.counter-label {
  font-size: 0.75rem;
  color: var(--text-body);
}

.property-meta {
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  font-size: 0.85rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-icon {
  font-size: 0.9rem;
  color: var(--primary);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.feature-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(212, 166, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.feature-thumb {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.85;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.35rem;
  padding-right: 4.2rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  margin: 0;
  padding-right: 3.5rem;
}

/* Floor Plans */

.floor-grid {
  align-items: stretch;
}

.floor-viewer {
  position: relative;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

@media (min-width: 768px) {
  .floor-viewer {
    min-height: 430px;
  }
}

.floor-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.floor-panel img,
.floor-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-panel[data-view="0"] img {
  object-fit: contain;
  padding: 1.25rem;
  background-color: #fdfaf4;
}

.floor-panel.active {
  opacity: 1;
}

.floor-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.tab {
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.95rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background-color: #ffffff;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab.active {
  background-color: var(--primary);
  color: #1b1307;
}

.spec-card {
  background-color: #15151f;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.spec-card-dark {
  background-color: #15151f;
  color: #ffffff;
}

.spec-card-dark .spec-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.spec-card-dark .spec-row span {
  color: rgba(255, 255, 255, 0.7);
}

/* Ensure dark variant stays dark even inside light sections */
.section-bg-light .spec-card.spec-card-dark {
  background-color: #15151f;
  color: #ffffff;
}

.section-bg-light .spec-card.spec-card-dark .spec-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section-bg-light .spec-card.spec-card-dark .spec-row span {
  color: rgba(255, 255, 255, 0.7);
}

.spec-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.25rem;
  margin: 0 0 0.9rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0;
}

.section-bg-light .spec-row {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.spec-row span {
  color: rgba(255, 255, 255, 0.7);
}

.section-bg-light .spec-row span {
  color: var(--text-body);
}

.spec-row strong {
  font-weight: 600;
}

/* Payment plan */

.payment-list {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  padding: 0.25rem 0.75rem;
}

.payment-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.payment-row:last-child {
  border-bottom: none;
}

.payment-pct {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background-color: rgba(212, 166, 87, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.payment-info {
  flex: 1;
  min-width: 0;
}

.payment-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.payment-milestone {
  font-size: 0.75rem;
  color: var(--text-body);
}

.payment-amount {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.payment-note {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.54);
  text-align: center;
  max-width: 520px;
  margin: 1.3rem auto 0;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item-large {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Video section */

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

.video-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #111111, #222222);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  padding: 40px;
  height: 300px;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(227, 191, 118, 0.22), transparent 55%);
  opacity: 0.9;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card.playing .video-bg {
  opacity: 1;
}

.video-card.playing::before {
  opacity: 0.35;
}

.video-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  height: 100%;
  justify-content: center;
}

.video-play {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f6e2b3, #d4a657);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 245, 220, 0.75);
}

.video-play-icon {
  font-size: 1.65rem;
  color: #3e2a0b;
  margin-left: 2px;
}

.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.video-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

.video-card:hover .video-play {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 245, 220, 0.9);
}

.video-card:hover .video-play-icon {
  transform: scale(1.03);
}

.video-card.playing .video-inner {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Location */

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 340px;
}

@media (min-width: 768px) {
  .map-wrap {
    height: 430px;
  }
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.distance-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.distance-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.distance-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--primary);
}

.distance-list .time {
  font-weight: 600;
  color: var(--primary);
  min-width: 52px;
}

.distance-list .place {
  color: var(--text-body);
}

.metro-tag {
  margin-top: 1rem;
  font-size: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background-color: var(--bg-secondary);
}

/* Golden Visa */

.golden-visa {
  position: relative;
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 3.5rem 0;
  overflow: hidden;
}

.golden-dots-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(212, 166, 87, 0.35) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(212, 166, 87, 0.22) 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  background-position: 0 0, 24px 24px;
  animation: golden-dots-float 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes golden-dots-float {
  0%, 100% { opacity: 0.5; transform: translate(0, 0) scale(1); }
  33% { opacity: 0.8; transform: translate(3px, -4px) scale(1.03); }
  66% { opacity: 0.6; transform: translate(-2px, 3px) scale(0.97); }
}

.golden-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 9, 0.55) 0%, rgba(5, 5, 9, 0.35) 50%, rgba(5, 5, 9, 0.65) 100%),
    radial-gradient(circle at 10% 120%, rgba(212, 166, 87, 0.35), transparent),
    radial-gradient(circle at 90% 10%, rgba(212, 166, 87, 0.25), transparent);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.golden-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4%;
  z-index: 1;
  pointer-events: none;
}

.golden-building {
  display: block;
  width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, rgba(212, 166, 87, 0.35), rgba(212, 166, 87, 0.1));
  box-shadow: 0 0 0 1px rgba(212, 166, 87, 0.28);
  transform-origin: bottom center;
  transform: scaleY(0);
  opacity: 0;
  animation: golden-building-rise 1.1s ease-out forwards;
}

.golden-building::before {
  content: "";
  position: absolute;
  inset: 6px 3px 4px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 232, 189, 0.8),
    rgba(255, 232, 189, 0.8) 2px,
    transparent 2px,
    transparent 5px
  );
  opacity: 0.9;
  animation: golden-windows-flicker 3.5s ease-in-out infinite alternate;
}

.golden-building:nth-child(1)  { height: 60px;  animation-delay: 0.05s; }
.golden-building:nth-child(2)  { height: 80px;  animation-delay: 0.12s; width: 16px; }
.golden-building:nth-child(3)  { height: 55px;  animation-delay: 0.18s; }
.golden-building:nth-child(4)  { height: 95px;  animation-delay: 0.22s; width: 20px; }
.golden-building:nth-child(5)  { height: 70px;  animation-delay: 0.28s; }
.golden-building:nth-child(6)  { height: 85px;  animation-delay: 0.32s; width: 19px; }
.golden-building:nth-child(7)  { height: 50px;  animation-delay: 0.36s; }
.golden-building:nth-child(8)  { height: 110px; animation-delay: 0.40s; width: 22px; }
.golden-building:nth-child(9)  { height: 75px;  animation-delay: 0.44s; }
.golden-building:nth-child(10) { height: 90px;  animation-delay: 0.48s; width: 20px; }
.golden-building:nth-child(11) { height: 55px;  animation-delay: 0.52s; }
.golden-building:nth-child(12) { height: 100px; animation-delay: 0.56s; width: 18px; }
.golden-building:nth-child(13) { height: 65px;  animation-delay: 0.60s; }
.golden-building:nth-child(14) { height: 80px;  animation-delay: 0.64s; width: 19px; }
.golden-building:nth-child(15) { height: 58px;  animation-delay: 0.68s; }

@keyframes golden-building-rise {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes golden-windows-flicker {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.5; }
}

.golden-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.golden-icon {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.golden-content h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.6rem;
  margin: 0.3rem 0 0.45rem;
}

.golden-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.15rem;
}

/* Form */

.form-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.form-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(4, 4, 9, 0.65);
  color: #ffffff;
  padding: 0.65rem 0.65rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(212, 166, 87, 0.7);
  box-shadow: 0 0 0 1px rgba(212, 166, 87, 0.4);
}

.phone-row {
  display: flex;
  gap: 0.45rem;
}

.phone-row select {
  max-width: 115px;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: rgba(255, 111, 111, 0.85);
}

.error-text {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #ffb3b3;
}

.form-success {
  background-color: rgba(32, 161, 93, 0.14);
  border-radius: 9px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  color: #baf4d7;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(32, 161, 93, 0.35);
}

.form-footnote {
  font-size: 0.7rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.46);
  margin-top: 0.7rem;
  line-height: 1.6;
}

/* Footer */

.footer {
  background-color: #050509;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-col h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--primary);
}

/* Floating WhatsApp CTA */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float .whatsapp-icon {
  flex-shrink: 0;
}

.whatsapp-float-text {
  white-space: nowrap;
}

@media (max-width: 575px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  .whatsapp-float .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
  .whatsapp-float-text {
    display: none;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  margin-top: 0;
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Popup */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.popup-overlay.open .popup-wrap {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  z-index: 2;
  transition: background 0.2s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-body {
  padding: 2rem 1.5rem 1.75rem;
}

.popup-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
}

.popup-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.25rem;
}

.popup-form .form-card {
  box-shadow: none;
}

/* Helpers */

[data-scroll-target],
[data-popup-open] {
  cursor: pointer;
}

@media (max-width: 575px) {
  .hero-content {
    padding-inline: 1.2rem;
  }

  .section {
    padding-inline: 0;
  }
}

