/* Shared main header on pages that previously had a custom sidebar. */
.mobile-topbar,
.sidebar,
.top-mobile-menu,
.top-overlay,
.service-page__top {
  display: none !important;
}

body.service-page {
  background: #f6f8fb;
}

.content {
  margin-left: 210px !important;
  padding: 40px 30px 70px !important;
  max-width: none !important;
  box-sizing: border-box;
}

body.service-page main {
  margin-left: 210px;
  padding: 60px 24px 70px;
  box-sizing: border-box;
}

body.service-page section {
  padding-left: 0 !important;
}

.service-page__hero,
.service-page__content {
  max-width: 1120px;
  margin: 0 auto;
}

.service-page__hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 42px;
}

.service-page__hero h1 {
  margin: 0;
  color: #1d5789;
  font-size: 42px;
  line-height: 1.15;
}

.service-page__hero p {
  margin: 16px 0 0;
  color: #526474;
  font-size: 18px;
  line-height: 1.6;
}

.home-section-kicker {
  margin: 0 0 10px;
  color: #1d5789;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-page__panel,
.service-page__tile,
.home-service-card {
  background: #ffffff;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 32, 42, 0.08);
}

.service-page__panel {
  padding: 28px;
}

.service-page__panel ul {
  margin: 0;
  padding-left: 20px;
  color: #435566;
  line-height: 1.8;
}

.service-page__grid,
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-page__tile,
.home-service-card {
  padding: 24px;
}

.service-page__tile h2,
.home-service-card h3 {
  margin: 0 0 12px;
  color: #1d5789;
  font-size: 22px;
  line-height: 1.25;
}

.service-page__tile p,
.home-service-card p {
  margin: 0;
  color: #526474;
  line-height: 1.55;
}

.service-page__section {
  max-width: 1120px;
  margin: 28px auto 0;
  color: #243447;
}

.service-page__section h2 {
  margin: 0 0 16px;
  color: #1d5789;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.service-page__section h3 {
  margin: 0 0 10px;
  color: #1d5789;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}

.service-page__section p {
  margin: 0 0 14px;
  color: #435566;
  font-size: 17px;
  line-height: 1.65;
}

.service-page__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-page__box,
.service-page__faq-item,
.service-page__note {
  background: #ffffff;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 32, 42, 0.06);
}

.service-page__box,
.service-page__faq-item {
  padding: 24px;
}

.service-page__box ul,
.service-page__note ul {
  margin: 0;
  padding-left: 20px;
  color: #435566;
  line-height: 1.75;
}

.service-page__steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.service-page__step {
  position: relative;
  padding: 20px 20px 20px 66px;
  background: #ffffff;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
}

.service-page__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0ff;
  color: #1d5789;
  font-weight: 800;
}

.service-page__faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-page__photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-page__photo-url {
  padding: 18px;
  background: #ffffff;
  border: 1px dashed #9fb9cc;
  border-radius: 8px;
}

.service-page__photo-url span {
  display: block;
  margin-bottom: 8px;
  color: #1d5789;
  font-weight: 800;
}

.service-page__photo-url code {
  display: block;
  overflow-wrap: anywhere;
  color: #243447;
  font-size: 14px;
  line-height: 1.45;
}

.service-page__photo-url p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.service-page__video {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dbe7ed;
  border-radius: 8px;
}

.service-page__video a {
  color: #1d5789;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.service-page__faq-item p:last-child,
.service-page__box p:last-child,
.service-page__section p:last-child {
  margin-bottom: 0;
}

.service-page__note {
  padding: 26px;
  background: #edf6ff;
  border-left: 5px solid #1d5789;
}

.service-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  background: #1d5789;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.home-service-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-service-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #e6f0ff;
  border-radius: 50%;
  color: #1d5789;
  font-weight: 800;
}

body.shared-modal-lock {
  overflow: hidden;
}

.shared-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(16, 32, 51, 0.62);
}

.cb-modal.shared-modal-visible {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  display: block !important;
  width: min(92vw, 430px);
  max-height: 88vh;
  overflow-y: auto;
  transform: translate(-50%, -50%);
}

.cb-modal.shared-modal-visible .cb-modal__body {
  border-radius: 8px;
}

@media (max-width: 767px) {
  .content {
    margin-left: 0 !important;
    padding: 95px 14px 45px !important;
  }

  body.service-page main {
    margin-left: 0;
    padding: 95px 12px 45px;
  }

  .service-page__hero,
  .service-page__grid,
  .home-services__grid,
  .service-page__two,
  .service-page__faq,
  .service-page__photo-grid {
    grid-template-columns: 1fr;
  }

  .service-page__hero h1 {
    font-size: 32px;
  }

  .service-page__section h2 {
    font-size: 24px;
  }

  .service-page__section p {
    font-size: 16px;
  }

  .cb-modal.shared-modal-visible {
    width: calc(100vw - 24px);
    max-height: 86vh;
  }
}
