/* =============================================
   styles.css — Testimonials
   MUHAZU Global  |  Prefix: tm-
   ============================================= */

html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

/* ---- Keyframes ---- */
@keyframes tm-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tm-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes tm-name-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes tm-car-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes tm-car-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---- Scroll reveal ---- */
.tm-reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--tm-delay, 0ms);
}

.tm-reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Eyebrow ---- */
.tm-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CCF045;
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 2px solid #CCF045;
  width: fit-content;
  margin-bottom: 1.25rem;
}

/* ---- Hero entrance anims (no JS dependency) ---- */
.tm-hero-ani-1 { animation: tm-fade-up 600ms ease both; animation-delay: 100ms; }
.tm-hero-ani-2 { animation: tm-fade-up 700ms ease both; animation-delay: 240ms; }
.tm-hero-ani-3 { animation: tm-fade-up 500ms ease both; animation-delay: 380ms; }
.tm-hero-ani-4 { animation: tm-fade-up 500ms ease both; animation-delay: 500ms; }

/* ============================================= */
/* SECTION 01 — HERO                             */
/* ============================================= */

.tm-hero {
  background: #0D0D0D;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
}

/* ============================================= */
/* SCATTER CARDS — 14-card animated system        */
/* ============================================= */

/* -- Animation keyframes -- */
@keyframes tm-cycle-fade {
  0%,  12%  { opacity: 0; }
  20%, 62%  { opacity: 1; }
  78%, 100% { opacity: 0; }
}
@keyframes tm-cycle-pop {
  0%,  6%   { opacity: 0; transform: scale(0.15); }
  15%        { opacity: 1; transform: scale(1.1); }
  20%        { transform: scale(0.95); }
  24%, 62%  { opacity: 1; transform: scale(1); }
  78%, 100% { opacity: 0; transform: scale(0.15); }
}
@keyframes tm-cycle-slideL {
  0%,  8%   { opacity: 0; transform: translateX(-70px); }
  20%, 62%  { opacity: 1; transform: translateX(0); }
  78%, 100% { opacity: 0; transform: translateX(-35px); }
}
@keyframes tm-cycle-slideR {
  0%,  8%   { opacity: 0; transform: translateX(70px); }
  20%, 62%  { opacity: 1; transform: translateX(0); }
  78%, 100% { opacity: 0; transform: translateX(35px); }
}
@keyframes tm-cycle-bounce {
  0%,  6%   { opacity: 0; transform: translateY(-60px); }
  15%        { opacity: 1; transform: translateY(10px); }
  20%        { transform: translateY(-5px); }
  24%, 62%  { opacity: 1; transform: translateY(0); }
  78%, 100% { opacity: 0; transform: translateY(-25px); }
}
@keyframes tm-cycle-squirl {
  0%,  6%   { opacity: 0; transform: rotate(-150deg) scale(0.1); }
  20%, 62%  { opacity: 1; transform: rotate(0deg) scale(1); }
  78%, 100% { opacity: 0; transform: rotate(80deg) scale(0.1); }
}

/* -- Container -- */
.tm-scatter { position: absolute; inset: 0; pointer-events: none; }

/* -- Wrapper: position + static card tilt -- */
.tm-sc-wrap { position: absolute; }

/* -- Card: visual + animation -- */
.tm-sc-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 22px;
  width: 262px;
  opacity: 0;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  animation-delay: var(--cy-d, 0s);
  animation-fill-mode: both;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* -- Animation type binders -- */
.tm-cy-fade   { animation-name: tm-cycle-fade; }
.tm-cy-pop    { animation-name: tm-cycle-pop; }
.tm-cy-slideL { animation-name: tm-cycle-slideL; }
.tm-cy-slideR { animation-name: tm-cycle-slideR; }
.tm-cy-bounce { animation-name: tm-cycle-bounce; }
.tm-cy-squirl { animation-name: tm-cycle-squirl; }

/* -- Photo-top variant -- */
.tm-sc--phototop { padding-top: 58px; }
.tm-sc-ptop {
  position: absolute;
  top: -30px;
  left: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #CCF045;
}

