/* =========================================================
   ILTS — Service Detail Pages (service-detail.css)
   Shared styles for all 9 individual service pages
   Depends on style.css for base variables
   ========================================================= */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.page-hero:hover .page-hero-img { transform: scale(1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21,32,51,0.45) 0%,
    rgba(21,32,51,0.82) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.page-hero-content .section-label {
  color: var(--gold-lt, #ddb96e);
  margin-bottom: 10px;
}
.page-hero-content .section-label::before { background: var(--gold-lt, #ddb96e); }
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
}
.page-hero-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.page-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb i { font-size: 10px; color: var(--gold); }
.page-breadcrumb span { color: #ffffff; }

/* ---- SERVICE INTRO ---- */
.sd-intro {
  background: #ffffff;
  padding: 80px 0 60px;
}
.sd-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.sd-intro-content .section-label { margin-bottom: 12px; }
.sd-intro-content .section-title { margin-bottom: 20px; }

.sd-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 14px;
}
.sd-body {
  font-size: 15px;
  color: var(--text-lt);
  line-height: 1.85;
  margin-bottom: 28px;
}

/* Key points list */
.sd-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}
.sd-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-lt);
  line-height: 1.5;
}
.sd-point i {
  color: var(--gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.sd-intro-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Intro images */
.sd-intro-imgs {
  position: relative;
  height: 460px;
}
.sd-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 80%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(21,32,51,0.15);
}
.sd-img-secondary {
  position: absolute;
  bottom: 0; left: 0;
  width: 60%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(21,32,51,0.15);
  border: 5px solid #ffffff;
}
.sd-img-accent {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 110px; height: 110px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21,32,51,0.15);
  border: 4px solid #ffffff;
}
.sd-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- WHY CHOOSE US FOR THIS SERVICE ---- */
.sd-why {
  background: var(--off-white);
  padding: 80px 0;
}
.sd-why .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}
.sd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sd-feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 26px;
  border: 1px solid var(--gray);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sd-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(to right, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.sd-feature-card:hover::after { transform: scaleX(1); }
.sd-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(21,32,51,0.1);
  border-color: transparent;
}
.sd-feature-icon {
  width: 58px; height: 58px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
  margin: 0 auto 18px;
  transition: background 0.3s, transform 0.3s;
}
.sd-feature-card:hover .sd-feature-icon {
  background: var(--gold);
  color: #ffffff;
  transform: rotate(-6deg);
}
.sd-feature-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.sd-feature-card p {
  font-size: 14px;
  color: var(--text-lt);
  line-height: 1.7;
}

/* ---- PROCESS STEPS ---- */
.sd-process {
  background: #ffffff;
  padding: 80px 0;
}
.sd-process .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}
.sd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.sd-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.sd-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--navy), rgba(21,32,51,0.1));
  z-index: 0;
}
.sd-step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(21,32,51,0.2);
  transition: background 0.3s, transform 0.3s;
}
.sd-step:hover .sd-step-circle {
  background: var(--gold);
  transform: scale(1.1);
}
.sd-step-num {
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255,255,255,0.18);
  line-height: 1;
}
.sd-step-icon {
  font-size: 22px;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.sd-step:hover .sd-step-icon { color: #ffffff; }
.sd-step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.sd-step p {
  font-size: 13px;
  color: var(--text-lt);
  line-height: 1.7;
}

/* ---- OTHER SERVICES ---- */
.sd-other {
  background: var(--off-white);
  padding: 80px 0;
}
.sd-other .section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.sd-other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sd-other-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 18px;
  border: 1px solid var(--gray);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  gap: 12px;
}
.sd-other-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(21,32,51,0.1);
  border-color: var(--navy);
}
.sd-other-icon {
  width: 50px; height: 50px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.3s;
}
.sd-other-card:hover .sd-other-icon {
  background: var(--gold);
  color: #ffffff;
}
.sd-other-card span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ---- CTA BANNER ---- */
.sd-cta {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.sd-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sd-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.sd-cta-text .section-label {
  color: var(--gold-lt, #ddb96e);
  margin-bottom: 10px;
}
.sd-cta-text .section-label::before { background: var(--gold-lt, #ddb96e); }
.sd-cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.sd-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}
.sd-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .sd-intro-grid { grid-template-columns: 1fr; gap: 50px; }
  .sd-intro-imgs { height: 360px; }
  .sd-img-main { width: 75%; height: 250px; }
  .sd-img-secondary { width: 55%; height: 190px; }
  .sd-img-accent { display: none; }

  .sd-features-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .sd-step:not(:last-child)::after { display: none; }

  .sd-other-grid { grid-template-columns: repeat(2, 1fr); }

  .page-hero { height: 340px; }
}

@media (max-width: 640px) {
  .sd-intro { padding: 60px 0 40px; }
  .sd-intro-imgs { height: 280px; }
  .sd-img-main { width: 80%; height: 200px; }
  .sd-img-secondary { width: 58%; height: 160px; }

  .sd-features-grid { grid-template-columns: 1fr; }
  .sd-steps { grid-template-columns: 1fr 1fr; gap: 28px; }

  .sd-other-grid { grid-template-columns: repeat(2, 1fr); }

  .sd-cta-inner { flex-direction: column; align-items: flex-start; }
  .sd-cta-actions { width: 100%; }
  .sd-cta-actions a { flex: 1; justify-content: center; }

  .page-hero { height: 280px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; padding-bottom: 28px; }
}