/* ============================================================
   AJAMI WORKS — style.css
   ============================================================ */

/* ── Google Fonts loaded in HTML ── */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg-main:       #0f1412;
  --bg-soft:       #161d1a;
  --bg-card:       #1d2521;
  --text-main:     #f5f1e8;
  --text-muted:    #b8b0a2;
  --accent-wood:   #b8793f;
  --accent-dark:   #7a4b26;
  --accent-metal:  #c8ced0;
  --border:        rgba(255, 255, 255, 0.12);
  --success:       #6dd58c;

  --font-en: 'Inter', sans-serif;
  --font-ar: 'Tajawal', sans-serif;

  --section-pad: 96px 0;
  --container:   1200px;
  --gutter:      24px;
  --nav-height:  70px;

  --r-sm:  8px;
  --r:     12px;
  --r-lg:  20px;

  --sh-sm: 0 2px 12px rgba(0,0,0,.30);
  --sh:    0 4px 24px rgba(0,0,0,.40);
  --sh-lg: 0 8px 48px rgba(0,0,0,.50);
  --sh-xl: 0 16px 64px rgba(0,0,0,.60);

  --ease: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--nav-height, 70px);
  /* Clip instead of hidden so sticky nav still works, but off-screen
     honeypot / absolute deco can't create a horizontal scrollbar. */
  overflow-x: clip;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-en);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-width: 0;
}

body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

body.rtl p,
body.rtl li,
body.rtl input,
body.rtl select,
body.rtl textarea { line-height: 1.9; }

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--accent-wood);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
body.rtl .skip-link {
  left: auto;
  right: 0;
  border-radius: 0 0 0 var(--r-sm);
}

img, video, canvas, iframe { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; max-width: 100%; }

/* Flex/grid children shrink instead of forcing page overflow */
.container,
.hero-grid,
.hero-content,
.nav-inner,
.contact-grid,
.why-us-grid { min-width: 0; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--text-main); }

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4 { font-family: var(--font-ar); line-height: 1.4; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section      { padding: var(--section-pad); }
.section-alt  { background: var(--bg-soft); }

.section-header          { text-align: center; margin-bottom: 56px; }
.section-header h2       { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-header p        { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-wood);
  margin-bottom: 10px;
}

.divider {
  width: 52px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-wood), var(--accent-metal));
  margin: 14px auto 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-wood) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(184,121,63,.35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,121,63,.50);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-main);
  background: transparent;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent-metal);
  color: var(--accent-metal);
  transform: translateY(-2px);
}

/* focus rings */
.btn:focus-visible,
a:focus-visible { outline: 2px solid var(--accent-wood); outline-offset: 3px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,20,18,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 28px;
}

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

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  /* Graphite sampled from the master logo artwork, sheen included. */
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(135deg, #101215 0%, #26292e 52%, #0b0c0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  color: #fff;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-size: .88rem; font-weight: 700; line-height: 1.2; }
.nav-brand-tagline { font-size: .68rem; color: var(--text-muted); line-height: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text-main); background: rgba(255,255,255,.06); }

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

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--ease);
  background: transparent;
}
.lang-btn:hover,
.lang-btn:focus-visible { border-color: var(--accent-metal); color: var(--accent-metal); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 80% 45%, rgba(184,121,63,.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 15% 75%, rgba(200,206,208,.04) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
body.rtl .hero-title { letter-spacing: 0; line-height: 1.3; }

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent-wood) 0%, #d9995e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 38px;
}

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

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

.proof-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.proof-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-wood), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.proof-text { font-size: .78rem; font-weight: 600; }

/* Hero Visual ─────────────── */
.hero-visual-wrap { position: relative; z-index: 1; }
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--sh-xl);
}
.hero-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.hero-visual.has-slot-image .hero-visual-css { opacity: 0; pointer-events: none; }
.hero-visual-css { position: absolute; inset: 0; }
.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Wood grain helper */
.hv-wood-grain-pattern {
  background-image:
    repeating-linear-gradient(
      94deg,
      transparent 0px, transparent 17px,
      rgba(0,0,0,.055) 17px, rgba(0,0,0,.055) 19px
    ),
    repeating-linear-gradient(
      88deg,
      transparent 0px, transparent 42px,
      rgba(255,255,255,.025) 42px, rgba(255,255,255,.025) 44px
    );
}

