/* ============================================
   SM GRUE SARL — Multi-Page Industrial Theme
   ============================================ */

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1E50A2;
  --primary-dark: #163D7A;
  --primary-light: #2A62C4;
  --secondary: #8DC63F;
  --secondary-light: #9ED163;
  --accent: #3DA3D6;
  --surface: #1B2847;
  --surface-dark: #121C33;
  --white: #FFFFFF;
  --offwhite: #F5F6F8;
  --gray-50: #F8F9FA;
  --gray-100: #EEF0F2;
  --gray-200: #DEE2E6;
  --gray-300: #CED4DA;
  --gray-400: #ADB5BD;
  --gray-500: #868E96;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #1A1D21;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.4,0,.2,1);
  --transition: .3s var(--ease);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: 13px 30px; border-radius: var(--radius); border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap; letter-spacing: .2px;
}
.btn-sm { padding: 9px 22px; font-size: .82rem; }
.btn-lg { padding: 16px 38px; font-size: .95rem; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,80,162,.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-green { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-green:hover { background: #7AB835; border-color: #7AB835; transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #20BA5A; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* === Top Bar === */
.topbar {
  background: var(--surface-dark); color: var(--gray-400);
  font-size: .8rem; padding: 7px 0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-sep { color: var(--gray-600); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { display: flex; align-items: center; gap: 5px; color: var(--gray-400); }
.topbar-right a:hover { color: var(--secondary); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); color: var(--gray-400); font-size: .7rem;
}
.topbar-social a:hover { background: var(--primary); color: #fff; }

/* === Header === */
.header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header.transparent { background: transparent; box-shadow: none; }
.header.transparent .nav-link { color: rgba(255,255,255,.85); }
.header.transparent .nav-link:hover, .header.transparent .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.header.transparent .phone-link { color: #fff; }
.header.transparent .hamburger span { background: #fff; }
.header.transparent .btn-header { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.header.transparent .btn-header:hover { background: #7AB835; border-color: #7AB835; }
.header.transparent.scrolled { background: var(--white); box-shadow: var(--shadow-md); }
.header.transparent.scrolled .nav-link { color: var(--gray-700); }
.header.transparent.scrolled .nav-link:hover, .header.transparent.scrolled .nav-link.active { color: var(--primary); background: rgba(30,80,162,.05); }
.header.transparent.scrolled .phone-link { color: var(--primary); }
.header.transparent.scrolled .hamburger span { background: var(--gray-800); }
.header.transparent.scrolled .btn-header { background: var(--primary); color: #fff; border-color: var(--primary); }
.header.transparent.scrolled .btn-header:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 46px; width: auto; object-fit: contain; }
.logo-text { display: none; }

/* ============================================
   NAV — FLEX CENTERED (ALL PAGES)
   ============================================ */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  color: var(--gray-700); padding: 10px 16px; border-radius: var(--radius);
  transition: var(--transition); position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(30,80,162,.06); }
.nav-link.active {
  font-weight: 600;
}
.nav-link.active::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2.5px; background: var(--primary); border-radius: 2px;
}

/* Dropdown */
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 220px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 6px 0; border: 1px solid var(--gray-200);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.has-dd:hover .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd li a {
  display: block; padding: 9px 20px; font-size: .86rem; color: var(--gray-700);
}
.dd li a:hover { background: rgba(30,80,162,.04); color: var(--primary); padding-left: 24px; }

.header-right { display: flex; align-items: center; gap: 12px; }
.btn-header { font-size: .82rem; padding: 10px 24px; }
.phone-link {
  display: flex; align-items: center; gap: 6px; font-family: var(--font-head);
  font-weight: 700; font-size: .88rem; color: var(--primary);
}
.phone-link i { font-size: .75rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 10px; z-index: 1001;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.hamburger span {
  width: 24px; height: 2.5px; background: var(--gray-800);
  border-radius: 3px; transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobnav {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobnav.active { opacity: 1; visibility: visible; }
.mobnav-panel {
  position: absolute; top: 0; right: 0; width: 320px; max-width: 88vw;
  height: 100%; background: #fff; padding: 24px;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
}
.mobnav.active .mobnav-panel { transform: translateX(0); }
.mobnav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.mobnav-logo { height: 38px; }
.mobnav-close {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--gray-100); color: var(--gray-700); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.mobnav-close:hover { background: var(--gray-200); }
.mobnav-links li { border-bottom: 1px solid var(--gray-100); }
.mobnav-links a {
  display: flex; align-items: center; padding: 15px 4px; font-family: var(--font-head);
  font-weight: 500; font-size: 1.05rem; color: var(--gray-800);
  min-height: 50px; transition: color .2s, padding-left .2s;
}
.mobnav-links a:hover { color: var(--primary); padding-left: 8px; }
.mobnav-links a.active-link { color: var(--primary); font-weight: 700; }
.mobnav-contact { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.mobnav-contact p { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gray-600); margin-bottom: 10px; }
.mobnav-contact a { color: var(--primary); text-decoration: none; font-weight: 500; }
.mobnav-contact .btn { margin-top: 14px; width: 100%; justify-content: center; }

/* === Page Hero (Internal Pages) === */
.page-hero {
  position: relative; padding: 160px 0 80px; overflow: hidden;
  background: var(--surface);
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,40,71,.96), rgba(30,80,162,.88));
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .section-tag { color: var(--secondary); background: rgba(141,198,63,.15); }
.page-hero h1 {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,5vw,3.2rem);
  color: #fff; margin-bottom: 12px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 600px; }

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 18px; display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.breadcrumbs a { color: rgba(255,255,255,.6); }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs .sep { font-size: .6rem; }

/* === Homepage Hero (Video) === */
.hero {
  position: relative; height: calc(100vh - 76px); display: flex; align-items: center;
  justify-content: center; overflow: hidden; background: #000;
}
.hero-video-wrap {
  position: absolute; inset: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 900px; padding: 0 24px;
}
.hero-subtitle {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  color: var(--secondary); text-transform: uppercase; letter-spacing: 5px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-head); font-weight: 300;
  font-size: clamp(2.2rem,5.5vw,4rem); line-height: 1.15;
  color: #fff; margin-bottom: 36px; text-transform: uppercase;
}
.hero-title-line { display: block; }
.hero-title-bold { font-weight: 700; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; margin-left: -21px; z-index: 1;
}
.hero-scroll a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); display: flex; align-items: center;
  justify-content: center; color: #fff; animation: srollBounce 2s infinite;
  transition: var(--transition);
}
.hero-scroll a:hover { border-color: #fff; background: rgba(255,255,255,.1); }
@keyframes srollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* Hero fade-in lines */
.hero-fade-line {
  opacity: 0; transform: translateY(24px);
  animation: heroFadeIn .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HOMEPAGE HEADER — OVERRIDES
   (nav is now flex-centered globally)
   ============================================ */

/* ============================================
   HERO — ENHANCED LAYOUT
   ============================================ */
.hero {
  height: 100vh;
}
.hero-subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(141, 198, 63, .4);
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.hero-title-line {
  display: block;
}
.hero-title-bold {
  font-weight: 800;
}

/* Single Hero Button — White solid */
.btn-hero-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 42px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .5);
  background: #fff;
  color: var(--primary);
  transition: var(--transition);
  letter-spacing: .3px;
}
.btn-hero-about:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

/* === Section Shared === */
.section { padding: 100px 0; }
.section-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--primary); padding: 4px 14px; background: rgba(30,80,162,.07);
  border-radius: 20px; margin-bottom: 10px;
}
.section-tag.light { color: var(--secondary); background: rgba(141,198,63,.12); }
.sec-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--gray-900); margin-bottom: 12px;
  line-height: 1.15;
}
.sec-title.light { color: #fff; }
.sec-sub {
  font-size: 1rem; color: var(--gray-500); max-width: 560px; line-height: 1.7;
}
.sec-sub.light { color: rgba(255,255,255,.6); }
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-header .sec-sub { margin: 0 auto; }

/* === Services Category Cards (services.html) === */
.svc-cat-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200); transition: var(--transition);
  display: flex; flex-direction: column;
}
.svc-cat-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent;
}
.svc-cat-card-img {
  height: 240px; overflow: hidden; position: relative;
}
.svc-cat-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc-cat-card:hover .svc-cat-card-img img { transform: scale(1.08); }
.svc-cat-card-body {
  padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1;
}
.svc-cat-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 16px;
}
.svc-cat-card-body h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--gray-900); margin-bottom: 10px;
}
.svc-cat-card-body > p {
  font-size: .9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; flex: 1;
}
.svc-cat-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.svc-cat-card-tags span {
  font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 14px;
  background: rgba(30,80,162,.06); color: var(--primary);
}
.btn-cat-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 13px 28px; border-radius: var(--radius); border: 2px solid var(--primary);
  background: var(--primary); color: #fff; transition: var(--transition);
  text-align: center; justify-content: center; width: 100%;
}
.btn-cat-cta:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,80,162,.3);
}
.btn-cat-cta i { font-size: .8rem; transition: transform .3s var(--ease); }
.btn-cat-cta:hover i { transform: translateX(4px); }

