/* ==========================================================
   Nafees Transport – styles
   Brand: deep navy + sky blue (from logo & marketing assets)
   ========================================================== */
:root {
  --navy-950: #040d22;
  --navy-900: #071634;
  --navy-800: #0b1f4a;
  --navy-700: #13306b;
  --sky: #38b6ff;
  --sky-600: #1b9ce8;
  --amber: #ff9f1c;
  --wa: #25d366;
  --wa-600: #1ebe5a;
  --ink: #0b1f4a;
  --text: #46546f;
  --muted: #7d889e;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(7, 22, 52, .08);
  --shadow: 0 20px 50px -18px rgba(7, 22, 52, .35);
  --shadow-lg: 0 40px 80px -30px rgba(4, 13, 34, .55);
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); -webkit-text-size-adjust: 100%; }
html.js-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--sky); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; line-height: 1.2; letter-spacing: .01em;
  background: var(--bg-btn); color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
.btn--sm { padding: .7em 1.25em; font-size: .88rem; }
.btn--lg { padding: 1.1em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { box-shadow: 0 14px 30px -12px rgba(11, 31, 74, .6); }
.btn--primary:hover { background: var(--navy-700); }
.btn--accent { --bg-btn: var(--sky); color: var(--navy-900); box-shadow: 0 14px 34px -12px rgba(56, 182, 255, .8); }
.btn--accent:hover { --bg-btn: #5cc4ff; }
.btn--glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--light { --bg-btn: #fff; color: var(--navy-800); }
.btn--wa { --bg-btn: var(--wa); color: #fff; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7); }
.btn--wa:hover { --bg-btn: var(--wa-600); }

/* ---------- Eyebrow / section titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(56,182,255,.7); animation: ping 2s infinite; }
.hero .eyebrow::before { display: none; }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem); letter-spacing: .01em; line-height: .98;
  margin-bottom: 1.4rem;
}
.section__title span { color: var(--sky-600); display: block; }
.section__title--light { color: #fff; }
.section__title--light span { color: var(--sky); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.section__intro { font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on .header itself would make it
   the containing block for the fixed mobile menu, trapping the menu inside the header bar (Safari/iOS). */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(7, 22, 52, .4); transition: opacity .4s;
}
.header.is-scrolled { --header-h: 72px; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 132px; flex-shrink: 0; }
.brand__logo { width: 100%; transition: opacity .4s; }
.brand__logo--dark { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .brand__logo--light { opacity: 0; }
.header.is-scrolled .brand__logo--dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--text); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--navy-800); }
.nav__phone--mobile { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.has-menu { position: relative; display: flex; align-items: center; }
.nav__toggle {
  display: grid; place-items: center; width: 24px; height: 24px; margin-left: -8px; padding: 0; border: 0; border-radius: 6px;
  background: none; color: rgba(255,255,255,.8); cursor: pointer; font-size: .8rem; transition: transform .3s var(--ease), color .3s;
}
.header.is-scrolled .nav__toggle { color: var(--text); }
.has-menu.is-open > .nav__toggle { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -10px; min-width: 270px; padding: 10px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover > .nav__menu, .has-menu:focus-within > .nav__menu, .has-menu.is-open > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.35; transition: background .2s, color .2s; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--bg-soft); color: var(--sky-600); }
.nav__menu small { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
.nav__menu .nav__menu-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-weight: 600; color: var(--sky-600); }
.header__lang { font-weight: 700; font-size: .95rem; color: #fff; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); transition: background .3s, color .3s; }
.header__lang:hover { background: rgba(255,255,255,.1); }
.header.is-scrolled .header__lang { color: var(--navy-800); border-color: var(--line); }
.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; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.2; transition: color .3s; }
.header__phone small { display: block; font-size: .7rem; font-weight: 500; opacity: .7; letter-spacing: .05em; text-transform: uppercase; }
.header__phone-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(56,182,255,.18); color: var(--sky); border: 1px solid rgba(56,182,255,.4); }
.header.is-scrolled .header__phone { color: var(--navy-800); }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s, background .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.header.is-scrolled .burger { border-color: var(--line); background: var(--bg-soft); }
.header.is-scrolled .burger span { background: var(--navy-800); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(720px, 100svh); color: #fff;
  background: var(--navy-950); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  perspective: 1200px;
}
.hero__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero__bg { position: absolute; inset: -40px; will-change: transform; }
.hero__bg picture, .showcase__img picture, .svc__media picture { display: block; width: 100%; height: 100%; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%;
  transform: scaleX(-1) scale(1.08);
  animation: heroZoom 18s var(--ease) both;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,13,34,.97) 0%, rgba(7,22,52,.9) 32%, rgba(7,22,52,.45) 58%, rgba(7,22,52,.1) 80%),
    linear-gradient(0deg, rgba(4,13,34,.95) 0%, rgba(4,13,34,0) 35%),
    linear-gradient(180deg, rgba(4,13,34,.7) 0%, rgba(4,13,34,0) 22%);
}
.hero__grid {
  position: absolute; left: -10%; right: -10%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(56,182,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,182,255,.18) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(72deg); transform-origin: bottom;
  mask-image: linear-gradient(0deg, #000 10%, transparent 75%);
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 75%);
  animation: gridMove 3s linear infinite;
  opacity: .55;
}
.hero__glow {
  position: absolute; width: 640px; height: 640px; left: -160px; top: 10%;
  background: radial-gradient(circle, rgba(56,182,255,.32), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__road { position: absolute; left: 0; right: 0; bottom: 118px; height: 3px; overflow: hidden; }
.hero__road span {
  position: absolute; top: 0; height: 100%; width: 180px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  animation: streak 3.2s linear infinite; opacity: .8;
}
.hero__road span:nth-child(2) { animation-delay: 1.1s; width: 120px; }
.hero__road span:nth-child(3) { animation-delay: 2.2s; width: 240px; background: linear-gradient(90deg, transparent, var(--amber), transparent); }

.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; flex: 1; padding-bottom: 150px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(3.6rem, 9vw, 7.6rem); line-height: .9; letter-spacing: .01em;
  margin-bottom: 1.6rem; text-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.hero__line { display: block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--sky) 0%, #9fdcff 45%, var(--sky) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 2.2rem; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.02rem; }
.hero__ticks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sky); color: var(--navy-900); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__cards { position: relative; height: 420px; transform-style: preserve-3d; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-radius: 18px; min-width: 250px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.3);
  color: #fff; line-height: 1.35;
  will-change: transform;
}
.float-card strong { display: block; font-size: 1rem; }
.float-card span:not(.float-card__icon) { font-size: .82rem; color: rgba(255,255,255,.75); }
.float-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(56,182,255,.2); color: var(--sky); font-size: 1.4rem; border: 1px solid rgba(56,182,255,.4); }
.float-card__icon--accent { background: var(--sky); color: var(--navy-900); }
.float-card--a { top: 8%; right: 6%; animation: floatY 6s ease-in-out infinite; }
.float-card--b { top: 42%; right: 32%; animation: floatY 7s ease-in-out infinite .8s; }
.float-card--c { bottom: 6%; right: 0; animation: floatY 6.5s ease-in-out infinite 1.6s; transition: border-color .3s; }
.float-card--c:hover { border-color: var(--sky); }

