/* ==========================================================================
   WASCO Industrial Services - Stylesheet
   Design System & Pixel-Perfect Component Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Custom CSS Variables --- */
:root {
  --bg-primary: #FFFDF5;
  --bg-secondary: #F8F3E8;
  --bg-card: #FFFFFF;
  --bg-footer: #FBE7D6;
  
  --color-primary: #1A1A1A;
  --color-navy: #1A1A1A;
  --color-secondary: #4A4A4A;
  --color-muted: #666666;
  --color-orange: #F36F21;
  --color-orange-hover: #D85C13;
  --color-white: #FFFFFF;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.15);
  --shadow-orange-offset: 14px 14px 0px 0px #F36F21;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --header-h: 92px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--color-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.heading-lg {
  font-size: clamp(1.5rem, 2.5vw, 2.0rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
  line-height: 1.28;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1.05rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(239, 108, 45, 0.35);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 108, 45, 0.45);
}

.btn-orange:active {
  transform: translateY(0);
}

.btn-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* --- Container & Layout --- */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

/* --- Image Offset Frame Component --- */
.frame-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.frame-wrapper::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  background-color: var(--color-orange);
  border-radius: var(--radius-sm);
  z-index: 1;
}

.frame-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-sm);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
}

/* --- Header / Floating Pill Navigation --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  z-index: 1000;
  padding: 1.1rem 0 0.6rem;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

/* Homepage variant: header floats transparently over the full-bleed hero,
   then turns solid once the user scrolls. */
.header--overlay {
  background-color: transparent;
}

.header--overlay.scrolled {
  background-color: var(--bg-primary);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.header.scrolled .brand-logo-img {
  height: 52px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background-color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.55rem 0.55rem 2.2rem;
  box-shadow: 0 6px 22px rgba(11, 16, 33, 0.08);
  border: 1px solid rgba(26, 26, 26, 0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-orange);
}

.nav-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-quote-btn:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.35);
}

.nav-quote-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-quote-btn:hover .nav-quote-arrow {
  transform: translateX(3px);
}

/* Company-profile download button (secondary action in the nav pill) */
.nav-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  border: 1.5px solid rgba(26, 26, 26, 0.16);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-profile-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nav-profile-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background-color: rgba(243, 111, 33, 0.07);
  transform: translateY(-1px);
}

.nav-profile-btn:hover .nav-profile-icon {
  transform: translateY(2px);
}

.nav-search-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background-color: #FFFFFF;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(11, 16, 33, 0.08);
  transition: var(--transition);
}

.nav-search-btn:hover {
  color: var(--color-orange);
  transform: translateY(-1px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* --- About Us nav dropdown --- */
.nav-links li.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 186px;
  background-color: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 18px 40px rgba(11, 16, 33, 0.14);
  padding: 0.55rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}

/* invisible hover bridge so the menu survives the gap under the link */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.5rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-dropdown-link:hover {
  color: var(--color-orange);
  background-color: rgba(243, 111, 33, 0.07);
}

.nav-dropdown-link.is-current {
  color: var(--color-orange);
  background-color: rgba(243, 111, 33, 0.1);
}

@media (max-width: 768px) {
  /* Inside the mobile drawer the dropdown renders as a static sub-list. */
  .nav-links li.has-dropdown:hover .nav-dropdown,
  .nav-links li.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-left: 2px solid rgba(243, 111, 33, 0.35);
    border-radius: 0;
    margin: 0.35rem 0 0 0.9rem;
    padding: 0.15rem 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-link {
    padding: 0.4rem 0.9rem;
  }
}

/* ============================================================
   OVERVIEW PAGE (overview.html)
   ============================================================ */
.ov-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-orange);
}

.ov-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background-color: var(--color-orange);
}

.ov-kicker--dash {
  margin-bottom: 1rem;
}

/* --- Hero --- */
.ov-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #101B33;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
}

.ov-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.ov-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 18, 34, 0.86) 0%, rgba(13, 18, 34, 0.62) 45%, rgba(13, 18, 34, 0.28) 80%);
}

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

.ov-hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
}

.ov-hero-title em {
  font-style: normal;
  color: var(--color-orange);
}

.ov-hero-sub {
  margin-top: 1.3rem;
  max-width: 440px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* --- Breadcrumb --- */
.ov-crumbs {
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
  padding: 0.95rem 0;
}

.ov-crumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.ov-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

a.ov-crumb:hover {
  color: var(--color-orange);
}

.ov-crumb.is-current {
  color: var(--color-orange);
  font-weight: 600;
}

.ov-crumb-sep {
  color: rgba(26, 26, 26, 0.35);
}

/* --- Overview intro (copy + media card) --- */
.ov-intro {
  padding: 4.6rem 0 3.6rem;
}

.ov-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 4rem;
  align-items: center;
}

.ov-intro-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.ov-intro-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-secondary);
  max-width: 52ch;
}

.ov-intro-media {
  position: relative;
}

.ov-intro-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
}

.ov-facts {
  position: absolute;
  left: -4.5rem;
  bottom: 2.2rem;
  width: 250px;
  background-color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(20, 16, 10, 0.16);
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: 1.15rem;
}

.ov-fact {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ov-fact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(243, 111, 33, 0.1);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ov-fact-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.ov-fact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* --- Three pillars --- */
.ov-pillars {
  padding: 1.2rem 0 5rem;
}

.ov-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.ov-pillar {
  background-color: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 16, 10, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ov-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(20, 16, 10, 0.14);
}

.ov-pillar-media {
  position: relative;
}

.ov-pillar-img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.ov-pillar-body {
  position: relative;
  padding: 2.6rem 1.7rem 1.9rem;
}

.ov-pillar-icon {
  position: absolute;
  top: -26px;
  left: 1.7rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(243, 111, 33, 0.1);
  border: 2px solid #FFFFFF;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ov-pillar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
}

.ov-pillar-dash {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
  margin: 0.6rem 0 0.9rem;
}

.ov-pillar-text {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--color-secondary);
}

/* --- Commitment band --- */
.ov-commit {
  position: relative;
  overflow: hidden;
  background-color: #101B33;
  padding: 5rem 0;
}

.ov-commit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.ov-commit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 18, 34, 0.92) 0%, rgba(13, 18, 34, 0.55) 55%, rgba(13, 18, 34, 0.3) 100%);
}

.ov-commit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.ov-commit-title {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  color: #FFFFFF;
}

.ov-commit-title em {
  font-style: normal;
  color: var(--color-orange);
}

.ov-commit-text {
  margin-top: 1.3rem;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

.ov-commit-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.ov-commit-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.ov-commit-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 111, 33, 0.6);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(243, 111, 33, 0.08);
}

.ov-commit-item strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
}

.ov-commit-item span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

/* --- Overview responsive --- */
@media (max-width: 1080px) {
  .ov-facts {
    left: 1.2rem;
  }
}

@media (max-width: 960px) {
  .ov-intro-grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .ov-intro-media {
    max-width: 560px;
  }

  .ov-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .ov-commit-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
}

@media (max-width: 640px) {
  .ov-hero {
    min-height: 380px;
  }

  .ov-intro {
    padding: 3.4rem 0 2.6rem;
  }

  .ov-intro-img {
    height: 320px;
  }

  .ov-facts {
    width: min(250px, calc(100% - 2rem));
    bottom: 1.2rem;
  }

  .ov-commit {
    padding: 3.6rem 0;
  }
}

/* ============================================================
   VISION & MISSION PAGE (vision-mission.html)
   ============================================================ */
.vm-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #101B33;
  padding: calc(var(--header-h) + 2.4rem) 0 3.4rem;
}

.vm-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.vm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 18, 34, 0.86) 0%, rgba(13, 18, 34, 0.6) 45%, rgba(13, 18, 34, 0.26) 80%);
}

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

.vm-hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
}

.vm-hero-title em {
  font-style: normal;
  color: var(--color-orange);
}

.vm-hero-sub {
  margin-top: 1.2rem;
  max-width: 430px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* --- Vision / Mission panels --- */
.vm-panel {
  position: relative;
  overflow: hidden;
  padding: 4.4rem 0;
}

.vm-panel--vision {
  background-color: #FFFFFF;
}

.vm-panel--mission {
  background-color: #F7F6F2;
}

/* faint blueprint grid on the vision half, dot grain on the mission half */
.vm-panel--vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background-image: linear-gradient(rgba(16, 27, 51, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 27, 51, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.vm-panel--mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 27, 51, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 65%);
  pointer-events: none;
}

.vm-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 3.6rem;
  align-items: center;
}

.vm-grid--flip {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.vm-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background-color: rgba(243, 111, 33, 0.11);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vm-kicker {
  display: flex;
  margin-bottom: 0.9rem;
}

.vm-title {
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.vm-title--sm {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.vm-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-secondary);
  max-width: 54ch;
}

.vm-text--sm {
  font-size: 0.95rem;
}

.vm-media {
  margin: 0;
}

.vm-img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(20, 16, 10, 0.12);
}

.vm-img--mission {
  height: 360px;
  /* the two WASCO crew stand right of centre in this photo (as on the homepage
     hero), and the box is portrait-ish here, so bias the crop to the right. */
  object-position: 62% 50%;
}

/* --- Guiding principles --- */
.vm-principles {
  padding: 4.6rem 0 5rem;
  background-color: #FFFFFF;
}

.vm-principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2.05fr);
  gap: 3.4rem;
  align-items: center;
}

.vm-principles-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.05rem;
}

.vm-card {
  background-color: #FBFAF8;
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: 14px;
  padding: 1.7rem 1.15rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  border-color: rgba(243, 111, 33, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 16, 10, 0.09);
}

.vm-card-icon {
  display: inline-flex;
  color: var(--color-orange);
}

.vm-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0.85rem 0 0.45rem;
}

.vm-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-secondary);
}

/* shared commitment band (used by overview + vision & mission) sits above its overlay */
.ov-commit-copy {
  position: relative;
  z-index: 1;
}

/* --- Vision & Mission responsive --- */
@media (max-width: 1024px) {
  .vm-principles-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

@media (max-width: 960px) {
  .vm-grid,
  .vm-grid--flip {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .vm-grid--flip .vm-media {
    order: 2;
  }

  .vm-media {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  .vm-principles-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vm-hero {
    min-height: 380px;
  }

  .vm-panel {
    padding: 3.2rem 0;
  }

  .vm-img {
    height: 300px;
  }

  .vm-img--mission {
    height: 280px;
  }

  .vm-principles {
    padding: 3.4rem 0 3.6rem;
  }
}

/* ============================================================
   WHY CHOOSE US PAGE (why-choose-us.html)
   ============================================================ */
/* --- Our strength: copy + three divided stats --- */
.wc-strength {
  position: relative;
  padding: 4.4rem 0 2.6rem;
  background-color: #FFFFFF;
  overflow: hidden;
}

/* faint diagonal texture behind the copy, like the mockup */
.wc-strength::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 62%;
  background-image: repeating-linear-gradient(135deg, rgba(16, 27, 51, 0.05) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 80%);
  pointer-events: none;
}

.wc-strength-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3.4rem;
  align-items: center;
}

.wc-title-lg {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.wc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.wc-stat {
  padding: 0.4rem 1.6rem;
  border-left: 1px solid rgba(26, 26, 26, 0.1);
}

.wc-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.wc-stat-icon {
  display: inline-flex;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.wc-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
}

.wc-stat-label {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-secondary);
}

/* --- Six reason cards: copy left, photo right --- */
.wc-features {
  padding: 0 0 4.6rem;
  background-color: #FFFFFF;
}

.wc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wc-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background-color: #FFFFFF;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(20, 16, 10, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(20, 16, 10, 0.13);
}

