:root {
  /* Enterprise Color Palette */
  --primary: #064e3b; /* Deep Industrial Green */
  --accent: #10b981;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --text-main: #020617;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --black: #000000;

  /* Spatial System (8px Grid) */
  --s-xs: 0.5rem; /* 8px */
  --s-sm: 1rem; /* 16px */
  --s-md: 1.5rem; /* 24px */
  --s-lg: 2rem; /* 32px */
  --s-xl: 4rem; /* 64px */
  --s-xxl: 6rem; /* 96px */

  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Resets --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.heading {
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--s-md);
}
a {
  text-decoration: none;
  transition: var(--transition);
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* --- Navigation & Utility --- */
.utility-bar {
  background: var(--black);
  padding: 12px 0;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-links {
  display: flex;
  gap: var(--s-lg);
}
.utility-links a {
  color: #94a3b8;
}
.utility-links a:hover {
  color: var(--accent);
}

nav {
  height: 100px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 55px;
}
.brand span {
  font-size: 1.4rem;
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: var(--s-md);
  align-items: center;
}
.nav-link-main {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-main);
}
.nav-link-main:hover {
  color: var(--primary);
}

.cart-trigger {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* --- Hero Section --- */
.hero {
  padding: var(--s-xxl) 0;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-xl);
  align-items: start;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  margin-bottom: var(--s-md);
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--s-lg);
  max-width: 540px;
}

/* --- Form Card (Booking) --- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: var(--s-lg);
  box-shadow: 20px 20px 0px var(--border);
}
.form-header {
  margin-bottom: var(--s-md);
  border-left: 4px solid var(--accent);
  padding-left: var(--s-sm);
}
.input-group {
  margin-bottom: var(--s-md);
}
label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-muted);
}
input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}
input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Services Grid --- */
.section-padding {
  padding: var(--s-xxl) 0;
}
.section-title {
  margin-bottom: var(--s-xl);
}
.section-title h2 {
  font-size: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-md);
}
.service-card {
  border: 1px solid var(--border);
  padding: var(--s-lg);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}
.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--s-md);
}

/* --- Order Appliances Section --- */
.appliance-section {
  background: var(--text-main);
  color: #fff;
  padding: var(--s-xl) 0;
}
.appliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-xl);
  align-items: center;
}
.appliance-link {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

/* --- Establishments Section --- */
.est-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.est-item {
  background: #fff;
  padding: var(--s-lg);
  text-align: center;
}
.est-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.est-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* --- Brands Section --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.brand-item {
  background: #fff;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(1);
  opacity: 0.5;
  transition: var(--transition);
}
.brand-item:hover {
  filter: grayscale(0);
  opacity: 1;
}
.brand-item img {
  max-height: 40px;
  object-fit: contain;
}

/* --- Map Section --- */
.map-container {
  height: 500px;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  position: relative;
}
.map-overlay {
  position: absolute;
  top: var(--s-md);
  left: var(--s-md);
  background: #fff;
  padding: var(--s-md);
  border: 1px solid var(--border);
  max-width: 320px;
  z-index: 10;
}

/* --- Footer --- */
footer {
  background: var(--black);
  color: #fff;
  padding: var(--s-xxl) 0 var(--s-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-xl);
}
.footer-col h4 {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: var(--s-md);
}
.footer-col a,
.footer-col p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

@media (max-width: 1024px) {
  .hero-grid,
  .appliance-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: none; /* remove soft shadows */
}

/* Grid layout */
.form-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

/* Full width fields */
.form-card .full-width {
  grid-column: span 2;
}

/* Inputs — sharp edges */
.form-card input,
.form-card select,
.form-card textarea {
  background: #f8fafc;
  border: 1px solid #d1d5db;
  border-radius: 0; /* 🔥 boxy */
  padding: 16px;
  font-size: 0.95rem;
  transition: border 0.2s ease;
}

/* Focus state — clean, not glowy */
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  background: #ffffff;
  border: 1px solid var(--primary);
  box-shadow: none;
  outline: none;
}

/* Textareas */
.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

/* Green Button — solid & boxy */
.btn-submit {
  grid-column: span 2;
  margin-top: 8px;

  background: var(--primary);
  color: #ffffff;

  padding: 18px;
  border-radius: 0; /* 🔥 sharp */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;

  box-shadow: none;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: #053b2e; /* darker green */
}

.btn-submit:active {
  background: #042d23;
}

/* Trust grid */
.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

