:root {
  --navy: #0d2a4d;
  --navy-2: #123b6d;
  --navy-3: #1b4f8f;
  --gold: #e8b04b;
  --gold-2: #f5c96b;
  --gold-deep: #c9942f;
  --bg: #f6f8fc;
  --white: #ffffff;
  --ink: #14213d;
  --muted: #46586e;
  --line: #e3e9f2;
  --whatsapp: #25d366;
  --red: #d64545;
  --shadow: 0 10px 30px rgba(13, 42, 77, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 42, 77, 0.16);
  --radius: 16px;
  --header-h: 76px;
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Poppins", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

html[lang="ar"] { font-family: var(--font-ar); }
html[lang="en"] { font-family: var(--font-en); }

body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }

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

.skip-link {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: 16px;
  z-index: 2000;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  transition: none;
}

.skip-link:focus { inset-block-start: 12px; }

.section { padding-block: 88px; position: relative; }

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-deep);
  background: rgba(232, 176, 75, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}

.section-title .hl,
.hero-title .hl {
  color: var(--gold-deep);
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 48%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .hl { filter: drop-shadow(0 3px 14px rgba(245, 201, 107, 0.4)); }

.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.site-header.scrolled { box-shadow: 0 8px 30px rgba(13, 42, 77, 0.10); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo { border-radius: 12px; flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy);
}

.brand-slogan {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.3px;
}

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

.main-nav a {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  padding-block: 8px;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover { color: var(--navy); }

.main-nav a:hover::after { width: 100%; }

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

.btn-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 9px 14px;
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-quick:hover { border-color: var(--gold); background: rgba(232, 176, 75, 0.08); }

.quicklinks { position: relative; }

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 9px 14px;
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-lang:hover { border-color: var(--navy-3); background: rgba(13, 42, 77, 0.05); }

.hero {
  position: relative;
  padding-block: calc(var(--header-h) + 70px) 90px;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 48%, var(--navy-3) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to top, rgba(9, 28, 52, 0.86) 0%, rgba(13, 42, 77, 0.5) 34%, rgba(18, 59, 109, 0.2) 62%, rgba(27, 79, 143, 0.32) 100%),
    url("../مجلد الصور/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner { position: relative; z-index: 1; }

.hero-content { max-width: 640px; text-shadow: 0 2px 22px rgba(6, 20, 38, 0.6); }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold-2);
  background: rgba(11, 31, 59, 0.4);
  border: 1px solid rgba(245, 201, 107, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.25);
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.93);
  font-weight: 500;
  letter-spacing: 0.2px;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 13px 28px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(232, 176, 75, 0.4);
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(232, 176, 75, 0.5); }

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-3px); }

.btn-whats {
  background: linear-gradient(135deg, #2dd66f, #1eb358);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  position: relative;
}

.btn-whats:hover {
  background: linear-gradient(135deg, #45e285, #25c25f);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.52);
}

.btn-whats::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: btnPulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes btnPulse {
  0% { transform: scale(1); opacity: 0.85; }
  60%, 100% { transform: scale(1.3); opacity: 0; }
}

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

.hero-actions .btn-whats svg { flex-shrink: 0; }

.btn-block { width: 100%; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.hero-badges li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; color: rgba(255, 255, 255, 0.95); }

.hero-badges li span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.22);
  color: #7ee8a8;
  font-size: 0.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: start;
}

.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }

.about-cards { display: grid; gap: 18px; }

.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.mini-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }

.mini-card h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }

.mini-card p { color: var(--muted); }

.services { background: var(--white); }

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.s-ic {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(232, 176, 75, 0.18), rgba(232, 176, 75, 0.05));
  border-radius: 15px;
  margin-bottom: 18px;
}

.service-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }

.service-card p { color: var(--muted); font-size: 0.98rem; }

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

.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.w-ic {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--navy);
  background: rgba(232, 176, 75, 0.18);
  border-radius: 13px;
  margin-bottom: 16px;
}

.why-item h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 8px; }

.why-item p { color: var(--muted); font-size: 0.96rem; }

.works { background: var(--white); }

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

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--bg);
}

.work-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s ease; }

.work-card:hover img { transform: scale(1.06); }

.work-card figcaption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(13, 42, 77, 0.9), transparent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
}

