/*
Theme Name: Embassy Springs
Theme URI: https://embassysprings.org
Description: Premium real estate theme for Embassy Group Bangalore — residential townships, luxury apartments, villas & villaments.
Version: 1.0.0
Author: Planetprop
Text Domain: embassy-springs
*/

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --navy:    #0a1f3c;
  --navy2:   #071529;
  --gold:    #c9a84c;
  --gold-lt: #fdf7e8;
  --teal:    #0e6e72;
  --teal-lt: #e6f4f5;
  --ink:     #1a1a2e;
  --ink2:    #3d3d5c;
  --stone:   #f5f3ee;
  --border:  #e0ddd6;
  --muted:   #6b6b80;
  --white:   #ffffff;
  --wa:      #22c55e;
  --red:     #c62828;
  --hh:      72px;
  --r:       4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; }
h4 { font-size: 1rem; font-weight: 500; }
p  { font-size: .96rem; color: var(--ink2); line-height: 1.82; }

.eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}
.eyebrow-gold { color: var(--gold) !important; }
.rule { width: 44px; height: 2px; background: var(--gold); border-radius: 2px; margin: 12px 0 0; }
.sec-head { margin-bottom: 44px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head .sub { color: var(--muted); max-width: 600px; margin-top: 8px; line-height: 1.85; font-size: .95rem; }
.sec-head.center { text-align: center; }
.sec-head.center .sub { margin: 8px auto 0; }
.sec-head.center .rule { margin: 12px auto 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-stone  { background: var(--stone); }
.bg-navy   { background: var(--navy); color: var(--white); }
.bg-teal   { background: var(--teal); color: var(--white); }
.two-col   { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .two-col   { grid-template-columns: 1fr; gap: 32px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .three-col { grid-template-columns: 1fr; }
  .four-col  { grid-template-columns: 1fr; }
  .section   { padding: 52px 0; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.btn-primary  { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #b8922a; color: #fff; }
.btn-outline  { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-navy     { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); }
.btn-wa       { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #16a34a; }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--hh);
  background: rgba(8, 20, 50, .97);
  border-bottom: 1px solid rgba(201, 168, 76, .3);
  backdrop-filter: blur(12px);
}
.hdr-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
.logo-name { display: block; font-family: 'Playfair Display', serif; font-size: 1.22rem; font-weight: 700; color: #fff; line-height: 1; }
.logo-sub  { display: block; font-size: .52rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.primary-nav { display: flex; align-items: center; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block;
  padding: 8px 11px;
  color: rgba(255,255,255,.75);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .18s;
  white-space: nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li.active > a { color: var(--gold); }
.primary-nav > li.has-sub > a::after { content: '▾'; font-size: .55rem; margin-left: 4px; opacity: .5; }
.nav-chevron { font-size: .5rem; opacity: .5; margin-left: 3px; display: inline-block; transition: transform .2s; }
.primary-nav li.has-sub:hover .nav-chevron { transform: rotate(180deg); }

.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #050e20;
  border-top: 2px solid var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .16s;
  z-index: 999;
}
.primary-nav li:hover > .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,.65);
  font-size: .76rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all .14s;
}
.nav-sub a:hover { color: #fff; background: var(--teal); padding-left: 24px; }
.nav-sub-title {
  padding: 10px 18px 5px;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .85;
  pointer-events: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-sub-title--mt { margin-top: 6px; }
.nav-sub .nav-sub-loc { font-size: .68rem; opacity: .5; margin-left: 4px; }

.hdr-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hdr-phone { color: rgba(255,255,255,.75); font-size: .72rem; display: flex; align-items: center; gap: 6px; transition: color .18s; }
.hdr-phone:hover { color: var(--gold); }
.btn-hdr-enq {
  background: var(--gold); color: #fff; padding: 9px 22px;
  border-radius: var(--r); font-size: .67rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border: none;
  transition: background .18s;
}
.btn-hdr-enq:hover { background: #b8922a; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: all .28s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .hdr-desktop-only { display: none; }
  .primary-nav {
    position: fixed; top: var(--hh); left: 0; right: 0; bottom: 0;
    background: #050e20;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 80px;
    overflow-y: auto;
    transform: translateX(-110%);
    transition: transform .3s ease;
    z-index: 890;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .primary-nav > li > a { padding: 14px 24px; font-size: .8rem; }
  .primary-nav > li.has-sub > a::after { float: right; margin-top: 2px; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border-top: none;
    border-left: 3px solid var(--gold);
    background: rgba(255,255,255,.03);
    display: none;
  }
  .primary-nav li.sub-open > .nav-sub { display: block; }
  .nav-sub a { padding: 11px 18px 11px 24px; font-size: .78rem; }
  .nav-sub-title { padding: 9px 18px 4px 24px; }
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--stone);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-top: var(--hh);
}
.bc { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: .78rem; color: var(--muted); }
.bc a { color: var(--teal); }
.bc a:hover { color: var(--gold); }
.bc-sep { opacity: .5; }

/* ── PROJECT SUB-NAV ────────────────────────────────────────── */
.project-nav {
  position: sticky; top: var(--hh); z-index: 700;
  background: var(--navy); border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.pnav-inner {
  display: flex; align-items: center; gap: 0;
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  min-height: 48px;
}
.pnav-title {
  color: var(--gold); font-family: 'Playfair Display', serif; font-size: .88rem; font-weight: 700;
  padding-right: 20px; border-right: 1px solid rgba(255,255,255,.15); white-space: nowrap; flex-shrink: 0;
}
.pnav-links { display: flex; align-items: center; flex: 1; overflow-x: auto; }
.pnav-links li a {
  display: block; padding: 14px 14px; color: rgba(255,255,255,.65);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; transition: color .18s;
}
.pnav-links li a:hover, .pnav-links li a.active { color: var(--gold); }
.pnav-cta { background: var(--gold); color: #fff !important; border-radius: var(--r); padding: 8px 16px !important; }
.pnav-cta:hover { background: #b8922a !important; color: #fff !important; }
.pnav-toggle { display: none; background: none; border: none; color: #fff; padding: 8px; }

@media (max-width: 768px) {
  .pnav-links { display: none; }
  .pnav-toggle { display: block; margin-left: auto; }
  .pnav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); }
  .pnav-links.open li { width: 100%; }
  .pnav-links.open li a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* ── HERO SLIDER ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 640px; max-height: 900px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease; z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,14,32,.85) 0%, rgba(5,14,32,.5) 60%, rgba(5,14,32,.2) 100%);
}
.hero .wrap { position: relative; z-index: 5; height: 100%; display: flex; align-items: center; }
.hero-body { max-width: 640px; }
.hero-kicker {
  display: inline-block; background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.5);
  color: var(--gold); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; padding: 6px 16px; border-radius: 40px; margin-bottom: 18px;
}
.hero-body h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 16px; }
.hero-body h1 em { font-style: normal; color: var(--gold); }
.hero-body p { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.78; margin-bottom: 32px; }
.hero-nums { display: flex; gap: 36px; margin-bottom: 32px; }
.hn { display: flex; flex-direction: column; }
.hn-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.hn-lbl { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: all .25s;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; width: 100%; padding: 0 20px;
  z-index: 10;
}
.hero-arr {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s; font-size: 1rem;
}
.hero-arr:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 600px) {
  .hero-nums { flex-wrap: wrap; gap: 20px; }
}

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip { background: var(--navy); border-top: 2px solid var(--gold); padding: 22px 0; }
.stats-row { display: flex; gap: 0; justify-content: space-between; flex-wrap: wrap; }
.stat { flex: 1; min-width: 120px; text-align: center; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat-n { display: block; font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.stat-l { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 3px; }

/* ── CONTACT / ENQUIRY FORM ──────────────────────────────────── */
.form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}
.form-box h3 { margin-bottom: 6px; font-size: 1.3rem; }
.form-sub { font-size: .82rem; color: var(--muted); display: block; margin-bottom: 22px; }
.form-box.dark { background: var(--navy); border-color: rgba(201,168,76,.3); }
.form-box.dark h3, .form-box.dark .form-sub { color: rgba(255,255,255,.85); }

.embassy-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.embassy-form .form-row.single { grid-template-columns: 1fr; }
.embassy-form input, .embassy-form select, .embassy-form textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-family: inherit; font-size: .88rem;
  color: var(--ink); background: #fff; transition: border-color .18s;
}
.embassy-form input:focus, .embassy-form select:focus, .embassy-form textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-phone-wrap { display: flex; gap: 8px; }
.form-phone-wrap select { width: 110px; flex-shrink: 0; }
.form-phone-wrap input { flex: 1; }
.embassy-form .btn-submit {
  width: 100%; background: var(--gold); color: #fff;
  padding: 14px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: var(--r); cursor: pointer;
  transition: background .18s; margin-top: 4px;
}
.embassy-form .btn-submit:hover { background: #b8922a; }
.form-success { color: #14a05a; background: #e8faf0; border: 1px solid #b7f0d0; padding: 12px 16px; border-radius: var(--r); font-size: .86rem; display: none; }
.form-error   { color: var(--red); background: #fce8e8; border: 1px solid #f5b8b8; padding: 12px 16px; border-radius: var(--r); font-size: .86rem; display: none; }
@media (max-width: 600px) { .embassy-form .form-row { grid-template-columns: 1fr; } }

/* ── POPUP ────────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(5,14,32,.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box { background: #fff; border-radius: 10px; width: 100%; max-width: 460px; margin: 16px; box-shadow: 0 32px 80px rgba(0,0,0,.4); }
.popup-hd { background: var(--navy); padding: 22px 28px; border-radius: 10px 10px 0 0; position: relative; }
.popup-hd h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.popup-hd p  { color: rgba(255,255,255,.65); font-size: .82rem; }
.popup-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: rgba(255,255,255,.6); font-size: 1.4rem; cursor: pointer; line-height: 1; transition: color .18s; }
.popup-close:hover { color: #fff; }
.popup-bd { padding: 24px 28px 28px; }

/* ── PROJECT CARDS ───────────────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.proj-card { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: transform .22s, box-shadow .22s; }
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.proj-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-card-img img { transform: scale(1.06); }
.proj-card-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.proj-card-badge.badge-rdy { background: var(--teal); }
.proj-card-body { padding: 18px 20px 22px; }
.proj-card-body .proj-name { font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; display: block; }
.proj-card-body .proj-loc { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.proj-card-body .proj-price { font-size: .85rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.proj-card-body .proj-type { font-size: .8rem; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.proj-card-body .btn-enq { width: 100%; text-align: center; justify-content: center; }

@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* ── SPECS TABLE ─────────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.spec-table th { background: var(--navy); color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 12px 18px; text-align: left; }
.spec-table td { padding: 11px 18px; font-size: .88rem; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--stone); }
.spec-table .spec-highlight { color: var(--teal); font-weight: 700; }

/* ── PRICE TABLE ─────────────────────────────────────────────── */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.price-card { border: 1px solid var(--border); border-radius: 8px; padding: 26px 24px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.price-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); border-color: var(--gold); }
.price-card.featured { border-color: var(--gold); border-width: 2px; background: var(--gold-lt); }
.price-card .pc-type { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-bottom: 8px; }
.price-card .pc-size { font-size: 1.6rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--ink); margin-bottom: 6px; }
.price-card .pc-size span { font-size: .88rem; font-weight: 400; color: var(--muted); }
.price-card .pc-price { font-size: 1.18rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.price-card .pc-usd   { font-size: .78rem; color: var(--muted); }

/* ── FLOOR PLANS ─────────────────────────────────────────────── */
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-item { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: box-shadow .2s; }
.fp-item:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.fp-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fp-item-lbl { background: var(--stone); padding: 10px 14px; font-size: .82rem; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .fp-grid { grid-template-columns: 1fr 1fr; } }

/* ── GALLERY ─────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* Lightbox */
.lb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9998; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s; }
.lb-overlay.active { opacity: 1; visibility: visible; }
.lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lb-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; transition: background .18s; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); }

/* ── AMENITIES ───────────────────────────────────────────────── */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amenity-item { text-align: center; padding: 24px 16px; background: #fff; border-radius: 8px; border: 1px solid var(--border); transition: all .2s; }
.amenity-item:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.amenity-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-lt); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.4rem; color: var(--teal); }
.amenity-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
@media (max-width: 768px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── HIGHLIGHTS / SPECS HIGHLIGHTS ──────────────────────────── */
.highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hl-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--stone); border-radius: 6px; border-left: 3px solid var(--gold); }
.hl-icon { color: var(--teal); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.hl-text .hl-v { font-weight: 700; font-size: .92rem; color: var(--ink); }
.hl-text .hl-l { font-size: .8rem; color: var(--muted); }

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-list { }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 0; text-align: left; background: none; border: none;
  font-family: 'DM Sans', sans-serif; font-size: .96rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-left: 16px; transition: transform .2s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 16px; color: var(--ink2); font-size: .92rem; line-height: 1.85; }

/* ── VIDEO SECTION ───────────────────────────────────────────── */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.video-wrap iframe, .video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; background: rgba(201,168,76,.9); border: 3px solid #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; transition: transform .2s, background .2s;
}
.video-thumb:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--gold); }