/* Individual trust items */
.trust-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* --- Principal Engineers / Leadership Section --- */
.leadership-section {
  padding: var(--s-xxl) 0;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: var(--s-xl);
}
.leader-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.08);
}
.leader-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
  filter: grayscale(0.2);
}
.leader-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 4rem;
}
.leader-info {
  padding: var(--s-md);
  border-top: 3px solid var(--border);
  flex: 1;
}
.leader-card.featured .leader-info {
  border-top-color: var(--accent);
}
.leader-role {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}
.leader-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.2;
}
.leader-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.leader-badge {
  position: absolute;
  top: var(--s-sm);
  left: var(--s-sm);
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

@media (max-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

.est-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.est-category-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  transition: var(--transition);
}

.est-category-card:hover,
.est-category-card.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.est-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.est-card {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.est-card.show {
  display: block;
}

.est-gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.est-gallery-title {
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-main);
}

@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .brand span {
    font-size: 1.1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 760px;
  }

  .form-card {
    max-width: 100%;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* Tablet */
@media (max-width: 992px) {
  :root {
    --s-xl: 3rem;
    --s-xxl: 4.5rem;
  }

  nav {
    height: auto;
    padding: 18px 0;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .brand {
    align-items: center;
    width: 100%;
  }

  .brand img {
    height: 48px;
  }

  .brand span {
    font-size: 1rem;
    line-height: 1.25;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn-cta,
  .nav-link-main,
  .cart-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .utility-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .hero {
    padding: var(--s-xl) 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .form-card {
    padding: 24px;
  }

  .form-card form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-card .full-width,
  .btn-submit {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appliance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title h2 {
    font-size: 2.1rem;
  }

  .est-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .est-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-container {
    height: 420px;
  }

  .map-overlay {
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --s-lg: 1.5rem;
    --s-xl: 2.5rem;
    --s-xxl: 3.5rem;
  }

  body {
    line-height: 1.55;
  }

  .container {
    padding: 0 16px;
  }

  .utility-bar {
    font-size: 0.62rem;
    padding: 10px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    height: 40px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .btn-cta {
    padding: 11px 16px;
    font-size: 0.7rem;
  }

  .nav-link-main {
    font-size: 0.75rem;
  }

  .cart-trigger {
    font-size: 1rem;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
    line-height: 1;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .trust-item strong {
    font-size: 1.15rem;
  }

  .trust-item span {
    font-size: 0.72rem;
  }

  .form-card {
    padding: 20px 16px;
  }

  .form-header {
    margin-bottom: 20px;
  }

  .form-card input,
  .form-card select,
  .form-card textarea,
  input,
  select,
  textarea {
    padding: 14px;
    font-size: 0.92rem;
  }

  .btn-submit {
    padding: 16px;
  }

  .section-padding {
    padding: 56px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 1.85rem;
    line-height: 1.05;
  }

  .services-grid,
  .est-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-item {
    height: 84px;
    padding: 16px;
  }

  .brand-item img {
    max-height: 32px;
  }

  .est-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .est-category-card {
    padding: 16px;
    font-size: 0.9rem;
  }

  .est-gallery-image {
    height: 210px;
  }

  .est-gallery-title {
    padding: 14px;
    font-size: 0.9rem;
  }

  .map-container {
    height: 360px;
  }

  .map-overlay {
    position: static;
    max-width: 100%;
    margin-bottom: 12px;
  }

  footer {
    padding: 56px 0 24px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand span {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link-main,
  .btn-cta,
  .cart-trigger {
    width: 100%;
    justify-content: center;
  }

  .cart-trigger {
    border: 1px solid var(--border);
    min-height: 44px;
  }

  .cart-count {
    top: 6px;
    right: calc(50% - 26px);
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .section-title p,
  .hero p {
    font-size: 0.92rem;
  }

  .service-card,
  .est-card {
    border-radius: 0;
  }

  .est-gallery-image {
    height: 190px;
  }

  .map-container {
    height: 300px;
  }

  .footer-col h4 {
    font-size: 0.75rem;
  }

  .footer-col a,
  .footer-col p {
    font-size: 0.82rem;
  }
}

/* === BOOKING SUCCESS OVERLAY === */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: overlayIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.success-panel {
  background: #fff;
  border: 1px solid var(--border);
  max-width: 560px;
  width: calc(100% - 48px);
  padding: 52px;
  position: relative;
  overflow: hidden;
  animation: panelRise 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}
@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.checkmark-ring {
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  animation: ringIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
@keyframes ringIn {
  from {
    opacity: 0;
    transform: scale(0.55) rotate(-15deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
.check-svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}
.check-path {
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: square;
  fill: none;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 0.45s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}
.success-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}
.success-heading {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 14px;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}
.success-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}
.ref-block {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 20px 24px;
  margin-bottom: 32px;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}
.ref-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.success-actions {
  display: flex;
  gap: 12px;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.25s both;
}
.success-corner {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border);
  animation: fadeUp 0.4s ease 1.4s both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === BRAND MARQUEE === */
.brands-track-wrapper {
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.brands-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-item {
  flex: 0 0 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid var(--border);
  filter: grayscale(1);
  opacity: 0.5;
  transition: var(--transition);
}

.brand-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.brand-item img {
  max-height: 40px;
  object-fit: contain;
}
.brand-item span {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === REMOVE OLD brands-grid === */
.brands-grid { display: none; }

/* === BRAND MARQUEE === */
.brands-track-wrapper {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    width: 100%;
}

.brands-track {
    display: flex;
    flex-direction: row;        /* ← this was missing */
    flex-wrap: nowrap;          /* ← and this */
    width: max-content;
    animation: marquee-left 35s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex: 0 0 160px;            /* fixed width, no shrink/grow */
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid var(--border);
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
    white-space: nowrap;
}

.brand-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.brand-item img  { max-height: 40px; max-width: 120px; object-fit: contain; }
.brand-item span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); }
