/* Harbor services: final shared rules and responsive variants. */
.hb-service-row {
  display: grid;
  grid-template-columns: 64px 300px minmax(0, 1fr) 184px;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--ocf-border);
  border-radius: 0;
  color: var(--ocf-heading);
  text-decoration: none;
}

.hb-service-row:first-child {
  border-top: 1px solid var(--ocf-border);
}

.hb-service-row > * {
  margin: 0;
}

.hb-service-row__number {
  font: 500 14px/20px var(--font-body);
  color: var(--hb-accent-text);
}

.hb-service-row:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hb-services__all {
  display: inline-block;
  margin-top: 40px;
}

@media (max-width: 1199px) {
  .hb-service-row {
    grid-template-columns: 40px minmax(180px, 1fr) minmax(0, 1.2fr);
    gap: 24px;
  }
  .hb-service-row > .hb-text-link {
    grid-column: 2/-1;
  }
}

@media (max-width: 599px) {
  .hb-service-row {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
    padding-block: 24px;
  }
  .hb-service-row > p {
    grid-column: 2;
  }
  .hb-service-row > .hb-text-link {
    grid-column: 2;
  }
  .hb-service-row__number {
    align-self: start;
    padding-top: 6px;
  }
}

.home main > .hb-services {
  background: var(--ocf-bg);
}

.hb-services .hb-service-row__number {
  display: none;
}

.hb-services .hb-service-row {
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 184px;
}

.hb-services .hb-service-row > .hb-text-link {
  grid-column: auto;
}

@media (max-width: 1199px) {
  .hb-services .hb-service-row {
    grid-template-columns: minmax(180px, 1fr) minmax(0, 1.2fr);
  }
  .hb-services .hb-service-row > .hb-text-link {
    grid-column: 2;
  }
}

@media (max-width: 599px) {
  .hb-services .hb-service-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hb-services .hb-service-row > p {
    grid-column: 1;
  }
  .hb-services .hb-service-row > .hb-text-link {
    grid-column: 1;
  }
}

.hb-services .hb-service-row > .hb-text-link {
  color: var(--ocf-secondary);
}

.hb-services .hb-service-row > .hb-text-link:hover {
  color: var(--ocf-secondary);
}

/* OCF_AGENT_BLOCK:kk-services-cards START */
.hb-services.kk-services { background: var(--ocf-bg); overflow: hidden; }
.kk-svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.kk-svc-head .hb-section-heading { margin: 0; max-width: 680px; }
.kk-svc-ctrls { display: flex; align-items: center; gap: 14px; }
.kk-svc-ctrls .hb-services__all { margin: 0 8px 0 0; color: var(--ocf-primary); font-weight: 700; }
.kk-circle-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; padding: 0; }
.kk-circle-btn svg { width: 18px; height: 18px; }
.kk-circle-btn:hover:not(:disabled) { background: var(--ocf-primary); border-color: var(--ocf-primary); color: #23262E; }
.kk-circle-btn:disabled { opacity: .35; cursor: default; }
.hb-services.kk-services .kk-svc-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; border: 0; }
.kk-svc-track::-webkit-scrollbar { display: none; }
.hb-services.kk-services .hb-service-row.kk-svc-card { position: relative; display: block; aspect-ratio: 4 / 4.2; padding: 0; border: 0; border-radius: var(--card-radius, 20px); overflow: hidden; isolation: isolate; scroll-snap-align: start; color: #fff; grid-template-columns: none; }
.hb-services.kk-services .hb-service-row.kk-svc-card:first-child { border-top: 0; }
.kk-svc-card .kk-svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.kk-svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,30,36,0) 30%, rgba(27,30,36,.94) 100%); }
.kk-svc-card:hover .kk-svc-img { transform: scale(1.05); }
.hb-services.kk-services .kk-svc-card .hb-service-row__number { display: none; }
.kk-svc-body { position: absolute; inset: auto 0 0; padding: 26px; display: grid; gap: 8px; }
.kk-svc-body h3 { margin: 0; color: #fff; font-size: 1.4rem; line-height: 1.2; }
.hb-services.kk-services .hb-service-row:hover h3 { text-decoration: none; }
.kk-svc-body p { margin: 0; color: #D9DADF; font-size: .93rem; line-height: 1.55; }
.hb-services.kk-services .kk-svc-body .hb-text-link { color: var(--ocf-primary); font-weight: 700; font-size: .95rem; }
.kk-progress { height: 3px; margin-top: 28px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; }
.kk-progress span { display: block; height: 100%; width: 30%; background: var(--ocf-primary); border-radius: 3px; transition: transform .2s, width .2s; }
@media (max-width: 1024px) { .hb-services.kk-services .kk-svc-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .hb-services.kk-services .kk-svc-track { grid-auto-columns: 86%; } .kk-svc-ctrls .hb-services__all { margin-right: auto; } .kk-svc-ctrls { width: 100%; } }
/* OCF_AGENT_BLOCK:kk-services-cards END */

/* OCF_AGENT_BLOCK:kk-services-photo-bottom-trim START */
.hb-services.kk-services .kk-svc-card .kk-svc-img { inset: 0 0 auto 0; height: 104%; object-position: center top; }
/* OCF_AGENT_BLOCK:kk-services-photo-bottom-trim END */