.wc-card-body {
  padding: 1.5rem 1.35rem 1.4rem;
}

.wc-card-icon {
  display: inline-flex;
  color: var(--color-orange);
}

.wc-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--color-primary);
  margin: 0.8rem 0 0.55rem;
}

.wc-card-dash {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.wc-card-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-secondary);
  /* reserve four lines so every card in the grid matches height */
  min-height: calc(4 * 1.45rem);
}

.wc-card-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

/* --- Our value band: navy copy + angled photo --- */
.wc-value {
  position: relative;
  background-color: #101B33;
  overflow: hidden;
  padding: 4.6rem 0;
}

.wc-value-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  -webkit-clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.wc-value-inner {
  position: relative;
  z-index: 1;
}

.wc-value-copy {
  max-width: 520px;
}

.wc-value-title {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
}

.wc-value-title em {
  font-style: normal;
  color: var(--color-orange);
}

.wc-value-text {
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

.wc-value-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-value-btn:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(243, 111, 33, 0.35);
}

/* --- Industries we support --- */
.wc-industries {
  padding: 4.6rem 0 5rem;
  background-color: #FFFFFF;
}

.wc-industries-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr);
  gap: 3.2rem;
  align-items: center;
}

.wc-industries-head .vm-title em {
  font-style: normal;
  color: var(--color-orange);
}

.wc-industry-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.wc-industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.4rem 0.6rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-industry:hover {
  border-color: rgba(243, 111, 33, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 16, 10, 0.09);
}

.wc-industry svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.wc-industry span {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

/* --- Why Choose Us responsive --- */
@media (max-width: 1180px) {
  .wc-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .wc-industry-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .wc-strength-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .wc-value {
    padding: 3.6rem 0 0;
  }

  .wc-value-bg {
    position: relative;
    width: 100%;
    height: 260px;
    margin-top: 2.6rem;
    -webkit-clip-path: none;
    clip-path: none;
  }

  .wc-value-copy {
    max-width: none;
  }

  .wc-industries-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
}

@media (max-width: 820px) {
  .wc-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wc-strength {
    padding: 3.4rem 0 2rem;
  }

  .wc-stats {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .wc-stat {
    border-left: 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    padding: 1.2rem 0 0;
  }

  .wc-stat:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .wc-features {
    padding-bottom: 3.4rem;
  }

  .wc-card {
    grid-template-columns: 1fr;
  }

  .wc-card-img {
    min-height: 190px;
    order: -1;
  }

  .wc-industry-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .wc-industries {
    padding: 3.4rem 0 3.8rem;
  }
}

/* ============================================================
   CHAIRMAN'S MESSAGE PAGE (chairmans-message.html)
   ============================================================ */
.cm-main {
  padding: 2.6rem 0 4rem;
  background-color: var(--bg-primary);
}

/* wider content column so the letter matches the mockup proportions */
.cm-main .container,
.cm-values-wrap .container {
  width: 92%;
  max-width: 1440px;
}

/* banner sized like the mockup (was min-height 430 + heavy padding) */
.cm-hero {
  min-height: 0;
  padding: calc(var(--header-h) + 1.2rem) 0 2rem;
}

.cm-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

/* short orange rule used in several places on this page */
.cm-dash {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.cm-dash--top {
  margin-bottom: 1.4rem;
}

/* --- Portrait card --- */
.cm-profile {
  background-color: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(20, 16, 10, 0.1);
}

.cm-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 425;
  object-fit: cover;
  object-position: center 30%;
}

.cm-profile-foot {
  padding: 1.3rem 1.4rem 1.5rem;
}

.cm-profile-foot .cm-dash {
  margin-bottom: 0.9rem;
}

.cm-profile-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
}

.cm-profile-role {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* --- Letter --- */
.cm-salutation {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.cm-p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.cm-p--sincerely {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* the handwritten-looking signature, drawn in the site's script font */
.cm-sign {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  line-height: 1;
  color: #16233F;
  margin-bottom: 0.7rem;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.cm-sign-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.cm-sign-role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* --- Pull quote card --- */
.cm-quote {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background-color: #F8F3EC;
  box-shadow: 0 16px 38px rgba(20, 16, 10, 0.08);
}

.cm-quote-body {
  padding: 2.2rem 1.9rem 1.8rem;
  background: linear-gradient(180deg, #FCF8F3 0%, #F6EFE6 100%);
  flex: 1;
}

.cm-quote-mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.4rem;
  line-height: 0.7;
  color: rgba(243, 111, 33, 0.28);
  margin-bottom: 0.9rem;
}

.cm-quote-text {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.45;
  color: #16233F;
}

.cm-quote-text em {
  font-style: normal;
  color: var(--color-orange);
}

.cm-quote-body .cm-dash {
  margin-top: 1.5rem;
}

.cm-quote-img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 60%;
}

/* --- Values bar --- */
.cm-values-wrap {
  padding: 0 0 4.4rem;
  background-color: var(--bg-primary);
}

.cm-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background-color: #101B33;
  border-radius: 18px;
  padding: 1.9rem 1.4rem;
}

.cm-value {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0 1.3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.cm-value:first-child {
  border-left: 0;
  padding-left: 0.2rem;
}

.cm-value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 111, 33, 0.6);
  background-color: rgba(243, 111, 33, 0.08);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cm-value strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
}

.cm-value span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.83rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* --- Chairman's Message responsive --- */
@media (max-width: 1180px) {
  .cm-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  }

  .cm-quote {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .cm-quote-img {
    width: 38%;
    height: auto;
    min-height: 220px;
  }

  .cm-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 0;
  }

  .cm-value:nth-child(3) {
    border-left: 0;
    padding-left: 0.2rem;
  }
}

@media (max-width: 860px) {
  .cm-grid {
    grid-template-columns: 1fr;
  }

  .cm-quote {
    flex-direction: column;
  }

  .cm-quote-img {
    width: 100%;
    height: 200px;
    min-height: 0;
  }

  .cm-portrait {
    height: 320px;
  }

  .cm-values {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cm-value {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.1rem 0 0;
  }

  .cm-value:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .cm-main {
    padding: 2.8rem 0 3rem;
  }

  .cm-values-wrap {
    padding-bottom: 3.4rem;
  }

  .cm-values {
    padding: 1.5rem 1.3rem;
  }

  .cm-sign {
    font-size: 2.1rem;
  }
}

/* --- Section 1: Hero (v2) - Full-bleed Cinematic Hero --- */
.hero-v2 {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-primary);
}

.hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-v2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 28%;
}

.hero-v2-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 253, 245, 0.6) 0%,
    rgba(255, 253, 245, 0.42) 32%,
    rgba(255, 251, 242, 0.18) 55%,
    rgba(255, 253, 245, 0) 78%);
}

.hero-v2-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(255, 253, 245, 0.7) 0%,
    rgba(255, 253, 245, 0) 26%);
}

.hero-v2-curve {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.hero-v2 .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px);
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 30px) 0 180px;
}

.hero-v2 .hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  margin-bottom: 1.5rem;
}

.hero-v2-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 1.7rem;
}

.hero-v2-kicker::before {
  content: '';
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-orange) 0%, rgba(243, 111, 33, 0.25) 100%);
}

.hero-v2-script {
  position: absolute;
  z-index: 4;
  top: 15%;
  right: 23%;
  font-family: 'Caveat', cursive;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.02;
  color: #262626;
  transform: rotate(-5deg);
  pointer-events: none;
}

.hero-v2-script-underline {
  display: block;
  width: 92px;
  height: 5px;
  margin: 0.5rem 0 0 1.4rem;
  border-radius: 3px;
  background: var(--color-orange);
  transform: rotate(-4deg);
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 1.4rem;
}

.hero-title-accent {
  color: var(--color-orange);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 2.1rem;
  max-width: 560px;
}

/* --- Hero Action Buttons --- */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.btn-navy {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.25);
}

.btn-navy:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 26, 26, 0.3);
}

.btn-ghost {
  background-color: #FFFFFF;
  color: var(--color-primary);
  border: 1.5px solid rgba(26, 26, 26, 0.16);
}

.btn-ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Hero Proof Row (avatars + stat) --- */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.hero-avatars {
  display: flex;
}

.hero-avatars img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.hero-avatars img + img {
  margin-left: -14px;
}

.hero-proof-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1.1;
}

.hero-proof-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

/* --- Hero (v2) Floating Feature Cards --- */
.hero-v2-cards {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 264px;
}

.hero-v2-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.16);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-v2-card:hover {
  transform: translateX(-6px);
  box-shadow: 0 20px 44px rgba(20, 20, 20, 0.22);
}

.hero-v2-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-orange);
  border-radius: 12px;
  color: var(--color-orange);
  background-color: #FFFFFF;
}

.hero-v2-card-title {
  display: block;
  font-size: 0.93rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.28;
}

.hero-v2-card-text {
  display: block;
  font-size: 0.78rem;
  color: #555555;
  line-height: 1.45;
}

/* --- Hero (v2) Trusted Strip --- */
.hero-v2-trust {
  margin-top: 3rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--color-orange);
}

.hero-v2-trust-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 0.4rem;
}

.hero-v2-trust-text {
  font-size: 0.94rem;
  color: #555555;
  line-height: 1.6;
  max-width: 470px;
}

/* --- Hero (v2) Main Clients Card — projects over the hero/services seam --- */
.main-clients-card {
  position: relative;
  z-index: 7;
  margin-top: -104px;
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 1.7rem 1.9rem 1.9rem;
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.16);
}

.main-clients-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.mc-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #22304A;
}

.mc-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.mc-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  color: #22304A;
  line-height: 1.2;
}

.mc-title em {
  font-style: normal;
  color: var(--color-orange);
}

.mc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  background-color: var(--color-orange);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(243, 111, 33, 0.42);
  color: #FFFFFF;
}

.mc-cta-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.mc-cta:hover .mc-cta-arrow {
  transform: translateX(3px);
}

.main-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.mc-card {
  background: linear-gradient(180deg, #FFF7F1 0%, #FFFFFF 62%);
  border: 1px solid rgba(243, 111, 33, 0.45);
  border-radius: 14px;
  padding: 0.95rem 0.6rem 0.9rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mc-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 14px 30px rgba(243, 111, 33, 0.22);
}

.mc-card-img {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.mc-card-img img {
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
}

.mc-card-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #22304A;
  line-height: 1.25;
}

.mc-card-sub {
  font-size: 0.66rem;
  color: #6B7482;
  line-height: 1.4;
  margin-top: 0.22rem;
}

.text-center {
  text-align: center;
}

/* --- Section 3: Why Industry Leaders Trust WASCO (v2) --- */
.trust-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26%;
  height: 100%;
  background: repeating-linear-gradient(115deg, rgba(26, 26, 26, 0.028) 0 2px, transparent 2px 120px);
  pointer-events: none;
}

.trust-section::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -40px;
  width: 420px;
  height: 200px;
  background-image: radial-gradient(rgba(120, 130, 150, 0.3) 1.6px, transparent 1.6px);
  background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 40% 55%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at 40% 55%, #000 35%, transparent 75%);
  pointer-events: none;
}

.trust-header {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.trust-kicker {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #3F4553;
}

.trust-kicker::before,
.trust-kicker::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-orange);
}

.trust-header h2 {
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-primary);
}

