/* ═══════════════════════════
   SUBPAGE STYLES
   ═══════════════════════════ */

/* Page Hero Banner */
.pg-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: center/cover no-repeat;
  margin-top: 72px;
}
.pg-hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,95,70,.88) 0%, rgba(17,24,39,.82) 100%);
}
.pg-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.pg-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  max-width: 560px;
}

/* Breadcrumb */
.bread {
  padding: 16px 0;
  font-size: .85rem;
  color: var(--n400);
  border-bottom: 1px solid var(--brd);
  background: #fff;
}
.bread a { color: var(--pr); font-weight: 500; }
.bread span { margin: 0 8px; color: var(--n400); }

/* Service page layout */
.srv-page { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.srv-main h2 { font-size: 1.6rem; margin-bottom: 16px; margin-top: 32px; color: var(--n900); }
.srv-main h2:first-child { margin-top: 0; }
.srv-main p { color: var(--n600); font-size: 1rem; margin-bottom: 16px; line-height: 1.8; }
.srv-main ul { padding-left: 0; list-style: none; margin-bottom: 20px; }
.srv-main ul li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; color: var(--n600); font-size: .95rem;
}
.srv-main ul li::before {
  content: '\2713'; min-width: 22px; height: 22px;
  background: var(--g100); color: var(--pr); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}

/* Service feature image */
.srv-img {
  border-radius: var(--rl);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--sh);
}
.srv-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Sidebar */
.srv-side { position: sticky; top: 96px; }
.side-box {
  background: #fff;
  border: 1px solid var(--brd);
  border-radius: var(--rl);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--sh);
}
.side-box h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pr);
  color: var(--n900);
}
.side-links { list-style: none; padding: 0; }
.side-links li { margin-bottom: 0; }
.side-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; color: var(--n600); font-size: .9rem;
  font-weight: 500; border-radius: var(--r); transition: .2s;
  border-left: 3px solid transparent;
}
.side-links a:hover { background: var(--g50); color: var(--pr); border-left-color: var(--pr); }
.side-links a.active { background: var(--g50); color: var(--pr); font-weight: 700; border-left-color: var(--pr); }

.side-cta {
  background: linear-gradient(135deg, var(--pr-d), var(--pr));
  border-radius: var(--rl);
  padding: 28px 24px;
  color: #fff;
  text-align: center;
}
.side-cta h4 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; border: none; padding: 0; }
.side-cta p { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }

/* Nav dropdown */
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: 100%; left: -12px;
  background: #fff; min-width: 220px; border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--sh-xl); border-top: 3px solid var(--pr);
  list-style: none; padding: 8px 0; z-index: 100;
}
.has-sub:hover .sub { display: block; }
.sub a {
  display: block; padding: 10px 20px; color: var(--n600) !important;
  font-size: 13px !important; font-weight: 500 !important;
  text-transform: none !important; letter-spacing: 0 !important;
  border-bottom: none !important;
}
.sub a:hover { background: var(--g50); color: var(--pr) !important; }

/* Mobile nav open */
.mob-open {
  display: flex !important; position: absolute; top: 72px; left: 0; right: 0;
  background: #fff; flex-direction: column; padding: 16px 24px;
  box-shadow: var(--sh-l); gap: 8px;
}
.mob-open .sub { position: static; box-shadow: none; border-top: none; padding-left: 16px; }
.mob-open .has-sub:hover .sub { display: block; }

@media (max-width: 991px) {
  .srv-page { grid-template-columns: 1fr; }
  .srv-side { position: static; }
}
