/* ============================================================
   SAFA SERVICE COMPANY LTD — STYLES  (Orange / Charcoal, Bilingual EN + AR)
   ============================================================ */

:root {
  --orange:    #ED6F01;           /* bright brand orange — accents on DARK backgrounds, icons, borders */
  --orange-lt: #F7871F;
  --orange-dk: #C85D00;
  --orange-ink:  #BC5A02;         /* AA-compliant (4.56:1 w/ white) — white-text-on-orange + orange-text-on-light */
  --orange-ink-h:#A85100;         /* darker hover, stays AA */
  --orange-soft: rgba(237,111,1,.10);
  --ink:     #24272B;   /* charcoal — dark sections */
  --ink-lt:  #33373C;
  --ink-dk:  #17191C;   /* footer */
  --white:   #ffffff;
  --gray-50: #f7f8f9;
  --gray-100:#eef0f2;
  --gray-200:#e2e5e8;
  --gray-300:#cfd4d8;
  --gray-500:#6b7280;
  --gray-700:#3a3f45;
  --text:    #23262a;
  --radius:  6px;
  --shadow:  0 4px 24px rgba(36,39,43,.09);
  --shadow-lg:0 10px 40px rgba(36,39,43,.15);
  --trans:   .25s ease;
  --sec:     clamp(60px, 8vw, 100px);   /* section vertical padding */
  --gutter:  clamp(16px, 4vw, 24px);    /* container side padding */
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Section headers ── */
.sec-hd { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-hd h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--ink); line-height: 1.2; }
.sec-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 10px;
}
.sec-label::before, .sec-label::after { content: '—'; margin: 0 6px; opacity: .55; }
.sec-label-light { color: var(--orange-lt); }
.orange-text { color: var(--orange-ink); }
.text-white { color: var(--white); }

/* ── Buttons ── */
.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  background: var(--orange-ink); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-orange:hover { background: var(--orange-ink-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(188,90,2,.4); }

.btn-outline-w {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.45); color: var(--white);
  font-size: 14px; font-weight: 600;
  transition: border-color var(--trans), background var(--trans);
}
.btn-outline-w:hover { border-color: var(--orange); background: rgba(237,111,1,.15); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 700;
  transition: background var(--trans), transform var(--trans);
}
.btn-dark:hover { background: var(--ink-lt); transform: translateY(-2px); }

.about-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-download {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--radius);
  border: 1.5px solid var(--orange-ink); color: var(--orange-ink);
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.btn-download svg { width: 18px; height: 18px; }
.btn-download:hover { background: var(--orange-ink); color: #fff; transform: translateY(-2px); }
/* footer variant (dark background) */
.ft-download { margin-top: 20px; border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.9); padding: 11px 20px; font-size: 13px; }
.ft-download:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pl-logo { width: 84px; height: auto; animation: plPulse 1.4s ease-in-out infinite; }
@keyframes plPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.08);opacity:.85} }
.pl-bar { width: 180px; height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.pl-fill { height: 100%; width: 0; background: var(--orange); border-radius: 2px; animation: plLoad 2.2s ease forwards; }
@keyframes plLoad { 0%{width:0} 60%{width:75%} 100%{width:100%} }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: rgba(23,25,28,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 28px; height: 80px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo-img { height: 46px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-links li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color var(--trans), background var(--trans); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.09); }
.drop-arrow { width: 10px; height: 6px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform var(--trans); }
.has-drop:hover .drop-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none; border-top: 3px solid var(--orange);
}
/* Invisible bridge fills the gap between the link and the menu so the
   hover state doesn't drop out mid-move (prevents flicker). */
.has-drop::after { content: ''; position: absolute; top: 100%; inset-inline-start: 0; width: 260px; height: 12px; }
.has-drop:hover .dropdown, .has-drop .dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown li a {
  display: block; padding: 10px 18px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--trans), color var(--trans);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--gray-50); color: var(--orange); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.9);
  font-size: 12.5px; font-weight: 600;
  transition: border-color var(--trans), background var(--trans), color var(--trans);
}
.lang-toggle svg { width: 16px; height: 16px; }
.lang-toggle:hover { border-color: var(--orange); color: var(--orange); background: rgba(237,111,1,.08); }

