/* =========================
   1. ألوان الهوية
========================= */

:root {
  --color-call: #40291c;
  --color-brown: #6e473b;
  --color-taupe: #a78d78;
  --color-gray-warm: #beb5a9;
  --color-cream: #e1d4c2;

  --color-background: #f8f3ed;
  --color-surface: #fffaf5;
  --color-white: #ffffff;

  --color-call: #40291c;
  --color-muted: #6e5f55;

  --color-call: #40291c;
  --color-call-hover: #52372a;

  --color-whatsapp: #6e473b;
  --color-whatsapp-hover: #54352c;

  --color-border: rgba(110, 71, 59, 0.2);
  --color-shadow: rgba(41, 28, 14, 0.16);
}


/* =========================
   2. إعدادات عامة
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

.container {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin-inline: auto;
}


/* =========================
   3. Header
========================= */

.site-header {
  position: relative;
  z-index: 20;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 15px 7px 15px 7px;
  color: var(--color-cream);
  background-color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(41, 28, 14, 0.15);
}

.brand-text {
  display: grid;
  min-width: 135px;
  line-height: 1.35;
}

.brand-text strong {
  color: var(--color-dark);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.header-contact {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding-inline: 15px;
  border: 1px solid var(--color-brown);
  border-radius: 11px;
  color: var(--color-brown);
  background-color: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.header-contact:hover {
  color: var(--color-white);
  background-color: var(--color-brown);
  transform: translateY(-2px);
}


/* =========================
   4. Hero
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px 64px;
  background:
    linear-gradient(
      145deg,
      var(--color-surface) 0%,
      #eee3d8 58%,
      var(--color-cream) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 46px;
  align-items: center;
}

.hero-text {
  text-align: right;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(110, 71, 59, 0.22);
  border-radius: 999px;
  color: var(--color-brown);
  background-color: rgba(255, 250, 245, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-taupe);
  box-shadow: 0 0 0 4px rgba(167, 141, 120, 0.18);
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--color-dark);
  font-size: clamp(2.15rem, 9vw, 4.5rem);
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero h1 span {
  display: block;
  color: var(--color-brown);
}

.hero-description {
  max-width: 650px;
  margin: 0 0 27px;
  color: var(--color-text);
  font-size: 1rem;
}

.hero-actions {
  display: grid;
  gap: 12px;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 14px;
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(41, 28, 14, 0.13);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(41, 28, 14, 0.2);
}

.button-call {
  background-color: var(--color-call);
}

.button-call:hover {
  background-color: var(--color-call-hover);
}

.button-whatsapp {
  background-color: var(--color-whatsapp);
}

.button-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
}

.button:active,
.header-contact:active,
.visual-note:active {
  transform: translateY(0);
}

.button:focus-visible,
.header-contact:focus-visible,
.visual-note:focus-visible {
  outline: 3px solid var(--color-taupe);
  outline-offset: 4px;
}

.hero-features {
  display: grid;
  gap: 8px;
  margin: 23px 0 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  list-style: none;
}

.hero-features li {
  position: relative;
  padding-right: 17px;
}

.hero-features li::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-taupe);
  content: "";
  transform: translateY(-50%);
}


/* =========================
   5. الجزء البصري
========================= */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  padding-bottom: 22px;
}

.visual-card {
  position: relative;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 30px 13px 30px 13px;
  background-color: rgba(255, 250, 245, 0.76);
  box-shadow: 0 24px 55px var(--color-shadow);
  transform: rotate(-1.2deg);
}

.furniture-placeholder {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 30px 24px;
  border-radius: 23px 8px 23px 8px;
  color: var(--color-cream);
  text-align: center;
  background:
    linear-gradient(
      145deg,
      var(--color-brown),
      var(--color-dark)
    );
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 60px;
  margin-bottom: 4px;
  border: 2px solid rgba(225, 212, 194, 0.76);
  border-radius: 22px 22px 10px 10px;
  color: var(--color-cream);
  font-size: 2.2rem;
}

.furniture-placeholder p {
  margin: 12px 0 3px;
  font-weight: 700;
}

.furniture-placeholder small {
  color: rgba(225, 212, 194, 0.82);
}

.visual-note {
  position: absolute;
  right: 12px;
  bottom: 0;
  appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  color: var(--color-dark);
  background-color: var(--color-surface);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 12px 30px var(--color-shadow);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.visual-note span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: var(--color-white);
  background-color: var(--color-taupe);
}

.visual-note:hover {
  color: var(--color-white);
  background-color: var(--color-brown);
  border-color: var(--color-brown);
  box-shadow: 0 16px 34px rgba(41, 28, 14, 0.23);
  transform: translateY(-3px);
}

.visual-note:hover span {
  color: var(--color-dark);
  background-color: var(--color-cream);
}


/* =========================
   6. زخارف الخلفية
========================= */

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-decoration-one {
  top: -95px;
  left: -85px;
  width: 245px;
  height: 245px;
  background-color: rgba(190, 181, 169, 0.25);
}

.hero-decoration-two {
  right: -100px;
  bottom: -135px;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(167, 141, 120, 0.13);
}


/* =========================
   7. شاشات الجوال الصغيرة
========================= */

@media (max-width: 430px) {
  .container {
    width: calc(100% - 24px);
  }

.brand-text strong {
  font-size: 1.3rem;
}

  .header-content {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text small {
  display: block;
  max-width: 125px;
  font-size: 0.65rem;
  white-space: nowrap;
}

  .header-contact {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding-block: 38px 54px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .furniture-placeholder {
    min-height: 280px;
  }
}


/* =========================
   8. الشاشات الأكبر
========================= */

@media (min-width: 700px) {
  .hero-actions {
    display: flex;
  }

  .button {
    width: auto;
    min-width: 190px;
  }

  .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
  }
}

@media (min-width: 900px) {
  .header-content {
    min-height: 82px;
  }

  .hero {
    min-height: calc(100vh - 82px);
    padding-block: 70px;
  }

  .hero-content {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 68px;
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .furniture-placeholder {
    min-height: 430px;
  }

  .visual-note {
    right: -8px;
  }
}


/* =========================
   9. تقليل الحركة
========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .header-contact,
  .visual-note {
    transition: none;
  }
}

/* إصلاح لون مكان الصورة المؤقت */
.furniture-placeholder {
  color: #fffaf5;
  background:
    linear-gradient(
      145deg,
      #6e473b 0%,
      #40291c 100%
    );
}

.furniture-placeholder p {
  color: #fffaf5;
}

.furniture-placeholder small {
  color: rgba(255, 250, 245, 0.78);
}

.placeholder-icon {
  color: #e1d4c2;
  border-color: rgba(225, 212, 194, 0.78);
}

/* =========================
   10. قسم الخدمات
========================= */

.services {
  position: relative;
  padding-block: 72px;
  background-color: var(--color-background);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-label {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 5px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-brown);
  background-color: var(--color-surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0 0 14px;
  color: var(--color-dark);
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  line-height: 1.35;
}

.section-description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 22px 10px 22px 10px;
  background-color: var(--color-surface);
  box-shadow: 0 12px 32px rgba(64, 41, 28, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card::after {
  position: absolute;
  bottom: -55px;
  left: -55px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background-color: rgba(167, 141, 120, 0.12);
  content: "";
}

.service-card:hover {
  border-color: rgba(110, 71, 59, 0.38);
  box-shadow: 0 18px 40px rgba(64, 41, 28, 0.14);
  transform: translateY(-5px);
}

.service-number {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(110, 71, 59, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 17px 7px 17px 7px;
  color: var(--color-surface);
  background:
    linear-gradient(
      145deg,
      var(--color-brown),
      var(--color-dark)
    );
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 9px 20px rgba(64, 41, 28, 0.16);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--color-dark);
  font-size: 1.15rem;
  line-height: 1.5;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}


/* جهاز لوحي وشاشات متوسطة */
@media (min-width: 650px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* شاشات الكمبيوتر */
@media (min-width: 1000px) {
  .services {
    padding-block: 90px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}


/* إلغاء حركة البطاقات عند طلب تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
}

/* =========================
   11. قسم لماذا يتواصل معنا؟
========================= */

.why-us {
  position: relative;
  padding-block: 72px;
  color: var(--color-surface);
  background: linear-gradient(
    145deg,
    #6e473b 0%,
    #40291c 100%
  );
}

.why-us-layout {
  display: grid;
  gap: 42px;
}

.why-us-intro h2 {
  max-width: 600px;
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.35;
}

.why-us-intro > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 245, 0.78);
}

.section-label-right {
  margin-right: 0;
  margin-left: 0;
  color: var(--color-cream);
  background-color: rgba(255, 250, 245, 0.08);
  border-color: rgba(255, 250, 245, 0.18);
}

.why-us-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 600px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 245, 0.16);
  border-radius: 18px 8px 18px 8px;
  background-color: rgba(255, 250, 245, 0.08);
}

.why-us-highlight span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #40291c;
  background-color: var(--color-cream);
  font-weight: 700;
}

.why-us-highlight p {
  margin: 0;
  color: var(--color-white);
  font-size: 0.92rem;
}

.benefits-list {
  display: grid;
  gap: 14px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 250, 245, 0.14);
  border-radius: 18px 8px 18px 8px;
  background-color: rgba(255, 250, 245, 0.07);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.benefit-item:hover {
  border-color: rgba(255, 250, 245, 0.3);
  background-color: rgba(255, 250, 245, 0.12);
  transform: translateY(-3px);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px 6px 15px 6px;
  color: #40291c;
  background-color: var(--color-cream);
  font-size: 0.78rem;
  font-weight: 700;
}

.benefit-item h3 {
  margin: 0 0 5px;
  color: var(--color-white);
  font-size: 1rem;
}

.benefit-item p {
  margin: 0;
  color: rgba(255, 250, 245, 0.7);
  font-size: 0.88rem;
}


/* =========================
   12. قسم خطوات العملية
========================= */

.process {
  padding-block: 72px;
  background-color: var(--color-surface);
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process-counter;
}

.process-step {
  position: relative;
  padding-right: 68px;
  counter-increment: process-counter;
}

.process-step::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px 6px 15px 6px;
  color: var(--color-white);
  background: linear-gradient(
    145deg,
    var(--color-brown),
    #40291c
  );
  font-size: 0.85rem;
  font-weight: 700;
  content: counter(process-counter, decimal-leading-zero);
  box-shadow: 0 8px 20px rgba(64, 41, 28, 0.15);
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 50px;
  right: 22px;
  width: 2px;
  height: calc(100% - 26px);
  background-color: var(--color-cream);
  content: "";
}

.process-step-content {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 18px 8px 18px 8px;
  background-color: var(--color-background);
}

.process-step-content h3 {
  margin: 0 0 7px;
  color: var(--color-dark);
  font-size: 1.05rem;
}

.process-step-content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}


