/* ============================================================
   MasterHRM — supplementary styles for the dynamic (Laravel) build.
   Only classes NOT already in editorial.css live here.
   ============================================================ */

/* Data-driven product panel (platform + industries mini-visuals) */
.ui-panel {
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.ui-panel-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--ink-200);
  background: var(--ink-050);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ui-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--ink-100);
}
.ui-panel-row:last-child { border-bottom: 0; }
.ui-panel-name { font-weight: 600; font-size: 14px; color: var(--ink-800); }
.ui-panel-meta { font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.ui-panel-tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(26, 107, 58, 0.10);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Clients / "trusted by" logo band + auto-scroll marquee */
.clients-section {
  padding: var(--sp-64) 0;
  background: var(--ink-050);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.clients-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-400); text-align: center; margin-bottom: var(--sp-32);
}
.clients-marquee { overflow: hidden; }
.clients-track {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-16); flex-wrap: wrap;
}
.clients-marquee.is-scrolling .clients-track {
  flex-wrap: nowrap; justify-content: flex-start;
  width: max-content;
  animation: clientsScroll 34s linear infinite;
}
.clients-marquee.is-scrolling:hover .clients-track { animation-play-state: paused; }
@keyframes clientsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-item {
  flex: none;
  padding: 16px 30px; min-width: 150px; height: 72px;
  border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.client-item:hover { border-color: var(--ink-400); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.client-logo { max-height: 38px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.client-item:hover .client-logo { filter: none; opacity: 1; }
.client-name { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink-700); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .clients-marquee.is-scrolling .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Testimonial slider (homepage pull-quote) */
.pullquote[data-testimonials] { position: relative; }
.pq-slide { display: none; animation: pqFade .5s var(--ease); }
.pq-slide.active { display: block; }
@keyframes pqFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pq-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--sp-32);
}
.pq-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-200);
  padding: 0;
  transition: background .2s, transform .2s;
}
.pq-dot:hover { background: var(--ink-400); }
.pq-dot.active { background: var(--brand); transform: scale(1.25); }

/* Contact form alerts (server-side flash + validation) */
.form-alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--sp-20);
}
.form-alert-success {
  background: rgba(26, 107, 58, 0.10);
  color: var(--success);
  border: 1px solid rgba(26, 107, 58, 0.25);
}
.form-alert-error {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(184, 39, 27, 0.25);
}