.btn-quote {
  padding: 10px 22px; border-radius: var(--radius);
  background: var(--orange-ink); color: var(--white);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background var(--trans), transform var(--trans);
}
.btn-quote:hover { background: var(--orange-ink-h); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; inset-inline-end: -100%; width: min(320px, 85vw); height: 100vh;
  background: var(--ink); z-index: 1100; overflow-y: auto;
  transition: inset-inline-end .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 24px;
}
.mobile-menu.open { inset-inline-end: 0; }
.mm-head { display: flex; align-items: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mm-logo-img { height: 42px; width: auto; }
.mobile-menu ul { flex: 1; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu ul li a { display: block; padding: 14px 0; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); transition: color var(--trans); }
.mobile-menu ul li a:hover { color: var(--orange); }
.mm-drop-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); }
.mm-drop-toggle svg { width: 12px; height: 8px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .25s; }
.mm-drop-toggle.open svg { transform: rotate(180deg); }
.mm-dropdown { display: none; background: rgba(0,0,0,.22); border-radius: 4px; margin-bottom: 4px; overflow: hidden; }
.mm-dropdown.open { display: block; }
.mm-dropdown li { border-bottom: none !important; }
.mm-dropdown li a { padding: 10px 16px !important; font-size: 13px !important; color: rgba(255,255,255,.65) !important; }
.mm-cta { display: block; margin-top: 22px; padding: 14px; background: var(--orange-ink); color: var(--white); font-size: 14px; font-weight: 700; text-align: center; border-radius: var(--radius); }
.mm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1099; opacity: 0; visibility: hidden; transition: all .35s; }
.mm-overlay.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: all; }