@media (max-width: 768px) {
  .svc-cat-card-img { height: 200px; }
  .svc-cat-card-body { padding: 20px 18px 24px; }
  .svc-grid-3 { grid-template-columns: 1fr; }
}

/* === Services Grid (Home) === */
.svc-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.svc-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.svc-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent;
}
.svc-card-img {
  height: 210px; overflow: hidden; position: relative;
}
.svc-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc-card:hover .svc-card-img img { transform: scale(1.08); }
.svc-card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--secondary); color: #fff; padding: 4px 12px; border-radius: 16px;
}
.svc-card-body { padding: 22px 24px 26px; }
.svc-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(30,80,162,.07); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 14px;
}
.svc-card-body h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--gray-900); margin-bottom: 8px;
}
.svc-card-body p {
  font-size: .88rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px;
}
.svc-card-link {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  color: var(--primary); display: inline-flex; align-items: center; gap: 6px;
}
.svc-card-link:hover { color: var(--primary-dark); gap: 10px; }

/* === Stats === */
.stats {
  position: relative; padding: 80px 0; overflow: hidden;
}
.stats-bg { position: absolute; inset: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,80,162,.93), rgba(27,40,71,.96));
}
.stats-grid {
  position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px;
}
.stat-item { text-align: center; color: #fff; }
.stat-icon { font-size: 1.8rem; color: var(--secondary); margin-bottom: 10px; }
.stat-num {
  font-family: var(--font-head); font-weight: 700; font-size: 3rem; display: inline;
}
.stat-sfx {
  font-family: var(--font-head); font-weight: 700; font-size: 1.8rem;
  color: var(--secondary); display: inline;
}
.stat-label { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 2px; font-weight: 500; }

/* === Partner Logo Slider === */
.partner-track-wrapper {
  overflow: hidden; width: 100%; padding: 20px 0 0;
}
.partner-track {
  display: flex; width: max-content;
  animation: partnerScroll 30s linear infinite;
}
.partner-track:hover { animation-play-state: paused; }
.partner-slide {
  flex: 0 0 auto; padding: 0 25px; display: flex; align-items: center; justify-content: center;
}
.partner-slide img {
  max-height: 60px; max-width: 140px; width: auto; object-fit: contain;
}
@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Projects Gallery === */
.projects-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
.proj-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.proj-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25); transition: all .5s var(--ease);
}
.proj-card:hover img { filter: grayscale(0); transform: scale(1.08); }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,40,.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; opacity: 0; transition: var(--transition);
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-cat {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--secondary); margin-bottom: 4px;
}
.proj-overlay h4 {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: #fff; margin-bottom: 4px;
}
.proj-overlay p { font-size: .78rem; color: rgba(255,255,255,.7); line-height: 1.5; }

