/* ============================================
   Crystal Estate — Premium Real Estate
   Inspired by Omniyat / Ellington / Emaar
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --navy: #0A1628;
  --navy-mid: #0F2038;
  --navy-light: #162D4A;
  --gold: #B8965A;
  --gold-light: #CBAB75;
  --gold-hover: #A07D45;
  --sand: #D4C5B0;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --cream: #F0ECE3;
  --warm-grey: #E4DFD6;
  --mid-grey: #9A9590;
  --dark-grey: #3A3632;
  --text: #1C1A17;
  --text-light: #6E6A64;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.6s;
  --duration-fast: 0.35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--font-body); letter-spacing: 0; }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title { margin-bottom: 20px; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.85;
  font-weight: 300;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  background: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-off-white { background: var(--off-white); }
.bg-navy {
  background: var(--navy);
  color: var(--white);
}
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy .section-desc { color: rgba(255,255,255,0.55); }
.bg-navy .label { color: var(--gold-light); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: all var(--duration) var(--ease);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled .navbar-inner {
  padding: 14px 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height var(--duration) var(--ease);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  transition: all var(--duration-fast) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 20px;
  padding: 12px 28px !important;
  font-size: 0.68rem !important;
  letter-spacing: 2px !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 28px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration-fast) var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-bg .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg .hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #06111F 0%, #0A1628 30%, #162D4A 70%, #0F2038 100%);
  opacity: 1;
}

.hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,22,40,0.55) 0%,
    rgba(10,22,40,0.35) 40%,
    rgba(10,22,40,0.75) 100%
  );
  z-index: 1;
}

/* Decorative geometric line art */
.hero-bg .hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg .hero-lines::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(184, 150, 90, 0.06);
  border-radius: 50%;
}

.hero-bg .hero-lines::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(184, 150, 90, 0.04);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  padding-top: 60px;
}

.hero-presents {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero-presents-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.35s forwards;
}

.hero-content .label {
  color: var(--gold-light);
  font-size: 0.65rem;
  letter-spacing: 5px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 750px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.9s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-stat {
  padding: 36px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) forwards;
}

.hero-stat:nth-child(1) { animation-delay: 1.1s; }
.hero-stat:nth-child(2) { animation-delay: 1.25s; }
.hero-stat:nth-child(3) { animation-delay: 1.4s; }
.hero-stat:nth-child(4) { animation-delay: 1.55s; border-right: none; }

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-light);
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat .stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 400;
}

.scroll-indicator {
  position: absolute;
  bottom: 120px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.25);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Divider ---------- */
.section-divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0 28px;
}

.text-center .section-divider { margin-left: auto; margin-right: auto; }

/* ---------- Feature Cards (Why This Project) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--warm-grey);
  margin-top: 64px;
}

.feature-card {
  background: var(--white);
  padding: 56px 40px;
  text-align: left;
  transition: all var(--duration) var(--ease);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { background: var(--off-white); }

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.2;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 400;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
}

.about-image-wrapper img,
.about-image-wrapper .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
}

.about-image-wrapper .gold-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}

.about-text .label { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  color: var(--text-light);
  margin-bottom: 18px;
  font-weight: 300;
  line-height: 1.85;
  font-size: 0.95rem;
}
.about-text .btn { margin-top: 16px; }

/* ---------- Project Highlights ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
}

.highlight-card {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 48px 32px;
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.highlight-card:last-child { border-right: none; }

.highlight-card:hover {
  background: rgba(255,255,255,0.03);
}

.highlight-card .icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
  opacity: 0.8;
}

.highlight-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--white);
}

.highlight-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Location Grid ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--warm-grey);
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 44px 36px;
  border-right: 1px solid var(--warm-grey);
  border-bottom: 1px solid var(--warm-grey);
  transition: all var(--duration) var(--ease);
  background: var(--white);
}

.location-card:nth-child(3n) { border-right: none; }
.location-card:nth-child(n+4) { border-bottom: none; }

.location-card:hover {
  background: var(--off-white);
}

.location-card .icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--warm-grey);
  border-radius: 0;
}

.location-card h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.location-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  margin-top: 64px;
  height: 700px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
}

.gallery-item .placeholder-img {
  transition: transform 1.2s var(--ease);
}

.gallery-item:hover .placeholder-img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay svg {
  width: 36px;
  height: 36px;
  color: var(--white);
  stroke-width: 1;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item .gallery-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 90, 0.05);
}

.cta-banner h2 { color: var(--white); font-weight: 300; margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.45);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.85;
}
.cta-banner .btn-group { justify-content: center; }
.cta-banner .label { color: var(--gold-light); }

/* ---------- Inquiry Form ---------- */
.inquiry-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.inquiry-info h2 { margin-bottom: 20px; }
.inquiry-info > p { color: var(--text-light); margin-bottom: 36px; font-weight: 300; line-height: 1.85; }

.inquiry-benefits { margin-bottom: 36px; }
.inquiry-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 0.92rem;
  color: var(--text);
  border-bottom: 1px solid var(--cream);
  font-weight: 300;
}

.inquiry-benefits li:last-child { border-bottom: none; }

.inquiry-benefits li .check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.inquiry-benefits li .check svg { width: 16px; height: 16px; }

.form-card {
  background: var(--off-white);
  padding: 48px;
  border: 1px solid var(--warm-grey);
}