/* ── LOCATION MAP ────────────────────────────────────────────── */
.map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 440px; border: none; display: block; }
.location-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.loc-pt { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.loc-pt i { color: var(--teal); width: 18px; text-align: center; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: var(--navy2); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-logo-sub  { font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.footer-about { font-size: .86rem; line-height: 1.82; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-rera { margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-col h4 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .84rem; color: rgba(255,255,255,.58); transition: color .18s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--gold); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact-item span { font-size: .84rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); font-size: .76rem; transition: color .18s; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── MOBILE BOTTOM BAR ───────────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--navy);
  border-top: 2px solid var(--gold);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.mb-call { color: rgba(255,255,255,.85); border-right: 1px solid rgba(255,255,255,.12); }
.mb-enq  { background: var(--gold); color: #fff; }
@media (max-width: 768px) { .mobile-bar { display: flex; } body { padding-bottom: 54px; } }

/* ── FLOATING WhatsApp ────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 76px; right: 20px; z-index: 800;
  width: 52px; height: 52px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; box-shadow: 0 6px 20px rgba(34,197,94,.4);
  transition: transform .2s; animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse-wa { 0%,100%{box-shadow:0 6px 20px rgba(34,197,94,.4)} 50%{box-shadow:0 6px 30px rgba(34,197,94,.7)} }

/* ── ABOUT / TWO-COL TEXT ────────────────────────────────────── */
.about-text p { margin-bottom: 16px; }
.hl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.hl-row  { display: flex; align-items: flex-start; gap: 10px; }
.hl-dot  { width: 32px; height: 32px; background: var(--teal-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); font-size: .75rem; }

/* ── SECTION: RELATED PROJECTS ───────────────────────────────── */
.related-projects { background: var(--stone); }

/* ── EDIT BUTTON (admin) ─────────────────────────────────────── */
.admin-edit-btn {
  display: none;
  background: #ff9800; color: #fff; border: none; border-radius: var(--r);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; cursor: pointer; position: absolute; top: 12px; right: 12px; z-index: 50;
}
.admin-mode .admin-edit-btn { display: block; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-teal  { color: var(--teal); }
.text-white { color: #fff; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.text-center { text-align: center; }
.page-wrap { min-height: 100vh; }

/* ── WP ADMIN BAR ────────────────────────────────────────────── */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
body.logged-in { padding-bottom: 54px !important; }

/* ── MOBILE NAV IMPROVEMENTS ────────────────────────────────── */
@media (max-width: 991px) {
  .primary-nav {
    display: block !important; /* override flex so mobile list items stack */
    overflow-x: hidden;
  }
  .primary-nav > li > a {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .82rem; padding: 15px 24px;
  }
  .primary-nav > li.has-sub > a::after {
    content: '+'; font-size: .9rem; margin-left: auto;
    border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
    line-height: 1; padding: 0; flex-shrink: 0;
  }
  .primary-nav li.sub-open > a::after { content: '−'; }
  .nav-sub { min-width: 100%; }
  .nav-sub a { font-size: .8rem; padding: 12px 18px 12px 32px; }
  .nav-sub-title { padding: 10px 18px 4px 32px; font-size: .62rem; }
  /* Project sub-nav mobile */
  .pnav-links.open { position: fixed; top: calc(var(--hh) + 48px); left: 0; right: 0; background: var(--navy); z-index: 699; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
  .pnav-links.open li { border-bottom: 1px solid rgba(255,255,255,.05); }
  .pnav-links.open li a { padding: 14px 24px; font-size: .8rem; }
}

/* Tablet menu fix */
@media (min-width: 768px) and (max-width: 991px) {
  .primary-nav > li > a { font-size: .85rem; }
}

/* ── CONTACT PAGE / FORM FIX ─────────────────────────────── */
.contact-page-form { max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--navy2); border-bottom: 1px solid rgba(255,255,255,.06);
  display: none;
}
@media (min-width: 992px) { .top-bar { display: block; } }
.tb-inner {
  max-width: 1260px; margin: 0 auto; padding: 6px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.tb-left { font-size: .68rem; color: rgba(255,255,255,.45); letter-spacing: .06em; }
.tb-right { display: flex; gap: 20px; }
.tb-right a { font-size: .68rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 5px; transition: color .15s; }
.tb-right a:hover { color: var(--gold); }

/* ── Updated header height with top-bar ── */
:root { --hh: 68px; --tb: 33px; }
@media (max-width: 991px) { :root { --tb: 0px; } }

/* ═══════════════════════════════════════════════════════════
   MEGA MENU
═══════════════════════════════════════════════════════════ */
.nav-mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 800px; background: #050e20;
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 24px 0;
  opacity: 0; visibility: hidden; transition: all .18s;
  z-index: 999;
}
.primary-nav li:hover > .nav-mega { opacity: 1; visibility: visible; }
.mega-col { padding: 0 20px; border-right: 1px solid rgba(255,255,255,.06); }
.mega-col:last-child { border-right: none; }
.mega-head {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 10px; display: block;
}
.mega-col a {
  display: block; padding: 7px 0; color: rgba(255,255,255,.65);
  font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all .14s;
}
.mega-col a:hover { color: #fff; padding-left: 6px; }
.mega-col a em { display: block; font-style: normal; font-size: .68rem; color: var(--gold); opacity: .8; margin-top: 1px; }

/* Mobile mega menu becomes accordion */
@media (max-width: 991px) {
  .nav-mega {
    position: static; transform: none; min-width: 100%;
    display: none; grid-template-columns: 1fr;
    box-shadow: none; border-top: none; padding: 0;
    background: rgba(255,255,255,.03);
    border-left: 3px solid var(--gold);
  }
  .primary-nav li.sub-open > .nav-mega { display: grid; }
  .mega-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.05); padding: 12px 16px 12px 24px; }
  .mega-col a { font-size: .82rem; padding: 8px 0; }
  .mega-head { font-size: .62rem; margin-bottom: 6px; }
}

/* ═══════════════════════════════════════════════════════════
   PROJECT HIGHLIGHTS TABLE
═══════════════════════════════════════════════════════════ */
.highlight-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.highlight-table tr:nth-child(even) td { background: var(--stone); }
.highlight-table tr:first-child td { background: var(--navy); color: #fff; font-weight: 600; }
.highlight-table td {
  padding: 13px 18px; font-size: .9rem; border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.highlight-table td:first-child {
  font-weight: 600; color: var(--teal); width: 42%; border-right: 1px solid var(--border);
  font-size: .85rem;
}
.highlight-table tr:first-child td:first-child { color: var(--gold); }
.highlight-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   PRICE TABLE - 5 rows, 4 columns
═══════════════════════════════════════════════════════════ */
.price-table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.price-table thead tr { background: var(--navy); }
.price-table thead th { padding: 14px 16px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-align: left; font-weight: 600; border-right: 1px solid rgba(255,255,255,.1); }
.price-table thead th:last-child { border-right: none; }
.price-table tbody tr:nth-child(even) td { background: var(--stone); }
.price-table tbody td { padding: 13px 16px; font-size: .9rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.price-table tbody td:last-child { border-right: none; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .td-type { font-weight: 700; color: var(--ink); }
.price-table .td-size { color: var(--muted); font-size: .85rem; }
.price-table .td-price { font-weight: 700; color: var(--teal); font-size: .95rem; }
.price-table .td-usd { font-size: .78rem; color: var(--muted); }
.price-table .td-highlight { background: var(--gold-lt) !important; }
.price-table .td-highlight .td-price { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   CONSENT FIELD
═══════════════════════════════════════════════════════════ */
.form-consent { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 14px; }
.form-consent input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--teal); }
.form-consent label { font-size: .75rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.form-consent label a { color: var(--teal); }

/* ═══════════════════════════════════════════════════════════
   MOBILE NAV IMPROVEMENTS
═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .primary-nav {
    position: fixed; top: var(--hh); left: 0; right: 0; bottom: 0;
    background: #050e20; flex-direction: column; align-items: flex-start;
    overflow-y: auto; padding: 0 0 80px;
    transform: translateX(-110%); transition: transform .3s ease; z-index: 890;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .primary-nav > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 24px; font-size: .84rem; color: rgba(255,255,255,.78);
  }
  .primary-nav > li.has-sub > a::after {
    content: '+'; font-size: 1.1rem; color: var(--gold);
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,168,76,.4); border-radius: 50%; flex-shrink: 0;
  }
  .primary-nav > li.sub-open > a::after { content: '−'; }
  .primary-nav > li.active > a { color: var(--gold); }
  /* Hide chevron on mobile */
  .nav-chevron { display: none; }
}
@media (max-width: 991px) {
  .hdr-desktop-only { display: none !important; }
  .nav-toggle { display: flex; }
}
@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .hdr-nav-wrap { flex: 1; display: flex; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONAL POLISH — v2.1
═══════════════════════════════════════════════════════════ */

/* Price table responsive */
@media (max-width: 600px) {
  .price-table thead th:nth-child(4),
  .price-table tbody td:nth-child(4) { display: none; }
}

/* Highlight table first row styling */
.highlight-table tr:first-child td:first-child { color: var(--gold) !important; }
.highlight-table tr:first-child { background: var(--navy) !important; }
.highlight-table tr:first-child td { color: #fff; border-color: rgba(255,255,255,.1); }

/* Sticky sub-nav adjustments */
.project-nav { position: sticky; z-index: 700; background: var(--navy); border-bottom: 2px solid var(--gold); }
.pnav-inner { display: flex; align-items: center; max-width: 1260px; margin: 0 auto; padding: 0 24px; min-height: 48px; }
.pnav-title { color: var(--gold); font-family: 'Playfair Display',serif; font-size: .88rem; font-weight: 400; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.12); white-space: nowrap; flex-shrink: 0; }
.pnav-links { display: flex; align-items: center; flex: 1; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pnav-links li a { display: block; padding: 14px 13px; color: rgba(255,255,255,.65); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: color .18s; }
.pnav-links li a:hover, .pnav-links li a.active { color: var(--gold); }
.pnav-cta { background: var(--gold) !important; color: #fff !important; border-radius: var(--r); padding: 8px 16px !important; margin-left: 8px; }
.pnav-cta:hover { background: #b8922a !important; }
.pnav-toggle { display: none; background: none; border: none; color: #fff; padding: 8px; font-size: 1rem; }

@media (max-width: 768px) {
  .pnav-links { display: none; }
  .pnav-toggle { display: block; margin-left: auto; }
  .pnav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: calc(var(--hh) + 48px); left: 0; right: 0;
    background: var(--navy); z-index: 699;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .pnav-links.open li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .pnav-links.open li a { padding: 13px 24px; font-size: .8rem; }
  .pnav-title { font-size: .78rem; }
}

/* Form select optgroup */
.embassy-form select optgroup { background: var(--navy); color: var(--gold); font-size: .72rem; }
.embassy-form select option { background: #fff; color: var(--ink); }

/* Breadcrumb top spacing */
.breadcrumb { margin-top: calc(var(--hh) + var(--tb)); }

/* Header top offset for page-wrap content */
.page-wrap > section:first-child,
.page-wrap > .project-nav:first-child { margin-top: 0; }
.site-header + .page-wrap > .breadcrumb { margin-top: 0; }

/* Mobile body padding */
@media (max-width: 768px) { body { padding-bottom: 56px; } }

/* Button loading state */
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }

/* About Us page */
.about-page h2 { margin-bottom: 16px; }
.about-page p { margin-bottom: 16px; }

/* Contact page form */
.contact-page-wrap { max-width: 680px; margin: 0 auto; }