.trust-header h2 em {
  font-style: normal;
  color: var(--color-orange);
}

.trust-sub {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #565E6E;
}

.trust-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0 auto 2.6rem;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 2.6rem;
  border-right: 1px solid rgba(26, 26, 26, 0.14);
}

.trust-stat:first-child {
  padding-left: 0;
}

.trust-stat:last-child {
  border-right: 0;
}

.trust-stat svg {
  width: 32px;
  height: 32px;
  color: var(--color-orange);
  flex: 0 0 auto;
}

.trust-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
}

.trust-stat span {
  font-size: 0.8rem;
  color: #5A6170;
}

/* --- banner --- */
.trust-banner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-banner-inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(20, 16, 10, 0.25);
  padding-bottom: 6.2rem;
}

.trust-banner-img {
  display: block;
  width: 100%;
  /* source photo is 3:2 (1536x1024): heads start at ~12% of its height and the
     handshake sits at ~63-75%, so the band must stay close to 2:1 or one of the
     two gets cut out of frame. object-position then lifts the crop off the top. */
  height: clamp(340px, 46vw, 590px);
  object-fit: cover;
  object-position: 50% 28%;
}

/* navy corner panel, bottom-left */
.trust-panel-navy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 15.5%;
  background: linear-gradient(160deg, #232E45 0%, #1B2538 55%, #16203200 130%), #1C2639;
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2rem 8rem 2rem;
}

.trust-panel-navy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 18%;
  width: 10px;
  background: linear-gradient(180deg, var(--color-orange) 0%, rgba(243, 111, 33, 0) 85%);
  transform: skewX(-14deg);
}

.trust-navy-logo {
  width: 128px;
  align-self: flex-start;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.trust-navy-label {
  color: #E9EDF5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 2;
  text-transform: uppercase;
}

.trust-navy-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-orange);
  margin-bottom: 0.7rem;
}

/* orange corner panel, bottom-right */
.trust-panel-orange {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 14%;
  background: linear-gradient(200deg, #F88F3D 0%, #F36F21 55%, #E05E12 100%);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.6rem 1.8rem 7.5rem 2.4rem;
}

.trust-orange-script {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.02;
  color: #fff;
  transform: rotate(-7deg);
  text-align: left;
  margin-top: 7.5rem;
  text-shadow: 0 2px 10px rgba(150, 55, 0, 0.35);
}

.trust-orange-script svg {
  display: block;
  margin: 0.4rem 0 0 1rem;
}

.trust-right-label {
  position: absolute;
  z-index: 3;
  top: 2rem;
  right: 2rem;
  color: #F4EFE6;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.trust-right-label::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-orange);
  margin-top: 0.7rem;
}

/* feature cards overlapping the banner bottom */
.trust-cards {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1240px;
  margin: -5.4rem auto 0;
  padding: 0 1.5rem;
}

.trust-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(26, 26, 26, 0.05);
  border-radius: 16px;
  padding: 1.35rem 1.3rem 1.4rem;
  text-align: left;
  box-shadow: 0 18px 40px rgba(30, 25, 18, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(243, 111, 33, 0.18);
}

.trust-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 26px;
  width: 44px;
  height: 8px;
  border-radius: 4px 4px 0 0;
  background: rgba(243, 111, 33, 0.85);
}

.trust-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: #FDEBDD;
  color: var(--color-orange);
}

.trust-card-icon svg {
  width: 26px;
  height: 26px;
}

.trust-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--color-secondary);
}

/* bottom row */
.trust-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 2.6rem auto 0;
  padding: 0 1.5rem;
}

.trust-foot-label {
  display: flex;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
  color: #3F4553;
}

.trust-foot-label::before {
  content: "";
  width: 3px;
  border-radius: 2px;
  background: var(--color-orange);
}

.trust-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(243, 111, 33, 0.4);
  transition: all 0.25s ease;
}

.trust-cta:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
}

.trust-tags {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #565E6E;
}

.trust-tags span + span::before {
  content: "|";
  margin: 0 1.1rem;
  color: rgba(26, 26, 26, 0.25);
  font-weight: 400;
}

/* --- responsive --- */
@media (max-width: 1180px) {
  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -3.5rem;
  }

  .trust-panel-navy {
    padding-bottom: 7.5rem;
  }
}

@media (max-width: 900px) {
  .trust-panel-navy .trust-navy-label,
  .trust-panel-orange .trust-orange-script svg {
    display: none;
  }

  .trust-panel-orange {
    width: 18%;
    padding-bottom: 9rem;
  }

  .trust-orange-script {
    margin-top: 10rem;
  }
}

@media (max-width: 860px) {
  .trust-stats {
    flex-wrap: wrap;
    gap: 1.1rem 0;
  }

  .trust-stat {
    padding: 0 1.6rem;
  }

  .trust-banner-inner {
    padding-bottom: 0;
  }

  .trust-banner-img {
    height: clamp(280px, 42vw, 400px);
  }

  .trust-panel-navy {
    width: 30%;
  }

  .trust-navy-logo {
    width: 92px;
  }

  .trust-panel-orange {
    display: none;
  }

  .trust-right-label {
    display: none;
  }

  .trust-cards {
    margin-top: 1.6rem;
  }

  .trust-foot {
    flex-direction: column;
    text-align: center;
  }

  .trust-tags {
    display: none;
  }
}

/* --- Section 5: Clients & Partners Section --- */
.clients-section {
  padding: 4rem 0 5rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Section 6: Let's Build Together CTA Section --- */
.cta-build-section {
  padding: 4rem 0 6rem;
}

.cta-build-panel {
  background-color: #0B1021;
  border-radius: 28px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(11, 16, 33, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 480px;
}

/* soft orange glow decoration top-left of the panel */
.cta-build-panel::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 111, 33, 0.2) 0%, rgba(243, 111, 33, 0) 70%);
  pointer-events: none;
  z-index: 3;
}

/* right-side photo bleeding into the panel, cut at an angle */
.cta-build-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  z-index: 1;
}

.cta-build-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* navy gradient behind the angled edge so text stays readable */
.cta-build-media-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(11, 16, 33, 0.95) 0%, rgba(11, 16, 33, 0.3) 30%, rgba(11, 16, 33, 0) 55%);
  pointer-events: none;
}

/* thin orange seam highlight along the angled edge */
.cta-build-media-accent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--color-orange);
  transform: skewX(14.7deg);
  transform-origin: top left;
  opacity: 0.95;
  pointer-events: none;
}

.cta-build-content {
  position: relative;
  z-index: 4;
  width: 46%;
  padding: 4.5rem;
  align-self: center;
}

.cta-build-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1.1rem;
}

.cta-build-title {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.cta-build-title-accent {
  color: var(--color-orange);
}

.cta-build-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 470px;
}

@media (max-width: 1024px) {
  .cta-build-panel {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-build-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8.5;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }

  .cta-build-content {
    width: 100%;
    padding: 3rem;
    align-self: auto;
  }
}

@media (max-width: 640px) {
  .cta-build-section {
    padding: 3rem 0 4.5rem;
  }

  .cta-build-panel {
    border-radius: 22px;
  }

  .cta-build-media {
    aspect-ratio: 16 / 9;
  }

  .cta-build-content {
    padding: 2.4rem 1.6rem;
  }

  .cta-build-title {
    font-size: 1.6rem;
  }
}

/* --- Section 7: Footer (redesign: cream CTA band + dark navy footer) --- */
.ft-cta {
  position: relative;
  background: linear-gradient(180deg, #FDFBF6 0%, #FBF6EC 100%);
  overflow: hidden;
}

.ft-cta-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 5.5rem 0 5rem;
  position: relative;
  z-index: 1;
}

.ft-cta-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  z-index: 0;
}

.ft-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ft-cta-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #22304A;
}

.ft-cta-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--color-orange);
}

.ft-cta-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #16233B;
  line-height: 1.15;
  margin: 0.6rem 0 0.5rem;
}

.ft-cta-title em {
  font-style: normal;
  color: var(--color-orange);
}

.ft-cta-sub {
  color: #5A6472;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 560px;
}

.ft-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.ft-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-orange);
  color: #FFFFFF;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font: 700 1rem var(--font-main);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.ft-cta-btn:hover {
  background: #16233B;
  transform: translateY(-2px);
}

.ft-cta-perks {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(22, 35, 59, 0.18);
}

.ft-perk {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #3E4A5C;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.ft-perk svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.ft-cta-tags {
  position: absolute;
  top: 2.4rem;
  right: 2.2rem;
  z-index: 1;
  text-align: right;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #22304A;
  line-height: 1.95;
}

.ft-cta-tags::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-orange);
  margin: 0.55rem 0 0 auto;
}

.footer {
  position: relative;
  background: #16233B;
  color: #E7ECF4;
  overflow: hidden;
}

/* faint dotted world map, bottom-right */
.footer::before {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 90px;
  width: 420px;
  height: 240px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.1px, transparent 1.1px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 72%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 1.25fr 1.05fr 1.55fr;
  gap: 2.4rem;
  padding: 3.6rem 0 2.6rem;
}

.footer-brand {
  position: relative;
  padding-right: 2rem;
}

.footer-brand::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0;
  bottom: 0.4rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.footer-logo-img {
  height: 92px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0.9rem;
}

.ft-arabic {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.15rem;
}

.ft-brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 0.8rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.4px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.ft-brand-tags {
  margin-top: 2rem;
  border-left: 2px solid var(--color-orange);
  padding-left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2.05;
}

.footer-col-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.15rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 26px;
  height: 2px;
  background-color: var(--color-orange);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link::before {
  content: "›";
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  line-height: 1;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-orange);
}

.footer-link:hover::before {
  color: var(--color-orange);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.contact-info-item strong {
  display: none;
}

.contact-info-item span {
  display: block;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-item a:hover {
  color: var(--color-orange);
}

.ft-ci-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ft-ci-icon svg {
  width: 20px;
  height: 20px;
}

.ft-ci-icon--phone svg {
  stroke: #FFFFFF;
}

.ft-ci-icon--wa svg {
  fill: #25D366;
}

.ft-ci-icon--mail svg {
  stroke: #FFFFFF;
}

.ft-ci-icon--web svg {
  stroke: #FFFFFF;
}

.ft-vendor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
}

.ft-vendor strong {
  color: var(--color-orange);
  font-weight: 800;
}

.ft-vendor-badge {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #1A6FB5, #7FC24A);
  flex-shrink: 0;
}

/* QR contact card */
.ft-qr-card {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 2rem;
  text-align: center;
}

.ft-qr-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #FFFFFF;
}

.ft-qr-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: 1.1rem;
}

.ft-qr-frame {
  display: inline-block;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 0.55rem;
  line-height: 0;
}

.ft-qr-frame img {
  width: 128px;
  height: 128px;
  display: block;
}

.ft-qr-caption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* address / fax strip + script wordmark */
.ft-loc-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.35rem 0 1.9rem;
  flex-wrap: wrap;
}

.ft-loc {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.ft-loc svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.ft-loc + .ft-loc {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 2.5rem;
}

.ft-script {
  position: absolute;
  right: 0.5rem;
  bottom: 1.4rem;
  z-index: 1;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.02;
  color: #FFFFFF;
  text-align: center;
  transform: rotate(-6deg);
  pointer-events: none;
}

.ft-script::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-orange);
  margin: 0.3rem auto 0;
  transform: rotate(3deg);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.ft-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.4rem;
  font-size: 0.85rem;
}

.ft-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
}