/* Filter */
.filter-bar { display: flex; justify-content: center; gap: 6px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  padding: 7px 20px; border-radius: 18px; border: 2px solid var(--gray-300);
  background: transparent; color: var(--gray-600); transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(30,80,162,.05); }
.filter-btn.active { background: var(--primary); color: #fff; }

/* === CTA Banner === */
.cta-banner {
  position: relative; padding: 90px 0; overflow: hidden;
}
.cta-banner-bg { position: absolute; inset: 0; }
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-ov {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,80,162,.9), rgba(27,40,71,.92));
}
.cta-banner-content { position: relative; z-index: 1; text-align: center; max-width: 650px; margin: 0 auto; }
.cta-banner-content h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem,3.5vw,2.6rem); color: #fff; margin-bottom: 14px;
}
.cta-banner-content p { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 28px; line-height: 1.7; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === About Page === */
.about-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-text .section-tag { margin-bottom: 10px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--gray-600); margin-bottom: 14px; }
.about-text .lead { font-size: 1.1rem; font-weight: 600; color: var(--gray-800); }

.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.about-feat {
  display: flex; gap: 14px; padding: 16px; background: var(--gray-50);
  border-radius: var(--radius-md); border: 1px solid var(--gray-200);
}
.about-feat-icon {
  width: 44px; height: 44px; border-radius: var(--radius); flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.about-feat h4 { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--gray-800); }
