/* ===================================================================
   BANNER PRO — Corporate Website Styles
   Inspired by e& layout patterns. Inter (EN) + IBM Plex Sans Arabic (AR).
   =================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:opsz,wght@14..32,300..700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #f7f8fa;
  --surface-strong: #eef1f5;
  --band-deep: #09264b;
  --ink: #2b3a4e;
  --heading: #0a264b;
  --muted: #64778e;
  --line: #e2e8f0;
  --navy: #09264b;
  --orange: #f15a24;
  --orange-hover: #d94b1b;
  --header-bg: rgba(255,255,255,.97);
  --shadow-sm: 0 1px 3px rgba(9,38,75,.06);
  --shadow: 0 8px 32px rgba(9,38,75,.08);
  --shadow-lg: 0 16px 48px rgba(9,38,75,.12);
  --max: 1200px;
  --container-px: 24px;
  --section-py: 84px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: .22s ease;
}

html[data-theme="dark"],
body[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d1726;
  --surface: #132036;
  --surface-strong: #1b2d48;
  --band-deep: #091425;
  --ink: #dfe8f3;
  --heading: #f3f6fb;
  --muted: #98abc4;
  --line: #24354d;
  --navy: #f3f6fb;
  --header-bg: rgba(13,23,38,.97);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.16);
  --shadow: 0 8px 32px rgba(0,0,0,.24);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.36);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; background: var(--page); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s ease, color .3s ease;
}
html[dir="ltr"] body { font-family: 'Inter', 'IBM Plex Sans Arabic', sans-serif; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, select, [role="button"], a *, button * { cursor: pointer; }
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea,
[contenteditable="true"] { cursor: text; }
button:disabled, button:disabled * { cursor: not-allowed; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   STICKY SITE HEADER WRAPPER (TOP BAR + MAIN HEADER)
   ========================================================================== */
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(105deg, #09264b 0%, #15385c 55%, #f15a24 100%);
  color: #fff;
}
body[data-theme="dark"] .top-bar { background: linear-gradient(105deg, #060f1c 0%, #0e2240 55%, #c74a1d 100%); }

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 24px;
  min-height: 42px;
}
.top-bar-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
}
html[dir="ltr"] .top-bar-label { letter-spacing: .04em; }

.top-bar-right { display: flex; align-items: center; gap: 20px; }

/* Social links — shared base */
.social-links { display: flex; align-items: center; }
.social-top { gap: 14px; }
.social-top a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: .88;
  transition: opacity var(--transition), transform var(--transition);
}
.social-top svg { width: 16px; height: 16px; display: block; }
.social-top a:hover { opacity: 1; transform: translateY(-1px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: relative;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: background-color .3s ease, border-color .3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
}

/* Logo */
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  width: 88px;
  height: 64px;
  object-fit: contain;
  background: transparent !important;
}

/* Navigation */
.header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}
.header nav a {
  position: relative;
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}
.header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.header nav a:hover { color: var(--orange); }
.header nav a:hover::after { width: 100%; }

/* Actions */
.actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.theme-toggle:hover { border-color: var(--orange); color: var(--orange); }
.theme-toggle svg { display: block; }

.lang-switch {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.lang-switch:hover { border-color: var(--orange); color: var(--orange); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.cta-btn:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* Hamburger */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
}
.menu-toggle svg { display: block; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  min-height: 560px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
.eyebrow-line { width: 28px; height: 2px; flex-shrink: 0; background: var(--orange); }

.hero h1 {
  margin: 24px 0 20px;
  color: var(--heading);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.5px;
  text-wrap: balance;
}
.hero h1 span, .section-head h2 span, .about h2 span, .quote-section h2 span { color: var(--orange); }

.hero-copy > p {
  max-width: 460px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.button:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(241,90,36,.25); }
.button svg { flex-shrink: 0; }

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--line);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition), border-color var(--transition);
}
.quiet-link svg { color: var(--orange); flex-shrink: 0; }
.quiet-link:hover { color: var(--orange); border-color: var(--orange); }