.ft-legal a:hover {
  color: var(--color-orange);
}

.ft-legal span:not(:last-child)::after {
  content: "|";
  margin: 0 0.9rem;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .ft-loc + .ft-loc {
    border-left: 0;
    padding-left: 0;
  }
}

/* --- Interactive Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 540px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-secondary);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

/* --- Quote Form Section --- */
.quote-form-section {
  padding: 4rem 0 6rem;
  background-color: var(--bg-primary);
}

.quote-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
}

.quote-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .quote-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .quote-form-container {
    padding: 2rem 1.5rem;
  }
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #D0D5DD;
  background-color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(239, 108, 45, 0.15);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: span 2;
  }

  .ft-cta-bg {
    opacity: 0.18;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ft-cta-tags {
    display: none;
  }

  .ft-qr-card {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.6rem;
    text-align: left;
  }

  .ft-script {
    display: none;
  }
}

/* Hero stacks below this width; above it the full desktop hero shows
   (the preview window is ~900px, so the desktop hero must survive there). */
@media (max-width: 860px) {
  .hero-v2 {
    min-height: 0;
  }

  .hero-v2-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: calc(var(--header-h) + 28px) 0 2.2rem;
  }

  .hero-v2-script {
    display: none;
  }

  .hero-v2-cards {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 1.4rem 1.6rem;
  }

  .hero-v2-card {
    flex: 1 1 44%;
  }

  .main-clients-card {
    margin-top: -70px;
    padding: 1.4rem 1.4rem 1.5rem;
  }

  .main-clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mc-cta {
    padding: 0.6rem 1.1rem;
    font-size: 0.78rem;
  }
}

/* The nav pill runs out of room before the mobile drawer kicks in:
   collapse the profile button to its icon and tighten the link spacing so the
   bar still fits above the 768px drawer breakpoint. */
@media (max-width: 1180px) {
  .nav-pill {
    gap: 1.1rem;
    padding-left: 1.6rem;
  }

  .nav-links {
    gap: 1.15rem;
  }

  .nav-profile-btn {
    padding: 0.62rem 0.72rem;
  }

  .nav-profile-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-pill {
    display: none;
  }

  .nav-search-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-pill.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-md);
    gap: 1.25rem;
    /* the menu is now long enough to outgrow a short phone screen */
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }

  .nav-pill.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
  .nav-pill.mobile-open .nav-quote-btn {
    display: inline-flex;
    justify-content: center;
  }

  .nav-pill.mobile-open .nav-profile-btn {
    display: inline-flex;
    justify-content: center;
  }

  .nav-pill.mobile-open .nav-profile-text {
    display: inline;
  }

  .who-pillars {
    grid-template-columns: 1fr;
  }

  .client-logos-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-mosaic {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand::after {
    display: none;
  }

  .ft-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .ft-cta-perks {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-v2-card {
    flex: 1 1 100%;
  }

  .hero-v2-cards {
    padding: 0 1rem 1.2rem;
  }

  .main-clients-card {
    margin-top: -56px;
    padding: 1.15rem 1rem 1.25rem;
    border-radius: 18px;
  }

  .main-clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-v2-grid {
    padding-bottom: 1.6rem;
  }

}

/* ==========================================================================
   Our Industrial Services - Mockup v2 (photo-top cards, numbers, side cell)
   ========================================================================== */
.services-grid-section {
  position: relative;
  padding: 4rem 0 5.5rem;
  background-color: var(--bg-primary);
}

.services-grid-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.svc-header-left .svc-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 0.7rem;
}

.svc-kicker::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.services-grid-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.services-grid-subtitle {
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Right-side motto: three dots + stacked caption */
.svc-header-right {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding-top: 0.4rem;
  flex-shrink: 0;
}

.svc-motto-dots {
  display: flex;
  gap: 0.45rem;
  padding-top: 0.5rem;
}

.svc-motto-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-orange);
}

.svc-motto-dots span:nth-child(2) {
  opacity: 0.65;
}

.svc-motto-dots span:nth-child(3) {
  opacity: 0.35;
}

.svc-motto-text {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.7;
}

.svc-motto-text em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #8A8A8A;
  margin-top: 0.8rem;
  line-height: 1.7;
}

/* --- Card grid: 3 columns, 6th cell is the feature/decorative cell --- */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* --- Service card: photo top with icon + number overlay, body below --- */
.svc-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(11, 16, 33, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(20, 20, 20, 0.14);
}

.svc-card-media {
  position: relative;
  height: 190px;
  flex-shrink: 0;
}

.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.svc-card:hover .svc-card-media img {
  transform: scale(1.05);
}

.svc-card-num {
  position: absolute;
  top: 0.9rem;
  right: 1.15rem;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.svc-card-icon {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(243, 111, 33, 0.4);
}

.svc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.6rem;
}

.svc-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.svc-card-title::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
  margin-top: 0.65rem;
}

.svc-card-text {
  font-size: 0.92rem;
  color: var(--color-secondary);
  line-height: 1.65;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  align-self: flex-start;
}

.svc-card-link-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.svc-card-link:hover .svc-card-link-arrow {
  transform: translateX(4px);
  background-color: var(--color-orange-hover);
}

/* --- 6th cell: refinery backdrop + quote kicker + 4-feature panel --- */
.svc-feature-cell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem;
  min-height: 380px;
  isolation: isolate;
}

.svc-feature-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.svc-feature-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.svc-feature-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(255, 253, 245, 0.55) 0%,
    rgba(255, 253, 245, 0.12) 55%,
    rgba(255, 253, 245, 0) 100%);
}

.svc-feature-quote {
  display: flex;
  gap: 0.9rem;
}

.svc-feature-quote-bar {
  width: 4px;
  height: 54px;
  border-radius: 2px;
  background-color: var(--color-orange);
  flex-shrink: 0;
}

.svc-feature-quote-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.8;
}

.svc-feature-panel {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 1.3rem 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.1);
}

.svc-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.svc-feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-orange);
}

.svc-feature-item span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .services-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .services-grid-header {
    flex-direction: column;
    gap: 1.6rem;
  }

  .svc-header-right {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .services-card-grid {
    grid-template-columns: 1fr;
  }

  .svc-card-media {
    height: 210px;
  }
}

/* ============================================================
   REPUTATION SECTION
   ============================================================ */
/* ============================================================
   OUR STORY — full-bleed split hero with slanted photo edge
   ============================================================ */
.story-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 4.6rem 0;
  margin-top: 1.5rem;
  background-color: #FFF9EF;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(26, 26, 26, 0.03) 0 2px, transparent 2px 110px);
  pointer-events: none;
}

.story-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 57%;
}

.story-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(205deg, #FCD9B8 0%, #F79A4D 45%, #F36F21 100%);
  clip-path: polygon(10.8% 0, 100% 0, 100% 100%, -2% 100%);
}

.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.story-lines,
.story-lines::after {
  content: "";
  position: absolute;
  top: -6%;
  bottom: -6%;
  width: 2px;
  background: rgba(26, 26, 26, 0.16);
  transform: skewX(-13deg);
  pointer-events: none;
}

.story-lines {
  right: 56%;
  z-index: 1;
}

.story-lines::after {
  top: 0;
  bottom: 0;
  right: -34px;
  background: rgba(243, 111, 33, 0.45);
}

.story-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-left: max(1.5rem, calc((100% - 1280px) / 2));
  padding-right: 2rem;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3F4553;
}

.story-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange);
}

.story-title {
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--color-primary);
}

.story-title em {
  font-style: normal;
  color: var(--color-orange);
}

.story-text {
  max-width: 540px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-secondary);
  margin-bottom: 1.9rem;
}

.story-btn {
  margin-bottom: 2.5rem;
}

.story-stats {
  display: flex;
  align-items: center;
}

.story-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1.6rem;
  margin-right: 1.6rem;
  border-right: 1px solid rgba(26, 26, 26, 0.14);
}

.story-stat:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.story-stat svg {
  width: 30px;
  height: 30px;
  color: var(--color-orange);
  flex: 0 0 auto;
}

.story-stat strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
}

.story-stat span {
  font-size: 0.78rem;
  color: #5A6170;
}

.story-script {
  position: absolute;
  z-index: 3;
  top: 9%;
  right: 4.5%;
  font-family: 'Caveat', cursive;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
  color: #20304C;
  transform: rotate(-8deg);
  pointer-events: none;
}

.story-script svg {
  display: block;
  margin: 0.4rem 0 0 1.2rem;
}

.story-side-label {
  position: absolute;
  z-index: 3;
  right: 3rem;
  bottom: 3rem;
  display: flex;
  gap: 0.8rem;
  color: #F4EFE6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.story-side-label::before {
  content: "";
  width: 3px;
  background: var(--color-orange);
  border-radius: 2px;
}

@media (max-width: 1180px) {
  .story-script {
    right: 2rem;
  }
}

@media (max-width: 1024px) {
  .story-section {
    display: block;
    padding: 3.6rem 0 0;
  }

  .story-content {
    max-width: 640px;
    margin-left: max(1.5rem, calc((100% - 1280px) / 2));
    padding-right: 1.5rem;
  }

  .story-media {
    position: relative;
    width: 100%;
    height: 340px;
    margin-top: 2.6rem;
  }

  .story-media::before,
  .story-lines {
    display: none;
  }

  .story-media img {
    clip-path: none;
  }

  .story-script {
    top: 1rem;
  }

  .story-side-label {
    bottom: 1.4rem;
    right: 1.6rem;
  }
}

@media (max-width: 640px) {
  .story-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .story-stat {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .story-title br {
    display: none;
  }
}

/* ============================================================
   WHO WE ARE SECTION — video card + pillars
   ============================================================ */
.who-section {
  position: relative;
  padding: 5rem 0 5.6rem;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.who-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 55% at 88% 28%, rgba(252, 213, 166, 0.4), transparent 70%);
  pointer-events: none;
}

.who-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24%;
  background-image: url('images/gallery/refinery-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 75%);
  mask-image: linear-gradient(90deg, transparent, #000 75%);
  pointer-events: none;
}

.who-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.story-video {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 24px 54px rgba(30, 25, 18, 0.22);
}

.story-video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-video:hover > img {
  transform: scale(1.04);
}

.story-video-script {
  position: absolute;
  z-index: 2;
  top: 1.6rem;
  left: 1.8rem;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.02;
  color: #FFFFFF;
  transform: rotate(-6deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.story-video-script svg {
  display: block;
  margin-top: 0.35rem;
}

.story-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.story-play:hover {
  transform: scale(1.08);
}

.story-play svg {
  width: 26px;
  height: 26px;
  fill: var(--color-orange);
  margin-left: 4px;
}

.story-watch {
  position: absolute;
  z-index: 2;
  left: 1.8rem;
  bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.story-watch::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-orange);
}

.who-caption {
  position: absolute;
  z-index: 1;
  right: 3rem;
  bottom: 4.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 2;
  text-transform: uppercase;
  color: #3F4553;
}

.who-caption::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: var(--color-orange);
  margin-bottom: 0.6rem;
}

@media (max-width: 1180px) {
  .who-caption {
    display: none;
  }
}

@media (max-width: 1024px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
}

.who-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   WHO WE ARE SECTION — shared bits (kicker/title/pillars)
   ============================================================ */
.who-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3F4553;
  margin-bottom: 1rem;
}

.who-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange);
}

