/* =========================================================================
   عالم الظل — Design System
   -------------------------------------------------------------------------
   Concept: steel-and-shade. The subject is engineered shade structures —
   welded steel frames, tensioned fabric, the sharp diagonal shadow lines
   they cast on stone and sand. The signature motif is the "shade line":
   a repeating 12°-tilted hairline pattern (echoing pergola slats / shade
   fabric seams) used as a divider, a hover reveal, and a hero backdrop —
   never as random decoration.

   Palette
   --ink        #1A2024  near-black steel / structural frame
   --stone      #EFEAE1  warm desert stone (base surface)
   --stone-2    #E2DACB  deeper stone for section contrast
   --steel      #4B5B63  cool steel-grey (secondary text / lines)
   --brass      #B9812E  sun-brass accent (the one warm signature color)
   --brass-deep #8F621F  pressed / hover state of brass
   --paper      #FBF9F5  near-white for copy on dark

   Type
   Display  — "Tajawal" (700/900) — geometric Arabic, engineering poster feel
   Body     — "IBM Plex Sans Arabic" — precise, technical, highly legible
   ========================================================================= */

:root {
  --ink: #1a2024;
  --ink-soft: #262e33;
  --stone: #efeae1;
  --stone-2: #e2dacb;
  --steel: #4b5b63;
  --steel-soft: #7c8a90;
  --brass: #b9812e;
  --brass-deep: #8f621f;
  --paper: #fbf9f5;
  --line: rgba(26, 32, 36, 0.12);
  --line-on-dark: rgba(251, 249, 245, 0.16);

  --font-display: "Tajawal", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", sans-serif;

  --container: 1240px;
  --radius: 4px;
  --shadow-1: 0 1px 2px rgba(26, 32, 36, 0.06), 0 8px 24px rgba(26, 32, 36, 0.06);
  --shadow-2: 0 4px 10px rgba(26, 32, 36, 0.10), 0 20px 48px rgba(26, 32, 36, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------
   Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--stone);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

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

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: var(--radius);
  z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Signature motif: the shade line
   A tilted repeating-linear-gradient used as texture, never literal art.
   --------------------------------------------------------------------- */
.shade-lines {
  background-image: repeating-linear-gradient(
    12deg,
    rgba(26, 32, 36, 0.055) 0px,
    rgba(26, 32, 36, 0.055) 1px,
    transparent 1px,
    transparent 34px
  );
}
.shade-lines-dark {
  background-image: repeating-linear-gradient(
    12deg,
    rgba(251, 249, 245, 0.06) 0px,
    rgba(251, 249, 245, 0.06) 1px,
    transparent 1px,
    transparent 34px
  );
}

.divider {
  height: 46px;
  background-image: repeating-linear-gradient(
    12deg,
    var(--brass) 0px,
    var(--brass) 2px,
    transparent 2px,
    transparent 22px
  );
  opacity: .55;
  margin-block: 0;
}

/* ---------------------------------------------------------------------
   Eyebrow / labels
   --------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--brass-deep);
  text-transform: none;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass);
  display: inline-block;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brass); color: var(--paper); }
.btn-primary:hover { background: var(--brass-deep); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline { background: transparent; color: var(--paper); border-color: var(--line-on-dark); }
.btn-outline:hover { border-color: var(--paper); }
.btn-outline-ink { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline-ink:hover { border-color: var(--ink); }
.btn-whatsapp { background: #2fae5d; color: #fff; }
.btn-whatsapp:hover { background: #268f4c; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--stone-2);
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--stone-2); }
.topbar-links a:hover { color: var(--brass); }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { color: var(--stone-2); opacity: .85; }
.topbar-social a:hover { opacity: 1; color: var(--brass); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.brand-text span { font-size: 12px; color: var(--steel); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .15s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--ink); font-weight: 800; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 12px 20px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { margin: 5px 0; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-close { width: 44px; height: 44px; border: 1.5px solid var(--line-on-dark); border-radius: var(--radius); background: transparent; color: var(--paper); font-size: 20px; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 18px 4px; font-family: var(--font-display); font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,32,36,.97) 10%, rgba(26,32,36,.72) 55%, rgba(26,32,36,.35) 100%);
}
[dir="rtl"] .hero-scrim { background: linear-gradient(270deg, rgba(26,32,36,.97) 10%, rgba(26,32,36,.72) 55%, rgba(26,32,36,.35) 100%); }
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 120px 100px;
  max-width: 720px;
}
.hero .eyebrow { color: var(--brass); }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(251,249,245,.82);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line-on-dark); }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(251,249,245,.75); }
.hero-meta strong { color: var(--paper); font-family: var(--font-display); font-size: 15px; }

/* ---------------------------------------------------------------------
   Section scaffolding
   --------------------------------------------------------------------- */
.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-stone2 { background: var(--stone-2); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; }
.section-head p { margin-top: 16px; color: var(--steel); font-size: 16.5px; }
.section-dark .section-head p { color: rgba(251,249,245,.72); }

.section-foot { margin-top: 44px; display: flex; justify-content: center; }

/* ---------------------------------------------------------------------
   Trust / advantage cards
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.adv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.adv-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--stone-2);
  color: var(--brass-deep);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--steel); font-size: 15px; }

/* ---------------------------------------------------------------------
   Service cards
   --------------------------------------------------------------------- */
.svc-card {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.svc-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.svc-card:hover img { transform: scale(1.08); }
.svc-card .svc-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,19,21,.92) 0%, rgba(15,19,21,.35) 55%, rgba(15,19,21,.05) 100%);
}
.svc-card-body { position: relative; z-index: 2; padding: 22px; color: var(--paper); }
.svc-card-body span.tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; color: var(--brass);
  margin-bottom: 8px; font-family: var(--font-display);
}
.svc-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card-body p { font-size: 13.5px; color: rgba(251,249,245,.78); margin-bottom: 16px; }
.svc-card-body .svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--paper);
  border-bottom: 1.5px solid var(--brass); padding-bottom: 3px;
  transition: gap .2s var(--ease);
}
.svc-card:hover .svc-link { gap: 12px; }

