/* =========================================
   BYALL AUTOMATION — SERVICES PAGE
   services.css
   ========================================= */

/* ── HERO ── */

.hero-bg {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 190px 24px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 159, 224, .12);
  border: 1px solid rgba(26, 159, 224, .30);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 82px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--blue), #14b8f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .white {
  color: #ffffff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .55);
}

.hero-title .gold {
  color: var(--gold);
  text-shadow: 0 4px 24px rgba(245, 197, 24, .35);
}

.hero-desc {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .84);
  font-weight: 300;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── SERVICE CARDS ── */

.service-card {
  background: #ffffff;
  border: 1px solid rgba(26, 159, 224, .14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, .07);
  transition: transform .32s var(--ease-out),
              box-shadow .32s var(--ease-out),
              border-color .32s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, .14), var(--shadow-blue);
  border-color: rgba(26, 159, 224, .32);
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-content {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.service-content p {
  font-size: 15px;
  line-height: 1.72;
  color: #64748b;
  flex: 1;
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap .22s var(--ease-out), color .22s;
}

.text-link:hover {
  gap: 11px;
  color: var(--blue-deep);
}

/* ── CHECK LIST INSIDE INFO CARD ── */

.info-card .check-list {
  margin-top: 4px;
  gap: 10px;
}

.info-card .check-list li {
  font-size: 14.5px;
  color: #475569;
}

.info-card .check-list i {
  color: var(--blue);
  margin-top: 3px;
}

/* ── LOCATION GRID (services page) ── */

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.location-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: background .3s ease,
              transform .3s ease,
              border-color .3s;
}

.location-card:hover {
  background: rgba(26, 159, 224, .12);
  border-color: rgba(26, 159, 224, .35);
  transform: translateY(-5px);
}

.location-card i {
  font-size: 30px;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
  transition: color .3s;
}

.location-card:hover i {
  color: var(--gold);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* ── BLUE SECTION HEADINGS ── */

.blue-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.blue-section p {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .72);
  max-width: 760px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── TABLET ── */

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(36px, 8vw, 60px);
    gap: 0 10px;
  }
}

/* ── MOBILE ── */

@media (max-width: 768px) {
  .hero-content {
    padding: 150px 18px 80px;
  }

  .hero-kicker {
    font-size: 9.5px;
    padding: 7px 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
    letter-spacing: -1px;
    gap: 0 8px;
    margin-bottom: 18px;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.62;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 22px 22px 26px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .location-card {
    padding: 26px 20px;
  }
}

/* ── SMALL MOBILE ── */

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
    flex-direction: column;
    gap: 4px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .service-image {
    height: 160px;
  }
}