﻿.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.process-card h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.process-card p { color: var(--text-secondary); line-height: 1.6; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  text-align: left;
}
.value-card:hover { border-color: var(--red); transform: translateY(-6px); }
.value-icon { width: 64px; height: 64px; min-width: 64px; background: var(--bg-secondary); border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; align-self: center; }
.value-icon svg { width: 36px; height: 36px; stroke: var(--red); fill: none; stroke-width: 1.4; }
.value-card h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); line-height: 1.6; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card h4 {
  font-style: normal !important;
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0;
}
.testimonial-card p {
  color: var(--text-secondary);
  line-height: 1.75;
}
.testimonial-card .stars {
  font-size: 16px !important;
  letter-spacing: 1px !important;
  color: var(--red);
}
/* ═══════════════════════════════════════════════════════════════
   BREAK ENGINEERING - Master Stylesheet
   Electrical Engineering Consultants · Winnipeg, MB
   ═══════════════════════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  color-scheme: dark;

  /* Brand Colors */
  --red: #0062cc;
  --red-dark: #004494;
  --red-light: #1a7aff;
  --red-glow: rgba(0,98,204, 0.3);
  --red-subtle: rgba(0,98,204, 0.06);
  --red-border: rgba(0,98,204, 0.2);
  --blue: var(--red);

  /* Backgrounds (blueish-black theme) */
  --bg-primary: #071226; /* very dark navy */
  --bg-secondary: #0d1b2a; /* slightly lighter/navy */
  --bg-card: #0f2336; /* card background */
  --bg-card-hover: #12314a;
  --bg-input: #ffffff;

  /* Borders */
  --border: #55534f;
  --border-light: #6d6963;
  --border-focus: var(--red);

  /* Text */
  --text-primary: #f8f5f0;
  --text-secondary: #e8e2da;
  --text-muted: #cec8be;
  --text-dim: #a89f95;

  /* Typography */
  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --nav-height: 62px;
  --max-width: 1280px;
  --section-pad: 80px;
  --section-pad-mobile: 56px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
  --transition-slow: 0.6s var(--ease);
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

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

ul, ol { list-style: none; }

::selection {
  background: var(--red);
  color: #fff;
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-padding {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

main > .section-padding:nth-of-type(odd) {
  background: var(--bg-primary);
}

main > .section-padding:nth-of-type(even) {
  background: var(--bg-secondary);
}

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 8px 20px rgba(0,98,204, 0.13);
  margin-bottom: 14px;
  display: block;
  line-height: 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label.label-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-label {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 24px 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 30px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

.btn-white {
  background: #fff;
  color: var(--red);
}
.btn-white:hover {
  background: #f3f4f6;
  color: var(--red);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
  color-scheme: light;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.nav-logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 11px;
  color: #111 !important;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  margin-left: 8px;
  padding: 7px 14px;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--red-dark);
}
.nav-cta.active,
.nav-cta.active:hover {
  color: #fff !important;
  background: var(--red) !important;
}
.nav-cta::after { display: none; }


/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  transition: var(--transition);
  display: block;
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── NAV SOCIAL ICONS ─── */
.nav-socials { display:flex; align-items:center; gap:5px; margin-left:10px; }
.nav-socials a { width:33px; height:33px; display:flex; align-items:center; justify-content:center; background:var(--red); color:#fff; border:none; transition:background 0.2s; }
.nav-socials a:hover { background:var(--red-dark); }
@media(max-width:768px) {
  .nav-socials { display:none; }
  .nav-links.open .nav-socials {
    display: grid;
    grid-template-columns: repeat(2, 36px);
    gap: 4px;
    justify-content: center;
    width: fit-content;
    margin: 14px auto 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .nav-links.open .nav-socials a { width:36px; height:36px; }
}

/* Responsive grids */
@media(max-width:1024px) {
  .process-grid, .values-grid { grid-template-columns: repeat(2, 1fr); gap:16px; }
}
@media(max-width:680px) {
  .intro .container, .process-grid, .values-grid, .intro-features { grid-template-columns: 1fr; }
  .process-grid, .values-grid { gap:18px; }
  .nav-socials { display:flex; gap:8px; margin-left:6px; }
  .nav-socials a { width:36px; height:36px; border-radius:6px; }
}

/* Sitewide header normalization so page-level inline styles can't drift */
.nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--border) !important;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12) !important;
}

.nav-link {
  color: #1a1a1a !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

.nav-item > .nav-link::after {
  border-top-color: #111 !important;
}

.nav-item:hover > .nav-link::after,
.nav-item > .nav-link:hover::after,
.nav-item > .nav-link.active::after {
  border-top-color: var(--red) !important;
}

.nav-link.nav-cta,
.nav-link.nav-cta:hover,
.nav-link.nav-cta.active,
.nav-link.nav-cta.active:hover {
  color: #fff !important;
  background: var(--red) !important;
}

.nav-link.nav-cta.active::after {
  display: none !important;
}

.nav-toggle span {
  background: #111 !important;
}

.dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

.dropdown a {
  color: #333 !important;
}

.dropdown a:hover {
  color: var(--red) !important;
  background: rgba(0,98,204, 0.08) !important;
}

.action-bar a {
  color: #fff !important;
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  padding-top: calc(var(--nav-height) + 80px);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,98,204,0.06), transparent 70%);
  pointer-events: none;
}

