/* ============================================================
   ECO DRIFT – Homepage Demo Stylesheet
   Primary green: #00632b
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2a2a2a;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { margin-bottom: 0; }

/* ---------- Variables ---------- */
:root {
  --green: #00632b;
  --green-dark: #004d21;
  --green-light: #e6f4ec;
  --green-mid: #007f38;
  --white: #ffffff;
  --off-white: #f7faf8;
  --dark: #1a1a1a;
  --grey: #5a5a5a;
  --grey-light: #e8e8e8;
  --border: #d0d9d3;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.text-green { color: var(--green); }
.text-white { color: var(--white); }
.bg-green { background: var(--green); }
.bg-off-white { background: var(--off-white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.utility-bar-left { display: flex; align-items: center; gap: 20px; }
.utility-bar-left span { display: flex; align-items: center; gap: 6px; }
.utility-bar-right { display: flex; align-items: center; gap: 12px; }
.utility-bar a:hover { color: var(--white); }
.social-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.social-icon:hover { background: var(--green); }
.social-icon svg { width: 14px; height: 14px; fill: #ccc; }
.social-icon:hover svg { fill: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 0;
}
.logo {
  flex-shrink: 0;
  margin-right: 40px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}
.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--grey);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--green); background: var(--green-light); }
.nav-link .chevron { font-size: 0.7rem; transition: transform var(--transition); }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--dark);
  transition: all var(--transition);
  font-weight: 500;
}
.dropdown a:hover { background: var(--green-light); color: var(--green); padding-left: 26px; }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -120px;
  width: 860px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-col { padding: 0 16px; border-right: 1px solid var(--border); }
.mega-col:last-child { border-right: none; }
.mega-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--green-light);
}
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--dark);
  font-weight: 500;
  transition: all var(--transition);
  border-radius: 4px;
}
.mega-col a:hover { color: var(--green); padding-left: 6px; }
.mega-col-title i { color: var(--green); margin-right: 7px; font-size: 0.8rem; }

