/* ============================================================
   SmartLab — style.css
   مبني على الهوية البصرية في SmartLab-Master-Guide.md
   ============================================================ */

:root {
  /* الألوان الأساسية */
  --lab-blue: #2D7FF9;
  --lab-blue-dark: #1B62D6;
  --deep-navy: #131B33;
  --gradient: linear-gradient(135deg, #4DA3FF 0%, #1C2E5E 100%);

  /* الألوان الثانوية */
  --sky-tint: #EAF2FE;
  --slate-gray: #5A6478;
  --cloud-white: #F8FAFC;
  --night-surface: #0C1226;

  /* قواعد التصميم الموحدة */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 16px rgba(19, 27, 51, 0.08);
  --shadow-hover: 0 12px 32px rgba(19, 27, 51, 0.12);

  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-en-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1140px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep-navy);
  background: var(--cloud-white);
  -webkit-font-smoothing: antialiased;
}

/* الإنجليزية: Poppins للعناوين و Inter للنصوص */
html[lang="en"] body { font-family: var(--font-en-body); line-height: 1.5; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 { font-family: var(--font-en-head); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============ الأزرار ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-primary { background: var(--lab-blue); color: #fff; }
.btn-primary:hover { background: var(--lab-blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45, 127, 249, .35); }

.btn-outline { background: transparent; color: var(--deep-navy); border-color: rgba(19, 27, 51, .2); }
.btn-outline:hover { border-color: var(--lab-blue); color: var(--lab-blue); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--deep-navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

/* ============ Header ============ */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}

.header.scrolled { background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
/* قصّ أيقونة S من الشعار الكامل */
.brand-logo {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.brand-logo img {
  position: absolute;
  width: 290%;
  max-width: none;
  left: -46px;
  top: -29px;
}
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-family: var(--font-en-head); }
.brand-smart { color: var(--deep-navy); }
.brand-lab { color: var(--lab-blue); }

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-gray);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--deep-navy); background: var(--sky-tint); }
.nav-link.active { color: var(--lab-blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  padding: 8px 14px;
  border: 1.5px solid rgba(19, 27, 51, .15);
  border-radius: var(--radius-btn);
  background: transparent;
  font-family: var(--font-ar);
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-navy);
  cursor: pointer;
  transition: all .2s;
}
.lang-toggle:hover { border-color: var(--lab-blue); color: var(--lab-blue); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--deep-navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 96px;
  background: var(--cloud-white);
  overflow: hidden;
}

/* شبكة نقاط خفيفة مستوحاة من عقد الدوائر الإلكترونية في الشعار */
.hero-decor {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(45, 127, 249, .12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  font-family: var(--font-en-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lab-blue);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
}

.text-accent { color: var(--lab-blue); }

.hero-subtitle {
  font-size: 18px;
  color: var(--slate-gray);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }

.hero-trust { font-size: 14px; color: var(--slate-gray); }

.hero-visual { display: flex; justify-content: center; }

.hero-logo-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 32px;
  max-width: 360px;
  animation: float 6s ease-in-out infinite;
}
.hero-logo-card img { width: 100%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ الأقسام العامة ============ */
.section { padding-block: 96px; }

.section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--lab-blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-body { font-size: 18px; color: var(--slate-gray); max-width: 640px; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-body { margin-inline: auto; }

/* ============ About ============ */
.about { background: #fff; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.step-card {
  background: var(--cloud-white);
  border: 1px solid rgba(19, 27, 51, .06);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step-num {
  display: block;
  font-family: var(--font-en-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--lab-blue);
  margin-bottom: 8px;
}

.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--slate-gray); }

/* ============ Services ============ */
.services { background: var(--sky-tint); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 127, 249, .3);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-tint);
  border-radius: var(--radius-card);
  color: var(--lab-blue);
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--slate-gray); }

.service-card-cta {
  background: var(--deep-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.service-card-cta h3 { color: #fff; font-size: 20px; }
.service-card-cta p { color: rgba(255, 255, 255, .75); margin-bottom: 12px; }

/* ============ Why ============ */
.why { background: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-card);
  transition: background .25s;
}
.why-card:hover { background: var(--cloud-white); }

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-tint);
  border-radius: 50%;
  color: var(--lab-blue);
}
.why-icon svg { width: 30px; height: 30px; }

.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 15px; color: var(--slate-gray); }

/* ============ Work / Portfolio ============ */
.work { background: var(--cloud-white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 127, 249, .3);
}

.work-media { display: block; background: var(--sky-tint); }
.work-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top;
  transition: transform .35s ease;
}
.work-card:hover .work-media img { transform: scale(1.03); }

.work-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--lab-blue-dark);
  background: var(--sky-tint);
  border-radius: 999px;
  padding: 4px 12px;
}

.work-body h3 { font-size: 19px; }
.work-body p { font-size: 15px; color: var(--slate-gray); flex: 1; }

.work-link {
  font-family: var(--font-en-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--lab-blue);
  text-decoration: none;
  align-self: flex-start;
}
.work-link:hover { color: var(--lab-blue-dark); text-decoration: underline; }

/* ============ FAQ ============ */
.faq { background: #fff; }

.faq-grid {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--cloud-white);
  border: 1px solid rgba(19, 27, 51, .06);
  border-radius: var(--radius-card);
  padding: 0;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(45, 127, 249, .3); box-shadow: var(--shadow); background: #fff; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep-navy);
  padding: 18px 22px;
  position: relative;
  padding-inline-end: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--lab-blue);
  transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-gray);
  padding: 0 22px 20px;
}

