/**
 * About page sections — Who We Are, Stats, Certifications, Mission/Vision,
 * Timeline, Team, Testimonials, FAQ.
 */

/* =========================================================================
 * Who We Are — magazine-style editorial spread
 * ====================================================================== */

.bes-who {
  background: var(--bes-white);
  position: relative;
}

.bes-who__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
}

@media (min-width: 1024px) {
  .bes-who__top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(56px, 6vw, 96px);
    align-items: center;
  }
}

.bes-who__media {
  position: relative;
  padding: 24px 24px 24px 0;
}

@media (min-width: 1024px) {
  .bes-who__media {
    max-width: 520px;
  }
}

.bes-who__accent {
  position: absolute;
  top: 0;
  left: 24px;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--bes-gold) 0%,
    var(--bes-gold-600) 100%
  );
  z-index: 0;
  transition: transform 900ms var(--bes-ease-out);
}

.bes-who__media:hover .bes-who__accent {
  transform: translate(-4px, -4px);
}

.bes-who__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bes-silver-50);
  z-index: 1;
}

.bes-who__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--bes-ease-out);
}

.bes-who__media:hover .bes-who__frame img {
  transform: scale(1.05);
}

.bes-who__frame-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  background-image:
    linear-gradient(rgba(219, 219, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 219, 219, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bes-who__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px 16px;
  background: var(--bes-black);
  border-left: 4px solid var(--bes-gold);
  z-index: 2;
}

.bes-who__badge-num {
  font-family: var(--bes-font-head);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bes-gold);
}

.bes-who__badge-lbl {
  font-family: var(--bes-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bes-silver);
}

.bes-who__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.9;
}

.bes-who__corner--tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--bes-white);
  border-left: 2px solid var(--bes-white);
}

.bes-who__corner--br {
  bottom: 14px;
  right: 14px;
  border-bottom: 2px solid var(--bes-white);
  border-right: 2px solid var(--bes-white);
}

@media (max-width: 639px) {
  .bes-who__corner {
    width: 20px;
    height: 20px;
  }
  .bes-who__corner--tl {
    top: 10px;
    left: 10px;
  }
  .bes-who__corner--br {
    bottom: 10px;
    right: 10px;
  }
}

.bes-who__copy {
  max-width: 640px;
}

.bes-who__title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.bes-who__lead {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--bes-text);
  padding-left: 20px;
  border-left: 3px solid var(--bes-gold);
  margin: 0 0 24px;
}

.bes-who__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bes-text-muted);
  margin: 0 0 16px;
}

.bes-who__text:last-child {
  margin-bottom: 0;
}

/* Pillars -------------------------------------------------------------- */

.bes-who__pillars {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--bes-border);
}

@media (min-width: 640px) {
  .bes-who__pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.bes-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  background: var(--bes-white);
  border: 1px solid var(--bes-border);
  overflow: hidden;
  transition:
    transform var(--bes-dur) var(--bes-ease-out),
    border-color var(--bes-dur) var(--bes-ease),
    box-shadow var(--bes-dur) var(--bes-ease);
}

.bes-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--bes-gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 600ms var(--bes-ease-out);
}

.bes-pillar:hover::before {
  transform: scaleY(1);
}

.bes-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--bes-gold);
  box-shadow: var(--bes-shadow-md);
}

.bes-pillar__num {
  display: inline-block;
  font-family: var(--bes-font-head);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bes-gold);
  margin-bottom: 6px;
  transition: transform var(--bes-dur) var(--bes-ease);
}

.bes-pillar:hover .bes-pillar__num {
  transform: translateX(4px);
}

.bes-pillar__num::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bes-gold);
  margin-top: 14px;
  opacity: 0.55;
  transition: width var(--bes-dur) var(--bes-ease);
}

.bes-pillar:hover .bes-pillar__num::after {
  width: 40px;
  opacity: 1;
}

.bes-pillar__title {
  font-family: var(--bes-font-head);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
  color: var(--bes-text);
}

.bes-pillar__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bes-text-muted);
  margin: 0;
}

.bes-who__pillars[data-stagger] > .bes-pillar {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms var(--bes-ease-out),
    transform 620ms var(--bes-ease-out);
  transition-delay: calc(var(--bes-stagger-i, 0) * 90ms);
}

.bes-who__pillars[data-stagger].is-visible > .bes-pillar {
  opacity: 1;
  transform: none;
}

