:root {
  --navy: #153f6f;
  --navy-dark: #0f3057;
  --gold: #d7a10d;
  --gold-dark: #bd8d0c;
  --sand: #f7f5ef;
  --cream: #fcfbf7;
  --text: #11253f;
  --muted: #68758a;
  --border: #d9dfeb;
  --success: #1ea85b;
  --warning: #f39c12;
  --danger: #d74b4b;
  --shadow: 0 16px 38px rgba(17, 37, 63, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 200px, #f9fbff 100%);
  direction: rtl;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); max-width: 760px; margin: 0 auto; line-height: 1.9; }
.page-shell { min-height: 100vh; }
.topbar { background: var(--navy-dark); color: #fff; font-size: 0.94rem; }
.topbar-inner { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-group, .topbar-address { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a, .topbar span { opacity: 0.98; }
.main-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(21, 63, 111, 0.08); }
.nav-wrap { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 22px; position: relative; }
.brand-logo { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--gold-dark); }
.main-nav a.active::after, .main-nav a:hover::after { content: ''; position: absolute; bottom: -8px; right: 0; width: 100%; height: 3px; border-radius: 999px; background: var(--gold); }
.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; border: 0; cursor: pointer; transition: 0.2s ease; text-align: center; font-weight: 700; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #e0ae19 0%, #cb9607 100%); color: #fff; box-shadow: 0 12px 28px rgba(203, 150, 7, 0.22); }
.btn-primary:hover { background: linear-gradient(180deg, #e6b72f 0%, #c98f03 100%); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.nav-cta { min-width: 174px; padding: 14px 20px; }
.small-btn { padding: 11px 14px; font-size: 0.95rem; }
.large-btn { padding: 17px 28px; font-size: 1.05rem; }
.hero { position: relative; overflow: hidden; padding: 64px 0 36px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.94) 15%, rgba(255,255,255,0.6) 46%, rgba(255,255,255,0.2) 100%), url('../images/secondary-hero.jpg') center/cover no-repeat; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
.hero-copy { padding-top: 24px; }
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05; margin: 0 0 16px; color: var(--navy); }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 10px; background: rgba(215, 161, 13, 0.13); color: var(--gold-dark); padding: 10px 16px; border-radius: 999px; font-weight: 700; margin-bottom: 18px; }
.hero-copy p { font-size: 1.3rem; line-height: 1.9; max-width: 700px; margin: 0 0 18px; }
.hero-copy strong { color: var(--gold-dark); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.hero-side { display: grid; gap: 18px; }
.hero-side-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-side-gallery img { width: 100%; height: 238px; object-fit: cover; border-radius: 22px; border: 3px solid rgba(255,255,255,0.88); box-shadow: var(--shadow); }
.panel { background: linear-gradient(160deg, var(--navy) 0%, #173356 100%); color: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 26px; }
.panel h3 { margin: 0 0 12px; font-size: 2rem; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.panel li { position: relative; padding-right: 28px; line-height: 1.85; }
.panel li::before { content: '✓'; position: absolute; right: 0; top: 0; color: #ffdc74; font-weight: 900; }
.ribbon-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.ribbon-card { background: rgba(255,255,255,0.92); border: 1px solid rgba(15, 48, 87, 0.08); border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px rgba(17,37,63,0.08); }
.ribbon-card h4 { margin: 0 0 10px; font-size: 1.35rem; color: var(--navy); }
.ribbon-card p { margin: 0; color: var(--text); line-height: 1.8; }
.stats-strip { margin-top: 18px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }
.quick-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-point, .stats-box, .reserve-box, .gallery-card, .plot-card, .contact-card, .faq-card, .info-card, .empty-state, .page-hero-card, .map-shell { background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 12px 34px rgba(17,37,63,0.08); }
.quick-point { padding: 24px; min-height: 156px; }
.quick-point h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.28rem; }
.quick-point p { margin: 0; color: var(--muted); line-height: 1.8; }
.stats-box { overflow: hidden; }
.stats-box .stats-head { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; padding: 18px 22px; font-weight: 900; text-align: center; font-size: 1.2rem; }
.stats-box .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 24px 12px 10px; gap: 10px; }
.stats-box strong { display: block; font-size: 2.2rem; color: var(--navy); }
.stats-box span { color: var(--muted); }
.stats-note { border-top: 1px dashed var(--border); padding: 18px 22px 24px; color: var(--muted); line-height: 1.9; text-align: center; }
.reserve-box { padding: 24px; margin-top: 16px; }
.reserve-box h3 { margin-top: 0; font-size: 1.8rem; color: var(--navy); }
.form-grid { display: grid; gap: 12px; }
.field { display: grid; gap: 8px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d6dce8; border-radius: 14px; padding: 14px 16px; background: #fff; color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.helper-text { color: var(--muted); font-size: 0.92rem; line-height: 1.8; }
.filters-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.range-chip, .tab-btn { border: 1px solid var(--border); padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--navy); cursor: pointer; font-weight: 800; }
.range-chip.active, .tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.plots-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plot-card { overflow: hidden; position: relative; }
.plot-card.pulse { outline: 3px solid rgba(215,161,13,.55); }
.plot-thumb-wrap { position: relative; }
.plot-thumb { width: 100%; height: 220px; object-fit: cover; }
.plot-status, .plot-number-badge { position: absolute; top: 14px; padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 900; color: #fff; }
.plot-status { left: 14px; }
.plot-number-badge { right: 14px; background: rgba(15,48,87,0.86); }
.status-available { background: var(--success); }
.status-reserved { background: var(--warning); }
.status-sold { background: var(--danger); }
.plot-card-body { padding: 20px; }
.plot-card h3 { margin: 0 0 6px; font-size: 1.6rem; }
.plot-location { margin: 0 0 14px; color: var(--gold-dark); font-weight: 700; }
.plot-features { margin: 0 0 16px; padding-right: 18px; display: grid; gap: 8px; color: var(--muted); }
.plot-description { line-height: 1.9; color: var(--text); min-height: 84px; }
.plot-card-footer { display: flex; flex-direction: column; gap: 14px; border-top: 1px dashed var(--border); padding-top: 14px; }
.plot-card-footer strong { color: var(--navy); }
.plot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.plot-card-compact .plot-thumb { height: 190px; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gallery-card { overflow: hidden; height: 160px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.banner-section { padding: 54px 0; }
.invest-banner { position: relative; overflow: hidden; border-radius: 28px; padding: 52px 46px; color: #fff; background: linear-gradient(135deg, rgba(15,48,87,.92), rgba(21,63,111,.68)), url('../images/hero-bg.jpg') center/cover no-repeat; box-shadow: var(--shadow); }
.invest-banner h2 { margin: 0 0 14px; font-size: clamp(2rem, 3vw, 3.4rem); }
.invest-banner p { margin: 0 0 20px; line-height: 1.95; max-width: 720px; font-size: 1.12rem; }
.banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dual-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card, .faq-card, .contact-card, .page-hero-card, .map-shell { padding: 24px; }
.info-card h3, .contact-card h3, .faq-card h3 { margin-top: 0; font-size: 1.55rem; color: var(--navy); }
.info-card p, .contact-card p, .faq-card p { color: var(--muted); line-height: 1.9; margin-bottom: 0; }
.page-hero { padding: 50px 0 32px; }
.page-hero-wrap { display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: stretch; }
.page-hero-card { background: linear-gradient(135deg, rgba(15,48,87,.92), rgba(21,63,111,.75)), url('../images/hero-bg.jpg') center/cover no-repeat; color: #fff; }
.page-hero-card h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 16px; }
.page-hero-card p { line-height: 1.95; font-size: 1.12rem; max-width: 680px; }
.page-side-image { border-radius: 24px; overflow: hidden; min-height: 320px; box-shadow: var(--shadow); }
.page-side-image img { width: 100%; height: 100%; object-fit: cover; }
.map-shell { display: grid; gap: 20px; }
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.map-tile { border: 0; border-radius: 18px; color: #fff; min-height: 96px; display: grid; place-items: center; cursor: pointer; font-weight: 900; text-align: center; padding: 12px; transition: .2s ease; }
.map-tile:hover { transform: translateY(-2px); }
.map-tile small { font-weight: 700; opacity: .9; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; background: #f8fafc; border: 1px solid var(--border); padding: 10px 12px; border-radius: 999px; }
.legend i { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
.stack-section + .stack-section { margin-top: 28px; }
.helper-note { background: #f7fafc; border: 1px dashed var(--border); padding: 16px 18px; border-radius: 16px; color: var(--muted); }
.empty-state { padding: 34px; text-align: center; }
.large-empty { padding: 48px 36px; }
.empty-state h3 { margin-top: 0; font-size: 2rem; color: var(--navy); }
.empty-state p { color: var(--muted); line-height: 1.9; max-width: 720px; margin: 0 auto 18px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; box-shadow: 0 12px 30px rgba(17,37,63,0.06); }
.faq-item h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--navy); }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.9; }
.contact-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; }
.contact-info-list { display: grid; gap: 16px; }
.contact-info-list .info-card strong { display: block; margin-bottom: 6px; color: var(--navy); }
.footer { margin-top: 48px; }
.footer-top { background: linear-gradient(135deg, rgba(15,48,87,.96), rgba(21,63,111,.92)); color: #fff; padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; }
.footer-logo { width: 210px; margin-bottom: 14px; }
.footer-grid p { line-height: 1.95; opacity: 0.95; }
.footer-grid h3 { margin-top: 0; font-size: 1.4rem; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; line-height: 1.9; }
.footer-bottom { background: #0b2341; color: #fff; padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-socials { display: flex; gap: 16px; }
.whatsapp-sticky { position: fixed; left: 18px; bottom: 18px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; font-weight: 900; box-shadow: 0 18px 28px rgba(37,211,102,.32); z-index: 45; }
.modal { position: fixed; inset: 0; background: rgba(6,16,31,.68); display: grid; place-items: center; padding: 20px; z-index: 100; }
.modal[hidden] { display: none; }
.modal-card { width: min(1050px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; color: var(--navy); }
.modal-close { border: 0; background: #eef3fb; color: var(--navy); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.modal-body { padding: 22px; }
.modal-body img { width: 100%; border-radius: 20px; }
.modal-open { overflow: hidden; }
.privacy-copy { display: grid; gap: 18px; }
.privacy-copy section { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: 0 12px 34px rgba(17,37,63,0.06); }
.privacy-copy h2 { margin: 0 0 10px; color: var(--navy); }
.privacy-copy p, .privacy-copy li { color: var(--muted); line-height: 1.95; }
@media (max-width: 1120px) {
  .hero-grid, .stats-strip, .page-hero-wrap, .dual-grid, .contact-layout, .footer-grid, .ribbon-row { grid-template-columns: 1fr; }
  .plots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-points { grid-template-columns: 1fr; }
  .hero-side-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 10px 0; }
  .main-nav { position: absolute; top: 100%; right: 16px; left: 16px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; display: none; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-copy h1 { font-size: 3rem; }
  .hero-copy p { font-size: 1.08rem; }
  .hero-side-gallery img { height: 170px; }
  .plots-grid, .gallery-grid, .info-grid, .map-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 100%); }
  .hero { padding-top: 40px; }
  .hero-copy h1, .section-head h2 { font-size: 2.3rem; }
  .hero-side-gallery { grid-template-columns: 1fr; }
  .hero-side-gallery img { height: 210px; }
  .plot-actions, .banner-actions, .hero-cta-row { flex-direction: column; }
}
