/* ============================================================
   BrandMe — Main Stylesheet
   New Jersey's Premier Creative Agency
   Colors: Kelly Green #00A651 | Black #000 | White #FFF
   ============================================================ */

/* ── 1. Variables & Reset ─────────────────────────────────── */
:root {
  --kelly-green: #00A651;
  --dark-green: #008040;
  --black: #000000;
  --dark-bg: #0a0a0a;
  --gray: #1a1a1a;
  --card-bg: #111111;
  --white: #FFFFFF;
  --red: #ff4444;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;
  --border-dark: #2a2a2a;
  --text-muted: #888888;
  --text-light: #cccccc;

  --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --nav-height: 72px;
  --section-pad: clamp(60px, 8vw, 100px);
  --container-max: 1280px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-green: 0 4px 24px rgba(0,166,81,0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;        /* ← hard lock — no horizontal scroll ever */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 2. Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { font-size: 1rem; line-height: 1.75; color: var(--text-light); }
p.lead { font-size: 1.15rem; }

.text-green { color: var(--kelly-green); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.section-tag {
  display: inline-block;
  background: rgba(0,166,81,0.12);
  color: var(--kelly-green);
  border: 1px solid rgba(0,166,81,0.3);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── 3. Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section { padding: var(--section-pad) 0; }
.section-dark { background: var(--dark-bg); }
.section-gray { background: var(--gray); }
.section-card { background: var(--card-bg); }
.section-light { background: var(--light-gray); color: var(--black); }
.section-light p { color: #444; }
.section-light .text-muted { color: #666; }
.section-green {
  background: linear-gradient(135deg, var(--kelly-green) 0%, var(--dark-green) 100%);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 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-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* ── 4. Navigation ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  /* Ensures crisp render on retina screens */
  image-rendering: -webkit-optimize-contrast;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--text-light);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-link .chevron {
  width: 12px; height: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #141414;
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown a:hover {
  background: rgba(0,166,81,0.1);
  color: var(--white);
}

.dropdown a .dd-icon {
  width: 28px; height: 28px;
  background: rgba(0,166,81,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 6px 0;
}

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-nav-quote {
  background: var(--kelly-green);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav-quote:hover {
  background: var(--dark-green);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #0e0e0e;
  border-bottom: 1px solid var(--border-dark);
  padding: 20px;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  z-index: 999;
}

.mobile-menu.open { display: block; }

.mobile-nav-item { border-bottom: 1px solid var(--border-dark); }
.mobile-nav-link {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
}
.mobile-subnav { padding: 0 0 12px 16px; }
.mobile-subnav a {
  display: block;
  padding: 8px 4px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.mobile-subnav a:hover { color: var(--kelly-green); }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--kelly-green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-outline-green {
  background: transparent;
  color: var(--kelly-green);
  border: 1.5px solid var(--kelly-green);
}
.btn-outline-green:hover {
  background: var(--kelly-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-dark {
  background: var(--gray);
  color: var(--white);
}
.btn-dark:hover { background: #2a2a2a; }

.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }

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

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

.hero-inner {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,166,81,0.12) 0%, transparent 65%);
  position: absolute; inset: 0; pointer-events: none;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,166,81,0.1);
  border: 1px solid rgba(0,166,81,0.25);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kelly-green);
  margin-bottom: 28px;
  font-family: var(--font-heading);
}

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

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

.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  color: var(--kelly-green);
  position: relative;
}

.hero p.lead { margin-bottom: 40px; max-width: 580px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .num span { color: var(--kelly-green); }
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Page hero (non-homepage) */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--border-dark);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0,166,81,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p.lead { max-width: 660px; margin-bottom: 32px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--kelly-green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

/* ── 7. Cards ─────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(0,166,81,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-icon {
  width: 52px; height: 52px;
  background: rgba(0,166,81,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: rgba(0,166,81,0.2);
  transform: scale(1.05);
}

.card h3 { margin-bottom: 12px; color: var(--white); }
.card p { font-size: 0.9rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--kelly-green);
  transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }

/* Service cards with image header */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0,166,81,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.service-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-card-img .img-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.service-card-body { padding: 24px; }
.service-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card-body p { font-size: 0.875rem; margin-bottom: 16px; }

.service-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kelly-green);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

/* ── 8. Stats Section ─────────────────────────────────────── */
.stats-section { padding: 60px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.stat-item {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: var(--border-dark);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num .green { color: var(--kelly-green); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ── 9. Process / Steps ───────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }

.process-step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 40px;
  font-size: 1.2rem;
  color: var(--kelly-green);
  opacity: 0.6;
}

.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--kelly-green), var(--dark-green));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 auto 20px;
}

.process-step h4 { margin-bottom: 10px; color: var(--white); }
.process-step p { font-size: 0.85rem; }

/* ── 10. Testimonials ─────────────────────────────────────── */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 32px;
}

.testimonial-stars {
  color: #FFB800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kelly-green), var(--dark-green));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.author-title { font-size: 0.78rem; color: var(--text-muted); }

/* ── 11. CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--gray) 0%, #111 100%);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,166,81,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 500px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-full {
  background: linear-gradient(135deg, var(--kelly-green) 0%, var(--dark-green) 100%);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-full h2 { color: var(--white); margin-bottom: 16px; }
.cta-full p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 36px; }

/* ── 12. Forms ────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--gray);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--kelly-green);
  box-shadow: 0 0 0 3px rgba(0,166,81,0.15);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

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

/* Light form (for light sections) */
.form-light .form-group input,
.form-light .form-group textarea,
.form-light .form-group select {
  background: var(--white);
  border-color: var(--border-gray);
  color: var(--black);
}
.form-light .form-group label { color: #333; }
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder { color: #999; }
.form-light .form-group input:focus,
.form-light .form-group textarea:focus,
.form-light .form-group select:focus {
  border-color: var(--kelly-green);
}

/* ── 13. Portfolio Grid ───────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; }

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item-bg {
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-bg { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: var(--white); margin-bottom: 4px; }
.portfolio-overlay p { font-size: 0.8rem; color: var(--kelly-green); margin: 0; }

/* Portfolio filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: none;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--kelly-green);
  border-color: var(--kelly-green);
  color: var(--white);
}

/* ── 14. Feature List ─────────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(0,166,81,0.15);
  color: var(--kelly-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list.light li { color: #333; }
.feature-list.light li::before { background: rgba(0,166,81,0.1); }

/* ── 15. FAQ Accordion ────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { color: var(--kelly-green); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--kelly-green);
  border-color: var(--kelly-green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* ── 16. Pricing Cards ────────────────────────────────────── */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--kelly-green);
  background: linear-gradient(180deg, rgba(0,166,81,0.08) 0%, var(--card-bg) 60%);
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--kelly-green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.pricing-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--kelly-green); margin-bottom: 12px; font-family: var(--font-heading); }
.pricing-price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 6px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border-dark); margin: 24px 0; }
.pricing-features { margin-bottom: 32px; }

/* ── 17. Team ─────────────────────────────────────────────── */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover { border-color: rgba(0,166,81,0.3); transform: translateY(-4px); }

.team-photo {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.team-info { padding: 24px; }
.team-name { font-weight: 700; font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--kelly-green); font-weight: 600; margin-bottom: 12px; font-family: var(--font-heading); }
.team-bio { font-size: 0.875rem; }

/* ── 18. Footer ───────────────────────────────────────────── */
.footer {
  background: #050505;
  border-top: 1px solid var(--border-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand .footer-logo {
  display: block;
  margin-bottom: 20px;
}

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

.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; max-width: 280px; }

.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--gray);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: var(--kelly-green); border-color: var(--kelly-green); color: var(--white); }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--kelly-green); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-item .icon {
  width: 32px; height: 32px;
  background: var(--gray);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item .info { font-size: 0.82rem; }
.footer-contact-item .info .label { color: var(--text-muted); margin-bottom: 2px; }
.footer-contact-item .info a,
.footer-contact-item .info span { color: var(--text-light); }
.footer-contact-item .info a:hover { color: var(--kelly-green); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright { font-size: 0.8rem; color: var(--text-muted); }
.footer-copyright a { color: var(--kelly-green); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--white); }

/* ── 19. Dividers & Misc ──────────────────────────────────── */
.divider { height: 1px; background: var(--border-dark); }

.badge {
  display: inline-block;
  background: rgba(0,166,81,0.12);
  color: var(--kelly-green);
  border: 1px solid rgba(0,166,81,0.25);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-white {
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  border-color: rgba(255,255,255,0.12);
}

.highlight-box {
  background: rgba(0,166,81,0.08);
  border: 1px solid rgba(0,166,81,0.2);
  border-radius: var(--border-radius);
  padding: 20px 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--white) 0%, var(--kelly-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient color blocks for service cards */
.grad-green { background: linear-gradient(135deg, #00A651 0%, #006633 100%); }
.grad-dark { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); }
.grad-blue { background: linear-gradient(135deg, #1a3a5c 0%, #0f2139 100%); }
.grad-purple { background: linear-gradient(135deg, #3a1a5c 0%, #1f0f39 100%); }
.grad-orange { background: linear-gradient(135deg, #5c3a1a 0%, #39200f 100%); }
.grad-teal { background: linear-gradient(135deg, #0a4a4a 0%, #052929 100%); }
.grad-red { background: linear-gradient(135deg, #5c1a1a 0%, #390f0f 100%); }

/* ── 20. Cart (DVRT Page) ─────────────────────────────────── */
.cart-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
}

.cart-btn {
  width: 56px; height: 56px;
  background: var(--kelly-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  border: none;
  color: var(--white);
  transition: var(--transition);
}

.cart-btn:hover { background: var(--dark-green); transform: scale(1.05); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
}

.cart-panel {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 400px;
  background: #0e0e0e;
  border-left: 1px solid var(--border-dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-panel.open { transform: translateX(0); }

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 { font-size: 1.1rem; }

.cart-close {
  width: 32px; height: 32px;
  background: var(--gray);
  border: none;
  border-radius: 6px;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
}

.cart-item-img {
  width: 60px; height: 60px;
  background: var(--gray);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.875rem; color: var(--white); margin-bottom: 4px; }
.cart-item-variant { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 26px; height: 26px;
  background: var(--gray);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--kelly-green); border-color: var(--kelly-green); }
.qty-num { font-size: 0.875rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; background: none; border: none; color: var(--red); font-size: 1rem; cursor: pointer; }
.cart-item-price { font-weight: 700; font-size: 0.9rem; color: var(--white); align-self: flex-start; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-dark);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-total span:first-child { font-weight: 700; font-family: var(--font-heading); color: var(--white); }
.cart-total .total-price { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--kelly-green); }

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1090;
  display: none;
}
.cart-overlay.show { display: block; }

/* Product cards (DVRT) */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-dark);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { border-color: rgba(0,166,81,0.3); transform: translateY(-4px); }
.product-img {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
}
.product-badge-new {
  position: absolute; top: 12px; left: 12px;
  background: var(--kelly-green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.product-body { padding: 20px; }
.product-name { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.product-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.product-price { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--kelly-green); margin-bottom: 16px; }
.product-options { margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.option-btn {
  padding: 5px 12px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  transition: var(--transition);
}
.option-btn:hover, .option-btn.active { border-color: var(--kelly-green); color: var(--kelly-green); }
.add-to-cart-btn {
  width: 100%;
  background: var(--kelly-green);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.add-to-cart-btn:hover { background: var(--dark-green); }

/* ── 21. Animations ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── 22. Responsive ───────────────────────────────────────── */

/* ── Tablet (≤1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Mobile (≤768px) ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* — Navbar — */
  .nav-menu { display: none; }
  .nav-actions .btn-nav-quote { display: none; }
  .hamburger { display: flex; }

  /* — GLOBAL: Override ALL inline grid layouts — */
  /* This catches every div/section using inline style="grid-template-columns:..." */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* — GLOBAL: Clamp any inline fixed widths wider than viewport — */
  [style*="max-width"] {
    max-width: 100% !important;
    width: 100% !important;
  }
  [style*="width:800px"], [style*="width: 800px"],
  [style*="width:860px"], [style*="width: 860px"],
  [style*="width:900px"], [style*="width: 900px"],
  [style*="width:620px"], [style*="width: 620px"],
  [style*="width:600px"], [style*="width: 600px"],
  [style*="width:580px"], [style*="width: 580px"],
  [style*="width:560px"], [style*="width: 560px"],
  [style*="width:540px"], [style*="width: 540px"],
  [style*="width:520px"], [style*="width: 520px"],
  [style*="width:480px"], [style*="width: 480px"],
  [style*="width:460px"], [style*="width: 460px"],
  [style*="width:420px"], [style*="width: 420px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* — Named utility grids — */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* — Hero (homepage) — */
  .hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 56px; }
  .hero-visual { display: none !important; }
  .hero-float-badge { display: none !important; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero p.lead { font-size: 1rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 24px;
  }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; }

  /* — Page hero (inner pages) — */
  .page-hero { padding: calc(var(--nav-height) + 28px) 0 44px; }
  .page-hero h1 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .page-hero p.lead { font-size: 0.95rem; }

  /* — Section headers — */
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); }

  /* — Cards — */
  .card { padding: 24px 20px; }
  .pricing-card { padding: 28px 20px; }
  .testimonial-card { padding: 24px 18px; }

  /* — CTA banners — */
  .cta-banner { padding: 40px 20px; }
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-full { padding: 56px 0; }

  /* — Process steps — */
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-step:not(:last-child)::after { display: none; }

  /* — Stats — */
  .stat-item::after { display: none; }

  /* — Footer — */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-legal { justify-content: center; }

  /* — Cart panel — */
  .cart-panel { width: 100%; }

  /* — Filter tabs — */
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: 0.78rem; }

  /* — Portfolio grid — */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* — Team section — */
  .team-photo { height: 180px; }

  /* — Highlight/info boxes — */
  .highlight-box { padding: 16px 18px; }

  /* — Section padding reduction — */
  .section { padding: clamp(48px, 7vw, 80px) 0; }
  .stats-section { padding: 44px 0; }
}

/* ── Small mobile (≤480px) ────────────────────────────────── */
@media (max-width: 480px) {

  /* — Container tighter padding — */
  .container { padding: 0 16px; }

  /* — Typography scale down — */
  h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* — Stats: 2 col — */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .stat-num { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  /* — Hero stat numbers — */
  .hero-stat .num { font-size: 1.3rem; }
  .hero-stats { gap: 16px; }

  /* — Buttons full width — */
  .hero-actions .btn { padding: 13px 20px; font-size: 0.875rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.9rem; }

  /* — Cards — */
  .card { padding: 20px 16px; }
  .card-icon { width: 44px; height: 44px; font-size: 1.2rem; }

  /* — Service cards — */
  .service-card-img { height: 160px; }

  /* — Process step numbers — */
  .step-num { width: 46px; height: 46px; font-size: 1rem; }

  /* — Testimonials — */
  .testimonial-text { font-size: 0.875rem; }

  /* — Portfolio — */
  .portfolio-item { aspect-ratio: 16/10; }

  /* — Pricing — */
  .pricing-price { font-size: 2rem; }

  /* — FAQ — */
  .faq-question { font-size: 0.9rem; }

  /* — Forms — */
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; } /* prevents iOS zoom on focus */

  /* — Footer — */
  .footer { padding: 48px 0 0; }
  .footer-social { flex-wrap: wrap; }
  .footer-copyright { font-size: 0.75rem; }

  /* — Section tag chips — */
  .section-tag { font-size: 0.68rem; padding: 5px 12px; }

  /* — Nav logo size — */
  .nav-logo-img { height: 28px; }
}

/* ── 23. Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--kelly-green); }

/* ── 24. Selection ────────────────────────────────────────── */
::selection { background: rgba(0,166,81,0.3); color: var(--white); }

/* ── 25. Client Logo Bar (Infinite Marquee) ───────────────── */
.logo-bar-section {
  display: flex;
  align-items: stretch;
  min-height: 80px;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  background: var(--dark-bg);
  overflow: hidden;
}

/* Left label column */
.logo-bar-label-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 36px;
  border-right: 1px solid var(--border-dark);
  background: var(--dark-bg);
}
.logo-bar-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

/* Scrolling track container */
.logo-bar-track-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* Fade masks on both edges */
.logo-bar-track-wrapper::before,
.logo-bar-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-bar-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-bg) 0%, transparent 100%);
}
.logo-bar-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-bg) 0%, transparent 100%);
}

/* The moving track — duplicated logos create seamless loop */
.logo-bar-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 32s linear infinite;
}
.logo-bar-track:hover {
  animation-play-state: paused;
}

/* Individual logo slots */
.logo-bar-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-right: 1px solid var(--border-dark);
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.logo-bar-item:last-child { border-right: none; }
.logo-bar-item:hover { opacity: 1; }

.logo-bar-item img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  /* Greyscale + dim by default; full color on hover */
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.3s ease;
}
.logo-bar-item:hover img {
  filter: grayscale(0) brightness(1);
}

/* Marquee keyframe — moves exactly half (the duplicate set) */
@keyframes logo-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reduced motion: disable animation */
@media (prefers-reduced-motion: reduce) {
  .logo-bar-track { animation: none; }
}

/* Mobile: hide label, tighten padding */
@media (max-width: 768px) {
  .logo-bar-label-wrap { display: none; }
  .logo-bar-item { padding: 14px 24px; }
  .logo-bar-item img { height: 30px; max-width: 100px; }
  .logo-bar-track-wrapper::before,
  .logo-bar-track-wrapper::after { width: 40px; }
}