.hv-wood-main {
  position: absolute;
  top: -6%;
  left: -10%;
  width: 70%;
  height: 88%;
  background:
    repeating-linear-gradient(94deg, transparent 0px, transparent 17px, rgba(0,0,0,.055) 17px, rgba(0,0,0,.055) 19px),
    linear-gradient(148deg, #4a2810 0%, #7a4b26 28%, #b8793f 58%, #8b5e34 82%, #3d2008 100%);
  border-radius: 18px;
  transform: rotate(-5deg);
  box-shadow: var(--sh-xl);
}

.hv-metal-panel {
  position: absolute;
  top: 10%;
  right: -6%;
  width: 58%;
  height: 64%;
  background: linear-gradient(148deg, #7a8489 0%, #b0b8bc 28%, #c8ced0 52%, #9da6ab 78%, #6e797e 100%);
  border-radius: 14px;
  transform: rotate(4.5deg);
  box-shadow: var(--sh-xl);
}
.hv-metal-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,.18) 0%, transparent 40%, rgba(0,0,0,.08) 100%);
  border-radius: inherit;
}

.hv-wood-strip {
  position: absolute;
  bottom: 8%;
  left: 10%;
  width: 46%;
  height: 24%;
  background:
    repeating-linear-gradient(92deg, transparent 0px, transparent 14px, rgba(0,0,0,.06) 14px, rgba(0,0,0,.06) 15px),
    linear-gradient(135deg, #6b4020 0%, #b8793f 55%, #5c3518 100%);
  border-radius: 10px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
}

.hv-metal-thin {
  position: absolute;
  bottom: 20%;
  right: 7%;
  width: 28%;
  height: 10%;
  background: linear-gradient(135deg, #c8ced0 0%, #9da6ab 50%, #bdc5c8 100%);
  border-radius: 5px;
  transform: rotate(2.5deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.hv-metal-thin::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, transparent 60%);
  border-radius: inherit;
}

.hv-accent-line {
  position: absolute;
  top: 22%;
  left: 6%;
  width: 6px;
  height: 55%;
  background: linear-gradient(180deg, var(--accent-wood) 0%, transparent 100%);
  border-radius: 3px;
  opacity: .7;
  transform: rotate(-5deg);
}

.hv-badge {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,13,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 22px;
  text-align: center;
  min-width: 190px;
  z-index: 10;
}
.hv-badge-mark {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-wood);
  letter-spacing: -.02em;
  line-height: 1;
}
.hv-badge-label {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 5px;
}

/* ── Services Section ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-wood), var(--accent-metal));
  opacity: 0;
  transition: opacity var(--ease);
}
.service-card:hover,
.service-card:focus-visible { transform: translateY(-4px); border-color: rgba(255,255,255,.22); box-shadow: var(--sh-lg); }
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; }

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: rgba(184,121,63,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  transition: background var(--ease);
}
.service-card:hover .service-icon { background: rgba(184,121,63,.22); }

.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 9px; }
.service-card p  { font-size: .86rem; color: var(--text-muted); line-height: 1.62; flex: 1; }

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-wood);
  transition: gap var(--ease);
}
.service-card:hover .service-card-arrow { gap: 10px; }
body.rtl .service-card-arrow svg { transform: scaleX(-1); }

/* ── Why Us ──────────────────────────────────────────────────── */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 18px; }
.why-us-content > p { color: var(--text-muted); line-height: 1.78; margin-bottom: 30px; }