.about-feat p { font-size: .8rem; color: var(--gray-500); margin: 0; }

.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-accent {
  position: absolute; bottom: -28px; left: -28px;
  width: 190px; height: 190px; border-radius: var(--radius-md);
  overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: -18px; right: -18px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff; padding: 18px 22px; border-radius: var(--radius-md);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; display: block; }
.about-badge .txt { font-size: .75rem; font-weight: 500; line-height: 1.3; opacity: .9; }

/* Values Section */
.values-section { background: var(--surface); position: relative; overflow: hidden; }
.values-section::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(141,198,63,.04);
}
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; position: relative; z-index: 1; }
.val-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 34px 24px; text-align: center;
  transition: var(--transition);
}
.val-card:hover { background: rgba(255,255,255,.09); transform: translateY(-5px); border-color: var(--secondary); }
.val-icon {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.val-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 10px; }
.val-card p { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* === Services Page === */
.svc-detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.svc-detail-card {
  display: flex; gap: 24px; padding: 28px; background: #fff;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.svc-detail-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.svc-detail-img { width: 180px; min-height: 160px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.svc-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail-body { flex: 1; }
.svc-detail-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--gray-900); margin-bottom: 8px; }
.svc-detail-body p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.svc-detail-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.svc-detail-list span {
  font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 12px;
  background: rgba(30,80,162,.06); color: var(--primary);
}

/* === Contact Page === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.ccard {
  display: flex; gap: 16px; padding: 22px; background: var(--gray-50);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
}
.ccard-icon {
  width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
  background: rgba(30,80,162,.07); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.ccard h4 { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--gray-800); margin-bottom: 4px; }
.ccard p, .ccard a { font-size: .86rem; color: var(--gray-500); display: block; }
.ccard a:hover { color: var(--primary); }
.ccard p strong { color: var(--secondary); }

.contact-form-wrap {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; color: var(--gray-700); margin-bottom: 5px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .9rem;
  color: var(--gray-800); background: #fff; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,80,162,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.map-embed { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* === Footer === */
.footer { background: var(--surface-dark); color: var(--gray-400); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo { height: 48px; margin-bottom: 14px; object-fit: contain; }
.footer-about p { font-size: .86rem; line-height: 1.7; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07);
  color: var(--gray-400); display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 3px; background: var(--secondary); border-radius: 2px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: .86rem; color: var(--gray-400); display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-600); transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-links a:hover::before { background: var(--secondary); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; font-size: .86rem;
}
.footer-contact li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: var(--gray-400); }
.footer-contact a:hover { color: var(--secondary); }
.footer-bottom {
  margin-top: 56px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-500); }

/* === WhatsApp Float === */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35); z-index: 999;
  animation: waPulse 2s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.35)} 50%{box-shadow:0 4px 30px rgba(37,211,102,.5)} }

/* Back to top */
.btt {
  position: fixed; bottom: 26px; right: 96px; width: 42px; height: 42px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
  box-shadow: var(--shadow-md); z-index: 998;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: var(--transition);
}
.btt.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btt:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* === AOS === */
[data-aos] { opacity: 0; transition: all .6s var(--ease); }
[data-aos="fade-up"] { transform: translateY(28px); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"] { transform: translateX(28px); }
[data-aos].aos-done { opacity: 1; transform: translate(0); }

/* ============================================
   SERVICE SUB-PAGES
   ============================================ */
.svc-page-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.svc-page-text p {
  font-size: .95rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px;
}
.svc-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px;
}
.svc-highlight {
  display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gray-700); font-weight: 500;
}
.svc-highlight i { color: var(--secondary); font-size: .8rem; }
.svc-page-img-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.svc-page-img-main img {
  width: 100%; height: 280px; object-fit: cover; display: block;
}
.svc-page-img-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px;
}
.svc-page-img-row img {
  width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius-md); display: block;
}
.svc-specs-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.svc-spec-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-100);
}
.svc-spec-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  background: rgba(30,80,162,.08); color: var(--primary); margin-bottom: 14px;
}
.svc-spec-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--gray-900); margin-bottom: 6px;
}
.svc-spec-card > p {
  font-size: .85rem; color: var(--gray-500); margin-bottom: 16px;
}
.svc-devis-form {
  max-width: 780px; margin: 0 auto;
}