/* Hero art */
.hero-art {
  position: relative;
  min-width: 0;
  height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.art-image, .art-shade { position: absolute; inset: 0; }
.art-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); transition: transform .6s ease; }
.hero-art:hover .art-image img { transform: scale(1.03); }
.art-shade { background: linear-gradient(0deg, rgba(4,20,40,.8), transparent 55%), linear-gradient(90deg, rgba(9,38,75,.1), transparent); }
.art-tag {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  color: #09264b;
  font: 700 9px/1 'Inter', sans-serif;
  letter-spacing: 1px;
  border-radius: 4px;
}
.art-tag b { color: var(--orange); }
.art-title {
  position: absolute;
  inset-inline-start: 24px;
  bottom: 24px;
  color: #fff;
}
.art-title strong { font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
.cmyk {
  position: absolute;
  inset-inline-end: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 4px;
}
.cmyk i { width: 9px; height: 9px; border-radius: 50%; }
.cmyk i:nth-child(1) { background: #00a8e8; }
.cmyk i:nth-child(2) { background: #ec168c; }
.cmyk i:nth-child(3) { background: #ffdf00; }
.cmyk i:nth-child(4) { background: #09264b; }
.cmyk span { margin-inline-start: 3px; color: #09264b; font: 700 8px/1 'Inter', sans-serif; letter-spacing: .5px; }

/* ==========================================================================
   BRAND BAR
   ========================================================================== */
/* ==========================================================================
   BRAND BAR (SMOOTH INFINITE MARQUEE)
   ========================================================================== */
@keyframes brandMarqueeLtr {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes brandMarqueeRtl {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.brand-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 0;
  direction: ltr;
  background: var(--band-deep);
  color: rgba(255, 255, 255, .96);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
body[data-theme="dark"] .brand-bar {
  background: var(--band-deep);
  border-block: 1px solid var(--line);
}

.brand-bar-track {
  display: flex;
  align-items: center;
  width: max-content;
  direction: ltr;
  will-change: transform;
  animation: brandMarqueeLtr 34s linear infinite;
}
html[dir="rtl"] .brand-bar-track {
  animation-name: brandMarqueeRtl;
}
@media (hover: hover) {
  .brand-bar:hover .brand-bar-track {
    animation-play-state: paused;
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(22px, 3vw, 40px);
  padding-inline-end: clamp(22px, 3vw, 40px);
}

.marquee-item {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .95);
  direction: ltr;
}
html[dir="rtl"] .marquee-item {
  direction: rtl;
  letter-spacing: 0;
  font-size: 13.5px;
}

.brand-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, .24);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-py) var(--container-px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head h2, .about h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -.3px;
}
.section-head > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.82;
}

/* ==========================================================================
   SERVICES HORIZONTAL CAROUSEL
   ========================================================================== */
.services-head-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.services-head-end > p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.82;
}

.services-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--page);
  color: var(--heading);
  transition: border-color .24s cubic-bezier(0.22, 1, 0.36, 1),
              background .24s cubic-bezier(0.22, 1, 0.36, 1),
              color .24s cubic-bezier(0.22, 1, 0.36, 1),
              transform .22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .24s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .22s ease;
}
.carousel-btn:hover:not(:disabled) {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(241, 90, 36, .24);
}
.carousel-btn:active:not(:disabled) {
  transform: scale(0.95);
}
.carousel-btn:disabled {
  opacity: .38;
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
  transform: none;
}
body[data-theme="dark"] .carousel-btn {
  background: var(--surface);
  border-color: var(--line);
  color: var(--heading);
}
body[data-theme="dark"] .carousel-btn:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
}

.services-carousel-wrap {
  position: relative;
}

.services-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0 20px;
  margin: -8px 0 -20px;
}
.services-viewport::-webkit-scrollbar {
  display: none;
}

.service-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  cursor: pointer;
  transition: border-color .28s cubic-bezier(0.22, 1, 0.36, 1),
              background .28s cubic-bezier(0.22, 1, 0.36, 1),
              transform .32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .32s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
  border-color: rgba(241, 90, 36, .52);
  background: var(--surface);
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(9, 38, 75, .12);
}
.service-card:active {
  transform: translateY(-2px) scale(0.985);
  box-shadow: 0 8px 20px rgba(9, 38, 75, .1);
}

.service-media {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  background: var(--surface-strong);
}
.service-media::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 38, 75, .36) 100%);
  pointer-events: none;
  transition: opacity .3s ease;
}
.service-card:hover .service-media::after {
  opacity: .75;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 22px 24px;
}

