@import url('../../colors_and_type.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-page); color: var(--fg-1); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body {
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(240,168,48,0.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 12px),
    var(--yd-ink);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
section { padding: var(--sp-9) 0; position: relative; }
@media (max-width: 768px) { section { padding: var(--sp-7) 0; } }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ===== Floating Nav ===== */
.nav-wrap {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50; transition: transform .6s cubic-bezier(.16,1,.3,1), top .4s ease;
  width: min(960px, 92vw);
}
.nav-wrap.scrolled { top: 10px; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11,11,13,0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 20px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); letter-spacing: .04em; color: var(--fg-1); font-size: 20px; }
.nav-brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yd-orange); box-shadow: 0 0 16px var(--yd-orange); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border-radius: var(--r-pill); color: var(--fg-2); transition: color .3s, background .3s; }
.nav-link:hover { color: var(--fg-1); background: rgba(255,255,255,0.04); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--border-default); background: rgba(255,255,255,0.02);
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-3); cursor: pointer; transition: border-color .25s, color .25s, background .25s;
}
.lang-toggle:hover { border-color: var(--yd-chrome); color: var(--fg-1); }
.lang-toggle .on { color: var(--yd-orange); }
.lang-toggle .sep { opacity: .4; }
.lang-toggle.big { font-size: 18px; padding: 14px 22px; }
.lang-toggle.big .sep { margin: 0 6px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-orange); color: var(--fg-on-orange);
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: 13px; padding: 11px 18px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-orange);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.nav-cta:active { transform: translateY(0); filter: brightness(0.95); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 16px; height: 2px; background: var(--fg-1); position: relative; transition: transform .3s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: var(--fg-1); transition: transform .3s, top .3s; }
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0 0 0 0; background: rgba(11,11,13,0.96); backdrop-filter: blur(12px); z-index: 40; padding: 100px 32px 32px; display: flex; flex-direction: column; gap: 8px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--font-heading); font-weight: 700; font-size: 28px; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-1); padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { padding: 8px 8px 8px 16px; }
}

/* ===== Hero ===== */
.hero { padding-top: 140px; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(240,168,48,0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-7); align-items: center; position: relative; z-index: 2; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--border-subtle); border-radius: var(--r-pill); background: rgba(255,255,255,0.03); }
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--yd-orange); position: relative; }
.hero-eyebrow .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--yd-orange); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.5); opacity: 0; } }

.hero-title { font-family: var(--font-display); font-size: clamp(56px, 9vw, 140px); line-height: .85; letter-spacing: -.01em; text-transform: uppercase; margin: 24px 0 0; color: var(--fg-1); }
.hero-title .accent { color: var(--yd-orange); display: inline-block; position: relative; }
.hero-title .accent::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.05em; height: .08em; background: var(--yd-orange); opacity: .35; transform: scaleX(0); transform-origin: left; animation: drawLine 1.2s .8s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes drawLine { to { transform: scaleX(1); } }

.hero-arabic { font-family: var(--font-arabic); direction: rtl; font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: var(--fg-2); margin-top: 16px; }
.hero-sub { font-family: var(--font-body); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--fg-2); margin-top: 24px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 16px 26px; border-radius: var(--r-pill); transition: transform .2s ease, box-shadow .2s ease, background .25s ease, color .25s ease, filter .2s ease, border-color .25s ease; }
.btn-primary { background: var(--grad-orange); color: var(--fg-on-orange); box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.9); box-shadow: inset 0 2px 6px rgba(0,0,0,.3); }
.btn-secondary { background: transparent; color: var(--fg-1); border: 1.5px solid var(--border-default); }
.btn-secondary:hover { border-color: var(--yd-chrome); background: rgba(232,232,236,0.06); }