.works-note {
  text-align: center;
  color: var(--muted);
  margin-top: 30px;
  font-weight: 700;
  background: rgba(232, 176, 75, 0.12);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  margin-inline: auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.a-ic { font-size: 1.6rem; display: block; margin-bottom: 10px; }

.area-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }

.area-card p { color: var(--muted); font-size: 0.82rem; }

.areas-banner {
  margin-top: 34px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--white);
  text-align: center;
  padding: 24px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.08rem;
}

.contact { padding-bottom: 100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.c-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232, 176, 75, 0.5); }

.c-ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(232, 176, 75, 0.16);
  border-radius: 12px;
}

.c-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 3px; }

.c-card p { color: var(--muted); font-size: 0.86rem; }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}

.quote-form h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 20px; }

.field { margin-bottom: 18px; }

.field label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--navy); margin-bottom: 7px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.18);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 90px; }

.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }

.map-wrap {
  margin-top: 40px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.map-wrap iframe { display: block; }

.map-btn {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-end: 16px;
  background: var(--white);
  color: var(--navy);
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 11px 22px;
  font-size: 0.95rem;
}

.map-btn:hover { background: var(--gold-2); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding-top: 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding-bottom: 40px;
  align-items: start;
}

.f-brand .brand-name { color: var(--white); }

.f-brand p { font-size: 0.95rem; margin-top: 16px; max-width: 320px; }

.f-col h3 { color: var(--gold-2); font-size: 1.05rem; margin-bottom: 16px; }

.f-col ul li { margin-bottom: 10px; }

.f-col ul a { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; transition: color 0.2s ease; }

.f-col ul a:hover { color: var(--gold-2); }

.f-contact li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
}

.f-contact li a:hover { color: var(--gold-2); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 20px; text-align: center; font-size: 0.9rem; }

.fab {
  position: fixed;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fab:hover { transform: translateY(-4px) scale(1.05); }

.fab-whats {
  inset-inline-end: 22px;
  inset-block-end: 22px;
  background: var(--whatsapp);
  color: var(--white);
}

.fab-top {
  inset-inline-end: 22px;
  inset-block-end: 92px;
  background: var(--navy);
  color: var(--gold-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.fab-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

html[lang="en"] body { font-family: var(--font-en); }

.main-nav a.active { color: var(--navy); }

.main-nav a.active::after { width: 100%; }

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 18, 33, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lb-body {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  display: grid;
  place-items: center;
  gap: 14px;
}

.lb-body img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lb-cap { color: var(--gold-2); font-weight: 700; font-size: 1.05rem; text-align: center; }

.lb-close,
.lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lb-close:hover,
.lb-nav:hover { background: var(--gold); color: var(--navy); }

.lb-close { inset-block-start: 22px; inset-inline-end: 22px; }

.lb-prev { inset-inline-start: 20px; inset-block-start: 50%; transform: translateY(-50%); }

.lb-next { inset-inline-end: 20px; inset-block-start: 50%; transform: translateY(-50%); }

.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 640px) {
  .lb-nav { width: 40px; height: 40px; font-size: 1.2rem; inset-inline-start: 10px; }
  .lb-next { inset-inline-end: 10px; }
}

.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 1300;
  border-radius: 0 3px 3px 0;
}

html[dir="rtl"] .scroll-progress { border-radius: 3px 0 0 3px; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}

.hero::before {
  width: 360px;
  height: 360px;
  inset-inline-start: -130px;
  inset-block-start: -70px;
  background: radial-gradient(circle, rgba(232, 176, 75, 0.38), transparent 65%);
}

.hero::after {
  width: 320px;
  height: 320px;
  inset-inline-end: -110px;
  inset-block-end: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
}

.fab-whats { position: relative; }

.fab-whats::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: btnPulse 2.6s ease-out infinite;
}

.btn-gold { position: relative; overflow: hidden; }

.btn-gold::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg) translateX(-160%);
  pointer-events: none;
}

@keyframes shine {
  to { transform: skewX(-20deg) translateX(280%); }
}

.btn-gold:hover::before { animation: shine 0.9s ease; }

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

.service-card:hover .s-ic,
.article-card:hover .a-ic { animation: wobble 0.6s ease; }

.articles { background: var(--white); }

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