/* -- Side photo row -- */
.tm-sc-sidephoto { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tm-sc-sidephoto img {
  width: 48px; height: 48px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(204,240,69,0.3);
}

/* -- Author row -- */
.tm-sc-author {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.tm-sc-author img {
  width: 34px; height: 34px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(204,240,69,0.25);
}

/* -- Typography -- */
.tm-sc-text  { font-size: 0.81rem; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0 0 4px; }
.tm-sc-name  { display: block; font-size: 0.8rem; font-weight: 700; color: #fff; }
.tm-sc-role  { display: block; font-size: 0.69rem; color: rgba(255,255,255,0.4); }
.tm-sc-stars { font-size: 0.75rem; color: #F5A623; letter-spacing: 2px; margin-bottom: 10px; }
.tm-sc-stars--sm { font-size: 0.62rem; margin: 3px 0 0; }
.tm-sc-lquote { font-size: 2.6rem; line-height: 0.8; font-weight: 800; color: #CCF045; margin-bottom: 10px; letter-spacing: -4px; }

/* -- 14 wrapper positions and rotations -- */
.tm-sc-a { top: 8%;      left: 1.5%;   transform: rotate(-2deg); }
.tm-sc-b { top: 4%;      left: 21%;    transform: rotate(1.5deg); }
.tm-sc-c { top: 6%;      right: 1.5%;  transform: rotate(2deg); }
.tm-sc-d { top: 40%;     right: -8px;  transform: rotate(-1.5deg); }
.tm-sc-e { bottom: 5%;   left: 1.5%;   transform: rotate(2deg); }
.tm-sc-f { bottom: 4%;   right: 1.5%;  transform: rotate(-2deg); }
.tm-sc-g { top: 46%;     left: 2%;     transform: rotate(3deg); }
.tm-sc-h { bottom: 10%;  left: 22%;    transform: rotate(-1deg); }
.tm-sc-i { top: 26%;     left: 5%;     transform: rotate(-2.5deg); }
.tm-sc-j { top: 10%;     right: 21%;   transform: rotate(-2deg); }
.tm-sc-k { top: 50%;     right: 21%;   transform: rotate(1deg); }
.tm-sc-l { bottom: 8%;   right: 18%;   transform: rotate(3deg); }
.tm-sc-m { top: 62%;     left: 21%;    transform: rotate(2deg); }
.tm-sc-n { top: 24%;     right: 5%;    transform: rotate(-3deg); }

/* -- Dark radial vignette -- */
.tm-hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 38% 58% at center, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.4) 52%, transparent 76%);
  pointer-events: none;
  z-index: 1;
}

/* -- Responsive -- */
@media (max-width: 1100px) {
  .tm-sc-b, .tm-sc-h, .tm-sc-j, .tm-sc-m { display: none; }
}

@media (max-width: 768px) {
  /* Hide all scatter cards on mobile — h1 must be fully visible */
  .tm-sc-a,.tm-sc-b,.tm-sc-c,.tm-sc-d,.tm-sc-e,.tm-sc-f,.tm-sc-g,
  .tm-sc-h,.tm-sc-i,.tm-sc-j,.tm-sc-k,.tm-sc-l,.tm-sc-m,.tm-sc-n { display: none; }

  .tm-hero { min-height: 72vh; overflow: hidden; padding: 120px 5% 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-card { animation: none; opacity: 0.35; }
}


.tm-hero-inner {
  max-width: 880px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.tm-hero-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #CCF045;
  border-bottom: 2px solid #CCF045;
  padding-bottom: 6px;
  width: fit-content;
}

.tm-hero-h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.tm-hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tm-hero-stars {
  font-size: 1rem;
  color: #F5A623;
  letter-spacing: 2px;
}

.tm-hero-score {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.tm-hero-divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.5rem;
}

.tm-hero-count {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

/* Floating stat badges */
.tm-hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tm-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px 24px;
  min-width: 90px;
}

.tm-badge--lime {
  background: #CCF045;
  border-color: #CCF045;
}

.tm-badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.tm-badge--lime .tm-badge-num {
  color: #0D0D0D;
}

.tm-badge-plus {
  font-size: 1.2rem;
}

.tm-badge-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.tm-badge--lime .tm-badge-label {
  color: rgba(0,0,0,0.55);
}

@media (max-width: 768px) {
  .tm-hero      { min-height: 60vh; padding: 120px 5% 60px; gap: 20px; }
  .tm-hero-h1   { font-size: clamp(2rem, 8vw, 3rem); }
  .tm-hero-h1 br { display: none; }
}

/* ============================================= */
/* GHOST MARQUEE                                 */
/* ============================================= */

.tm-ghost-marquee {
  background: #0D0D0D;
  overflow: hidden;
  line-height: 1;
  padding: 0;
}

.tm-ghost-track {
  display: flex;
  white-space: nowrap;
  animation: tm-name-fwd 26s linear infinite;
  will-change: transform;
}

.tm-ghost-track span {
  font-size: 9vw;
  font-weight: 700;
  color: rgba(255,255,255,0.065);
  letter-spacing: -0.03em;
  line-height: 0.9;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tm-ghost-track span { font-size: 13vw; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-ghost-track { animation-play-state: paused; }
}

/* ============================================= */
/* SECTION 02 — FEATURED QUOTE                   */
/* ============================================= */

.tm-featured {
  background: #ffffff;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

/* Ghost watermark */
.tm-featured::before {
  content: '\201C';
  position: absolute;
  bottom: -18%;
  right: -2%;
  font-size: 44vw;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tm-featured-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left column */
.tm-featured-left {
  display: flex;
  flex-direction: column;
}

/* Eyebrow */
.tm-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 20px;
  width: fit-content;
}
.tm-featured-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #CCF045;
  flex-shrink: 0;
}

/* Quote mark */
.tm-featured-quote-mark {
  font-size: 6rem;
  line-height: 0.75;
  color: #CCF045;
  font-weight: 800;
  margin-bottom: 16px;
  display: block;
}

/* Quote text — lime left border */
.tm-featured-text {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: #0D0D0D;
  line-height: 1.65;
  margin: 0 0 28px;
  font-style: normal;
  padding-left: 28px;
  border-left: 4px solid #CCF045;
}

/* Stars */
.tm-featured-stars {
  font-size: 1rem;
  color: #F5A623;
  letter-spacing: 3px;
  padding-left: 32px;
}

/* Right column */
.tm-featured-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Photo with decorative rings */
.tm-featured-photo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
}
.tm-featured-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(204,240,69,0.35);
}
.tm-featured-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(204,240,69,0.15);
}
.tm-featured-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #CCF045;
  display: block;
  position: relative;
  z-index: 1;
}