/* Hero visual — gear spins via JS rAF (scroll-velocity boosted) */
.hero-visual { position: relative; width: 100%; aspect-ratio: 1; max-width: 540px; margin-left: auto; }
.gear-stage { position: relative; width: 100%; height: 100%; }
.gear-bg { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(240,168,48,0.35) 0%, rgba(240,168,48,0.12) 30%, transparent 65%); filter: blur(20px); }
.gear-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gear-rotate { transform-origin: 200px 200px; transform: rotate(0deg); will-change: transform; }
.gear-logo { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06); }
.gear-logo img { width: 100%; height: 100%; object-fit: cover; }
/* Tagline centred to the gear logo — sits just below the logo circle inside the gear stage */
.gear-tagline { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 5px; white-space: nowrap; background: rgba(11,11,13,0.72); border: 1px solid rgba(240,168,48,0.35); backdrop-filter: blur(10px); padding: 8px 20px; border-radius: var(--r-pill); }
.gear-tag-en { font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--yd-orange); }
.gear-tag-ar { font-family: var(--font-arabic); font-size: 13px; font-weight: 600; color: var(--fg-1); letter-spacing: 0; direction: rtl; }
/* Animated tagline band — overlays the baked-in text in the logo image */
.logo-band {
  position: absolute;
  top: 69%; left: 9%; right: 9%; height: 14%;
  border-radius: 5px;
  background: linear-gradient(to bottom, #E09500, #C97800);
  box-shadow: inset 0 1px 0 rgba(255,220,80,0.5), inset 0 -1px 0 rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.5);
  overflow: hidden;
}
.logo-band-track {
  display: flex;
  flex-direction: column;
  height: 200%;
  animation: bandSlide 5s cubic-bezier(.76,0,.24,1) infinite;
}
.logo-band-track span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-arabic);
  font-size: clamp(9px, 1.9vw, 14px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 6px;
}
@keyframes bandSlide {
  0%,  38% { transform: translateY(0);    }
  48%, 88% { transform: translateY(-50%); }
  98%, 100% { transform: translateY(0);   }
}
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(11,11,13,0.85); border: 1px solid var(--border-subtle); padding: 10px 14px; border-radius: var(--r-pill); backdrop-filter: blur(10px); font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-1); box-shadow: var(--shadow-md); }
.float-chip .dotc { width: 7px; height: 7px; border-radius: 50%; background: var(--yd-orange); box-shadow: 0 0 10px var(--yd-orange); }
.chip-1 { top: 6%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.chip-2 { top: 38%; right: -8%; animation: floaty 7s ease-in-out infinite .8s; }
.chip-3 { bottom: 4%; left: 10%; animation: floaty 8s ease-in-out infinite .3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--font-heading); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue::after { content: ''; width: 1px; height: 40px; background: linear-gradient(180deg, var(--fg-3), transparent); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== Section header ===== */
.sec-head { text-align: center; margin-bottom: var(--sp-7); }
.sec-head .eyebrow-line { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head .eyebrow-line::before, .sec-head .eyebrow-line::after { content: ''; display: block; width: 36px; height: 1px; background: var(--yd-orange); opacity: .5; }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; color: var(--fg-1); }
.sec-head h2 .accent { color: var(--yd-orange); }
.sec-head p { margin-top: 14px; color: var(--fg-2); max-width: 540px; margin-inline: auto; font-size: 17px; line-height: 1.55; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; padding: 32px; background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(240,168,48,0.15), transparent 60%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(240,168,48,0.4); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { transform: rotate(15deg); }
.service-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 56px; color: var(--yd-graphite); line-height: 1; }
/* In RTL the icon flows to the right side, so move the corner number to the left to avoid overlap */
body.lang-ar .service-num { right: auto; left: 28px; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(240,168,48,0.18), rgba(240,168,48,0.05)); border: 1px solid rgba(240,168,48,0.3); display: inline-flex; align-items: center; justify-content: center; color: var(--yd-orange); transition: transform .4s cubic-bezier(.16,1,.3,1); margin-bottom: 22px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--fg-1); margin-bottom: 10px; }
.service-tag {
  display: inline-block;
  font-family: var(--font-heading); font-size: 10.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--yd-orange);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(240, 168, 48, 0.1); border: 1px solid rgba(240, 168, 48, 0.25);
  margin-bottom: 14px;
}
.service-card .ar { font-family: var(--font-arabic); direction: rtl; font-size: 16px; color: var(--yd-orange); margin-bottom: 14px; font-weight: 700; }
.service-card p { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.service-card ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-card li { font-size: 13.5px; color: var(--fg-2); display: flex; align-items: center; gap: 10px; }
.service-card li::before { content: ''; width: 14px; height: 1px; background: var(--yd-orange); flex-shrink: 0; }

/* ===== Brands ===== */
.brand-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 700px) { .brand-strip { grid-template-columns: repeat(2, 1fr); } }
.brand-tile {
  aspect-ratio: 5/4;
  position: relative;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 28px 20px 24px;
  overflow: hidden;
  transition: border-color .35s, background .35s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .35s;
  cursor: default;
}
/* Amber accent bar — slides up from bottom on hover */
.brand-tile::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yd-orange) 40%, var(--yd-orange-glow) 60%, transparent);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity .35s, transform .4s cubic-bezier(.16,1,.3,1);
}
.brand-tile:hover {
  border-color: rgba(240,168,48,0.35);
  background: var(--bg-surface-2);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(240,168,48,0.08);
}
.brand-tile:hover::after { opacity: 1; transform: scaleX(1); }
.brand-tile:hover .brand-logo {
  filter: drop-shadow(0 0 14px rgba(240,168,48,0.45)) brightness(1.08);
}
.brand-logo {
  width: 100%; max-width: 90px; height: 64px;
  transition: filter .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.brand-tile:hover .brand-logo { transform: scale(1.06); }
.brand-name {
  font-family: var(--font-display); font-size: 22px; letter-spacing: .04em;
  color: var(--fg-1); line-height: 1;
}
.brand-country {
  font-family: var(--font-heading); font-size: 10px; letter-spacing: .28em;
  color: var(--fg-3); text-transform: uppercase;
}

/* ===== Why us strip ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }
.why-item { padding: 24px; border: 1px solid var(--border-subtle); border-radius: var(--r-md); background: rgba(255,255,255,0.015); }
.why-item .num { font-family: var(--font-display); font-size: 44px; color: var(--yd-orange); line-height: 1; }
.why-item .lbl { margin-top: 8px; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-1); }
.why-item .sub { margin-top: 4px; font-size: 13px; color: var(--fg-3); }

/* ===== Back-to-top button ===== */
.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 45;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: var(--fg-on-orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange), 0 6px 18px rgba(0,0,0,0.45);
  border: none;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transition: opacity .35s cubic-bezier(.16,1,.3,1),
              transform .35s cubic-bezier(.16,1,.3,1),
              filter .2s ease;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { filter: brightness(1.06); transform: translateY(-3px); }
.to-top:active { filter: brightness(0.92); transform: translateY(0) scale(0.96); }
.to-top svg { width: 22px; height: 22px; }

/* RTL: keep it on the right edge so it stays on top of WhatsApp call-outs ergonomically */
body.lang-ar .to-top { right: auto; left: 24px; }

@media (max-width: 600px) {
  .to-top { width: 46px; height: 46px; bottom: 18px; right: 18px; }
  body.lang-ar .to-top { left: 18px; }
}

/* ===== Locations ===== */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  position: relative;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-inset);
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s cubic-bezier(.16,1,.3,1);
}
.loc-card:hover { border-color: rgba(240,168,48,0.4); transform: translateY(-4px); }
.loc-head { display: flex; gap: 18px; padding: 24px 26px 0; align-items: flex-start; }
.loc-num {
  font-family: var(--font-display); font-size: 56px; line-height: 0.85;
  color: var(--yd-orange); flex-shrink: 0;
}
.loc-meta { flex: 1; min-width: 0; }
.loc-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.loc-meta h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em; color: var(--fg-1);
  margin: 8px 0 6px;
}
.loc-meta p {
  margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.5;
}
.loc-map {
  position: relative; margin: 22px 0 0;
  height: 280px; overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--yd-graphite);
}
.loc-map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95);
}
.loc-map-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(11,11,13,0.85) 100%);
}
.loc-map-overlay .loc-btn { pointer-events: auto; }
.loc-actions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
}
.loc-action {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 8px;
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2);
  border-right: 1px solid var(--border-subtle);
  transition: color .25s, background .25s;
  min-width: 0;
}
.loc-action:last-child { border-right: none; }
.loc-action:hover { color: var(--yd-orange); background: rgba(240,168,48,0.06); }
.loc-action span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 560px;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); height: 720px; }
  .gallery-grid > *:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); height: auto; }
  .gallery-grid > *:nth-child(1) { grid-column: span 1; }
}
.gallery-slot {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md), var(--shadow-inset);
  background: var(--bg-surface-1);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .35s;
}
.gallery-slot:hover { transform: translateY(-4px); border-color: rgba(240,168,48,0.4); }
.gallery-slot.big { grid-row: span 2; }
.gallery-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.gallery-slot:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 2;
}
.gallery-caption .ar {
  font-family: var(--font-arabic); direction: rtl; color: var(--yd-orange);
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.gallery-caption .en {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-1);
  margin-top: 2px;
}
.gallery-slot.big .gallery-caption .en { font-size: 18px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--sp-7); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.contact-card { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md), var(--shadow-inset); }
.contact-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; color: var(--fg-1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-page); border: 1px solid var(--border-default);
  border-radius: var(--r-sm); color: var(--fg-1); font-family: var(--font-body); font-size: 15px;
  transition: border-color .25s, background .25s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--yd-orange); background: var(--yd-charcoal); }
