/* Copyright Aadithya Eye Care — Testimonials page */

.tm-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,48px); }

.tm-eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.2rem; }
.tm-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(31,158,87,.18); }
.tm-eyebrow--light { color: rgba(255,255,255,.82); }
.tm-eyebrow--light .tm-eyebrow__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(31,158,87,.3); }

/* ── Hero ── */
.tm-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(170deg, #f5fbfc 0%, #eaf6f7 50%, #dff2f3 100%);
  padding: clamp(140px,18vh,200px) 0 clamp(64px,8vw,104px);
}
.tm-hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60vh;
  background: radial-gradient(ellipse at center, rgba(31,158,87,.26), rgba(22,146,76,.08) 44%, transparent 70%);
  filter: blur(22px); z-index: 0; pointer-events: none;
}
.tm-hero__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tm-hero__orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,146,76,.13), transparent 70%);
}
.tm-hero__orb--1 { width: 480px; height: 480px; top: -120px; right: 5%; }
.tm-hero__orb--2 { width: 280px; height: 280px; bottom: -60px; left: 10%; background: radial-gradient(circle, rgba(31,158,87,.1), transparent 70%); }
.tm-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.tm-breadcrumb {
  display: flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .02em; color: var(--muted); margin-bottom: 1.4rem;
}
.tm-breadcrumb a { color: var(--primary); transition: color .3s; }
.tm-breadcrumb a:hover { color: var(--secondary); }
.tm-breadcrumb span { opacity: .5; }
.tm-hero__title {
  font-family: var(--font-head); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.04;
  font-size: clamp(2.4rem,5.4vw,4.3rem);
  max-width: 18ch; margin-bottom: 1.4rem;
}
.tm-hero__lead {
  font-size: clamp(1.04rem,1.6vw,1.22rem);
  color: var(--muted); max-width: 60ch; margin-bottom: 2.4rem;
}
.tm-hero__rating {
  display: inline-flex; align-items: center; gap: 20px;
  border-radius: var(--r-xl); padding: 16px 24px;
  flex-wrap: wrap;
}
.tm-rating__stars { display: flex; gap: 4px; color: #F59E0B; }
.tm-rating__stars svg { width: 22px; height: 22px; fill: #F59E0B; }
.tm-rating__text { display: flex; flex-direction: column; }
.tm-rating__text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.tm-rating__text span { font-size: .84rem; color: var(--muted); }
.tm-rating__link {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--primary); transition: color .25s, gap .25s;
}
.tm-rating__link:hover { color: var(--secondary); gap: .6em; }

/* ── Section head ── */
.tm-section-head { margin-bottom: 3rem; }
.tm-section-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.7rem,3.2vw,2.4rem); line-height: 1.1;
}

/* ── Featured cards ── */
.tm-featured { padding: clamp(64px,8vw,112px) 0; }
.tm-featured__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tm-feature-card {
  border-radius: var(--r-lg); padding: clamp(28px,3vw,40px);
  display: flex; flex-direction: column; gap: 1.4rem; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tm-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tm-feature-card__quote {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,106,60,.12), rgba(22,146,76,.06));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.tm-feature-card__quote svg { width: 20px; height: 20px; }
.tm-feature-card__text {
  font-size: clamp(.96rem,1.3vw,1.06rem); color: var(--ink);
  line-height: 1.75; font-style: normal; flex: 1;
}
.tm-feature-card__footer {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line); padding-top: 1.2rem; flex-wrap: wrap;
}
.tm-feature-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.tm-feature-card__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .96rem; color: var(--ink); font-style: normal; }
.tm-feature-card__detail { font-size: .83rem; color: var(--muted); }
.tm-feature-card__stars { margin-left: auto; display: flex; gap: 3px; color: #F59E0B; }
.tm-feature-card__stars svg { width: 16px; height: 16px; fill: #F59E0B; }
.tm-feature-card__tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(11,106,60,.1); color: var(--primary);
  transition: background .25s, color .25s;
}
.tm-feature-card__tag:hover { background: var(--primary); color: #fff; }

/* ── Reviews grid ── */
.tm-reviews { padding: clamp(64px,8vw,112px) 0; background: var(--bg-alt); }
.tm-reviews__cats {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.4rem;
}
.tm-cat-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
  padding: 8px 18px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--muted);
  transition: background .25s, color .25s, border-color .25s;
}
.tm-cat-btn:hover,
.tm-cat-btn.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