/* Info */
.tm-featured-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tm-featured-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0D0D0D;
}
.tm-featured-role {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 8px;
}
.tm-featured-badge {
  display: inline-block;
  background: #CCF045;
  color: #0D0D0D;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

/* Mobile */
@media (max-width: 768px) {
  .tm-featured-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tm-featured-right { order: -1; }
  .tm-featured-photo-wrap,
  .tm-featured-avatar { width: 120px; height: 120px; }
  .tm-featured-text { font-size: 1.1rem; padding-left: 20px; }
  .tm-featured-stars { padding-left: 24px; }
}
@media (max-width: 600px) {
  .tm-featured { padding: 64px 5%; }
  .tm-featured-quote-mark { font-size: 4rem; }
}

/* ============================================= */
/* SECTION 03 — BENTO GRID                       */
/* ============================================= */

.tm-bento {
  background: #0D0D0D;
  padding: 100px 5%;
}

.tm-bento-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tm-bento-head {
  margin-bottom: 48px;
}

.tm-bento-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  max-width: 560px;
}

/* Bento grid */
.tm-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

/* Base card */
.tm-bento-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 250ms ease, background 250ms ease;
  position: relative;
  overflow: hidden;
}

.tm-bento-card:hover {
  border-color: rgba(204,240,69,0.3);
  background: rgba(255,255,255,0.06);
}

/* Tall card: spans 2 rows */
.tm-bento-card--tall {
  grid-row: span 2;
}

/* Wide card: spans 2 cols */
.tm-bento-card--wide {
  grid-column: span 2;
}

/* Lime card */
.tm-bento-card--lime {
  background: #CCF045;
  border-color: #CCF045;
}

.tm-bento-card--lime:hover {
  background: #d4f55e;
  border-color: #d4f55e;
}

/* Dark card (darker than base) */
.tm-bento-card--dark {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.tm-bcard-quote {
  font-size: 2.5rem;
  line-height: 0.8;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
}

.tm-bento-card--lime .tm-bcard-quote {
  color: rgba(0,0,0,0.12);
}

.tm-bcard-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin: 0;
  flex: 1;
}

.tm-bento-card--lime .tm-bcard-text {
  color: rgba(0,0,0,0.75);
}

