/* ============================================================
   KOSCA Distribution — Products Page Styles
   Philosophy: Structured Warmth
   Aesthetic: Editorial / Magazine
============================================================ */


/* ============================================================
   PAGE HERO — Products
============================================================ */

/* Indigo jewel hero — matches the services/academy page heroes. */
.products-hero {
  background: var(--gradient-jewel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(227, 200, 121, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.products-hero__breadcrumb {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.products-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.products-hero__breadcrumb a:hover {
  color: var(--color-gold-light);
}

.products-hero__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
}

.products-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.products-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
}

.products-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold-light);
  border-radius: 2px;
}

.products-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--color-surface);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}

.products-hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.products-hero__tagline {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  max-width: 540px;
}

@media (max-width: 768px) {
  .products-hero {
    padding: var(--space-10) 0 var(--space-8);
  }
  .products-hero__title {
    font-size: var(--text-3xl);
  }
  .products-hero::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-hero__title {
    font-size: var(--text-2xl);
  }
}


/* ============================================================
   FILTER TOGGLE BAR
============================================================ */

/* Champagne strip — sticky within the catalogue section only. Because it lives
   inside #catalog, position:sticky pins it while the section scrolls and
   releases it at the section's bottom (never floats over later sections). */
.filter-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: var(--z-raised);
  background: var(--color-champagne);
  border-bottom: 1px solid var(--color-gold-faint);
  box-shadow: var(--shadow-xs);
  /* Pull flush to the section's top edge (cancel the section top padding) so it
     pins right under the nav, and add breathing room before the content. */
  margin-top: calc(-1 * var(--section-py));
  margin-bottom: var(--space-10);
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-3);
}

.filter-bar__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.filter-tabs {
  display: flex;
  gap: var(--space-1);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

.filter-tab svg {
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.filter-tab:hover {
  color: var(--color-brand-primary-dark);
  background: var(--color-gold);
}

.filter-tab:hover svg {
  opacity: 1;
}

.filter-tab.is-active {
  background: var(--color-brand-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.filter-tab.is-active svg {
  opacity: 1;
}

/* Touch devices: lift the filter pills to a 44px tap target (WCAG 2.5.5).
   Mouse/trackpad keep the compact height — coarse pointer only. */
@media (pointer: coarse) {
  .filter-tab { min-height: 44px; }
}

@media (max-width: 480px) {
  .filter-bar__label {
    display: none;
  }
  .filter-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }
}


/* ============================================================
   CATALOG VIEWS — Shared
============================================================ */

.catalog-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.catalog-view.is-active {
  display: block;
}

.catalog-view.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   BY BRAND VIEW
============================================================ */

/* Eyebrow on the light catalog section — gold-deep per the gold-eyebrow rule. */
#catalog .section-label {
  color: var(--color-gold-deep);
}

.brands-view-header {
  margin-bottom: var(--space-10);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.brands-grid > .brand-card:nth-child(odd):last-child { grid-column: 1 / -1; }

/* Indigo jewel cards on the light section — plum bloom + gold hairline, gold
   name, light text (matches the Our Approach / brand-training jewel cards). */
.brand-card {
  background: var(--gradient-jewel-plum);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 12px 32px rgba(43, 38, 96, 0.28);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Gold hairline across the top. */
.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.brand-card:hover {
  box-shadow: 0 16px 40px rgba(43, 38, 96, 0.34);
  transform: translateY(-4px);
}

.brand-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}

.brand-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-gold-light);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

/* Frosted-aurora badge — the CTA's blooming aurora palette baked into a static
   multi-hue wash, under a frosted-glass sheen, with gold text. Same character as
   the "Looking for a specific product?" CTA, at pill scale. */
/* Frosted-aurora badge — the CTA's blooming aurora palette as a drifting multi-hue
   wash baked into the badge background (animated via background-position), with a
   light sheen and gold text. Animation lives on the element itself (not a negative-z
   pseudo, which some engines won't animate). */
.brand-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  position: relative;
  overflow: hidden;
  color: var(--color-gold-light);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid var(--color-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(43, 38, 96, 0.30);
  background-color: var(--color-brand-primary-dark);
  background-image:
    radial-gradient(60% 90% at 50% 50%, rgba(86, 64, 196, 0.95) 0%, transparent 70%),
    radial-gradient(60% 90% at 50% 50%, rgba(190, 70, 150, 0.85) 0%, transparent 70%),
    radial-gradient(65% 95% at 50% 50%, rgba(34, 160, 150, 0.70) 0%, transparent 72%),
    radial-gradient(60% 90% at 50% 50%, rgba(224, 168, 70, 0.78) 0%, transparent 70%);
  background-repeat: no-repeat;
  background-size: 200% 200%, 200% 200%, 220% 220%, 200% 200%;
  background-position: 0% 0%, 100% 0%, 30% 100%, 100% 100%;
  animation: badge-aurora 5s ease-in-out infinite;
}

@keyframes badge-aurora {
  0%, 100% { background-position: 0% 0%, 100% 0%, 30% 100%, 100% 100%; }
  50%      { background-position: 100% 100%, 0% 80%, 90% 10%, 10% 30%; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-card__badge { animation: none; }
}

/* Soft light sheen over the aurora, below the text. */
.brand-card__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

/* Keep the icon above the sheen. */
.brand-card__badge svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.brand-card__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.brand-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.brand-card__category-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-wide);
}

/* All four lines share the same indigo identity (one brand — Wella Company). */

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .brand-card {
    padding: var(--space-6);
  }
  .brand-card__name {
    font-size: var(--text-2xl);
  }
}