/* ─── HERO (HOME) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #071226;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: brightness(0.85) contrast(0.82) saturate(0.6) blur(2px);
}

.hero-slideshow img:nth-child(2) {
  animation-delay: 6s;
  object-position: center 42%;
}

.hero-slideshow img:nth-child(3) {
  animation-delay: 12s;
  object-position: center 50%;
}

.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,12,28,0.50) 0%, rgba(5,12,28,0.35) 40%, rgba(5,12,28,0.15) 100%),
    rgba(0,8,20,0.08);
}

@keyframes heroFade {
  0%, 30% { opacity: 1; transform: scale(1); }
  36%, 94% { opacity: 0; transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,98,204,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,98,204,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red-border);
  padding: 8px 18px;
  margin-bottom: 30px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6.2vw, 74px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 28px;
  max-width: 760px;
}
.hero h1 .red { color: var(--red); }
.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  max-width: 620px;
  margin-top: 36px;
  background: rgba(148, 163, 184, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.hero-proof {
  background: rgba(13, 27, 42, 0.84);
  padding: 18px 16px;
}

.hero-proof strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  color: var(--red-light);
  margin-bottom: 6px;
}

.hero-proof span {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.hero-stat {
  background: var(--bg-secondary);
  padding: 32px 28px;
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── INTRO SECTION ─── */
.intro {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intro-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.intro-feature:hover { border-color: var(--red); }

.intro-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--red-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}

.intro-feature h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.intro-feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ─── INDUSTRY GRID ─── */
.industries-grid,
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 50px;
}

.industry-card,
.specialty-card {
  background: var(--bg-card);
  padding: 48px 32px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.industry-card::before,
.specialty-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.industry-card:hover,
.specialty-card:hover {
  background: var(--bg-card-hover);
}
.industry-card:hover::before,
.specialty-card:hover::before {
  transform: scaleX(1);
}

.industry-icon,
.specialty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg,
.specialty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.2;
}

.industry-card h4,
.specialty-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.specialty-card {
  padding: 56px 36px;
}
.specialty-icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.specialty-card:hover .specialty-icon {
  border-color: var(--red);
}
.specialty-icon svg {
  width: 36px;
  height: 36px;
}
.specialty-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.specialty-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Utility classes moved from inline styles */
.mt-0 { margin-top: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.border-top-none { border-top: none !important; }
.min-height-180 { min-height: 180px !important; }
.sr-only { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.mt-24 { margin-top: 24px !important; }
.mt-2 { margin-top: 2px !important; }
.text-center { text-align: center !important; }
.brand-cell {
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.grid-2-40 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.grid-2-60 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.grid-2-2px {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card-highlight {
  padding: 48px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.card-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  margin-bottom: 24px;
}
.card-header-siemens { background: rgba(0,157,154,0.06); border: 1px solid rgba(0,157,154,0.2); }
.card-header-schneider { background: rgba(61,174,43,0.06); border: 1px solid rgba(61,174,43,0.2); }
.card-header-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.card-title-sm {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 12px 0;
}
.card-text { color: var(--text-secondary); line-height: 1.8; }
.social-buttons { margin-top: 20px; display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.link-small-muted { font-size: 13px; margin-top: 4px; }
.link-highlight { color: var(--red); font-weight: 600; }
.link-red { color: var(--red); }
.relative-z2 { position: relative; z-index: 2; }
.bg-secondary-bordered { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mx-auto { margin-left: auto; margin-right: auto; }
.brand-strip-item { padding: 16px 28px; background: var(--bg-card); border: 1px solid var(--border); font-family: var(--font-heading); font-size: 15px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.certs-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.cert-item:hover {
  border-color: var(--red);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}
.cert-mark {
  width: 160px;
  min-width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0a2345;
  padding: 0;
}
.cert-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cert-mark-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}
.cert-item h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cert-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 6px;
}
.social-buttons { margin-top: 20px; display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.h4-no-margin { margin: 0; }
.cta-band {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}
.cta-band p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 30px;
  color: #fff;
}

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg-card);
  padding: 0;
  transition: var(--transition), transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(0) scale(1);
  will-change: transform, box-shadow;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height var(--transition);
}
.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08), inset 0 0 0 1px rgba(0,98,204, 0.12);
  animation: none;
}
.service-card:hover::after { height: 100%; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-card-link,
.service-card:hover .service-card-number {
  color: var(--text-primary);
}
.service-card:hover .service-card-number {
  color: var(--red-dark);
  text-shadow: none;
  border-color: var(--red-dark);
  background: rgba(0,98,204, 0.06);
}
.service-card:hover .service-card-link {
  color: var(--red);
  text-shadow: none;
}
.service-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.06) contrast(1.08) saturate(1.05);
}
.service-card:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.08), inset 0 0 0 1px rgba(0,98,204, 0.1);
  animation: none;
}