/* === Responsive: Service Sub-Pages === */
@media (max-width: 1024px) {
  .svc-specs-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .mission-grid { grid-template-columns: 1fr; gap: 16px !important; }
}
@media (max-width: 768px) {
  .svc-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-highlights { grid-template-columns: 1fr; }
  .svc-page-img-main img { height: 220px; }
  .svc-page-img-row img { height: 110px; }
  .svc-spec-card { padding: 22px 18px; }
}

/* === Responsive === */
/* ============================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid { grid-template-columns: repeat(3,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================
   RESPONSIVE — Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {

  /* Header & Nav */
  .header-inner { height: 60px; }
  .logo-img { height: 38px; }
  .nav, .header-right .btn-header, .header-right .phone-link { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { height: calc(100vh - 60px); }
  .hero-content { padding: 0 8px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); letter-spacing: .5px; line-height: 1.05; }
  .hero-subtitle { font-size: .7rem; letter-spacing: 4px; margin-bottom: 14px; }
  .hero-btns { justify-content: center; }
  .hero-btns .btn,
  .btn-hero-about { padding: 16px 36px; font-size: 1rem; width: auto; justify-content: center; min-height: 52px; }
  .hero-scroll { bottom: 18px; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .sec-header { margin-bottom: 36px; }
  .sec-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .sec-sub { font-size: .92rem; }

  /* Service grid */
  .svc-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-card-img { height: 190px; }
  .svc-card-body { padding: 18px 20px 22px; }
  .svc-card { min-height: auto; }

  /* Service detail cards */
  .svc-detail-card { flex-direction: column; gap: 18px; padding: 22px; }
  .svc-detail-img { width: 100%; min-height: 180px; border-radius: var(--radius-md); }
  .svc-detail-body h3 { font-size: 1.05rem; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .val-card { padding: 28px 20px; }

  /* Projects */
  .projects-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .proj-card { aspect-ratio: 1; }
  .proj-overlay { padding: 14px; }
  .proj-overlay h4 { font-size: .82rem; }
  .proj-overlay p { display: none; }

  /* Fleet cards — show overlay on mobile (no hover) */
  .fleet-card-overlay { opacity: 1; background: linear-gradient(to top, rgba(17,24,40,.7) 0%, transparent 60%); }
  .fleet-card-btn { padding: 10px 20px; font-size: .82rem; }
  .fleet-card-badge { top: 10px; left: 10px; }

  /* Filter bar */
  .filter-bar { gap: 5px; margin-bottom: 24px; }
  .filter-btn { padding: 7px 14px; font-size: .78rem; min-height: 40px; }

  /* Stats */
  .stats { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stat-num { font-size: 2rem; }
  .stat-sfx { font-size: 1.2rem; }
  .stat-icon { font-size: 1.4rem; margin-bottom: 6px; }
  .stat-label { font-size: .8rem; }

  /* About */
  .about-features { grid-template-columns: 1fr; }
  .about-feat { padding: 14px; }
  .about-img-main img { height: 280px; }
  .about-img-accent { width: 140px; height: 140px; bottom: -20px; left: -12px; }
  .about-badge { top: -10px; right: 10px; padding: 14px 16px; }
  .about-badge .num { font-size: 1.6rem; }
  .about-hero-grid { gap: 28px; }

  /* Mission/Vision inline grid — stack on mobile */
  .mission-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .mission-grid .svc-detail-card { padding: 24px 20px; }

  /* CTA Banner */
  .cta-banner { padding: 60px 0; }
  .cta-banner-content h2 { font-size: 1.5rem; }
  .cta-banner-content p { font-size: .95rem; }
  .cta-banner-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-banner-btns .btn { width: 100%; justify-content: center; min-height: 52px; }

  /* Contact */
  .contact-grid { gap: 28px; }
  .ccard { padding: 18px; gap: 12px; }
  .contact-form-wrap { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 14px 16px; font-size: 1rem; min-height: 48px;
    -webkit-appearance: none; appearance: none;
  }
  .form-group textarea { min-height: 120px; }
  .form-group label { font-size: .88rem; }
  .btn-block.btn-lg { min-height: 52px; font-size: 1rem; }
  .map-embed iframe { height: 280px; }

  /* Page Hero */
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: .95rem; }

  /* Footer */
  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-about p { font-size: .84rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }
  .footer-links a, .footer-contact li { min-height: 40px; display: flex; align-items: center; }

  /* WhatsApp & Back-to-top — avoid overlapping */
  .wa-float { width: 54px; height: 54px; font-size: 1.55rem; bottom: 20px; right: 20px; z-index: 999; }
  .btt { width: 42px; height: 42px; bottom: 20px; right: 84px; font-size: .85rem; }

  /* Mobile nav — bigger touch targets */
  .mobnav-links a {
    padding: 16px 8px; font-size: 1.1rem; min-height: 52px;
  }
  .mobnav-links a:hover { padding-left: 12px; }
  .mobnav-close { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }
  .mobnav-contact .btn { min-height: 52px; font-size: 1rem; }

  /* Gallery — bigger tap targets */
  .gallery-item { min-height: 140px; }
  .gallery-zoom-icon { width: 52px; height: 52px; font-size: 1.1rem; }

  /* Lightbox — mobile optimized */
  .lightbox-img { max-width: 96vw; max-height: 80vh; border-radius: 8px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: .9rem; background: rgba(0,0,0,.5); }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 14px; right: 14px; width: 44px; height: 44px; background: rgba(0,0,0,.5); }

  /* Specs tables — scroll hint */
  .specs-table { font-size: .88rem; }

  /* Devis forms — larger inputs */
  .svc-devis-form .form-group input,
  .svc-devis-form .form-group select,
  .svc-devis-form .form-group textarea {
    min-height: 48px; font-size: 1rem;
  }
}