.bes-who__pillars[data-stagger].is-visible > .bes-pillar:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .bes-pillar,
  .bes-pillar::before,
  .bes-pillar__num,
  .bes-pillar__num::after,
  .bes-who__frame img,
  .bes-who__accent {
    transition: none !important;
  }

  .bes-who__pillars[data-stagger] > .bes-pillar {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
 * Stats strip
 * ====================================================================== */

.bes-about-stats {
  background: var(--bes-black);
  color: var(--bes-text-on-dark);
}

.bes-about-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--bes-gold);
  border: 1px solid var(--bes-gold);
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .bes-about-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bes-about-stats__cell {
  background: var(--bes-black-900);
  padding: 34px 26px;
  text-align: center;
}

.bes-about-stats__number {
  display: block;
  font-family: var(--bes-font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--bes-gold);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bes-about-stats__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bes-silver);
}

/* =========================================================================
 * Mission & Vision
 * ====================================================================== */

.bes-mv {
  background: var(--bes-black-900);
  color: var(--bes-text-on-dark);
}

.bes-mv__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .bes-mv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.bes-mv__card {
  background: var(--bes-black-800);
  padding: 32px 30px;
  border-top: 4px solid var(--bes-gold);
}

.bes-mv__title {
  font-family: var(--bes-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bes-white);
  margin: 0 0 16px;
}

.bes-mv__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--bes-silver);
  margin-bottom: 20px;
}

.bes-mv__list {
  display: grid;
  gap: 10px;
}

.bes-mv__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--bes-silver);
}

.bes-mv__list svg {
  width: 14px;
  height: 14px;
  color: var(--bes-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

/* =========================================================================
 * Certifications — circular ISO badges with rotating gold orbit
 * ====================================================================== */

.bes-certif {
  background: var(--bes-silver-50);
}

.bes-certif__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
}

@media (min-width: 640px) {
  .bes-certif__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bes-certif__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 34px 28px 30px;
  background: var(--bes-white);
  border-top: 4px solid var(--bes-gold);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--bes-dur) var(--bes-ease-out),
    border-top-color var(--bes-dur) var(--bes-ease),
    box-shadow var(--bes-dur) var(--bes-ease);
}

.bes-certif__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(234, 193, 23, 0.14) 50%,
    transparent 100%
  );
  transform: skewX(-16deg);
  transition: left 900ms var(--bes-ease-out);
  pointer-events: none;
  z-index: 0;
}

.bes-certif__card:hover::before {
  left: 140%;
}

.bes-certif__card:hover {
  transform: translateY(-6px);
  border-top-color: var(--bes-gold-600);
  box-shadow: var(--bes-shadow-lg), var(--bes-glow-sm);
}

.bes-certif__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--bes-white);
  color: var(--bes-black);
  font-family: var(--bes-font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  overflow: visible;
  transition:
    transform var(--bes-dur-slow) var(--bes-ease-out),
    box-shadow var(--bes-dur) var(--bes-ease);
  box-shadow:
    0 0 0 1px rgba(234, 193, 23, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.bes-certif__mark-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bes-black);
  color: var(--bes-gold);
  font-size: 0.8125rem;
  text-align: center;
  padding: 0 8px;
  line-height: 1.1;
}

.bes-certif__mark--image {
  background: var(--bes-white);
}

.bes-certif__mark--image img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  display: block;
  z-index: 2;
  transition: transform var(--bes-dur-slow) var(--bes-ease-out);
  image-rendering: -webkit-optimize-contrast;
}

.bes-certif__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(234, 193, 23, 0.5);
  pointer-events: none;
  z-index: 3;
  opacity: 0.55;
  transition: opacity var(--bes-dur) var(--bes-ease);
}

.bes-certif__orbit {
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(234, 193, 23, 0.65);
  border-radius: 50%;
  animation: bes-certif-orbit 14s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.bes-certif__orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--bes-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(234, 193, 23, 0.85);
  transform: translateX(-50%);
}

@keyframes bes-certif-orbit {
  to {
    transform: rotate(360deg);
  }
}

.bes-certif__grid > .bes-certif__card:nth-child(2) .bes-certif__orbit {
  animation-delay: -4.6s;
}
.bes-certif__grid > .bes-certif__card:nth-child(3) .bes-certif__orbit {
  animation-delay: -9.3s;
}

.bes-certif__card:hover .bes-certif__mark {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(234, 193, 23, 0.75),
    0 14px 40px rgba(234, 193, 23, 0.22);
}

.bes-certif__card:hover .bes-certif__mark::after {
  opacity: 1;
}
.bes-certif__card:hover .bes-certif__mark--image img {
  transform: scale(1.04);
}

.bes-certif__title {
  font-family: var(--bes-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--bes-text);
  position: relative;
  z-index: 1;
}

.bes-certif__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bes-text-muted);
  margin: 0;
  position: relative;
  z-index: 1;
}

.bes-certif__grid[data-stagger] > .bes-certif__card {
  opacity: 0;
  transform: translateY(30px) rotate(3deg);
  transition:
    opacity 700ms var(--bes-ease-out),
    transform 700ms var(--bes-ease-out);
  transition-delay: calc(var(--bes-stagger-i, 0) * 130ms);
}