.service-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: -25px 0 14px;
  border-radius: 12px;
  border: 3px solid var(--page);
  background: var(--surface);
  color: var(--orange);
  box-shadow: 0 6px 16px rgba(9, 38, 75, .1);
  transition: background .28s cubic-bezier(0.22, 1, 0.36, 1),
              color .28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color .28s ease,
              transform .32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .28s ease;
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--surface);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 20px rgba(241, 90, 36, .3);
}
.service-icon svg { width: 25px; height: 25px; display: block; }

.service-card h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .26s ease;
}
.service-card:hover h3 {
  color: var(--orange);
}
.service-card p {
  margin: 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

body[data-theme="dark"] .service-card {
  background: var(--surface);
}
body[data-theme="dark"] .service-card:hover {
  background: var(--surface-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .34);
}
body[data-theme="dark"] .service-icon {
  background: var(--surface-strong);
  border-color: var(--surface);
}
body[data-theme="dark"] .service-card:hover .service-icon {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--surface-strong);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: var(--section-py) max(var(--container-px), calc((100% - var(--max)) / 2 + var(--container-px)));
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.about-visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.about-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.about-content {
  align-self: center;
  padding: 0;
}
.about h2 { margin-bottom: 18px; }
.about-content p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.82;
}

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.portfolio-main, .portfolio-side > div {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.portfolio-main { height: 400px; }
.portfolio-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.portfolio-side > div { height: 192px; }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-main:hover img, .portfolio-side > div:hover img { transform: scale(1.04); }

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  padding: 72px max(var(--container-px), calc((100% - var(--max)) / 2 + var(--container-px)));
  background: var(--band-deep);
  color: #fff;
}
body[data-theme="dark"] .quote-section {
  background: var(--band-deep);
  border-top: 1px solid var(--line);
}