@keyframes cardGlowPulse {
  0%, 100% { box-shadow: 0 16px 30px rgba(255, 60, 60, 0.15), 0 0 0 0 rgba(255, 80, 80, 0.0); }
  50% { box-shadow: 0 20px 36px rgba(255, 90, 90, 0.24), 0 0 0 8px rgba(255, 100, 100, 0.08); }
}

.service-card-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,98,204,0.72);
  line-height: 1;
  margin-bottom: 16px;
  width: fit-content;
  min-width: 68px;
  padding: 7px 10px 8px;
  border: 2px solid rgba(0,98,204,0.28);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,38,0.05), rgba(7,18,38,0.48));
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.service-card-icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 1.6;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.service-image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.service-detail-image {
  min-height: 440px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.service-detail-image.is-secondary {
  min-height: 300px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}

.service-detail-image:hover img {
  transform: scale(1.035);
  filter: brightness(1.05) contrast(1.06);
}

.service-cert-panel {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
}

.service-cert-panel h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-cert-panel .cert-badges {
  margin-top: 0;
}

.cert-badge .cert-badge-text {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0a2345;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card-link:hover { gap: 12px; }

.service-card h3 {
  transform: translateY(12px);
  transition: transform 0.45s ease;
  transition-delay: 0.1s;
}
.service-card.visible h3 {
  transform: translateY(0);
  transition-delay: 0s;
}
.service-card .service-card-link {
  transform: translateY(8px);
  transition: transform 0.45s ease, color var(--transition), gap var(--transition);
  transition-delay: 0.2s;
}
.service-card.visible .service-card-link {
  transform: translateY(0);
  transition-delay: 0s;
}

/* ─── MAPLE LEAF ─── */
.maple-leaf { display:inline-flex; align-items:center; vertical-align:middle; }

/* ─── SERVICE DETAIL ─── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}

.service-detail-main h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 40px;
}
.service-detail-main h2:first-child { margin-top: 0; }

.service-detail-main > p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list { margin: 30px 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
}
.feature-list li:first-child { border-top: 1px solid var(--border); }
.feature-list .check {
  color: var(--red);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}
.feature-list li strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Badges */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--red-border);
  transition: var(--transition);
  text-decoration: none;
}
a.cert-badge:hover {
  border-color: var(--red);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.cert-badge img,
.cert-badge svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 48px;
  background: transparent;
  padding: 0;
}
.cert-badge svg {
  padding: 5px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}
.cert-badge span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.cert-badge-csa {
  border: 1px solid var(--red-border);
}
.cert-badge-siemens {
  border: 1px solid var(--red-border);
}

/* Sidebar */
.sidebar-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  margin-bottom: 28px;
}
.sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sidebar-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.sidebar-cta .btn { width: 100%; justify-content: center; }

.sidebar-services {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
}
.sidebar-services h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.sidebar-services a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.sidebar-services a:last-child { border-bottom: none; }
.sidebar-services a:hover { color: var(--red); padding-left: 8px; }
.sidebar-services a.current { color: var(--red); font-weight: 600; }

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: #111;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-focus);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group select option {
  background: #fff;
  color: #111;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.contact-info-card a { color: var(--red); }

.emergency-note {
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 2px;
}
.emergency-note svg {
  width: 24px;
  min-width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}
.emergency-note p { font-size: 14px; color: var(--text-secondary); }
.emergency-note strong { color: var(--red); }
.emergency-note a { color: var(--red); font-weight: 600; }

.contact-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
}

.contact-hero-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 2px;
}

.info-block h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.info-block p, .info-block a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  display: block;
}

.info-block a:hover { color: var(--red); }

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.info-row svg {
  width: 18px;
  min-width: 18px;
  height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  margin-top: 3px;
}