/* ============================================================
   BY CATEGORY VIEW
============================================================ */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

/* Indigo jewel cards on the light section — matches the line cards (plum bloom
   + gold hairline, gold name, light text, gold-tile icon, light pills). */
.category-card {
  position: relative;
  overflow: hidden;
  background: var(--gradient-jewel-plum);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 12px 32px rgba(43, 38, 96, 0.28);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Gold hairline across the top. */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.category-card:hover {
  box-shadow: 0 16px 40px rgba(43, 38, 96, 0.34);
  transform: translateY(-4px);
}

/* Solid gold gradient icon tile with indigo glyph — beats the global jewel-tile
   standardizer (which forces indigo + gold glyph via !important). */
.category-card__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8ee 0%, #e8c97a 50%, #b8820f 100%) !important;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: var(--radius-lg);
  color: var(--color-brand-primary) !important;
  box-shadow: 0 4px 12px rgba(43, 38, 96, 0.25);
  flex-shrink: 0;
}

.category-card__icon-wrap svg {
  color: var(--color-brand-primary) !important;
}

/* Icon + title on one line. */
.category-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.category-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-gold-light);
  line-height: var(--leading-snug);
}

.category-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-relaxed);
}

.category-card__product-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

.category-card__product-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-full);
  letter-spacing: var(--tracking-wide);
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    padding: var(--space-6);
  }
  .category-card__name {
    font-size: var(--text-xl);
  }
}


/* ============================================================
   FEATURED PRODUCTS — "New & Notable"
============================================================ */

/* Indigo jewel section — gold eyebrow, light header, light product cards. */
.featured-products {
  background: var(--gradient-jewel);
}

.featured-products .section-label {
  color: var(--color-gold-light);
}

.featured-products .section-title {
  color: var(--color-surface);
}

.featured-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Indigo jewel placeholder — plum bloom + gold glyph (like the other indigo
   image placeholders). Replaced by a real <img> when available. */
.product-card__image-wrap {
  position: relative;
  background: var(--gradient-jewel-plum);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Uploaded featured-product image fills the 4:3 wrap. */
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gold-light);
  opacity: 0.85;
}

