/* ==========================================================================
   Prime Homes Hub — Global Stylesheet
   Brand: Luxury Real Estate | Navy + Gold + Ivory
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Inter:wght@400;500&family=Cairo:wght@400;600;700&display=swap');

:root{
  --primary:#0B1F3A;
  --primary-dark:#081527;
  --gold:#C8A45D;
  --gold-dark:#B08D48;
  --background:#FAF8F3;
  --white:#FFFFFF;
  --text:#111827;
  --muted:#6B7280;
  --border:#E5E7EB;

  --font-en-head:'Montserrat', sans-serif;
  --font-en-body:'Inter', sans-serif;
  --font-ar:'Cairo', sans-serif;

  --container:1200px;
  --radius-card:16px;
  --radius-btn:8px;
  --shadow-card:0 10px 30px rgba(0,0,0,0.08);
  --shadow-nav:0 2px 15px rgba(0,0,0,0.08);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--background);
  color:var(--text);
  font-family:var(--font-en-body);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
html[lang="ar"] body{ font-family:var(--font-ar); }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-en-head);
  color:var(--text);
  line-height:1.25;
  margin:0 0 16px;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4{ font-family:var(--font-ar); }

p{ color:var(--muted); margin:0 0 16px; }

/* ---------- Layout helpers ---------- */
.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}
@media (min-width:768px){
  .container{ width:90%; padding-inline:0; }
}
@media (min-width:1240px){
  .container{ width:100%; }
}

.section{ padding-block:64px; }
@media (min-width:768px){
  .section{ padding-block:100px; }
}
.section-alt{ background:var(--background); }
.section-white{ background:var(--white); }
.section-navy{ background:var(--primary); color:var(--white); }

.section-tag{
  display:inline-block;
  color:var(--gold-dark);
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:12px;
}
html[lang="ar"] .section-tag{ text-transform:none; letter-spacing:0; }

.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-inline:auto; text-align:center; }

.text-muted{ color:var(--muted); }
.accent{ color:var(--gold); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:var(--radius-btn);
  font-family:var(--font-en-head);
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .25s ease;
  white-space:nowrap;
}
html[lang="ar"] .btn{ font-family:var(--font-ar); }

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

.btn-secondary{
  background:transparent;
  border:1px solid var(--gold);
  color:var(--primary);
}
.btn-secondary:hover{
  background:var(--gold);
  color:var(--primary);
}

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

.btn-outline-light{
  background:transparent;
  border:1px solid var(--gold);
  color:var(--white);
}
.btn-outline-light:hover{
  background:var(--gold);
  color:var(--primary);
}

.btn-block{ width:100%; }

/* ---------- Icons ---------- */
.icon{
  width:28px;
  height:28px;
  stroke:var(--primary);
  stroke-width:1.5;
  fill:none;
  flex-shrink:0;
}
.icon-gold{ stroke:var(--gold); }
.icon-white{ stroke:var(--white); }

/* solid brand glyph (e.g. WhatsApp) - filled, not outline like the rest of the icon set */
.icon-wa{
  width:20px;
  height:20px;
  fill:currentColor;
  stroke:none;
  flex-shrink:0;
}