.hero__pillars {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: linear-gradient(90deg, rgba(11,31,74,.85), rgba(7,22,52,.75));
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero__pillars-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 12px; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.pillar + .pillar { border-left: 1px solid rgba(255,255,255,.12); }
.pillar svg { font-size: 1.7rem; color: var(--sky); }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 96px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }

/* ---------- Marquee ---------- */
.marquee { background: var(--sky); color: var(--navy-900); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .06em; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: var(--navy-900); transform: rotate(45deg); }

/* ---------- About ---------- */
.about { background: radial-gradient(circle at 0% 0%, #eaf5ff 0%, transparent 40%), var(--bg); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; padding-bottom: 90px; perspective: 1000px; }
.tilt { position: relative; border-radius: var(--radius-lg); transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.about__media > .tilt:first-child { box-shadow: var(--shadow); overflow: hidden; }
.about__media > .tilt:first-child img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 72% 50%; }
.about__badge {
  position: absolute; left: 24px; top: 24px; padding: 14px 20px; border-radius: 14px;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow); transform: translateZ(40px); line-height: 1.3;
}
.about__badge-ar { display: block; color: var(--sky); font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.about__badge strong { font-size: .95rem; }
.about__media-sub {
  position: absolute !important; right: -24px; bottom: 0; width: 62%;
  border: 6px solid #fff; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about__media-sub img { aspect-ratio: 16/9; object-fit: cover; }
.about__copy > p { font-size: 1.02rem; }
.about__points { display: grid; gap: 16px; margin: 1.8rem 0 2.2rem; }
.about__points li { display: flex; gap: 16px; align-items: flex-start; }
.about__points li > span { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #e5f4ff; color: var(--sky-600); font-size: 1.1rem; }
.about__points strong { display: block; color: var(--ink); font-size: 1.02rem; }
.about__points li div { font-size: .95rem; line-height: 1.55; }
.about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.about__loc { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.about__loc svg { color: var(--sky-600); font-size: 1.2rem; }

/* ---------- Services ---------- */
.services { background: var(--navy-900); color: rgba(255,255,255,.75); overflow: hidden; }
.services::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(56,182,255,.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(56,182,255,.12), transparent 40%);
  pointer-events: none;
}
.services::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%);
}
.services .container { position: relative; z-index: 1; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .5s;
  transform-style: preserve-3d; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(56,182,255,.22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.svc:hover { border-color: rgba(56,182,255,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.svc:hover::before { opacity: 1; }
.svc h3 { color: #fff; font-size: 1.22rem; font-weight: 600; margin: 22px 0 12px; line-height: 1.3; }
.svc p { font-size: .94rem; line-height: 1.65; flex: 1; }
.svc__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: rgba(255,255,255,.07); }
.svc__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: var(--navy-900); background: linear-gradient(135deg, var(--sky), #8ed6ff); box-shadow: 0 14px 30px -12px rgba(56,182,255,.8); transform: translateZ(30px); }
.svc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--sky); }
.svc__link svg { transition: transform .35s var(--ease); }
.svc__link:hover svg { transform: translateX(5px); }
.svc--feature { grid-column: span 2; grid-row: span 2; padding: 0; }
.svc__media { position: relative; overflow: hidden; flex: 1; min-height: 260px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: transform 1.2s var(--ease); }
.svc--feature:hover .svc__media img { transform: scale(1.06); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-900) 0%, transparent 55%); }
.svc--feature .svc__body { position: relative; padding: 0 32px 32px; margin-top: -50px; z-index: 1; }
.svc--feature h3 { font-size: 1.6rem; }
.svc--cta { justify-content: center; background: linear-gradient(150deg, var(--sky) 0%, var(--sky-600) 100%); border-color: transparent; }
.svc--cta h3 { color: var(--navy-900); margin-top: 0; font-size: 1.4rem; }
.svc--cta p { flex: 0 0 auto; margin-bottom: 1.4rem; color: rgba(7,22,52,.8); }
.svc--cta .btn { align-self: flex-start; }
.svc--feature p { max-width: 560px; font-size: 1rem; }

/* ---------- Showcase ---------- */
.showcase { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.showcase__img { position: absolute; inset: -12% 0; will-change: transform; }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(4,13,34,.96) 0%, rgba(7,22,52,.85) 40%, rgba(7,22,52,.1) 75%); }
.showcase__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-block: 80px; }
.showcase__copy { max-width: 470px; color: rgba(255,255,255,.82); }
.showcase__copy h2 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: .95; margin-bottom: 1.2rem; }
.showcase__copy em { font-style: normal; color: var(--sky); }
.showcase__copy p { font-size: 1.05rem; margin-bottom: 1.8rem; }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1200px; }
.why__card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; overflow: hidden;
}
.why__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy-800), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.why__card:hover { box-shadow: var(--shadow); }
.why__card:hover::after { transform: scaleX(1); }
.why__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: var(--navy-800); margin-bottom: 22px; box-shadow: 0 0 0 8px #e6f1fc; transform: translateZ(30px); }
.why__card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.why__card p { font-size: .93rem; line-height: 1.65; margin: 0; }

