/* ============================================================
   ETOUCH SOLUTIONS — testimonials.css
   Page-specific layer for testimonials.html only.
   Loaded AFTER css/style.css. Reuses shared components — the
   accent badge, gradient text, centred eyebrow + rule and the
   dark CTA panel. GLightbox CSS comes from its CDN.

   Because the review-card layout on this page differs from the
   shared .review-card in style.css §12 (this page shows avatar
   at the TOP with name/company beside it, stars beneath, quote
   in the bottom-right), a page-scoped .tp-review is introduced.

   T1 Tokens · T2 Breadcrumb · T3 Hero · T4 Hero stat cards
   T5 Review card grid · T6 Video card · T7 Overall rating card
   T8 CTA doodle · T9 Responsive
============================================================ */

/* ------------------------------------------------------------
   T1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --tp-mist: #F8F9FA;
}

/* ------------------------------------------------------------
   T2 · BREADCRUMB
------------------------------------------------------------ */
.tp-crumb { padding: .9rem 0 .2rem; }
.tp-crumb .breadcrumb { margin-bottom: 0; font-size: .74rem; font-weight: 500; }
.tp-crumb .breadcrumb-item a { color: var(--gray); }
.tp-crumb .breadcrumb-item a:hover { color: var(--green); }
.tp-crumb .breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   T3 · HERO
   The dark green angled overlay and the "Every feedback…" quote
   are rendered inside the SVG itself so the composition holds
   up on any container width without positioning contortions.
------------------------------------------------------------ */
.tp-hero {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--tp-mist) 45%, #EEF4EF 100%);
  padding: 20px 0 42px;
  overflow: hidden;
}

.tp-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
  color: #0E1B14;
  margin-bottom: .9rem;
}
.tp-title .t-grad { display: inline-block; position: relative; }
/* Yellow bar sits directly under "Real Success" (page-scoped
   override of the shared .t-grad, which is display:block). */
.tp-title .t-grad::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
}

.tp-lead { font-size: .84rem; color: var(--gray); line-height: 1.9; max-width: 480px; margin-bottom: 1.4rem; }

.tp-visual { position: relative; }
.tp-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tp-shot img { width: 100%; display: block; }

/* ------------------------------------------------------------
   T4 · HERO STAT CARDS
------------------------------------------------------------ */
.tp-stats { margin-top: .4rem; }
.tp-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem .8rem 1.1rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tp-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 174, 96, .28);
  box-shadow: 0 20px 34px rgba(10, 174, 96, .16);
}
.tp-stat .ts-ico {
  width: 36px; height: 36px;
  margin: 0 auto .5rem;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .9rem;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .3s var(--ease);
}
.tp-stat:nth-child(2n) .ts-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.tp-stat:hover .ts-ico { transform: translateY(-3px); }
.tp-stat .ts-val { font-size: 1.35rem; font-weight: 800; color: #0E1B14; line-height: 1.1; margin-bottom: .15rem; }
.tp-stat .ts-cap { font-size: .66rem; color: var(--gray); }

/* ------------------------------------------------------------
   T5 · REVIEW CARD GRID
   Distinct layout: avatar left, name+company right (top row);
   stars beneath; body text below; large translucent quote in
   the bottom-right corner as decoration.
------------------------------------------------------------ */
.tp-review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.1rem 1.2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tp-review:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(10, 174, 96, .28);
  box-shadow: 0 22px 40px rgba(10, 174, 96, .16);
}

.tp-review-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.tp-review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: var(--shadow-sm);
}
.tp-review-name { font-size: .88rem; font-weight: 700; margin-bottom: .05rem; color: #0E1B14; }
.tp-review-role { font-size: .66rem; color: var(--green-deep-2); font-weight: 600; }

.tp-review-stars { color: var(--yellow); font-size: .78rem; letter-spacing: 3px; margin-bottom: .7rem; }
.tp-review-text { font-size: .74rem; color: #4A5A54; line-height: 1.85; margin: 0; }

/* Decorative quote glyph in the bottom-right */
.tp-review::after {
  content: "\201D";
  position: absolute;
  right: .6rem; bottom: -1.4rem;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(10, 122, 67, .12);
  pointer-events: none;
  transition: color .35s var(--ease);
}
.tp-review:hover::after { color: rgba(10, 122, 67, .22); }

.tp-more-wrap { text-align: center; margin-top: 1rem; }

/* ------------------------------------------------------------
   T6 · VIDEO CARD
------------------------------------------------------------ */
.tp-video-eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep-2); margin-bottom: .3rem; }
.tp-video-title { font-size: clamp(1.1rem, 2.3vw, 1.35rem); font-weight: 700; margin-bottom: 1.4rem; }

