/* Deep red industrial theme. Shared layout stays in /assets/css/. */
:root,
body,
.frontend-template {
  --primary: #b4232f !important;
  --primary-2: #df5963 !important;
  --primary-3: #7f1722 !important;
  --technical: #b4232f !important;
  --brand: #8d2d4a !important;
  --ink: #241a1b !important;
  --muted: #6c5b5d !important;
  --paper: #faf7f7 !important;
  --surface-2: #f3e9ea !important;
  --line: rgba(127, 23, 34, .14) !important;
  --line-strong: rgba(127, 23, 34, .28) !important;
  --deep: #2a1015 !important;
  --template-primary: #b4232f !important;
  --template-primary-2: #df5963 !important;
  --template-primary-3: #7f1722 !important;
  --template-accent: #d08a4b !important;
  --template-ink: #241a1b !important;
  --template-muted: #6c5b5d !important;
  --template-paper: #faf7f7 !important;
  --template-deep: #2a1015 !important;
  --frontend-action: #b4232f !important;
  --frontend-action-strong: #7f1722 !important;
  --frontend-action-soft: rgba(180, 35, 47, .10) !important;
  --frontend-surface: #ffffff !important;
  --frontend-surface-soft: #fbf4f4 !important;
  --frontend-surface-muted: #f7eeee !important;
  --frontend-line: rgba(127, 23, 34, .14) !important;
  --frontend-line-strong: rgba(127, 23, 34, .28) !important;
  --frontend-text: #6c5b5d !important;
  --frontend-text-strong: #241a1b !important;
  --frontend-placeholder: #f3e9ea !important;
  --frontend-panel: #ffffff !important;
  --frontend-panel-soft: #fbf4f4 !important;
  --frontend-deep: #2a1015 !important;
  --frontend-deep-alt: #7f1722 !important;
  --frontend-dark: #2a1015 !important;
  --frontend-dark-alt: #7f1722 !important;
  --frontend-dark-line: rgba(255, 255, 255, .18) !important;
}

.frontend-template .btn.primary,
.frontend-template .nav-rfq,
.frontend-template .language-menu a.active {
  background: #b4232f;
  border-color: #b4232f;
}

.frontend-template .btn.primary:hover,
.frontend-template .nav-rfq:hover {
  background: #7f1722;
  border-color: #7f1722;
}

/* Brand proof, contact entry and avatar treatment. Keep the quote calm so
   the product title and inquiry actions remain the visual priority. */
.frontend-template .brand-proof-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 2px solid rgba(180, 35, 47, .18);
  border-radius: 50%;
  background: #b4232f;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.frontend-template .brand-proof-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frontend-template .brand-proof {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 18px 0 4px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(36, 26, 27, .14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 16, 21, .08);
}

.frontend-template .product-brand-proof {
  max-width: 100%;
}

/* Customer logo proof band. It occupies the former proof-card position and
   uses a quiet, continuously moving logo rail to match the existing theme. */
.frontend-template .customer-logo-band {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(127, 23, 34, .16);
  border-radius: 16px;
  border-top: 1px solid rgba(127, 23, 34, .16);
  border-bottom: 1px solid rgba(127, 23, 34, .16);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px rgba(42, 16, 21, .08);
}

.frontend-template .customer-logo-band-hero {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.frontend-template .customer-logo-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-right: 1px solid rgba(127, 23, 34, .14);
  text-align: center;
}

.frontend-template .customer-logo-band-hero .customer-logo-intro .eyebrow,
.frontend-template .customer-logo-band-hero .customer-logo-intro p {
  display: none;
}