/* ---------- Navbar ---------- */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--white);
  box-shadow:var(--shadow-nav);
  transition:transform .3s ease;
}
.navbar.nav-hidden{
  transform:translateY(-100%);
}
.navbar .container{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  font-family:var(--font-en-head);
  font-weight:600;
  font-size:18px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
html[lang="ar"] .logo{ font-family:var(--font-ar); letter-spacing:0; text-transform:none; font-size:17px; }
.logo .l1{ color:var(--primary); }
.logo .l2{ color:var(--gold); }
.logo small{
  font-family:var(--font-en-body);
  font-weight:500;
  font-size:8px;
  letter-spacing:2.5px;
  color:var(--muted);
  text-transform:uppercase;
  margin-top:2px;
}
html[lang="ar"] .logo small{ font-family:var(--font-ar); letter-spacing:0; }

.nav-links{
  display:none;
  align-items:center;
  gap:30px;
  font-weight:500;
  font-size:13.5px;
}
.nav-links a{ color:var(--text); transition:color .2s; position:relative; }
.nav-links a:hover{ color:var(--gold-dark); }

.nav-right{ display:flex; align-items:center; gap:14px; }

.lang-switch{
  font-family:var(--font-en-head);
  font-weight:600;
  font-size:11.5px;
  letter-spacing:1px;
  color:var(--primary);
  border:1px solid var(--border);
  border-radius:50px;
  padding:5px 12px;
  transition:all .2s;
}

.navbar .btn{
  padding:10px 22px;
  font-size:13.5px;
}
.lang-switch:hover{ border-color:var(--gold); color:var(--gold-dark); }

/* mobile nav toggle (pure CSS checkbox hack) */
.nav-toggle{ display:none; }
.nav-toggle-label{
  display:flex;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:6px;
}
.nav-toggle-label span{
  width:24px;
  height:2px;
  background:var(--primary);
  display:block;
  transition:all .25s;
}

.mobile-menu{
  display:none;
  position:absolute;
  top:80px;
  inset-inline:0;
  background:var(--white);
  box-shadow:var(--shadow-nav);
  padding:8px 24px 24px;
  flex-direction:column;
  gap:4px;
}
.mobile-menu a{
  padding:14px 4px;
  border-bottom:1px solid var(--border);
  font-weight:500;
  font-size:14.5px;
}
.mobile-menu .btn{ margin-top:16px; }

.nav-toggle:checked ~ .mobile-menu{ display:flex; }

/* backdrop behind the open mobile menu; tapping it closes the menu (via js/main.js) */
.nav-backdrop{
  display:none;
  position:fixed;
  top:80px;
  inset-inline:0;
  bottom:0;
  background:rgba(11,31,58,0.35);
  z-index:90;
}
.nav-backdrop.is-open{ display:block; }

@media (min-width:1024px){
  .nav-links{ display:flex; }
  .nav-toggle-label{ display:none; }
  .mobile-menu{ display:none !important; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:560px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(rgba(11,31,58,0.72), rgba(11,31,58,0.6)),
    radial-gradient(circle at 20% 20%, #16335c 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, #16335c 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color:var(--white);
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    repeating-linear-gradient(45deg, rgba(200,164,93,0.05) 0 2px, transparent 2px 40px);
  pointer-events:none;
}
.hero .container{ position:relative; z-index:1; }
.hero-content{ max-width:700px; }
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold);
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:20px;
}
html[lang="ar"] .hero-eyebrow{ letter-spacing:0; text-transform:none; }
.hero-eyebrow::before{
  content:"";
  width:32px;
  height:1px;
  background:var(--gold);
  display:inline-block;
}
.hero h1{
  color:var(--white);
  font-size:36px;
  margin-bottom:20px;
}
@media (min-width:768px){
  .hero h1{ font-size:56px; }
}
.hero p.lead{
  color:rgba(255,255,255,0.85);
  font-size:17px;
  max-width:560px;
  margin-bottom:32px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:56px;
  max-width:560px;
  border-top:1px solid rgba(255,255,255,0.15);
  padding-top:28px;
}
.hero-stats .stat-num{
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:26px;
  color:var(--gold);
}
html[lang="ar"] .hero-stats .stat-num{ font-family:var(--font-ar); }
.hero-stats .stat-label{
  font-size:13px;
  color:rgba(255,255,255,0.7);
  margin-top:4px;
}

/* photo hero (project landing pages) */
/*
  background-image itself is set inline per-page (not here), using a path relative
  to that HTML file. Keeping the url() out of this stylesheet means it resolves
  against the page, not against css/style.css -- so it works both from a real server
  and when the file is opened directly (double-clicked) from disk.
*/
.hero-photo{
  background-size:cover;
  background-position:center;
}
.hero-photo::after{ content:none; }

.developer-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(200,164,93,0.4);
  border-radius:50px;
  padding:8px 16px;
  font-size:13px;
  color:rgba(255,255,255,0.85);
  margin-bottom:22px;
}
.developer-badge .icon{ width:16px; height:16px; }
.developer-badge strong{ color:var(--gold); font-weight:700; }

