/* ════════════════════════════════════════════════
   عقارات مصر — Real Estate Script
   Layout: GPR Property Theme
   Colors: Custom (Dark Navy + Gold)
   ════════════════════════════════════════════════ */

/* ── Icon Font (inline SVG icons via CSS) ─────── */
@font-face {
  font-family: 'Cairo';
  font-display: swap;
}

:root {
  /* ── Brand Colors ─── */
  --primary:      #2563eb;   /* blue */
  --primary-dark: #1d4ed8;
  --primary-mid:  #3b82f6;
  --gold:         #f59e0b;
  --gold-light:   #fbbf24;
  --gold-pale:    #fef3c7;

  /* ── UI ─── */
  --white:        #ffffff;
  --bg:           #f8fafc;
  --bg-dark:      #1e293b;
  --text:         #1e293b;
  --text-mid:     #475569;
  --text-light:   #94a3b8;
  --border:       #e2e8f0;
  --green:        #25d366;
  --red:          #ef4444;

  /* ── Spacing ─── */
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
  --transition:.25s ease;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ── Icons (pure CSS emoji fallbacks — replace with icon font) ── */
.ic { display: inline-block; font-style: normal; }
.ic-phone::before    { content: '📞'; }
.ic-whatsapp::before { content: '💬'; }
.ic-mail::before     { content: '✉️'; }
.ic-location::before { content: '📍'; }
.ic-search::before   { content: '🔍'; }
.ic-up::before       { content: '↑'; }
.ic-cancel::before   { content: '✕'; }
.ic-bed::before      { content: '🛏'; }
.ic-bath::before     { content: '🚿'; }
.ic-area::before     { content: '⬛'; }
.ic-wallet::before   { content: '💳'; }
.ic-calendar::before { content: '📅'; }
.ic-facebook::before  { content: 'f'; font-weight: 700; }
.ic-instagram::before { content: '◉'; }
.ic-youtube::before   { content: '▶'; }
.ic-x::before         { content: '𝕏'; }
.ic-menu::before      { content: '☰'; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: box-shadow var(--transition);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-logo img  { height: 44px; width: auto; }
.logo-txt       { font-size: 1.3rem; font-weight: 900; color: var(--primary); }
.main-nav       { display: flex; gap: 2px; margin-right: auto; }
.main-nav a {
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); background: #eff6ff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 900;
  font-size: .9rem;
  white-space: nowrap;
}
.header-call-btn:hover { background: var(--primary-dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.extra-div { height: 0; }

/* ═══════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════ */
.mobile-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 498;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 499;
  transition: right .3s ease;
  overflow-y: auto;
  padding: 20px 0;
}
.mobile-menu.open { right: 0; }
.mobile-bg.open   { display: block; }
.mob-search {
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}
.mob-search input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
}
.mob-search button {
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  padding: 0 14px;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 1rem;
}
.mobile-menu nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text-mid);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a:hover { color: var(--primary); }
.mobile-menu .social-links { padding: 16px 20px; justify-content: flex-start; }

/* ═══════════════════════════════════════════
   BANNER / HERO
   ═══════════════════════════════════════════ */
.banner {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.banner-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  opacity: .55;
}
.banner-search {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.banner-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
/* No banner (inner pages) */
.project-hero {
  background: #1e293b;
  padding: 20px 0 0;
}
.project-main-h {
  padding: 16px 0 0;
}

/* ═══════════════════════════════════════════
   SEARCH FORM
   ═══════════════════════════════════════════ */
.main-search { background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-lg); }
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.form-field { flex: 1; min-width: 140px; }
.search-input,
.form-select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus,
.form-select:focus { border-color: var(--gold); }
.form-submit-field { flex-shrink: 0; }
.search-submit {
  background: var(--gold);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius);
  padding: 11px 28px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  height: 100%;
  min-height: 44px;
  transition: var(--transition);
  font-family: inherit;
}
.search-submit:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════
   HEADLINES
   ═══════════════════════════════════════════ */