.tm-reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 2.4rem;
}
.tm-review {
  border-radius: var(--r-lg); padding: clamp(22px,2.5vw,32px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tm-review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tm-review__stars { display: flex; gap: 3px; color: #F59E0B; }
.tm-review__stars svg { width: 16px; height: 16px; fill: #F59E0B; }
.tm-review__text { font-size: .95rem; color: var(--ink); line-height: 1.7; flex: 1; }
.tm-review__footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 1rem; }
.tm-review__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff; font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: .96rem;
}
.tm-review__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); font-style: normal; }
.tm-review__tag { font-size: .8rem; color: var(--muted); }

/* Google CTA bar */
.tm-google-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; border-radius: var(--r-lg); padding: 28px 32px;
}
.tm-google-cta__left { display: flex; align-items: center; gap: 20px; }
.tm-google-cta__icon { flex-shrink: 0; }
.tm-google-cta__left strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--ink); margin-bottom: .3rem; }
.tm-google-cta__left p { font-size: .9rem; color: var(--muted); }

/* ── Doctor section ── */
.tm-doctor { padding: clamp(64px,8vw,112px) 0; }
.tm-doctor__card {
  border-radius: var(--r-xl); padding: clamp(40px,5vw,64px);
  display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px,5vw,72px);
  align-items: center;
}
.tm-doctor__content { display: flex; flex-direction: column; }
.tm-doctor__title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--ink); margin-bottom: .3rem;
}
.tm-doctor__qual {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: var(--primary); margin-bottom: 1.4rem;
}
.tm-doctor__bio {
  font-size: clamp(.96rem,1.4vw,1.06rem); color: var(--muted);
  line-height: 1.75; margin-bottom: 1rem;
}
.tm-doctor__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: .6rem; }
.tm-doctor__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-chip {
  border-radius: var(--r-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink);
}
.tm-chip svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* ── CTA ── */
.tm-cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px,8vw,112px) 0;
}
.tm-cta__glow {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #eaf6f7 0%, #f5fbfc 100%); z-index: 0;
}
.tm-cta__card {
  position: relative; z-index: 2;
  background: linear-gradient(160deg, var(--deep) 0%, #0a3a41 60%, #0d5a62 100%);
  border-radius: var(--r-xl); padding: clamp(48px,6vw,80px); overflow: hidden;
}
.tm-cta__card::before {
  content: ''; position: absolute; bottom: -40%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(31,158,87,.07); pointer-events: none;
}
.tm-cta__inner { position: relative; z-index: 1; max-width: 680px; }
.tm-cta__inner h2 {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.025em;
  font-size: clamp(1.7rem,3.2vw,2.8rem); color: #fff; margin-bottom: .8rem;
}
.tm-cta__inner p { font-size: clamp(1rem,1.5vw,1.1rem); color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.tm-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.tm-cta__links {
  display: flex; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.4rem;
}
.tm-cta__links a {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: rgba(255,255,255,.65); transition: color .25s;
}
.tm-cta__links a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .tm-featured__grid { grid-template-columns: 1fr 1fr; }
  .tm-reviews__grid { grid-template-columns: 1fr 1fr; }
  .tm-doctor__card { grid-template-columns: 1fr; }
  .tm-doctor__chips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tm-featured__grid { grid-template-columns: 1fr; }
  .tm-reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tm-reviews__grid { grid-template-columns: 1fr; }
  .tm-doctor__chips { grid-template-columns: 1fr 1fr; }
  .tm-google-cta { flex-direction: column; align-items: flex-start; }
  .tm-cta__card { padding: clamp(32px,6vw,48px) clamp(20px,5vw,32px); }
}