.map-wrapper {
  width: 100%;
  height: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 2px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.file-upload-zone {
  border: 2px dashed var(--border);
  background: var(--bg-card);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  margin-bottom: 20px;
}

.file-upload-zone:hover, .file-upload-zone.dragover {
  border-color: var(--red);
  background: rgba(0,98,204, 0.03);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-zone svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1;
  margin-bottom: 12px;
}

.file-upload-zone p {
  font-size: 14px;
  color: var(--text-muted);
}

.file-upload-zone .red-text {
  color: var(--red);
  font-weight: 600;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.file-item button {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 32px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.form-section-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--red);
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.checkbox-group label {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

#fmsg {
  min-height: 180px;
}

.attachments-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.file-upload-zone p:last-child {
  font-size: 12px;
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
}

.file-upload-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

#fileError {
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
  margin: 8px 0 0;
}

button[type="submit"] {
  margin-top: 24px;
}

.phone-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--red);
}

.fax-text {
  font-size: 13px;
  margin-top: 4px;
}

.email-link {
  color: var(--red);
}

.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-24hour {
  color: var(--red);
}

/* ─── 404 PAGE ─── */
.page-404-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-404-container {
  text-align: center;
}

.page-404-number {
  font-family: var(--font-heading);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  opacity: 0.3;
}

.page-404-title {
  margin-top: 16px;
}

.page-404-desc {
  margin: 0 auto 40px;
}

.page-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Form Feedback */
.form-status {
  padding: 16px 24px;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(0, 180, 0, 0.1);
  border: 1px solid rgba(0, 180, 0, 0.3);
  color: #00b400;
}
.form-status.error {
  display: block;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  color: var(--red);
}
.btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ─── VIDEO SECTION ─── */
.video-section {
  position: relative;
  overflow: hidden;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: var(--transition);
  z-index: 2;
}
.video-play-btn:hover { background: var(--red-dark); }
.video-play-btn svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--border-light); }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  overflow-x: clip;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-grid > div,
.footer-bottom > * {
  min-width: 0;
}

.footer-brand {
  min-width: 0;
}

.footer-logo-wrap {
  display: inline-block;
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-privacy-link {
  color: #ffffff;
  font-size: 13px;
  font-weight: 300;
  text-decoration: underline;
  transition: color var(--transition);
}

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

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul li { margin-bottom: 10px; }
.footer ul li,
.footer ul li span,
.footer ul li a {
  line-height: 1.7;
}

.footer ul li a {
  display: inline-block;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: var(--transition);
  text-decoration: none;
}
.footer ul li span {
  display: inline-block;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}
.footer ul li a:hover { color: var(--red); }

.footer-brand > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-brand > div:last-child a {
  flex: 0 0 36px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── SECTION AMBIENT CANVAS ─── */
section.section-padding { position: relative; }
.section-ambient-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
section.section-padding > .container, .cta-band > .container { position: relative; z-index: 1; }


/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 62px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red-dark); }
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

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

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-down.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.zoom-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ─── SKIP LINK (Accessibility) ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ─── CORPORATE TONE ADJUSTMENTS ─── */
.hero-canvas-wrap canvas {
  opacity: 0.3 !important;
}

.hero-overlay {
  background: rgba(0,0,0,0.50) !important;
}

.testimonial-card h4 {
  font-style: normal !important;
}

.testimonial-card .stars {
  font-size: 14px !important;
  letter-spacing: 1px !important;
}

.btn-primary {
  letter-spacing: 2px;
  font-weight: 700;
}

.section-desc {
  text-transform: none;
}

/* ─── VALUES GRID 2-COLUMN VARIANT ─── */
.values-grid-2col {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media(max-width:680px) {
  .values-grid-2col { grid-template-columns: 1fr !important; }
}

/* ─── TEAM MEMBER CARDS ─── */
.team-member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
}

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 340px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
  border-color: var(--red);
}

.team-member-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition);
}
.team-member-card:hover .team-member-photo img {
  transform: scale(1.04);
}

.team-member-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.team-member-role {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.team-member-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}

.team-member-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.team-social-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}
.team-social-icon:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.team-more-btn {
  margin-top: 8px;
  padding: 12px 28px;
  font-size: 13px;
  align-self: flex-start;
  cursor: pointer;
  background: none;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}
.team-more-btn:hover {
  background: var(--red);
  color: #fff;
}

/* ─── TEAM MODAL ─── */
.team-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.team-modal.open {
  display: flex;
}

.team-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.team-modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.team-modal-header {
  display: flex;
  gap: 28px;
  padding: 40px 40px 28px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.team-modal-photo {
  width: 110px;
  min-width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
  background: var(--bg-secondary);
}
.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.team-modal-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
}

.team-modal-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}

.team-modal-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.team-modal-bio {
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-modal-bio p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
}

@media(max-width:560px) {
  .team-modal-header { flex-direction: column; align-items: center; text-align: center; padding: 28px 24px 20px; }
  .team-modal-bio { padding: 24px; }
  .team-modal-socials { justify-content: center; }
  .team-member-card { width: 100%; max-width: 400px; }
}