.hero-tagline{
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:22px;
  color:var(--white);
  margin-bottom:20px;
}
html[lang="ar"] .hero-tagline{ font-family:var(--font-ar); }

.hero-highlights{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  max-width:620px;
  margin-top:44px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.15);
}
@media (min-width:640px){
  .hero-highlights{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.highlight-item .icon{
  width:24px;
  height:24px;
  stroke:var(--gold);
  margin-bottom:8px;
}
.highlight-item .h-num{
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:22px;
  color:var(--white);
  line-height:1.2;
}
html[lang="ar"] .highlight-item .h-num{ font-family:var(--font-ar); }
.highlight-item .h-label{
  font-size:12.5px;
  color:rgba(255,255,255,0.68);
  margin-top:2px;
}

.hero-offer{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(200,164,93,0.45);
  border-radius:var(--radius-card);
  padding:28px;
  max-width:460px;
  margin-top:40px;
  backdrop-filter:blur(2px);
}
/* Mobile hero: pack as much of the hero content above the fold as possible —
   tighter type scale and spacing throughout, no vertical centering dead-space. */
@media (max-width:640px){
  .navbar .container{ height:64px; }
  .mobile-menu{ top:64px; }
  .nav-backdrop{ top:64px; }

  .hero{ min-height:0; align-items:flex-start; padding-top:20px; }
  .hero-eyebrow{ margin-bottom:10px; font-size:11.5px; }
  .developer-badge{ padding:6px 12px; font-size:12px; margin-bottom:12px; }
  .hero h1{ font-size:27px; margin-bottom:8px; }
  .hero-tagline{ font-size:17px; margin-bottom:10px; }
  .hero p.lead{ font-size:14px; margin-bottom:18px; }

  .hero-highlights{ margin-top:18px; padding-top:16px; gap:14px; }
  .highlight-item .icon{ width:20px; height:20px; margin-bottom:4px; }
  .highlight-item .h-num{ font-size:18px; }
  .highlight-item .h-label{ font-size:11px; }

  .hero-offer{ padding:18px; margin-top:20px; }
  .hero-offer-price{ margin-bottom:12px; }
  .price-value{ font-size:23px; }
  .hero-offer-terms{ gap:6px; margin-bottom:14px; }
  .hero-offer-terms span{ font-size:11px; padding:6px 11px; }
  .hero-offer-note{ font-size:11.5px; margin-top:10px; }
}

.hero-offer-price{ margin-bottom:18px; }
.price-label{
  display:block;
  font-size:13px;
  color:rgba(255,255,255,0.7);
  margin-bottom:6px;
}
.price-value{
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:28px;
  color:var(--gold);
}
html[lang="ar"] .price-value{ font-family:var(--font-ar); }
.price-value small{
  font-family:var(--font-en-body);
  font-weight:500;
  font-size:15px;
  color:var(--white);
}
html[lang="ar"] .price-value small{ font-family:var(--font-ar); }

.hero-offer-terms{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}
.hero-offer-terms span{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:50px;
  padding:7px 14px;
  font-size:12.5px;
  color:var(--white);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.hero-offer-terms .icon{ width:14px; height:14px; stroke:var(--gold); }

.hero-offer-cta{ gap:10px; }
.hero-offer-cta .icon{ width:20px; height:20px; stroke:currentColor; }

.hero-offer-note{
  color:rgba(255,255,255,0.55);
  font-size:12.5px;
  text-align:center;
  margin:14px 0 0;
}

/* small page hero (privacy / thank-you sub-pages) */
.page-hero{
  background:var(--primary);
  color:var(--white);
  padding-block:56px;
  text-align:center;
}
.page-hero h1{ color:var(--white); margin-bottom:8px; }
.page-hero p{ color:rgba(255,255,255,0.75); margin:0; }

/* ---------- Grid ---------- */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:1fr; }
.grid-3{ grid-template-columns:1fr; }
.grid-4{ grid-template-columns:1fr; }
@media (min-width:640px){
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1024px){
  .grid-2{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
}
.grid-2.align-center{ align-items:center; }

/* ---------- Cards ---------- */
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  padding:32px 28px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,0.1); }

.feature-card .icon-wrap{
  width:56px;
  height:56px;
  border-radius:14px;
  background:rgba(200,164,93,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.feature-card h3{ font-size:19px; margin-bottom:10px; }
.feature-card p{ margin:0; font-size:15px; }

/* property / project card */
.property-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.property-card .thumb{
  aspect-ratio:16/9;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:20px;
}
.property-card .badge{
  position:absolute;
  top:16px;
  inset-inline-start:16px;
  background:var(--gold);
  color:var(--primary);
  font-size:12px;
  font-weight:600;
  padding:6px 14px;
  border-radius:50px;
}
.property-card .body{ padding:24px; }
.property-card h3{ font-size:19px; margin-bottom:6px; }
.property-card .price{ color:var(--primary); font-weight:700; font-family:var(--font-en-head); }
html[lang="ar"] .property-card .price{ font-family:var(--font-ar); }
.property-card .meta{
  display:flex;
  gap:16px;
  color:var(--muted);
  font-size:13px;
  margin-top:12px;
  padding-top:16px;
  border-top:1px solid var(--border);
}
.property-card .meta span{ display:flex; align-items:center; gap:6px; }
.property-card .meta .icon{ width:16px; height:16px; }
.property-card .meta b{ color:var(--primary); font-weight:700; }
/* price-per-config variant (3 room tiers): grid instead of flex row so the
   3rd pill can never overflow the card on narrow widths -- each column is a
   fixed 1/3 share and label/price stack instead of fighting for row space. */
.property-card .meta-pricing{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px 10px;
}
.property-card .meta-pricing span{
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  min-width:0;
}
.property-card .cta-row{ display:flex; gap:10px; margin-top:16px; }
.property-card .cta-row .btn{ margin-top:0; }
/* white-space:normal + min-width:0 let the label wrap to a 2nd line instead
   of forcing the card (and the whole page) wider than the viewport on small
   screens -- keeps both buttons side by side at every width. */
.property-card .cta-row .btn-primary{
  flex:1;
  min-width:0;
  white-space:normal;
  line-height:1.25;
}
.property-card .btn-call{ flex:0 0 auto; padding-inline:14px; }
.property-card .btn-call .icon{ width:18px; height:18px; }

/* ---------- Consultant / profile ---------- */
.profile-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  padding:36px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
}
@media (min-width:640px){
  .profile-card{ flex-direction:row; align-items:center; }
}
.profile-avatar{
  width:104px;
  height:104px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:var(--gold);
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border:3px solid var(--gold);
}
.profile-card h3{ margin-bottom:4px; }
.profile-role{
  color:var(--gold-dark);
  font-weight:600;
  font-size:14px;
  margin-bottom:12px;
  display:block;
}
.profile-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.profile-badges span{
  background:var(--background);
  border:1px solid var(--border);
  border-radius:50px;
  padding:6px 14px;
  font-size:13px;
  color:var(--text);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.profile-badges .icon{ width:14px; height:14px; }

/* ---------- Location section ---------- */
.location-image{
  border-radius:var(--radius-card);
  overflow:hidden;
  box-shadow:var(--shadow-card);
}
.location-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.location-lists{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  margin-top:8px;
}
@media (min-width:480px){
  .location-lists{ grid-template-columns:1fr 1fr; }
}
.location-list h4{
  font-size:13px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:16px;
}
html[lang="ar"] .location-list h4{ text-transform:none; letter-spacing:0; }
.location-list ul{ display:flex; flex-direction:column; gap:12px; }
.location-list li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14.5px;
  color:var(--text);
  font-weight:500;
}
.location-list .icon{ width:18px; height:18px; flex-shrink:0; }

.distance-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
@media (min-width:480px){
  .distance-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.distance-item{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  padding:18px;
}
.distance-item .icon{ width:20px; height:20px; margin-bottom:10px; }
.distance-item .d-num{
  font-family:var(--font-en-head);
  font-weight:700;
  font-size:17px;
  color:var(--primary);
  line-height:1.25;
}
html[lang="ar"] .distance-item .d-num{ font-family:var(--font-ar); }
.distance-item .d-label{ font-size:12.5px; color:var(--muted); margin-top:4px; }

.location-roads{ font-size:14px; color:var(--muted); margin-top:18px; margin-bottom:0; }

/* ---------- Amenities ---------- */
.amenities-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:44px;
}
@media (min-width:560px){
  .amenities-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:900px){
  .amenities-grid{ grid-template-columns:repeat(4,1fr); }
}
.amenity-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  padding:26px 22px;
}
.amenity-card .icon{ width:26px; height:26px; margin-bottom:14px; }
.amenity-card h3{ font-size:16.5px; margin-bottom:8px; }
.amenity-card p{ font-size:13.5px; margin:0; line-height:1.6; }
.amenities-note{ text-align:center; color:var(--muted); margin-top:36px; }

/* ---------- Gallery ---------- */
.gallery-carousel{ position:relative; max-width:900px; margin-inline:auto; }
.gallery-viewport{
  overflow:hidden;
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  touch-action:pan-y;
}
.gallery-track{
  display:flex;
  direction:ltr;
  transition:transform .45s ease;
}
.gallery-slide{ flex:0 0 100%; aspect-ratio:16/10; }
.gallery-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow-card);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:2;
  padding:0;
  transition:background .2s;
}
.gallery-arrow:hover{ background:var(--gold); }
.gallery-arrow .icon{ width:20px; height:20px; stroke:var(--primary); margin:0; }
.gallery-prev{ left:16px; }
.gallery-next{ right:16px; }
@media (max-width:640px){
  .gallery-prev{ left:8px; }
  .gallery-next{ right:8px; }
  .gallery-arrow{ width:36px; height:36px; }
}
.gallery-dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.gallery-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--border);
  border:none;
  padding:0;
  cursor:pointer;
  transition:background .2s, width .2s;
}
.gallery-dot.active{ background:var(--gold); width:22px; border-radius:4px; }