.s1 { background: #16181b url('assets/photos/photo-hero.jpg') center/cover no-repeat; }
.s2 { background: #1a1d20 url('assets/photos/svc-general.jpg') center/cover no-repeat; }
.s3 { background: #1f2226 url('assets/photos/svc-hvac.jpg') center/cover no-repeat; }
.s4 { background: #141517 url('assets/photos/svc-crane.jpg') center/cover no-repeat; }

.slide-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(237,111,1,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(237,111,1,.045) 1px, transparent 1px);
  background-size: 60px 60px;
}
.slide-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, rgba(15,16,18,.92) 0%, rgba(15,16,18,.74) 48%, rgba(15,16,18,.5) 100%); }

.s1::before { content:''; position:absolute; inset-inline-end:-80px; top:50%; transform:translateY(-50%); width:520px; height:520px; border-radius:50%; background:radial-gradient(circle, rgba(237,111,1,.10) 0%, transparent 70%); pointer-events:none; }
.s2::before { content:''; position:absolute; inset-inline-end:5%; bottom:-10%; width:420px; height:420px; border:1px solid rgba(237,111,1,.12); border-radius:50%; pointer-events:none; }
.s3::before { content:''; position:absolute; inset-inline-end:10%; top:10%; width:320px; height:320px; border:1px solid rgba(237,111,1,.10); transform:rotate(45deg); pointer-events:none; }
.s4::before { content:''; position:absolute; inset-inline-end:8%; top:50%; transform:translateY(-50%); width:360px; height:360px; background:radial-gradient(circle, rgba(237,111,1,.09) 0%, transparent 70%); pointer-events:none; }

.slide-content { position: relative; z-index: 2; max-width: 690px; padding: 0 clamp(24px, 6vw, 80px); width: 100%; }
.slide-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(237,111,1,.45); padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.slide-content h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; line-height: 1.1; color: var(--white); margin-bottom: 20px; }
.slide-content h1 em { display: block; font-style: normal; color: var(--orange); }
.slide-content p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 34px; }
.slide-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-controls { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; z-index: 10; }
.hc-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: var(--white); display: flex; align-items: center; justify-content: center; transition: border-color var(--trans), background var(--trans), color var(--trans); }
.hc-btn svg { width: 18px; height: 18px; }
.hc-btn:hover { border-color: var(--orange); background: rgba(237,111,1,.16); color: var(--orange); }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.hdot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-bar { background: var(--orange-ink); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 0; animation: marquee 34s linear infinite; will-change: transform; }
.marquee-track span.m-item { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 1px; text-transform: uppercase; padding: 0 4px; }
.marquee-track span.m-sep { color: rgba(255,255,255,.55); padding: 0 22px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--sec) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.av-card { position: relative; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); padding: 60px 48px; text-align: center; }
.av-bg { position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(135deg, rgba(36,39,43,.03) 0%, rgba(237,111,1,.06) 100%); }
.av-logo { position: relative; z-index: 1; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.av-badge { position: absolute; background: var(--white); border-radius: var(--radius); padding: 12px 16px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.av-badge strong { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; }
.av-badge span { font-size: 11px; color: var(--gray-500); margin-top: 3px; }
.av-b1 { top: 22px; inset-inline-end: -20px; }
.av-b2 { bottom: 60px; inset-inline-end: -20px; }
.av-exp { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: var(--radius); }
.av-exp strong { font-size: 20px; font-weight: 800; color: var(--orange); letter-spacing: 1px; }
.av-exp span { font-size: 13px; opacity: .85; }

.about-text .sec-label { color: var(--orange-ink); }
.about-text h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 20px; }
.about-lead { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 14px; line-height: 1.7; }
.about-text p { font-size: 15px; color: var(--gray-700); line-height: 1.75; margin-bottom: 28px; }
.about-stats { display: flex; align-items: center; margin-top: 36px; border-top: 1px solid var(--gray-100); padding-top: 28px; }
.as-item { flex: 1; text-align: center; }
.as-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; }
.as-item p { font-size: 11px; color: var(--gray-500); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.as-divider { width: 1px; height: 50px; background: var(--gray-200); }

/* ============================================================
   MVV
   ============================================================ */
.mvv { padding: var(--sec) 0; background: var(--gray-50); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mvv-card { background: var(--white); border-radius: 12px; padding: 40px 32px; text-align: center; border: 1px solid var(--gray-100); transition: transform var(--trans), box-shadow var(--trans); }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mvv-featured { background: var(--ink); border-color: var(--ink); }
.mvv-featured h3 { color: var(--orange) !important; }
.mvv-featured p { color: rgba(255,255,255,.78) !important; }
.mvv-featured .mvv-icon { border-color: rgba(237,111,1,.35); color: var(--orange); }
.mvv-icon { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gray-200); color: var(--ink); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; transition: border-color var(--trans), color var(--trans); }
.mvv-icon svg { width: 30px; height: 30px; }
.mvv-card:not(.mvv-featured):hover .mvv-icon { border-color: var(--orange); color: var(--orange); }
.mvv-card h3 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.mvv-card p { font-size: 14px; color: var(--gray-500); line-height: 1.75; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: var(--sec) 0; background: var(--white); overflow: hidden; }
.svc-carousel-wrap { position: relative; margin-top: 8px; display: flex; align-items: center; }
.svc-nav { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gray-200); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all var(--trans); z-index: 2; position: absolute; top: 50%; transform: translateY(-50%); }
.svc-nav svg { width: 20px; height: 20px; }
.svc-nav:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.svc-prev { inset-inline-start: 12px; }
.svc-next { inset-inline-end: 12px; }
.svc-track-outer { overflow: hidden; width: 100%; padding: 12px 72px; }
.svc-track { display: flex; gap: 24px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; direction: ltr; }
.svc-card { flex: 0 0 calc(25% - 18px); min-width: 0; background: var(--white); border-radius: 12px; border: 1px solid var(--gray-100); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--trans), box-shadow var(--trans); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-img { height: 190px; position: relative; overflow: hidden; background: var(--ink); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23,25,28,.34), transparent 55%); pointer-events: none; }
.svc-chip { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 10px; background: rgba(188,90,2,.94); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.svc-chip svg { width: 26px; height: 26px; }
.svc-body { padding: 24px; }
.svc-body h3 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.svc-body p { font-size: 13px; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--orange-ink); letter-spacing: .5px; text-transform: uppercase; transition: gap var(--trans); }
.svc-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
.svc-link:hover { gap: 10px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { padding: var(--sec) 0; background: var(--ink); }
.why-us .sec-hd h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 36px 24px; text-align: center; transition: background var(--trans), transform var(--trans), border-color var(--trans); }
.why-card:hover { background: rgba(237,111,1,.10); border-color: rgba(237,111,1,.28); transform: translateY(-4px); }
.why-icon { width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid rgba(237,111,1,.32); color: var(--orange); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: background var(--trans), border-color var(--trans), color var(--trans); }
.why-icon svg { width: 30px; height: 30px; }
.why-card:hover .why-icon { background: var(--orange); color: var(--white); border-color: var(--orange); }
.why-card h3 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 14px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.7; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding: clamp(52px, 7vw, 80px) 0; background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.cta-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.cta-quote { font-family: 'Montserrat', sans-serif; font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; color: var(--ink); line-height: 1.6; margin-bottom: 34px; font-style: italic; }
[dir="rtl"] .cta-quote { font-style: normal; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors { padding: var(--sec) 0; background: var(--white); }
.sectors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.sec-item { border: 1.5px solid var(--gray-200); border-radius: 10px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: var(--gray-50); transition: border-color var(--trans), background var(--trans), box-shadow var(--trans), transform var(--trans); }
.sec-item:hover { border-color: var(--orange); background: var(--white); box-shadow: 0 8px 24px rgba(237,111,1,.12); transform: translateY(-4px); }
.sec-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; transition: background var(--trans), color var(--trans); }
.sec-ic svg { width: 30px; height: 30px; }
.sec-item:hover .sec-ic { background: var(--orange); color: var(--white); }
.sec-item span { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: var(--sec) 0; background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contact-info h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.ci-intro { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin-bottom: 36px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.ci-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 20px; height: 20px; }
.ci-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--gray-500); line-height: 1.55; }
.ci-short { font-size: 12px !important; color: var(--orange-ink) !important; font-weight: 600; margin-top: 2px; }
.ci-ltr { unicode-bidi: plaintext; }
.ci-social { display: flex; gap: 10px; margin-top: 32px; }
.social-btn { width: 40px; height: 40px; border-radius: var(--radius); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background var(--trans), transform var(--trans); }
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--orange); transform: translateY(-2px); }

