/* =========================
   Service Pages Style
   لصفحات الأجهزة كلها
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Tahoma", "Arial", sans-serif;
  direction: rtl;
  background: #f6f8fb;
  color: #1f2937;
  margin: 0;
  line-height: 1.8;
  overflow-x: hidden;
}

body .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

body a {
  text-decoration: none;
}

/* =========================
   Page Hero
========================= */

.page-hero {
  position: relative;
  padding: 95px 0 85px;
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.94), rgba(13, 43, 78, 0.90)),
    radial-gradient(circle at 18% 25%, rgba(255, 138, 0, 0.32), transparent 28%);
  color: #ffffff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -90px;
  width: 260px;
  height: 260px;
  background: rgba(255, 138, 0, 0.18);
  border-radius: 50%;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -130px;
  right: -130px;
  width: 330px;
  height: 330px;
  background: rgba(255, 179, 87, 0.16);
  border-radius: 50%;
}

.page-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 800;
}

.breadcrumb a {
  color: #ffb357;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
}

.page-title h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 900;
}

.page-title p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================
   Sections
========================= */

.section {
  padding: 75px 0;
}

.section.light {
  background: #ffffff;
}

/* =========================
   Service Hero Card
========================= */

.service-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.content-box {
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff8a00;
  background: rgba(255, 138, 0, 0.12);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.content-box h2 {
  color: #071a2f;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 900;
}

.content-box p {
  color: #667085;
  font-size: 17px;
  line-height: 2;
  margin: 0 0 18px;
}

/* =========================
   Check List
========================= */

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #667085;
  font-size: 16px;
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.12);
  color: #ff8a00;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  font-weight: 900;
}

/* =========================
   Buttons
========================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn.primary {
  background: #ff8a00;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.28);
}

.btn.primary:hover {
  background: #d97706;
  transform: translateY(-3px);
}

.btn.outline,
.btn.secondary {
  background: #ffffff;
  color: #071a2f;
  border: 1px solid #e7edf5;
  box-shadow: 0 12px 28px rgba(7, 26, 47, 0.08);
}

.btn.outline:hover,
.btn.secondary:hover {
  color: #ff8a00;
  transform: translateY(-3px);
}

/* =========================
   Big Image
   الصورة تملى البوكس كله
========================= */

.big-image {
  height: 430px;
  min-height: 430px;
  border-radius: 34px;
  background: #071a2f;
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.18);
  overflow: hidden;
  position: relative;
  padding: 0;
  display: block;
}

/* إخفاء كلمة خدمة منزلية */
.big-image::before {
  display: none;
}

/* الليبل السفلي فقط */
.big-image::after {
  content: "فحص + صيانة + متابعة";
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 26, 47, 0.62);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  z-index: 3;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.big-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* لو الصورة SVG أو أيقونة ومش عايزها تتقص، ضيف class logo-img للصورة */
.big-image img.logo-img {
  width: min(330px, 82%);
  height: auto;
  min-height: auto;
  max-height: 310px;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.25));
  margin: 55px auto 0;
}

/* =========================
   Section Head
========================= */

.section-head {
  text-align: center;
  margin-bottom: 38px;
}

.section-head h2 {
  color: #071a2f;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin: 0;
  font-weight: 900;
}

/* =========================
   Steps
========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(7, 26, 47, 0.07);
  transition: 0.25s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #071a2f;
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 16px;
}

.step h3 {
  color: #071a2f;
  font-size: 21px;
  margin: 0 0 8px;
  font-weight: 900;
}

.step p {
  color: #667085;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

/* =========================
   CTA
========================= */

.cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 138, 0, 0.24), transparent 28%),
    linear-gradient(135deg, #071a2f, #123b66);
  color: #ffffff;
  border-radius: 34px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.16);
}

.cta h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.4;
  margin: 0 0 8px;
  font-weight: 900;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin: 0;
}

.cta .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cta .btn.secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

/* =========================
   Tablet
========================= */

@media (max-width: 1050px) {
  .service-hero-card {
    grid-template-columns: 1fr;
  }

  .big-image {
    height: 380px;
    min-height: 380px;
  }

  .big-image img {
    min-height: 380px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 650px) {
  body .container {
    width: min(100%, calc(100% - 24px));
  }

  .page-hero {
    padding: 55px 0 45px;
  }

  .page-hero::before {
    width: 180px;
    height: 180px;
    top: -70px;
    left: -70px;
  }

  .page-hero::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    right: -90px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 7px 13px;
    gap: 6px;
    line-height: 1.7;
  }

  .page-title h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page-title p {
    font-size: 15px;
    line-height: 1.9;
    padding: 0 6px;
  }

  .section {
    padding: 42px 0;
  }

  .service-hero-card {
    gap: 24px;
  }

  .content-box {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .content-box h2 {
    font-size: 28px;
  }

  .content-box p {
    font-size: 15.5px;
  }

  .check-list li {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .big-image {
    height: 300px;
    min-height: 300px;
    border-radius: 24px;
  }

  .big-image img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
  }

  .big-image img.logo-img {
    width: min(240px, 78%);
    height: auto;
    min-height: auto;
    max-height: 200px;
    margin: 50px auto 0;
  }

  .big-image::after {
    bottom: 16px;
    left: 16px;
    font-size: 12px;
    padding: 8px 12px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 22px;
    border-radius: 20px;
  }

  .cta {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .cta h2 {
    font-size: 26px;
  }

  .cta p {
    font-size: 15.5px;
  }

  .cta .hero-actions {
    width: 100%;
  }
}

/* =========================
   Very Small Mobile
========================= */

@media (max-width: 390px) {
  body .container {
    width: min(100%, calc(100% - 18px));
  }

  .content-box {
    padding: 22px 14px;
  }

  .page-title h1 {
    font-size: 29px;
  }

  .content-box h2,
  .section-head h2 {
    font-size: 25px;
  }

  .big-image {
    height: 260px;
    min-height: 260px;
  }

  .big-image img {
    min-height: 260px;
  }
}