/* =========================
   13. الشاشات الأكبر
========================= */

@media (min-width: 800px) {
  .why-us {
    padding-block: 90px;
  }

  .why-us-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
  }

  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    padding-block: 90px;
  }

  .process-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .process-step {
    padding-top: 68px;
    padding-right: 0;
  }

  .process-step::before {
    top: 0;
    right: 50%;
    transform: translateX(50%);
  }

  .process-step:not(:last-child)::after {
    top: 22px;
    right: calc(50% + 24px);
    width: calc(100% - 34px);
    height: 2px;
  }

  .process-step-content {
    height: 100%;
    min-height: 210px;
  }
}


/* =========================
   14. تقليل الحركة
========================= */

@media (prefers-reduced-motion: reduce) {
  .benefit-item {
    transition: none;
  }
}

/* =========================
   15. CTA النهائي
========================= */

.final-cta {
  padding-block: 72px;
  background-color: var(--color-background);
}

.final-cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 30px;
  padding: 32px 24px;
  border-radius: 30px 12px 30px 12px;
  color: var(--color-white);
  background: linear-gradient(
    145deg,
    #6e473b 0%,
    #40291c 100%
  );
  box-shadow: 0 24px 55px rgba(64, 41, 28, 0.18);
}

.final-cta-box::before {
  position: absolute;
  top: -80px;
  left: -70px;
  width: 190px;
  height: 190px;
  border: 35px solid rgba(255, 250, 245, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-cta-box::after {
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color: rgba(225, 212, 194, 0.08);
  content: "";
  pointer-events: none;
}

.final-cta-text,
.final-cta-actions {
  position: relative;
  z-index: 1;
}

.final-cta-label {
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 250, 245, 0.2);
  border-radius: 999px;
  color: var(--color-cream);
  background-color: rgba(255, 250, 245, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.final-cta-text h2 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  line-height: 1.35;
}

.final-cta-text > p:last-child {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 250, 245, 0.77);
}

.final-cta-actions {
  display: grid;
  gap: 12px;
}

.final-call-button {
  color: #40291c;
  background-color: var(--color-cream);
}

.final-call-button:hover {
  color: #40291c;
  background-color: var(--color-white);
}

.final-whatsapp-button {
  border-color: rgba(255, 250, 245, 0.42);
  background-color: transparent;
}

.final-whatsapp-button:hover {
  color: #40291c;
  background-color: var(--color-white);
}


/* =========================
   16. Footer
========================= */

.site-footer {
  padding-top: 50px;
  color: rgba(255, 250, 245, 0.76);
  background-color: #332117;
}

.footer-content {
  display: grid;
  gap: 34px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.footer-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 16px 7px 16px 7px;
  color: #40291c;
  background-color: var(--color-cream);
  font-weight: 700;
}

.footer-business-name {
  margin: 0 0 3px;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-business-description {
  margin: 0;
  font-size: 0.86rem;
}

.footer-contact {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.footer-contact p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-contact-button {
  appearance: none;
  padding: 0;
  border: 0;
  color: var(--color-cream);
  background-color: transparent;
  font: inherit;
  font-size: 0.88rem;
  text-align: right;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-contact-button:hover {
  color: var(--color-white);
  transform: translateX(-3px);
}

.footer-contact-button:focus-visible {
  outline: 3px solid var(--color-taupe);
  outline-offset: 4px;
}

.footer-bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 250, 245, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}


/* =========================
   17. شريط التواصل للجوال
========================= */

.mobile-contact-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding:
    10px
    12px
    calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  background-color: rgba(255, 250, 245, 0.96);
  box-shadow: 0 -10px 30px rgba(64, 41, 28, 0.15);
  backdrop-filter: blur(10px);
}

.mobile-contact-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 9px 10px;
  border: 0;
  border-radius: 13px;
  color: var(--color-white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-call-button {
  background-color: #40291c;
}

.mobile-whatsapp-button {
  background-color: var(--color-brown);
}

.mobile-contact-button:focus-visible {
  outline: 3px solid var(--color-taupe);
  outline-offset: 2px;
}


/* يمنع شريط الجوال من تغطية Footer */
body {
  padding-bottom: 82px;
}


/* =========================
   18. تحسينات الشاشات الأكبر
========================= */

@media (min-width: 750px) {
  .final-cta-box {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    padding: 55px;
  }

  .final-cta-actions {
    justify-self: stretch;
  }

  .footer-content {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-contact {
    justify-items: end;
    text-align: left;
  }

  .footer-contact-button {
    text-align: left;
  }

  .mobile-contact-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}


/* =========================
   19. تقليل الحركة
========================= */

@media (prefers-reduced-motion: reduce) {
  .footer-contact-button {
    transition: none;
  }
}

/* تحسين هوية الدار داخل Footer */

.footer-business-name {
  margin: 0 0 5px;
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.footer-business-description {
  margin: 0;
  color: rgba(255, 250, 245, 0.72);
  font-size: 0.84rem;
}

.footer-logo {
  position: relative;
  display: grid;
  place-items: end center;
  flex-shrink: 0;
  width: 58px;
  height: 54px;
  padding-bottom: 7px;
  border-radius: 8px;
  color: #40291c;
  background-color: transparent;
}

.footer-roof {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-top: 5px solid var(--color-cream);
  border-right: 5px solid var(--color-cream);
  transform: translateX(-50%) rotate(-45deg);
}

.footer-sofa {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 20px;
  border-radius: 8px 8px 4px 4px;
  color: #40291c;
  background-color: var(--color-cream);
  font-size: 1rem;
  font-weight: 900;
}

.footer-location {
  color: rgba(255, 250, 245, 0.72);
}

/* =========================
   شعار الدار أعلى الصفحة
   يعتمد على نفس شعار Footer
========================= */

.header-brand-logo {
  width: 58px;
  height: 54px;
  padding-bottom: 7px;
}

/* لون سقف المنزل في Header */
.header-brand-logo .footer-roof {
  border-top-color: var(--color-dark);
  border-right-color: var(--color-dark);
}

/* لون الأثاث في Header */
.header-brand-logo .footer-sofa {
  color: var(--color-cream);
  background-color: var(--color-dark);
  box-shadow: 0 5px 12px rgba(64, 41, 28, 0.14);
}

/* تقريب الشعار من اسم الدار */
.brand {
  gap: 8px;
}

@media (max-width: 430px) {
  .header-brand-logo {
    width: 50px;
    height: 48px;
    padding-bottom: 6px;
  }

  .header-brand-logo .footer-roof {
    top: 7px;
    width: 30px;
    height: 30px;
    border-top-width: 4px;
    border-right-width: 4px;
  }

  .header-brand-logo .footer-sofa {
    width: 31px;
    height: 19px;
    font-size: 0.85rem;
  }
}

/* =========================
   Header النهائي وهوية الدار
========================= */

.site-header {
  position: relative;
  z-index: 20;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand-text strong {
  color: var(--color-dark);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-text small {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}


/* =========================
   رمز البيت والكنبة
========================= */

.house-logo {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 58px;
}

/* السقف البني الغامق */
.house-roof {
  position: absolute;
  top: 2px;
  right: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-top: 7px solid #40291c;
  border-right: 7px solid #40291c;
  border-radius: 3px;
  transform: translateX(50%) rotate(-45deg);
}

/* جسم البيت بلون بني فاتح */
.house-body {
  position: absolute;
  right: 50%;
  bottom: 1px;
  z-index: 2;
  display: block;
  width: 43px;
  height: 36px;
  border: 3px solid #40291c;
  border-top: 0;
  border-radius: 3px 3px 10px 10px;
  background-color: #e1d4c2;
  transform: translateX(50%);
  box-shadow: 0 7px 16px rgba(64, 41, 28, 0.15);
}

/* نافذة صغيرة لتوضيح أنه منزل */
.house-window {
  position: absolute;
  top: 5px;
  right: 50%;
  width: 10px;
  height: 9px;
  border-radius: 2px;
  background:
    linear-gradient(
      90deg,
      #40291c 44%,
      transparent 44%,
      transparent 56%,
      #40291c 56%
    );
  transform: translateX(50%);
}

/* الكنبة باللون البني المتوسط */
.house-sofa {
  position: absolute;
  right: 50%;
  bottom: 4px;
  width: 30px;
  height: 13px;
  border: 2px solid #40291c;
  border-radius: 7px 7px 3px 3px;
  background-color: #a78d78;
  transform: translateX(50%);
}

/* مسندا الكنبة */
.house-sofa::before,
.house-sofa::after {
  position: absolute;
  bottom: -2px;
  width: 6px;
  height: 10px;
  border-radius: 5px 5px 2px 2px;
  background-color: #6e473b;
  content: "";
}

.house-sofa::before {
  right: -4px;
}

.house-sofa::after {
  left: -4px;
}


/* =========================
   زر الاتصال في Header
========================= */

.header-contact {
  appearance: none;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid var(--color-brown);
  border-radius: 12px;
  color: var(--color-brown);
  background-color: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.header-contact:hover {
  color: var(--color-white);
  background-color: var(--color-brown);
  transform: translateY(-2px);
}

.header-contact:focus-visible {
  outline: 3px solid var(--color-taupe);
  outline-offset: 3px;
}


/* =========================
   Header على الجوال
========================= */

@media (max-width: 430px) {
  .header-content {
    min-height: 76px;
    gap: 10px;
  }

  .brand {
    gap: 7px;
  }

  .house-logo {
    width: 52px;
    height: 49px;
  }

  .house-roof {
    top: 3px;
    width: 34px;
    height: 34px;
    border-top-width: 5px;
    border-right-width: 5px;
  }

  .house-body {
    width: 36px;
    height: 30px;
    border-width: 2px;
    border-top: 0;
  }

  .house-window {
    top: 4px;
    width: 8px;
    height: 7px;
  }

  .house-sofa {
    bottom: 3px;
    width: 25px;
    height: 11px;
    border-width: 1px;
  }

  .house-sofa::before,
  .house-sofa::after {
    width: 5px;
    height: 8px;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .brand-text small {
    margin-top: 4px;
    font-size: 0.61rem;
  }

  .header-contact {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.8rem;
  }
}

/* =========================
   توحيد شعار Footer مع Header
========================= */

.footer-house-logo {
  width: 64px;
  height: 58px;
}

/* سقف البيت داخل Footer */
.footer-house-logo .house-roof {
  border-top-color: #e1d4c2;
  border-right-color: #e1d4c2;
}

/* جسم البيت داخل Footer */
.footer-house-logo .house-body {
  border-color: #e1d4c2;
  border-top: 0;
  background-color: #6e473b;
  box-shadow: none;
}

/* نافذة البيت داخل Footer */
.footer-house-logo .house-window {
  background:
    linear-gradient(
      90deg,
      #e1d4c2 44%,
      transparent 44%,
      transparent 56%,
      #e1d4c2 56%
    );
}

/* الكنبة داخل Footer */
.footer-house-logo .house-sofa {
  border-color: #e1d4c2;
  background-color: #a78d78;
}

/* جوانب الكنبة داخل Footer */
.footer-house-logo .house-sofa::before,
.footer-house-logo .house-sofa::after {
  background-color: #e1d4c2;
}

@media (max-width: 430px) {
  .footer-house-logo {
    width: 52px;
    height: 49px;
  }
}

/* جعل شعار Footer مطابقًا لشعار Header */

.footer-house-logo {
  width: 64px;
  height: 58px;
}

/* السقف */
.footer-house-logo .house-roof {
  border-top-color: #e1d4c2;
  border-right-color: #e1d4c2;
}

/* جسم البيت */
.footer-house-logo .house-body {
  border-color: #e1d4c2;
  border-top: 0;
  background-color: #6e473b;
  box-shadow: none;
}

/* نافذة البيت */
.footer-house-logo .house-window {
  background: linear-gradient(
    90deg,
    #e1d4c2 44%,
    transparent 44%,
    transparent 56%,
    #e1d4c2 56%
  );
}

/* الكنبة */
.footer-house-logo .house-sofa {
  border-color: #e1d4c2;
  background-color: #a78d78;
}

/* جوانب الكنبة */
.footer-house-logo .house-sofa::before,
.footer-house-logo .house-sofa::after {
  background-color: #e1d4c2;
}

@media (max-width: 430px) {
  .footer-house-logo {
    width: 52px;
    height: 49px;
  }
}

/* =========================
   صورة الواجهة الرئيسية
========================= */

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  border-radius: 23px 8px 23px 8px;
  object-fit: contain;
  background-color: var(--color-surface);
}

.visual-card {
  overflow: hidden;
}

/* =========================
   صورة شعار الدار في Header
========================= */

.brand-image-logo {
  flex-shrink: 0;
  width: 76px;
  height: 58px;
  border: 1px solid rgba(110, 71, 59, 0.18);
  border-radius: 16px 7px 16px 7px;
  background-color: #fffaf5;
  background-image: url("images/aldar-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: 0 7px 16px rgba(64, 41, 28, 0.12);
  background-image: url("images/aldar-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 175%;
}

.brand {
  gap: 10px;
}

@media (max-width: 430px) {
.brand-image-logo {
  width: 72px;
  height: 52px;
  border-radius: 12px 6px 12px 6px;
  background-size: 175%;
}

  .brand {
    gap: 7px;
  }
}

/* صورة هوية الدار داخل Footer */

.footer-image-logo {
  flex-shrink: 0;
  width: 100px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(225, 212, 194, 0.3);
  border-radius: 18px 8px 18px 8px;
  background-color: #fffaf5;
  background-image: url("images/aldar-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 175%;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.18);
}

@media (max-width: 430px) {
  .footer-image-logo {
    width: 82px;
    height: 60px;
    border-radius: 14px 7px 14px 7px;
    background-size: 175%;
  }
}

/* صورة شعار الدار في Header وFooter */

.brand-logo-image,
.footer-logo-image {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 58px;
  object-fit: contain;
}

/* خلفية Header فاتحة، لذلك لا نحتاج إطارًا كبيرًا */
.brand-logo-image {
  border-radius: 8px;
}

/* خلفية Footer داكنة */
.footer-logo-image {
  border-radius: 8px;
  background-color: #fffaf5;
}

/* ضبط الحجم على الجوال */
@media (max-width: 430px) {
  .brand-logo-image,
  .footer-logo-image {
    width: 52px;
    height: 49px;
  }
}

/* =========================
   الضبط النهائي لصورة شعار الدار
   لا تحذف أي قواعد سابقة
========================= */

/* الإعدادات المشتركة للشعارين */
.brand-logo-image,
.footer-logo-image {
  display: block !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  object-position: center 38% !important;
  overflow: hidden !important;
  border-radius: 14px 7px 14px 7px !important;
  background-color: #fffaf5 !important;
}

/* شعار بداية الصفحة */
.brand-logo-image {
  width: 84px !important;
  height: 64px !important;
  border: 1px solid rgba(110, 71, 59, 0.16) !important;
  box-shadow: 0 6px 16px rgba(64, 41, 28, 0.12) !important;
}

/* شعار نهاية الصفحة */
.footer-logo-image {
  width: 92px !important;
  height: 70px !important;
  border: 1px solid rgba(225, 212, 194, 0.3) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

/* ضبط الشعارين على الجوال */
@media (max-width: 430px) {
  .brand-logo-image {
    width: 68px !important;
    height: 52px !important;
    object-position: center 38% !important;
  }

  .footer-logo-image {
    width: 78px !important;
    height: 58px !important;
    object-position: center 38% !important;
  }
}

/* الضبط النهائي للشعار المقصوص */

.brand-logo-image {
  display: block;
  flex-shrink: 0;
  width: 72px;
  height: 62px;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  border: 1px solid rgba(110, 71, 59, 0.16);
  border-radius: 14px 7px 14px 7px;
  background-color: #fffaf5;
  box-shadow: 0 5px 14px rgba(64, 41, 28, 0.1);
}

.footer-logo-image {
  display: block;
  flex-shrink: 0;
  width: 78px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  border: 1px solid rgba(225, 212, 194, 0.3);
  border-radius: 14px 7px 14px 7px;
  background-color: #fffaf5;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

@media (max-width: 430px) {
  .brand-logo-image {
    width: 62px;
    height: 54px;
  }

  .footer-logo-image {
    width: 70px;
    height: 60px;
  }
}

/* =========================
   العرض النهائي لشعار الدار
   باستخدام دمج الصورة مع الخلفية
========================= */

.brand-logo-box,
.footer-logo-box {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px 7px 14px 7px;

  background-color: #fffaf5;
  background-image: url("images/aldar-logo-clean.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 112%;

  /*
    يجعل الأبيض الموجود في الصورة يندمج
    مع الخلفية الكريمية بدل ظهوره كخطوط حادة
  */
  background-blend-mode: multiply;
}

/* شعار بداية الصفحة */
.brand-logo-box {
  width: 78px;
  height: 64px;
  border: 1px solid rgba(110, 71, 59, 0.16);
  box-shadow: 0 5px 14px rgba(64, 41, 28, 0.1);
}

/* شعار نهاية الصفحة */
.footer-logo-box {
  width: 86px;
  height: 70px;
  border: 1px solid rgba(225, 212, 194, 0.28);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

/* مقاسات الجوال */
@media (max-width: 430px) {
  .brand-logo-box {
    width: 68px;
    height: 56px;
    background-size: 115%;
  }

  .footer-logo-box {
    width: 76px;
    height: 62px;
    background-size: 115%;
  }
}

/* =========================
   شعار الدار النهائي بالكود
========================= */

.aldar-code-logo {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(110, 71, 59, 0.18);
  border-radius: 16px 8px 16px 8px;
  background-color: #fffaf5;
  box-shadow: 0 6px 16px rgba(64, 41, 28, 0.12);
}


/* سقف المنزل من خطين كاملين */

.aldar-code-roof {
  position: absolute;
  top: 8px;
  right: 50%;
  z-index: 3;
  width: 48px;
  height: 28px;
  transform: translateX(50%);
}

.aldar-code-roof::before,
.aldar-code-roof::after {
  position: absolute;
  top: 8px;
  width: 32px;
  height: 6px;
  border-radius: 5px;
  background-color: #40291c;
  content: "";
}

.aldar-code-roof::before {
  right: 23px;
  transform: rotate(-39deg);
  transform-origin: left center;
}

.aldar-code-roof::after {
  left: 23px;
  transform: rotate(39deg);
  transform-origin: right center;
}


/* جسم المنزل */

.aldar-code-home {
  position: absolute;
  right: 50%;
  bottom: 6px;
  z-index: 2;
  width: 48px;
  height: 35px;
  border: 3px solid #40291c;
  border-top: 0;
  border-radius: 3px 3px 9px 9px;
  background-color: #e1d4c2;
  transform: translateX(50%);
}


/* نافذة صغيرة */

.aldar-code-window {
  position: absolute;
  top: 5px;
  right: 50%;
  width: 10px;
  height: 9px;
  border: 2px solid #6e473b;
  border-radius: 2px;
  transform: translateX(50%);
}

.aldar-code-window::before,
.aldar-code-window::after {
  position: absolute;
  background-color: #6e473b;
  content: "";
}

.aldar-code-window::before {
  top: 50%;
  right: 0;
  width: 100%;
  height: 1px;
}

.aldar-code-window::after {
  top: 0;
  right: 50%;
  width: 1px;
  height: 100%;
}


/* الكنبة */

.aldar-code-sofa {
  position: absolute;
  right: 50%;
  bottom: 5px;
  width: 31px;
  height: 14px;
  border: 2px solid #40291c;
  border-radius: 8px 8px 4px 4px;
  background-color: #a78d78;
  transform: translateX(50%);
}

.aldar-code-sofa::before,
.aldar-code-sofa::after {
  position: absolute;
  bottom: -3px;
  width: 7px;
  height: 11px;
  border: 2px solid #40291c;
  border-radius: 6px 6px 3px 3px;
  background-color: #6e473b;
  content: "";
}

.aldar-code-sofa::before {
  right: -6px;
}

.aldar-code-sofa::after {
  left: -6px;
}


/* نسخة الشعار داخل Footer */

.aldar-code-logo-footer {
  width: 78px;
  height: 66px;
  border-color: rgba(225, 212, 194, 0.32);
  background-color: #fffaf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* مقاسات الجوال */

@media (max-width: 430px) {
  .aldar-code-logo {
    width: 64px;
    height: 56px;
  }

  .aldar-code-logo-footer {
    width: 70px;
    height: 60px;
  }
}

/* ضبط السقف حتى يظهر كاملًا داخل الشعار */

.aldar-code-roof {
  top: 12px;
  transform: translateX(50%) scale(0.88);
  transform-origin: top center;
}

.aldar-code-home {
  bottom: 5px;
  transform: translateX(50%) scale(0.92);
  transform-origin: bottom center;
}

/* =========================
   الشكل النهائي لشعار الدار
   خلفية شفافة + سقف مثلث كامل
========================= */

/* إزالة البطاقة البيضاء والإطار والظل */
.aldar-code-logo,
.aldar-code-logo-footer {
  position: relative !important;
  width: 72px !important;
  height: 64px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* السقف: مثلث بني كامل */
.aldar-code-roof {
  position: absolute !important;
  top: 1px !important;
  right: 50% !important;
  z-index: 1 !important;

  width: 58px !important;
  height: 35px !important;

  background-color: #40291c !important;

  clip-path: polygon(
    50% 0%,
    100% 100%,
    0% 100%
  ) !important;

  transform: translateX(50%) !important;
}


/* إلغاء خطي السقف القديمين */
.aldar-code-roof::before,
.aldar-code-roof::after {
  display: none !important;
  content: none !important;
}


/* جسم البيت ينزل فوق الجزء السفلي من المثلث */
.aldar-code-home {
  position: absolute !important;
  right: 50% !important;
  bottom: 2px !important;
  z-index: 2 !important;

  width: 46px !important;
  height: 36px !important;

  border: 3px solid #40291c !important;
  border-top: 0 !important;
  border-radius: 2px 2px 8px 8px !important;

  background-color: #e1d4c2 !important;

  transform: translateX(50%) !important;
  box-shadow: none !important;
}


/* النافذة */
.aldar-code-window {
  position: absolute !important;
  top: 5px !important;
  right: 50% !important;

  width: 10px !important;
  height: 9px !important;

  border: 2px solid #6e473b !important;
  border-radius: 2px !important;

  background-color: transparent !important;

  transform: translateX(50%) !important;
}

/* =========================
   التصحيح النهائي لشعار الدار
   سقف منزل أمريكي واضح
========================= */

/* مساحة الشعار شفافة بالكامل */
.aldar-code-logo,
.aldar-code-logo-footer {
  position: relative !important;
  width: 76px !important;
  height: 68px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* =========================
   سقف المنزل الأمريكي
========================= */

.aldar-code-roof {
  position: absolute !important;
  top: 3px !important;
  right: 50% !important;
  z-index: 3 !important;

  display: block !important;
  width: 62px !important;
  height: 36px !important;

  border: 0 !important;
  border-bottom: 6px solid #40291c !important;
  border-radius: 0 !important;

  background: transparent !important;
  clip-path: none !important;

  transform: translateX(50%) !important;
}


/* خطا السقف المائلان */
.aldar-code-roof::before,
.aldar-code-roof::after {
  position: absolute !important;
  top: 15px !important;

  display: block !important;
  width: 39px !important;
  height: 6px !important;

  border: 0 !important;
  border-radius: 6px !important;

  background-color: #40291c !important;

  content: "" !important;
}


/* الجهة اليمنى من السقف */
.aldar-code-roof::before {
  right: 29px !important;

  transform: rotate(-39deg) !important;
  transform-origin: left center !important;
}


/* الجهة اليسرى من السقف */
.aldar-code-roof::after {
  left: 29px !important;

  transform: rotate(39deg) !important;
  transform-origin: right center !important;
}


/* =========================
   جسم المنزل
========================= */

.aldar-code-home {
  position: absolute !important;
  right: 50% !important;
  bottom: 1px !important;
  z-index: 2 !important;

  width: 47px !important;
  height: 37px !important;

  border: 3px solid #40291c !important;
  border-top: 0 !important;
  border-radius: 2px 2px 8px 8px !important;

  background-color: #e1d4c2 !important;

  transform: translateX(50%) !important;
  box-shadow: none !important;
}


/* =========================
   النافذة
========================= */

.aldar-code-window {
  position: absolute !important;
  top: 5px !important;
  right: 50% !important;

  width: 10px !important;
  height: 9px !important;

  border: 2px solid #6e473b !important;
  border-radius: 2px !important;

  background-color: transparent !important;

  transform: translateX(50%) !important;
}


/* =========================
   الكنبة
========================= */

.aldar-code-sofa {
  position: absolute !important;
  right: 50% !important;
  bottom: 5px !important;

  width: 31px !important;
  height: 14px !important;

  border: 2px solid #40291c !important;
  border-radius: 8px 8px 4px 4px !important;

  background-color: #a78d78 !important;

  transform: translateX(50%) !important;
}


/* جوانب الكنبة */
.aldar-code-sofa::before,
.aldar-code-sofa::after {
  bottom: -3px !important;

  width: 7px !important;
  height: 11px !important;

  border: 2px solid #40291c !important;
  background-color: #6e473b !important;
}


/* =========================
   ألوان شعار Footer
   درجات فاتحة لتظهر على البني الداكن
========================= */

.aldar-code-logo-footer .aldar-code-roof {
  border-bottom-color: #d9bea7 !important;
}

.aldar-code-logo-footer .aldar-code-roof::before,
.aldar-code-logo-footer .aldar-code-roof::after {
  background-color: #d9bea7 !important;
}

.aldar-code-logo-footer .aldar-code-home {
  border-color: #d9bea7 !important;
  border-top: 0 !important;
  background-color: #6e473b !important;
}

.aldar-code-logo-footer .aldar-code-window {
  border-color: #e1d4c2 !important;
}

.aldar-code-logo-footer .aldar-code-window::before,
.aldar-code-logo-footer .aldar-code-window::after {
  background-color: #e1d4c2 !important;
}

.aldar-code-logo-footer .aldar-code-sofa {
  border-color: #e1d4c2 !important;
  background-color: #a78d78 !important;
}

.aldar-code-logo-footer .aldar-code-sofa::before,
.aldar-code-logo-footer .aldar-code-sofa::after {
  border-color: #e1d4c2 !important;
  background-color: #8f6657 !important;
}


/* =========================
   مقاسات الجوال
========================= */

@media (max-width: 430px) {
  .aldar-code-logo {
    width: 68px !important;
    height: 61px !important;
  }

  .aldar-code-logo-footer {
    width: 72px !important;
    height: 64px !important;
  }

  .aldar-code-roof {
    top: 3px !important;
    width: 56px !important;
    height: 32px !important;
    border-bottom-width: 5px !important;
  }

  .aldar-code-roof::before,
  .aldar-code-roof::after {
    top: 13px !important;
    width: 35px !important;
    height: 5px !important;
  }

  .aldar-code-roof::before {
    right: 26px !important;
  }

  .aldar-code-roof::after {
    left: 26px !important;
  }

  .aldar-code-home {
    width: 43px !important;
    height: 34px !important;
  }
}

/* =========================
   شعار الدار الأصلي
   SVG موحد أعلى وأسفل الموقع
========================= */

.aldar-original-logo {
  display: block;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  overflow: visible;
  color: #40291c;
}

/* سقف المنزل وجدرانه */
.aldar-original-roof,
.aldar-original-house {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* جسم الكنبة */
.aldar-original-sofa {
  fill: #a78d78;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linejoin: round;
}

/* جانبا الكنبة */
.aldar-original-sofa-arms {
  fill: #6e473b;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linejoin: round;
}

/* خط المقعد */
.aldar-original-seat {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

/* أرجل الكنبة */
.aldar-original-legs {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
}

/* الشعار الموجود على خلفية Footer الداكنة */
.aldar-original-logo-footer {
  width: 72px;
  height: 72px;
  color: #e1d4c2;
}

.aldar-original-logo-footer .aldar-original-sofa {
  fill: #a78d78;
  stroke: #e1d4c2;
}

.aldar-original-logo-footer .aldar-original-sofa-arms {
  fill: #8f6657;
  stroke: #e1d4c2;
}

.aldar-original-logo-footer .aldar-original-seat,
.aldar-original-logo-footer .aldar-original-legs {
  stroke: #e1d4c2;
}

/* الجوال */
@media (max-width: 430px) {
  .aldar-original-logo {
    width: 58px;
    height: 58px;
  }

  .aldar-original-logo-footer {
    width: 64px;
    height: 64px;
  }
}

/* =========================
   إصلاح رموز بطاقات الخدمات
========================= */

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid rgba(64, 41, 28, 0.12);
  border-radius: 17px 7px 17px 7px;
  color: #fffaf5;
  background:
    linear-gradient(
      145deg,
      #6e473b 0%,
      #40291c 100%
    );
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 9px 20px rgba(64, 41, 28, 0.16);
}

/* =========================
   ترقيم بطاقات الخدمات تلقائيًا
========================= */

/* بدء عداد بطاقات الخدمات */
.services-grid {
  counter-reset: service-card-counter;
}

/* زيادة الرقم مع كل بطاقة */
.service-card {
  counter-increment: service-card-counter;
}

/* إخفاء الرقم الصغير القديم في زاوية البطاقة */
.service-number {
  display: none;
}

/* تحويل مربع الحرف إلى دائرة مرقمة */
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 50%;
  color: transparent;
  background:
    linear-gradient(
      145deg,
      #6e473b 0%,
      #40291c 100%
    );
  font-size: 0;
  box-shadow: 0 9px 20px rgba(64, 41, 28, 0.16);
}

/* عرض الرقم التلقائي داخل الدائرة */
.service-icon::before {
  color: #fffaf5;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
content: counter(service-card-counter);
}

/* ضبط تمركز أرقام الخدمات داخل الدوائر */

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.service-icon::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #fffaf5;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  transform: translateY(1px);
}