.service-page { background: #fff; }

.service-hero { position: relative; height: 480px; overflow: hidden; color: #fff; background: #041b3e; }
.service-hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.service-hero-copy { width: 650px; }
.service-hero-copy h1 { margin: 0 0 24px; font-size: 48px; line-height: 1.5; letter-spacing: .02em; }
.service-hero-copy p { margin: 0; color: #fff; font-size: 16px; line-height: 1.8; }

.faq-section { padding: 64px 0; background: #fafbfe; }
.faq-layout { display: grid; grid-template-columns: 486px minmax(0, 690px); gap: 24px; align-items: start; }
.faq-categories { position: sticky; top: 88px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.faq-categories a { position: relative; min-height: 84px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); border-left: 4px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.8; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.faq-categories a:hover, .faq-categories a.active { color: var(--blue); background: #fff; border-left-color: var(--blue); }
.faq-categories span { min-width: 0; }
.faq-categories strong { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; color: var(--blue); border: 2px solid var(--blue); border-radius: 50%; opacity: .5; font-size: 16px; font-weight: 600; line-height: normal; }
.faq-categories a.active strong { color: #fff; border-color: var(--blue); background: var(--blue); opacity: 1; }
.faq-category-toggle { display: none; }

.faq-content { min-width: 0; }
.faq-group { scroll-margin-top: 88px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { margin: 0 0 24px; color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.8; }
.faq-item { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.08); transition: box-shadow .2s ease; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item:hover, .faq-item[open] { box-shadow: 0 8px 22px rgba(20,43,91,.11); }
.faq-item summary { min-height: 61px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.8; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid rgba(18,107,255,.25); outline-offset: -3px; }
.faq-item summary span { min-width: 0; }
.faq-item summary img { width: 24px; height: 24px; flex: 0 0 auto; transition: transform .22s ease; }
.faq-item[open] summary { color: var(--text); }
.faq-item[open] summary img { transform: rotate(45deg); }
.faq-answer { padding: 0 32px 22px; border-top: 1px solid #edf1f7; }
.faq-answer p { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.faq-answer strong { color: var(--blue); }
.faq-answer a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--blue-dark); }
.faq-answer a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.service-page .contact-section { padding-top: 64px; }

@media (max-width: 1200px) {
  .faq-layout { grid-template-columns: minmax(280px, 36%) minmax(0, 1fr); gap: 28px; }
  .faq-categories a { padding-inline: 18px; font-size: 16px; }
  .faq-item summary { padding-inline: 24px; font-size: 17px; }
}

@media (max-width: 900px) {
  .service-hero { height: 430px; }
  .service-hero-background { object-position: 60% center; }
  .service-hero-copy { width: 58%; }
  .service-hero-copy h1 { font-size: 40px; }
  .service-hero-copy p { font-size: 16px; }
  .service-hero-copy br { display: none; }
  .faq-section { padding-top: 0; }
  .faq-layout { width: 100%; grid-template-columns: 1fr; gap: 32px; }
  .faq-categories { position: sticky; z-index: 20; top: 60px; display: flex; overflow-x: auto; border-radius: 0; box-shadow: 0 4px 16px rgba(20,43,91,.1); scrollbar-width: none; }
  .faq-categories::-webkit-scrollbar { display: none; }
  .faq-categories a { min-width: max-content; min-height: 64px; padding: 14px 20px; border-left: 0; border-bottom: 3px solid transparent; font-size: 14px; }
  .faq-categories a:hover, .faq-categories a.active { border-left-color: transparent; border-bottom-color: var(--blue); }
  .faq-categories a + a { border-top: 0; border-left: 1px solid #f2f4f8; }
  .faq-categories strong { width: 30px; height: 30px; font-size: 14px; }
  .faq-content { width: min(100% - 32px, 720px); margin-inline: auto; }
  .faq-group { scroll-margin-top: 140px; }
}

@media (max-width: 600px) {
  .service-hero { height: 410px; }
  .service-hero-background { object-position: 68% center; }
  .service-hero-inner::before { content: ""; position: absolute; inset: 0 -16px; background: linear-gradient(90deg, rgba(1,19,54,.95) 0%, rgba(1,19,54,.7) 68%, rgba(1,19,54,.12) 100%); }
  .service-hero-copy { position: relative; z-index: 1; width: 94%; }
  .service-hero-copy h1 { margin-bottom: 22px; font-size: 35px; line-height: 1.35; }
  .service-hero-copy p { width: 88%; font-size: 14px; line-height: 1.8; }
  .faq-categories a { min-height: 58px; padding: 12px 16px; font-size: 13px; }
  .faq-categories strong { width: 28px; height: 28px; }
  .faq-content { padding-top: 12px; }
  .faq-group + .faq-group { margin-top: 28px; }
  .faq-group h2 { margin-bottom: 16px; font-size: 20px; }
  .faq-item summary { min-height: 58px; padding: 14px 18px; gap: 16px; font-size: 15px; line-height: 1.6; }
  .faq-item summary img { width: 22px; height: 22px; }
  .faq-answer { padding: 0 18px 18px; }
  .faq-answer p { margin-top: 14px; font-size: 13px; line-height: 1.8; }
}

@media (max-width: 900px) {
  .faq-section { padding-top: 0; }
  .faq-layout { gap: 20px; }
  .faq-categories { position: sticky; z-index: 45; top: 60px; display: block; overflow: visible; border-radius: 0 0 12px 12px; }
  .faq-category-toggle { width: 100%; min-height: 58px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; color: var(--blue); background: #fff; font-size: 15px; font-weight: 600; text-align: left; }
  .faq-category-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .faq-category-chevron { width: 10px; height: 10px; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
  .faq-categories.open .faq-category-chevron { transform: rotate(225deg) translateY(-3px); }
  .faq-category-options { position: absolute; top: 100%; right: 0; left: 0; max-height: min(60vh, 450px); overflow-y: auto; border-top: 1px solid #edf1f7; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 12px 24px rgba(20,43,91,.16); opacity: 0; visibility: hidden; pointer-events: none; }
  .faq-categories.open .faq-category-options { opacity: 1; visibility: visible; pointer-events: auto; }
  .faq-categories a { min-width: 0; min-height: 54px; padding: 10px 16px; border: 0; border-left: 3px solid transparent; white-space: normal; }
  .faq-categories a + a { border-top: 1px solid #f2f4f8; border-left: 3px solid transparent; }
  .faq-categories a:hover, .faq-categories a.active { border-bottom: 0; border-left-color: var(--blue); }
  .faq-content { width: min(100% - 32px, 720px); padding-top: 0; }
  .faq-group { scroll-margin-top: 136px; }
}