.who-title {
  font-size: clamp(1.85rem, 2.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

.who-text {
  font-size: 0.98rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.who-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 6px 18px rgba(11, 16, 33, 0.06);
  padding: 1.5rem 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 14px 30px rgba(243, 111, 33, 0.16);
}

.pillar-icon {
  color: var(--color-orange);
  margin-bottom: 1.1rem;
}

.pillar-icon svg {
  width: 34px;
  height: 34px;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}

.pillar-text {
  font-size: 0.84rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* --- About Hero Banner --- */
.about-hero {
  height: 540px;
  min-height: 62vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #8FB8D8;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 16, 33, 0.75) 0%, rgba(11, 16, 33, 0.45) 45%, rgba(11, 16, 33, 0.25) 75%);
}

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

.about-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.about-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
}

/* --- Our Story --- */
.about-story-section {
  padding: 4.5rem 0 3rem;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.about-kicker {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.about-story-title {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.22;
}

.about-story-text {
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: 1.75;
}

.about-story-tagline {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-orange);
}

/* --- Stats Row --- */
.about-stats-section {
  padding: 1.5rem 0 2.5rem;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.about-stat-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 14px 30px rgba(243, 111, 33, 0.16);
}

.about-stat-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: var(--color-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.about-stat-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.3;
}

/* --- Our Principles --- */
.about-principles-section {
  padding: 3rem 0 3.5rem;
}

.about-principles-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 2.2rem;
}

.principle-row {
  display: grid;
  grid-template-columns: 90px 220px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.principle-row:last-child {
  border-bottom: none;
}

.principle-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.principle-name {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1.15;
}

.principle-text {
  font-size: 1.02rem;
  color: var(--color-secondary);
  line-height: 1.65;
}

/* --- President Message --- */
.about-president-section {
  padding: 3rem 0 5rem;
}

.president-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.president-photo-wrap {
  position: relative;
  border-radius: 24px;
}

.president-photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 1;
}

.president-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: 24px;
  background-color: var(--color-orange);
  z-index: 0;
}

.president-kicker {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 1.4rem;
}

.president-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.president-quote-mark {
  color: var(--color-orange);
  font-size: 1.6rem;
  vertical-align: middle;
}

.president-quote {
  font-size: 1.02rem;
  color: var(--color-secondary);
  line-height: 1.75;
  max-width: 480px;
}

.president-divider {
  width: 64px;
  height: 3px;
  background-color: var(--color-orange);
  border: none;
  margin: 1.6rem 0 1.4rem;
}

.president-signature-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.8rem;
}

.president-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.president-role {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-top: 0.15rem;
}

/* --- About Page Responsive --- */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .principle-row {
    grid-template-columns: 60px 1fr;
    row-gap: 0.4rem;
  }

  .principle-text {
    grid-column: 2;
  }

  .president-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .president-photo {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    height: 440px;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat-card:nth-child(5) {
    grid-column: span 2;
  }
}

/* --- About Page: Overlay Nav (floats over hero, solid on scroll) --- */
.header-overlay {
  position: absolute;
  background-color: transparent;
  box-shadow: none;
}

.header-overlay.scrolled {
  position: fixed;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

/* ==================== INDUSTRIES PAGE ==================== */
/* Hero: bright banner with dark headline (no dark overlay) */
.ind-hero {
  height: 560px;
  min-height: 64vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #C9CFD4;
}

.ind-hero .about-hero-bg {
  object-position: center 62%;
}

.ind-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 245, 0.42) 0%, rgba(255, 253, 245, 0.12) 45%, rgba(255, 253, 245, 0) 70%);
}

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

.ind-hero .about-hero-title {
  color: var(--color-primary);
}

.ind-hero .about-hero-sub {
  color: rgba(26, 26, 26, 0.85);
  font-weight: 500;
}

/* --- Services gallery grid --- */
.ind-grid-section {
  padding: 0.5rem 0 5rem;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.9rem;
}

.ind-card {
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid rgba(26, 26, 26, 0.07);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ind-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 111, 33, 0.55);
  box-shadow: 0 16px 34px rgba(243, 111, 33, 0.18);
}

.ind-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ind-card:hover .ind-card-img {
  transform: scale(1.04);
}

.ind-card-label {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.85rem 1rem;
  letter-spacing: 0.01em;
}

/* center the lone 10th card on desktop */
.ind-grid .ind-card:nth-child(3n + 1):last-child {
  grid-column: 2;
}

@media (max-width: 992px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ind-grid .ind-card:nth-child(3n + 1):last-child {
  grid-column: auto;
  }
}

@media (max-width: 600px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }

  .ind-hero {
    height: 470px;
  }
}

/* ==================== CLIENTS PAGE (REDESIGN) ==================== */
/* Cream page canvas, refinery photo on the right with a slanted edge,
   filter/search panel overlapping the photo, 7-col client card grid. */
.clx-page {
  position: relative;
  padding-top: calc(var(--header-h) + 1.6rem);
  background:
    radial-gradient(1100px 420px at 88% 0%, rgba(143, 184, 216, 0.18), transparent 62%),
    linear-gradient(180deg, #FDFAF3 0%, #FAF4E9 100%);
  overflow: hidden;
}

/* dotted world-map texture near the bottom */
.clx-page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100px;
  height: 340px;
  background-image: radial-gradient(rgba(35, 48, 74, 0.13) 1.2px, transparent 1.2px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* right refinery photo with slanted left edge */
.clx-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 47%;
  height: 585px;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.clx-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.clx-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.38), transparent 48%);
}

.clx-script {
  position: absolute;
  top: 46px;
  right: 58px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(2.5rem, 3.9vw, 3.85rem);
  line-height: 0.92;
  color: #22304A;
  text-align: right;
  transform: rotate(-5deg);
  z-index: 1;
}

.clx-script svg {
  display: block;
  margin: 6px 4px 0 auto;
}

.clx-caption {
  position: absolute;
  top: 225px;
  right: 62px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 4.5px;
  color: #22304A;
  text-transform: uppercase;
  line-height: 2;
  text-align: right;
  z-index: 1;
}

/* --- hero text + stats --- */
.clx-hero {
  position: relative;
  z-index: 1;
  padding-top: 1.4rem;
}

.clx-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #22304A;
}

.clx-kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--color-orange);
}

.clx-title {
  font-size: clamp(2.05rem, 3.6vw, 3.05rem);
  font-weight: 800;
  color: #22304A;
  line-height: 1.14;
  margin: 0.95rem 0 1rem;
  max-width: 780px;
}

.clx-title em {
  font-style: normal;
  color: var(--color-orange);
}

.clx-sub {
  max-width: 640px;
  color: #5A6472;
  font-size: 1.02rem;
  line-height: 1.65;
}

.clx-stats {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

.clx-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-right: 2.1rem;
  border-right: 1px solid rgba(35, 48, 74, 0.15);
}

.clx-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.clx-stat svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.clx-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: #22304A;
  line-height: 1.15;
}

.clx-stat-label {
  font-size: 0.82rem;
  color: #5A6472;
  white-space: nowrap;
}

/* --- white filter + grid panel overlapping the photo --- */
.clx-panel {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  background: #FFFFFF;
  border: 1px solid rgba(35, 48, 74, 0.06);
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(20, 16, 10, 0.14);
  padding: 1.35rem 1.35rem 1.6rem;
}

.clx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.clx-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.clx-filter {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 48, 74, 0.15);
  background: #FFFFFF;
  color: #22304A;
  font: 600 0.84rem/1 var(--font-main);
  cursor: pointer;
  transition: var(--transition);
}

.clx-filter:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.clx-filter.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.3);
}

.clx-search {
  position: relative;
  width: 250px;
}

.clx-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  stroke: #8A93A1;
  pointer-events: none;
}

.clx-search input {
  width: 100%;
  padding: 0.62rem 0.9rem 0.62rem 2.2rem;
  border: 1px solid rgba(35, 48, 74, 0.16);
  border-radius: 10px;
  font: 500 0.86rem var(--font-main);
  color: #22304A;
  background: #FFFFFF;
  outline: none;
}

.clx-search input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.14);
}

.clx-search input::placeholder {
  color: #9AA2AF;
}

.clx-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.9rem;
}

.clx-card {
  background: #FFFFFF;
  border: 1px solid rgba(35, 48, 74, 0.09);
  border-radius: 14px;
  padding: 1rem 0.7rem 0.95rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.clx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 14px 30px rgba(243, 111, 33, 0.16);
}

.clx-card-img {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.clx-card-img img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
}

.clx-card-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #22304A;
  line-height: 1.25;
}

.clx-card-sub {
  font-size: 0.72rem;
  color: #6B7482;
  line-height: 1.45;
  margin-top: 0.3rem;
}

.clx-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8A93A1;
  padding: 2.2rem 0;
  font-weight: 600;
  display: none;
}

/* --- featured (main) clients --- */

.clx-card.is-featured {
  border-color: rgba(243, 111, 33, 0.55);
  background: linear-gradient(180deg, #FFF7F1 0%, #FFFFFF 62%);
  box-shadow: 0 6px 16px rgba(243, 111, 33, 0.1);
}

.clx-card.is-featured:hover {
  border-color: var(--color-orange);
  box-shadow: 0 14px 30px rgba(243, 111, 33, 0.22);
}

.clx-li-hot .clx-li-star {
  color: #16a34a;
  font-size: 0.72em;
  margin-left: 0.35rem;
  vertical-align: 1px;
}

.clx-li-hot {
  font-weight: 700;
  color: #22304A;
}

/* --- complete client list --- */
.clx-list-section {
  position: relative;
  z-index: 1;
  padding: 3.6rem 0 0;
  text-align: center;
}

.clx-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #22304A;
}

.clx-list-kicker::before,
.clx-list-kicker::after {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--color-orange);
}

.clx-list-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: #22304A;
  margin: 0.75rem 0 0.55rem;
}

.clx-list-title em {
  font-style: normal;
  color: var(--color-orange);
}

.clx-list-sub {
  color: #5A6472;
  font-size: 0.97rem;
}

.clx-list-card {
  margin-top: 2.1rem;
  background: #FFFFFF;
  border: 1px solid rgba(35, 48, 74, 0.06);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(20, 16, 10, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  overflow: hidden;
}

.clx-top-badge {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 100%);
  border-bottom: 1px solid #bbf7d0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #16a34a;
}

.clx-top-badge-icon {
  font-size: 1rem;
}

.clx-list-col {
  margin: 0;
  padding: 2.1rem 2.6rem;
  list-style: none;
}

.clx-list-col + .clx-list-col {
  border-left: 1px solid rgba(35, 48, 74, 0.1);
}

.clx-list-col li {
  display: flex;
  gap: 0.85rem;
  padding: 0.42rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #22304A;
  line-height: 1.55;
}

.clx-li-num {
  color: var(--color-orange);
  font-weight: 800;
  min-width: 1.55rem;
  flex-shrink: 0;
}

/* --- dark partner CTA band --- */
.clx-cta {
  position: relative;
  z-index: 1;
  margin-top: 3.8rem;
  padding: 2.8rem 0 1.5rem;
  background: #0E1624;
  overflow: hidden;
}

.clx-cta .container {
  position: relative;
  z-index: 1;
}

.clx-cta-inner {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.clx-cta-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clx-cta-icon svg {
  width: 30px;
  height: 30px;
  stroke: #FFFFFF;
}

.clx-cta-heading {
  color: #FFFFFF;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.4;
  flex-shrink: 0;
}

.clx-cta-heading em {
  font-style: normal;
  color: var(--color-orange);
}

.clx-cta-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 350px;
  margin: 0 auto;
}