.bes-certif__grid[data-stagger].is-visible > .bes-certif__card {
  opacity: 1;
  transform: none;
}

.bes-certif__grid[data-stagger].is-visible > .bes-certif__card:hover {
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .bes-certif__orbit {
    animation: none;
  }
  .bes-certif__grid[data-stagger] > .bes-certif__card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
 * Timeline
 * ====================================================================== */

.bes-timeline {
  position: relative;
  margin-top: 40px;
}

.bes-timeline__line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bes-silver);
}

@media (min-width: 1024px) {
  .bes-timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.bes-timeline__items {
  display: grid;
  gap: 32px;
}

.bes-timeline__item {
  position: relative;
  padding-left: 60px;
}

@media (min-width: 1024px) {
  .bes-timeline__item {
    width: calc(50% - 40px);
    padding-left: 0;
  }
  .bes-timeline__item--right {
    margin-left: auto;
    text-align: left;
  }
  .bes-timeline__item--right .bes-timeline__card {
    text-align: left;
  }
  .bes-timeline__item--left {
    text-align: right;
  }
  .bes-timeline__item--left .bes-timeline__card {
    text-align: right;
    border-right: 4px solid var(--bes-gold);
    border-left: 0;
  }
  .bes-timeline__item--right .bes-timeline__card {
    border-left: 4px solid var(--bes-gold);
  }
}

.bes-timeline__dot {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--bes-gold);
  border: 4px solid var(--bes-white);
  box-shadow: 0 0 0 1px var(--bes-gold);
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .bes-timeline__dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.bes-timeline__card {
  background: var(--bes-white);
  padding: 22px 24px;
  border-left: 4px solid var(--bes-gold);
  box-shadow: var(--bes-shadow-sm);
}

.bes-timeline__year {
  display: inline-block;
  font-family: var(--bes-font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bes-gold-600);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.bes-timeline__title {
  font-family: var(--bes-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--bes-text);
}

.bes-timeline__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bes-text-muted);
  margin: 0;
}

/* =========================================================================
 * Team — big cards, avatars with rotating gold rings.
 *
 * Key goals:
 *   - Names must fit on one line for the longest entries.
 *   - No mid-word breaks.
 *   - Card layout stays generous.
 * ====================================================================== */

.bes-team {
  background: var(--bes-silver-50);
  position: relative;
}

/* Head ---------------------------------------------------------------- */

.bes-team__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

@media (min-width: 900px) {
  .bes-team__head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 64px;
  }
}

.bes-team__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bes-text-muted);
  margin: 0;
  max-width: 56ch;
}

@media (min-width: 900px) {
  .bes-team__intro {
    padding-bottom: 6px;
  }
}

/* Grid ----------------------------------------------------------------
 * Breakpoints tuned so that at every desktop size the LONGEST name fits
 * on ONE line in 4 columns:
 *
 *   640px  →  2 cols  (roomy)
 *   1000px →  3 cols  (roomy)
 *   1300px →  4 cols  (tuned: 20px gap + 16px padding = ~260px usable)
 * ---------------------------------------------------------------------- */

.bes-team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .bes-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (min-width: 1000px) {
  .bes-team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1300px) {
  .bes-team__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px; /* tightened from 24px */
  }
}

/* Card ---------------------------------------------------------------- */

.bes-team__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 16px 34px; /* horizontal padding tightened 18 → 16 */
  min-height: 400px;
  background: var(--bes-white);
  border: 1px solid var(--bes-border);
  border-top: 4px solid var(--bes-gold);
  overflow: hidden;
  isolation: isolate;
  translate: 0 0;
  transition:
    translate 380ms var(--bes-ease-out),
    box-shadow 380ms var(--bes-ease-out),
    border-color 380ms var(--bes-ease-out),
    border-top-color 380ms var(--bes-ease-out);
}

/* Diagonal gold sweep */
.bes-team__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(234, 193, 23, 0.11) 50%,
    transparent 100%
  );
  transform: skewX(-16deg);
  transition: left 900ms var(--bes-ease-out);
  pointer-events: none;
  z-index: 0;
}

.bes-team__card:hover::before {
  left: 140%;
}

.bes-team__card:hover {
  translate: 0 -10px;
  border-color: var(--bes-gold);
  border-top-color: var(--bes-gold-600);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.12),
    var(--bes-glow-sm);
}

.bes-team__card > * {
  position: relative;
  z-index: 1;
}

/* Index badge --------------------------------------------------------- */

.bes-team__index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--bes-font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(109, 105, 104, 0.42);
  z-index: 2;
  transition: color var(--bes-dur) var(--bes-ease);
}

