/* ═══════════════════════════════════════════
   SERVICE PAGES — SHARED STYLES
   Light theme • Extends style.css
   ═══════════════════════════════════════════ */

/* ── PAGE HERO  (dark photographic) ── */
.service-hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: 50px;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.62) saturate(0.78) contrast(0.96);
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,20,30,0.12) 0%, rgba(20,37,58,0.40) 100%);
}
.service-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(221,233,245,0.55);
  margin-bottom: 24px;
}
.breadcrumb a { color: #a8cce8; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(221,233,245,0.4); }

.service-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 700px;
}
.service-hero-title em { font-style: italic; color: #a8cce8; }

.service-hero-sub {
  font-size: 1.05rem;
  color: rgba(221,233,245,0.72);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 36px;
}
.service-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.service-hero .section-label { color: #a8cce8; }
.service-hero .section-label::before { background: #a8cce8; }

/* ── MAIN CONTENT LAYOUT ── */
.service-body { background: var(--bg); }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
  padding-block: var(--section-py);
}

/* ── ARTICLE ── */
.service-article h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 16px;
  line-height: 1.2;
}
.service-article h2:first-child { margin-top: 0; }
.service-article p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
}
.service-article ul {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-article ul li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 28px;
  position: relative;
  line-height: 1.65;
}
.service-article ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.service-callout {
  background: var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.service-callout p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--blue-dark);
  margin: 0;
  line-height: 1.75;
}

.service-steps {
  counter-reset: steps;
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-steps li {
  counter-increment: steps;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.service-steps li::before {
  content: counter(steps);
  display: flex;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.service-steps li span {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
  padding-top: 6px;
}

/* ── FAQ ── */
.service-faq { margin-top: 48px; }
.service-faq h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 28px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px;
  min-width: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 300;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  padding-bottom: 20px;
  margin: 0;
}

/* ── SIDEBAR ── */
.service-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(30,68,102,0.10);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sidebar-card:hover {
  box-shadow: 0 14px 40px rgba(30,68,102,0.16);
  transform: translateY(-2px);
}

/* Card header banner */
.sidebar-card-head {
  background: linear-gradient(135deg, #1a3d5c 0%, #2d5f8a 100%);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card-head svg {
  width: 18px;
  height: 18px;
  color: #a8cce8;
  flex-shrink: 0;
}
.sidebar-card-head h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Card body */
.sidebar-card-body {
  background: #fff;
  padding: 22px 22px 24px;
}

.sidebar-form .form-group { margin-bottom: 14px; }
.sidebar-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sidebar-form .form-row .form-group { margin-bottom: 0; }
.sidebar-form label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.sidebar-form input,
.sidebar-form select,
.sidebar-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(45,95,138,0.2);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.sidebar-form input:focus,
.sidebar-form select:focus,
.sidebar-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,95,138,0.1);
}
.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder { color: rgba(77,106,133,0.4); }
.sidebar-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232d5f8a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--bg);
  padding-right: 32px;
}
.sidebar-form textarea { resize: vertical; }
.sidebar-disclaimer {
  font-size: 0.68rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.sidebar-success {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: rgba(45,95,138,0.08);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 0.82rem;
  text-align: center;
}

.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(45,95,138,0.08);
}
.sidebar-contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-contact-item:first-child { padding-top: 0; }
.ci-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(45,95,138,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon-wrap svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.sidebar-contact-item strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sidebar-contact-item span {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.5;
}
.sidebar-contact-item a {
  font-size: 0.84rem;
  color: var(--blue);
  font-weight: 600;
  transition: color var(--transition);
}
.sidebar-contact-item a:hover { color: var(--blue-dark); }

.service-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.service-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.service-nav-list a:hover {
  background: rgba(45,95,138,0.06);
  color: var(--text);
  border-left-color: rgba(45,95,138,0.3);
}
.service-nav-list a.active {
  background: rgba(45,95,138,0.09);
  color: var(--blue-dark);
  font-weight: 600;
  border-left-color: var(--blue);
}
.service-nav-list a .nav-arrow {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--blue);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.service-nav-list a.active .nav-arrow,
.service-nav-list a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ── RELATED SERVICES STRIP ── */
.related-services { background: linear-gradient(180deg, #edf3fb 0%, #f4f8fd 100%); padding-block: 80px; }
.related-services .section-header { margin-bottom: 44px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,68,102,0.10);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(30,68,102,0.18);
}
.related-card-head {
  background: linear-gradient(135deg, #1a3d5c 0%, #2d5f8a 100%);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
}
.related-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.related-card-head h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.related-card-body {
  background: #fff;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.related-card a {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.related-card a:hover { background: var(--blue); color: #fff; }

/* ── SERVICES HUB REDESIGN ── */
.services-hub {
  position: relative;
  overflow: hidden;
  padding-block: 92px;
  background: linear-gradient(180deg, #f4f8fd 0%, #edf3fb 100%);
}

.services-hub .container {
  position: relative;
  z-index: 1;
}

.services-hub .section-header {
  margin-bottom: 52px;
}

.services-hub .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
}

.services-hub .section-sub {
  max-width: 780px;
  font-size: 1rem;
  color: #355676;
}

.services-hub .related-grid {
  gap: 26px;
}

.service-hub-card {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  padding: 30px 26px;
  border: 1px solid #d7e5f4;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(28,62,93,0.1);
  transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card-media {
  width: 100%;
  height: 164px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #d8e5f3;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.9);
  transition: transform 0.5s ease, filter 0.35s ease;
}

.service-hub-card:hover .service-card-media img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(0.96);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.service-hub-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 44px rgba(28,62,93,0.14);
  border-color: #b7d1ea;
}

.service-hub-tag {
  align-self: flex-start;
  margin-bottom: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #26517a;
  border: 1px solid rgba(113,169,216,0.4);
  background: rgba(232,243,253,0.8);
}

.service-card-icon {
  width: 30px;
  height: 30px;
  color: #2d5f8a;
  flex-shrink: 0;
}

.services-hub .related-card h4 {
  font-size: 1.24rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.services-hub .related-card p {
  font-size: 0.89rem;
  color: #3f6281;
  margin-bottom: 18px;
}

.service-hub-points {
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}

.service-hub-points li {
  font-size: 0.82rem;
  color: #4b6f90;
  padding-left: 16px;
  position: relative;
}

.service-hub-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #74a8d2, #4f83af);
}

.service-hub-link {
  margin-top: auto;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  color: #1f4f7a;
}

/* Stretch the link to cover the whole card */
.service-hub-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  z-index: 1;
}

.service-hub-link:hover {
  color: #163a5a;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .services-hub {
    padding-block: 74px;
  }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .service-hero-actions { display: none; }
  /* Hide breadcrumb on mobile */
  .breadcrumb { display: none; }
  .service-hub-card {
    border-radius: 22px;
    padding: 26px 22px;
  }
  .service-hub-card::before {
    border-radius: 20px;
  }
}
