.service-dock-section {
  position: relative;
  z-index: 6;
  margin: -62px 0 0;
  padding-bottom: 32px;
}

.service-navigator {
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 70px rgba(0, 18, 51, .18);
}

.service-navigator-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(var(--primary-rgb), .1);
}

.service-navigator-head div,
.service-navigator-head span,
.service-navigator-head strong {
  display: block;
}

.service-navigator-head span,
.service-detail-copy > span,
.service-detail-routes > span,
.service-detail-contact > span {
  color: var(--action-dark);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-navigator-head strong {
  margin-top: 5px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.service-navigator-head small {
  max-width: 420px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.service-choice-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-choice {
  position: relative;
  min-width: 0;
  min-height: 126px;
  display: grid;
  grid-template-rows: 22px 48px 20px;
  align-content: center;
  gap: 7px;
  padding: 18px 17px;
  color: var(--ink);
  border: 0;
  border-left: 1px solid rgba(var(--primary-rgb), .1);
  background: #fff;
  text-align: left;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.service-choice:first-child {
  border-left: 0;
}

.service-choice::after {
  position: absolute;
  right: 16px;
  bottom: 17px;
  content: "+";
  color: var(--action-dark);
  font-size: 1.15rem;
  font-weight: 500;
}

.service-choice > span,
.service-choice > strong,
.service-choice > small {
  display: block;
}

.service-choice > span {
  color: var(--action-dark);
  font-size: .69rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-choice > strong {
  max-width: 190px;
  display: -webkit-box;
  overflow: hidden;
  font-size: .9rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-choice > small {
  padding-right: 22px;
  overflow: hidden;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-choice:is(:hover, :focus-visible),
.service-choice.is-active {
  background: #f2f7fa;
  outline: 0;
  box-shadow: inset 0 -3px 0 var(--action);
}

.service-choice.is-active::after {
  content: "−";
}

.service-choice.is-urgent > span {
  color: #a61745;
}

.service-choice.is-urgent:is(:hover, :focus-visible),
.service-choice.is-urgent.is-active {
  background: #fff4f7;
  box-shadow: inset 0 -3px 0 #c22b5a;
}

.service-detail {
  position: relative;
  border-top: 1px solid rgba(var(--primary-rgb), .12);
  background: #f3f6f8;
  animation: service-detail-in .24s ease both;
}

.service-detail[hidden] {
  display: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(210px, .7fr) minmax(300px, .9fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  padding: 34px 64px 36px 30px;
}

.service-detail-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--muted);
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.service-detail-close:is(:hover, :focus-visible) {
  color: var(--primary-dark);
  outline: 2px solid rgba(var(--action-rgb), .24);
}

.service-detail-copy h3 {
  margin: 10px 0 0;
  color: var(--primary-dark);
  font-size: 1.55rem;
  line-height: 1.12;
}

.service-detail-copy p {
  max-width: 480px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

.service-detail-routes {
  display: grid;
  gap: 0;
}

.service-detail-routes > span,
.service-detail-contact > span {
  margin-bottom: 9px;
}

.service-detail-routes a {
  padding: 9px 0;
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(var(--primary-rgb), .12);
  font-size: .8rem;
  font-weight: 800;
}

.service-detail-routes a::after {
  float: right;
  content: "→";
  color: var(--action);
}

.service-detail-routes a:is(:hover, :focus-visible) {
  color: var(--action-dark);
}

.service-detail-contact {
  min-width: 0;
}

.service-detail-phone {
  display: block;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 850;
}

.service-detail-contact form {
  margin-top: 15px;
}

.service-detail-contact label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 800;
}

.service-detail-contact form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.service-detail-contact input,
.service-detail-contact button[type="submit"] {
  min-height: 46px;
  border: 1px solid rgba(var(--primary-rgb), .18);
}

.service-detail-contact input {
  min-width: 0;
  padding: 0 12px;
  border-radius: 7px 0 0 7px;
  background: #fff;
  font-size: .8rem;
}

.service-detail-contact button[type="submit"] {
  padding: 0 15px;
  color: #fff;
  border-color: var(--action);
  border-radius: 0 7px 7px 0;
  background: var(--action);
  font-size: .75rem;
  font-weight: 850;
}

.service-detail-contact button[type="submit"]:is(:hover, :focus-visible) {
  border-color: var(--action-dark);
  background: var(--action-dark);
}

.service-detail-contact [data-form-status] {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.4;
}

@keyframes service-detail-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .service-dock-section {
    margin: 0;
    padding: 26px 0 34px;
    background: #fff;
  }

  .service-choice-list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .service-choice {
    flex: 0 0 205px;
  }

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

  .service-detail-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .service-navigator {
    border-radius: 10px;
  }

  .service-navigator-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .service-choice {
    flex-basis: 184px;
    min-height: 116px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 20px;
  }

  .service-detail-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail {
    animation: none;
  }
}
