/* ============================================================
   AMC Transport Solutions Ltd — Main Stylesheet
   ============================================================ */

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

:root {
  --orange: #D97706;
  --orange-hover: #B45309;
  --orange-light: #FEF3C7;
  --navy: #1a2332;
  --navy-dark: #111827;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

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

/* ============================================================ LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: clamp(60px, 8vw, 100px) 0; }

/* ============================================================ HEADER */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: var(--header-h);
}
.header--scrolled {
  position: fixed;
  background: rgba(17,24,39,0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 32px;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

.nav-desktop { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px;
  transition: color var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-link:hover { color: white; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: white; font-weight: 700; }

.btn-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.btn-phone:hover { background: var(--orange-hover); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-100); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform 0.3s, opacity 0.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 nav */
.nav-mobile {
  display: none; flex-direction: column;
  background: white; border-top: 1px solid var(--gray-200);
  padding: 12px 24px 20px; gap: 4px;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-link-mobile {
  font-size: 15px; font-weight: 500; color: var(--gray-700);
  padding: 10px 12px; border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-link-mobile:hover, .nav-link-mobile.active { background: var(--orange-light); color: var(--orange); font-weight: 700; }
.btn-phone-mobile {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  font-size: 14px; font-weight: 600;
  padding: 12px 16px; border-radius: 6px; margin-top: 8px;
  transition: background var(--transition);
}
.btn-phone-mobile:hover { background: var(--orange-hover); }

/* ============================================================ HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero-bg-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  /* Blur + dark tint only on the left where text sits, fades to transparent on the right */
  background: linear-gradient(to right,
    rgba(10,15,40,0.88) 0%,
    rgba(10,15,40,0.80) 30%,
    rgba(10,15,40,0.45) 55%,
    rgba(10,15,40,0.0) 75%
  );
  backdrop-filter: blur(0px);
}
/* Frosted glass blur — only over the left text column */
.hero-content-blur {
  position: absolute; inset: 0;
  /* Apply blur only to the left portion using a mask */
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 35%, transparent 60%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 35%, transparent 60%, transparent 100%);
  z-index: 1;
}

/* Emergency badge — top left of hero */
.hero-emergency-badge {
  position: absolute; top: calc(var(--header-h) + 20px); left: 48px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(217,119,6,0.18); border: 1px solid rgba(217,119,6,0.5);
  color: var(--orange); font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Trust bar pinned to hero bottom */
.hero-trust-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(10,15,30,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.hero-trust-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; height: 52px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500;
  padding: 0 24px;
}
.hero-trust-item svg { color: var(--orange); flex-shrink: 0; }
.hero-trust-sep {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 580px;
  padding: 120px 32px 80px 48px;
  margin-left: 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: white; font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700; color: white; line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.85);
  line-height: 1.65; margin-bottom: 36px; max-width: 540px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,119,6,0.35); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.4);
  color: white; font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }

.hero-badges-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500;
}

/* ============================================================ SECTION LABELS & HEADINGS */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; color: var(--gray-900); line-height: 1.15;
  letter-spacing: -0.015em; margin-bottom: 16px;
}
.section-desc {
  font-size: 16px; color: var(--gray-500); max-width: 600px; line-height: 1.7;
  margin-bottom: 48px;
}
.page-header { text-align: center; margin-bottom: 60px; }
.page-header .section-desc { margin: 0 auto; }

/* ============================================================ WHAT WE DO */
.what-we-do { background: var(--white); }
.what-we-do > .container > .section-label,
.what-we-do > .container > .section-title,
.what-we-do > .container > .section-desc { display: block; }
.what-we-do > .container > .section-title { max-width: 580px; }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 56px;
}
.stat-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
}
.stat-number {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 52px);
  font-weight: 700; color: var(--orange); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; font-weight: 500; color: var(--gray-500); }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.service-img-wrap { aspect-ratio: 3/2; overflow: hidden; position: relative; min-height: 180px; }
.service-img-wrap picture { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.5s ease; display: block; }
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-card-body { padding: 24px; }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.drainage-icon { background: #EFF6FF; color: #2563EB; }
.haulage-icon { background: #FEF3C7; color: var(--orange); }
.bowser-icon { background: #ECFDF5; color: #059669; }
.service-card-body h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--gray-900); margin-bottom: 10px;
}
.service-card-body p { font-size: 14px; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--orange);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* ============================================================ ABOUT */
.about { background: var(--gray-50); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-images-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.about-img-card { border-radius: var(--radius-lg); overflow: hidden; height: 280px; }
.about-img-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-stat-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--orange); color: white;
  padding: 16px 20px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.about-stat-label { font-size: 12px; font-weight: 500; opacity: 0.9; }
.about-content { padding-bottom: 28px; }
.about-content p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--orange); color: var(--orange);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 11px 22px; border-radius: var(--radius); margin-top: 8px;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--orange); color: white; }