.article-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.article-card .a-ic {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(232, 176, 75, 0.18), rgba(232, 176, 75, 0.05));
  border-radius: 15px;
  margin-bottom: 16px;
}

.article-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; line-height: 1.5; }

.article-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.read-more {
  display: inline-block;
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 0.92rem;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -4px;
  width: 0;
  height: 2px;
  background: var(--gold-deep);
  transition: width 0.25s ease;
}

.article-card:hover .read-more::after { width: 100%; }

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

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 176, 75, 0.45);
}

.tip-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-radius: 12px;
  font-size: 0.95rem;
}

.tip-card p { color: var(--muted); font-size: 0.94rem; }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open { border-color: rgba(232, 176, 75, 0.6); box-shadow: var(--shadow-lg); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy);
  text-align: start;
}

.faq-q .faq-ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(232, 176, 75, 0.15);
  color: var(--gold-deep);
  font-size: 1.15rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-q .faq-ic { transform: rotate(135deg); background: var(--gold); color: var(--navy); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.98rem; }

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 18, 33, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.article-modal.open { opacity: 1; visibility: visible; }

.am-box {
  background: var(--white);
  border-radius: 18px;
  max-width: 780px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px 30px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.am-close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.am-close:hover { background: var(--gold); transform: rotate(90deg); }

.am-box h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 8px; padding-inline-end: 44px; line-height: 1.5; }

.am-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 18px;
}

.am-box p { color: var(--muted); margin-bottom: 14px; font-size: 1rem; }

.credit {
  margin-top: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
  .articles-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .articles-grid, .tips-grid { grid-template-columns: 1fr; }
  .am-box { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-gold::before { animation: none; }
  .service-card:hover .s-ic, .article-card:hover .a-ic { animation: none; }
  .hero-chip, .hero-whats { animation: none; }
  .btn-whats::after, .hero-whats::after, .fab-whats::after { animation: none; }
}

.hero-wave {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-wave svg { display: block; }

.hero-chips {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  inset-inline-end: max(24px, 6%);
  max-width: 220px;
}

.hero-chip {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(13, 42, 77, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 34px rgba(6, 20, 38, 0.3);
  animation: floatSoft 5s ease-in-out infinite;
}

.hero-chip:nth-child(1) { animation-delay: 0s; }

.hero-chip:nth-child(2) { animation-delay: 1.2s; }

.hero-chip:nth-child(3) { animation-delay: 0.6s; }

.hero-chip:nth-child(4) { animation-delay: 1.8s; }

@media (min-width: 1101px) {
  .hero-chip {
    width: 100%;
    height: 66px;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.4;
  }
}

.hc-ic {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-whats {
  position: absolute;
  z-index: 2;
  inset-inline-end: 8%;
  inset-block-end: 20%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #2dd66f, #1eb358);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.5);
  animation: floatSoft 4.5s ease-in-out infinite;
  transition: background 0.25s ease, box-shadow 0.25s ease, opacity 0.7s ease, transform 0.7s ease;
}

.hero-whats:hover {
  background: linear-gradient(135deg, #45e285, #25c25f);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.6);
}

.hero-whats::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: btnPulse 2.6s ease-out infinite;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  z-index: 1;
  inset-inline-start: 50%;
  inset-block-end: 118px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  display: block;
}

.scroll-hint span {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 8px;
  width: 4px;
  height: 8px;
  margin-inline-start: -2px;
  border-radius: 4px;
  background: var(--gold-2);
}

@media (max-width: 768px) {
  .hero-bg {
    background-image:
      linear-gradient(to top, rgba(9, 28, 52, 0.9) 8%, rgba(9, 28, 52, 0.48) 52%, rgba(18, 59, 109, 0.28) 100%),
      url("../مجلد الصور/hero.jpg");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 1100px) {
  .scroll-hint { display: none; }
  .hero-chips {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    margin-block-start: 28px;
    transform: none;
    max-width: none;
  }
  .hero-chip { flex: 1 1 200px; min-height: 50px; font-size: 0.86rem; padding: 9px 15px; }
  .hero-whats {
    position: static;
    width: 62px;
    height: 62px;
    margin: 20px auto 0;
  }
  .hero { padding-block-end: 260px; }
}

.section-head .eyebrow { position: relative; }

.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  width: 46px;
  height: 1.5px;
  opacity: 0.75;
}

.section-head .eyebrow::before {
  inset-inline-end: calc(100% + 14px);
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-deep));
}

.section-head .eyebrow::after {
  inset-inline-start: calc(100% + 14px);
  background: linear-gradient(270deg, transparent, var(--gold), var(--gold-deep));
}

@media (max-width: 560px) {
  .section-head .eyebrow::before,
  .section-head .eyebrow::after { width: 22px; }
}

.services .services-grid { position: relative; }

/* ===== نظام الحواف الملوّنة الموحّد لجميع البطاقات ===== */
.mini-card,
.service-card,
.why-item,
.step-card,
.work-card,
.area-card,
.article-card,
.tip-card,
.faq-item,
.c-card,
.quote-form { position: relative; }

.mini-card::before,
.service-card::before,
.why-item::before,
.step-card::before,
.work-card::before,
.area-card::before,
.article-card::before,
.tip-card::before,
.faq-item::before,
.c-card::before,
.quote-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.8px;
  background: linear-gradient(140deg, #f8e2ae 0%, var(--gold) 30%, var(--gold-deep) 58%, #b9842a 74%, rgba(232, 176, 75, 0.12) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.92;
  transition: opacity 0.3s ease, filter 0.3s ease;
  pointer-events: none;
}

.mini-card:hover::before,
.service-card:hover::before,
.why-item:hover::before,
.step-card:hover::before,
.work-card:hover::before,
.area-card:hover::before,
.article-card:hover::before,
.tip-card:hover::before,
.faq-item:hover::before,
.faq-item.open::before,
.c-card:hover::before,
.quote-form:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(232, 176, 75, 0.5)) brightness(1.07);
}