.headline { margin-bottom: 28px; }
.headline-txt {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.headline-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   PROJECT BOX (card)
   ═══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-img { position: relative; aspect-ratio: 700/495; overflow: hidden; background: var(--primary-mid); }
.project-img a { display: block; height: 100%; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.project-box:hover .project-img img { transform: scale(1.05); }
.project-dev {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 4px 8px;
}
.project-dev img { height: 32px; width: auto; max-width: 80px; object-fit: contain; }
.project-data { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.project-title a { font-size: 1rem; font-weight: 800; color: var(--primary-dark); line-height: 1.4; }
.project-title a:hover { color: var(--gold); }
.project-location { font-size: .83rem; color: var(--text-mid); }
.project-location a:hover { color: var(--gold); }
.price-box { padding: 10px 0; border-top: 1px solid var(--border); }
.start-p { font-size: .78rem; color: var(--text-light); margin-bottom: 2px; }
.project-price { font-size: 1.15rem; font-weight: 900; color: var(--gold); }
.project-price small { font-size: .75rem; font-weight: 400; color: var(--text-light); }
.p-more-details {
  display: flex;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-mid);
  flex-wrap: wrap;
}
.p-more-details span {
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.box-contact {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
}
.box-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-mid);
  border-left: 1px solid var(--border);
  transition: var(--transition);
}
.box-contact a:first-child { border-left: none; }
.box-contact a:hover { background: var(--bg); }
.box-contact a.whatsapp { color: #128c3e; }
.box-contact a.whatsapp:hover { background: #e8f5e9; }
.box-contact a.tel { color: var(--primary); }

/* ═══════════════════════════════════════════
   FEATURED PROJECTS SECTION
   ═══════════════════════════════════════════ */
.featured-projects { padding: 60px 0; background: #fff; }
.featured-area     { padding: 60px 0; background: var(--bg); }
.featured-units    { padding: 60px 0; background: #fff; }

/* ═══════════════════════════════════════════
   AREA BOX
   ═══════════════════════════════════════════ */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.area-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 700/400;
  display: block;
  background: var(--primary-mid);
}
.area-box img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.area-box:hover img { transform: scale(1.06); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,33,55,.85) 0%, transparent 60%);
}
.area-data {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 16px 18px;
}
.area-name { font-size: 1.1rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.area-count { font-size: .82rem; color: var(--gold-light); }

/* ═══════════════════════════════════════════
   UNIT BOX
   ═══════════════════════════════════════════ */
.units-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.unit-box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.unit-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.unit-img { position: relative; aspect-ratio: 700/495; overflow: hidden; background: var(--primary-mid); }
.unit-img a { display: block; height: 100%; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.unit-box:hover .unit-img img { transform: scale(1.05); }
.unit-details {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.unit-details span {
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .78rem;
  padding: 3px 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.unit-data { padding: 14px 16px; }
.unit-title a { font-size: .95rem; font-weight: 800; color: var(--primary-dark); }
.unit-title a:hover { color: var(--gold); }
.u-more-details { display: flex; gap: 10px; font-size: .8rem; color: var(--text-mid); margin-top: 6px; flex-wrap: wrap; }
.unit-tag { padding: 8px 16px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-mid); }

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials { background: var(--primary-dark); padding: 60px 0; }
.testimonials-title { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.testimonials-headline { font-size: 1.6rem; font-weight: 900; color: var(--gold); margin-bottom: 24px; line-height: 1.3; }
.testimonials-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 900;
  font-size: .95rem;
  width: fit-content;
}
.testimonials-btn:hover { background: var(--gold-light); }
.testimonials-box { background: rgba(255,255,255,.06); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.testimonials-img img { width: 100%; aspect-ratio: 626/417; object-fit: cover; }
.client { padding: 14px 16px 4px; font-weight: 800; color: var(--gold-light); font-size: .9rem; }
.review { padding: 0 16px 16px; color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.7; }

/* ═══════════════════════════════════════════
   CONTACT US SECTION (home)
   ═══════════════════════════════════════════ */
.contact-us { padding: 60px 0; background: var(--bg); }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-pale); }
.get-help { padding: 28px; }
.help-title { font-size: 1.3rem; font-weight: 900; color: var(--primary-dark); margin-bottom: 24px; }
.help-contact { display: flex; flex-direction: column; gap: 16px; }
.help-box { display: flex; align-items: flex-start; gap: 14px; }
.help-box .ic { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.help-data { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }
.help-data b a { color: var(--primary); font-weight: 700; }
.help-data b a:hover { color: var(--gold); }

/* ── Site Form ─ */
.site-form { display: flex; flex-direction: column; gap: 12px; }
.form-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus { border-color: var(--gold); }
.form-textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  resize: vertical;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
.form-textarea:focus { border-color: var(--gold); }
.form-submit {
  background: var(--white);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 13px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover { background: var(--primary-mid); }

/* ═══════════════════════════════════════════
   DEVELOPERS SECTION
   ═══════════════════════════════════════════ */
.developers { padding: 40px 0; background: #fff; border-top: 1px solid var(--border); }
.developers-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.dev-logo {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 160px;
  flex: 1;
  transition: var(--transition);
}
.dev-logo:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.dev-logo img { max-height: 48px; max-width: 120px; object-fit: contain; }

/* ═══════════════════════════════════════════
   SINGLE PROJECT PAGE
   ═══════════════════════════════════════════ */
.project-headline {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  margin: 10px 0 16px;
  line-height: 1.35;
}
.p-payment-details { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.pp-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 8px 14px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
}
.pp-box .ic { color: var(--gold-light); font-size: 1.1rem; }
.pp-box .payment { font-size: .82rem; line-height: 1.4; }
.pricebox {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.p-price { margin-bottom: 6px; }
.s-price { font-size: 1.3rem; font-weight: 900; color: var(--gold); }
.s-price small { font-size: .82rem; font-weight: 400; color: var(--text-light); }
.pricenote { font-size: .8rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.5; }
.pricenote a { color: var(--gold); font-weight: 600; }
.lastUpdate { font-size: .75rem; color: var(--text-light); margin-bottom: 12px; }
.pricebox .box-contact { border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr 1fr; }
.project-main { padding-bottom: 40px; }

/* ── Slider ─ */
.p-slider { margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
#project-slider { position: relative; }
#project-slider .slick-slide img,
#project-slider > img { width: 100%; aspect-ratio: 872/463; object-fit: cover; }
.slider-nav { padding: 6px; background: #fff; }
.slider-nav img,
.slider-nav .item-slick { width: 80px !important; height: 52px !important; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; }
.slick-current .item-slick,
.slider-nav .slick-current img { border-color: var(--gold); }
/* Arrows */
.slick-prev, .slick-next {
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.5) !important;
  border-radius: 50%;
}
.slick-prev:before, .slick-next:before { font-size: 18px; }

/* ── Content Box ─ */
.headline-p {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 12px 0 10px;
  border-bottom: 2px solid var(--gold-pale);
  margin-bottom: 16px;
  margin-top: 24px;
}
.headline-p:first-child { margin-top: 0; }
.content-box {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.entry-content { font-size: .93rem; color: var(--text-mid); line-height: 1.9; }
.entry-content p { margin-bottom: 12px; }
.entry-content h2, .entry-content h3 { color: var(--primary-dark); margin: 16px 0 8px; }

/* ── Info Table ─ */
.infotable { width: 100%; border-collapse: collapse; }
.infotable tr { border-bottom: 1px solid var(--border); }
.infotable tr:last-child { border-bottom: none; }
.ttitle {
  padding: 11px 14px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--bg);
  width: 38%;
  vertical-align: top;
}
.tvalue {
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--text);
  font-weight: 600;
}
.tvalue a { color: var(--primary); font-weight: 700; }

/* ── Video ─ */
.video { border-radius: var(--radius); overflow: hidden; }
.video iframe { width: 100%; min-height: 320px; display: block; }

/* ── Features ─ */
.project-features ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  list-style: none;
}
.project-features li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-right: 28px;
}
.project-features li::before {
  content: '✓';
  position: absolute;
  right: 10px;
  color: var(--gold);
  font-weight: 900;
}

/* ── Payment Plans ─ */
.payment-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.payment-plan {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}
.payment-plan:hover { border-color: var(--gold); }
.payment-plan.cash-plan { border-color: var(--gold); background: var(--gold-pale); }
.plan-label { font-size: .9rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.plan-years { font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.plan-years small { font-size: .8rem; font-weight: 400; color: var(--text-light); }
.plan-note { font-size: .78rem; color: var(--text-mid); margin-top: 6px; }

/* ── Final Contact Buttons ─ */
.final-contacts {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.contact-whatsapp2, .contact-phone2, .contact-mail2 {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  text-align: center;
}
.contact-whatsapp2 { background: var(--green); color: #fff; }
.contact-phone2    { background: var(--primary-dark); color: #fff; }
.contact-mail2     { background: var(--bg); color: var(--text); border: 1px solid var(--border); }

/* ── FAQ Accordion ─ */
.faq { margin-bottom: 20px; }
.acc { display: flex; flex-direction: column; gap: 8px; }
.acc__card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acc__title {
  padding: 14px 18px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  background: var(--bg);
  color: var(--primary-dark);
  position: relative;
  user-select: none;
  padding-left: 44px;
}
.acc__title::after {
  content: '+';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--gold);
  transition: var(--transition);
}
.acc__title.active { background: var(--primary-dark); color: #fff; }
.acc__title.active::after { content: '−'; }
.acc__panel {
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.8;
  display: none;
  background: #fff;
}

/* ── Units in Project ─ */
.available-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 16px; }
.hidden-unit { display: none; }
.showmore {
  display: block;
  margin: 0 auto 16px;
  background: none;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 10px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
}
.showmore .less { display: none; }
.showmore.open .more { display: none; }
.showmore.open .less { display: inline; }

/* ── Sidebar ─ */
.side-bar { position: sticky; top: 80px; }
.side-bar .content-box { margin-bottom: 16px; }
.cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wts-btn, .call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
}
.wts-btn  { background: var(--green); color: #fff; }
.call-btn { background: var(--primary-dark); color: #fff; }
.wts-btn:hover  { filter: brightness(1.1); }
.call-btn:hover { background: var(--primary-mid); }
.contact-info ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.contact-info a { font-size: .9rem; color: var(--text-mid); display: flex; align-items: center; gap: 8px; }
.contact-info a:hover { color: var(--gold); }

/* ── Related Projects ─ */
.related-projects { padding: 50px 0; background: var(--bg); }

/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px 0; }
.breadcrumbs__link { font-size: .82rem; color: rgba(255,255,255,.65); font-weight: 600; }
.breadcrumbs__link:hover { color: var(--gold-light); }
.breadcrumbs__separator { color: rgba(255,255,255,.4); font-size: .82rem; }
.breadcrumbs__current { font-size: .82rem; color: rgba(255,255,255,.4); }

/* Cities footer - lighter */
.cities-menu-footer { background: #1e293b; padding: 40px 0; border-top: 1px solid #334155; }
.cities-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.city-menu-title { display: block; font-size: .95rem; font-weight: 800; color: var(--gold-light); margin-bottom: 14px; }
.cities-menu-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cities-menu-footer a { font-size: .84rem; color: #94a3b8; transition: var(--transition); }
.cities-menu-footer a:hover { color: var(--gold-light); }

#footer { background: #0f172a; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-title { font-size: .95rem; font-weight: 800; color: var(--gold); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #334155; }
.footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.footer-contact a, .footer-contact li { font-size: .87rem; color: #94a3b8; display: flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--gold-light); }
#footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
#footer a { font-size: .87rem; color: #94a3b8; }
#footer a:hover { color: var(--gold-light); }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 700;
}
.social-links a:hover { background: var(--gold); color: var(--primary-dark); }

#copyright { background: var(--primary-dark); padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06); }
.copy-inner { font-size: .82rem; color: rgba(255,255,255,.35); text-align: center; }
.copy-inner a { color: rgba(255,255,255,.5); }

/* ═══════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════ */
.floating-icons {
  position: fixed;
  bottom: 24px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.floating-icons.visible { opacity: 1; pointer-events: all; }
.floating-icons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: var(--transition);
  font-size: .7rem;
  gap: 2px;
  color: #fff;
}
.float-wa    { background: var(--green); }
.float-phone { background: var(--primary-dark); }
.float-mail  { background: var(--gold); color: var(--primary-dark) !important; }
.floating-icons a:hover { transform: scale(1.12); }
.floating-icons span { display: none; font-size: .65rem; }

/* ═══════════════════════════════════════════
   CONTACT POPUP
   ═══════════════════════════════════════════ */
.lightbox-target {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.6);
}
.lightbox-target:target { display: flex; }
.popup-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 90%;
  max-width: 460px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.popup-form .form-title { margin-bottom: 18px; }
.popup-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text-mid);
}
.popup-close:hover { background: var(--red); color: #fff; }
.lightbox-close { position: absolute; inset: 0; }

/* ═══════════════════════════════════════════
   RESPONSE BOX
   ═══════════════════════════════════════════ */
.response-box {
  position: fixed;
  bottom: 90px;
  left: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  max-width: 280px;
  border-right: 4px solid var(--gold);
}
.response-close { float: left; background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--text-mid); }
.response-msg { font-size: .9rem; color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 90px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow);
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--gold); color: var(--primary-dark); }

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.page-btn {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  padding: 0 10px;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.page-dots { color: var(--text-light); align-self: center; padding: 0 4px; }

/* ═══════════════════════════════════════════
   AD BLOCK
   ═══════════════════════════════════════════ */
.ad-wrap { margin: 20px 0; text-align: center; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   LAYOUT HELPERS (used in PHP files)
   ═══════════════════════════════════════════ */

/* project hero: title left + price box right */
.project-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 20px 0 0;
  align-items: start;
}
/* project main: content left + sidebar right */
.project-main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 24px 0 48px;
  align-items: start;
}
/* contact 2-col */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ═══════════════════════════════════════════
   MOBILE BOTTOM BAR  (sticky CTA on phone)
   ═══════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 450;
  background: #fff;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  padding: 8px 12px;
  gap: 8px;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
}
.mobile-cta-bar .mcta-wa   { background: #25d366; }
.mobile-cta-bar .mcta-call { background: var(--primary); }
.mobile-cta-bar .mcta-msg  { background: var(--gold); color: #fff; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cities-footer-grid  { grid-template-columns: 1fr 1fr; }
  .project-hero-grid   { grid-template-columns: 1fr 280px; }
  .project-main-grid   { grid-template-columns: 1fr 280px; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {

  /* Header */
  .main-nav           { display: none; }
  .hamburger          { display: flex; }
  .header-call-btn    { padding: 8px 12px; }

  /* Banner */
  .banner-img img     { height: 260px; }
  .banner-title       { font-size: 1.3rem; margin-bottom: 16px; }
  .main-search        { padding: 14px 16px; }

  /* Hero grids → stack */
  .project-hero-grid  { grid-template-columns: 1fr; gap: 14px; }
  .project-main-grid  { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }

  /* Sidebar no longer sticky */
  .side-bar           { position: static; margin-top: 0; }

  /* Project page */
  .project-headline   { font-size: 1.2rem; }
  .p-payment-details  { gap: 7px; }
  .pp-box             { padding: 6px 10px; font-size: .8rem; }
  .pricebox           { padding: 14px; }

  /* Features */
  .project-features ul { grid-template-columns: 1fr; }
  .payment-plans       { grid-template-columns: 1fr 1fr; }
  .final-contacts      { gap: 8px; }
  .final-contacts a    { padding: 10px 12px; font-size: .85rem; }

  /* Footer */
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cities-footer-grid  { grid-template-columns: 1fr 1fr; }

  /* Floating → replace with bottom bar */
  .floating-icons      { display: none !important; }
  .mobile-cta-bar      { display: flex; }
  body                 { padding-bottom: 70px; } /* space for bottom bar */

  /* Back to top - move up */
  .back-top            { bottom: 80px; }
}

/* Mobile portrait */
@media (max-width: 480px) {

  /* Grids */
  .projects-grid    { grid-template-columns: 1fr; }
  .areas-grid       { grid-template-columns: 1fr; }
  .units-grid       { grid-template-columns: 1fr; }
  .available-units  { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 20px; }
  .cities-footer-grid { grid-template-columns: 1fr 1fr; }
  .payment-plans    { grid-template-columns: 1fr 1fr; }

  /* Search form */
  .search-form      { flex-direction: column; gap: 8px; }
  .form-field       { width: 100%; min-width: 100%; }
  .search-submit    { width: 100%; }

  /* Contact box 3-col → 2+1 */
  .box-contact      { grid-template-columns: 1fr 1fr; }
  .box-contact a:nth-child(3) {
    grid-column: span 2;
    border-top: 1px solid var(--border);
    border-left: none;
  }

  /* CTA buttons */
  .cta-btns         { grid-template-columns: 1fr 1fr; }
  .final-contacts   { flex-direction: row; flex-wrap: wrap; }
  .final-contacts a { flex: 1; min-width: 100px; text-align: center; }

  /* Info table - wrap */
  .ttitle           { width: 44%; font-size: .82rem; }
  .tvalue           { font-size: .84rem; }

  /* Hero breadcrumb */
  .breadcrumbs      { font-size: .75rem; }
  .project-headline { font-size: 1.1rem; }

  /* Banner */
  .banner-img img   { height: 220px; }

  /* Copyright */
  .copy-inner       { font-size: .78rem; }
  .cities-footer-grid { grid-template-columns: 1fr; }
}