/* ============================================================ WHY CHOOSE US */
.why-us { background: var(--navy-dark); }
.why-us .section-label { color: var(--orange); }
.why-us .section-title { color: white; }
.why-us .section-desc { color: var(--gray-400); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.feature-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: background var(--transition), border-color var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(217,119,6,0.4); }
.feature-icon {
  width: 52px; height: 52px; background: rgba(217,119,6,0.15);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: white; margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--gray-400); line-height: 1.65; }

/* CTA Banner */
.cta-banner {
  background: var(--orange); border-radius: var(--radius-lg);
  padding: 36px 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner-content h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: white; margin-bottom: 8px;
}
.cta-banner-content p { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 500px; }
.cta-banner .btn-primary {
  background: white; color: var(--orange); white-space: nowrap; flex-shrink: 0;
}
.cta-banner .btn-primary:hover { background: var(--orange-light); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.why-us .cta-banner { background: rgba(217,119,6,0.9); border: 1px solid rgba(217,119,6,0.3); }

/* ============================================================ ABOUT FULL */
.about-full { background: white; }
.about-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 60px; }
.about-full-content h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 20px;
}
.about-full-content p { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.about-full-images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-full-img { border-radius: var(--radius-lg); width: 100%; height: 280px; object-fit: cover; object-position: center center; }
.about-video-wrap { margin: 48px 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.about-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-full-stat { text-align: center; margin-bottom: 80px; }
.big-stat { font-family: var(--font-display); font-size: clamp(64px, 8vw, 100px); font-weight: 700; color: var(--orange); line-height: 1; }
.big-stat-label { font-size: 18px; color: var(--gray-500); font-weight: 500; margin-top: 8px; }

/* Fleet */
.fleet-section { margin-bottom: 80px; }
.fleet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.fleet-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 320px; }
.fleet-card img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.4s ease; }
.fleet-card:hover img { transform: scale(1.05); }
.fleet-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: white; font-size: 13px; font-weight: 600; padding: 20px 14px 12px;
}

/* Values */
.values-section { margin-bottom: 60px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.value-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,119,6,0.08); }
.value-icon {
  width: 44px; height: 44px; background: var(--orange-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 14px;
}
.value-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ============================================================ SERVICES PAGE */
.services { background: var(--gray-50); }
.service-detail-card {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 32px;
  transition: box-shadow var(--transition);
}
.service-detail-card:hover { box-shadow: var(--shadow-lg); }
.service-detail-reverse { direction: rtl; }
.service-detail-reverse > * { direction: ltr; }
.service-detail-img { overflow: hidden; min-height: 340px; position: relative; }
.service-detail-img picture { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.5s ease; display: block; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.04); }
.service-detail-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.service-detail-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.drainage-badge { background: #EFF6FF; color: #2563EB; }
.haulage-badge { background: #FEF3C7; color: var(--orange); }
.waste-badge { background: #F0FDF4; color: #16A34A; }
.bowser-badge { background: #FFF7ED; color: #EA580C; }
.jetvac-badge { background: #F5F3FF; color: #7C3AED; }
.refrigerated-badge { background: #EFF6FF; color: #0369A1; }
.service-detail-content h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 12px;
}
.service-detail-content p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-700); font-weight: 500;
}
.service-list li svg { color: var(--orange); flex-shrink: 0; }
.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: white;
  font-size: 14px; font-weight: 600; padding: 10px 20px;
  border-radius: var(--radius); width: fit-content;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary-sm:hover { background: var(--orange-hover); transform: translateY(-1px); }

.emergency-banner {
  background: var(--navy-dark); border-radius: var(--radius-lg);
  padding: 32px 40px; display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; margin-top: 16px;
}
.emergency-icon {
  width: 56px; height: 56px; background: rgba(217,119,6,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}
.emergency-text { flex: 1; }
.emergency-text h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; }
.emergency-text p { font-size: 14px; color: var(--gray-400); }
.btn-emergency {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  font-size: 15px; font-weight: 600; padding: 12px 24px;
  border-radius: var(--radius); white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-emergency:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* ============================================================ GALLERY */
.gallery { background: white; }
.gallery-featured {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 32px; aspect-ratio: 21/9;
}
.gallery-featured img { width: 100%; height: 100%; object-fit: cover; }
.gallery-featured-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 40px 36px 32px;
}
.gallery-badge {
  display: inline-block; background: var(--orange); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.gallery-featured-caption h3 {
  font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px);
  font-weight: 700; color: white; margin-bottom: 6px;
}
.gallery-featured-caption p { font-size: 14px; color: rgba(255,255,255,0.8); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/2; cursor: pointer; position: relative;
}
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.4s ease; display: block; }
/* Portrait images — shift anchor to show full vehicle, not just top */
.gallery-item.img-portrait img { object-position: center 30%; }
.gallery-item.img-portrait-low img { object-position: center 60%; }
/* Fleet card portrait overrides */
/* fleet portrait override handled above */
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.3s;
}
.gallery-item:hover::after { background: rgba(0,0,0,0.15); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 24px; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; font-size: 28px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(217,119,6,0.6); }

/* ============================================================ CONTACT */
.contact { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 12px;
}
.contact-info > p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; background: var(--orange-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0; margin-top: 2px;
}
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--gray-900); display: block; transition: color var(--transition); }
a.contact-value:hover { color: var(--orange); }
.contact-sub { font-size: 13px; color: var(--gray-400); margin-top: 2px; }
.contact-map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.contact-map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Contact form */
.contact-form-wrap {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-form h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 8px;
}
.contact-form > p { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.required { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  padding: 10px 14px; font-family: var(--font-sans); font-size: 14px;
  color: var(--gray-800); background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; resize: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
  background: white;
}
.form-group select { cursor: pointer; }
.form-consent { margin-bottom: 20px; }
.form-consent p { font-size: 12px; color: var(--gray-400); line-height: 1.6; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--orange); color: white;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(217,119,6,0.3); }

