.services-page {
  text-align: center;
}

/* Tabs */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: .3s;
  font-weight: 500;
}

.service-tab-btn.active,
.service-tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Tab content */
.service-tab-content {
  display: none;
}

.service-tab-content.active {
  display: block;
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.service-text {
  text-align: left;
}

.service-text ul {
  padding-left: 18px;
}

.service-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* Price table */
.price-table {
  max-width: 900px;
  margin: 0 auto;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.price-table th,
.price-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.price-table th {
  background: #f7f7f7;
}

/* Responsive */
@media (max-width: 992px) {
  .service-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-text {
    text-align: center;
  }
}


/* =========================
   PAGE BANNER (IMG)
========================= */
.page-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin-top: 60px;
}

/* Ảnh banner */
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay tối */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)
  );
  z-index: 1;
}

/* Nội dung */
.banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.banner-content span {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: .9;
}

.banner-content h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
}

.banner-content p {
  font-size: 18px;
  opacity: .9;
  max-width: 680px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-banner {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 32px;
  }

  .banner-content p {
    font-size: 15px;
  }
}

/* =========================
   SERVICES TABS – RESPONSIVE
========================= */
.services-tabs {
  display: flex;
  gap: 12px;
  

  overflow-x: auto;
  overflow-y: hidden;

  padding: 8px 16px 14px;
  margin: 0 -16px 40px;

  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.services-tabs::-webkit-scrollbar {
  display: none;
}

.service-tab-btn {
  flex-shrink: 0;
  white-space: nowrap;
  scroll-snap-align: start;

  padding: 9px 18px;
  font-size: 14px;
  border-radius: 999px;
}
/* =========================
   TABLET (<= 992px)
========================= */
@media (max-width: 992px) {

  /* Banner */
  .page-banner {
    height: 340px;
  }

  .banner-content h1 {
    font-size: 36px;
  }

  .banner-content p {
    font-size: 16px;
  }

  /* Service detail */
  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .service-text {
    text-align: center;
  }

  .service-text ul {
    text-align: left;
    display: inline-block;
  }

  /* Price table */
  .price-table {
    margin-top: 20px;
  }
}
/* =========================
   MOBILE (<= 768px)
========================= */
@media (max-width: 768px) {
  .services-tabs {
    /* justify-content: flex-start; */
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Banner */
  .page-banner {
    height: 280px;
    margin-top: 50px;
  }

  .banner-content span {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .banner-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .banner-content p {
    font-size: 14px;
  }

  /* Tabs */
  .service-tab-btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Service content */
  .service-detail {
    margin-bottom: 40px;
  }

  .service-text h3 {
    font-size: 22px;
  }

  .service-text p {
    font-size: 14px;
  }

  /* Image */
  .service-image img {
    border-radius: 14px;
  }

  /* Price table */
  .price-table table {
    font-size: 14px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 10px;
  }
}
/* =========================
   SMALL MOBILE (<= 480px)
========================= */
@media (max-width: 480px) {

  .page-banner {
    height: 240px;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  .banner-content p {
    font-size: 13px;
  }

  .service-text h3 {
    font-size: 20px;
  }

  .price-table table {
    font-size: 13px;
  }
}