.tm-bcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.tm-bento-card--lime .tm-bcard-author {
  border-top-color: rgba(0,0,0,0.1);
}

.tm-bcard-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-bcard-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.tm-bento-card--lime .tm-bcard-name {
  color: #0D0D0D;
}

.tm-bcard-role {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.tm-bento-card--lime .tm-bcard-role {
  color: rgba(0,0,0,0.45);
}

/* Category tag */
.tm-bcard-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  padding: 4px 10px;
  border-radius: 999px;
}

.tm-bcard-tag--lime {
  background: rgba(204,240,69,0.12);
  color: #CCF045;
}

@media (max-width: 900px) {
  .tm-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tm-bento-card--wide { grid-column: span 2; }
  .tm-bento           { padding: 72px 5%; }
}

@media (max-width: 600px) {
  .tm-bento-grid {
    grid-template-columns: 1fr;
  }
  .tm-bento-card--tall  { grid-row: span 1; }
  .tm-bento-card--wide  { grid-column: span 1; }
}

/* ============================================= */
/* SECTION 04 — TWO-ROW CAROUSEL                 */
/* ============================================= */

.tm-carousel {
  background: #F9F9F7;
  padding: 90px 0 0;
  overflow: hidden;
}

.tm-carousel-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 56px;
}

.tm-carousel-h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 560px;
}

.tm-carousel-para {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.55);
  line-height: 1.65;
  max-width: 480px;
  margin: 0;
}

/* Row */
.tm-car-row {
  overflow: hidden;
  width: 100%;
  margin-bottom: 16px;
}

.tm-car-row:last-child {
  margin-bottom: 0;
  padding-bottom: 80px;
}

.tm-car-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.tm-car-track--fwd {
  /* animation handled by JS RAF */
}

.tm-car-track--rev {
  /* animation handled by JS RAF */
}

.tm-car-row:hover .tm-car-track {
  animation-play-state: paused;
}

/* Card */
.tm-car-card {
  flex-shrink: 0;
  width: 340px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tm-car-stars {
  font-size: 0.75rem;
  color: #F5A623;
  letter-spacing: 2px;
}

.tm-car-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(0,0,0,0.72);
  flex: 1;
  margin: 0;
}

.tm-car-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.tm-car-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-car-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0D0D0D;
}