.field textarea { resize: vertical; min-height: 110px; }
.send-btn { width: 100%; margin-top: 8px; justify-content: center; }
.send-msg { margin-top: 14px; font-size: 13.5px; color: var(--ok); opacity: 0; transition: opacity .4s; }
.send-msg.show { opacity: 1; }

/* Quick contact list */
.qc-list { display: flex; flex-direction: column; gap: 14px; }
.qc-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-md); transition: border-color .3s, transform .3s, background .3s; }
.qc-item:hover { border-color: rgba(240,168,48,0.4); transform: translateX(4px); background: var(--bg-surface-2); }
.qc-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(240,168,48,0.12); color: var(--yd-orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qc-icon svg { width: 22px; height: 22px; }
.qc-body { flex: 1; min-width: 0; }
.qc-body .lbl { font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); }
.qc-body .val { font-family: var(--font-body); font-size: 16px; color: var(--fg-1); font-weight: 600; margin-top: 2px; word-break: break-word; }
.qc-arrow { color: var(--fg-3); transition: color .3s, transform .3s; flex-shrink: 0; }
.qc-item:hover .qc-arrow { color: var(--yd-orange); transform: translateX(4px); }

/* Map / Location card */
.locale {
  position: relative; padding: 28px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-md);
  overflow: hidden;
}
.locale::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,168,48,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,168,48,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 70% 60%, black 0%, transparent 70%);
  pointer-events: none;
}
.locale-pin { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--yd-orange); font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.locale h4 { position: relative; margin-top: 10px; font-family: var(--font-display); font-size: 32px; letter-spacing: 0; line-height: 1; color: var(--fg-1); }
.locale .ar { position: relative; margin-top: 8px; font-family: var(--font-arabic); direction: rtl; color: var(--fg-2); font-size: 18px; font-weight: 700; }
.locale .hrs { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.locale .hrs-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--fg-2); }
.locale .hrs-row strong { color: var(--fg-1); font-weight: 600; }

