/* TESTIMONIALS PAGE STYLES */

.testimonials-hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
  padding: calc(var(--h-head) + 60px) 0 80px;
  overflow: hidden;
  text-align: center;
}

.testimonials-hero .eyebrow {
  display: inline-flex;
  margin: 0 auto 16px;
}

.testimonials-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--ink);
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-hero .sub {
  font-size: 1.1rem;
  color: var(--slate);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

/* Custom Overrides for Reusable Trusted Component */
.testimonials-page .trusted {
  background: transparent !important;
  border: none !important;
  padding: 20px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Premium Button style for Read Full Story */
.testimonials-page .btn-ghost {
  background: var(--blue) !important;
  color: #fff !important;
  border: 1px solid var(--blue) !important;
  transition: all 0.24s ease !important;
}

.testimonials-page .btn-ghost:hover {
  background: var(--blue-deep) !important;
  color: #fff !important;
  border-color: var(--blue-deep) !important;
  box-shadow: 0 4px 12px rgba(24, 104, 251, 0.2) !important;
}

.hero-featured-frame {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(24, 104, 251, 0.05);
  align-items: center;
  margin-bottom: 60px;
}

.hero-img-side {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blue-08);
}

.hero-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-side {
  padding: 10px;
}

.featured-quote-icon {
  color: var(--blue-25);
  margin-bottom: 20px;
}

.hero-card-side blockquote {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
}

.hero-card-side .user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-card-side .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}

.hero-card-side .meta-text b {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}

.hero-card-side .meta-text span {
  font-size: 0.88rem;
  color: var(--slate);
}

.proof-badge-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
}

/* Featured stories section */
.success-stories {
  padding: 90px 0;
  background: #fff;
}

.success-stories-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.story-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-card-row.reverse {
  direction: rtl;
}

.story-card-row.reverse .story-text-col {
  direction: ltr;
}

.story-visual-col {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--blue-04);
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.story-placeholder-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--slate-light);
  gap: 12px;
}

.story-placeholder-inner svg {
  width: 48px;
  height: 48px;
  color: var(--blue);
}

.story-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text-col .company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.story-text-col h3 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--ink);
}

.story-text-col blockquote {
  font-size: 1.05rem;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 20px;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}

.story-journey-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.story-journey-node {
  background: var(--bg-tint);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.story-journey-arrow {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.9rem;
}

/* Industry testimonials section */
.industry-navigator-section {
  padding: 90px 0;
  background: var(--bg-tint);
}

.industry-nav-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 20px;
  margin-bottom: 30px;
  scrollbar-width: none;
}

.industry-nav-bar::-webkit-scrollbar {
  display: none;
}

.industry-nav-tab {
  white-space: nowrap;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--slate);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.industry-nav-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(24, 104, 251, 0.25);
}

.industry-progress-track {
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 34px;
  overflow: hidden;
}

.industry-progress-fill {
  height: 100%;
  background: var(--blue);
  width: 0;
  transition: width 0.1s linear;
}

.industry-main-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 40px;
}

.industry-desc-col h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.industry-desc-col p {
  color: var(--slate);
  margin-bottom: 24px;
}

.industry-benefits-col {
  background: var(--bg-tint);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--line);
}

.industry-benefits-col h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--ink);
}

.industry-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-benefit-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--slate);
}

.industry-benefit-item svg {
  color: var(--ok);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Bento testimonials grid */
.bento-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-card p {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.bento-card .client-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.bento-card .initials-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Real proof and timeline */
.proof-timeline-section {
  padding: 90px 0;
  background: #fff;
}

.experience-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin: 50px 0;
}

.experience-timeline-line {
  position: absolute;
  top: 25px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--line);
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--slate-light);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.timeline-step.active .timeline-icon {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-12);
}

.timeline-step.done .timeline-icon {
  border-color: var(--ok);
  background: var(--ok-bg);
  color: var(--ok);
}

.timeline-step h4 {
  font-size: 0.96rem;
  margin: 14px 0 6px;
  color: var(--ink);
}

.timeline-step p {
  font-size: 0.78rem;
  color: var(--slate);
  max-width: 140px;
}

/* Proof wall grid and devices */
.proof-wall-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.proof-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* WhatsApp Frame mockup */
.whatsapp-mockup {
  background: #efeae2;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.wa-header {
  background: #075e54;
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.wa-header .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
}

.wa-chat-area {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  justify-content: flex-end;
}

.wa-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-bubble.in {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-bubble.out {
  background: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-time {
  font-size: 0.65rem;
  color: #8696a0;
  text-align: right;
  margin-top: 4px;
}

/* Email Frame mockup */
.email-mockup {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.email-header {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--slate);
}

.email-header-row {
  margin-bottom: 4px;
}

.email-body {
  padding: 18px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}

/* Google Review Card mockup */
.google-review-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.google-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.google-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.google-g {
  width: 24px;
  height: 24px;
  background: #ea4335;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.72rem;
}

.partnership-section {
  text-align: center;
  margin-top: 80px;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.partner-card {
  background: var(--bg-tint);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}

.partner-card .pic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.partner-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Modal and layout fixes */
.story-detail-modal {
  max-width: 640px;
  width: 100%;
}

.modal-content-scroll {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 8px;
}

.modal-content-scroll h4 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
  color: var(--ink);
}

.modal-content-scroll p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* Responsive mobile adaptations */
@media (max-width: 1024px) {
  .hero-featured-frame,
  .story-card-row,
  .industry-main-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .story-card-row.reverse {
    direction: ltr;
  }
  .bento-testimonials-grid,
  .proof-wall-grid,
  .partnership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.large {
    grid-column: span 2;
  }
  .experience-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .experience-timeline::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .bento-testimonials-grid,
  .proof-wall-grid,
  .partnership-grid,
  .experience-timeline {
    grid-template-columns: 1fr;
  }
  .bento-card.large {
    grid-column: span 1;
  }
  .experience-timeline {
    gap: 30px;
  }
  .testimonials-hero h1 {
    font-size: 2rem;
  }
  .testimonials-hero .sub {
    font-size: 0.95rem;
    padding: 0 16px;
  }
  .hero-card-side blockquote {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .hero-featured-frame {
    padding: 24px;
    gap: 24px;
  }
  .story-card-row {
    gap: 24px;
  }
  .success-stories {
    padding: 50px 0;
  }
  .bento-card, .partner-card, .google-review-card {
    padding: 20px;
  }
  .industry-main-panel {
    padding: 24px;
    gap: 24px;
  }
  .industry-desc-col h3 {
    font-size: 1.5rem;
  }
  
  /* Center all buttons on mobile view */
  .btn, a.btn, button.btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 320px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
}
