
/* ==========================================================================
   SUPPLEMENT — Additional classes for all inner pages
   ========================================================================== */

/* Page hero compact variant */
.page-hero--compact {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
}

/* Portfolio NDA note */
.portfolio-nda-note {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* Filter tabs (alias for portfolio-filters) */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

/* Project icon (alias for project-card-icon) */
.project-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 12px;
}
.project-icon--healthcare { background: rgba(52,211,153,0.12); color: #34D399; }
.project-icon--ecommerce  { background: rgba(79,142,247,0.12); color: var(--color-primary); }
.project-icon--edtech     { background: rgba(167,139,250,0.12); color: var(--color-ai); }
.project-icon--legal      { background: rgba(251,146,60,0.12); color: #fb923c; }
.project-icon--logistics  { background: rgba(34,211,238,0.12); color: var(--color-accent); }
.project-icon--events     { background: rgba(244,63,94,0.12); color: #f43f5e; }
.project-icon--enterprise { background: rgba(148,163,184,0.12); color: var(--text-secondary); }
.project-icon--devops     { background: rgba(255,165,0,0.12); color: #ffa500; }

/* Project card header row */
.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Project tag row */
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.project-tag--web    { background: rgba(79,142,247,0.08); color: var(--text-secondary); border: 1px solid rgba(79,142,247,0.15); }
.project-tag--mobile { background: rgba(34,211,238,0.08); color: var(--text-secondary); border: 1px solid rgba(34,211,238,0.15); }

/* Featured badge */
.project-featured-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(79,142,247,0.15);
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: var(--radius-full);
  color: var(--color-primary);
}

/* Project highlights (alias for project-features) */
.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.project-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.project-highlights li svg { color: var(--color-primary); flex-shrink: 0; width: 14px; height: 14px; }

/* Project tech stack (alias for project-tech-tags) */
.project-tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* Tech pill (alias for tech-tag) */
.tech-pill {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px;
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.15);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* Result metric row — green highlight strip */
.project-result {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: #34D399;
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 6px;
  padding: 7px 12px;
  margin: 10px 0;
  line-height: 1.5;
}
.project-result svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Stack label before tech pills */
.tech-stack-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 8px;
  border-right: 1px solid var(--border-color);
  margin-right: 2px;
  align-self: center;
}

/* Case study link */
.case-study-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13px; font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
}
.case-study-link svg { width: 15px; height: 15px; }
.case-study-link:hover { gap: 10px; opacity: 0.85; }

/* Canada badge on footer office */
.canada-badge {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Project card visual panel (featured card right side) */
.project-card-visual {
  width: 200px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  position: relative; overflow: hidden;
}
.project-card-visual--healthcare { background: radial-gradient(circle at 50% 50%, rgba(52,211,153,0.2) 0%, transparent 70%); }
.project-card-visual--edtech     { background: radial-gradient(circle at 50% 50%, rgba(167,139,250,0.2) 0%, transparent 70%); }

.project-visual-icon {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

/* Domain stat strip */
.domain-strip {
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(30,58,95,0.5);
  padding: 40px 0;
}
.domain-strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.domain-stat { text-align: center; padding: 0 48px; }
.domain-stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.domain-stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.domain-divider {
  width: 1px; height: 50px;
  background: rgba(30,58,95,0.6);
  flex-shrink: 0;
}

/* Portfolio empty state */
.portfolio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

/* team-secondary-grid (alias for team-grid-secondary) */
.team-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Team card avatar wrappers */
.team-card-avatar-wrap,
.team-avatar-wrap-sm {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar-wrap-sm .team-avatar { width: 90px; height: 90px; }
.team-avatar-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  pointer-events: none;
}
.team-avatar-glow--blue   { background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 70%); }
.team-avatar-glow--cyan   { background: radial-gradient(circle, rgba(34,211,238,0.15) 0%, transparent 70%); }
.team-avatar-glow--purple { background: radial-gradient(circle, rgba(167,139,250,0.15) 0%, transparent 70%); }

/* Team card header */
.team-card-header { margin-bottom: 10px; }

/* skill-tag (alias for team-skill-tag) */
.skill-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  color: var(--text-secondary);
  display: inline-block;
}

/* AI agents section extras */
.ai-agents-header {
  display: flex; align-items: flex-start;
  gap: 20px; margin-bottom: 32px;
  text-align: left;
}
.ai-agents-icon {
  width: 60px; height: 60px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ai-agents-subtitle {
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
  position: relative;
}
.ai-agents-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-start;
  position: relative; margin-bottom: 24px;
}
.agent-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.ai-agents-note {
  font-size: 14px; color: var(--text-secondary);
  position: relative; font-style: italic;
  border-top: 1px solid rgba(167,139,250,0.15);
  padding-top: 20px; margin-top: 8px;
}

/* Join section */
.join-section { padding: var(--section-pad-y) 0; }
.join-card {
  background: linear-gradient(135deg, #0D1030 0%, #0A1628 100%);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: var(--radius);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.join-card-content { flex: 1; }
.join-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; color: var(--text-primary);
  margin: 12px 0;
}
.join-desc {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 28px; max-width: 480px;
}
.join-card-visual {
  width: 180px; height: 180px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.join-orb {
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(79,142,247,0.4), rgba(34,211,238,0.15), transparent 70%);
  animation: float 6s ease-in-out infinite;
}

/* Contact page extras */
.contact-main { padding: var(--section-pad-y) 0; }

.contact-info {
  display: flex; flex-direction: column;
  gap: 6px;
}
.contact-info-block {
  display: flex; align-items: flex-start;
  gap: 14px; padding: 16px 0;
  border-bottom: 1px solid rgba(30,58,95,0.4);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-info-icon--cyan  { background: rgba(34,211,238,0.1); color: var(--color-accent); }
.contact-info-icon--green { background: rgba(52,211,153,0.1); color: #34D399; }

.response-badge {
  display: inline-flex; align-items: center;
  gap: 6px; padding: 4px 12px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
  color: #34D399;
}

.contact-offices { margin-top: 24px; }
.contact-offices-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.contact-office-item {
  display: flex; align-items: flex-start;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(30,58,95,0.3);
}
.contact-office-item:last-child { border-bottom: none; }
.contact-office-flag { font-size: 22px; line-height: 1; flex-shrink: 0; }
.contact-office-city { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.contact-office-region { font-size: 12px; color: var(--text-secondary); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 28px;
}
.form-group--full { grid-column: span 2; }
.form-note {
  font-size: 12px; color: var(--text-muted);
  margin-top: 12px; text-align: center;
  line-height: 1.5;
}
.form-submit {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 14px;
}
.form-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 16px; padding: 60px 20px;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.form-success p  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* FAQ open state alias */
.faq-item--open { border-color: rgba(79,142,247,0.35) !important; }
.faq-item--open .faq-question { color: var(--color-primary); }
.faq-item--open .faq-answer   { max-height: 400px !important; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.75;
}
.faq-question i {
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0; color: var(--text-muted);
}
.faq-item--open .faq-question i { transform: rotate(180deg); color: var(--color-primary); }

/* Services page */
.services-detail-wrap { padding: var(--section-pad-y) 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-grid--reverse { direction: rtl; }
.service-detail-grid--reverse > * { direction: ltr; }

.service-detail-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.service-detail-icon--blue   { background: rgba(79,142,247,0.12); color: var(--color-primary); }
.service-detail-icon--cyan   { background: rgba(34,211,238,0.12); color: var(--color-accent); }
.service-detail-icon--purple { background: rgba(167,139,250,0.12); color: var(--color-ai); }
.service-detail-icon--green  { background: rgba(52,211,153,0.12); color: #34D399; }
.service-detail-icon--pink   { background: rgba(244,63,94,0.12); color: #f43f5e; }
.service-detail-icon--orange { background: rgba(251,146,60,0.12); color: #fb923c; }
.service-detail-icon--ai     { background: linear-gradient(135deg,rgba(79,142,247,0.15),rgba(167,139,250,0.15)); color: var(--color-primary); }

.service-detail--alt { background: var(--bg-section-alt); padding: 64px 0; }
.service-detail--ai  { background: linear-gradient(135deg, #09122a 0%, var(--bg-primary) 100%); padding: 64px 0; }

.service-detail-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid rgba(30,58,95,0.4);
  position: relative; overflow: hidden;
}
.service-detail-visual--blue   { background: radial-gradient(circle at 50%, rgba(79,142,247,0.12), transparent 70%); }
.service-detail-visual--cyan   { background: radial-gradient(circle at 50%, rgba(34,211,238,0.12), transparent 70%); }
.service-detail-visual--purple { background: radial-gradient(circle at 50%, rgba(167,139,250,0.12), transparent 70%); }
.service-detail-visual--green  { background: radial-gradient(circle at 50%, rgba(52,211,153,0.12), transparent 70%); }
.service-detail-visual--pink   { background: radial-gradient(circle at 50%, rgba(244,63,94,0.12), transparent 70%); }
.service-detail-visual--orange { background: radial-gradient(circle at 50%, rgba(251,146,60,0.12), transparent 70%); }
.service-detail-visual--ai     { background: radial-gradient(circle at 50%, rgba(167,139,250,0.15), transparent 70%); }

.service-checklist li {
  display: flex; align-items: center;
  gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}
.service-checklist li svg { color: var(--color-primary); flex-shrink: 0; width: 14px; height: 14px; }

/* Technologies grid on services page */
.technologies-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(30,58,95,0.5);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.tech-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 12px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  text-align: center;
  cursor: default;
  transition: transform var(--transition), border-color var(--transition);
}
.tech-tile:hover { transform: translateY(-4px); border-color: rgba(79,142,247,0.4); }
.tech-tile-icon  { font-size: 26px; line-height: 1; }
.tech-tile-name  { font-size: 11px; font-weight: 600; color: var(--text-secondary); }

/* Blog extras */
.blog-filter-section { padding: 32px 0 0; }
.blog-empty-section  { padding: var(--section-pad-y) 0; }
.topics-grid {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
  margin-top: 40px;
}
.topic-pill {
  display: inline-flex; align-items: center;
  gap: 8px; padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  cursor: default;
  transition: border-color var(--transition), color var(--transition);
}
.topic-pill:hover { border-color: rgba(79,142,247,0.4); color: var(--text-primary); }
.topic-pill svg  { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }
.blog-notify-note {
  font-size: 12px; color: var(--text-muted);
  margin-top: 10px; text-align: center;
}

/* Careers extras */
.why-work-section { padding: var(--section-pad-y) 0; }
.why-work-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.why-work-icon--blue   { background: rgba(79,142,247,0.12); color: var(--color-primary); }
.why-work-icon--cyan   { background: rgba(34,211,238,0.12); color: var(--color-accent); }
.why-work-icon--purple { background: rgba(167,139,250,0.12); color: var(--color-ai); }
.why-work-icon--green  { background: rgba(52,211,153,0.12); color: #34D399; }

/* Job question button */
.job-question {
  width: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 24px 28px;
  background: none; border: none; text-align: left;
  cursor: pointer; font-family: var(--font-main);
  transition: background var(--transition);
}
.job-question:hover { background: rgba(79,142,247,0.04); }
.job-question i {
  transition: transform var(--transition), color var(--transition);
  color: var(--text-muted); flex-shrink: 0;
}
.job-header-content { flex: 1; }
.job-apply-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-full);
  color: #34D399; white-space: nowrap; flex-shrink: 0;
}
.job-body-content {
  padding: 0 28px 32px;
  border-top: 1px solid rgba(30,58,95,0.4);
}
.job-body-intro {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; margin: 20px 0 24px;
}
.job-section-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin: 20px 0 10px;
}
.job-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.job-list li {
  font-size: 14px; color: var(--text-secondary);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.job-list li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--color-primary); font-size: 12px; top: 1px;
}
.job-item--open { border-color: rgba(79,142,247,0.35) !important; }
.job-item--open .job-question i { transform: rotate(180deg); }
.job-item--open .job-body { max-height: 1200px !important; }

/* General CV card */
.general-cv-card {
  background: linear-gradient(135deg, #0D1030 0%, #0A1628 100%);
  border: 1px dashed rgba(79,142,247,0.3);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  margin-top: 24px;
}
.general-cv-icon {
  width: 56px; height: 56px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.general-cv-content { flex: 1; }
.general-cv-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.general-cv-desc  { font-size: 14px; color: var(--text-secondary); }
.general-cv-btn   { flex-shrink: 0; white-space: nowrap; }

/* Legal page extras */
.legal-toc-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.legal-intro {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(30,58,95,0.4);
}
.legal-subsection {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin: 20px 0 8px;
}
.legal-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.legal-list li {
  font-size: 14px; color: var(--text-secondary);
  padding-left: 20px; position: relative; line-height: 1.6;
}
.legal-list li::before { content: '\2022'; position: absolute; left: 6px; color: var(--color-primary); }
.legal-contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px; margin-top: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.legal-contact-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.legal-link { color: var(--color-primary); text-decoration: none; }
.legal-link:hover { text-decoration: underline; }

/* ===== AI PROJECT CARD STYLES ===== */
.project-icon--ai-system {
  background: linear-gradient(135deg, rgba(79,142,247,0.12), rgba(167,139,250,0.12));
  color: #A78BFA;
}
.project-tag--ai {
  background: rgba(167,139,250,0.1);
  color: #A78BFA;
  border: 1px solid rgba(167,139,250,0.2);
}
.project-featured-badge--ai {
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.35);
  color: #A78BFA;
}
.project-card-visual--ai {
  background: radial-gradient(circle at 50% 50%, rgba(167,139,250,0.2) 0%, transparent 70%);
}
.project-result--ai {
  color: #A78BFA;
  background: rgba(167,139,250,0.07);
  border-color: rgba(167,139,250,0.18);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid rgba(30,58,95,0.5);
}

/* ── View Toggle Controls ── */
.testimonials-view-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: -36px; /* grid's margin-top:56px absorbs the overlap */
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(30,58,95,0.9);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-body, 'Inter', sans-serif);
}
.view-toggle-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.view-toggle-btn:hover { border-color: rgba(79,142,247,0.4); color: #fff; }
.view-toggle-btn.active {
  border-color: rgba(79,142,247,0.55);
  background: rgba(79,142,247,0.1);
  color: #4F8EF7;
}

/* ── Wrapper ── */
.testimonials-wrapper { position: relative; }

/* ── Slider Dots ── */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(79,142,247,0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}
.slider-dot.active {
  background: #4F8EF7;
  width: 28px;
  border-radius: 4px;
}
.slider-dot:hover:not(.active) { background: rgba(79,142,247,0.5); }

/* ── Slider mode ── */
.testimonials-wrapper.view--slider {
  overflow: hidden;
  padding: 8px 0;   /* prevent card hover-lift shadow from clipping */
}
.testimonials-wrapper.view--slider .testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  margin-top: 56px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testimonials-wrapper.view--slider .testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}

/* Tablet slider — 2 cards */
@media (max-width: 1023px) {
  .testimonials-wrapper.view--slider .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

/* Mobile slider — 1 card visible, swipe to navigate */
@media (max-width: 639px) {
  .testimonials-view-controls { margin-bottom: -24px; }
  .testimonials-wrapper.view--slider .testimonial-card { flex: 0 0 100%; }
  .testimonials-wrapper.view--slider { padding: 8px 0; }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(79,142,247,0.3);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: #FBBF24;
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  position: relative;
  padding-top: 10px;
}
.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -14px;
  left: -6px;
  font-size: 72px;
  color: rgba(79,142,247,0.1);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(30,58,95,0.5);
  margin-top: auto;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.testimonial-avatar--healthcare { background: rgba(52,211,153,0.12); color: #34D399; }
.testimonial-avatar--edtech     { background: rgba(167,139,250,0.12); color: #A78BFA; }
.testimonial-avatar--logistics  { background: rgba(34,211,238,0.12); color: #22D3EE; }
.testimonial-avatar--ecommerce  { background: rgba(79,142,247,0.12); color: #4F8EF7; }
.testimonial-avatar--legal      { background: rgba(251,191,36,0.12);  color: #FBBF24; }
.testimonial-avatar--events     { background: rgba(244,114,182,0.12); color: #F472B6; }
.testimonial-avatar--ai         { background: rgba(99,102,241,0.12);  color: #818CF8; }
.testimonial-avatar--transport  { background: rgba(16,185,129,0.12);  color: #10B981; }
.testimonial-avatar--fintech    { background: rgba(245,158,11,0.12);  color: #F59E0B; }
.testimonial-avatar--proptech   { background: rgba(20,184,166,0.12);  color: #14B8A6; }
.testimonial-avatar--foodtech   { background: rgba(249,115,22,0.12);  color: #F97316; }
.testimonial-avatar--hr         { background: rgba(251,113,133,0.12); color: #FB7185; }
.testimonial-avatar--construction { background: rgba(239,68,68,0.12); color: #EF4444; }
.testimonial-avatar--retail     { background: rgba(132,204,22,0.12);  color: #84CC16; }
.testimonial-avatar--hospitality{ background: rgba(14,165,233,0.12);  color: #0EA5E9; }
.testimonial-avatar--saas       { background: rgba(168,85,247,0.12);  color: #A855F7; }
.testimonial-name {
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--text-primary);
}
.testimonial-industry {
  display: block;
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}

/* Responsive extras */
@media (max-width: 1023px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid--reverse { direction: ltr; }
  .join-card { flex-direction: column; text-align: center; }
  .join-desc { max-width: 100%; }
  .general-cv-card { flex-direction: column; text-align: center; }
  .team-secondary-grid { grid-template-columns: 1fr 1fr; }
  .domain-stat { padding: 0 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .team-secondary-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .domain-strip-inner { flex-direction: column; gap: 24px; }
  .domain-divider { width: 40px; height: 1px; }
  .project-card-visual { display: none; }
  .project-card--featured { flex-direction: column; }
  .contact-form-wrap { padding: 24px; }
  .form-group--full { grid-column: span 1; }
  .ai-agents-header { flex-direction: column; }
  .why-work-grid { grid-template-columns: 1fr 1fr; }
  .general-cv-card { flex-direction: column; text-align: center; }
  .job-question { padding: 18px 20px; }
  .job-body-content { padding: 0 20px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .join-card { padding: 32px 24px; }
  .why-work-grid { grid-template-columns: 1fr; }
  .topics-grid { gap: 8px; }
}
