/* Edina Trâm — Testimonial page. Content verbatim from source; layout rebuilt
   on design-system tokens and the shared editorial base (page2.css). */

/* ── Page hero (text + portrait) ────────────────── */
/* Hero sits on the shared dark HeroBackdrop, so foreground text runs light.
   The unscrolled header keeps its default dark-hero (near-white) treatment. */
.testi-page-hero { position: relative; padding-block: clamp(108px, 12vw, 152px) clamp(48px, 6vw, 84px); overflow: hidden; }
.testi-hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.testi-page-hero .badge { margin-bottom: var(--space-6); }
.testi-page-hero h1 { color: var(--pearl-ivory); font-size: clamp(38px, 6.4vw, 88px); line-height: 1.1; letter-spacing: -0.02em; max-width: 15ch; }
.testi-page-hero h1 em { color: var(--royal-gold); white-space: nowrap; }
.hero-lead { margin-top: var(--space-7); font-size: var(--text-xl); color: rgba(251,248,240,0.82); max-width: 46ch; line-height: 1.6; }

.tina-callout { margin-top: var(--space-9); border-radius: var(--radius-lg); }
.tina-callout--gold {
  border-left: 2px solid var(--royal-gold);
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, rgba(200,162,68,0.14), rgba(241,216,154,0.10));
}
.tina-callout p { font-family: var(--font-heading); font-style: italic; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; color: var(--champagne-glow); }
.tina-callout p + p { margin-top: var(--space-2); color: var(--royal-gold); }

.testi-hero-portrait { position: relative; }
.testi-hero-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 10;
  object-fit: cover; object-position: center 10%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
}
.testi-hero-portrait::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -40px; z-index: -1;
  background: rgba(200,162,68,0.15); filter: blur(90px); border-radius: 50%;
}

/* ── Block scaffolding ──────────────────────────── */
.testi-block { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.testi-block:nth-of-type(even) { background: var(--color-bg-alt); }
.testi-block-head { max-width: 62ch; margin: 0 auto clamp(40px, 5vw, 68px); text-align: center; }
.testi-block-head .badge { margin-bottom: var(--space-5); }
.testi-block-head h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; }
.testi-block-head p { margin-top: var(--space-5); font-size: var(--text-lg); color: var(--color-fg-muted); line-height: 1.6; }

/* ── Text testimonials ──────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.testi-card {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo);
}
.testi-card::before {
  content: "\201C"; position: absolute; top: -14px; right: 22px;
  font-family: var(--font-heading); font-size: 120px; line-height: 1;
  color: rgba(200,162,68,0.16); pointer-events: none;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(200,162,68,0.4); }
.testi-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); }
.testi-avatar-wrap {
  width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,162,68,0.4);
}
.testi-avatar--mono {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--emerald-depth), var(--emerald-noir));
  color: var(--champagne-glow); font-family: var(--font-heading); font-size: var(--text-xl); letter-spacing: 0.04em;
}
.testi-avatar { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-family: var(--font-heading); font-size: var(--text-xl); color: var(--color-primary); line-height: 1.2; }
.testi-role { font-size: var(--text-sm); color: var(--color-fg-subtle); margin-top: 2px; }
.testi-quote { position: relative; z-index: 1; color: var(--color-fg-muted); font-size: var(--text-lg); line-height: 1.72; overflow-wrap: break-word; }
.testi-quote + .testi-quote { margin-top: var(--space-4); }
.testi-shares { display: flex; flex-direction: column; gap: var(--space-4); }
.testi-card .msg-shot { max-width: 280px; }
.testi-more-shares, .testi-people-more { margin-top: var(--space-5); }
.testi-more-shares > summary, .testi-people-more > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  color: var(--emerald-depth); font-weight: var(--weight-semibold);
}
.testi-more-shares > summary::-webkit-details-marker,
.testi-people-more > summary::-webkit-details-marker { display: none; }
.testi-more-shares > summary::before, .testi-people-more > summary::before {
  content: "+"; color: var(--royal-gold); font-size: 1.25em; line-height: 1;
}
.testi-more-shares[open] > summary::before, .testi-people-more[open] > summary::before { content: "−"; }
.testi-more-shares .testi-shares, .testi-people-more .testi-grid { margin-top: var(--space-5); }

/* ── Message screenshots ────────────────────────── */
.msg-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.msg-shot { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.msg-shot img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); background: var(--color-surface);
  box-shadow: var(--shadow-sm); transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo);
}
.msg-shot img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.msg-shot figcaption {
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-fg-subtle); text-align: center;
}

