
:root {
  --primary: #0f5bc7;
  --primary-dark: #0a3f92;
  --accent: #f7a93b;
  --accent-soft: #fff3df;
  --text: #17212e;
  --muted: #586779;
  --surface: #ffffff;
  --surface-alt: #f4f8ff;
  --border: #e5ebf5;
  --success: #1d9a61;
  --shadow: 0 16px 40px rgba(12, 45, 108, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  background: #f6f9ff;
  color: var(--text);
  line-height: 1.7;
}
body[dir="rtl"] { direction: rtl; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-shell { min-height: 100vh; }
main {
  display: block;
  width: 100%;
  padding-bottom: 60px;
}
.hero-copy {
  max-width: 760px;
}
.hero-copy h1,
.page-hero h1 {
  letter-spacing: -0.02em;
}
.hero-copy p,
.page-hero p,
.article-card p,
.article-card li {
  font-size: 1.03rem;
}
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar a { color: #fff; opacity: 0.9; }
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,60,127,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), #6cb2ff);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-size: 1.04rem;
  color: var(--text);
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--surface-alt);
  color: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.nav-actions .btn,
.btn-wide {
  min-width: 170px;
  padding-inline: 28px;
}
.btn-primary {
  background: linear-gradient(135deg, #0f5bc7, #1d8cf0);
  color: white;
  box-shadow: 0 14px 30px rgba(15,91,199,0.34);
  border: 1px solid rgba(255,255,255,0.26);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  box-shadow: 0 18px 32px rgba(15,91,199,0.42);
}
.btn-primary.track-phone,
a[href^="tel:"] {
  padding-inline-start: 16px;
}
a[href^="tel:"]::before {
  content: '📞';
  display: inline-block;
  margin-inline-end: 8px;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(-1px);
}
.btn-accent {
  background: linear-gradient(135deg, #ffb14a, var(--accent));
  color: #1d2d3b;
  box-shadow: 0 12px 25px rgba(247,169,59,0.28);
}
.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(15,91,199,0.15);
}
.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 88px;
    right: 16px;
    left: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px 16px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-wrap { position: relative; }
  .mobile-menu-button { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
}
.hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #f5f9ff 0%, #eef7ff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f2ff;
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-copy h1, .page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.18;
  margin: 0 0 14px;
}
.hero-copy p, .page-hero p {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 0.93rem;
}
.hero-card {
  background: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,91,199,0.08);
}
.service-badge {
  background: linear-gradient(135deg, var(--accent-soft), #edf5ff);
  border: 1px solid rgba(247,169,59,0.2);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.service-badge strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.hero-panel {
  background: linear-gradient(180deg, #eff6ff 0%, #fefefe 100%);
  border-radius: 26px;
  border: 1px solid rgba(15,91,199,0.08);
  padding: 22px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 600;
}
.checklist li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #ebf8ef;
  color: var(--success);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.section {
  padding: 72px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 580px;
}
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(18, 45, 84, 0.05);
  padding: 22px;
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  margin-bottom: 16px;
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.service-card p {
  margin: 0 0 16px;
  color: var(--muted);
}
.service-card ul {
  margin: 0;
  padding-right: 18px;
  color: var(--muted);
}
.service-card .card-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f4f8ff;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 700;
}
.info-box {
  background: #eef5ff;
  border: 1px solid #dfeeff;
  border-radius: 18px;
  padding: 22px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.problem-item {
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}
.problem-item strong { display: block; margin-bottom: 6px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.step {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 18px 18px;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  margin-bottom: 14px;
}
.area-card {
  background: linear-gradient(135deg, #edf5ff, #ffffff);
}
.brands-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 700;
  color: var(--text);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.quote { margin: 0 0 18px; color: var(--muted); }
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 16px;
}
.stars { color: #f5b21a; letter-spacing: 2px; }
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  appearance: none;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: right;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-item.open .faq-answer { max-height: 220px; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-question span:last-child {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.cta-panel {
  background: linear-gradient(135deg, var(--primary), #1a8de6);
  color: white;
  border-radius: 26px;
  padding: clamp(22px, 4vw, 38px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cta-panel p { margin: 0; color: rgba(255,255,255,0.9); }
.footer {
  background: #111827;
  color: rgba(255,255,255,0.86);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr 1.1fr;
  gap: 20px;
}
.footer h3, .footer h4 { color: white; margin: 0 0 15px; }
.footer p,.footer li,.footer a { color: rgba(255,255,255,0.78); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.page-hero {
  padding: 46px 0 20px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--primary); }
.content-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.article-card, .sticky-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(18,45,84,0.04);
  border-radius: 22px;
  padding: 26px;
}
.article-card h2, .article-card h3 {
  margin-top: 0;
}
.article-card p, .article-card li {
  color: var(--muted);
}
.article-card ul {
  padding-right: 20px;
}
.sticky-card {
  position: sticky;
  top: 110px;
}
.inline-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.contact-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 20px rgba(12,45,108,0.08);
  display: none;
}
.mobile-sticky-cta .cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.wa-mini-icon,
.wa-button-icon,
.floating-whatsapp img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.wa-button-icon {
  width: 24px;
  height: 24px;
}

.btn-accent.track-whatsapp,
.track-whatsapp.btn,
.track-whatsapp {
  background: white !important;
  color: #1d9a61 !important;
  border: 1px solid rgba(37, 211, 102, 0.4) !important;
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.1);
}

.floating-whatsapp {
  position: fixed;
  left: 22px;
  bottom: 90px;
  z-index: 1400;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(37, 211, 102, 0.8);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 32px rgba(37,211,102,0.2);
}

.floating-whatsapp img {
  width: 30px;
  height: 30px;
}
.trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.small-note { font-size: 0.85rem; opacity: 0.8; margin: 14px 0 0; }
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }
.related-link { display: block; font-weight: 700; color: var(--primary); padding: 14px; }
.related-link .card-img { margin-bottom: 10px; }
@media (max-width: 980px) {
  .hero-grid, .content-layout, .contact-grid, .grid-3, .grid-4, .grid-2, .footer-grid, .steps, .testimonials {
    grid-template-columns: 1fr;
  }
  .problem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 32px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .mobile-sticky-cta { display: block; }
  .floating-whatsapp { left: 18px; bottom: 96px; }
  .nav-wrap { gap: 8px; }
  .brand-text strong { font-size: 0.98rem; }
  .brand-text span { display: none; }
}