/* ===== Footer ===== */
footer { padding: var(--sp-7) 0 var(--sp-5); border-top: 1px solid var(--border-subtle); margin-top: var(--sp-7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.foot-brand .name { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.foot-brand .ar { font-family: var(--font-arabic); direction: rtl; color: var(--fg-3); font-size: 14px; }
.foot-h { font-family: var(--font-heading); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; font-weight: 600; }
.foot-list { display: flex; flex-direction: column; gap: 10px; }
.foot-list a { color: var(--fg-2); font-size: 14.5px; transition: color .25s; }
.foot-list a:hover { color: var(--yd-orange); }
.foot-bottom { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-3); }
.foot-bottom-left { display: flex; flex-direction: column; gap: 6px; }
.foot-credit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--fg-3); }
.foot-credit a { color: var(--yd-orange); font-weight: 600; transition: color .25s, text-shadow .25s; }
.foot-credit a:hover { color: var(--yd-orange-bright); text-shadow: 0 0 12px rgba(240,168,48,0.4); }
.foot-version {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--border-default); color: var(--fg-3);
  letter-spacing: .04em;
}
.foot-socials { display: flex; gap: 10px; }
.foot-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-default); display: flex; align-items: center; justify-content: center; color: var(--fg-2); transition: color .25s, border-color .25s, background .25s; }
.foot-socials a:hover { color: var(--yd-orange); border-color: var(--yd-orange); background: rgba(240,168,48,0.08); }
.foot-socials svg { width: 16px; height: 16px; }

/* RTL adjustments */
body.lang-ar { font-family: var(--font-arabic); }
body.lang-ar .hero-title { font-family: var(--font-arabic); font-weight: 800; letter-spacing: 0; line-height: 1.15; }
body.lang-ar .hero-sub { font-family: var(--font-arabic); }
body.lang-ar .nav-link, body.lang-ar .nav-cta, body.lang-ar .btn { font-family: var(--font-arabic); letter-spacing: 0; }
body.lang-ar .eyebrow, body.lang-ar .caption, body.lang-ar .foot-h, body.lang-ar .field label, body.lang-ar .qc-body .lbl, body.lang-ar .locale-pin { letter-spacing: .04em; font-family: var(--font-arabic); }
body.lang-ar .sec-head h2, body.lang-ar .service-card h3, body.lang-ar .contact-card h3, body.lang-ar .locale h4, body.lang-ar .why-item .lbl, body.lang-ar .foot-brand .name { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; line-height: 1.15; }
body.lang-ar .hero-eyebrow { direction: rtl; }
body.lang-ar .gallery-caption .ar { font-size: 18px; }
body.lang-ar .gallery-caption .en { font-size: 11px; opacity: .7; }
body.lang-ar .scroll-cue { letter-spacing: .1em; }
body.lang-ar .foot-brand .ar { font-family: var(--font-heading); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pulse::after, .float-chip { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Contact form additions ===== */
@keyframes spin { to { transform: rotate(360deg); } }
.field input:disabled,
.field textarea:disabled,
.field select:disabled { opacity: 0.6; cursor: not-allowed; }
