/* Customers page — extends styles.css */

.cust-hero {
  position: relative;
  padding-top: 200px;
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.cust-hero-inner { max-width: 1100px; }
.cust-hero h1 {
  margin-top: 32px;
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.cust-hero h1 .muted { color: var(--text-muted); }
.cust-hero .lead {
  margin-top: 32px;
  max-width: 60ch;
}
.cust-hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Logo wall ===== */
.cust-wall {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cust-wall::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 700px 400px at 15% 30%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 70%, rgba(50, 174, 155, 0.18) 0%, transparent 60%);
  filter: blur(60px);
  opacity: calc(0.55 * var(--glow-strength));
  z-index: -1;
  pointer-events: none;
}
.cust-wall-head {
  text-align: center;
  margin-bottom: 64px;
}
.cust-wall-head h2 {
  margin-top: 22px;
  text-wrap: balance;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.cust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (min-width: 700px)  { .cust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cust-grid { grid-template-columns: repeat(4, 1fr); } }

.cust-cell {
  background: var(--bg);
  min-height: 140px;
  display: grid;
  place-items: center;
  padding: 28px 24px;
  transition: background .25s ease;
  position: relative;
  color: var(--text);
  box-shadow: inset -1px -1px 0 var(--line);
}
.cust-cell:hover { background: rgba(255, 255, 255, 0.03); }
.cust-cell img {
  max-height: 56px;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: brightness(1.2);
  transition: opacity .25s ease, filter .25s ease;
}
/* Dark/black logos — invert to white silhouette on the dark surface */
.cust-cell img.cust-logo-invert {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}
.cust-cell:hover img.cust-logo-invert {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.cust-cell:hover img { opacity: 1; }
.cust-cell.cust-cell-text {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  text-align: center;
  text-wrap: balance;
}
.cust-cell.cust-cell-text:hover { color: var(--text); }

/* ===== Featured testimonial ===== */
.cust-featured {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cust-featured::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
  filter: blur(120px);
  opacity: calc(0.6 * var(--glow-strength));
  z-index: -1;
  pointer-events: none;
}
.cust-featured-inner {
  max-width: 980px;
  margin: 0 auto;
}
.cust-featured-copy .eyebrow + .cust-featured-mark { margin-top: 28px; }
.cust-featured-mark {
  width: 48px; height: 36px;
  color: var(--accent);
  opacity: 0.9;
}
.cust-featured-quote {
  margin-top: 24px;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: var(--text);
  max-width: 64ch;
  text-wrap: pretty;
}
.cust-featured-attr {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cust-featured-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px var(--accent-glow);
}
.cust-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.cust-featured-attr .name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cust-featured-attr .role {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Testimonial grid ===== */
.cust-quotes { padding-top: 40px; padding-bottom: var(--gap); }
.cust-quotes-head {
  text-align: center;
  margin-bottom: 64px;
}
.cust-quotes-head h2 {
  margin-top: 22px;
  text-wrap: balance;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.cust-quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px)  { .cust-quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cust-quote-grid { grid-template-columns: repeat(3, 1fr); } }

.cust-quote {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 340px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s ease, background .25s ease;
}
.cust-quote:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #181B21;
}
.cust-quote-mark {
  width: 32px; height: 24px;
  color: var(--accent);
  opacity: 0.9;
}
.cust-quote-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.005em;
  flex: 1;
  text-wrap: pretty;
}
.cust-quote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.cust-quote-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
}
.cust-quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.cust-quote-attr .name {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cust-quote-attr .role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== CTA strip ===== */
.cust-cta {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cust-cta::before {
  content: '';
  position: absolute;
  bottom: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: calc(0.55 * var(--glow-strength));
  pointer-events: none;
}
.cust-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .cust-cta-inner { grid-template-columns: 1.4fr 1fr; }
}
.cust-cta h2 { max-width: 18ch; }
.cust-cta .lead { margin-top: 24px; }
.cust-cta-actions { display: flex; gap: 12px; justify-self: end; flex-wrap: wrap; }
@media (max-width: 899px) { .cust-cta-actions { justify-self: start; } }

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .cust-hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }
  .cust-hero h1 { font-size: clamp(36px, 11vw, 56px); margin-top: 22px; }
  .cust-hero .lead { font-size: 16px; margin-top: 22px; }
  .cust-hero-actions { gap: 10px; margin-top: 28px; }
  .cust-hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  .cust-wall { padding-top: 64px; padding-bottom: 64px; }
  .cust-wall-head { margin-bottom: 36px; }
  .cust-wall-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .cust-grid { border-radius: 16px; }
  .cust-cell { min-height: 100px; padding: 20px 16px; }
  .cust-cell img { max-height: 38px; }
  .cust-cell.cust-cell-text { font-size: 14px; }

  .cust-featured-inner { gap: 32px; }
  .cust-featured-quote { font-size: clamp(20px, 5.5vw, 28px); margin-top: 18px; }
  .cust-featured-attr { margin-top: 24px; gap: 14px; }
  .cust-featured-thumb { width: 48px; height: 48px; }

  .cust-quotes-head { margin-bottom: 40px; }
  .cust-quotes-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .cust-quote { padding: 26px 22px; min-height: auto; gap: 18px; }
  .cust-quote-text { font-size: 15.5px; }

  .cust-cta { padding-top: 64px; padding-bottom: 64px; }
  .cust-cta h2 { font-size: clamp(28px, 8vw, 40px); }
  .cust-cta-actions { gap: 10px; }
  .cust-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}