/* ---------- Register / lead form ---------- */
.register-panel{
  background:var(--primary);
  border-radius:var(--radius-card);
  padding:48px 28px;
  max-width:640px;
  margin-inline:auto;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.register-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 80% 0%, rgba(200,164,93,0.18), transparent 55%);
}
.register-panel > *{ position:relative; z-index:1; }
.register-panel h2{ color:var(--white); }
.register-panel p{ color:rgba(255,255,255,0.75); }
.register-panel .section-tag{ color:var(--gold); }
@media (min-width:640px){ .register-panel{ padding:56px 48px; } }

.lead-form{ text-align:start; margin-top:32px; display:flex; flex-direction:column; gap:18px; }
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-size:13.5px; color:rgba(255,255,255,0.8); font-weight:600; }
.form-optional{ font-weight:400; color:rgba(255,255,255,0.5); }
.form-row input,
.form-row select{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:var(--radius-btn);
  padding:13px 16px;
  color:var(--white);
  font-family:inherit;
  font-size:15px;
  width:100%;
}
html[lang="ar"] .form-row input,
html[lang="ar"] .form-row select{ font-family:var(--font-ar); }
.form-row input::placeholder{ color:rgba(255,255,255,0.45); }
.form-row input:focus,
.form-row select:focus{ outline:none; border-color:var(--gold); }
.form-row select option{ color:var(--text); }
.lead-submit{ margin-top:6px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--primary);
  color:var(--white);
  border-radius:var(--radius-card);
  padding:56px 32px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 80% 0%, rgba(200,164,93,0.18), transparent 55%);
}
.cta-banner *{ position:relative; z-index:1; }
.cta-banner h2{ color:var(--white); margin-bottom:12px; }
.cta-banner p{ color:rgba(255,255,255,0.75); max-width:520px; margin-inline:auto 32px; margin-bottom:32px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--primary); color:rgba(255,255,255,0.7); }
.footer-top{
  padding-block:64px 40px;
  display:grid;
  gap:40px;
  grid-template-columns:1fr;
}
@media (min-width:768px){
  .footer-top{ grid-template-columns:1.4fr 1fr 1fr; }
}
.footer-brand .logo .l1{ color:var(--white); }
.footer-brand p{ color:rgba(255,255,255,0.6); margin-top:16px; max-width:320px; }
.footer-col h4{
  color:var(--white);
  font-size:15px;
  margin-bottom:20px;
  letter-spacing:1px;
  text-transform:uppercase;
}
html[lang="ar"] .footer-col h4{ letter-spacing:0; text-transform:none; }
.footer-col ul li{ margin-bottom:14px; }
.footer-col a{ color:rgba(255,255,255,0.7); transition:color .2s; }
.footer-col a:hover{ color:var(--gold); }
.footer-col .contact-item{ display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.footer-col .contact-item .icon{ width:18px; height:18px; margin-top:2px; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  padding-block:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:center;
  text-align:center;
  font-size:13px;
}
@media (min-width:768px){
  .footer-bottom{ flex-direction:row; justify-content:space-between; text-align:start; }
}
.footer-bottom a{ color:rgba(255,255,255,0.7); }
.footer-bottom a:hover{ color:var(--gold); }
.footer-legal-links{ display:flex; gap:24px; flex-wrap:wrap; justify-content:center; }
.footer-lang{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--gold);
  font-weight:600;
}