/* ============================================
   RESPONSIVE — Small Phone (≤480px)
   ============================================ */
@media (max-width: 480px) {

  /* Global */
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Header */
  .header-inner { height: 56px; }
  .logo-img { height: 34px; }

  /* Hero */
  .hero { height: calc(100vh - 56px); }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: .65rem; letter-spacing: 3px; }
  .hero-desc { font-size: .88rem; }
  .hero-btns .btn,
  .btn-hero-about { padding: 15px 32px; font-size: .95rem; min-height: 50px; }

  /* Service cards */
  .svc-card-img { height: 170px; }
  .svc-card-body { padding: 16px; }
  .svc-card-body h3 { font-size: .98rem; }
  .svc-card-body p { font-size: .82rem; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .proj-card { aspect-ratio: 16/10; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .stat-num { font-size: 2.2rem; }

  /* About */
  .about-img-main img { height: 220px; }
  .about-img-accent { width: 110px; height: 110px; bottom: -14px; left: -8px; border-width: 3px; }
  .about-badge { top: -6px; right: 6px; padding: 10px 12px; border-radius: var(--radius-sm); }
  .about-badge .num { font-size: 1.3rem; }
  .about-badge .txt { font-size: .65rem; }

  /* Contact form */
  .contact-form-wrap { padding: 18px; }
  .ccard { padding: 14px; }
  .ccard-icon { width: 40px; height: 40px; font-size: .9rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 13px 14px; font-size: .95rem; min-height: 46px; }
  .btn-block.btn-lg { min-height: 50px; font-size: .95rem; }

  /* Page hero */
  .page-hero { padding: 110px 0 40px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Footer */
  .footer-title { font-size: .92rem; }
  .footer-links a, .footer-contact li { font-size: .82rem; min-height: 38px; }

  /* WhatsApp */
  .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
  .btt { width: 38px; height: 38px; bottom: 16px; right: 74px; }

  /* Mobile nav panel */
  .mobnav-panel { width: 88vw; }
  .mobnav-links a { padding: 14px 6px; font-size: 1.05rem; min-height: 48px; }

  /* Specs table scroll */
  .specs-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table td { font-size: .82rem; padding: 10px 12px; }

  /* Gallery 1-col */
  .gallery-interactive { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================
   FLEET PAGE — Filters
   ============================================ */
.fleet-filters {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.fltr-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
  padding: 10px 24px; border-radius: 24px; border: 2px solid var(--gray-300);
  background: var(--white); color: var(--gray-600); cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 7px;
}
.fltr-btn i { font-size: .8rem; }
.fltr-btn:hover { border-color: var(--primary); color: var(--primary); }
.fltr-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(30,80,162,.25);
}

/* ============================================
   FLEET PAGE — Grid
   ============================================ */
.fleet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

.fleet-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative;
}
.fleet-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent;
}
.fleet-card.hidden {
  display: none;
}

.fleet-card-img {
  position: relative; height: 230px; overflow: hidden;
}
.fleet-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.fleet-card:hover .fleet-card-img img { transform: scale(1.08); }

.fleet-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,80,162,.85), rgba(27,40,71,.9));
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.fleet-card:hover .fleet-card-overlay { opacity: 1; }