.quote-section h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -.3px;
}
.quote-intro > p { max-width: 400px; margin: 0; color: #c8d4e3; font-size: 14.5px; line-height: 1.82; }
.quote-graphic { margin-top: 44px; color: rgba(255,255,255,.4); font: 700 20px/1 'Inter', sans-serif; letter-spacing: 1.5px; }
.quote-graphic b { padding: 4px 8px; background: var(--orange); color: #fff; border-radius: 3px; }
.quote-graphic small { display: block; margin-top: 8px; font: 600 8px/1.4 'Inter', sans-serif; letter-spacing: 1.5px; }

/* Form */
.quote-form {
  min-width: 0;
  padding: 26px 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  background: var(--page);
  color: var(--heading);
  box-shadow: var(--shadow-lg);
}
.form-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.form-heading b { font-size: 16px; font-weight: 700; color: var(--heading); }
.form-heading span { color: var(--orange); font: 700 10px/1 'Inter', sans-serif; letter-spacing: .5px; }
.quote-form label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  min-width: 0;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--heading);
  font-size: 14px;
  transition: border-color var(--transition);
}
.quote-form textarea { resize: vertical; min-height: 58px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-bottom-color: var(--orange); }
.quote-form option { background: var(--page); color: var(--heading); }
.full { grid-column: 1 / -1; }
.quote-form small { color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-success { color: #16834b !important; }
.form-warning { color: #c2410c !important; }

body[data-theme="dark"] .quote-form { background: var(--surface); color: var(--heading); border-color: var(--line); }
body[data-theme="dark"] .form-heading { border-color: var(--line); }
body[data-theme="dark"] .quote-form input, body[data-theme="dark"] .quote-form select, body[data-theme="dark"] .quote-form textarea { background: transparent; color: var(--heading); border-color: var(--line); }
body[data-theme="dark"] .quote-form input::placeholder, body[data-theme="dark"] .quote-form textarea::placeholder { color: var(--muted); }
body[data-theme="dark"] .quote-form option { background: var(--surface); color: var(--heading); }
body[data-theme="dark"] .quote-form small { color: var(--muted); }
body[data-theme="dark"] .quote-form label { color: var(--muted); }
body[data-theme="dark"] .form-success { color: #86e2b0 !important; }
body[data-theme="dark"] .form-warning { color: #ffad8c !important; }

/* ==========================================================================
   FOOTER (Corporate Redesign inspired by e&)
   ========================================================================== */
footer {
  position: relative;
  background: var(--page);
  color: var(--ink);
  border-top: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
body[data-theme="dark"] footer {
  background: var(--page);
  color: var(--ink);
  border-color: var(--line);
}

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

/* Footer Grid Columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col-title {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.2px;
}
body[data-theme="dark"] .footer-col-title {
  color: #f3f6fb;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links li {
  margin: 0;
  padding: 0;
}

.footer-col-links a {
  display: inline-block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 400;
  transition: color var(--transition), transform var(--transition);
}
body[data-theme="dark"] .footer-col-links a {
  color: #9fb0c8;
}

html[dir="rtl"] .footer-col-links a:hover {
  color: var(--orange);
  transform: translateX(-4px);
}
html[dir="ltr"] .footer-col-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

/* Connect Column */
.footer-col-connect .footer-desc {
  margin: 0 0 16px;
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
body[data-theme="dark"] .footer-col-connect .footer-desc {
  color: #9fb0c8;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.social-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
}
body[data-theme="dark"] .social-label {
  color: #dfe8f3;
}

.social-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-footer a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--muted);
  transition: color var(--transition), transform var(--transition);
}
body[data-theme="dark"] .social-footer a {
  color: #9fb0c8;
}
.social-footer svg {
  width: 19px;
  height: 19px;
  display: block;
}
.social-footer a:hover {
  transform: translateY(-2px);
}
.social-footer a:first-child:hover {
  color: #1877f2 !important;
}
.social-footer a:last-child:hover {
  color: #e4405f !important;
}

.footer-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(241, 90, 36, 0.08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(241, 90, 36, 0.25);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.footer-quote-btn svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.footer-quote-btn:hover {
  background: var(--orange);
  color: #ffffff !important;
  border-color: var(--orange);
  transform: translateY(-1px);
}
body[data-theme="dark"] .footer-quote-btn {
  background: rgba(241, 90, 36, 0.14);
  color: #ff8254;
  border-color: rgba(241, 90, 36, 0.35);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  margin-top: 48px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body[data-theme="dark"] .footer-bottom-bar {
  border-top-color: var(--line);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
body[data-theme="dark"] .footer-copy {
  color: var(--muted);
}

.footer-tagline {
  color: var(--muted);
  font-size: 11px;
  opacity: .85;
}
body[data-theme="dark"] .footer-tagline {
  color: var(--muted);
}

/* Footer Logo: Identical visual size to header logo (88px x 64px), aspect ratio preserved */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo img {
  width: 88px;
  height: 64px;
  object-fit: contain;
  background: transparent !important;
  transform: none !important;
}

/* Logo Position by Language:
   - Arabic (RTL): Logo at the FAR LEFT (inline-end in RTL is left)
   - English (LTR): Logo at the FAR RIGHT (inline-end in LTR is right)
*/
html[dir="rtl"] .footer-bottom-bar {
  flex-direction: row;
  justify-content: space-between;
}
html[dir="rtl"] .footer-legal {
  text-align: right;
}
html[dir="rtl"] .footer-logo {
  margin-inline-start: auto;
}

html[dir="ltr"] .footer-bottom-bar {
  flex-direction: row;
  justify-content: space-between;
}
html[dir="ltr"] .footer-legal {
  text-align: left;
}
html[dir="ltr"] .footer-logo {
  margin-inline-start: auto;
}

/* Bottom gradient strip — half the height of .top-bar (42px -> 21px) */
.footer-gradient {
  height: 21px;
  width: 100%;
  background: linear-gradient(105deg, #09264b 0%, #15385c 55%, #f15a24 100%);
}
body[data-theme="dark"] .footer-gradient {
  background: linear-gradient(105deg, #060f1c 0%, #0e2240 55%, #c74a1d 100%);
}

/* ==========================================================================
   PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroArtIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero .eyebrow {
  animation: heroFadeUp .6s cubic-bezier(0.22, 1, 0.36, 1) .04s both;
}
.hero h1 {
  animation: heroFadeUp .68s cubic-bezier(0.22, 1, 0.36, 1) .12s both;
}
.hero-copy > p {
  animation: heroFadeUp .68s cubic-bezier(0.22, 1, 0.36, 1) .2s both;
}
.hero-cta {
  animation: heroFadeUp .68s cubic-bezier(0.22, 1, 0.36, 1) .28s both;
}
.hero-art {
  animation: heroArtIn .78s cubic-bezier(0.22, 1, 0.36, 1) .16s both;
}

/* Tactile button active press & smooth micro-lift */
.button:active,
.cta-btn:active,
.footer-quote-btn:active,
.theme-toggle:active,
.lang-switch:active {
  transform: scale(0.97);
}
.about-visual > img {
  transition: transform .65s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-visual:hover > img {
  transform: scale(1.035);
}
.portfolio-main,
.portfolio-side > div {
  transition: box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1), transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-main:hover,
.portfolio-side > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s cubic-bezier(0.22, 1, 0.36, 1),
              transform .65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .brand-bar-track { animation: none !important; justify-content: center; width: 100%; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   LTR ADJUSTMENTS
   ========================================================================== */
html[dir="ltr"] .hero h1,
html[dir="ltr"] .section-head h2,
html[dir="ltr"] .about h2,
html[dir="ltr"] .quote-section h2 { letter-spacing: -1px; }
html[dir="ltr"] .quote-form label { letter-spacing: .02em; }

/* ==========================================================================
   RESPONSIVE — TABLET (≤960px)
   ========================================================================== */
@media (max-width: 960px) {
  .header-inner { padding: 0 20px; gap: 18px; }
  .header nav { gap: 14px; }
  .header nav a { font-size: 13px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 42px 24px 50px;
  }
  .hero-copy { max-width: 680px; margin: 0 auto; width: 100%; }
  .hero h1 { font-size: clamp(36px, 5vw, 54px); }
  .hero-art { height: 380px; }

  .section { padding: 68px 24px; }
  .section-head h2, .about h2, .quote-section h2 { font-size: clamp(28px, 4vw, 40px); }

  .service-grid { gap: 14px; }
  .service-card { flex: 0 0 calc((100% - 14px) / 2); }

  .about { grid-template-columns: 1fr; gap: 28px; padding: 60px 24px; }
  .about-visual { min-height: 300px; }
  .about-content { padding: 0; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-main { height: 300px; }
  .portfolio-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .portfolio-side > div { height: 180px; }

  .quote-section { grid-template-columns: 1fr; gap: 28px; padding: 56px 24px; }
  .quote-graphic { display: none; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form label { grid-column: 1 / -1; }

  /* Footer Tablet */
  .footer-container { padding: 48px 20px 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .footer-bottom-bar { margin-top: 38px; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤700px)
   ========================================================================== */
@media (max-width: 700px) {
  html { scroll-padding-top: 110px; }

  /* Top bar */
  .top-bar-inner { padding: 7px 16px; min-height: 38px; gap: 10px; }
  .top-bar-label { font-size: 9px; }
  .social-top { gap: 10px; }
  .social-top a { width: 20px; height: 20px; }
  .social-top svg { width: 14px; height: 14px; }

  /* Header */
  .header-inner { padding: 0 16px; min-height: 64px; gap: 12px; }
  .brand img { width: 64px; height: 50px; }

  .menu-toggle { display: flex; order: 2; margin-inline-start: auto; }
  .header nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--line);
    background: var(--page);
    box-shadow: var(--shadow);
  }
  .header nav.open { display: flex; }
  .header nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .header nav a::after { display: none; }
  .header nav a:last-child { border-bottom: 0; }

  .actions { order: 3; gap: 6px; }
  .theme-toggle, .lang-switch { width: 36px; height: 36px; min-width: 36px; }
  .lang-switch { padding: 0 8px; font-size: 11px; }
  .cta-btn { display: none; }

  /* Hero */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 16px 28px;
    min-height: auto;
  }
  .hero h1 { font-size: clamp(28px, 7.5vw, 42px); line-height: 1.4; margin: 14px 0 12px; }
  .hero-copy > p { font-size: 13px; line-height: 1.8; margin: 0 0 20px; }
  .hero-cta { gap: 14px 18px; }
  .hero-art { width: 100%; height: clamp(200px, 52vw, 250px); }
  .art-title strong { font-size: 24px; }

  /* Brand bar */
  .brand-bar { min-height: 54px; padding: 12px 0; }
  .brand-bar-track { animation-duration: 24s; }
  .marquee-group { gap: 18px; padding-inline-end: 18px; }
  .marquee-item { font-size: 11.5px; }
  html[dir="rtl"] .marquee-item { font-size: 12px; }
  .brand-bar i { width: 6px; height: 6px; }

  /* Sections */
  .section { padding: 52px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .section-head h2, .about h2, .quote-section h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .section-head > p, .services-head-end > p, .about-content p, .quote-intro > p { margin-top: 0; font-size: 13.5px; }

  /* Services Carousel */
  .services-head-end { width: 100%; align-items: flex-start; gap: 14px; }
  .carousel-btn { width: 40px; height: 40px; }
  .service-grid { gap: 12px; }
  .service-card { flex: 0 0 calc((100% - 12px) / 2); padding: 0; }
  .service-media { height: 148px; }
  .service-body { padding: 0 16px 20px; }
  .service-icon { width: 44px; height: 44px; margin: -22px 0 10px; border-radius: 10px; }
  .service-icon svg { width: 21px; height: 21px; }
  .service-card h3 { font-size: 13.5px; margin-bottom: 6px; }
  .service-card p { font-size: 11.5px; line-height: 1.65; }

  /* About */
  .about { grid-template-columns: 1fr; gap: 24px; padding: 48px 16px; }
  .about-visual { min-height: 230px; }
  .about-content { padding: 0; }

  /* Portfolio */
  .portfolio-main { height: 240px; }
  .portfolio-side > div { height: 150px; }

  /* Quote */
  .quote-section { padding: 44px 16px; gap: 22px; }
  .quote-form { padding: 20px 18px 18px; gap: 12px; }

  /* Footer Mobile */
  .footer-container { padding: 40px 16px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-col-connect { grid-column: 1 / -1; }
  .footer-col-title { font-size: 14px; margin-bottom: 14px; }
  .footer-col-links a { font-size: 12.5px; }
  .footer-bottom-bar { margin-top: 28px; padding: 18px 0 20px; }
  .footer-copy { font-size: 11px; }
  .footer-tagline { font-size: 10px; }
  .footer-logo img { width: 64px; height: 50px; }
  .footer-gradient { height: 19px; }
}

/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
  .service-grid { gap: 12px; }
  .service-card { flex: 0 0 88%; }

  /* Footer Small Mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom-bar {
    flex-direction: column-reverse;
    gap: 16px;
    align-items: stretch;
  }
  html[dir="rtl"] .footer-logo {
    margin-right: auto;
    margin-left: 0;
    align-self: flex-start;
  }
  html[dir="ltr"] .footer-logo {
    margin-left: auto;
    margin-right: 0;
    align-self: flex-end;
  }
  html[dir="rtl"] .footer-legal {
    text-align: right;
  }
  html[dir="ltr"] .footer-legal {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(26px, 8.5vw, 34px); line-height: 1.45; }
  .actions { gap: 4px; }
}


/* ==========================================================================
   QUOTE FORM ACTIONS (FULL-WIDTH PRIMARY SUBMIT)
   ========================================================================== */
.form-actions {
  display: block;
  margin-top: 4px;
}
.form-submit-btn {
  width: 100%;
}
.form-submit-btn:disabled {
  opacity: .72;
  transform: none !important;
  box-shadow: none !important;
}
.quote-form select.is-preselected {
  border-bottom-color: var(--orange);
  background: rgba(241, 90, 36, .04);
}

/* ==========================================================================
   QUOTE SUCCESS MODAL (LIGHT & DARK MODE, AR/EN, FADE + SCALE)
   ========================================================================== */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 38, 75, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.quote-modal-backdrop[hidden] {
  display: none;
}
.quote-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
html[data-theme="dark"] .quote-modal-backdrop,
body[data-theme="dark"] .quote-modal-backdrop {
  background: rgba(4, 10, 20, 0.68);
}

.quote-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 28px 30px;
  border-radius: 16px;
  background: var(--page);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(9, 38, 75, 0.22);
  text-align: center;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
}
.quote-modal-backdrop.is-open .quote-modal-card {
  transform: scale(1);
  opacity: 1;
}
html[data-theme="dark"] .quote-modal-card,
body[data-theme="dark"] .quote-modal-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.quote-modal-x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.quote-modal-x:hover {
  color: var(--heading);
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .quote-modal-x:hover,
body[data-theme="dark"] .quote-modal-x:hover {
  background: var(--surface-strong);
}

.quote-modal-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.06);
}
html[data-theme="dark"] .quote-modal-icon,
body[data-theme="dark"] .quote-modal-icon {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08);
}

.quote-modal-title {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}

.quote-modal-desc {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.quote-modal-close-btn {
  width: 100%;
  min-height: 46px;
}

@media (max-width: 560px) {
  .quote-modal-card {
    padding: 32px 22px 26px;
    border-radius: 14px;
  }
  .quote-modal-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  .quote-modal-desc {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-modal-backdrop,
  .quote-modal-card {
    transition-duration: 0.05s !important;
    transform: none !important;
  }
}

/* ==========================================================================
   DYNAMIC SERVICE DETAILS PAGE (service.html)
   ========================================================================== */
.service-detail-section {
  padding: 44px 0 84px;
}
.service-detail-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.service-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}
.back-link:hover { color: var(--orange); }
html[dir="ltr"] .back-arrow { transform: rotate(180deg); }
.crumb-sep { color: var(--line); }
.crumb-current { color: var(--muted); font-weight: 500; }

/* Hero Grid */
.service-detail-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
  margin-bottom: 52px;
}
.service-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.service-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(241, 90, 36, .1);
  color: var(--orange);
  flex-shrink: 0;
}
.service-detail-icon svg { width: 28px; height: 28px; display: block; }
.service-detail-category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--heading);
  font-size: 12px;
  font-weight: 600;
}
.service-detail-title {
  margin: 0 0 14px;
  color: var(--heading);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.25;
  font-weight: 700;
}
.service-detail-summary {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
.service-detail-description {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 560px;
}
.service-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Visual Panel */
.service-detail-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 340px;
  box-shadow: var(--shadow);
}
.service-detail-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.service-detail-visual-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 340px;
  padding: 36px;
  text-align: center;
  background: linear-gradient(135deg, #09264b 0%, #15385c 65%, #f15a24 100%);
  color: #ffffff;
}
.service-detail-visual-fallback svg { width: 52px; height: 52px; }
.service-detail-visual-fallback strong { font-size: 22px; font-weight: 700; }

/* Uses & Features Panels */
.service-detail-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 52px;
}
.detail-panel {
  padding: 28px 26px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.detail-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.panel-accent {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: var(--orange);
  flex-shrink: 0;
}
.detail-panel h2 {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.detail-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--orange);
}

/* Other Services Quick Switcher */
.other-services-block {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.other-services-head h3 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
}
.other-services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.other-service-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.other-service-pill:hover {
  border-color: var(--orange);
  background: rgba(241, 90, 36, .06);
  color: var(--orange);
  transform: translateY(-2px);
}
body[data-theme="dark"] .other-service-pill {
  background: var(--surface);
}
body[data-theme="dark"] .other-service-pill:hover {
  background: rgba(241, 90, 36, .14);
}

@media (max-width: 960px) {
  .service-detail-hero { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .service-detail-visual img { height: 280px; }
  .service-detail-panels { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 700px) {
  .service-detail-section { padding: 28px 0 56px; }
  .service-detail-container { padding: 0 16px; }
  .service-breadcrumb { margin-bottom: 22px; font-size: 12px; }
  .service-detail-visual { min-height: 220px; }
  .service-detail-visual img { height: 220px; }
  .detail-panel { padding: 22px 18px; }
  .other-service-pill { padding: 8px 13px; font-size: 12px; }
}

/* ==========================================================================
   BANNER PRO — UNIFIED LOADING EXPERIENCE
   Supports Light/Dark Mode, Splash, Smart Navigation, Inline Overlays & Reduced Motion
   ========================================================================== */
:root {
  --bp-loader-bg: #ffffff;
  --bp-loader-glow-a: rgba(9, 38, 75, 0.045);
  --bp-loader-glow-b: rgba(241, 90, 36, 0.05);
  --bp-loader-overlay-bg: rgba(255, 255, 255, 0.88);
  --bp-loader-track: rgba(9, 38, 75, 0.1);
  --bp-loader-bar: linear-gradient(90deg, #09264b 0%, #00aeef 45%, #f15a24 100%);
  --bp-loader-text: #0a264b;
}

html[data-theme="dark"],
body[data-theme="dark"] {
  --bp-loader-bg: #0d1726;
  --bp-loader-glow-a: rgba(0, 174, 239, 0.08);
  --bp-loader-glow-b: rgba(241, 90, 36, 0.09);
  --bp-loader-overlay-bg: rgba(13, 23, 38, 0.88);
  --bp-loader-track: rgba(255, 255, 255, 0.12);
  --bp-loader-bar: linear-gradient(90deg, #29abe2 0%, #f15a24 55%, #ff8c52 100%);
  --bp-loader-text: #f3f6fb;
}

.bp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Core Loader Base ---- */
.bp-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  direction: ltr;
}

.bp-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bp-loader-logo {
  display: block;
  width: clamp(116px, 24vw, 174px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  user-select: none;
  -webkit-user-drag: none;
  animation: bp-logo-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bp-loader-track {
  position: relative;
  width: clamp(124px, 30vw, 176px);
  height: 3px;
  border-radius: 999px;
  background: var(--bp-loader-track);
  overflow: hidden;
}

.bp-loader-bar {
  position: absolute;
  inset-block: 0;
  left: -42%;
  width: 44%;
  border-radius: 999px;
  background: var(--bp-loader-bar);
  animation: bp-bar-slide 1.15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.bp-loader-label {
  font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--bp-loader-text);
  letter-spacing: 0.01em;
  margin-top: -6px;
}

/* ---- Variant 1: Full-Screen Splash Loader ---- */
.bp-loader--fullscreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--bp-loader-bg);
  background-image:
    radial-gradient(circle at 30% 25%, var(--bp-loader-glow-a) 0%, transparent 55%),
    radial-gradient(circle at 75% 75%, var(--bp-loader-glow-b) 0%, transparent 55%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.34s ease, visibility 0.34s ease, background-color 0.25s ease;
}

.bp-loader--fullscreen.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- Variant 2: Fast Page Navigation Progress Bar & Delayed Logo Pill ---- */
.bp-nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--bp-loader-bar);
  transition: opacity 0.22s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.bp-nav-progress.is-active {
  opacity: 1;
  transform: scaleX(0.72);
  transition: opacity 0.14s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-nav-progress.is-done {
  opacity: 0;
  transform: scaleX(1);
  transition: transform 0.18s ease-out, opacity 0.22s ease 0.1s;
}

.bp-loader--transition {
  position: fixed;
  inset: 0;
  z-index: 99997;
  pointer-events: none;
  background: var(--bp-loader-overlay-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease, background-color 0.22s ease;
}

.bp-loader--transition.is-visible {
  opacity: 1;
  visibility: visible;
}

.bp-loader--transition .bp-loader-inner {
  gap: 14px;
  padding: 16px;
}

.bp-loader--transition .bp-loader-logo {
  width: clamp(82px, 18vw, 112px);
}

.bp-loader--transition .bp-loader-track {
  width: 104px;
  height: 2.5px;
}

/* ---- Variant 3: Reusable Container Overlay & Inline Loader ---- */
.bp-loader--overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: inherit;
  background: var(--bp-loader-overlay-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.bp-loader--overlay.is-visible {
  opacity: 1;
}

.bp-loader--overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.bp-loader--overlay .bp-loader-inner,
.bp-loader--inline .bp-loader-inner {
  gap: 14px;
}

.bp-loader--overlay .bp-loader-logo,
.bp-loader--inline .bp-loader-logo {
  width: clamp(72px, 16vw, 102px);
}

.bp-loader--overlay .bp-loader-track,
.bp-loader--inline .bp-loader-track {
  width: clamp(92px, 22vw, 128px);
}

.bp-loader--compact .bp-loader-logo {
  width: clamp(58px, 13vw, 82px);
}

.bp-loader--compact .bp-loader-track {
  width: 88px;
}

/* ---- Keyframes ---- */
@keyframes bp-logo-enter {
  0% {
    opacity: 0;
    transform: scale(0.93);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bp-bar-slide {
  0% {
    left: -44%;
    width: 36%;
  }
  50% {
    left: 28%;
    width: 52%;
  }
  100% {
    left: 104%;
    width: 36%;
  }
}

/* ---- Mobile Adjustments ---- */
@media (max-width: 700px) {
  .bp-loader-inner {
    gap: 16px;
  }
  .bp-loader-label {
    font-size: 12px;
  }
}

/* ---- Reduced Motion Support ---- */
@media (prefers-reduced-motion: reduce) {
  .bp-loader-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .bp-loader-bar {
    animation: none;
    left: 0;
    width: 100%;
    opacity: 0.85;
  }
  .bp-loader--fullscreen,
  .bp-loader--transition,
  .bp-loader--overlay,
  .bp-nav-progress {
    transition-duration: 0.05s !important;
  }
}