/* ---------- Thank-you page ---------- */
.thankyou-wrap{
  min-height:calc(100vh - 80px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding-block:80px;
  background:var(--background);
}
.thankyou-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-card);
  padding:56px 40px;
  max-width:560px;
  width:100%;
  text-align:center;
}
.thankyou-icon{
  width:88px;
  height:88px;
  border-radius:50%;
  background:rgba(200,164,93,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-inline:auto;
  margin-bottom:28px;
}
.thankyou-icon .icon{ width:44px; height:44px; stroke:var(--gold-dark); }
.thankyou-card h1{ font-size:28px; margin-bottom:12px; }
.thankyou-card p{ margin-bottom:8px; }
.thankyou-steps{
  text-align:start;
  background:var(--background);
  border:1px solid var(--border);
  border-radius:12px;
  padding:20px 24px;
  margin:28px 0;
}
.thankyou-steps li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 0;
  font-size:14px;
  color:var(--text);
}
.thankyou-steps li:not(:last-child){ border-bottom:1px dashed var(--border); }
.thankyou-steps .step-num{
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--primary);
  color:var(--white);
  font-size:12px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.thankyou-actions{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
@media (min-width:480px){
  .thankyou-actions{ flex-direction:row; justify-content:center; }
}

/* ---------- Legal / Privacy page ---------- */
.legal-content{ max-width:820px; margin-inline:auto; }
.legal-content h2{
  font-size:22px;
  margin-top:48px;
  padding-top:16px;
  border-top:1px solid var(--border);
}
.legal-content h2:first-child{ margin-top:0; padding-top:0; border-top:none; }
.legal-content p,
.legal-content li{ color:var(--muted); font-size:15.5px; }
.legal-content ul{ margin:0 0 16px; padding-inline-start:20px; list-style:disc; }
html[lang="ar"] .legal-content ul{ padding-inline-start:0; padding-inline-end:20px; }
.legal-content li{ margin-bottom:8px; }
.legal-updated{
  display:inline-block;
  background:var(--background);
  border:1px solid var(--border);
  border-radius:50px;
  padding:6px 16px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:24px;
}
.legal-toc{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:24px 28px;
  margin-bottom:40px;
}
.legal-toc h4{ font-size:14px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); margin-bottom:14px; }
html[lang="ar"] .legal-toc h4{ text-transform:none; letter-spacing:0; }
.legal-toc ol{ margin:0; padding-inline-start:20px; }
html[lang="ar"] .legal-toc ol{ padding-inline-start:0; padding-inline-end:20px; }
.legal-toc li{ margin-bottom:8px; }
.legal-toc a{ color:var(--primary); font-size:14.5px; }
.legal-toc a:hover{ color:var(--gold-dark); }