.checklist { display: flex; flex-direction: column; gap: 13px; }
.checklist-item { display: flex; align-items: flex-start; gap: 11px; font-size: .88rem; }
.check-icon {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(109,213,140,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-icon::after { content: '✓'; font-size: .7rem; color: var(--success); font-weight: 700; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-card {
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.feature-card:hover { border-color: rgba(184,121,63,.30); box-shadow: var(--sh); }
.feature-num { font-size: 1.7rem; font-weight: 900; color: var(--accent-wood); opacity: .35; margin-bottom: 10px; line-height: 1; }
.feature-card h4 { font-size: .93rem; font-weight: 700; margin-bottom: 7px; }
.feature-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ── Process ─────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 38px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
body.rtl .process-grid::before {
  background: linear-gradient(270deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 6px;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.process-step h3 { font-size: .96rem; font-weight: 700; margin-bottom: 9px; }
.process-step p  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 14px; }
.contact-info > p { color: var(--text-muted); line-height: 1.72; margin-bottom: 30px; }

.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .875rem;
}
.contact-item-icon { font-size: 1rem; flex-shrink: 0; width: 28px; text-align: center; }
.contact-item a { color: var(--text-muted); transition: color var(--ease); }
.contact-item a:hover { color: var(--accent-wood); }

/* Keep phone / WhatsApp numbers LTR inside RTL pages */
[data-config-text="phone"],
[data-config-text="waDisplay"],
a[href^="tel:"],
input[type="tel"],
.ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}
body.rtl .contact-item [data-config-text="phone"],
body.rtl .contact-item [data-config-text="waDisplay"],
body.rtl .contact-item a[href^="tel:"] {
  display: inline-block;
  text-align: left;
}

/* Quote Form */
.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px 36px;
  position: relative;
  min-width: 0;
}
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 15px;
  font-size: .9rem;
  color: var(--text-main);
  transition: border-color var(--ease), background var(--ease);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-wood);
  background: rgba(184,121,63,.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(184,176,162,.38); }
.form-group select option { background: var(--bg-card); color: var(--text-main); }
.form-group textarea { resize: vertical; min-height: 116px; }

/* Custom select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23b8b0a2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}
body.rtl .form-group select {
  background-position: left 12px center;
  padding-right: 15px;
  padding-left: 38px;
}

.form-submit { margin-top: 22px; width: 100%; padding: 15px; font-size: .97rem; }

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

.form-dev-notice {
  display: none;
  margin-top: 18px;
  padding: 13px 16px;
  background: rgba(184,121,63,.10);
  border: 1px solid rgba(184,121,63,.30);
  border-radius: var(--r-sm);
  font-size: .84rem;
  color: var(--accent-wood);
  line-height: 1.6;
}
.form-dev-notice.is-visible { display: block; }
.form-dev-notice.is-success {
  color: #1f7a45;
  background: rgba(93, 222, 140, .12);
  border-color: rgba(93, 222, 140, .35);
}
.form-dev-notice.is-error {
  color: #c0392b;
  background: rgba(231, 76, 60, .08);
  border-color: rgba(231, 76, 60, .28);
}
/* Visually hidden without expanding the document's scroll width */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 38px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-tagline { font-size: .875rem; color: var(--text-muted); }
.footer-copy { font-size: .82rem; color: var(--text-muted); }
.footer-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  max-width: var(--container);
  font-size: .78rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-legal p { margin: 0; }
.footer-legal .ltr-brand { unicode-bidi: isolate; }

/* ── Service Pages ───────────────────────────────────────────── */
.service-hero {
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at 70% 50%, rgba(184,121,63,.06) 0%, transparent 60%);
  pointer-events: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color var(--ease);
}
.back-link:hover { color: var(--accent-wood); }
body.rtl .back-link svg { transform: scaleX(-1); }

.service-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.service-hero > .container > p { font-size: 1.03rem; color: var(--text-muted); line-height: 1.73; max-width: 600px; margin-bottom: 32px; }

.service-bullets { display: flex; flex-wrap: wrap; gap: 9px; }
.service-bullet {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.service-bullet::before { content: '✓'; color: var(--success); font-size: .72rem; }

/* Projects Gallery */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(255,255,255,.22); }

.project-img-wrap {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a2420 0%, rgba(184,121,63,.07) 100%);
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.06); }

.project-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: .78rem;
  pointer-events: none;
}
.project-img-placeholder .ph-icon { font-size: 2.2rem; opacity: .22; }

/* Album cards announce that they open a set of photos */
.project-card.is-openable { cursor: pointer; }
.project-card.is-openable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-open-hint {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
  z-index: 2;
}
.project-card.is-openable:hover .project-open-hint,
.project-card.is-openable:focus-visible .project-open-hint { opacity: 1; transform: none; }

.project-count {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  z-index: 2;
}