.bes-team__card:hover .bes-team__index {
  color: var(--bes-gold-600);
}

/* Avatar -------------------------------------------------------------- */

.bes-team__avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--bes-black-800) 0%,
    var(--bes-black) 100%
  );
  color: var(--bes-gold);
  font-family: var(--bes-font-head);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--bes-dur-slow) var(--bes-ease-out),
    box-shadow var(--bes-dur) var(--bes-ease);
}

.bes-team__card:hover .bes-team__avatar {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.bes-team__avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(234, 193, 23, 0.55);
  animation: bes-team-orbit 18s linear infinite;
  pointer-events: none;
  transition: border-color var(--bes-dur) var(--bes-ease);
}

.bes-team__avatar-ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bes-gold);
  box-shadow: 0 0 10px rgba(234, 193, 23, 0.85);
  transform: translateX(-50%);
}

@keyframes bes-team-orbit {
  to {
    transform: rotate(360deg);
  }
}

.bes-team__card:hover .bes-team__avatar-ring {
  border-color: var(--bes-gold);
  border-style: solid;
}

.bes-team__avatar-initials {
  position: relative;
  z-index: 1;
}

/* Body --------------------------------------------------------------- */

.bes-team__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0; /* allows flex children to shrink below content */
}

/* === Name — this is the critical block === */

.bes-team__name {
  display: block;
  width: 100%;
  max-width: 100%;

  /* Font capped at 16px max so the longest name (29 chars) fits on
	   one line at 4 columns on a 1200px container. */
  font-family: var(--bes-font-head);
  font-size: clamp(0.875rem, 0.95vw + 0.15rem, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--bes-text);

  /* — No mid-word breaks, ever — */
  word-break: normal;
  overflow-wrap: normal;
  word-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  white-space: normal;

  /* Nicer multi-line balance if it ever does wrap (small cards) */
  text-wrap: balance;

  transition: color var(--bes-dur) var(--bes-ease);
}

.bes-team__card:hover .bes-team__name {
  color: var(--bes-black);
}

/* Role — same no-break treatment, slightly smaller */
.bes-team__role {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bes-gold-600);
  margin: 0;

  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;

  text-wrap: balance;
}

/* Gold line under the name */
.bes-team__line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--bes-gold);
  margin: 14px 0 16px;
  transition: width 380ms var(--bes-ease-out);
}

.bes-team__card:hover .bes-team__line {
  width: 72px;
}

/* Bio — wraps naturally but never mid-word */
.bes-team__bio {
  display: block;
  width: 100%;
  max-width: 30ch;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--bes-text-muted);
  margin: 0;

  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;

  text-wrap: pretty;
}

/* Stagger reveal ------------------------------------------------------ */

@keyframes bes-team-in {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bes-team__grid[data-stagger] > .bes-team__card {
  opacity: 0;
}

.bes-team__grid[data-stagger].is-visible > .bes-team__card {
  animation: bes-team-in 780ms var(--bes-ease-out) both;
  animation-delay: calc(var(--bes-stagger-i, 0) * 110ms + 60ms);
}

/* Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .bes-team__avatar-ring {
    animation: none;
  }
  .bes-team__card {
    transition: none;
  }
  .bes-team__grid[data-stagger] > .bes-team__card {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* =========================================================================
 * Testimonials
 * ====================================================================== */

.bes-testimonials {
  background: var(--bes-black);
  color: var(--bes-text-on-dark);
}

.bes-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .bes-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bes-testimonial {
  background: var(--bes-black-800);
  padding: 32px 28px 26px;
  border-top: 4px solid var(--bes-gold);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bes-testimonial__quote {
  font-family: var(--bes-font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--bes-gold);
  margin-bottom: 12px;
  font-weight: 700;
}

.bes-testimonial__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--bes-silver);
  margin: 0 0 24px;
  flex: 1;
}

.bes-testimonial__meta {
  border-top: 1px solid rgba(219, 219, 219, 0.1);
  padding-top: 16px;
}

.bes-testimonial__name {
  font-family: var(--bes-font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bes-white);
  margin: 0 0 2px;
  letter-spacing: 0.02em;
}

.bes-testimonial__position {
  font-size: 0.8125rem;
  color: var(--bes-gold);
  margin: 0 0 2px;
}

.bes-testimonial__company {
  font-size: 0.75rem;
  color: var(--bes-grey);
  letter-spacing: 0.04em;
}

/* =========================================================================
 * FAQ
 * ====================================================================== */

.bes-faq {
  background: var(--bes-white);
}

.bes-faq__grid {
  margin-top: 36px;
  max-width: 900px;
}

.bes-faq__foot {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bes-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 640px) {
  .bes-faq__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bes-faq__foot-title {
  font-family: var(--bes-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
