/* =========================================================
   PESTGUARD CLIENTS PAGE
   ========================================================= */

.clients-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7faf8;
  color: #14221b;
}

.clients-main {
  flex: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 85px;
}

.clients-heading {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.clients-heading > span {
  display: block;
  margin-bottom: 10px;
  color: var(--purple2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.clients-heading h1 {
  margin: 0;
  color: #102019;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -1.8px;
}

.clients-heading p {
  max-width: 650px;
  margin: 15px auto 0;
  color: #6d7c73;
  font-size: 14px;
  line-height: 1.7;
}

/* Active navbar item */
.nav-links .clients-current {
  color: #168344;
}

.nav-links .clients-current::after {
  transform: scaleX(1);
}

/* =========================
   CLIENT GRID
   ========================= */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2eae5;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 7px 24px rgba(24, 48, 35, 0.055);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(24, 48, 35, 0.09);
}

.client-logo-box {
  width: 115px;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}

.client-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.client-logo-box svg {
  color: #168344;
}

.client-card h3 {
  margin: 0;
  color: #26342c;
  font-size: 14px;
  font-weight: 700;
}

.client-card p {
  max-width: 230px;
  margin: 7px 0 0;
  color: #7b8780;
  font-size: 11px;
  line-height: 1.55;
}

/* =========================
   EMPTY / LOADING
   ========================= */

.clients-empty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px;
  box-sizing: border-box;
  border: 1px solid #e1e9e4;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.clients-empty svg {
  margin-bottom: 14px;
  color: #168344;
}

.clients-empty h2 {
  margin: 0 0 7px;
  color: #25332b;
  font-size: 20px;
}

.clients-empty p {
  margin: 0;
  color: #7b8780;
  font-size: 13px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1000px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .clients-main {
    width: calc(100% - 28px);
    padding: 55px 0 65px;
  }

  .clients-heading {
    margin-bottom: 32px;
  }

  .clients-heading h1 {
    font-size: 38px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .clients-heading h1 {
    font-size: 33px;
    letter-spacing: -1px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    min-height: 190px;
  }
}


/* =========================================================
   FLOATING CALL + WHATSAPP
   ========================================================= */
.float-call, .whatsapp {
  position: fixed !important;
  right: 22px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  text-decoration: none !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  font-size: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.22) !important;
}
.float-call {
  bottom: 88px !important;
  background: #350049 !important;
  color: #fff !important;
}
.float-call::before {
  content: '☎';
  font-size: 25px !important;
  line-height: 1 !important;
}
.whatsapp {
  bottom: 22px !important;
  background: #18c968 !important;
  color: #fff !important;
}
.whatsapp::before {
  content: 'WA';
  font-size: 14px !important;
  font-weight: 800 !important;
  border: 2px solid #fff !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
}
@media(max-width:600px){
  .float-call, .whatsapp { right: 16px !important; width: 52px !important; height: 52px !important; }
  .float-call { bottom: 82px !important; }
  .whatsapp { bottom: 18px !important; }
}

/* Prevent duplicate floating WhatsApp buttons if an older cached/footer copy exists. */
body > .whatsapp ~ .whatsapp { display: none !important; }