/* ============ CTA (المكان الوحيد للتدرج) ============ */
.cta {
  background: var(--gradient);
  padding-block: 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-inner { position: relative; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ============ Contact ============ */
.contact { background: var(--cloud-white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform .25s, border-color .25s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(45, 127, 249, .3); }

.contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-tint);
  border-radius: var(--radius-card);
  color: var(--lab-blue);
}
.contact-icon svg { width: 26px; height: 26px; }

.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--slate-gray); }

/* ---- فورم طلب عرض السعر ---- */
.quote-form {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.quote-service { border: 0; padding: 0; margin: 0 0 28px; }
.quote-service legend { font-weight: 600; font-size: 16px; margin-bottom: 14px; }

.quote-service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-option input { position: absolute; opacity: 0; pointer-events: none; }

.service-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 16px;
  border: 2px solid rgba(90, 100, 120, .2);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  color: var(--slate-gray);
}
.service-option-card svg { width: 32px; height: 32px; color: var(--lab-blue); }
.service-option-card strong { font-size: 16px; color: var(--deep-navy); }
.service-option-card small { font-size: 13px; }

.service-option-card:hover { border-color: rgba(45, 127, 249, .5); }
.service-option input:checked + .service-option-card {
  border-color: var(--lab-blue);
  background: var(--sky-tint);
}
.service-option input:focus-visible + .service-option-card {
  outline: 2px solid var(--lab-blue);
  outline-offset: 2px;
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--deep-navy);
  background: var(--cloud-white);
  border: 1px solid rgba(90, 100, 120, .25);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(90, 100, 120, .55); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lab-blue);
  box-shadow: 0 0 0 3px rgba(45, 127, 249, .15);
}

/* honeypot — مخفي عن البشر، مرئي للبوتات */
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

.quote-submit { margin-top: 28px; text-align: center; }
.quote-submit .btn { min-width: 220px; }
.quote-submit .btn:disabled { opacity: .6; cursor: not-allowed; }

.form-status { margin-top: 16px; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.success { color: #1B9E4B; }
.form-status.error { color: #D93025; }

/* ============ Footer ============ */
.footer { background: var(--night-surface); color: rgba(255, 255, 255, .7); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 64px;
}

.brand-name-footer { font-size: 28px; }
.brand-smart-footer { color: #fff; }

.footer-tagline { font-size: 14px; margin-top: 12px; max-width: 280px; }

.footer-motto {
  font-family: var(--font-en-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lab-blue);
  margin-top: 16px;
}

.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; transition: color .2s; }
.footer-col ul a:hover { color: var(--lab-blue); }
.footer-contact span { font-size: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 24px;
  font-size: 14px;
  text-align: center;
}

/* ============ حركات الظهور ============ */
/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(19, 27, 51, .25);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(19, 27, 51, .3); }
.wa-float svg { width: 30px; height: 30px; }

/* ============ Page hero (الصفحات الداخلية) ============ */
.page-hero {
  background: var(--deep-navy);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 64px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 44px); color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 18px; color: rgba(255, 255, 255, .75); max-width: 640px; margin-inline: auto; }

/* ============ Services detail (صفحة الخدمات) ============ */
.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-detail {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(45, 127, 249, .3); }
.svc-detail h3 { font-size: 19px; margin-bottom: 10px; }
.svc-detail p { font-size: 15px; color: var(--slate-gray); margin-bottom: 12px; }
.svc-detail .svc-fit {
  font-size: 13.5px;
  color: var(--lab-blue-dark);
  background: var(--sky-tint);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 0;
}

/* ============ Comparison table (لماذا نحن) ============ */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.compare th, .compare td { padding: 18px 20px; text-align: start; font-size: 15px; }
.compare thead th { background: var(--deep-navy); color: #fff; font-size: 14px; }
.compare tbody tr:not(:last-child) td { border-bottom: 1px solid rgba(19, 27, 51, .07); }
.compare td:first-child { font-weight: 600; color: var(--deep-navy); }
.compare td:nth-child(2) { color: var(--slate-gray); }
.compare td:last-child { color: var(--lab-blue-dark); font-weight: 500; background: rgba(45, 127, 249, .04); }

.brand-quote {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--deep-navy);
  line-height: 1.9;
}

/* ============ Journey (من نحن) ============ */
.journey {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.journey-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}
.journey-step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(45, 127, 249, .2);
}
.journey-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sky-tint);
  color: var(--lab-blue);
  font-family: var(--font-en-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.journey-step h3 { font-size: 17px; margin: 12px 0 6px; }
.journey-step p { font-size: 15px; color: var(--slate-gray); }

/* ============ Values (من نحن) ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--cloud-white);
  border: 1px solid rgba(19, 27, 51, .06);
  border-radius: var(--radius-card);
  padding: 26px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--lab-blue-dark); }
.value-card p { font-size: 14.5px; color: var(--slate-gray); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
.mv-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow);
}
.mv-card h2 { font-size: 22px; margin-bottom: 12px; color: var(--lab-blue); }
.mv-card p { font-size: 15.5px; color: var(--slate-gray); line-height: 1.9; }

/* ============ Work page highlights ============ */
.work-highlights { list-style: none; display: grid; gap: 8px; margin: 4px 0 8px; padding: 0; }
.work-highlights li {
  font-size: 14px;
  color: var(--slate-gray);
  padding-inline-start: 24px;
  position: relative;
}
.work-highlights li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--lab-blue);
  font-weight: 700;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo-card { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-logo-card { max-width: 240px; padding: 20px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-hover);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 16px; font-size: 16px; }

  .section { padding-block: 64px; }
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .services-grid, .work-grid, .why-grid, .contact-grid, .about-steps, .footer-grid, .svc-detail-grid, .values-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 20px; }
  .quote-fields, .quote-service-options { grid-template-columns: 1fr; }
  .quote-submit .btn { width: 100%; }
  .brand-name { font-size: 20px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