/* Nav CTA */
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.95rem;
}
.mobile-menu a:first-child {
  background: var(--green);
  color: var(--white);
  margin: 0 24px 12px;
  border-radius: var(--radius);
  border: none;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #003d1a 0%, #00632b 50%, #004d21 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  line-height: 1.6;
}
.hero-proof {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid rgba(255,255,255,0.3);
  border-radius: 0 6px 6px 0;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-stats-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey);
  white-space: nowrap;
  padding: 6px 0;
}
.trust-badge .badge-icon {
  width: 32px; height: 32px;
  background: var(--green-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge .badge-icon svg { width: 16px; height: 16px; fill: var(--green); }
.trust-badge-text { display: flex; flex-direction: column; }
.trust-badge-name { font-weight: 700; color: var(--dark); font-size: 0.75rem; }
.trust-badge-sub { font-size: 0.68rem; color: var(--grey); font-weight: 400; }

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-we-are { background: var(--off-white); }
.who-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.who-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 12px;
}
.who-headline { margin-bottom: 0; }
.who-body { font-size: 1.1rem; line-height: 1.75; color: var(--grey); }
.who-body strong { color: var(--dark); font-weight: 600; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row { background: var(--green); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  color: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-main { font-size: 1rem; font-weight: 600; margin-bottom: 4px; opacity: 0.95; }
.stat-sub { font-size: 0.8rem; opacity: 0.75; line-height: 1.4; }

/* ============================================================
   PAIN CARDS (Sound Familiar?)
   ============================================================ */
.pain-section { background: var(--white); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--grey); max-width: 560px; margin: 0 auto; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pain-card {
  border-radius: 12px;
  overflow: hidden;
}
.pain-top {
  color: var(--white);
  padding: 24px 26px;
  display: flex;          /* icon left, heading right */
  align-items: center;
  gap: 16px;
  position: relative;
}
.pain-icon {
  font-size: 1.4rem;
  color: #fff;                       /* white glyph, no longer blends in */
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  border-radius: 12px;
}
.pain-icon i { color: inherit; }
.pain-top h3 { font-size: 0.92rem; letter-spacing: 0.5px; font-weight: 700; text-transform: uppercase; margin: 0; }

/* Each card a different rich tone, with a subtle dot texture (no flat black) */
.pain-card:nth-child(1) .pain-top {
  background-image:
    radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.6px),
    linear-gradient(135deg, #0f3d28 0%, #166236 100%);
  background-size: 16px 16px, cover;
}
.pain-card:nth-child(2) .pain-top {
  background-image:
    radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.6px),
    linear-gradient(135deg, #0d3640 0%, #114f5c 100%);
  background-size: 16px 16px, cover;
}
.pain-card:nth-child(3) .pain-top {
  background-image:
    radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.6px),
    linear-gradient(135deg, #1e2b4d 0%, #2c3f6e 100%);
  background-size: 16px 16px, cover;
}
.pain-card:nth-child(4) .pain-top {
  background-image:
    radial-gradient(rgba(255,255,255,0.07) 1.5px, transparent 1.6px),
    linear-gradient(135deg, #3a1f33 0%, #5a3049 100%);
  background-size: 16px 16px, cover;
}
.pain-bottom {
  background: var(--green-light);
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.answer-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}
.pain-bottom p { font-size: 0.9rem; color: var(--dark); line-height: 1.6; }

/* ============================================================
   TECHNOLOGY STRIP
   ============================================================ */
.tech-section { background: var(--dark); }
.tech-label { color: rgba(255,255,255,0.5); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.tech-headline { color: var(--white); margin-bottom: 12px; }
.tech-headline span { color: #6ee69e; }
.tech-sub { color: rgba(255,255,255,0.65); margin-bottom: 52px; font-size: 1.05rem; }
.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all var(--transition);
}
.tech-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(0,99,43,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,99,43,0.2);
}
.tech-card-icon {
  width: 52px; height: 52px;
  background: rgba(0,99,43,0.45);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #7ed957;            /* light lime: strong contrast on the dark card (a11y) */
}
.tech-card-icon .fa-solid { color: #7ed957; }
.tech-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.15rem; }
.tech-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6ee69e;
  background: rgba(110,230,158,0.12);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.tech-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.tech-card-link { color: #6ee69e; font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tech-card-link:hover { text-decoration: underline; }
.tech-footer { margin-top: 40px; text-align: center; }

/* ============================================================
   PROXIMETRIX AUDIT STRIP
   ============================================================ */
.proximetrix-strip {
  background: linear-gradient(120deg, #004d21 0%, #00632b 100%);
  color: var(--white);
  padding: 56px 0;
}
.proximetrix-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.proximetrix-inner h2 { color: var(--white); margin-bottom: 10px; }
.proximetrix-inner p { color: rgba(255,255,255,0.8); max-width: 520px; font-size: 1rem; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--dark); }
.service-card p { font-size: 0.875rem; color: var(--grey); line-height: 1.55; flex: 1; }
.service-arrow {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  display: flex; align-items: center; gap: 4px;
}
.view-all-link {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   SECTORS GRID
   ============================================================ */
.sectors-section { background: var(--white); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all var(--transition);
  cursor: pointer;
}
.sector-card:hover { border-color: var(--green); background: var(--green-light); }
.sector-card:hover .sector-icon { background: var(--green); color: var(--white); }
.sector-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
  transition: all var(--transition);
}
.sector-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.sector-card p { font-size: 0.83rem; color: var(--grey); line-height: 1.5; }

/* ============================================================
   CASE STUDY SPOTLIGHT
   ============================================================ */
.case-study { background: var(--dark); }
.case-label { color: rgba(255,255,255,0.4); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 8px; }
.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.case-left { }
.case-left h2 { color: var(--white); margin-bottom: 20px; }
.case-stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
}
.case-stat {
  flex: 1;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.case-stat:last-child { border-right: none; }
.case-stat-num { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.case-stat-label { font-size: 0.73rem; color: rgba(255,255,255,0.55); margin-top: 3px; }
.case-left p { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.case-right {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px;
}
.case-tech-list { margin-bottom: 32px; }
.case-tech-list h4 { color: #6ee69e; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tech-item:last-child { border-bottom: none; }
.tech-dot {
  width: 8px; height: 8px;
  background: #6ee69e;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.tech-item-text { color: rgba(255,255,255,0.75); font-size: 0.875rem; line-height: 1.5; }
.tech-item-text strong { color: var(--white); }
.case-quote {
  background: rgba(0,99,43,0.2);
  border-left: 3px solid var(--green);
  padding: 20px 20px 20px 20px;
  border-radius: 0 8px 8px 0;
}
.case-quote p { color: rgba(255,255,255,0.85); font-style: italic; font-size: 0.92rem; line-height: 1.6; margin-bottom: 10px; }
.case-quote cite { color: rgba(255,255,255,0.5); font-size: 0.78rem; font-style: normal; }

/* ============================================================
   SUSTAINABILITY STRIP
   ============================================================ */
.sustainability { background: var(--off-white); }
.sust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.sust-left .sust-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green); margin-bottom: 12px; }
.sust-left h2 { margin-bottom: 20px; }
.sust-left p { color: var(--grey); line-height: 1.75; margin-bottom: 28px; font-size: 1rem; }
.sust-award {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}
.award-icon { font-size: 2rem; }
.award-text { font-size: 0.85rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.award-text span { color: var(--green); }
.sust-points { }
.sust-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.sust-point:last-child { border-bottom: none; }
.sust-point-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sust-point-text h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.sust-point-text p { font-size: 0.85rem; color: var(--grey); line-height: 1.5; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { background: var(--white); }
.video-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.video-content h2 { margin-bottom: 16px; }
.video-content p { color: var(--grey); line-height: 1.75; margin-bottom: 28px; font-size: 1rem; }
.video-attribution { font-size: 0.83rem; color: var(--grey); font-style: italic; }
.video-embed {
  background: #0d1117;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe { width: 100%; height: 100%; border: none; }
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d2818 0%, #004d21 100%);
  color: rgba(255,255,255,0.85);
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.play-btn {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background var(--transition);
}
.play-btn:hover { background: rgba(255,255,255,0.25); }
.video-placeholder h4 { font-size: 1rem; color: var(--white); }
.video-placeholder p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Self-hosted portrait ceremony video */
.ceremony-video {
  max-width: 360px;
  margin: 32px auto;
}
.ceremony-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1117;
  box-shadow: var(--shadow-lg);
}
.ceremony-video figcaption {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--grey);
  font-style: italic;
  text-align: center;
}

/* Cobot demo videos - mixed landscape/portrait, capped by height and centred */
.cb-video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
}
.cb-video { margin: 0; flex: 0 1 auto; max-width: 100%; }
.cb-video video {
  display: block;
  max-height: 440px;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  background: #0d1117;
  box-shadow: var(--shadow-lg);
}
.cb-video figcaption {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--grey);
  font-style: italic;
  text-align: center;
}

/* Self-hosted audio player */
.audio-feature { max-width: 640px; margin: 24px auto 0; }
.audio-feature audio { width: 100%; display: block; }
.audio-feature .audio-label { font-size: 0.9rem; color: var(--grey); margin-bottom: 10px; font-weight: 600; }

/* ============================================================
   PEOPLE SECTION
   ============================================================ */
.people-section { background: var(--green); }
.people-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.people-left h2 { color: var(--white); margin-bottom: 20px; }
.people-left p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.75; margin-bottom: 28px; }
.people-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.people-metric {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px 18px;
}
.people-metric-num { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.people-metric-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.people-right { }
.people-benefits { display: flex; flex-direction: column; gap: 12px; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 18px;
}
.benefit-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.benefit-text h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.benefit-text p { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--white); }
.testimonials-track-outer { overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.testimonial-stars { color: #f0a500; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.meta-avatar {
  width: 40px; height: 40px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--green);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.meta-text .meta-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.meta-text .meta-role { font-size: 0.78rem; color: var(--grey); }
.testimonials-nav { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}
.t-dot.active { background: var(--green); width: 28px; border-radius: 5px; }

/* ============================================================
   DUAL LEAD MAGNET
   ============================================================ */
.lead-magnet { background: var(--green-dark); }
.lead-magnet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .lead-magnet-grid { grid-template-columns: 1fr; }
}
.lead-card {
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.lead-card-primary {
  background: var(--green);
}
.lead-card-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.lead-card-icon { font-size: 2.5rem; margin-bottom: 20px; color: #fff; }
.lead-card-primary .lead-card-icon { color: #fff; }
.lead-card-secondary .lead-card-icon { color: #7ed957; }
.lead-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.lead-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.65; margin-bottom: 28px; }
.lead-card-primary .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.lead-card-primary .btn:hover { background: var(--green-light); }
.lead-card-secondary .btn { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25); }
.lead-card-secondary .btn:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   AREAS COVERED
   ============================================================ */
.areas-section { background: var(--off-white); padding: 56px 0; }
.areas-inner {
  text-align: center;
}
.areas-inner h2 { margin-bottom: 8px; }
.areas-inner .areas-sub { color: var(--grey); margin-bottom: 32px; font-size: 1rem; }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 32px;
}
.area-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
}
.area-tag:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1f13; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin: 16px 0 20px; color: rgba(255,255,255,0.6); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .mega-menu { width: 720px; }
  .hero-inner { gap: 40px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 72px 0 64px; }
  .trust-bar-inner { justify-content: center; gap: 16px; }
  .who-inner { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .tech-cards { grid-template-columns: 1fr; }
  .proximetrix-inner { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .case-inner { grid-template-columns: 1fr; gap: 40px; }
  .sust-inner { grid-template-columns: 1fr; gap: 40px; }
  .video-inner { grid-template-columns: 1fr; }
  .people-inner { grid-template-columns: 1fr; }
  .lead-magnet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .testimonials-track .testimonial-card { min-width: calc(50% - 12px); }
}

@media (max-width: 600px) {
  .section-pad { padding: 56px 0; }
  .container { padding: 0 16px; }
  .utility-bar { display: none; }
  h1 { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 20px; border-bottom: 1px solid rgba(255,255,255,0.15); border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { min-width: 100%; }
  .people-metrics { grid-template-columns: 1fr; }
}

/* ============================================================
   FONTAWESOME — global icon style overrides
   ============================================================ */

/* Base: inherit size from container */
.fa-solid, .fa-regular, .fa-brands {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/* ---- Icon containers (replace emoji block sizing) ---- */
.tech-card-icon .fa-solid,
.sector-icon .fa-solid,
.feature-icon .fa-solid,
.pain-icon .fa-solid,
.step-icon .fa-solid,
.service-icon .fa-solid {
  font-size: 1.6rem;
}

/* ---- Footer contact row ---- */
.footer-contact a .fa-solid {
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
  color: rgba(255,255,255,0.55);
  margin-right: 2px;
}

/* ---- Footer badge row (small badge icons if any) ---- */
.footer-badges .fa-solid { font-size: 0.7rem; }

/* ---- Testimonial stars ---- */
.testimonial-stars .fa-solid { color: #f5b800; font-size: 0.85rem; }

/* ---- Comparison / check-cross tables ---- */
.compare-check .fa-solid   { color: var(--green); }
.compare-cross .fa-solid   { color: #ccc; }

/* Shiftomate & Technology Hub comparison rows */
.sm-compare-val.yes .fa-solid     { color: #27c93f; }  /* dark table: bright green for contrast */
.th-compare-row.th-yes .fa-solid  { color: var(--green); }  /* light table: brand green is fine */
.sm-compare-val.no .fa-solid      { color: rgba(255,255,255,0.45); }  /* dark table */
.th-compare-row.th-no .fa-solid   { color: #ccc; }  /* light table */

/* ---- Live / status indicator circle ---- */
.cb-scene-live .fa-solid,
.sm-shift-status.live .fa-solid,
.fd-co2-live .fa-solid,
.px-live-dot .fa-solid {
  color: #6ee69e;
  font-size: 0.55em;
  vertical-align: middle;
}

/* ---- Proof-item checkmarks (hero sections) ---- */
.th-proof-item .fa-solid,
.fd-hero-proof .fa-solid {
  color: #6ee69e;
  font-size: 0.9rem;
}

/* ---- Section labels with icons ---- */
.fd-dim-tech-tag .fa-solid,
.cb-prop-callout .fa-solid,
.fd-co2-callout .fa-solid {
  color: var(--green);
}

/* ---- Pain cards (homepage) ---- */
.pain-card .pain-icon .fa-solid {
  font-size: 1.5rem;
  color: #fff;
}

/* ---- Sector cards ---- */
.sector-card .sector-icon .fa-solid {
  font-size: 1.8rem;
  color: var(--green);
}
/* on hover the icon box turns green, so the glyph must go white to stay visible */
.sector-card:hover .sector-icon .fa-solid { color: var(--white); }

/* ---- Services grid icons ---- */
.service-card .service-icon .fa-solid {
  font-size: 1.6rem;
  color: var(--green);
}

/* ---- Tech strip cards ---- */
.tech-card .tech-icon .fa-solid {
  font-size: 1.6rem;
  color: #6ee69e;
}

/* ---- Stats row (inline icons in stat items) ---- */
.stat-item .fa-solid {
  font-size: 1rem;
  opacity: 0.6;
}

/* ---- People / team section ---- */
.people-metric .fa-solid {
  font-size: 1.4rem;
  color: #6ee69e;
}

/* ---- Video play button ---- */
.video-play-btn .fa-solid,
.fd-video-play .fa-solid {
  font-size: 1.4rem;
  color: #fff;
  margin-left: 3px;
}

/* ---- Proximetrix sensor stream ---- */
.px-sensor-item .px-sensor-icon .fa-solid {
  font-size: 1.3rem;
  color: var(--green);
}

/* ---- Cobots step icons ---- */
.cb-step .cb-step-icon .fa-solid {
  font-size: 2rem;
}

/* ---- Cobots reporting points ---- */
.cb-rp-icon .fa-solid {
  font-size: 1.2rem;
  color: var(--green);
}

/* ---- 4D quadrant icons ---- */
.fd-quad-icon .fa-solid {
  font-size: 1.5rem;
}

/* ---- Technology hub orbit items ---- */
.th-oi-icon .fa-solid {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}

/* ---- Technology hub tech cards ---- */
.th-card .th-card-icon-wrap .fa-solid {
  font-size: 1.4rem;
}
.th-card-shiftomate  .th-card-icon-wrap .fa-solid { color: var(--green); }
.th-card-proximetrix .th-card-icon-wrap .fa-solid { color: #0099cc; }
.th-card-cobots      .th-card-icon-wrap .fa-solid { color: var(--green); }
.th-card-fourd       .th-card-icon-wrap .fa-solid { color: #c07800; }

/* ---- Lakeside stat icons ---- */
.th-lk-icon .fa-solid { font-size: 1.2rem; }

/* ---- Saving flow icons (cobots) ---- */
.cb-saving-icon .fa-solid { font-size: 1.2rem; }

/* ---- FutureScape note icon ---- */
.cb-fn-icon .fa-solid { font-size: 1rem; color: #a07800; }

/* ---- Futurescape event attendee highlight ---- */
.cb-ea-list span .fa-solid { font-size: 0.75rem; }

/* ---- Triathlete card (fourd) ---- */
.fd-tri-icon .fa-solid { font-size: 1.8rem; color: var(--green); }

/* ---- Proximetrix case cards ---- */
.px-case-card .fa-solid { font-size: 1.1rem; }

/* ---- Shiftomate proof strip ---- */
.sm-proof-strip .fa-solid { font-size: 1.4rem; color: #6ee69e; }

/* ---- Shiftomate feature list bullets ---- */
.sm-feature-list li .fa-solid { color: var(--green); margin-right: 4px; }

/* ---- Audit form icon ---- */
.th-audit-icon .fa-solid { font-size: 1.8rem; color: var(--green); }

/* ============================================================
   SERVICE PAGE BODY (Laravel build addition)
   ============================================================ */
.service-body { max-width: 820px; }
.service-body h2 { margin: 40px 0 16px; }
.service-body p { margin-bottom: 16px; line-height: 1.7; }
.service-body ul { margin: 0 0 24px 22px; line-height: 1.7; }
.service-body li { margin-bottom: 8px; }
.doubt-box { background: #f3f7f4; border-left: 4px solid #2e7d4f; border-radius: 8px; padding: 24px 28px; margin: 32px 0; }
.doubt-box h3 { margin-bottom: 10px; }
.evidence-strip { display: flex; flex-wrap: wrap; gap: 28px; background: #0f2e1d; color: #fff; border-radius: 12px; padding: 28px 32px; margin: 32px 0; }
.evidence-strip .ev { min-width: 120px; }
.evidence-strip .ev-num { font-size: 1.6rem; font-weight: 800; color: #7ed957; }
.evidence-strip .ev-label { font-size: 0.85rem; opacity: 0.85; }
.service-cta-band { background: #0f2e1d; color: #fff; border-radius: 12px; padding: 40px; margin-top: 48px; text-align: center; }
.service-cta-band h2 { color: #fff; margin-bottom: 12px; }
.service-cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.service-cta-band .btn { margin: 6px; }

/* Content figures (image audit migration) */
.service-body figure { margin: 28px 0; }
.service-body figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.service-body figure.clipping img { max-width: 420px; margin: 0 auto; box-shadow: 0 6px 24px rgba(0,0,0,0.15); }
.service-body figcaption { font-size: 0.82rem; opacity: 0.7; margin-top: 10px; text-align: center; }
.figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .figure-row { grid-template-columns: 1fr; } }

/* Company logo image */
.logo img { height: 52px; width: auto; display: block; }
.site-footer .footer-logo img { height: 56px; width: auto; margin-bottom: 14px; }

/* Blog share buttons */
.share-row { display: flex; gap: 10px; align-items: center; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.08); }
.share-row span { font-weight: 600; font-size: 0.9rem; margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #0f2e1d; color: #fff; transition: opacity .15s; }
.share-btn:hover { opacity: 0.8; }

/* ============================================================
   SKELETON LOADING (Facebook-style) + layout shift prevention
   ============================================================ */
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Shimmer placeholder on the CONTAINER, so it stays visible while the
   transparent (still-loading) image fades in on top of it */
.service-body figure,
.post-hero-img,
.service-card img {
  background: linear-gradient(110deg, #e8ece9 8%, #f6f8f6 18%, #e8ece9 33%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 10px;
}

/* Reserve space BEFORE the image loads, so text never jumps */
.post-hero-img img { aspect-ratio: 16 / 9; object-fit: cover; }
.figure-row figure:not(.clipping) img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-body figure:not(.clipping):not(.post-hero-img) img { min-height: 220px; object-fit: cover; }
.service-body figure.clipping img { min-height: 280px; object-fit: contain; }

/* Gentle fade-in for images once loaded (JS adds the class) */
.img-fade { opacity: 0; }
.img-fade.img-loaded { opacity: 1; transition: opacity .35s ease; }

/* Stop the shimmer once its image has loaded */
.service-body figure:has(.img-loaded),
.post-hero-img:has(.img-loaded),
.service-card img.img-loaded {
  animation: none;
  background: none;
}

/* ============================================================
   MICRO-ANIMATIONS
   ============================================================ */

/* Scroll reveal: elements rise gently into view (JS adds .reveal / .in-view) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Buttons: lift on hover, settle on press */
.btn { transition: transform .18s ease, box-shadow .22s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,46,29,0.18); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: 0 3px 10px rgba(15,46,29,0.14); transition-duration: .08s; }

/* Cards: deeper lift, icon nudge, arrow slide */
.service-card, .sector-card, .tech-card, .testimonial-card, .pain-card, .lead-card {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, border-color .2s ease;
}
.service-card:hover, .sector-card:hover, .tech-card:hover { transform: translateY(-6px); }
.service-icon, .sector-icon, .tech-card-icon, .sust-point-icon, .benefit-icon {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.service-card:hover .service-icon,
.sector-card:hover .sector-icon,
.tech-card:hover .tech-card-icon { transform: scale(1.12) rotate(-4deg); }
.service-arrow, .tech-card-link { transition: transform .2s ease; display: inline-block; }
.service-card:hover .service-arrow, .tech-card:hover .tech-card-link { transform: translateX(5px); }

/* Trust badges: subtle wake-up on hover */
.trust-badge { transition: transform .2s ease, opacity .2s ease; opacity: .85; }
.trust-badge:hover { transform: translateY(-3px); opacity: 1; }

/* Nav links: animated underline */
.main-nav .nav-link { position: relative; }
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--green, #2e7d4f); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.main-nav .nav-item:hover .nav-link::after { transform: scaleX(1); }

/* Footer links: slide on hover */
.footer-col a { transition: padding-left .18s ease, color .18s ease; }
.footer-col a:hover { padding-left: 6px; }

/* Area tags: pop */
.area-tag { transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.area-tag:hover { transform: scale(1.06); }

/* Accessibility: respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .sector-card, .tech-card, .service-icon, .sector-icon,
  .tech-card-icon, .trust-badge, .area-tag { transition: none; }
  .service-body figure, .post-hero-img, .service-card img { animation: none; }
}

/* ============================================================
   PORTRAIT IMAGE HANDLING (no more cropped heads)
   ============================================================ */

/* Blog listing cards: crop from the top of the frame, where faces are */
.service-card img.card-img {
  width: 100%; height: 180px; object-fit: cover; object-position: center top;
  border-radius: 8px; margin-bottom: 16px;
}

/* Default crop bias for all cover-fitted content images: keep the upper part */
.post-hero-img img,
.figure-row figure:not(.clipping) img,
.service-body figure:not(.clipping):not(.post-hero-img) img {
  object-position: center 22%;
}

/* Portrait images (JS marks .is-portrait): show the WHOLE image,
   letterboxed over a blurred copy of itself, Facebook-style */
.service-body figure, .post-hero-img { position: relative; overflow: hidden; border-radius: 10px; }
figure.is-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--img);
  background-size: cover; background-position: center;
  filter: blur(26px) brightness(.88) saturate(1.1);
  transform: scale(1.2);
}
figure.is-portrait img {
  position: relative;
  object-fit: contain !important;
  max-height: 520px;
}

/* Captions sit on a clean strip, not on the blurred backdrop */
figure.is-portrait figcaption { position: relative; background: #fff; margin-top: 0; padding: 10px 8px 6px; }

/* ============================================================
   CONTACT FORM (replicated from old site /contacts)
   ============================================================ */
.contact-form .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label > span { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-form input[type=text], .contact-form input[type=tel], .contact-form input[type=email],
.contact-form input[type=number], .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green, #2e7d4f); box-shadow: 0 0 0 3px rgba(46,125,79,0.12);
}
.contact-form fieldset.service-types { border: 1px solid #e0e4e0; border-radius: 10px; padding: 16px; margin-top: 18px; }
.contact-form fieldset.service-types legend { font-weight: 600; padding: 0 8px; }
.service-type-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.service-type-pill { cursor: pointer; }
.service-type-pill input { position: absolute; opacity: 0; pointer-events: none; }
.service-type-pill span {
  display: inline-block; padding: 8px 14px; border: 1px solid #cfd8cf; border-radius: 999px;
  font-size: .88rem; transition: all .15s ease; background: #fff;
}
.service-type-pill:hover span { border-color: var(--green, #2e7d4f); }
.service-type-pill input:checked + span { background: var(--green, #2e7d4f); color: #fff; border-color: var(--green, #2e7d4f); }
.service-type-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(46,125,79,0.25); }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-form .form-2col { grid-template-columns: 1fr; }
}

/* Footer certification badges as images (from old site) */
.footer-badges-img { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-badges-img a {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; padding: 6px 8px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.footer-badges-img img { height: 44px; width: auto; display: block; }
.footer-badges-img a:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }

/* Trust bar: official badge images replacing generic icons */
.trust-badge-img { height: 46px; width: auto; flex-shrink: 0; }

/* ============================================================
   TRUST BAR MARQUEE: one row, edge to edge, auto-scrolling
   ============================================================ */
.trust-marquee {
  overflow: hidden;
  width: 100%;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 38s linear infinite;
}
.trust-marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}
.trust-marquee .trust-badge { flex-shrink: 0; white-space: nowrap; }
@keyframes trust-scroll {
  to { transform: translateX(-50%); }
}
/* pause so people can actually read / click */
.trust-marquee:hover .trust-marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track { animation: none; }
}

/* Stats row: full-bleed edge to edge, centred text, ~20% smaller */
.stats-row .stats-grid { width: 100%; }
.stat-item { padding: 38px 26px; }
.stat-num { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }
.stat-main { font-size: 0.9rem; }
.stat-sub { font-size: 0.72rem; }

/* ============================================================
   ARCH PHOTO FRAME (about hero): clean, premium, on-brand
   ============================================================ */
.arch-frame {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  animation: arch-float 9s ease-in-out infinite alternate;
}
.arch-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 999px 999px 18px 18px;   /* arch: rounded top, soft base */
  box-shadow: 0 20px 48px rgba(15, 46, 29, 0.18);
}
/* thin offset outline echoing the arch, classic refined detail */
.arch-outline {
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 2px solid rgba(46, 125, 79, 0.4);
  border-radius: 999px 999px 18px 18px;
  z-index: 1;
}
/* soft green glow behind the top of the arch */
.arch-glow {
  position: absolute;
  width: 75%; height: 55%;
  right: -16%; top: -8%;
  background: radial-gradient(closest-side, rgba(126, 217, 87, 0.45), transparent 70%);
  filter: blur(8px);
  border-radius: 50%;
  z-index: 0;
}
/* subtle dot grid peeking out bottom-left */
.arch-dots {
  position: absolute;
  width: 44%; height: 28%;
  left: -14%; bottom: 4%;
  background-image: radial-gradient(rgba(46, 125, 79, 0.38) 1.6px, transparent 2.1px);
  background-size: 13px 13px;
  z-index: 0;
}
@keyframes arch-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-7px); }
}
@media (max-width: 820px) {
  .arch-frame { max-width: 260px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .arch-frame { animation: none; }
}

/* Variant B: big soft-radius card frame (same decorations, different shape) */
.card-frame {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  animation: arch-float 9s ease-in-out infinite alternate;
}
.card-frame img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(15, 46, 29, 0.18);
}
.card-frame .arch-outline {
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 2px solid rgba(46, 125, 79, 0.4);
  border-radius: 28px;
  z-index: 1;
}
@media (max-width: 820px) {
  .card-frame { max-width: 260px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .card-frame { animation: none; }
}

/* ============================================================
   PHOTO STAGE (about hero): layered decorated photo
   Eco Drift palette: greens + gold accent (award nod)
   ============================================================ */
.photo-stage {
  --stage-brand: #2e7d4f;
  --stage-brand-light: #7ed957;
  --stage-gold: #e3a92d;
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

/* layer 1: organic blob behind the photo */
.photo-stage .deco-blob {
  position: absolute;
  inset: 6% 2% 4% 8%;
  background: var(--stage-brand);
  opacity: .16;
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  z-index: 1;
}
/* layer 2: grid, top left */
.photo-stage .deco-grid {
  position: absolute;
  top: 0; left: 0;
  width: 140px; height: 140px;
  background-image:
    linear-gradient(rgba(46,125,79,.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(46,125,79,.35) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: .55;
  z-index: 0;
}
/* layer 3: dots, bottom right */
.photo-stage .deco-dots {
  position: absolute;
  bottom: -10px; right: -14px;
  width: 130px; height: 110px;
  background-image: radial-gradient(var(--stage-brand) 2.4px, transparent 2.4px);
  background-size: 17px 17px;
  opacity: .5;
  z-index: 0;
}
/* layer 4: outlined ring, top right */
.photo-stage .deco-ring {
  position: absolute;
  top: -4px; right: 8%;
  width: 72px; height: 72px;
  border: 4px solid var(--stage-gold);
  border-radius: 50%;
  z-index: 1;
}
/* layer 5: solid accent dots */
.photo-stage .deco-dot-a, .photo-stage .deco-dot-b {
  position: absolute; border-radius: 50%; z-index: 3;
}
.photo-stage .deco-dot-a { width: 16px; height: 16px; background: var(--stage-brand-light); bottom: 14%; left: -2%; }
.photo-stage .deco-dot-b { width: 10px; height: 10px; background: var(--stage-brand); top: 18%; left: 6%; }
/* layer 6: sparkles */
.photo-stage .deco-star { position: absolute; z-index: 3; }
.photo-stage .deco-star.s1 { top: 4%; left: 22%; width: 28px; color: var(--stage-gold); }
.photo-stage .deco-star.s2 { bottom: 6%; right: 24%; width: 19px; color: var(--stage-gold); transform: rotate(20deg); }
.photo-stage .deco-star.s3 { top: 36%; right: -3%; width: 15px; color: var(--stage-brand-light); transform: rotate(-12deg); }
/* layer 7: squiggle */
.photo-stage .deco-squiggle {
  position: absolute;
  bottom: 2%; left: 18%;
  width: 66px; z-index: 3;
  color: var(--stage-brand);
}
/* the photo itself */
.photo-stage .photo-frame {
  position: absolute;
  inset: 7% 9% 6% 11%;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  background: #e8ece9;
  box-shadow: 0 18px 40px rgba(15, 46, 29, 0.16);
}
.photo-stage .photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
/* gentle sparkle float */
@media (prefers-reduced-motion: no-preference) {
  .photo-stage .deco-star { animation: stage-float 4s ease-in-out infinite; }
  .photo-stage .deco-star.s2 { animation-delay: 1.3s; }
  .photo-stage .deco-star.s3 { animation-delay: 2.1s; }
  @keyframes stage-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
  }
}
@media (max-width: 820px) {
  .photo-stage { max-width: 310px; margin-top: 16px; }
}

/* ============================================================
   HERO VIDEO BACKGROUND
   ============================================================ */
.hero--video {
  /* fallback colour shows if the video is slow or blocked */
  background: linear-gradient(135deg, #003d1a 0%, #00632b 50%, #004d21 100%);
}
.hero--video .container { position: relative; z-index: 2; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* Dark green wash keeps the white hero text readable over the bright office footage */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(0,45,20,0.92) 0%, rgba(0,61,26,0.78) 42%, rgba(0,77,33,0.55) 100%),
    linear-gradient(0deg, rgba(0,45,20,0.45), rgba(0,45,20,0.10));
  pointer-events: none;
}
/* Hide the decorative SVG dot pattern when video is present */
.hero--video::before { display: none; }
@media (max-width: 820px) {
  /* On the right-hand stats card column the video still reads well behind everything */
  .hero-video-overlay {
    background: linear-gradient(160deg, rgba(0,45,20,0.94) 0%, rgba(0,61,26,0.82) 60%, rgba(0,77,33,0.7) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Respect reduced-motion: freeze on the poster by hiding the playing video */
  .hero-video { display: none; }
  .hero--video { background-image: url("/video/hero2-poster.jpg"); background-size: cover; background-position: center; }
}

/* Compact hero: lower the banner height only (text + photo-stage untouched) */
.hero--compact { padding: 52px 0 44px; }

/* ============================================================
   FOOTER PATTERN — subtle depth on the flat dark green
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  /* gentle gradient instead of a flat fill */
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(46,125,79,0.28), transparent 55%),
    linear-gradient(180deg, #0f2417 0%, #0d1f13 60%);
}
/* dotted texture, very low opacity, fades toward the bottom */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(126,217,87,0.16) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
/* soft oversized brand leaf-blob glow, bottom-left corner */
.site-footer::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(46,125,79,0.30), transparent 70%);
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }

/* ============================================================
   PAGINATION (blog) — matches site styling
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border, #e0e4e0);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark, #1a1a1a);
  background: #fff;
  text-decoration: none;
  transition: all .15s ease;
}
.pagination a.page-link:hover {
  border-color: var(--green, #2e7d4f);
  color: var(--green, #2e7d4f);
  transform: translateY(-2px);
}
.pagination .page-link.active {
  background: var(--green, #2e7d4f);
  border-color: var(--green, #2e7d4f);
  color: #fff;
}
.pagination .page-link.disabled {
  opacity: .45;
  cursor: default;
}
.pagination .page-link.dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}