/* Form success */
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success-icon {
  width: 72px; height: 72px; background: #ECFDF5;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #059669; margin: 0 auto 20px;
}
.form-success h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }

/* ============================================================ FOOTER */
.footer { background: var(--navy-dark); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 2fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 16px; background: white; padding: 6px 12px; border-radius: 6px; display: block; }
.footer-brand p { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-bottom: 16px; }
.footer-emergency {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(217,119,6,0.15); border: 1px solid rgba(217,119,6,0.3);
  color: var(--orange); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
.footer-col h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: white; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--gray-400);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-item svg { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact-sub { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 3px; }
.footer-contact-item a, .footer-contact-item span { font-size: 13px; color: var(--gray-400); transition: color var(--transition); word-break: break-word; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--gray-500); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--gray-500); transition: color var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* ============================================================ ANIMATIONS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-desktop, .btn-phone { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .header-inner { gap: 16px; }

  .hero { min-height: 100vh; }
  .hero-content {
    padding: 40px 24px 80px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: auto; max-width: 280px; justify-content: center; }
  .hero-emergency-badge { left: 24px; }
  .hero-trust-item { padding: 0 12px; font-size: 12px; }
  .hero-trust-sep { display: none; }

  .stats-row { grid-template-columns: 1fr; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images-grid { margin-bottom: 24px; }
  .about-img-card { height: 200px; }
  .about-stat-badge { top: -16px; left: -12px; }
  .about-full-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-full-images { grid-template-columns: 1fr; }
  .about-full-img { height: 220px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  .service-detail-card { grid-template-columns: 1fr; direction: ltr; }
  .service-detail-reverse { direction: ltr; }
  .service-detail-img img { min-height: 220px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-featured { aspect-ratio: 16/9; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { flex-direction: column; text-align: center; }
  .emergency-banner { flex-direction: column; text-align: center; }

  .section-pad { padding: 48px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-full-images { grid-template-columns: 1fr; }
}

/* ── Services overview grid (services.html) ── */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-overview-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-overview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.service-overview-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.service-overview-body { padding: 24px; }
.service-overview-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 10px 0 8px; }
.service-overview-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.service-overview-body .card-link { font-size: 14px; font-weight: 600; color: var(--orange); }

/* Back link */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--orange);
  text-decoration: none; margin-bottom: 8px;
}
.back-link:hover { text-decoration: underline; }

/* Responsive services overview */
@media (max-width: 900px) {
  .services-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-overview-grid { grid-template-columns: 1fr; }
}
