/* ==========================================================================
   Service — Awards, Variant 1 (Slider)
   Same component as the Real Estate App Development page's own Awards
   section (assets/css/real-estate-app-development.css, `.reapp-awards-*`) —
   every rule below is that block verbatim, renamed to `.svc-awards-*`. Plain
   Swiper carousel of award/badge cards.
   ========================================================================== */

.svc-awards {
  position: relative;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0;
}

.svc-awards-head {
  max-width: 720px;
  margin-bottom: 56px;
  text-align: center;
}

.svc-awards-title {
  margin: 0;
  font-size: 42px;
  line-height: 56px;
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
}

@media (max-width: 1550px) {
  .svc-awards-title { font-size: 38px; line-height: 48px; }
}

@media (max-width: 1440px) {
  .svc-awards-title { font-size: 36px; }
}

@media (max-width: 1200px) {
  .svc-awards-title { font-size: 40px; }
}

@media (max-width: 1024px) {
  .svc-awards-title { font-size: 36px; }
}

@media (max-width: 912px) {
  .svc-awards-title { font-size: 32px; }
}

@media (max-width: 820px) {
  .svc-awards-title { font-size: 30px; line-height: 1.4; }
}

@media (max-width: 767px) {
  .svc-awards-title { font-size: 27px; }
}

@media (max-width: 650px) {
  .svc-awards-title { font-size: 22px; line-height: 26px; }
}

.svc-awards-intro {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.7);
}

/* ---- Slider ---- */

.svc-awards-slider-wrap {
  position: relative;
}

.svc-awards-swiper {
  padding: 4px 4px 8px;
}

.svc-awards-swiper .swiper-slide {
  height: auto;
}

.svc-awards-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 260px;
  padding: 32px 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.svc-awards-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.svc-awards-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00c2ff;
}

.svc-awards-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  margin: 18px 0;
}

.svc-awards-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.svc-awards-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.svc-awards-card-caption {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.62);
}

/* ---- Prev/next nav ---- */

.svc-awards-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.svc-awards-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.svc-awards-nav-btn:hover {
  border-color: rgba(0, 194, 255, 0.5);
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
}

.svc-awards-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.svc-awards-nav-btn svg {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .svc-awards-card {
    transition: none;
  }

  .svc-awards-card:hover {
    transform: none;
  }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .svc-awards {
    padding-top: 80px;
  }

  .svc-awards-head {
    margin-bottom: 44px;
  }
}

@media (max-width: 640px) {
  .svc-awards {
    padding-top: 64px;
  }

  .svc-awards-card {
    min-height: 0;
    padding: 26px 20px;
  }

  .svc-awards-card-media {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }
}

/* ==========================================================================
   Service — Awards, Variant 2 (Badge Row)
   Built from a reference screenshot: a black section, an evenly spaced row
   of full-rounded pills, one award badge graphic centered in each — no
   slider, no per-item text (see awards-2.php).
   ========================================================================== */

.svc-awards2 {
  position: relative;
  background: #000000;
  padding: 60px 0;
}

.svc-awards2-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.svc-awards2-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
}

.svc-awards2-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Content-hugging, not equal-width: each pill's width comes from its own
   badge image plus fixed side padding, same as the reference — a circular
   seal and a wide wordmark end up different widths instead of both being
   stretched/padded to match a fixed box, which is what read as "wrong"
   (a fixed-width pill around a circular badge leaves dead space on both
   sides that a wordmark logo doesn't). */
.svc-awards2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 128px;
}

.svc-awards2-pill+.svc-awards2-pill {
  border-right : 1px solid rgba(255, 255, 255, 0.16);
  padding-right: 30px;
}

.svc-awards2-pill-img {
  display: block;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .svc-awards2-pill {
    transition: none;
  }

  .svc-awards2-pill:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .svc-awards2 {
    padding: 48px 0;
  }

  .svc-awards2-title {
    font-size: 26px;
  }

  .svc-awards2-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .svc-awards2-pill {
    height: 110px;
    padding: 0 26px;
  }

  .svc-awards2-pill-img {
    max-height: 100px;
  }
}