.s-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 0.92rem;
  margin-top: 16px;
  position: relative;
}

.s-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: -4px;
  width: 0;
  height: 2px;
  background: var(--gold-deep);
  transition: width 0.25s ease;
}

.s-link:hover::after { width: 100%; }

.why { position: relative; }

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 42, 77, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.why .container { position: relative; }

.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: 84px;
}

.cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  inset-block-start: -180px;
  inset-inline-start: -140px;
  background: radial-gradient(circle, rgba(232, 176, 75, 0.28), transparent 65%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  inset-block-end: -160px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta h2 .hl { color: var(--gold-2); }

.cta p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

@media (max-width: 640px) {
  .cta-actions .btn { width: 100%; }
}

.steps { background: var(--white); }

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

.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 176, 75, 0.45);
}

.step-num {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(232, 176, 75, 0.4);
}

.step-ic {
  width: 66px;
  height: 66px;
  margin: 6px auto 18px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 42, 77, 0.05), rgba(232, 176, 75, 0.18));
}

.step-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }

.step-card p { color: var(--muted); font-size: 0.95rem; }

.steps-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.steps-note span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .work-card img, .service-card, .why-item, .area-card { transition: none; }
}

@media (max-width: 1200px) {
  .brand-slogan { display: none; }
  .btn-quick { padding: 10px; }
  .btn-quick span { display: none; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 0.92rem; padding-block: 6px; }
}

@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .why-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .reveal { transform: translateY(12px); }
  .services-grid, .why-grid, .works-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .btn-quick span { display: none; }
  .btn-quick { padding: 10px; }
  .brand-slogan { display: none; }
  #langLabel { display: none; }
  .btn-lang { padding: 9px 10px; }
  .map-wrap iframe { height: 280px; }
  .hero-chips { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-chip { justify-content: center; text-align: center; }
  .hero { padding-block-start: calc(var(--header-h) + 48px); }
  .hero { padding-block-end: 320px; }
  .hero-actions .btn { width: 100%; }
  .map-btn { position: static; display: block; width: 100%; border-radius: 0; text-align: center; }
}

@media (max-width: 400px) {
  .container { padding-inline: 14px; }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 0.95rem; }
  .header-actions { gap: 8px; }
  .btn-quick { width: 40px; height: 40px; }
  .hero-title { font-size: 1.9rem; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .header-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { font-size: 0.88rem; }
  .header-actions { gap: 6px; }
  .btn-quick, .btn-lang { padding: 8px; }
  .btn-quick { width: 38px; height: 38px; }
}