/* ── Hexasolv Agency Trust & Layout Upgrades ───────────────── */

/* 1. Trust Accreditation Badges */
.trust-badges-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
}

.trust-badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

html.dark .trust-badge-card {
  filter: grayscale(100%) opacity(0.4) brightness(1.2);
}

.trust-badge-card:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-4px);
  border-color: var(--accent-1);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
}

html.dark .trust-badge-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.trust-badge-icon {
  font-size: 1.4rem;
  color: var(--accent-1);
}

.trust-badge-info {
  display: flex;
  flex-direction: column;
}

.trust-badge-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.trust-badge-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* 2. SDLC Workflows Stepper */
.sdlc-section {
  padding: 5.5rem 0;
  background: var(--bg-primary);
}

.sdlc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.sdlc-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sdlc-card::before {
  content: attr(data-step);
  position: absolute;
  top: 10px;
  right: 15px;
  font-family: var(--font-main);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.04);
  line-height: 1;
  transition: color 0.3s;
  user-select: none;
}

html.dark .sdlc-card::before {
  color: rgba(255, 255, 255, 0.02);
}

.sdlc-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-1);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.08);
}

.sdlc-card:hover::before {
  color: rgba(124, 58, 237, 0.09);
}

html.dark .sdlc-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sdlc-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.sdlc-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.sdlc-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 3. SEO FAQ Accordion */
.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.active {
  border-color: var(--accent-1);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.04);
}

html.dark .faq-item.active {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.8rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s;
  padding-right: 1.2rem;
}

.faq-item.active .faq-question,
.faq-header:hover .faq-question {
  color: var(--accent-1);
}

.faq-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-1);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 1.8rem 1.4rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

/* 4. Verified Client Reviews Carousel */
.reviews-section {
  padding: 5.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.reviews-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide-card {
  min-width: 100%;
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
}

.review-quote {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.8rem;
  position: relative;
}

.review-quote::before,
.review-quote::after {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  color: rgba(124, 58, 237, 0.15);
  position: absolute;
  line-height: 1;
}

.review-quote::before {
  content: '“';
  top: -15px;
  left: -25px;
}

.review-quote::after {
  content: '”';
  bottom: -45px;
  right: -25px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.review-author-name {
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

.review-author-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 50px;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.reviews-dot.active {
  width: 26px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
}

/* Responsiveness adjustments */
@media (max-width: 640px) {
  .trust-badges-grid {
    gap: 1rem;
    justify-content: center;
  }
  .trust-badge-card {
    padding: 0.6rem 1rem;
  }
  .sdlc-grid {
    grid-template-columns: 1fr;
  }
  .faq-header {
    padding: 1.1rem 1.4rem;
  }
  .faq-answer {
    padding: 0 1.4rem 1.2rem;
  }
}