.clx-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--color-orange);
  color: #FFFFFF;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font: 700 0.95rem var(--font-main);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.clx-cta-btn:hover {
  background: #FFFFFF;
  color: var(--color-orange);
  transform: translateY(-2px);
}

.clx-tags {
  margin-top: 2.3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.clx-tags span:not(:last-child)::after {
  content: "|";
  margin: 0 1rem;
  color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 900px) {
  .clx-list-card {
    grid-template-columns: 1fr;
  }

  .clx-list-col + .clx-list-col {
    border-left: 0;
    border-top: 1px solid rgba(35, 48, 74, 0.1);
  }

  .clx-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
  }

  .clx-cta-text {
    margin: 0;
  }
}

@media (max-width: 1200px) {
  .clx-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1000px) {
  .clx-photo {
    width: 72%;
    opacity: 0.22;
  }

  .clx-script,
  .clx-caption {
    display: none;
  }

  .clx-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .clx-panel {
    margin-top: 2.2rem;
  }
}

@media (max-width: 640px) {
  .clx-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }

  .clx-search {
    width: 100%;
  }

  .clx-stat {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 440px) {
  .clx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== CONTACT PAGE (REDESIGN) ==================== */
/* Cream canvas, phone-in-hand photo fading in on the right, script wordmark,
   perk row, then two white cards: location info + message form. */
.ctx-page {
  position: relative;
  padding-top: calc(var(--header-h) + 1.4rem);
  background: linear-gradient(180deg, #FDFAF3 0%, #FAF4E9 100%);
  overflow: hidden;
}

.ctx-page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  height: 260px;
  background-image: radial-gradient(rgba(35, 48, 74, 0.12) 1.2px, transparent 1.2px);
  background-size: 17px 17px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 72%, transparent);
  pointer-events: none;
  z-index: 0;
}

.ctx-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 47%;
  height: 475px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  z-index: 0;
}

.ctx-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.ctx-script {
  position: absolute;
  top: 54px;
  right: 44%;
  z-index: 1;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.94;
  color: #16233B;
  text-align: center;
  transform: rotate(-7deg);
}

.ctx-script svg {
  display: block;
  margin: 0.35rem auto 0;
}

.ctx-logo-chip {
  position: absolute;
  top: calc(var(--header-h) + 1.9rem);
  right: 34px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 0.55rem 1rem;
  box-shadow: 0 8px 22px rgba(20, 16, 10, 0.16);
}

.ctx-logo-chip img {
  height: 52px;
  width: auto;
  display: block;
}

.ctx-caption {
  position: absolute;
  top: 330px;
  right: 42px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 10px rgba(20, 30, 50, 0.45);
  line-height: 2.15;
}

.ctx-caption span {
  display: block;
}

.ctx-caption span::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--color-orange);
  margin-right: 0.65rem;
  vertical-align: middle;
}

/* --- hero text + perks --- */
.ctx-hero {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.ctx-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #22304A;
}

.ctx-kicker::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-orange);
}

.ctx-title {
  font-size: clamp(2.3rem, 4.3vw, 3.5rem);
  font-weight: 800;
  color: #16233B;
  line-height: 1.1;
  margin: 0.8rem 0 0.9rem;
}

.ctx-title em {
  font-style: normal;
  color: var(--color-orange);
}

.ctx-sub {
  color: #4E5A6B;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 640px;
}

.ctx-perks {
  display: flex;
  align-items: center;
  margin-top: 1.7rem;
  flex-wrap: wrap;
  row-gap: 0.9rem;
}

.ctx-perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 1.7rem;
  border-right: 1px solid rgba(22, 35, 59, 0.15);
}

.ctx-perk:last-child {
  border-right: 0;
  padding-right: 0;
}

.ctx-perk svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.ctx-perk b {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #16233B;
  line-height: 1.25;
}

.ctx-perk span {
  display: block;
  font-size: 0.85rem;
  color: #5A6472;
}

/* --- two white cards --- */
.ctx-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 1.6rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.ctx-card {
  background: #FFFFFF;
  border: 1px solid rgba(35, 48, 74, 0.06);
  border-radius: 20px;
  box-shadow: 0 24px 54px rgba(20, 16, 10, 0.1);
  padding: 1.5rem;
}

/* location card */
.ctx-map-img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.ctx-addr-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.ctx-addr-row svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.ctx-addr-row b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #16233B;
}

.ctx-addr-row span {
  display: block;
  font-size: 0.9rem;
  color: #5A6472;
}

.ctx-lines {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(35, 48, 74, 0.08);
}

.ctx-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #3E4A5C;
}

.ctx-line svg {
  width: 17px;
  height: 17px;
  stroke: var(--color-orange);
  flex-shrink: 0;
}

.ctx-line a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.ctx-line a:hover {
  color: var(--color-orange);
}

.ctx-minis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.ctx-mini {
  border: 1px solid rgba(35, 48, 74, 0.1);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  transition: var(--transition);
}

.ctx-mini:hover {
  border-color: rgba(243, 111, 33, 0.4);
  box-shadow: 0 10px 24px rgba(243, 111, 33, 0.1);
}

.ctx-mini > svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ctx-mini b {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #16233B;
  line-height: 1.3;
}

.ctx-mini span {
  display: block;
  font-size: 0.78rem;
  color: #5A6472;
  line-height: 1.5;
}

.ctx-mini .ctx-hot {
  color: var(--color-orange);
  font-weight: 800;
}

/* message form card */
.ctx-form-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #22304A;
}

.ctx-form-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--color-orange);
}

.ctx-form-title {
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: #16233B;
  margin: 0.55rem 0 0.25rem;
}

.ctx-form-sub {
  font-size: 0.92rem;
  color: #5A6472;
  margin-bottom: 1.2rem;
}

.ctx-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ctx-field {
  position: relative;
}

.ctx-field--full {
  grid-column: 1 / -1;
}

.ctx-field > svg {
  position: absolute;
  left: 13px;
  top: 15px;
  width: 16px;
  height: 16px;
  stroke: #8A93A1;
  pointer-events: none;
  z-index: 1;
}

.ctx-field input,
.ctx-field select,
.ctx-field textarea {
  width: 100%;
  padding: 0.74rem 0.9rem 0.74rem 2.4rem;
  border: 1px solid rgba(35, 48, 74, 0.16);
  border-radius: 10px;
  background: #FFFFFF;
  font: 500 0.9rem var(--font-main);
  color: #16233B;
  transition: var(--transition);
}

.ctx-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238A93A1' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.ctx-field textarea {
  min-height: 118px;
  resize: vertical;
}

.ctx-field input:focus,
.ctx-field select:focus,
.ctx-field textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.14);
}

.ctx-field input::placeholder,
.ctx-field textarea::placeholder {
  color: #9AA2AF;
}

.ctx-count {
  position: absolute;
  right: 11px;
  bottom: 9px;
  font-size: 0.7rem;
  color: #9AA2AF;
  background: rgba(255, 255, 255, 0.85);
  padding: 0 0.2rem;
  pointer-events: none;
}

.ctx-form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.ctx-send {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-orange);
  color: #FFFFFF;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  border: none;
  font: 700 0.98rem var(--font-main);
  cursor: pointer;
  transition: var(--transition);
}

.ctx-send:hover {
  background: #16233B;
  transform: translateY(-2px);
}

.ctx-safe {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #5A6472;
}

.ctx-safe svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-orange);
}

.ctx-success {
  display: none;
  grid-column: 1 / -1;
  background: rgba(243, 111, 33, 0.08);
  border: 1px solid rgba(243, 111, 33, 0.35);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #B24E0E;
}

.ctx-success.is-visible {
  display: block;
}

/* --- bottom strip --- */
.ctx-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.4rem 0 3.1rem;
  flex-wrap: wrap;
}

.ctx-strip-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #22304A;
}

.ctx-strip-label::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--color-orange);
}

.ctx-strip-tags {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #22304A;
}

.ctx-strip-tags span:not(:last-child)::after {
  content: "|";
  margin: 0 1rem;
  color: rgba(243, 111, 33, 0.6);
}

@media (max-width: 1100px) {
  .ctx-photo {
    width: 62%;
    opacity: 0.28;
  }

  .ctx-script,
  .ctx-caption,
  .ctx-logo-chip {
    display: none;
  }

  .ctx-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ctx-form {
    grid-template-columns: 1fr;
  }

  .ctx-minis {
    grid-template-columns: 1fr;
  }

  .ctx-perk {
    border-right: 0;
    padding-right: 0;
  }

  .ctx-lines {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==================== SERVICES PAGE REVAMP ==================== */
.sv-core-section {
  padding: 2.5rem 0 3.5rem;
}

.sv-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
}

/* Two hero service cards */
.sv-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.sv-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-color: #0B1021;
}

.sv-hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.sv-hero-card:hover .sv-hero-card-bg {
  opacity: 0.7;
  transform: scale(1.04);
}

.sv-hero-card-content {
  position: relative;
  z-index: 1;
  padding: 1.8rem 2rem;
  background: linear-gradient(0deg, rgba(10, 16, 33, 0.88) 0%, rgba(10, 16, 33, 0.3) 100%);
  width: 100%;
}

.sv-hero-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.sv-hero-card-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.sv-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sv-arrow-btn:hover {
  background: #e0611f;
  transform: translateX(3px);
}

/* 6 small service tiles */
.sv-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.sv-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 0.6rem;
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,0.05);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sv-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(243,111,33,0.4);
  box-shadow: 0 6px 16px rgba(243,111,33,0.12);
}

.sv-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(243,111,33,0.1);
  color: var(--color-orange);
  margin-bottom: 0.7rem;
}

.sv-tile-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
}

/* Why Choose WASCO */
.sv-why-section {
  padding: 3.5rem 0 4rem;
}

.sv-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.sv-why-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.sv-why-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.sv-check {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
  color: var(--color-orange);
}

.sv-why-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.sv-why-desc {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.5;
}

.sv-why-photo-wrap {
  width: 240px;
}

.sv-why-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* Industries We Serve */
.sv-industries-section {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid rgba(26,26,26,0.06);
}

.sv-ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.sv-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 0.5rem 1.3rem;
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,0.05);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sv-ind-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243,111,33,0.4);
  box-shadow: 0 6px 16px rgba(243,111,33,0.12);
}

.sv-ind-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(243,111,33,0.1);
  color: var(--color-orange);
  margin-bottom: 0.8rem;
}

.sv-ind-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Our Process */
.sv-process-section {
  padding: 3rem 0 4.5rem;
  border-top: 1px solid rgba(26,26,26,0.06);
}

.sv-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
  position: relative;
}

.sv-process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-orange) 0, var(--color-orange) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}

.sv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sv-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-bottom: 1rem;
}

.sv-step-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.sv-step-desc {
  font-size: 0.82rem;
  color: var(--color-secondary);
  line-height: 1.45;
  max-width: 150px;
}