.tp-video {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 380 / 260;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tp-video:hover, .tp-video:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .22);
}
.tp-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tp-video:hover img, .tp-video:focus-visible img { transform: scale(1.06); }

/* Play button + pulse */
.tp-play {
  position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tp-video:hover .tp-play, .tp-video:focus-visible .tp-play { background: var(--green); color: var(--white); }

.tp-play::before, .tp-play::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: tp-pulse 2s ease-out infinite;
}
.tp-play::after { animation-delay: 1s; }
@keyframes tp-pulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.9); opacity: 0;  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-play::before, .tp-play::after { animation: none; }
}

.tp-duration {
  position: absolute;
  right: .55rem; bottom: .55rem;
  z-index: 2;
  padding: .18rem .55rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, .68);
  color: var(--white);
  font-size: .66rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tp-video-meta { padding: .8rem 0 0; }
.tp-video-company { font-size: .82rem; font-weight: 700; color: #0E1B14; margin-bottom: .1rem; }
.tp-video-person  { font-size: .68rem; color: var(--gray); }

/* ------------------------------------------------------------
   T7 · OVERALL RATING CARD
------------------------------------------------------------ */
.tp-rating {
  background: linear-gradient(150deg, #0F4028 0%, #062B18 60%, #0A3520 100%);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.4rem;
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.tp-rating::after {
  content: "";
  position: absolute; right: -60px; top: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .28), transparent 70%);
}
.tp-rating > * { position: relative; z-index: 1; }

.tp-rating-eyebrow { font-size: .68rem; font-weight: 700; color: rgba(255, 255, 255, .8); margin-bottom: .8rem; }
.tp-rating-headline { display: flex; align-items: center; gap: .8rem; margin-bottom: .3rem; }
.tp-rating-headline .r-big { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.tp-rating-headline .r-stars { color: var(--yellow); font-size: 1rem; letter-spacing: 3px; line-height: 1.2; }
.tp-rating-headline .r-base  { font-size: .64rem; color: rgba(255, 255, 255, .62); }
.tp-rating-sub { font-size: .68rem; color: rgba(255, 255, 255, .55); margin-bottom: 1.2rem; }

.tp-rate-row {
  display: flex; align-items: center; gap: .8rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.tp-rate-row:first-of-type { border-top: 0; }
.tp-rate-ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: .85rem;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  flex: 0 0 auto;
}
.tp-rate-ico.g-google   { color: #4285F4; }
.tp-rate-ico.g-justdial { color: #F5B400; font-weight: 800; font-size: .78rem; font-family: Poppins, Arial, sans-serif; }
.tp-rate-ico.g-facebook { color: #1877F2; }
.tp-rate-ico.g-linkedin { color: #0A66C2; }
.tp-rate-name { font-size: .76rem; font-weight: 600; flex: 1; }
.tp-rate-val  { font-size: .76rem; font-weight: 700; color: var(--white); }
.tp-rate-val small { color: rgba(255, 255, 255, .55); font-weight: 500; font-size: .68rem; }

.tp-rating-foot { font-size: .6rem; color: rgba(255, 255, 255, .5); margin-top: .8rem; }

/* ------------------------------------------------------------
   T8 · CTA DOODLE
   The CTA itself is the shared .cta-dark component; this page
   just needs sizing for the chat-bubble illustration on the left.
------------------------------------------------------------ */
.tp-cta-art {
  width: 100%;
  max-width: 150px;
  display: block;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   T9 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .tp-hero { text-align: center; }
  .tp-lead { margin-left: auto; margin-right: auto; }
  .tp-visual { margin-top: 2rem; }
  .tp-rating { text-align: left; }
}

@media (max-width: 767.98px) {
  .tp-title { font-size: 1.8rem; }
  .tp-play { width: 48px; height: 48px; font-size: 1rem; }
  .tp-review { padding: 1rem .95rem 1.1rem; }
}

@media (max-width: 575.98px) {
  .tp-rating-headline .r-big { font-size: 2rem; }
}