.tm-car-role {
  display: block;
  font-size: 0.72rem;
  color: rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .tm-car-card { width: 280px; }
  .tm-carousel  { padding-top: 64px; }
  .tm-carousel-head { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-car-track { animation-play-state: paused; }
}

/* ============================================= */
/* SECTION 05 — TRUST STATS                      */
/* ============================================= */

.tm-trust {
  background: #0D0D0D;
  padding: 80px 5%;
}

.tm-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tm-trust-stat {
  padding: 32px 36px;
  border-left: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.tm-trust-stat:first-child {
  border-left: none;
  padding-left: 0;
}

.tm-trust-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: #CCF045;
  line-height: 1;
  margin-bottom: 8px;
}

.tm-trust-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tm-trust-body {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .tm-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .tm-trust-stat  { border-top: 1px solid rgba(255,255,255,0.08); }
  .tm-trust-stat:nth-child(1),
  .tm-trust-stat:nth-child(2) { border-top: none; }
  .tm-trust-stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .tm-trust       { padding: 64px 5%; }
}

@media (max-width: 480px) {
  .tm-trust-inner { grid-template-columns: 1fr; }
  .tm-trust-stat  { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .tm-trust-stat:first-child { border-top: none; }
  .tm-trust-num   { font-size: 2.2rem; }
}

/* ============================================= */
/* SECTION 05B — QUOTE BURST SCROLL              */
/* ============================================= */

.quote-scroll-section {
  position: relative;
  height: 400vh;
  background: #ffffff;
  overflow: hidden;
}

.quote-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.images-collage {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-image {
  position: absolute;
  width: 450px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  will-change: transform, opacity;
}

.collage-image-1 {
  background-image: url('/assets/images/claimhibah_1.webp');
  transform: translate(-200px, -50px) rotate(-8deg);
  z-index: 3;
}

.collage-image-2 {
  background-image: url('/assets/images/claimhibah_4.webp');
  transform: translate(0, 30px) rotate(3deg);
  z-index: 2;
}

.collage-image-3 {
  background-image: url('/assets/images/claimhibah_2.webp');
  transform: translate(220px, -30px) rotate(10deg);
  z-index: 1;
}

.collage-image-4 {
  background-image: url('/assets/images/claimhibah_3.webp');
  transform: translate(-90px, -90px) rotate(-4deg);
  z-index: 2;
}

.collage-image-5 {
  background-image: url('/assets/images/claimhibah_5.webp');
  transform: translate(100px, 70px) rotate(6deg);
  z-index: 2;
}

.quote-text-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  text-align: center;
  z-index: 10;
  opacity: 0;
}

.quote-text-reveal p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.5;
  color: #0a0a0a;
  font-style: italic;
  margin: 0;
}

.quote-text-reveal p::before,
.quote-text-reveal p::after {
  content: '\201C';
  color: #d4af37;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  position: relative;
  top: 15px;
}

.quote-text-reveal p::after {
  content: '\201D';
}

@media (max-width: 1024px) {
  .collage-image { width: 360px; height: 240px; }
  .collage-image-1 { transform: translate(-150px, -40px) rotate(-8deg); }
  .collage-image-3 { transform: translate(170px, -20px) rotate(10deg); }
  .quote-text-reveal p { font-size: 2.5rem; }
  .quote-text-reveal p::before,
  .quote-text-reveal p::after { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .collage-image { width: 260px; height: 173px; }
  .collage-image-1 { transform: translate(-90px, -30px) rotate(-8deg); }
  .collage-image-2 { transform: translate(0, 20px) rotate(3deg); }
  .collage-image-3 { transform: translate(100px, -20px) rotate(10deg); }
  .quote-text-reveal p { font-size: 1.8rem; }
  .quote-text-reveal p::before,
  .quote-text-reveal p::after { font-size: 3rem; top: 10px; }
}

@media (max-width: 480px) {
  .collage-image { width: 200px; height: 133px; }
  .collage-image-1 { transform: translate(-70px, -25px) rotate(-8deg); }
  .collage-image-2 { transform: translate(0, 15px) rotate(3deg); }
  .collage-image-3 { transform: translate(80px, -15px) rotate(10deg); }
  .quote-text-reveal p { font-size: 1.4rem; }
  .quote-text-reveal p::before,
  .quote-text-reveal p::after { font-size: 2.5rem; }
}

/* ============================================= */
/* SECTION 06 — CTA BANNER                       */
/* ============================================= */

.tm-cta {
  background: #CCF045;
  padding: 110px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tm-cta::before {
  content: '500+';
  position: absolute;
  bottom: -0.1em;
  right: 5%;
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 800;
  color: #0D0D0D;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tm-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tm-cta-h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #0D0D0D;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

.tm-cta-h2 br { display: block; }

.tm-cta-para {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.55);
  max-width: 440px;
  margin: 0;
  line-height: 1.7;
}

.tm-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0D0D0D;
  color: #CCF045;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}

.tm-cta-btn:hover {
  background: #1a1a1a;
}

@media (max-width: 768px) {
  .tm-cta     { padding: 72px 5%; }
  .tm-cta-h2  { font-size: 1.8rem; }
  .tm-cta-h2 br { display: none; }
  .tm-cta-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-reveal-up { transition: none; opacity: 1; transform: none; }
  .tm-anim-1, .tm-anim-2, .tm-anim-3, .tm-anim-4 { opacity: 1; animation: none; }
}

/* ============================================= */
/* SECTION 04B — CLIENT PHOTO WALL               */
/* ============================================= */

.tm-photowall {
  background: #111111;
  padding: 90px 5%;
}

.tm-photowall-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tm-photowall-head {
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-photowall-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.tm-photowall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tm-pw-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.04);
  cursor: default;
}

.tm-pw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 400ms ease;
}

.tm-pw-card:hover img {
  transform: scale(1.04);
}

.tm-pw-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(4px);
  transition: transform 300ms ease;
}

.tm-pw-card:hover .tm-pw-overlay {
  transform: translateY(0);
}

.tm-pw-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.tm-pw-role {
  display: block;
  font-size: 0.72rem;
  color: #CCF045;
  font-weight: 500;
}

@media (max-width: 900px) {
  .tm-photowall-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tm-photowall { padding: 64px 5%; }
}

@media (max-width: 480px) {
  .tm-photowall-grid { gap: 8px; }
  .tm-pw-card { aspect-ratio: 1 / 1; }
}