/* Responsive */
@media (max-width: 992px) {
  .sv-tiles,
  .sv-ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sv-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sv-why-photo-wrap {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sv-why-photo {
    height: 260px;
  }

  .sv-process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .sv-hero-cards {
    grid-template-columns: 1fr;
  }

  .sv-hero-card {
    min-height: 240px;
  }

  .sv-tiles,
  .sv-ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-why-grid {
    grid-template-columns: 1fr;
  }

  .sv-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-process-steps::before {
    display: none;
  }
}

/* ============================================================
   SERVICES (industries.html) — mockup v3
   ============================================================ */
/* --- wide desktop: use more of the screen --- */
@media (min-width: 1400px) {
  .svh .container,
  .svc2-wrap .container,
  .svc2-band .container,
  .svc2-ind .container,
  .svc2-proc .container,
  .svc2-cta .container {
    width: 94%;
    max-width: 1520px;
  }

  .hero-v2 .container {
    width: 94%;
    max-width: 1520px;
  }

  .hero-v2-grid {
    grid-template-columns: minmax(0, 700px);
  }

  .hero-v2 .hero-title {
    font-size: clamp(3rem, 3.6vw, 4.4rem);
  }
}

.svh {
  position: relative;
  min-height: 580px;
  padding: calc(var(--header-h) + 2.8rem) 0 5.6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0B1526;
}

.svh-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.svh::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 14, 28, 0.82) 0%, rgba(7, 14, 28, 0.55) 42%, rgba(7, 14, 28, 0.18) 75%, rgba(7, 14, 28, 0.35) 100%);
}

.svh .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.svh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.svh-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.svh-title {
  font-size: clamp(2.4rem, 3.3vw, 4.05rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.12;
  max-width: 700px;
}

.svh-title em {
  font-style: normal;
  color: var(--color-orange);
}

.svh-sub {
  margin-top: 1.25rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 620px;
}

.svh-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.1rem;
  flex-wrap: wrap;
}

.svh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.svh-btn--orange {
  background-color: var(--color-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.4);
}

.svh-btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(243, 111, 33, 0.5);
  color: #FFFFFF;
}

.svh-btn--ghost {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.svh-btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.svh-btn svg {
  width: 18px;
  height: 18px;
}

.svh-perks {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}

.svh-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.svh-perk svg {
  width: 21px;
  height: 21px;
  color: var(--color-orange);
}

/* --- comprehensive services intro --- */
.svc2-wrap {
  padding: 5rem 0 3.6rem;
}

.svc2-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.6rem;
}

.svc2-head-right {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: start;
}

.svc2-intro {
  font-size: 1.06rem;
  color: #4E5A69;
  line-height: 1.8;
}

.svc2-intro strong {
  color: #22304A;
}

.svc2-partner {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A93A1;
  line-height: 1.9;
  padding-top: 0.35rem;
}

.svc2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #22304A;
  margin-bottom: 0.85rem;
}

.svc2-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.svc2-title {
  font-size: clamp(1.95rem, 2.1vw, 2.95rem);
  font-weight: 800;
  color: #22304A;
  line-height: 1.18;
}

/* --- 6 service cards (photo-top) --- */
.svc2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.svc2-card {
  background: #FFFFFF;
  border: 1px solid rgba(35, 48, 74, 0.08);
  border-radius: 16px;
  padding: 0.55rem 0.55rem 1.3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc2-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 18px 40px rgba(243, 111, 33, 0.16);
}

.svc2-photo {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.15rem;
}

.svc2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.svc2-card:hover .svc2-photo img {
  transform: scale(1.06);
}

.svc2-icon {
  position: absolute;
  left: 1rem;
  bottom: -27px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.42);
  border: 3px solid #FFFFFF;
}

.svc2-icon svg {
  width: 25px;
  height: 25px;
}

.svc2-body {
  padding: 0 1.15rem;
}

.svc2-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #22304A;
  margin-bottom: 0.5rem;
}

.svc2-desc {
  font-size: 1rem;
  color: #5F6B7A;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.svc2-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #22304A;
  transition: color 0.25s ease;
}

.svc2-more em {
  font-style: normal;
  color: var(--color-orange);
  transition: transform 0.25s ease;
}

.svc2-more:hover em {
  transform: translateX(3px);
}

/* --- navy band --- */
.svc2-band {
  background-color: #101B33;
  padding: 3.6rem 0;
}

.svc2-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.6rem;
}

.svc2-band-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-left: 2.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.svc2-band-item:first-child {
  padding-left: 0;
  border-left: none;
}

.svc2-band-icon {
  flex-shrink: 0;
  color: var(--color-orange);
}

.svc2-band-icon svg {
  width: 40px;
  height: 40px;
}

.svc2-band-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
}

.svc2-band-desc {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --- industries tiles --- */
.svc2-ind {
  padding: 3.6rem 0 3.4rem;
  background-color: #FDFBF6;
}

.svc2-ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.svc2-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.95rem;
  padding: 2rem 0.6rem 1.65rem;
  border: 1px solid rgba(35, 48, 74, 0.09);
  border-radius: 12px;
  background: #FFFFFF;
  color: #22304A;
  font-size: 1.02rem;
  font-weight: 700;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.svc2-ind-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 10px 22px rgba(243, 111, 33, 0.14);
}

.svc2-ind-card svg {
  width: 36px;
  height: 36px;
  color: var(--color-orange);
}

/* --- process --- */
.svc2-proc {
  padding: 0 0 4.2rem;
  background-color: #FDFBF6;
}

.svc2-proc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
  position: relative;
}

.svc2-proc-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(243, 111, 33, 0.7) 0, rgba(243, 111, 33, 0.7) 6px, transparent 6px, transparent 12px);
}

.svc2-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.svc2-step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc2-step-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: #22304A;
  margin-bottom: 0.4rem;
}

.svc2-step-desc {
  font-size: 0.96rem;
  color: #5F6B7A;
  line-height: 1.6;
  max-width: 210px;
  margin: 0 auto;
}

/* --- CTA band --- */
.svc2-cta {
  position: relative;
  overflow: hidden;
  background-color: #101B33;
  padding: 4.2rem 0;
}

.svc2-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.svc2-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 16, 32, 0.92) 0%, rgba(9, 16, 32, 0.72) 50%, rgba(9, 16, 32, 0.38) 100%);
}

.svc2-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.svc2-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.svc2-cta-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--color-orange);
}

.svc2-cta-title {
  font-size: clamp(2rem, 2.4vw, 3.05rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 0.9rem;
}

.svc2-cta-title em {
  font-style: normal;
  color: var(--color-orange);
}

.svc2-cta-sub {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 580px;
}

.svc2-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* --- responsive --- */
@media (max-width: 1024px) {
  .svc2-head {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .svc2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc2-band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem 1rem;
  }

  .svc2-ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc2-proc-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.2rem;
  }

  .svc2-proc-grid::before {
    display: none;
  }

  .svc2-cta .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .svh {
    min-height: 420px;
  }

  .svh-perks {
    gap: 1.1rem;
  }

  .svc2-grid {
    grid-template-columns: 1fr;
  }

  .svc2-band-grid {
    grid-template-columns: 1fr;
  }

  .svc2-band-item {
    border-left: none;
    padding-left: 0;
  }

  .svc2-ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc2-proc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc2-cta-actions {
    width: 100%;
  }
}

/* ============================================================
   GALLERY v2 — full-width project showcase (photo background)
   ============================================================ */
.gallery-section {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 5.2rem 0 4.2rem;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(255, 251, 240, 0.94) 0%, rgba(255, 246, 232, 0.55) 32%, rgba(248, 233, 216, 0.32) 60%, rgba(255, 251, 240, 0.95) 100%),
    url('images/gallery/refinery-bg.png');
  background-size: cover, cover;
  background-position: center, center;
}

/* decorative corner stripes (like the mockup diagonals) */
.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  background: repeating-linear-gradient(
    115deg,
    rgba(243, 111, 33, 0.9) 0 26px,
    rgba(30, 41, 59, 0.9) 26px 52px,
    rgba(255, 255, 255, 0.9) 52px 78px
  );
  pointer-events: none;
}

.gallery-section::before {
  top: 0;
  right: 0;
  width: 32%;
  height: 42%;
  clip-path: polygon(22% 0, 100% 0, 100% 78%);
  opacity: 0.32;
}

.gallery-section::after {
  bottom: 0;
  left: 0;
  width: 28%;
  height: 32%;
  clip-path: polygon(0 22%, 0 100%, 78% 100%);
  opacity: 0.28;
}

/* --- header --- */
.gal-head {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.gal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.gal-kicker::before,
.gal-kicker::after {
  content: "";
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange);
}

.gal-head h2 {
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-primary);
}

.gal-head h2 em {
  font-style: normal;
  color: var(--color-orange);
}

.gal-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #4c5566;
}

/* --- right motto block --- */
.gal-motto {
  position: absolute;
  z-index: 2;
  top: 4rem;
  right: 3rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--color-orange);
}

.gal-motto-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 0.6rem;
}

.gal-motto-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange);
}

.gal-motto strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
  color: #262626;
}

.gal-motto small {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6d7382;
}

/* --- handwritten script (right side) --- */
.gal-script {
  position: absolute;
  z-index: 2;
  top: 25%;
  right: 2rem;
  font-family: 'Caveat', cursive;
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #262626;
  text-align: left;
  transform: rotate(-7deg);
  pointer-events: none;
}

.gal-script svg {
  display: block;
  margin: 0.35rem 0 0 0.6rem;
  transform: rotate(-3deg);
}

/* --- filter pills --- */
.gal-filters {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 920px;
  margin: 0 auto 2.7rem;
  padding: 0 1rem;
}

.gal-filter {
  padding: 0.62rem 1.5rem;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.gal-filter:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
}

.gal-filter.is-active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(243, 111, 33, 0.35);
}

/* --- mosaic grid: 1 tall + 2x2 + 1 tall --- */
.gal-mosaic {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(255px, auto));
  gap: 1.3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gal-item {
  position: relative;
  grid-row: span 2;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  isolation: isolate;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 24, 0) 45%, rgba(10, 14, 24, 0.66) 100%);
}

.gal-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.gal-tag {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.6rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0 999px 999px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.gal-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--color-orange);
  box-shadow: 0 6px 14px rgba(243, 111, 33, 0.4);
}

.gal-ico svg {
  width: 21px;
  height: 21px;
}

.gal-arrow {
  position: absolute;
  z-index: 2;
  right: 1.3rem;
  bottom: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.6px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s ease;
}

.gal-arrow svg {
  width: 17px;
  height: 17px;
}

.gal-item:hover .gal-arrow {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateX(3px);
}

.gal-item.is-hidden {
  display: none;
}

/* --- footer row: quote / CTA / perks --- */
.gal-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 2.7rem auto 0;
  padding: 0 1.5rem;
}

.gal-left-quote {
  max-width: 250px;
  padding-left: 1rem;
  border-left: 3px solid var(--color-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.9;
  text-transform: uppercase;
  color: #3d4453;
}

.gal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(243, 111, 33, 0.4);
  transition: all 0.25s ease;
}

.gal-cta:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
}

.gal-perks {
  display: flex;
  justify-self: end;
  gap: 1.9rem;
}

.gal-perk {
  max-width: 88px;
  color: #3d4453;
  text-align: center;
}

.gal-perk svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.45rem;
  stroke: var(--color-primary);
}

.gal-perk span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

/* --- responsive --- */
@media (max-width: 1180px) {
  .gal-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(235px, auto);
  }

  .gal-item {
    grid-row: auto;
  }

  .gal-motto,
  .gal-script {
    display: none;
  }
}