.frontend-template .customer-logo-intro h2 {
  max-width: 165px;
  margin: 0;
  color: #241a1b;
  font-size: clamp(1.14rem, 1.7vw, 1.38rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.frontend-template .customer-logo-list {
  min-width: 0;
  overflow: hidden;
  padding: 0 0 0 24px;
}

.frontend-template .customer-logo-track {
  display: flex;
  width: max-content;
  min-height: 80px;
  align-items: center;
  gap: clamp(28px, 4vw, 68px);
  animation: customer-logo-marquee 42s linear infinite;
  will-change: transform;
}

.frontend-template .customer-logo-band:hover .customer-logo-track,
.frontend-template .customer-logo-band:focus-within .customer-logo-track {
  animation-play-state: paused;
}

.frontend-template .customer-logo-item {
  display: grid;
  flex: 0 0 clamp(118px, 11vw, 168px);
  height: 80px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.frontend-template .customer-logo-item img {
  display: block;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: opacity .2s ease, transform .2s ease;
}

.frontend-template .customer-logo-item:hover img,
.frontend-template .customer-logo-item:focus-within img {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes customer-logo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .frontend-template .customer-logo-track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .frontend-template .customer-logo-band {
    grid-template-columns: 1fr;
    margin-top: -28px;
  }

  .frontend-template .customer-logo-intro {
    padding: 16px 18px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(127, 23, 34, .12);
  }

  .frontend-template .customer-logo-intro h2 {
    max-width: none;
  }

  .frontend-template .customer-logo-list {
    padding-left: 18px;
  }

  .frontend-template .customer-logo-track {
    min-height: 72px;
    gap: 28px;
  }

  .frontend-template .customer-logo-item {
    height: 72px;
  }

  .frontend-template .customer-logo-item img {
    height: 36px;
  }
}

.frontend-template .product-proof-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.frontend-template .product-proof-person {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.frontend-template .product-proof-person strong {
  color: #241a1b;
  font-size: .91rem;
  line-height: 1.25;
}

.frontend-template .product-proof-person small {
  color: #6c5b5d;
  font-size: .71rem;
  line-height: 1.35;
}

.frontend-template .product-proof-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  margin-top: -2px;
}

.frontend-template .product-proof-stars {
  color: #00a878;
  font-size: 1.1rem;
  letter-spacing: .04em;
  line-height: 1;
}

.frontend-template .product-proof-verified {
  color: #00996f;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
}

.frontend-template .product-proof-verified span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00a878;
  color: #fff;
  font-size: .64rem;
}

.frontend-template .product-brand-proof blockquote {
  margin: 0;
  color: #241a1b;
  font-size: .95rem;
  font-weight: 560;
  letter-spacing: .01em;
  line-height: 1.52;
}

.frontend-template .product-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
  border-top: 1px solid rgba(127, 23, 34, .12);
}

.frontend-template .product-proof-actions .btn {
  min-height: 42px;
  white-space: nowrap;
}

.frontend-template .product-proof-actions .btn.primary {
  padding-inline: 19px;
}

.frontend-template .product-proof-actions .whatsapp-cta {
  padding-inline: 18px;
}

.frontend-template .product-proof-actions .luxuryade-cta {
  padding-inline: 17px;
  border-color: rgba(36, 26, 27, .2);
  color: #241a1b;
}

.frontend-template .product-proof-actions .luxuryade-cta:hover {
  border-color: #241a1b;
  background: rgba(36, 26, 27, .06);
}

.frontend-template .product-proof-note {
  margin: -3px 0 0;
  color: #6c5b5d;
  font-size: .74rem;
  line-height: 1.45;
}

.frontend-template .utility-whatsapp,
.frontend-template .whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.frontend-template .utility-whatsapp svg,
.frontend-template .whatsapp-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.frontend-template .utility-whatsapp {
  color: #8d2d4a;
  font-weight: 700;
}

.frontend-template .whatsapp-cta {
  border-color: rgba(141, 45, 74, .3);
  color: #8d2d4a;
}

.frontend-template .whatsapp-cta:hover {
  border-color: #8d2d4a;
  background: rgba(141, 45, 74, .08);
}

@media (max-width: 760px) {
  .frontend-template .brand-proof {
    align-items: stretch;
    margin-top: 14px;
  }

  .frontend-template .utility-whatsapp span { display: none; }

  .frontend-template .product-proof-actions {
    flex-direction: column;
  }

  .frontend-template .product-proof-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frontend-template .brand-proof,
  .frontend-template .whatsapp-cta {
    transition: none !important;
  }
}
