/* ==========================================================================
   Pixtop home — layout layer on top of style.css (no gradients)
   ========================================================================== */
body[data-theme="light"] {
  --label: #3f3f3f;
}

body[data-theme="dark"] {
  --label: #d4d4d4;
}

/* full-width layout on desktop — lift the 1320px cap, keep side padding */
.section-inner,
.hero,
.section-about,
.section-awards,
.section-work,
.nav,
.site-footer {
  max-width: none;
}

/* uniform section separators — every section boundary gets one hairline:
   base css only gave services (top+bottom) and contact (top) a line */
.section-about,
.section-work,
.section-clients,
.section-awards,
.site-footer {
  border-top: 1px solid var(--line);
}

/* avoid a double line where services' bottom border meets work's new top border */
.section-services { border-bottom: none; }

/* readable eyebrow labels — the base design's small gray labels are too faint */
.eyebrow,
.section-label,
.clients-label {
  color: var(--label);
  font-size: 13px;
  font-weight: 700;
}

.clients-label { opacity: 1; }

/* prominent nav */
.nav-link {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.nav-mobile .nav-link { font-size: 17px; }

/* uniform grids — box the stats and clients grids like services/awards/offices
   (outer border + 1px hairline separators via gap over --line) */
.stats {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  background-clip: padding-box;
}

.stat {
  background: var(--bg);
  border-right: none;
}
.stat:first-child { padding-left: 28px; }
.stat:last-child { padding-right: 28px; }

.clients-grid {
  border: 1px solid var(--line);
  background-clip: padding-box;
}

@media (max-width: 900px) {
  .stat:nth-child(3) { padding-left: 28px; }
}

/* ==========================================================================
   Testimonials slider
   ========================================================================== */
.section-testimonials {
  padding: 120px 40px;
  border-top: 1px solid var(--line);
}

.section-testimonials .section-title {
  margin-bottom: 70px;
  width: fit-content;
}

.testi-viewport { overflow: hidden; }

.testi-track {
  display: flex;
  transition: transform .5s ease;
}

.testi-slide {
  min-width: 100%;
  margin: 0;
}

.testi-slide blockquote {
  margin: 0 0 36px;
  max-width: 68ch;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.01em;
}

.testi-slide blockquote::before {
  content: "“";
  display: block;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--fg);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 22px;
}

.testi-logo {
  display: block;
  height: 72px;
  width: auto;
  flex-shrink: 0;
}

/* wide wordmark logos (e.g. Afcons) render smaller than the circular badges */
.testi-logo--wide { height: 44px; }

.testi-name {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.testi-role {
  font-size: 16px;
  color: var(--fg-2);
  margin-top: 5px;
}

.testi-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-size: 17px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.testi-btn:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.testi-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--fg-2);
  opacity: .45;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.testi-dot.is-active {
  background: var(--fg);
  opacity: 1;
  transform: scale(1.3);
}

@media (max-width: 560px) {
  .section-testimonials { padding-left: 20px; padding-right: 20px; }
}

/* clients section heading — label/title/grid rhythm like other sections */
.clients-label { margin-bottom: 24px; }
.section-clients .section-title {
  margin: 0 0 56px;
  width: fit-content;
}

/* social icons — follow the theme: white on dark, black on light */
.follow-icon {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s;
}
.follow-icon:hover { opacity: .55; }

.follow-icon svg { fill: var(--fg); }