/* ---------- Sticky mobile CTA bar ---------- */
/*
  Mobile-only persistent WhatsApp CTA, fixed to the bottom of the viewport so the
  action is visible without scrolling. --cta-bar-offset lets a future cookie-notice
  banner push this bar upward (set the variable on :root) instead of covering it.
*/
:root{ --cta-bar-offset:0px; }

.mobile-cta-bar{
  display:none;
  position:fixed;
  inset-inline:0;
  bottom:var(--cta-bar-offset);
  z-index:200;
  background:var(--white);
  border-top:1px solid var(--border);
  box-shadow:0 -6px 20px rgba(0,0,0,0.1);
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  transition:bottom .25s ease;
}
.mobile-cta-bar .btn{ width:100%; padding:13px 20px; }
.mobile-cta-bar .icon{ width:18px; height:18px; stroke:currentColor; }

@media (max-width:767px){
  .mobile-cta-bar{ display:flex; }
  body{ padding-bottom:76px; }
}

/* ---------- Cookie consent banner ---------- */
/*
  Injected via JS (js/main.js) on every page rather than duplicated in each
  HTML file. Fixed to the bottom like .mobile-cta-bar above; when both are
  visible on mobile, JS raises --cta-bar-offset so this banner stacks under
  the WhatsApp bar instead of covering it.
*/
.cookie-banner{
  position:fixed;
  inset-inline:0;
  bottom:0;
  z-index:210;
  background:var(--primary);
  border-top:1px solid rgba(200,164,93,0.3);
  box-shadow:0 -8px 24px rgba(0,0,0,0.18);
  padding-block:14px;
  padding-bottom:calc(14px + env(safe-area-inset-bottom));
  transform:translateY(100%);
  transition:transform .35s ease;
}
.cookie-banner.is-visible{ transform:translateY(0); }
.cookie-banner .container{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 16px;
}
.cookie-banner-text{
  flex:1 1 220px;
  font-size:13px;
  line-height:1.55;
  color:rgba(255,255,255,0.85);
  margin:0;
}
.cookie-banner-text a{ color:var(--gold); text-decoration:underline; }
.cookie-banner-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-inline-start:auto;
}
.cookie-banner-agree{
  background:var(--gold);
  color:var(--primary);
  border:none;
  border-radius:var(--radius-btn);
  padding:9px 20px;
  font-weight:600;
  font-size:13.5px;
  font-family:inherit;
  cursor:pointer;
  white-space:nowrap;
  transition:background .2s;
}
.cookie-banner-agree:hover{ background:var(--white); }
.cookie-banner-close{
  background:transparent;
  border:none;
  color:rgba(255,255,255,0.55);
  cursor:pointer;
  padding:6px;
  display:flex;
  line-height:0;
  flex-shrink:0;
  transition:color .2s;
}
.cookie-banner-close:hover{ color:var(--white); }
.cookie-banner-close svg{ width:18px; height:18px; }
@media (max-width:480px){
  .cookie-banner{ padding-block:12px; }
  .cookie-banner-text{ font-size:12.5px; }
  .cookie-banner-agree{ padding:8px 16px; font-size:13px; }
}

/* ---------- Utilities ---------- */
.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.divider-gold{ width:56px; height:3px; background:var(--gold); border-radius:2px; margin-bottom:20px; }
.section-head.center .divider-gold{ margin-inline:auto; }