/* Compact list card variant (used on services.php full grid) */
.svc-card-sm { aspect-ratio: 4 / 3.1; }

/* ---------------------------------------------------------------------
   Why choose us
   --------------------------------------------------------------------- */
.why-card { display: flex; gap: 18px; align-items: flex-start; }
.why-num { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--brass); border: 1.5px solid var(--brass); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.why-card p { font-size: 14.5px; color: rgba(251,249,245,.7); }

/* ---------------------------------------------------------------------
   About split
   --------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; height: 460px; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--brass); color: var(--paper);
  padding: 22px 26px; border-radius: var(--radius);
  font-family: var(--font-display);
  box-shadow: var(--shadow-2);
}
[dir="rtl"] .split-media .badge { right: auto; left: -22px; }
.split-media .badge strong { display: block; font-size: 32px; line-height: 1; }
.split-media .badge span { font-size: 13px; font-weight: 600; }

.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; color: var(--brass-deep); flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------------
   Stats strip
   --------------------------------------------------------------------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stats-strip .grid { padding-block: 40px; }
.stat { text-align: center; border-left: 1px solid var(--line); }
.stat:last-child { border-left: none; }
[dir="rtl"] .stat { border-left: none; border-right: 1px solid var(--line); }
[dir="rtl"] .stat:last-child { border-right: none; }
.stat strong { display: block; font-family: var(--font-display); font-size: 34px; color: var(--brass-deep); }
.stat span { font-size: 13.5px; color: var(--steel); }

/* ---------------------------------------------------------------------
   Process (about page)
   --------------------------------------------------------------------- */
.process-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-step { padding: 0 18px; position: relative; }
.process-step::before {
  content: attr(data-step);
  font-family: var(--font-display); font-weight: 900; font-size: 44px;
  color: var(--stone-2); display: block; margin-bottom: 10px;
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--steel); }

