/* =====================================================================
   SERVICE DETAIL PAGE – banner, intro text, 3 images, 4 info boxes
   File: css/sections/service-detail.css
   .sb = top banner, .sg = grey block, .ti = intro text, .ig = 3 images, .cg = 4 info boxes.
   ===================================================================== */

/* ---------------------------------------------------------------------
   MAIN STYLE (desktop)
   --------------------------------------------------------------------- */
.sb {
  position: relative;
  color: #fff;
  padding: 96px 16px;
  text-align: center;
  overflow: hidden;
}
.sb>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sb:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0006;
  z-index: 1;
}
.sb>div {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: auto;
}
.sb h1 {
  font-size: clamp(2rem,5vw,3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.sb p {
  font-size: 1.4rem;
  font-weight: 300;
  margin-top: 16px;
}
.sb a {
  display: inline-block;
  margin-top: 40px;
  background: #fff;
  color: var(--r);
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 1.1rem;
  box-shadow: 0 10px 15px #0003;
}
.sg {
  background: #f9fafb;
  padding: 20px 0 0;
}
.ti {
  max-width: 56rem;
  margin: 32px auto;
  text-align: center;
  padding: 0 14px;
}
.ti h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gy);
  margin-bottom: 20px;
}
.ti p {
  font-size: 1.1rem;
  color: var(--gy);
  margin-bottom: 12px;
}
.ig {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.ig img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 15px #0002;
  transition: .5s;
}
.ig img:hover {
  transform: scale(1.05);
}
.cg {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
}
.cg>div {
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px #0002;
  transition: .3s;
}
.cg>div:hover {
  background: #fef2f2;
  box-shadow: 0 10px 15px #0002;
}
.cg h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--r);
  margin-bottom: 16px;
}
.cg li {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  color: #374151;
}
.cg li:before {
  content: "•";
  color: var(--r);
}
.cg p {
  font-weight: 500;
  margin-bottom: 10px;
}

.sd-offers { background: #fff; padding: 48px 0; }
.sd-offers h2 { font-size: 1.875rem; font-weight: 700; color: var(--gy); margin-bottom: 40px; text-align: center; }

/* ---------------------------------------------------------------------
   RESPONSIVE – Tablet (max 1023px) aur Mobile (max 767px)
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .sb { padding: 72px 16px; }
  .sb p { font-size: 1.2rem; }
  .ti h2 { font-size: 1.9rem; }
  .ig { gap: 20px; margin-bottom: 40px; }
  .ig img { height: 190px; }
  .cg { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .sb { padding: 56px 16px; }
  .sb p { font-size: 1.05rem; }
  .sb a { margin-top: 24px; padding: 12px 24px; font-size: 1rem; }
  .ti { margin: 24px auto; }
  .ti h2 { font-size: 1.5rem; }
  .ti p { font-size: 1rem; }
  .ig { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .ig img { height: 200px; }
  .cg { grid-template-columns: 1fr; gap: 16px; }
  .sd-offers { padding: 32px 0; }
  .sd-offers h2 { font-size: 1.5rem; margin-bottom: 24px; }
}
