.main-nav .nav-services.is-current > summary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-3));
}

.main-nav .nav-services-grid a[aria-current="page"] {
  color: #a9430a;
  background: #fff1e6;
  font-weight: 700;
}

.home-gateway {
  color: #f8f4ed;
  background: radial-gradient(circle at 90% 0%, rgba(250, 135, 54, 0.23), transparent 38%), linear-gradient(135deg, #091929, #132e48);
}

.home-gateway-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.home-gateway .expertise-kicker,
.service-page-cta .expertise-kicker { color: #ffb986; }
.home-gateway h2 { max-width: 19ch; font-size: clamp(2rem, 3.8vw, 3.55rem); line-height: 1.16; }
.home-gateway p:last-child { max-width: 56ch; margin-top: 1rem; color: #c3d1dc; }
.home-gateway .btn { flex: none; }

.service-index-hero,
.service-detail-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 8% 16%, rgba(255, 157, 83, 0.35), transparent 37%), linear-gradient(125deg, #fff0e2, #fffaf4 65%);
}

.service-index-hero::after,
.service-detail-hero::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  top: -245px;
  right: -125px;
  border: 1px solid rgba(230, 111, 40, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.service-index-hero .container,
.service-detail-hero .container { position: relative; z-index: 1; }
.service-index-hero .expertise-kicker { color: #b54c1c; }
.service-index-hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 5vw, 5.1rem); line-height: 1.1; }
.service-index-hero .container > p:last-child { max-width: 57ch; margin-top: 1.5rem; color: var(--muted); font-size: 1.12rem; }
.service-index-section, .service-detail-scope { background: #fffaf5; }

.service-index-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.service-index-heading > span { color: #b64b19; font-size: 0.79rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.service-index-heading h2 { font-size: clamp(1.5rem, 2.8vw, 2.6rem); }
.service-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.service-index-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid rgba(219, 113, 50, 0.22);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(107, 58, 26, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-index-card:hover,
.service-index-card:focus-visible { border-color: #ef8a4b; box-shadow: 0 21px 38px rgba(107, 58, 26, 0.13); }
.service-index-card:nth-child(2) { color: #f8f4ed; border-color: #183552; background: linear-gradient(145deg, #0c2036, #17344d); }
.service-index-card:nth-child(2) .service-index-top,
.service-index-card:nth-child(2) .service-index-bottom { color: #ffbc8a; }

.service-index-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: #b54c1a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-index-top .service-icon { flex: none; width: 35px; height: 35px; }
.service-index-card strong { max-width: 17ch; font-family: "Sora", "Trebuchet MS", sans-serif; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.27; }
.service-index-bottom { display: flex; justify-content: space-between; color: #a84312; font-weight: 700; }
.service-index-bottom span { font-size: 1.2rem; transition: transform 0.2s ease; }
.service-index-card:hover .service-index-bottom span { transform: translateX(5px); }

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.service-breadcrumb { color: #9a542e; font-size: 0.85rem; font-weight: 600; }
.service-breadcrumb span { margin: 0 0.4rem; color: #d6682c; }
.service-detail-kicker { margin: 2.6rem 0 0.9rem; color: #b54916; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.service-detail-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 4.6vw, 4.9rem); line-height: 1.08; }
.service-detail-lead { max-width: 38ch; margin-top: 1.5rem; font-size: clamp(1.22rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.35; }
.service-detail-description { max-width: 58ch; margin-top: 1rem; color: var(--muted); font-size: 1.04rem; }
.service-detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

.service-detail-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 390px;
  padding: clamp(1.7rem, 3vw, 2.5rem);
  border-radius: 28px;
  color: #f7f3ed;
  background: radial-gradient(circle at 100% 0%, rgba(255, 139, 60, 0.2), transparent 46%), linear-gradient(150deg, #0a1b30, #173a57);
  box-shadow: 0 24px 44px rgba(11, 29, 56, 0.18);
}

.service-detail-aside .service-icon { width: 56px; height: 56px; margin-bottom: auto; color: #ffa56d; }
.service-detail-aside > span { margin-top: 3rem; color: #ffbb86; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.service-detail-aside ul { width: 100%; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.service-detail-aside li { padding: 0.8rem 0; border-top: 1px solid rgba(255, 255, 255, 0.17); font-weight: 500; }
.service-detail-section-head { max-width: 650px; margin-bottom: 2rem; }
.service-detail-section-head h2, .service-detail-method h2, .service-page-cta h2 { font-size: clamp(1.9rem, 3vw, 3.1rem); line-height: 1.18; }
.service-detail-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-detail-card { min-height: 240px; padding: clamp(1.4rem, 2.4vw, 2rem); border: 1px solid var(--stroke); border-radius: 22px; background: #fff; }
.service-detail-card > span { color: #d05b22; font-size: 0.85rem; font-weight: 800; }
.service-detail-card h3 { margin: 2.3rem 0 0.75rem; font-size: 1.24rem; }
.service-detail-card p, .service-detail-method p { color: var(--muted); }
.service-detail-legacy .section-head { max-width: none; }
.service-detail-legacy .section-head h2 { max-width: 18ch; }

.service-detail-method { background: #fff0df; }
.service-detail-method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.service-detail-method .expertise-kicker { color: #a94818; }
.service-detail-method h2 { max-width: 16ch; margin-bottom: 1rem; }
.service-detail-steps { margin: 0; padding: 0; list-style: none; }
.service-detail-steps li { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(177, 94, 38, 0.22); }
.service-detail-steps span { color: #cc581c; font-size: 0.8rem; font-weight: 800; }
.service-detail-steps strong { font-size: 1.06rem; }

.service-page-cta {
  color: #f8f4ed;
  text-align: center;
  background: radial-gradient(circle at 50% -35%, rgba(246, 111, 28, 0.25), transparent 45%), #0b1d38;
}

.service-page-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.service-page-cta p:not(.expertise-kicker) { color: #c5d2df; }
.service-page-cta .btn { margin-top: 0.7rem; }
.service-next-link { margin-top: 1rem; color: #ffbd90; font-weight: 600; }
.service-next-link:hover, .service-next-link:focus-visible { text-decoration: underline; }

@media (max-width: 900px) {
  .service-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-hero-grid { grid-template-columns: 1fr; }
  .service-detail-aside { min-height: 290px; }
}

@media (max-width: 680px) {
  .home-gateway-inner, .service-index-heading { align-items: flex-start; flex-direction: column; }
  .service-index-grid, .service-detail-card-grid, .service-detail-method-grid { grid-template-columns: 1fr; }
  .service-index-card, .service-detail-card { min-height: 220px; }
  .service-detail-kicker { margin-top: 1.8rem; }
  .service-detail-aside { min-height: 270px; }
}