/* ---------------------------------------------------------------------
   FAQ (accordion)
   --------------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: right; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink);
}
.faq-q .plus { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--brass-deep); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .plus::before { width: 16px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 16px; transition: transform .2s var(--ease); }
.faq-item.is-open .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--steel); font-size: 15px; max-width: 680px; }

/* ---------------------------------------------------------------------
   Projects / gallery
   --------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--steel);
  transition: all .18s var(--ease);
}
.filter-btn:hover { border-color: var(--brass); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.masonry { columns: 3 260px; column-gap: 20px; }
.masonry-item { break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.masonry-item img { width: 100%; display: block; transition: transform .45s var(--ease); }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 16px;
  background: linear-gradient(0deg, rgba(15,19,21,.85), transparent);
  color: var(--paper); font-size: 13.5px; font-weight: 700; font-family: var(--font-display);
  opacity: 0; transition: opacity .2s var(--ease);
}
.masonry-item:hover .cap { opacity: 1; }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.proj-card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.proj-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.proj-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proj-card:hover .thumb img { transform: scale(1.07); }
.proj-card-body { padding: 20px; }
.proj-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brass-deep); background: var(--stone-2); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.proj-card-body h3 { font-size: 16.5px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(15,19,21,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 26px; left: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(251,249,245,.1); color: var(--paper); border: 1px solid var(--line-on-dark); font-size: 22px; }
[dir="rtl"] .lightbox-close { left: auto; right: 26px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(251,249,245,.1); color: var(--paper); border: 1px solid var(--line-on-dark); font-size: 22px; }
.lightbox-prev { left: 26px; } .lightbox-next { right: 26px; }

/* ---------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-soft); font-family: var(--font-display); }
.field label .req { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 13px 16px;
  font-family: var(--font-body); font-size: 15px; background: var(--stone); color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); background: var(--paper); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12.5px; color: var(--steel-soft); }
.field .error { font-size: 12.5px; color: #b3372c; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3372c; }
.field.has-error .error { display: block; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 20px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #e5f4ea; color: #1c6b3a; border: 1px solid #bfe3cc; }
.alert-error { background: #fbe9e7; color: #a3352a; border: 1px solid #f2c6bf; }

/* ---------------------------------------------------------------------
   Contact info cards
   --------------------------------------------------------------------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-card .adv-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--steel); font-size: 15px; }
.contact-card a:hover { color: var(--brass-deep); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(12deg, rgba(185,129,46,.14) 0px, rgba(185,129,46,.14) 1px, transparent 1px, transparent 26px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: rgba(251,249,245,.72); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,249,245,.78); }
.footer-top { padding-block: 72px 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 40px; }
.footer-brand strong { font-family: var(--font-display); font-size: 17px; color: var(--paper); }
.footer-col h4 { font-family: var(--font-display); color: var(--paper); font-size: 15px; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--brass); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--brass); color: var(--brass); }
.footer-bottom { border-top: 1px solid var(--line-on-dark); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(251,249,245,.55); }
.footer-bottom a:hover { color: var(--brass); }

/* ---------------------------------------------------------------------
   Floating mobile actions
   --------------------------------------------------------------------- */
.floating-actions {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 250;
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.floating-actions .row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; }
.floating-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; font-size: 12px; font-weight: 700; font-family: var(--font-display); border-left: 1px solid var(--line); }
[dir="rtl"] .floating-actions a { border-left: none; border-right: 1px solid var(--line); }
.floating-actions a:last-child { border: none; background: var(--brass); color: var(--paper); }
.floating-actions svg { width: 20px; height: 20px; }

.wa-float {
  position: fixed; bottom: 90px; left: 22px; z-index: 240;
  width: 56px; height: 56px; border-radius: 50%;
  background: #2fae5d; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2);
}
[dir="rtl"] .wa-float { left: 22px; right: auto; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------------
   Breadcrumb
   --------------------------------------------------------------------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--steel); padding-block: 20px; }
.breadcrumb a:hover { color: var(--brass-deep); }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb span.current { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------------
   Page hero (inner pages)
   --------------------------------------------------------------------- */
.page-hero {
  background: var(--ink); color: var(--paper);
  padding-block: 64px 56px;
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: rgba(251,249,245,.72); margin-top: 14px; max-width: 620px; }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: 80px; }
.error-page .code { font-family: var(--font-display); font-size: clamp(70px, 14vw, 150px); font-weight: 900; color: var(--stone-2); line-height: 1; }
.error-page h1 { font-size: 26px; margin-block: 10px 14px; }
.error-page p { color: var(--steel); margin-bottom: 34px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav, .header-actions .btn-outline-ink, .topbar { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media img { height: 320px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2 220px; }
  .form-grid { grid-template-columns: 1fr; }
  .floating-actions { display: block; }
  body { padding-bottom: 62px; }
}

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .stats-strip .grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stat { border: none !important; }
  .hero-inner { padding-block: 90px 70px; }
  .hero-meta { gap: 18px; }
  .cta-band { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .masonry { columns: 1 100%; }
  .wa-float { bottom: 78px; width: 50px; height: 50px; }
  .form-card { padding: 24px; }
}
