﻿:root {
  --services-hero-bg: linear-gradient(135deg, #00274e 0%, #001a33 100%);
  --services-panel-bg: #ffffff;
  --services-soft-bg: #f5f7fb;
  --services-border: rgba(0, 39, 78, 0.12);
  --services-gold: #c49a30;
  --services-gold-bright: #f0cb6a;
  --services-gold-soft: #f4e7cb;
}

.services-page {
  background: var(--services-soft-bg);
}

.services-page main {
  padding-bottom: 3rem;
}

.services-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--services-border);
  backdrop-filter: blur(8px);
}

.services-topbar__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.services-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  text-decoration: none;
}

.services-brand img {
  height: 32px;
  width: auto;
}

.services-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.services-nav a:hover {
  color: var(--color-brand);
  background: rgba(0, 39, 78, 0.07);
}

.services-hero {
  background: var(--services-hero-bg);
  color: #ffffff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(203, 160, 82, 0.2), transparent 50%),
    radial-gradient(140% 140% at 100% 100%, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.services-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.services-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1rem;
}

.services-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  margin-bottom: 1rem;
}

.services-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.services-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.services-hero__actions .btn {
  min-width: 210px;
  justify-content: center;
}

.service-facts {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(6px);
}

.service-facts h2 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.service-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-facts li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.service-facts li::before {
  content: "*";
  color: var(--color-accent);
  font-weight: 700;
}

.services-section {
  padding: 3.25rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.services-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: var(--services-panel-bg);
  border: 1px solid var(--services-border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.service-card h2,
.service-card h3 {
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.service-card ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
  color: var(--color-text);
}

.service-card li + li {
  margin-top: 0.35rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: rgba(0, 39, 78, 0.08);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 0.83rem;
  color: var(--color-text-light);
  background: #f2f5f8;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}

.service-compare {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--services-border);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.service-compare th,
.service-compare td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.service-compare th {
  background: #f4f7fb;
  color: var(--color-brand);
  font-size: 0.9rem;
}

.service-compare tr:last-child td {
  border-bottom: none;
}

.services-faq {
  display: grid;
  gap: 0.8rem;
}

.services-faq details {
  background: #ffffff;
  border: 1px solid var(--services-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.services-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-brand);
}

.services-faq p {
  margin: 0.7rem 0 0;
}

.services-cta {
  background: #ffffff;
  border: 1px solid var(--services-border);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.services-cta p {
  margin: 0;
  max-width: 720px;
}

.services-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.services-note {
  font-size: 0.84rem;
  color: var(--color-text-light);
  margin: 0;
}

.service-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.1rem;
}

.service-breadcrumbs a {
  color: inherit;
}

/* --- Gold CTA button (primary action on service pages) ---  */
.btn--cta {
  background: var(--services-gold);
  color: #00274e;
  border-color: transparent;
  box-shadow: 0 6px 22px -8px rgba(196, 154, 48, 0.50);
  font-weight: 700;
}

.btn--cta:hover {
  background: var(--services-gold-bright);
  box-shadow: 0 10px 28px -8px rgba(196, 154, 48, 0.60);
  transform: translateY(-2px);
}

/* --- Service tag: align to new gold --- */
.service-tag {
  color: #00274e;
  background: var(--services-gold-soft);
  border: 1px solid rgba(196, 154, 48, 0.25);
}

/* --- Step number: gold background --- */
.service-step__num {
  background: var(--services-gold);
  color: #00274e;
}

/* --- Section title --- */
.section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  color: #00274e;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
}

/* ── Dark footer (matching main site) ── */
.services-footer {
  background: #00274e;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
  padding: 1.6rem 0 2rem;
  margin-top: 1rem;
}

.services-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.services-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
}

.services-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.services-footer a:hover {
  color: var(--services-gold-bright);
}

.services-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}

.services-footer__brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.services-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 500;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .services-topbar__inner {
    min-height: auto;
    padding: 0.8rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    white-space: nowrap;
  }

  .services-hero {
    padding: 4.25rem 0 3.25rem;
  }

  .services-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .services-hero__actions .btn {
    min-width: 0;
    width: 100%;
  }

  .services-grid,
  .services-grid--two {
    grid-template-columns: 1fr;
  }

  .service-compare th,
  .service-compare td {
    font-size: 0.93rem;
    padding: 0.7rem;
  }
}

@media (max-width: 560px) {
  .services-section {
    padding: 2.6rem 0;
  }

  .service-card {
    padding: 1.1rem;
  }

  .services-cta {
    padding: 1rem;
  }
}

.service-card--featured {
  border: 1px solid rgba(203, 160, 82, 0.45);
  box-shadow: 0 12px 24px -20px rgba(0, 39, 78, 0.45);
}

.service-card--featured:hover {
  border-color: rgba(203, 160, 82, 0.7);
}

.services-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.services-kpi {
  background: #ffffff;
  border: 1px solid var(--services-border);
  border-radius: 14px;
  padding: 1.2rem;
}

.services-kpi h3 {
  margin: 0 0 0.6rem;
  color: var(--color-brand);
  font-size: 1.05rem;
}

.services-kpi p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.service-step {
  background: #ffffff;
  border: 1px solid var(--services-border);
  border-radius: 14px;
  padding: 1rem;
}

.service-step__num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #ffffff;
  background: var(--color-brand);
  margin-bottom: 0.65rem;
}

.service-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--color-brand);
}

.service-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.service-scope-list {
  margin: 0;
  padding-left: 1rem;
}

.service-scope-list li + li {
  margin-top: 0.35rem;
}

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

.service-single-cta .btn {
  min-width: 260px;
}

@media (max-width: 1100px) {
  .services-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .services-kpi-grid {
    grid-template-columns: 1fr;
  }

  .service-steps {
    grid-template-columns: 1fr;
  }
}