@media (max-width: 640px) {
  .gallery-section {
    padding: 4rem 0 3.2rem;
  }

  .gal-filters {
    gap: 0.5rem;
  }

  .gal-filter {
    padding: 0.5rem 1.05rem;
    font-size: 0.85rem;
  }

  .gal-mosaic {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .gal-foot {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .gal-left-quote {
    justify-self: center;
    padding-left: 0;
    border-left: 0;
  }

  .gal-perks {
    justify-self: center;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   MODERN BOLD NAVBAR — two-row header after the "01 Modern Bold" mockup:
   navy utility bar (phone / email / location + Career, News, Supplier
   Portal + socials) over a white row with BIG bold construction-style links.

   ROLLBACK: delete this whole marked section, then remove the .topbar markup,
   nav caret and search-button move from each page header
   (pre-edit backups live in .freebuff/_backup_pre_navbar/).
   ========================================================================== */

/* New two-row header height — drives the hero pull/padding calculations */
:root {
  --header-h: 110px;
}

/* --- Header shell: solid white row, no outer padding --- */
.header,
.header--overlay,
.header-overlay {
  padding: 0;
  background-color: #FFFFFF;
}

.header.scrolled,
.header--overlay.scrolled,
.header-overlay.scrolled {
  padding: 0;
  background-color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(11, 16, 33, 0.12);
}

/* --- Top utility bar --- */
.topbar {
  background-color: #101B33;
  color: #FFFFFF;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 32px;
}

.topbar-contact {
  display: flex;
  align-items: center;
  min-width: 0;
}

.topbar-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.1rem 1.1rem;
  position: relative;
}

.topbar-contact li:first-child {
  padding-left: 0;
}

.topbar-contact li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.26);
}

.topbar-contact svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.topbar-contact a {
  color: #FFFFFF;
}

.topbar-contact a:hover {
  color: var(--color-orange);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-links {
  display: flex;
  align-items: center;
}

.topbar-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.topbar-links a {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.topbar-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.26);
}

.topbar-links a:hover {
  color: var(--color-orange);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #FFFFFF;
}

.topbar-social a:hover {
  color: var(--color-orange);
  background-color: rgba(243, 111, 33, 0.16);
}

/* --- Main nav row: big bold construction-savvy links --- */
/* taller main row (bigger logo) offsets the slimmer topbar so the total
   header height stays 110px and every hero calculation keeps working */
.brand-logo-img {
  height: 78px;
}

.header.scrolled .brand-logo-img {
  height: 62px;
}

.navbar {
  gap: 1.1rem;
}

.nav-pill {
  flex: 1 1 auto;
  min-width: 0;
  /* extra breathing room between the logo and the first link */
  margin-left: 3.4rem;
  justify-content: space-between;
  gap: 1.3rem;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.nav-links {
  gap: 1.65rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.012em;
  color: #16233F;
  padding-bottom: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-caret {
  margin-top: 3px;
  transition: transform 0.25s ease;
}

.nav-links li.has-dropdown:hover > .nav-link .nav-caret {
  transform: rotate(180deg);
}

/* --- Action buttons on the row --- */
.nav-quote-btn {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.8rem 1.6rem;
  flex-shrink: 0;
}

.nav-profile-btn {
  font-size: 0.92rem;
  font-weight: 800;
  color: #16233F;
  border-color: rgba(22, 35, 63, 0.22);
  flex-shrink: 0;
}

.nav-profile-btn:hover {
  color: var(--color-orange);
}

.nav-search-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background-color: #F0F1F3;
  color: #16233F;
  box-shadow: none;
}

.nav-search-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-orange);
  box-shadow: 0 8px 18px rgba(11, 16, 33, 0.12);
  transform: none;
}

.mobile-toggle {
  color: #16233F;
  font-size: 1.7rem;
  line-height: 1;
}

/* --- Profile button collapses to its icon before the row gets tight --- */
@media (max-width: 1380px) {
  .nav-profile-btn {
    padding: 0.72rem 0.85rem;
  }

  .nav-profile-text {
    display: none;
  }
}

/* --- Utility bar sheds items as the viewport narrows (keeps one row) --- */
@media (max-width: 1100px) {
  .topbar-links {
    display: none;
  }
}

/* get-quote hero was padded for the old 92px header (beats the page's
   inline .gq-hero .container rule via higher specificity) */
body .gq-hero .container {
  padding-top: calc(var(--header-h) + 1.6rem);
}

@media (max-width: 980px) {
  .topbar-contact li:nth-child(3) {
    display: none;
  }
}

@media (max-width: 700px) {
  .topbar-social {
    display: none;
  }
}

@media (max-width: 440px) {
  .topbar-contact li:nth-child(2) {
    display: none;
  }
}

/* --- Drawer replaces the row up to 1200px (big links need the room) --- */
@media (max-width: 1200px) {
  .nav-pill {
    display: none;
  }

  .nav-search-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-pill.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border: 1px solid rgba(22, 35, 63, 0.1);
    border-radius: 16px;
    box-shadow: 0 26px 54px rgba(11, 16, 33, 0.24);
    padding: 1.5rem 1.6rem;
    gap: 1.15rem;
    margin-left: 0;
    /* the big menu can outgrow a short screen */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 80;
  }

  .nav-pill.mobile-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.05rem;
    width: 100%;
  }

  .nav-pill.mobile-open .nav-link {
    font-size: 1.3rem;
  }

  .nav-pill.mobile-open .nav-quote-btn,
  .nav-pill.mobile-open .nav-profile-btn {
    justify-content: center;
    width: 100%;
  }

  .nav-pill.mobile-open .nav-profile-btn {
    padding: 0.85rem 1rem;
  }

  .nav-pill.mobile-open .nav-profile-text {
    display: inline;
  }

  /* inside the drawer the dropdown is a static sub-list */
  .nav-dropdown {
    position: static;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin: 0.3rem 0 0 0.4rem;
    padding: 0.15rem 0;
    border: 0;
    border-left: 2px solid rgba(243, 111, 33, 0.4);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links li.has-dropdown:hover .nav-dropdown,
  .nav-links li.has-dropdown:focus-within .nav-dropdown {
    transform: none;
  }

  .nav-dropdown-link {
    padding: 0.45rem 0.95rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   MOBILE REDESIGN (small screens) — matches the "Modern Bold" mobile mockup
   · topbar: phone | email | location, compact full-bleed row
   · header: logo · Get a Quote pill · thick burger (drawer holds the links)
   · hero: kicker/title trimmed for mobile, trust strip hidden,
     2x2 feature-card panel sitting on a cream sheet (no more overlap)
   · clients: white cards, 3-up grid, outline CTA centred below
   ROLLBACK: delete this marked section + revert the three index.html edits.
   ========================================================================== */

/* --- Topbar: all three contact items, compact, edge to edge --- */
@media (max-width: 768px) {
  .topbar-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 8px;
    gap: 0.4rem;
  }

  .topbar-contact li {
    display: flex;
    padding: 0.1rem 0.24rem;
    gap: 0.3rem;
    font-size: clamp(0.6rem, 2vw, 0.78rem);
  }

  .topbar-contact li:nth-child(2),
  .topbar-contact li:nth-child(3) {
    display: flex;
  }

  .topbar-contact svg {
    width: 11px;
    height: 11px;
  }

  .topbar-social {
    display: none;
  }
}

/* --- Header row: quote pill joins the row, burger gets thicker --- */
@media (max-width: 1200px) {
  /* closed: the pill dissolves so only its quote button shows in the row */
  .nav-pill:not(.mobile-open) {
    display: contents;
  }

  .nav-pill:not(.mobile-open) > .nav-links,
  .nav-pill:not(.mobile-open) > .nav-profile-btn,
  .nav-pill:not(.mobile-open) > .nav-search-btn {
    display: none;
  }

  .nav-quote-btn {
    margin-left: auto;
    flex-shrink: 0;
  }

  .mobile-toggle {
    font-size: 0;
    width: 34px;
    height: 24px;
    padding: 0;
    position: relative;
    flex-shrink: 0;
  }

  .mobile-toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    border-radius: 3px;
    background-color: #16233F;
    box-shadow: 0 10px 0 #16233F;
  }

  .mobile-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 3px;
    background-color: #16233F;
  }
}/* --- Hero: mobile copy + 2x2 feature-card panel on a cream sheet --- */
.hero-v2-kicker-mob {
  display: none;
}

@media (max-width: 860px) {
  .hero-v2-kicker-desk {
    display: none;
  }

  .hero-v2-kicker-mob {
    display: inline;
  }

  .hero-v2-kicker {
    color: var(--color-orange);
  }

  .hero-title-lead {
    display: none;
  }

  .hero-v2-trust {
    display: none;
  }

  /* cards panel: transparent shell, cream sheet painted behind it so the
     photo ends above the panel (was: clients card pulled over the pills) */
  .hero-v2-cards {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    padding: 0.75rem;
    gap: 0.7rem;
    background: none;
    border-radius: 26px;
  }

  .hero-v2-cards::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -26px;
    left: -20px;
    right: -20px;
    bottom: -60px;
    background-color: var(--bg-primary);
    border-radius: 26px;
  }

  .hero-v2-card {
    flex: 1 1 calc(50% - 0.35rem);
    border-color: rgba(16, 24, 40, 0.08);
  }

  .hero-v2-card-icon {
    border: 0;
    background-color: rgba(243, 111, 33, 0.1);
    border-radius: 50%;
  }

  /* clients: no more negative pull (the overlap bug), neutral cards */
  .main-clients-card {
    margin-top: 0;
  }

  .mc-card {
    background: #FFFFFF;
    border-color: rgba(34, 48, 74, 0.12);
  }

  .mc-cta {
    position: static;
    display: flex;
    width: fit-content;
    margin: 1.5rem auto 0;
    background-color: #FFFFFF;
    color: var(--color-orange);
    border: 1.5px solid var(--color-orange);
    box-shadow: none;
    font-size: 0.88rem;
    padding: 0.8rem 1.6rem;
  }

  .mc-cta:hover {
    background-color: var(--color-orange);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(243, 111, 33, 0.3);
  }
}

/* CTA moved below the grid in the markup — keep it pinned top-right on
   desktop so the header row looks unchanged there */
@media (min-width: 861px) {
  .mc-cta {
    position: absolute;
    top: 1.55rem;
    right: 1.9rem;
  }
}

/* --- Phone tweaks: compact hero cards + 3-up clients grid --- */
@media (max-width: 768px) {
  /* row height shrank with the smaller logo — keep hero math in sync */
  :root {
    --header-h: 96px;
  }

  /* the row (logo + quote pill + burger) has to fit the phone width */
  .brand-logo-img {
    height: 64px;
  }

  .header.scrolled .brand-logo-img {
    height: 52px;
  }

  .navbar {
    gap: 0.75rem;
  }

  .nav-quote-btn {
    font-size: 0.92rem;
    padding: 0.7rem 1.25rem;
    gap: 0.45rem;
  }
}

@media (max-width: 400px) {
  :root {
    --header-h: 88px;
  }

  .brand-logo-img {
    height: 56px;
  }

  .nav-quote-btn {
    font-size: 0.85rem;
    padding: 0.62rem 1.05rem;
  }
}

@media (max-width: 480px) {
  .hero-v2-card {
    padding: 0.8rem 0.75rem;
    gap: 0.6rem;
  }

  .hero-v2-card-icon {
    width: 40px;
    height: 40px;
  }

  .hero-v2-card-title {
    font-size: 0.88rem;
  }

  .hero-v2-card-text {
    font-size: 0.74rem;
  }

  .main-clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }

  .mc-card {
    padding: 0.8rem 0.3rem 0.75rem;
  }

  .mc-card-img {
    height: 38px;
  }

  .mc-card-name {
    font-size: 0.78rem;
  }

  .mc-card-sub {
    font-size: 0.62rem;
  }

  .mc-title {
    font-size: 1.28rem;
  }
}
