
:root{
  --olive:#7f7a3a;
  --olive-dark:#5f5b2b;
  --olive-soft:#9b9554;
  --off:#fbf8f1;
  --cream:#f2eadc;
  --white:#fff;
  --line:#e2d7c4;
  --text:#24241f;
  --muted:#706d63;
  --shadow:0 18px 48px rgba(48,43,25,.10);
  --shadow-soft:0 10px 25px rgba(48,43,25,.08);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Cairo,system-ui,sans-serif;background:var(--off);color:var(--text);line-height:1.8}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1200px,calc(100% - 34px));margin-inline:auto}
.section{padding:64px 0}
.section.compact{padding:52px 0}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(34px,5vw,62px);line-height:1.22;font-weight:900}
h2{font-size:clamp(27px,3.2vw,42px);line-height:1.25;font-weight:900;margin-bottom:12px}
h3{font-size:24px;line-height:1.35;font-weight:850}
.lead{font-size:19px;color:var(--muted)}
.muted{color:var(--muted)}
.phone-number{direction:ltr;unicode-bidi:isolate;display:inline-block;font-family:Montserrat,Cairo,sans-serif;font-weight:800}
.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:999px;padding:7px 14px;background:#fff;color:var(--olive-dark);font-weight:850;margin-bottom:14px}
.eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--olive)}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:14px 24px;font-family:inherit;font-weight:850;cursor:pointer;transition:.25s ease}
.btn-primary{background:var(--olive);color:#fff;box-shadow:var(--shadow-soft)}
.btn-primary:hover{background:var(--olive-dark);transform:translateY(-2px)}
.btn-light{background:#fff;color:var(--olive-dark)}
.btn-outline{background:#fff;border:1px solid var(--line);color:var(--olive-dark)}
.btn-outline:hover{background:#fbf7ed}
.header{position:sticky;top:0;z-index:50;background:rgba(251,248,241,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(126,113,56,.14)}
.nav{height:84px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:13px;min-width:260px}
.brand img{width:58px;height:58px;object-fit:contain;background:transparent;flex:0 0 auto}
.brand span{display:flex;flex-direction:column;font-weight:900;font-size:18px;line-height:1.25}
.brand small{font-family:Montserrat,Cairo,sans-serif;font-size:11px;color:var(--muted);font-weight:700}
.nav-links{display:flex;align-items:center;gap:18px;font-weight:850}
.nav-links a{color:#444}
.nav-links a:hover,.nav-links a.active{color:var(--olive-dark)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:14px;padding:8px 12px;font-size:20px}
.hero,.page-hero{color:#fff;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(29,29,24,.80),rgba(45,42,31,.58),rgba(31,31,25,.25)),var(--hero-img) center/cover no-repeat}
.hero{min-height:660px;display:flex;align-items:center}
.page-hero{min-height:430px;display:flex;align-items:center}
.hero-grid{display:grid;grid-template-columns:1.05fr .82fr;gap:34px;align-items:center}
.hero p,.page-hero p{color:rgba(255,255,255,.88);font-size:18px;margin-top:14px;max-width:760px}
.kicker{font-family:Montserrat,Cairo,sans-serif;font-weight:800;letter-spacing:.06em;color:#eee4d0;margin-bottom:14px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.tags span{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 12px;font-weight:750;font-size:13px}
.booking-card{background:rgba(255,255,255,.97);color:var(--text);padding:24px;border:1px solid rgba(255,255,255,.72);border-radius:25px;box-shadow:var(--shadow)}
.booking-card p{color:var(--muted);font-size:14px;margin:6px 0 14px}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;font-weight:850;color:#504b3e}
.field input,.field select,.field textarea{width:100%;border:1px solid #ded4c1;border-radius:14px;background:#fff;padding:13px 14px;font-family:inherit;color:var(--text)}
.field textarea{min-height:110px;resize:vertical}
.field.full{grid-column:1/-1}
.booking-card .btn{width:100%;margin-top:14px}
.note{font-size:12px;color:var(--muted);margin-top:8px}
.service-strip{margin-top:-38px;position:relative;z-index:3}
.service-row{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;padding:16px;display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.service-row div{background:#fbf8f1;border:1px solid #e8decd;border-radius:18px;padding:15px 10px;text-align:center}
.service-row strong{display:block;color:var(--olive-dark);font-weight:900}
.service-row span{font-size:13px;color:var(--muted)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}
.section-head p{max-width:690px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.panel,.content-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.mini{background:#fbf8f1;border:1px solid #e7ddca;border-radius:18px;padding:15px;font-weight:850}
.mini span{display:block;color:var(--muted);font-weight:600;font-size:14px}
.stack{position:relative;min-height:430px}
.stack .main{position:absolute;inset:0 32px 48px 0}
.stack .small{position:absolute;width:46%;left:0;bottom:0;border:8px solid var(--off);border-radius:25px;overflow:hidden}
.stack .main img,.stack .small img{width:100%;height:100%;object-fit:cover;border-radius:28px;box-shadow:var(--shadow)}
.branches{display:grid;gap:24px}
.branch-card{background:#fff;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-columns:.95fr 1.05fr}
.branch-card figure{margin:0;min-height:340px}
.branch-card img{width:100%;height:100%;object-fit:cover}
.branch-body{padding:28px}
.pills{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.pill{background:#fbf7ee;border:1px solid #e6dcc8;border-radius:999px;padding:8px 12px;color:var(--olive-dark);font-weight:800;font-size:13px}
.card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.unit-group{margin-top:28px}
.unit-group + .unit-group{margin-top:38px}
.unit-group-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.unit-group-head h3{font-size:30px;color:var(--olive-dark)}
.unit-group-head p{max-width:660px;color:var(--muted)}
.units,.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.unit-card,.plain-card{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}
.slider{height:300px;position:relative;overflow:hidden;background:#eee}
.slider .slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .55s}
.slider .slide.active{opacity:1}
.slider-label{position:absolute;right:15px;top:15px;background:rgba(255,255,255,.92);border-radius:999px;padding:8px 12px;color:var(--olive-dark);font-weight:900}
.dots{position:absolute;left:16px;bottom:14px;display:flex;gap:6px}
.dots button{width:8px;height:8px;border-radius:999px;border:0;background:rgba(255,255,255,.6);padding:0}
.dots button.active{background:var(--olive);width:20px}
.unit-body,.plain-body{padding:23px}
.unit-body p,.plain-body p{color:var(--muted);margin:8px 0 16px}
.check-list{padding:0;margin:16px 0 0;list-style:none;display:grid;gap:9px}
.check-list li{position:relative;padding-right:20px;color:#4f4c43}
.check-list li:before{content:"";position:absolute;right:0;top:.8em;width:8px;height:8px;border-radius:50%;background:var(--olive)}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:23px;box-shadow:var(--shadow)}
.feature-card .num{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f1ebdf;color:var(--olive-dark);font-weight:900;margin-bottom:12px}
.feature-card p{color:var(--muted)}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.gallery img{width:100%;height:190px;object-fit:cover}
.gallery figcaption{padding:12px 14px}
.gallery strong{display:block}
.gallery span{display:block;color:var(--muted);font-size:13px}
.maps{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.map-card{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}
.map-card img{width:100%;height:330px;object-fit:cover;background:#f6f1e7}
.map-card .body{padding:24px}
.map-card .btn{margin-top:14px}
.cta{background:linear-gradient(135deg,var(--olive-dark),var(--olive));color:#fff;border-radius:30px;padding:34px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:var(--shadow)}
.cta p{color:rgba(255,255,255,.86);max-width:720px}
.footer{background:#1f2119;color:#fff;margin-top:50px;padding:46px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.25fr .8fr .9fr;gap:28px}
.footer .brand{min-width:0}
.footer .brand img{width:96px;height:92px}
.footer .brand span{font-size:21px}
.footer p,.footer a,.footer small{color:rgba(255,255,255,.75)}
.footer a{display:block;margin-top:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:18px;display:flex;justify-content:space-between;gap:12px;color:rgba(255,255,255,.62)}
.policy-content h2{margin-top:24px;font-size:26px}
.policy-content p{color:var(--muted);margin-top:8px}
@media(max-width:1050px){
  .hero-grid,.split,.branch-card{grid-template-columns:1fr}
  .service-row{grid-template-columns:repeat(3,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
  .menu-toggle{display:inline-flex}
}
@media(max-width:720px){
  .nav{height:auto;padding:12px 0}
  .brand{min-width:0}.brand span{font-size:15px}
  .hero,.page-hero{padding:56px 0;min-height:auto}
  .form-grid,.units,.cards-grid,.feature-grid,.maps,.mini-grid{grid-template-columns:1fr}
  .service-row{grid-template-columns:1fr 1fr}
  .section{padding:42px 0}.section.compact{padding:36px 0}
  .section-head,.unit-group-head,.cta{display:block}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .stack{min-height:320px}
  .gallery{grid-template-columns:1fr}
  .map-card img{height:240px}
}


/* V11: Homepage readable text color fixes */
body,
main,
.section,
.section p,
.section .lead,
.section .muted,
.section-head p,
.panel,
.panel p,
.content-card,
.content-card p,
.unit-body,
.unit-body p,
.plain-body,
.plain-body p,
.feature-card,
.feature-card p,
.map-card,
.map-card p,
.gallery figcaption,
.gallery figcaption span,
.mini span {
  color: var(--text);
}

.section .muted,
.section p.muted,
.section-head .muted,
.unit-body p,
.plain-body p,
.feature-card p,
.map-card .muted,
.gallery figcaption span,
.mini span,
.lead {
  color: var(--muted);
}

/* لا نغيّر ألوان النصوص البيضاء المقصودة داخل الهيرو والـ CTA والفوتر */
.hero,
.hero *,
.page-hero,
.page-hero *,
.cta,
.cta *,
.footer,
.footer * {
  color: inherit;
}

.hero,
.page-hero,
.cta,
.footer {
  color: #fff;
}

/* نموذج الحجز داخل الهيرو يجب أن يبقى مقروءًا بلون داكن */
.hero .booking-card,
.hero .booking-card *,
.page-hero .booking-card,
.page-hero .booking-card * {
  color: var(--text);
}

.hero .booking-card p,
.hero .booking-card .note,
.page-hero .booking-card p,
.page-hero .booking-card .note {
  color: var(--muted);
}

/* أزرار داخل الأقسام */
.section .btn-primary,
.panel .btn-primary,
.unit-body .btn-primary,
.map-card .btn-primary,
.plain-body .btn-primary,
.booking-card .btn-primary {
  color: #fff;
}

.section .btn-light,
.section .btn-outline,
.panel .btn-outline,
.map-card .btn-outline,
.plain-body .btn-outline {
  color: var(--olive-dark);
}

/* أرقام الجوال تبقى صحيحة الاتجاه والقراءة */
.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  color: inherit;
}


/* V12 STEP 1: homepage first-section refinements */
.home-page .hero {
  min-height: 610px;
}

.home-page .hero .actions {
  margin-top: 24px;
  margin-bottom: 0;
}

.home-page .hero-grid {
  align-items: center;
}

.home-page .booking-card .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-motion-gallery {
  padding: 34px 0 22px !important;
}

.motion-stack {
  display: grid;
  gap: 18px;
}

.motion-slider {
  position: relative;
  height: 300px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e9e1d3;
}

.motion-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(33,32,24,.72), rgba(33,32,24,.26), rgba(33,32,24,.08));
  z-index: 1;
  pointer-events: none;
}

.motion-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}

.motion-slider .slide.active {
  opacity: 1;
}

.motion-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  color: #fff;
  max-width: 520px;
}

.motion-caption span {
  display: inline-flex;
  background: rgba(255,255,255,.92);
  color: var(--olive-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 900;
  margin-bottom: 12px;
}

.motion-caption strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 900;
}

.motion-slider .dots {
  z-index: 3;
}


.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr);
  gap: 16px;
  align-items: stretch;
}
.about-side-grid {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.about-media-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 0;
}
.about-media-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.about-media-card.is-main img {
  min-height: 360px;
}
.about-media-card.is-side img {
  min-height: 172px;
}
.about-media-caption {
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,215,196,.92);
  border-radius: 16px;
  padding: 10px 12px;
  color: var(--text);
}
.about-media-caption small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(115,118,58,.10);
  color: var(--olive-dark);
  font-size: 11px;
  font-weight: 800;
}
.about-media-caption strong {
  display: block;
  color: var(--olive-dark);
  font-weight: 900;
  font-size: 15px;
}
.about-media-caption span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 960px) {
  .about-showcase {grid-template-columns: 1fr;}
  .about-side-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;}
}
@media (max-width: 720px) {
  .about-media-card.is-main img {min-height: 260px;}
  .about-media-card.is-side img {min-height: 200px;}
}
@media (max-width: 560px) {
  .about-side-grid {grid-template-columns: 1fr;}
}
@media (max-width: 720px) {
  .home-page .hero {
    min-height: auto;
  }

  .motion-slider {
    height: 230px;
    border-radius: 22px;
  }

  .motion-caption {
    right: 18px;
    bottom: 18px;
  }
}


/* V13 STEP 2: reduce excessive vertical gaps on homepage */
.home-page .section {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.home-page .section.compact {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.home-page .service-strip {
  margin-top: -30px !important;
  margin-bottom: 0 !important;
}

.home-page .service-row {
  margin-bottom: 0 !important;
}

.home-page .home-motion-gallery {
  padding-top: 24px !important;
  padding-bottom: 10px !important;
}

.home-page .motion-stack {
  gap: 14px !important;
}

.home-page .section-head {
  margin-bottom: 18px !important;
}

.home-page .unit-group {
  margin-top: 20px !important;
}

.home-page .unit-group + .unit-group {
  margin-top: 26px !important;
}

.home-page .branches,
.home-page .units,
.home-page .cards-grid,
.home-page .feature-grid,
.home-page .gallery,
.home-page .maps {
  gap: 18px !important;
}

.home-page .split {
  gap: 28px !important;
}

.home-page .panel,
.home-page .content-card {
  padding: 24px !important;
}

.home-page .stack {
  min-height: 360px !important;
}

.home-page .stack .main {
  inset: 0 24px 42px 0 !important;
}

.home-page .slider {
  height: 280px !important;
}

.home-page .motion-slider {
  height: 270px !important;
}

.home-page .feature-card,
.home-page .unit-body,
.home-page .plain-body,
.home-page .map-card .body {
  padding: 20px !important;
}

/* تقليل المسافة الكبيرة قبل CTA الأخير */
.home-page .cta {
  padding: 28px 34px !important;
}

/* منع أي فراغ علوي مبالغ في الأقسام التي تأتي بعد كروت */
.home-page #locations,
.home-page #gallery,
.home-page #booking {
  scroll-margin-top: 95px;
}

@media (max-width: 720px) {
  .home-page .section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .home-page .section.compact {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .home-page .motion-slider,
  .home-page .slider {
    height: 220px !important;
  }

  .home-page .stack {
    min-height: 300px !important;
  }
}


/* V15 READY: image organization and visual consistency */
.gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery figure img {
  height: 245px;
  object-fit: cover;
}
.branch-card figure img,
.unit-card .slider img,
.map-card > img,
.stack img,
.motion-slider img {
  object-fit: cover;
}
.unit-card .slider {
  background: #eee7dc;
}
.motion-caption strong {
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}
@media (max-width: 1024px){
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .gallery { grid-template-columns: 1fr; }
  .gallery figure img { height: 230px; }
}


/* V16 HOME FIXES: remove wrong about image, tighten homepage spacing */
.home-page .section {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.home-page .section.compact {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}
.home-page .service-strip {
  margin-top: -24px !important;
}
.home-page .home-motion-gallery {
  padding-top: 18px !important;
  padding-bottom: 4px !important;
}
.home-page .section-head {
  margin-bottom: 12px !important;
}
.home-page .section-head .muted:empty,
.home-page .section-head p:empty {
  display: none !important;
}
.home-page .split {
  gap: 22px !important;
}
.home-page .panel,
.home-page .content-card {
  padding: 22px !important;
}
.home-page .mini-grid {
  margin-top: 14px !important;
  gap: 10px !important;
}
.home-page .unit-group {
  margin-top: 14px !important;
}
.home-page .unit-group + .unit-group {
  margin-top: 18px !important;
}
.home-page .branches,
.home-page .units,
.home-page .feature-grid,
.home-page .gallery,
.home-page .maps {
  gap: 14px !important;
}
.home-page .unit-group-head {
  margin-bottom: 10px !important;
}
.home-page .unit-group-head h3 {
  font-size: 26px !important;
}
.home-page .feature-card,
.home-page .unit-body,
.home-page .map-card .body,
.home-page .gallery figcaption {
  padding: 16px !important;
}
.home-page .slider {
  height: 255px !important;
}
.home-page .motion-slider {
  height: 245px !important;
}
.home-page .gallery figure img {
  height: 215px !important;
}
.home-page .map-card img {
  height: 280px !important;
}
.home-page .cta {
  padding: 22px 28px !important;
}
.home-page .footer {
  margin-top: 28px !important;
}
.about-counter-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.about-counter-card img {
  width: 100%;
  height: 355px;
  object-fit: cover;
}
.about-counter-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,215,196,.9);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--text);
}
.about-counter-caption strong {
  display: block;
  color: var(--olive-dark);
  font-weight: 900;
}
.about-counter-caption span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .home-page .section {padding-top: 20px !important; padding-bottom: 20px !important;}
  .home-page .section.compact {padding-top: 18px !important; padding-bottom: 18px !important;}
  .about-counter-card img {height: 240px;}
  .home-page .slider,
  .home-page .motion-slider {height: 210px !important;}
  .home-page .gallery figure img {height: 210px !important;}
}


/* V17: strict contrast and spacing fixes */
.btn,
.btn:visited,
.btn-light,
.btn-light:visited,
.btn-outline,
.btn-outline:visited,
.hero .btn-light,
.hero .btn-outline,
.page-hero .btn-light,
.page-hero .btn-outline,
.cta .btn-light,
.cta .btn-outline {
  color: var(--olive-dark) !important;
}

.btn-primary,
.btn-primary:visited,
button.btn-primary {
  background: var(--olive) !important;
  color: #fff !important;
}

.btn-light,
.btn-outline,
.hero .btn-light,
.hero .btn-outline,
.page-hero .btn-light,
.page-hero .btn-outline,
.cta .btn-light,
.cta .btn-outline {
  background: #fff !important;
  border: 1px solid rgba(226, 215, 196, .95) !important;
}

.btn-light:hover,
.btn-outline:hover,
.hero .btn-light:hover,
.hero .btn-outline:hover,
.page-hero .btn-light:hover,
.page-hero .btn-outline:hover,
.cta .btn-light:hover,
.cta .btn-outline:hover {
  background: #f6f0e5 !important;
  color: var(--olive-dark) !important;
}

/* تقليل المساحات الكبيرة بين أقسام الصفحة الرئيسية فقط */
.home-page .section {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.home-page .section.compact {
  padding-top: 26px !important;
  padding-bottom: 26px !important;
}

.home-page .section-head {
  margin-bottom: 16px !important;
}

.home-page #branches,
.home-page #apartments,
.home-page #locations,
.home-page #gallery,
.home-page #booking {
  margin-top: 0 !important;
}

.home-page .feature-grid,
.home-page .cards-grid,
.home-page .maps,
.home-page .gallery,
.home-page .units-grid {
  gap: 16px !important;
}

.home-page .split {
  gap: 24px !important;
}

/* تثبيت اتجاه الأرقام داخل الموقع حتى لا تنعكس */
.phone,
[dir="ltr"],
a[href^="tel"],
a[href^="https://wa.me"] {
  direction: ltr !important;
  unicode-bidi: embed !important;
}

/* الشعار المفرغ بدون خلفية أو مربع داخلي */
.brand img,
.footer .brand img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* V18 hero approved text */
.hero-subtitle{font-size:30px!important;line-height:1.45!important;font-weight:900!important;color:#fff!important;margin:8px 0 12px!important;max-width:780px!important}
.hero h1{margin-bottom:4px}
@media(max-width:760px){.hero-subtitle{font-size:22px!important}}


/* V23 legal pages + footer update */
.footer-grid{
  grid-template-columns:1.2fr 1fr 1.25fr .85fr !important;
  align-items:start;
}
.footer h3{
  color:#fff;
  font-size:18px;
  margin-bottom:12px;
}
.footer p{
  margin:6px 0;
  line-height:1.85;
}
.footer-branch{
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:12px;
  margin-bottom:12px;
}
.footer-branch:last-child{
  border-bottom:0;
  margin-bottom:0;
}
.footer-branch strong{
  display:block;
  color:#fff;
  margin-bottom:6px;
}
.footer-legal-note{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:22px;
  padding-top:16px;
  color:rgba(255,255,255,.74);
  font-size:13px;
  line-height:1.8;
}
.phone-number{
  direction:ltr!important;
  unicode-bidi:embed!important;
  display:inline-block;
}
.policy-content ul{
  margin:12px 0 0;
  padding-right:22px;
  color:var(--muted);
  line-height:1.9;
}
.policy-content li{
  margin:4px 0;
}
.policy-content h2{
  color:var(--olive-dark);
}
@media(max-width:1050px){
  .footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  .footer-grid{grid-template-columns:1fr!important}
  .footer-bottom{display:block}
  .footer-bottom span{display:block;margin:6px 0}
}


/* V24: clean duplicated section + organized footer */
.footer {
  background: #1f2119 !important;
  color: #fff !important;
  margin-top: 38px !important;
  padding: 44px 0 20px !important;
}

.footer-grid-clean {
  display: grid !important;
  grid-template-columns: 1.18fr 1.22fr 1.05fr .82fr !important;
  gap: 28px !important;
  align-items: start !important;
}

.footer-col h3 {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 0 0 13px !important;
  font-weight: 900 !important;
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
  margin: 0 0 7px !important;
}

.footer-col a {
  display: block !important;
  text-decoration: none !important;
}

.footer-col a:hover {
  color: #fff !important;
}

.footer-brand {
  gap: 10px !important;
  min-width: 0 !important;
  margin-bottom: 12px !important;
}

.footer-brand img {
  width: 58px !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.footer-brand span {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
}

.footer-about p {
  max-width: 360px !important;
}

.footer-branch {
  padding: 0 0 13px !important;
  margin: 0 0 13px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

.footer-branch:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

.footer-branch strong {
  display: block !important;
  color: #fff !important;
  font-size: 14px !important;
  margin-bottom: 5px !important;
  font-weight: 900 !important;
}

.footer-establishment strong {
  color: rgba(255,255,255,.88) !important;
  font-weight: 850 !important;
}

.footer-links-clean a {
  padding: 7px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.footer-links-clean a:last-child {
  border-bottom: 0 !important;
}

.footer-legal-note {
  color: rgba(255,255,255,.72) !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  margin-top: 28px !important;
  padding-top: 15px !important;
  font-size: 12.5px !important;
  line-height: 1.9 !important;
}

.footer-bottom-clean {
  color: rgba(255,255,255,.56) !important;
  border-top: 0 !important;
  margin-top: 10px !important;
  padding-top: 0 !important;
  display: block !important;
  font-size: 12.5px !important;
}

.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
}

@media (max-width: 1100px) {
  .footer-grid-clean {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 680px) {
  .footer {
    padding: 34px 0 18px !important;
  }
  .footer-grid-clean {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .footer-about p {
    max-width: none !important;
  }
  .footer-brand img {
    width: 52px !important;
    height: 52px !important;
  }
  .footer-legal-note {
    margin-top: 22px !important;
  }
}


/* V25: clean homepage about section */
.about-clean-section {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

.about-clean-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

.about-clean-card h2 {
  max-width: 720px;
}

.about-clean-card .lead,
.about-clean-card .muted {
  max-width: 860px;
}

.about-clean-grid {
  margin-top: 22px;
}

@media (max-width: 720px) {
  .about-clean-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .about-clean-card {
    padding: 24px;
    border-radius: 24px;
  }
}