.product-card__image-placeholder svg {
  width: 40px;
  height: 40px;
}

.product-card__image-placeholder span {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.product-card__brand-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 3px var(--space-3);
  background: var(--color-brand-primary-dark);
  color: var(--color-gold-light);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
}

.product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.product-card__category {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-gold-deep);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.product-card__category::before {
  content: '';
  display: block;
  width: 12px;
  height: 1px;
  background: var(--color-gold-deep);
}

@media (max-width: 1024px) {
  .featured-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .featured-products__grid {
    grid-template-columns: 1fr;
  }
  .featured-products__header {
    margin-bottom: var(--space-8);
  }
}


/* ============================================================
   QUALITY ASSURANCE BLOCK
============================================================ */

.quality-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  display: flex;
  align-items: center;
  gap: var(--space-10);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.quality-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-brand-primary-faint) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.quality-block__icon-column {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--color-brand-primary) 0%, var(--color-brand-primary-dark) 100%);
  border: 1px solid rgba(201, 162, 75, 0.30);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.quality-block__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.quality-block__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: var(--space-3);
  display: block;
}

.quality-block__statement {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.quality-block__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.quality-pillar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.quality-pillar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold-light);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .quality-block {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-6);
    border-radius: var(--radius-xl);
  }
  .quality-block__statement {
    font-size: var(--text-xl);
  }
}

@media (max-width: 480px) {
  .quality-block__pillars {
    gap: var(--space-2);
  }
  .quality-pillar {
    font-size: var(--text-xs);
  }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
  .catalog-view,
  .brand-card,
  .category-card,
  .product-card,
  .brand-card::before {
    transition: none;
  }
}


/* ============================================================
   BRAND CARD — DEEP-DIVE DATA (origin, tagline, KOSCA role, badge)
   Indigo jewel surface → light/gold text on dark.
============================================================ */

.brand-card__origin {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-3);
}

.brand-card__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

/* KOSCA role panel — translucent inset on the indigo card.
   margin-top:auto pins it to the bottom so panels share a baseline across a row,
   regardless of how much variable content (tagline/desc) sits above. */
.brand-card__role {
  margin-top: auto;
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

/* Add breathing room above the role panel once the categories pin it down. */
.brand-card__categories {
  margin-bottom: var(--space-5);
}

.brand-card__role-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
}

.brand-card__role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.brand-card__role-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-relaxed);
}

.brand-card__role-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-light);
  flex-shrink: 0;
  margin-top: 7px;
}



/* ============================================================
   TESTIMONIALS — light cards on the indigo ground (MVV treatment:
   white surface, gold top bar, dark text, deep-gold accents, hover
   lift to gold border). Text rules are scoped under .testimonials-section
   so they beat the shared `.section--indigo [class*="card"]` light override.
============================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 12, 45, 0.30);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(15, 12, 45, 0.42);
  border-color: var(--color-gold);
}

/* Gold top bar — fades at the ends, matching the jewel card crowns elsewhere. */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.testimonial-card__quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-brand-primary-faint);
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-weight: var(--weight-black);
  user-select: none;
  pointer-events: none;
}

.testimonials-section .testimonial-card__body {
  font-size: var(--text-md);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  padding-top: var(--space-10);
  quotes: none;
}

.testimonial-card__author {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}

/* Jewel icon chip — deep indigo with gold ring + gold glyph, matching the MVV
   icon tiles. Scoped under .testimonials-section so the gold glyph beats the
   shared `.section--indigo [class*="card"]` light-text override. */
.testimonials-section .testimonial-card__author-initial {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    linear-gradient(160deg, var(--color-brand-primary) 0%, var(--color-brand-primary-dark) 100%);
  border: 1px solid rgba(201, 162, 75, 0.45);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials-section .testimonial-card__name {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.testimonials-section .testimonial-card__role {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card {
    transition: none;
  }
  .testimonial-card:hover {
    transform: none;
  }
}