.cf { display: flex; flex-direction: column; gap: 18px; background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: 13px; font-weight: 600; color: var(--ink); }
.cf-group input, .cf-group select, .cf-group textarea { padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; color: var(--text); background: var(--white); transition: border-color var(--trans), box-shadow var(--trans); }
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,111,1,.12); }
.cf-group select { appearance: none; cursor: pointer; }
.cf-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { padding: 14px 32px; border-radius: var(--radius); background: var(--orange-ink); color: var(--white); font-size: 14px; font-weight: 700; transition: background var(--trans), transform var(--trans); }
.btn-submit:hover { background: var(--orange-ink-h); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cf-success { display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius); background: #f0fdf4; color: #15803d; font-size: 14px; font-weight: 500; border: 1px solid #bbf7d0; }
.cf-success svg { width: 20px; height: 20px; stroke: #15803d; flex-shrink: 0; }
.cf-success.show { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-dk); padding-top: clamp(48px, 7vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-logo-img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 300px; }
.ft-social { display: flex; gap: 8px; margin-top: 20px; }
.ft-social a { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; transition: all var(--trans); }
.ft-social a svg { width: 16px; height: 16px; }
.ft-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--white); }
.ft-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 14px; }
.ft-contact p svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; fill: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.32); }
.foot-reg { color: rgba(255,255,255,.24) !important; font-size: 11px !important; letter-spacing: .5px; }

/* Back to top */
.back-to-top { position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-ink); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(188,90,2,.42); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all var(--trans); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--orange-ink-h); transform: translateY(-2px); }

/* ============================================================
   INNER PAGES — banner, breadcrumb, service detail, contact
   ============================================================ */