/* ── Video testimonials ─────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.video-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--duration-base) var(--ease-out-expo), box-shadow var(--duration-base) var(--ease-out-expo);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--emerald-noir); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed--pending {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(251,248,240,0.72); font-size: var(--text-sm); letter-spacing: 0.04em;
  padding: var(--space-6);
  background: linear-gradient(155deg, var(--emerald-depth), var(--emerald-noir));
}
.video-embed--pending::before {
  content: "▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -170%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(200,162,68,0.5);
  color: var(--royal-gold); font-size: 15px; display: flex; align-items: center; justify-content: center;
  padding-left: 3px; opacity: 0.7;
}
.video-meta { padding: var(--space-6) clamp(20px, 2vw, 28px); }
.video-meta .testi-name { font-size: var(--text-lg); }
.video-meta .testi-role { margin-top: 4px; }
.video-summary { margin-top: var(--space-3); color: var(--color-fg-muted); font-size: var(--text-sm); line-height: 1.6; }

/* ── Table of contents (expandable lists) ───────── */
.testi-toc { max-width: 860px; margin: clamp(40px, 6vw, 72px) auto 0; display: grid; gap: var(--space-3); }
.testi-toc-label { margin: 0 0 var(--space-2); text-align: center; font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--color-fg-subtle); }
.testi-toc-group { border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--color-surface); }
.testi-toc-group > summary { display: flex; align-items: center; gap: var(--space-3); cursor: pointer;
  list-style: none; padding: var(--space-4) var(--space-6); font-family: var(--font-heading);
  font-size: var(--text-2xl); color: var(--emerald-depth); }
.testi-toc-group > summary::-webkit-details-marker { display: none; }
.testi-toc-group > summary::after { content: "+"; margin-left: auto; color: var(--royal-gold); font-size: var(--text-2xl); }
.testi-toc-group[open] > summary::after { content: "−"; }
.testi-toc-group > summary:hover .testi-toc-title { color: var(--royal-gold); }
.testi-toc-count { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-fg-subtle); }
.testi-toc-group ol { margin: 0; padding: 0 var(--space-6) var(--space-5) calc(var(--space-6) + 1.4em);
  max-height: 360px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  column-gap: var(--space-8); align-content: start; }
.testi-toc-group li { padding-block: 4px; color: var(--color-fg-subtle); }
.testi-toc-group li a { color: var(--color-fg); text-decoration: none; line-height: 1.45; }
.testi-toc-group li a:hover { color: var(--emerald-depth); text-decoration: underline; }
.testi-subhead { margin: clamp(48px, 6vw, 80px) auto clamp(24px, 3vw, 36px); text-align: center; max-width: 62ch; }
.testi-subhead .badge { margin-bottom: var(--space-3); }
.testi-subhead h3 { font-size: clamp(26px, 3.2vw, 38px); color: var(--emerald-depth); }
.testi-subhead p { margin-top: var(--space-3); color: var(--color-fg-muted); font-size: var(--text-lg); }
.video-title { font-family: var(--font-heading); font-size: var(--text-xl); line-height: 1.3; color: var(--color-primary); }
.testi-card, .msg-shot, .video-card { scroll-margin-top: 110px; }
.testi-more {
  margin-top: clamp(32px, 4.5vw, 52px); text-align: center;
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(18px, 2vw, 23px); color: var(--emerald-depth);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .testi-hero-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 52px); }
  .testi-hero-portrait { max-width: 440px; margin-inline: auto; }
  .msg-gallery { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-toc-group ol { columns: 1; }
}
@media (max-width: 460px) {
  .msg-gallery { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}