.fleet-card-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 12px 28px; border-radius: var(--radius); border: 2px solid #fff;
  background: transparent; color: #fff; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; gap: 8px;
}
.fleet-card-btn:hover { background: #fff; color: var(--primary); }

.fleet-card-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--secondary); color: #fff; padding: 5px 14px; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.fleet-card-body { padding: 22px 24px 26px; }
.fleet-card-cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 6px; display: block;
}
.fleet-card-body h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  color: var(--gray-900); margin-bottom: 8px;
}
.fleet-card-body > p {
  font-size: .86rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px;
}

.fleet-card-specs {
  display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.fleet-card-specs span {
  font-size: .78rem; font-weight: 600; color: var(--gray-600);
  display: flex; align-items: center; gap: 5px;
}
.fleet-card-specs span i { color: var(--accent); font-size: .72rem; }

/* ============================================
   FLEET PAGE — Modal
   ============================================ */
.fleet-modal {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.fleet-modal.active { opacity: 1; visibility: visible; }

.fleet-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}

.fleet-modal-panel {
  position: relative; z-index: 1;
  width: 92%; max-width: 880px; max-height: 90vh;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
  transform: translateY(30px) scale(.97);
  transition: transform .4s var(--ease);
}
.fleet-modal.active .fleet-modal-panel { transform: translateY(0) scale(1); }

.fleet-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.5); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.fleet-modal-close:hover { background: rgba(0,0,0,.8); transform: rotate(90deg); }

.fleet-modal-body {
  overflow-y: auto; max-height: 90vh; padding: 0;
}

/* Modal: Gallery */
.modal-gallery {
  position: relative; background: var(--gray-900); overflow: hidden;
}
.modal-gallery-main {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
}
.modal-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s var(--ease);
}
.modal-gallery-thumbs {
  display: flex; gap: 0; background: var(--gray-800);
}
.modal-gallery-thumbs button {
  flex: 1; padding: 0; border: none; background: transparent;
  cursor: pointer; opacity: .5; transition: var(--transition);
  overflow: hidden; aspect-ratio: 16/9;
}
.modal-gallery-thumbs button.active,
.modal-gallery-thumbs button:hover { opacity: 1; }
.modal-gallery-thumbs button img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--gray-800);
  font-size: .9rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.modal-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.modal-gallery-prev { left: 14px; }
.modal-gallery-next { right: 14px; }
.modal-gallery-counter {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 12px;
  border-radius: 12px;
}

/* Modal: Content */
.modal-content { padding: 32px 36px 36px; }
.modal-cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--secondary); margin-bottom: 6px; display: block;
}
.modal-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.6rem; color: var(--gray-900); margin-bottom: 12px; line-height: 1.2;
}
.modal-desc {
  font-size: .92rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 28px;
}

/* Specs Table */
.specs-title {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--gray-900); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.specs-title i { color: var(--primary); }
.specs-table {
  width: 100%; border-collapse: collapse; margin-bottom: 28px;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--gray-200);
}
.specs-table tr { transition: var(--transition); }
.specs-table tr:nth-child(even) { background: var(--gray-50); }
.specs-table tr:hover { background: rgba(30,80,162,.04); }
.specs-table td {
  padding: 11px 16px; font-size: .88rem; border-bottom: 1px solid var(--gray-100);
}
.specs-table td:first-child {
  font-weight: 600; color: var(--gray-700); width: 42%;
  white-space: nowrap;
}
.specs-table td:last-child { color: var(--gray-600); }

/* Modal CTA */
.modal-cta {
  display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px;
}

/* ============================================
   LIGHTBOX — Fullscreen Image Viewer
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(0,0,0,.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: var(--radius-md); box-shadow: 0 8px 40px rgba(0,0,0,.5);
  transition: transform .3s var(--ease);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .8rem; font-weight: 600; padding: 6px 18px; border-radius: 20px;
}

/* ============================================
   GALLERY — Interactive Thumbnail Grid
   ============================================ */
.gallery-interactive {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,24,40,.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay .proj-cat {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--secondary); margin-bottom: 4px;
}
.gallery-item-overlay h4 {
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: #fff;
}
.gallery-zoom-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: transform .3s var(--ease);
}
.gallery-item:hover .gallery-zoom-icon { transform: translate(-50%,-50%) scale(1); }

/* ============================================
   MASONRY — Responsive Layout
   ============================================ */