.page-banner { position: relative; background: var(--ink); padding: calc(80px + clamp(38px,6vw,66px)) 0 clamp(38px,6vw,66px); overflow: hidden; }
.page-banner.sd-banner { background-color: #1a1c1f; background-size: cover; background-position: center; }
.page-banner.sd-banner .pb-overlay { background: linear-gradient(rgba(20,22,25,.82), rgba(20,22,25,.86)); }
.pb-overlay { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(237,111,1,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(237,111,1,.05) 1px, transparent 1px);
  background-size: 56px 56px; }
.pb-overlay::after { content:''; position:absolute; inset-inline-end:-60px; top:50%; transform:translateY(-50%); width:360px; height:360px; border-radius:50%; background:radial-gradient(circle, rgba(237,111,1,.10) 0%, transparent 70%); }
.pb-inner { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { font-family: 'Montserrat', sans-serif; color: var(--white); font-size: clamp(30px,5vw,46px); font-weight: 800; line-height: 1.15; }
.sd-banner-icon { color: var(--orange-lt); margin: 0 auto 14px; width: 64px; }
.sd-banner-icon svg { width: 64px; height: 64px; }
.breadcrumb { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 14px; font-size: 13px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--orange-lt); }
.breadcrumb span { color: rgba(255,255,255,.35); }
.breadcrumb em { color: var(--orange-lt); font-style: normal; }

/* Service detail */
.sd-body { padding: var(--sec) 0; background: var(--white); }
.sd-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.sd-main h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(24px,3vw,32px); color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.sd-lead { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 14px; line-height: 1.7; }
.sd-main > p { color: var(--gray-700); line-height: 1.8; margin-bottom: 18px; }
.sd-scope-h { font-family: 'Montserrat', sans-serif; font-size: 19px; color: var(--ink); margin: 30px 0 18px; }
.sd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.sd-features li { position: relative; padding-inline-start: 26px; font-size: 14px; color: var(--gray-700); line-height: 1.5; }
.sd-features li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--orange-ink); font-weight: 800; }
.sd-cta { margin-top: 34px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sd-cta h3 { font-family: 'Montserrat', sans-serif; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.sd-cta p { color: var(--gray-500); font-size: 14px; margin: 0; }
.sd-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.sd-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.sd-card h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.sd-other li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-700); transition: color var(--trans), padding var(--trans); }
.sd-other li:last-child a { border-bottom: none; }
.sd-other li a:hover { color: var(--orange-ink); padding-inline-start: 6px; }
.sd-other li a svg { width: 14px; height: 14px; color: var(--orange-ink); flex-shrink: 0; }
.sd-contact-card { background: var(--ink); }
.sd-contact-card h3 { color: var(--white); }
.sd-contact-card a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 14px; padding: 7px 0; transition: color var(--trans); }
.sd-contact-card a svg { width: 16px; height: 16px; fill: var(--orange-lt); flex-shrink: 0; }
.sd-contact-card a:hover { color: var(--orange-lt); }

/* Crane types gallery */
.crane-types { padding: var(--sec) 0; background: var(--gray-50); }
.ct-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ct-item { text-align: center; }
.ct-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); border: 1px solid var(--gray-100); background: var(--ink); }
.ct-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ct-item:hover .ct-img img { transform: scale(1.08); }
.ct-item span { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink); }
@media (max-width:900px){ .ct-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:560px){ .ct-grid { grid-template-columns: repeat(2,1fr); } }

/* Centered section button */
.center-btn { text-align: center; margin-top: 44px; }

/* Static services grid (services.html) */
.services-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.services-page-grid .svc-card { flex: none; width: auto; }
@media (max-width:900px) { .services-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:560px) { .services-page-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* Simple intro paragraph under a section header */
.sec-intro { max-width: 760px; margin: -32px auto 48px; text-align: center; font-size: 15px; color: var(--gray-500); line-height: 1.8; }

/* Sectors with descriptions */
.sec-item p { font-size: 12.5px; color: var(--gray-500); line-height: 1.6; margin-top: 2px; }

/* Contact page — multiple phones + hours */
.ci-phones a { display: block; font-size: 14px; color: var(--gray-500); transition: color var(--trans); }
.ci-phones a:hover { color: var(--orange-ink); }
.ft-phones a { color: rgba(255,255,255,.5); transition: color var(--trans); }
.ft-phones a:hover { color: var(--orange-lt); }

/* About page spacing helpers */
.about.about-page { padding-top: clamp(50px,7vw,84px); }
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 980px; margin: 0 auto; }
.two-col-text h3 { font-family: 'Montserrat', sans-serif; font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.two-col-text p { color: var(--gray-700); line-height: 1.8; font-size: 15px; }

/* ============================================================
   CLIENTS · PROCESS · COUNTERS
   ============================================================ */
.clients-section { padding: var(--sec) 0; background: var(--gray-50); }
.clients-logos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client-logo { background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px; height: 112px; display: flex; align-items: center; justify-content: center; padding: 16px; transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans); }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform var(--trans); }
.client-logo:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-200); }
.client-logo:hover img { transform: scale(1.05); }