/* ── Gallery Lightbox ───────────────────────────────────────── */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 56px 16px 72px;
  background: rgba(8, 12, 11, .93);
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1200px, 100%);
  min-width: 0;
}
.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: var(--sh-xl);
}
.lightbox-caption {
  color: #f2f2f2;
  font-size: .92rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox-nav,
.lightbox-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  transition: background var(--ease), border-color var(--ease);
}
.lightbox-nav:hover,
.lightbox-close:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); }
.lightbox-nav:focus-visible,
.lightbox-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox-nav[hidden] { display: none; }

.lightbox-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
  font-size: 1.6rem;
}

/* Chevrons must point outward in both reading directions */
body.rtl .lightbox-nav { transform: scaleX(-1); }

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  inset-inline: 0;
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  letter-spacing: .04em;
}
.lightbox-counter[hidden] { display: none; }

@media (max-width: 768px) {
  .lightbox { padding: 52px 8px 64px; gap: 2px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1rem; }
  .lightbox-img { max-height: 66vh; }
  .lightbox-caption { font-size: .84rem; }
}

.project-card-body { padding: 16px 18px; }
.project-card-body h4 { font-size: .88rem; font-weight: 600; margin-bottom: 5px; }
.project-card-body p  { font-size: .78rem; color: var(--text-muted); }

/* Service CTA Block */
.service-cta {
  background: linear-gradient(135deg, rgba(184,121,63,.11) 0%, rgba(122,75,38,.07) 100%);
  border: 1px solid rgba(184,121,63,.20);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  text-align: center;
}
.service-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.service-cta p  { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; line-height: 1.72; }
.service-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links a { padding: 7px 10px; font-size: .82rem; }
  .nav-brand-tagline { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; gap: 40px; }
  .hero               { min-height: auto; }
  .hero-visual        { height: 380px; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid        { grid-template-columns: 1fr; gap: 40px; }
  .process-grid       { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .contact-grid       { grid-template-columns: 1fr; gap: 36px; }
  .projects-grid      { grid-template-columns: repeat(2, 1fr); }
  .service-cta        { padding: 44px 32px; }
  .hero-actions       { flex-direction: column; align-items: stretch; }
  .hero-actions .btn  { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --gutter: 18px;
    --nav-height: 64px;
  }

  .nav-inner { gap: 12px; height: 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
    padding: 14px var(--gutter);
    padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    z-index: 999;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    font-size: .95rem;
  }
  .nav-toggle { display: flex; }
  .nav-brand-text { display: none; }
  .nav-actions .btn {
    display: inline-flex;
    padding: 8px 12px;
    font-size: .78rem;
    white-space: nowrap;
  }
  .lang-btn { padding: 8px 12px; min-height: 40px; }

  .hero         { padding: 48px 0 44px; }
  .hero-title   { font-size: clamp(1.7rem, 7.2vw, 2.4rem); }
  .hero-desc    { font-size: .98rem; margin-bottom: 28px; }
  .hero-visual  { height: 280px; border-radius: var(--r); }
  .hero-proof   { gap: 8px; }
  .hero-actions { margin-bottom: 32px; }

  .services-grid  { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .process-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .quote-form     { padding: 24px 16px; }
  .projects-grid  { grid-template-columns: 1fr; }
  .project-img-wrap { height: 220px; }
  .service-cta    { padding: 32px 18px; }
  .service-cta-actions { flex-direction: column; align-items: stretch; }
  .service-cta-actions .btn { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }

  .service-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2.2rem); }
  .service-bullets { gap: 8px; }
  .breadcrumb { margin-bottom: 14px; }

  .faq-question { padding: 16px 18px; font-size: .9rem; }
  .faq-answer-inner { padding: 0 18px 16px; padding-top: 14px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; --section-pad: 56px 0; }

  .nav-logo,
  .nav-logo-img { width: 36px; height: 36px; }

  .hero { padding: 36px 0 32px; }
  .proof-card { padding: 8px 10px; flex: 1 1 calc(50% - 8px); min-width: 0; }
  .proof-text { font-size: .72rem; line-height: 1.35; }

  .section-header h2 { font-size: clamp(1.4rem, 6vw, 1.85rem); }
  .service-card { padding: 20px 16px; }

  .area-chip { font-size: .82rem; padding: 8px 14px; }
  .faq-question { padding: 16px 16px; font-size: .9rem; }
  .faq-answer-inner { padding: 0 16px 14px; padding-top: 12px; }

  .lightbox {
    padding: 48px 6px 60px;
    flex-direction: column;
    gap: 10px;
  }
  .lightbox-nav {
    position: static;
    width: 44px;
    height: 44px;
  }
  .lightbox-figure { order: -1; width: 100%; }
  .lightbox-img { max-height: 58vh; border-radius: var(--r-sm); }
  .lightbox-close {
    top: max(10px, env(safe-area-inset-top, 0px));
    inset-inline-end: max(10px, env(safe-area-inset-right, 0px));
  }
}