.masonry-grid {
  columns: 3; column-gap: 16px;
}
.masonry-grid .masonry-item {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; position: relative;
}
.masonry-grid .masonry-item img {
  width: 100%; display: block; transition: transform .6s var(--ease);
}
.masonry-grid .masonry-item:hover img { transform: scale(1.05); }
.masonry-grid .masonry-item .gallery-item-overlay { opacity: 0; transition: var(--transition); }
.masonry-grid .masonry-item:hover .gallery-item-overlay { opacity: 1; }

/* ============================================
   TOWER SLIDER — Auto-advance Carousel
   ============================================ */
.tower-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--gray-900);
}
.tower-slider-track {
  display: flex; transition: transform .6s var(--ease);
}
.tower-slide {
  min-width: 100%; aspect-ratio: 16/9;
}
.tower-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.tower-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); color: var(--gray-800);
  font-size: .9rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.tower-slider-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.tower-slider-prev { left: 16px; }
.tower-slider-next { right: 16px; }
.tower-slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.tower-slider-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.4); cursor: pointer; transition: var(--transition);
}
.tower-slider-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* ============================================
   FLEET PAGE — Responsive
   ============================================ */
@media (max-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(2,1fr); }
  .fleet-header { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 768px) {
  .fleet-grid { grid-template-columns: 1fr; gap: 16px; }
  .fleet-filters { gap: 5px; flex-wrap: wrap; justify-content: center; }
  .fltr-btn { padding: 8px 14px; font-size: .78rem; border-radius: 20px; }
  .fleet-modal-panel { width: 98%; max-height: 92vh; margin: 0 4px; }
  .fleet-modal-body { max-height: 92vh; }
  .modal-content { padding: 20px 18px 24px; }
  .modal-title { font-size: 1.2rem; }
  .modal-desc { font-size: .88rem; margin-bottom: 20px; }
  .modal-gallery-main { aspect-ratio: 16/10; }
  .modal-gallery-thumbs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .modal-gallery-thumbs button { min-height: 50px; min-width: 70px; flex: 0 0 auto; }
  .modal-gallery-nav { width: 34px; height: 34px; font-size: .75rem; }
  .modal-gallery-prev { left: 8px; }
  .modal-gallery-next { right: 8px; }
  .modal-cta { flex-direction: column; }
  .modal-cta .btn { width: 100%; justify-content: center; }
  .specs-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table td { white-space: normal; font-size: .84rem; padding: 10px 12px; }
}
@media (max-width: 480px) {
  .fleet-grid { gap: 14px; }
  .fleet-card-img { height: 180px; }
  .fleet-card-body { padding: 16px 16px 20px; }
  .fleet-card-body h3 { font-size: .98rem; }
  .fleet-card-body p { font-size: .82rem; }
  .specs-table td { font-size: .8rem; padding: 8px 10px; }
  .modal-gallery-counter { font-size: .68rem; padding: 3px 8px; bottom: 8px; right: 8px; }

  /* Lightbox mobile */
  .lightbox-nav { width: 38px; height: 38px; font-size: .85rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .gallery-interactive { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .masonry-grid { columns: 2; column-gap: 10px; }
  .masonry-grid .masonry-item { margin-bottom: 10px; }
}

@media (max-width: 480px) {
  .gallery-interactive { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }
}

/* ============================================
   SEO — Homepage (Hero desc, Coverage, Footer note)
   ============================================ */
.hero-desc {
  color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.6;
  max-width: 640px; margin: -28px auto 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.services-list .svc-detail-card { flex-direction: column; padding: 32px; }

.coverage-wrap {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 32px; text-align: center;
}
.coverage-lead {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--gray-900); margin-bottom: 18px;
}
.coverage-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coverage-item {
  display: inline-block; font-size: .86rem; font-weight: 600;
  color: var(--primary); background: rgba(30,80,162,.07);
  border: 1px solid rgba(30,80,162,.16); border-radius: 24px; padding: 7px 16px;
}
.coverage-item::after { content: '•'; margin-left: 10px; color: var(--secondary); font-weight: 700; }
.coverage-item:last-child::after { content: ''; }

.seo-foot-note {
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.seo-foot-note p {
  font-size: .76rem; color: var(--gray-500); line-height: 1.8;
}
.seo-foot-note span[lang="ar"] { font-size: .9rem; }

@media (max-width: 768px) {
  .hero-desc { font-size: .92rem; margin: -18px auto 30px; }
  .services-list { grid-template-columns: 1fr !important; }
  .coverage-wrap { padding: 26px 18px; }
}