/* Home clients block */
.clients-home { padding: var(--sec) 0 0; background: var(--white); }
.clients-home .center-btn { margin: 34px 0 var(--sec); }

/* Clients marquee strip (home) */
.clients-strip { padding: 38px 0; background: var(--white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); overflow: hidden; white-space: nowrap; }
.cm-track { display: inline-flex; align-items: center; animation: marquee 45s linear infinite; will-change: transform; }
.cm-logo { flex: 0 0 auto; width: 170px; height: 66px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; }
.cm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform var(--trans); }
.cm-logo:hover img { transform: scale(1.06); }
.clients-strip:hover .cm-track { animation-play-state: paused; }

/* Process */
.process { padding: var(--sec) 0; background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-card { position: relative; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 38px 24px 28px; text-align: center; transition: transform var(--trans), box-shadow var(--trans); }
.proc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proc-num { position: absolute; top: -16px; inset-inline-start: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-ink); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.proc-ic { width: 60px; height: 60px; margin: 6px auto 18px; color: var(--orange-ink); display: flex; align-items: center; justify-content: center; }
.proc-ic svg { width: 40px; height: 40px; }
.proc-card h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.proc-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }

/* Counters band */
.counters { padding: clamp(48px,7vw,72px) 0; background: var(--ink); position: relative; overflow: hidden; }
.counters::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(237,111,1,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(237,111,1,.05) 1px, transparent 1px); background-size: 56px 56px; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.counter-item { text-align: center; }
.counter-num { font-family: 'Montserrat', sans-serif; font-size: clamp(34px,5vw,52px); font-weight: 800; color: var(--orange-lt); line-height: 1; }
.counter-item p { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 10px; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width:1024px){ .clients-logos-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width:767px){ .process-grid { grid-template-columns: 1fr 1fr; } .counters-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .clients-logos-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:479px){ .clients-logos-grid { grid-template-columns: repeat(2,1fr); } .process-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ============================================================
   ARABIC / RTL
   ============================================================ */
html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .sec-hd h2,
html[dir="rtl"] .slide-content h1,
html[dir="rtl"] .cta-quote,
html[dir="rtl"] .mvv-card h3,
html[dir="rtl"] .svc-body h3,
html[dir="rtl"] .why-card h3,
html[dir="rtl"] .about-text h2,
html[dir="rtl"] .contact-info h2,
html[dir="rtl"] .footer-col h4,
html[dir="rtl"] .as-item strong,
html[dir="rtl"] .marquee-track span.m-item {
  font-family: 'Tajawal', 'Inter', sans-serif;
}
html[dir="rtl"] .lt-sub, html[dir="rtl"] .slide-tag, html[dir="rtl"] .sec-label,
html[dir="rtl"] .why-card h3 { letter-spacing: 0; }
html[dir="rtl"] .slide-overlay { background: linear-gradient(to left, rgba(15,16,18,.92) 0%, rgba(15,16,18,.74) 48%, rgba(15,16,18,.5) 100%); }
html[dir="rtl"] .about-text, html[dir="rtl"] .contact-info { text-align: right; }
html[dir="rtl"] .svc-card { direction: rtl; text-align: right; }
html[dir="rtl"] .svc-link { flex-direction: row-reverse; }
html[dir="rtl"] .svc-link svg { transform: scaleX(-1); }
html[dir="rtl"] .hc-btn svg, html[dir="rtl"] .svc-nav svg { transform: scaleX(-1); }
html[dir="rtl"] .sd-other li a svg { transform: scaleX(-1); }
html[dir="rtl"] .sd-main, html[dir="rtl"] .sd-card, html[dir="rtl"] .two-col-text { text-align: right; }
html[dir="rtl"] .drop-arrow, html[dir="rtl"] .mm-drop-toggle svg { }
html[dir="rtl"] .cf-success { direction: rtl; }
html[dir="rtl"] .foot-reg { direction: ltr; }

/* ============================================================
   RESPONSIVE  —  full device coverage
   ============================================================ */

/* Large desktops / wide screens */
@media (min-width:1440px) {
  .container { max-width: 1280px; }
  .nav-container { max-width: 1360px; }
}

/* Laptops / small desktops (≤1199) */
@media (max-width:1199px) {
  .svc-card { flex: 0 0 calc(33.333% - 16px); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .sectors-grid { grid-template-columns: repeat(3,1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { gap: 48px; }
}

/* Tablets landscape (≤1024) — switch to hamburger nav */
@media (max-width:1024px) {
  .nav-links, .btn-quote { display: none; }
  .hamburger { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .av-b1 { top: 16px; inset-inline-end: 0; }
  .av-b2 { bottom: 48px; inset-inline-end: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* Tablets portrait (≤900) */
@media (max-width:900px) {
  .svc-card { flex: 0 0 calc(50% - 12px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 460px; }
  .sd-grid { grid-template-columns: 1fr; gap: 36px; }
  .sd-side { position: static; top: auto; }
}
@media (max-width:767px) {
  .two-col-text { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width:560px) {
  .sd-features { grid-template-columns: 1fr; }
  .sd-cta { flex-direction: column; align-items: flex-start; }
}

/* Large phones (≤767) */
@media (max-width:767px) {
  .nav-container { height: 66px; }
  .nav-logo-img { height: 36px; }
  .slide-content { padding-bottom: 68px; }
  .slide-content p { font-size: 15px; }
  .slide-btns { gap: 12px; }
  .slide-btns .btn-orange, .slide-btns .btn-outline-w { flex: 1 1 auto; min-width: 160px; justify-content: center; }
  .mvv-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .svc-card { flex: 0 0 calc(80% - 10px); }
  .svc-track-outer { padding: 12px 8px; }
  .svc-nav { width: 40px; height: 40px; }
  .svc-prev { inset-inline-start: -2px; }
  .svc-next { inset-inline-end: -2px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: repeat(2,1fr); }
  .about-stats { flex-direction: column; gap: 18px; align-items: stretch; }
  .as-divider { width: 100%; height: 1px; }
  .as-item { padding: 6px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .as-item p { margin-top: 0; }
  .cf-row { grid-template-columns: 1fr; }
  .cf { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .back-to-top { bottom: 20px; inset-inline-end: 20px; width: 42px; height: 42px; }
}

/* Small phones (≤560) */
@media (max-width:560px) {
  .slide-btns { flex-direction: column; align-items: stretch; }
  .slide-btns .btn-orange, .slide-btns .btn-outline-w { width: 100%; max-width: 320px; }
  .svc-card { flex: 0 0 calc(88% - 8px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { max-width: none; }
  .footer-bottom { padding: 18px 0; }
  .ci-item { gap: 12px; }
  .cta-quote { font-size: clamp(17px, 5vw, 22px); }
  .av-b1, .av-b2 { display: none; }
}

/* Extra-small phones (≤479) */
@media (max-width:479px) {
  .why-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .sectors-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .svc-card { flex: 0 0 calc(92% - 6px); }
  .hero-controls { bottom: 18px; gap: 10px; }
  .hc-btn { width: 36px; height: 36px; }
  .lang-toggle span { display: none; }
  .lang-toggle { padding: 8px; }
  .nav-actions { gap: 8px; }
  .mvv-card, .cf { padding: 26px 18px; }
  .av-card { padding: 40px 24px; }
}

/* Very small / older phones (≤360) */
@media (max-width:360px) {
  .nav-logo-img { height: 32px; }
  .slide-tag { font-size: 10px; letter-spacing: 2px; padding: 5px 12px; }
  .svc-card { flex: 0 0 calc(100% - 4px); }
  .svc-track-outer { padding: 12px 4px; }
  .sec-ic { width: 50px; height: 50px; }
}

/* Landscape phones (short viewports) — let hero scroll instead of clipping */
@media (max-height:520px) and (orientation:landscape) {
  .hero { height: auto; min-height: 0; padding: 110px 0 90px; }
  .hero-slider { position: static; height: auto; }
  .hero-slide { position: relative; }
  .hero-slide:not(.active) { display: none; }
  .hero-slide.active { position: relative; }
  .hero-controls { position: static; transform: none; margin-top: 24px; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