/* ── Sub-360px / older phones ───────────────────────────────── */
@media (max-width: 359px) {
  :root {
    --gutter: 12px;
    --section-pad: 48px 0;
  }

  .hero { padding: 28px 0 26px; }
  .hero-visual { height: 210px; }
  .proof-card { flex: 1 1 100%; }
  .proof-text { font-size: .72rem; }

  .section-header { margin-bottom: 28px; }
  .quote-form { padding: 16px 12px; }
  .service-cta { padding: 22px 12px; }
  .wa-float { bottom: 14px; right: 12px; width: 46px; height: 46px; }
  body.rtl .wa-float { right: auto; left: 12px; }
}

/* ── Areas We Serve ──────────────────────────────────────────── */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.area-chip:hover {
  border-color: rgba(184,121,63,.35);
  color: var(--text-main);
  background: rgba(184,121,63,.06);
}
.area-chip span:first-child { font-size: .9rem; }

.areas-note {
  text-align: center;
  font-size: .84rem;
  color: var(--text-muted);
}

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item.open,
.faq-item:hover { border-color: rgba(255,255,255,.2); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-main);
  background: transparent;
  transition: color var(--ease);
  cursor: pointer;
}
body.rtl .faq-question { text-align: right; }
.faq-question:hover,
.faq-item.open .faq-question { color: var(--accent-wood); }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--ease), color var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent-wood); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
body.rtl .faq-answer-inner { line-height: 1.95; }

/* ── Breadcrumb (service pages) ──────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--accent-wood); }
.breadcrumb-sep { opacity: .4; font-size: .7rem; }
body.rtl .breadcrumb-sep { display: inline-block; transform: scaleX(-1); }
.breadcrumb-current { color: var(--text-main); font-weight: 500; }

/* ── Footer Links ────────────────────────────────────────────── */
.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: .82rem;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--accent-wood); }

/* Responsive adjustments for new sections — kept lean; main rules live above */
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
}

/* ── WhatsApp Floating Button ───────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  right: max(28px, env(safe-area-inset-right, 0px));
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, .65);
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

/* Pulse ring */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .38);
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(2);   opacity: 0;  }
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: calc(100% + 13px);
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0, 0, 0, .78);
}

.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* RTL: mirror to left side */
body.rtl .wa-float {
  right: auto;
  left: max(28px, env(safe-area-inset-left, 0px));
}
body.rtl .wa-tooltip {
  right: auto;
  left: calc(100% + 13px);
  transform: translateY(-50%) translateX(-5px);
}
body.rtl .wa-tooltip::after {
  left: auto;
  right: 100%;
  border-left-color: transparent;
  border-right-color: rgba(0, 0, 0, .78);
}
body.rtl .wa-float:hover .wa-tooltip,
body.rtl .wa-float:focus-visible .wa-tooltip {
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .wa-float {
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
    width: 52px;
    height: 52px;
  }
  body.rtl .wa-float {
    right: auto;
    left: max(18px, env(safe-area-inset-left, 0px));
  }
  .wa-tooltip { display: none; }
}

/* ── RTL: Arabic text fixes ─────────────────────────────── */
/* Arabic is cursive — letter-spacing breaks character joins */
body.rtl .section-label {
  letter-spacing: 0;
}

body.rtl .form-group label {
  letter-spacing: 0;
  text-transform: none;
}

body.rtl .hv-badge-label {
  letter-spacing: 0;
  text-transform: none;
}

/* ── RTL Mobile Fixes ───────────────────────────────────── */
@media (max-width: 768px) {
  body.rtl .nav-links {
    align-items: stretch;
  }
  body.rtl .nav-links a {
    text-align: right;
  }

  body.rtl .footer-inner {
    align-items: center;
  }

  body.rtl .hero-desc {
    margin-right: 0;
  }
}