.form-card h3 {
  margin-bottom: 32px;
  font-weight: 400;
  font-size: 1.5rem;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--warm-grey);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--duration) var(--ease);
  background: transparent;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-grey);
  font-weight: 300;
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 300;
  cursor: pointer;
  color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.form-card .btn {
  width: 100%;
  margin-top: 12px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success .check-circle {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.form-success h3 { margin-bottom: 12px; font-weight: 400; }
.form-success p { color: var(--text-light); font-weight: 300; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 64px auto 0;
  border-top: 1px solid var(--warm-grey);
}

.faq-item {
  border-bottom: 1px solid var(--warm-grey);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  text-align: left;
  transition: color var(--duration-fast) var(--ease);
}

.faq-question:hover { color: var(--gold); }

.faq-question .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 200;
  color: var(--gold);
  transition: transform var(--duration-fast) var(--ease);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
  padding-bottom: 28px;
  color: var(--text-light);
  line-height: 1.85;
  font-size: 0.92rem;
  font-weight: 300;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--warm-grey);
  margin-top: 64px;
}

.testimonial-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 4rem;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
  opacity: 0.4;
}

.testimonial-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
  font-style: italic;
  line-height: 1.8;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.8rem;
}

.testimonial-name { font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.testimonial-role { font-size: 0.75rem; color: var(--mid-grey); font-weight: 300; }

/* ---------- Facts ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--warm-grey);
}

.fact-card {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--warm-grey);
}

.fact-card:last-child { border-right: none; }

.fact-card .number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.fact-card .label {
  font-size: 0.68rem;
  color: var(--mid-grey);
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* ---------- Map ---------- */
.map-placeholder {
  width: 100%;
  height: 450px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  overflow: hidden;
}

.map-placeholder .placeholder-text {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}

.map-placeholder .placeholder-text svg {
  display: block;
  margin: 0 auto 16px;
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .nav-logo img { height: 56px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 24px; font-weight: 300; }

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social a svg { width: 15px; height: 15px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  font-weight: 300;
  transition: color var(--duration-fast) var(--ease);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 300;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

/* ---------- Page Hero (Inner pages) ---------- */
.page-hero {
  padding: 180px 0 100px;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(184, 150, 90, 0.04);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-weight: 300; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.45); max-width: 540px; margin: 0 auto; font-size: 1rem; font-weight: 300; line-height: 1.85; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.breadcrumb a { color: rgba(255,255,255,0.35); transition: color var(--duration-fast) var(--ease); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.15); }
.breadcrumb .current { color: var(--gold-light); }

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--warm-grey);
  margin-top: 64px;
}

.value-card {
  text-align: center;
  padding: 56px 36px;
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.value-card:hover { background: var(--off-white); }

.value-card .icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  border: 1px solid var(--warm-grey);
}

.value-card h3 { margin-bottom: 14px; font-size: 1.15rem; font-weight: 400; }
.value-card p { color: var(--text-light); font-size: 0.9rem; font-weight: 300; line-height: 1.8; }

/* ---------- Project Overview ---------- */
.project-overview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.project-details-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream);
  font-size: 0.92rem;
}

.project-details-list li:last-child { border-bottom: none; }

.project-details-list li .detail-label {
  font-weight: 500;
  color: var(--navy);
  min-width: 150px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.project-details-list li .detail-value {
  color: var(--text-light);
  font-weight: 300;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-methods { margin-top: 36px; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--cream);
  transition: all var(--duration) var(--ease);
}

.contact-method:last-child { border-bottom: none; }

.contact-method .icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--warm-grey);
  color: var(--gold);
}

.contact-method .icon-wrap svg { width: 18px; height: 18px; }
.contact-method h4 { margin-bottom: 4px; font-weight: 600; font-size: 0.95rem; }
.contact-method p { font-size: 0.88rem; color: var(--text-light); font-weight: 300; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--duration-fast) var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg { width: 26px; height: 26px; color: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 22, 40, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
}

.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

.lightbox-content {
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease);
}

.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .navbar-inner { padding: 20px 32px; }
  .navbar.scrolled .navbar-inner { padding: 12px 32px; }
  .hero-content { padding: 0 32px; padding-top: 40px; }
  .hero-stats { padding: 0 32px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlight-card:nth-child(2n) { border-right: none; }
  .highlight-card { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact-card:nth-child(2n) { border-right: none; }
  .fact-card:nth-child(-n+2) { border-bottom: 1px solid var(--warm-grey); }
  .testimonials-grid { grid-template-columns: 1fr; background: none; gap: 16px; max-width: 580px; margin-left: auto; margin-right: auto; }
  .testimonial-card { border: 1px solid var(--warm-grey); }
  .gallery-grid { height: 500px; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 24px; }

  .navbar-inner { padding: 16px 24px; }
  .navbar.scrolled .navbar-inner { padding: 12px 24px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 3px;
    padding: 14px 20px;
  }

  .nav-links a::after { display: none; }

  .nav-cta { margin-left: 0 !important; margin-top: 16px; }

  .nav-toggle { display: flex; z-index: 1001; }

  .hero-content { padding: 0 24px; padding-top: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .hero-stat { padding: 24px 0; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat .number { font-size: 1.6rem; }
  .scroll-indicator { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrapper { aspect-ratio: 4/3; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .highlight-card:last-child { border-bottom: none; }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { border-right: none !important; }
  .location-card:last-child { border-bottom: none; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery-item { aspect-ratio: 16/9; }
  .gallery-item.large { grid-row: span 1; }

  .inquiry-section { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .project-overview { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero { padding: 140px 0 70px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .hero .btn-group { align-items: flex-start; }
  .cta-banner .btn-group { align-items: center; }
  .cta-banner { padding: 70px 0; }

  .form-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