.process { margin-top: clamp(60px, 8vw, 90px); }
.process__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.5vw, 2.8rem); text-align: center; margin-bottom: 40px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.process__steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 20px); }
.process__steps li { position: relative; text-align: center; padding: 0 8px; }
.process__steps span { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--font-display); font-size: 1.7rem; box-shadow: 0 0 0 8px var(--bg-soft), 0 14px 30px -10px rgba(11,31,74,.6); }
.process__steps strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.process__steps p { font-size: .9rem; line-height: 1.6; margin: 0; }

/* ---------- Areas ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.area-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.area-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--navy-800), var(--sky)); }
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(56,182,255,.5); }
.area-card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 10px; }
.area-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; margin-bottom: 10px; }
.area-card p { font-size: .92rem; line-height: 1.6; flex: 1; }
.area-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.area-card__link svg { transition: transform .35s var(--ease); }
.area-card:hover .area-card__link svg { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro a, .faq__item p a { color: var(--sky-600); font-weight: 600; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: rgba(56,182,255,.55); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 60px 20px 24px;
  font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b1f4a' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: #e5f4ff; }
.faq__item p { padding: 0 24px 22px; margin: 0; font-size: .95rem; line-height: 1.7; }

/* ---------- Location pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; padding: calc(var(--header-h) + 70px) 0 90px; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg picture { display: block; width: 100%; height: 100%; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,13,34,.97) 0%, rgba(7,22,52,.85) 45%, rgba(7,22,52,.35) 100%), linear-gradient(0deg, rgba(4,13,34,.8), transparent 50%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 1240px; }
.page-hero__title { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: .95; max-width: 900px; margin-bottom: 1.2rem; }
.page-hero__lead { max-width: 640px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.6); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--sky); }
.breadcrumbs a:hover { text-decoration: underline; }

.loc-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.loc-intro__copy > p { font-size: 1.02rem; }
.loc-intro__card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.loc-intro__card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.loc-intro__card .about__points { margin: 1.4rem 0; }
.loc-intro__hours { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--ink); }
.loc-intro__hours svg { color: var(--sky-600); font-size: 1.2rem; }

.loc-services { background: var(--navy-900); color: rgba(255,255,255,.75); }
.loc-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc-svc { display: flex; gap: 18px; padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); }
.loc-svc .svc__icon { width: 50px; height: 50px; font-size: 1.45rem; flex-shrink: 0; transform: none; }
.loc-svc h3 { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.loc-svc p { margin: 0; font-size: .92rem; line-height: 1.6; }
.loc-services__more { margin: 36px 0 0; }
.areas--compact { padding-top: clamp(60px, 7vw, 90px); }
.areas__grid--3 { grid-template-columns: repeat(3, 1fr); }
.areas__grid--3 .area-card h3 { margin-bottom: 16px; }

/* ---------- Article pages (services, areas, routes, guides) ---------- */
.page-hero__meta { margin: 1.6rem 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }
.article-section { padding-top: clamp(60px, 7vw, 90px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.article-grid > .article-aside { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
.article-grid > .prose { grid-column: 1; grid-row: 1; }
.facts-card { background: var(--navy-900); color: rgba(255,255,255,.8); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.facts-card__title { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: .02em; }
.facts-card__list { margin: 0 0 8px; display: grid; gap: 14px; }
.facts-card__list div { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 12px; }
.facts-card__list dt { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 3px; }
.facts-card__list dd { margin: 0; font-size: .92rem; line-height: 1.55; color: #fff; }
.facts-card__list a { color: #fff; text-decoration: underline; text-decoration-color: rgba(56,182,255,.6); text-underline-offset: 3px; }

.prose { font-size: 1.02rem; line-height: 1.8; color: var(--text); max-width: 780px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.02; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.6em; line-height: 1.35; }
.prose p { margin: 0; }
.prose p + p { margin-top: .9em; }
.prose a { color: var(--sky-600); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(27,156,232,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 3px; background: var(--sky); transform: rotate(45deg); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 42px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.prose .answer { font-size: 1.1rem; color: var(--ink); background: #eef7ff; border-left: 4px solid var(--sky); border-radius: 0 14px 14px 0; padding: 18px 22px; }
.prose .note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; font-size: .94rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.55; min-width: 520px; }
.prose th { background: var(--navy-800); color: #fff; text-align: left; font-weight: 600; padding: 12px 16px; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.prose .sources { font-size: .88rem; }
.prose .sources li { padding-left: 22px; }
.prose .sources li::before { width: 6px; height: 6px; top: .75em; }
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.prose .link-list li { padding: 0; }
.prose .link-list li::before { display: none; }
.prose .link-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.prose .link-list a:hover { border-color: var(--sky); transform: translateY(-2px); }
.prose .link-list a::after { content: "→"; color: var(--sky-600); }
.related__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.related__grid .area-card h3 { font-size: 1.7rem; margin-bottom: 16px; }

/* ---------- At a glance (homepage) ---------- */
.glance { background: #fff; padding: 40px 0 0; }
.glance__card { position: relative; z-index: 2; margin-top: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: var(--shadow); }
.glance__card h2 { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 10px; }
.glance__card p { margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.7; }
.glance__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; font-size: .9rem; }
.glance__facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance__facts dd { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.45; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-grid .why__card h3 a, .why__card h3 a, .svc h3 a { color: inherit; }
.why__card h3 a:hover, .svc h3 a:hover { color: var(--sky-600); }
.svc h3 a:hover { color: var(--sky); }
.why__card p a, .areas__routes a, .process__more a { color: var(--sky-600); font-weight: 600; }
.process__more, .areas__routes { text-align: center; margin: 24px 0 0; font-size: .95rem; }
.trust-grid + .process__more { margin-top: 28px; }
.trust { background: #fff; }
.about__more { font-weight: 600; color: var(--navy-800); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Arabic / RTL ---------- */
html[lang="ar"] { --font-display: "Cairo", "Poppins", sans-serif; --font-body: "Cairo", "Poppins", system-ui, sans-serif; }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] .eyebrow, html[lang="ar"] .pillar, html[lang="ar"] .facts-card__list dt, html[lang="ar"] .contact__list small, html[lang="ar"] .area-card__tag { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .section__title, html[lang="ar"] .page-hero__title, html[lang="ar"] .prose h2, html[lang="ar"] .facts-card__title, html[lang="ar"] .area-card h3, html[lang="ar"] .process__title, html[lang="ar"] .form__head h3 { font-weight: 800; letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .page-hero__title { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
html[lang="ar"] .section__title { font-size: clamp(2rem, 4vw, 3rem); }
html[lang="ar"] .prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
[dir="rtl"] .article-grid { direction: rtl; }
[dir="rtl"] .prose ul li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .prose ul li::before { left: auto; right: 4px; }
[dir="rtl"] .prose ol li { padding-left: 0; padding-right: 42px; }
[dir="rtl"] .prose ol li::before { left: auto; right: 0; }
[dir="rtl"] .prose .answer { border-left: 0; border-right: 4px solid var(--sky); border-radius: 14px 0 0 14px; }
[dir="rtl"] .prose th { text-align: right; }
[dir="rtl"] .prose .link-list a::after { content: "←"; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .btn svg, [dir="rtl"] .svc__link svg, [dir="rtl"] .area-card__link svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg:last-child:not(:first-child) { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .nav__menu { left: auto; right: -10px; }
[dir="rtl"] .nav__toggle { margin-left: 0; margin-right: -8px; }
[dir="rtl"] .field select { background-position: left 14px center; padding-right: 16px; padding-left: 42px; }
[dir="rtl"] .faq__item summary { padding: 20px 24px 20px 60px; }
[dir="rtl"] .faq__item summary::after { right: auto; left: 22px; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .page-hero::after { background: linear-gradient(270deg, rgba(4,13,34,.97) 0%, rgba(7,22,52,.85) 45%, rgba(7,22,52,.35) 100%), linear-gradient(0deg, rgba(4,13,34,.8), transparent 50%); }
[dir="rtl"] .contact__list a:hover { transform: translateX(-6px); }
[dir="rtl"] .footer__top svg { transform: rotate(-90deg); }
[dir="rtl"] .breadcrumbs li + li::before { margin: 0 0 0 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--sky-600) 140%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 60px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.4rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.contact__info > p { font-size: 1.02rem; }
.contact__list { display: grid; gap: 12px; margin-top: 2rem; }
.contact__list a, .contact__static {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.4;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.contact__list a:hover { transform: translateX(6px); border-color: var(--sky); box-shadow: var(--shadow-sm); }
.contact__list small { display: block; font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-size: 1.25rem; }
.contact__icon--wa { background: var(--wa); }

.form { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--sky), transparent 40%, transparent 60%, var(--navy-800)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form__head { margin-bottom: 24px; }
.form__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; }
.form__head p { margin: 0; font-size: .9rem; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label b { color: #e5484d; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  color: var(--ink); font-size: .95rem; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b1f4a' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a3adbf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(56,182,255,.18); }
.field__error { display: none; font-size: .78rem; color: #e5484d; margin-top: 5px; font-weight: 500; }
.field.is-invalid input, .field.is-invalid select { border-color: #e5484d; background: #fff6f6; }
.field.is-invalid .field__error { display: block; }
.form__note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form__note.is-success { color: #16884a; font-weight: 600; }

.map { position: relative; margin-top: clamp(50px, 7vw, 80px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 380px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map__btn { position: absolute; left: 20px; bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding: 80px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr 1.4fr; gap: 36px; padding-bottom: 50px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--sky); }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer__contact svg { color: var(--sky); margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; }
.footer__top svg { transform: rotate(-90deg); }

/* ---------- Social icons ---------- */
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.social a:hover { transform: translateY(-3px); background: var(--sky); border-color: var(--sky); color: var(--navy-900); }
.social--dark a { color: var(--navy-800); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.social--dark a:hover { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.footer .social a:hover { color: var(--navy-900); }
.contact__social { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.contact__social > span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav__social { display: none; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px; border-radius: 30px; background: var(--wa); color: #fff; font-weight: 600; font-size: .9rem;
  box-shadow: 0 16px 34px -10px rgba(37,211,102,.7);
  transition: transform .4s var(--ease);
}
.wa-float svg { font-size: 1.7rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: waPulse 2.4s infinite; }
.wa-float:hover { transform: translateY(-4px) scale(1.03); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-visible[data-tilt] { transition: opacity .9s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .5s; }

/* ---------- Keyframes ---------- */
@keyframes heroZoom { from { transform: scaleX(-1) scale(1.22); } to { transform: scaleX(-1) scale(1.08); } }
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 0 60px; } }
@keyframes streak { from { left: -260px; } to { left: 100%; } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56,182,255,.7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(56,182,255,0); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__phone-text { display: none; }
  .nav__link { padding: 8px 10px; }
}
@media (max-width: 1140px) {
  .burger { display: block; }
  .header__phone { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw); z-index: -1;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 24px 30px; overflow-y: auto;
    background: var(--navy-900); box-shadow: -30px 0 60px rgba(0,0,0,.35);
    transform: translateX(105%); transition: transform .5s var(--ease); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li, .nav__list > li.has-menu { display: block; position: relative; border-bottom: 1px solid rgba(255,255,255,.08); }
  .has-menu > .nav__link { padding-right: 48px; }
  [dir="rtl"] .has-menu > .nav__link { padding-right: 6px; padding-left: 48px; }
  .nav__link, .header.is-scrolled .nav__link { display: block; color: rgba(255,255,255,.85); font-size: 1.08rem; padding: 14px 6px; }
  .nav__link::after { display: none; }
  .nav__link.is-active, .header.is-scrolled .nav__link.is-active { color: var(--sky); }
  .nav__toggle, .header.is-scrolled .nav__toggle { position: absolute; right: 0; top: 6px; width: 40px; height: 40px; color: #fff; border-color: rgba(255,255,255,.2); }
  .nav__menu { position: static; display: none; min-width: 0; padding: 0 0 12px 10px; background: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; }
  .has-menu.is-open > .nav__menu { display: block; }
  .nav__menu a { color: rgba(255,255,255,.75); padding: 8px 10px; }
  .nav__menu a:hover, .nav__menu a[aria-current="page"] { background: rgba(255,255,255,.06); color: var(--sky); }
  .nav__menu small { color: rgba(255,255,255,.45); }
  .nav__phone--mobile { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: var(--sky); color: var(--navy-900); font-weight: 600; }
  .nav__social { display: flex; margin-top: 18px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header .burger { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
  body.menu-open .header .burger span { background: #fff; }
  body.menu-open .header .header__lang { color: #fff; border-color: rgba(255,255,255,.3); }
  body.menu-open .header .brand__logo--light { opacity: 1; }
  body.menu-open .header .brand__logo--dark { opacity: 0; }
  [dir="rtl"] .nav { right: auto; left: 0; box-shadow: 30px 0 60px rgba(0,0,0,.35); transform: translateX(-105%); }
  [dir="rtl"] .nav.is-open { transform: none; }
  [dir="rtl"] .nav__toggle { right: auto; left: 0; }
  [dir="rtl"] .nav__menu { padding: 0 10px 12px 0; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }

  .hero__content { grid-template-columns: 1fr; padding-bottom: 130px; }
  .hero__cards { display: none; }
  .hero__shade { background: linear-gradient(90deg, rgba(4,13,34,.95) 0%, rgba(7,22,52,.78) 60%, rgba(7,22,52,.45) 100%), linear-gradient(0deg, rgba(4,13,34,.95) 0%, rgba(4,13,34,0) 40%); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 680px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--feature { grid-row: auto; }
  .why__grid, .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid, .loc-intro, .glance__card { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid > .article-aside, .article-grid > .prose { grid-column: 1; grid-row: auto; position: static; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .loc-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .areas__grid.areas__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .faq__intro { position: static; }
  .section__head--split { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1240px); }
  .header__cta { display: none; }
  .brand { width: 112px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
  .hero__content { padding-bottom: 60px; }
  .hero__title { font-size: clamp(3.3rem, 16vw, 5rem); }
  .hero__bg img { object-position: 70% 40%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__pillars { position: relative; }
  .hero__pillars-inner { grid-template-columns: 1fr 1fr; }
  .pillar { justify-content: flex-start; padding: 18px 6px; font-size: .74rem; letter-spacing: .04em; gap: 10px; }
  .pillar + .pillar { border-left: 0; }
  .pillar:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .pillar svg { font-size: 1.4rem; }
  .hero__scroll, .hero__road { display: none; }
  .marquee span { font-size: 1.3rem; }
  .about__media { padding-bottom: 0; }
  .about__media-sub { display: none; }
  .about__badge { left: 14px; top: 14px; padding: 10px 14px; }
  .about__badge strong { font-size: .82rem; }
  .services__grid, .why__grid, .areas__grid, .areas__grid.areas__grid--3, .loc-svc-grid { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 60px; }
  .glance { padding-top: 28px; }
  .glance__card { padding: 24px 20px; }
  .glance__facts, .trust-grid { grid-template-columns: 1fr; }
  .facts-card { padding: 24px 20px; }
  .prose { font-size: .98rem; }
  [dir="rtl"] .wa-float { left: 16px; }
  .page-hero .hero__cta .btn { flex: 1 1 100%; }
  .faq__item summary { padding: 18px 54px 18px 18px; font-size: .95rem; }
  .faq__item summary::after { right: 16px; }
  .faq__item p { padding: 0 18px 18px; }
  .svc--feature { grid-column: auto; }
  .svc--feature .svc__body { padding: 0 24px 26px; }
  .svc__media { min-height: 200px; }
  .showcase { min-height: 0; }
  .showcase::after { background: linear-gradient(0deg, rgba(4,13,34,.97) 0%, rgba(7,22,52,.85) 55%, rgba(7,22,52,.3) 100%); }
  .showcase__inner { padding-top: 220px; padding-bottom: 60px; }
  .process__steps { grid-template-columns: 1fr; gap: 26px; }
  .process__steps::before { top: 0; bottom: 0; left: 30px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--sky) 0 10px, transparent 10px 20px); }
  .process__steps li { text-align: left; padding-left: 82px; min-height: 60px; }
  .process__steps span { position: absolute; left: 0; top: 0; margin: 0; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list a, .contact__static { font-size: .9rem; word-break: break-word; }
  .map { height: 300px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

/* Single-column grids must be allowed to shrink: a plain 1fr column grows to its widest content
   (wide tables, long headings), which pushed whole sections past the screen edge on phones. */
h1, h2, h3, .hero__title, .page-hero__title { overflow-wrap: break-word; }
.table-wrap { max-width: 100%; }
.article-grid > *, .contact__grid > *, .about__grid > *, .faq__grid > *, .hero__content > * { min-width: 0; }
@media (max-width: 1024px) {
  .article-grid, .contact__grid, .about__grid, .faq__grid, .loc-intro, .glance__card,
  .hero__content, .section__head--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .services__grid, .why__grid, .areas__grid, .areas__grid.areas__grid--3, .loc-svc-grid,
  .trust-grid, .glance__facts, .form__row, .footer__grid, .related__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__pillars-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .container { width: calc(100% - 28px); }
  .hero__title { font-size: clamp(2.7rem, 15vw, 3.6rem); }
  .section__title { font-size: clamp(2rem, 10.5vw, 2.6rem); }
  .page-hero__title { font-size: clamp(2.1rem, 11vw, 2.8rem); }
  html[lang="ar"] .page-hero__title { font-size: clamp(1.8rem, 9vw, 2.3rem); }
  html[lang="ar"] .section__title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
  .prose h2 { font-size: clamp(1.7rem, 9vw, 2.1rem); }
  .facts-card__title { font-size: 1.6rem; }
  .btn--lg { padding: 1em 1.3em; font-size: .95rem; white-space: normal; text-align: center; }
  .pillar { font-size: .68rem; }
  .header__lang { padding: 5px 8px; }
  .header__actions { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
