.equipment-guide {
  --guide-line: #d9e3ed;
  --guide-deep: #18345d;
}
.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 310px);
  align-items: end;
  gap: 20px 48px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.guide-intro h2 {
  margin: 0;
  max-width: 20ch;
  color: var(--ink);
  font: 600 clamp(32px, 3.4vw, 48px)/1.1 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.guide-intro p {
  margin: 0;
  color: #526981;
  font-size: 15px;
  line-height: 1.65;
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.66fr) minmax(0, 1.64fr);
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
}
.guide-choices {
  display: grid;
  gap: 4px;
}
.guide-choice {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 14px;
  min-height: 65px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom-color: var(--guide-line);
  color: #223b58;
  font: 560 clamp(14px, 1.25vw, 17px)/1.35 var(--font);
  text-decoration: none;
  scroll-margin-top: 8rem;
  transition: background-color .18s, border-color .18s;
}
.guide-number {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #eef3f8;
  color: #526b87;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.guide-choice > .icon {
  width: 17px;
  height: 17px;
  color: #577897;
}
.guide-choice:hover,
.guide-choice[aria-selected="true"] {
  border-color: #ccdcec;
  border-radius: 10px;
  background: #f3f7fb;
  color: #233f77;
}
.guide-choice[aria-selected="true"] {
  border-color: #bfcee4;
  background: #e9f0fa;
  font-weight: 700;
}
.guide-choice[aria-selected="true"] .guide-number {
  background: var(--blue, #2f51a3);
  color: #fff;
}
.guide-choice[aria-selected="true"] > .icon { color: #2f51a3; }
.guide-choices .guide-choice:focus-visible,
.guide-panel .guide-cta:focus-visible {
  outline: 3px solid #179abf;
  outline-offset: 2px;
}
.guide-panels { min-width: 0; }
.guide-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  min-height: 341px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 17px;
  background: var(--guide-deep);
  color: #fff;
  scroll-margin-top: 11rem;
}
.guide-panel[hidden] { display: none; }
.guide-panel:not([hidden]) + .guide-panel:not([hidden]) { margin-top: 12px; }
.guide-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(23px, 2.6vw, 40px);
  background: linear-gradient(135deg, #1e406f, var(--guide-deep));
}
.guide-panel h3 {
  margin: 0;
  color: #fff;
  font: 600 clamp(25px, 2.1vw, 33px)/1.14 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.guide-panel p {
  margin: 16px 0 24px;
  max-width: 46ch;
  color: #dae7f4;
  font-size: 15px;
  line-height: 1.65;
}
.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 7px;
  background: #fff;
  color: #1e407c;
  font: 650 14px/1.45 var(--font);
  text-decoration: none;
}
.guide-cta:hover { background: #dff4fa; }
.guide-cta .icon { flex: none; width: 17px; height: 17px; }
.guide-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}
#krok-odbior .guide-photo { object-position: 65% 40%; }
@media (min-width: 701px) and (max-width: 1000px) {
  .guide-layout { grid-template-columns: minmax(205px, .55fr) minmax(0, 1fr); gap: 18px; }
  .guide-choice { padding-inline: 10px; gap: 10px; }
  .guide-panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .guide-panel p { font-size: 14px; }
}
@media (max-width: 700px) {
  .guide-intro { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .guide-intro h2 { max-width: none; }
  .guide-intro p { max-width: 36ch; }
  .guide-layout { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  .guide-choices, .guide-panels { display: contents; }
  .guide-choice:nth-child(1), .guide-panel:nth-child(1) { order: 1; }
  .guide-choice:nth-child(2), .guide-panel:nth-child(2) { order: 2; }
  .guide-choice:nth-child(3), .guide-panel:nth-child(3) { order: 3; }
  .guide-choice:nth-child(4), .guide-panel:nth-child(4) { order: 4; }
  .guide-choice:nth-child(5), .guide-panel:nth-child(5) { order: 5; }
  .guide-choice { min-height: 51px; padding: 8px 12px; gap: 12px; }
  .guide-number { width: 32px; height: 32px; }
  .guide-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-block: 5px 12px; border-radius: 12px; }
  .guide-panel-copy { padding: 23px; }
  .guide-panel p { margin-block: 10px 18px; }
  .guide-choice[aria-selected="true"] > .icon { transform: rotate(90deg); }
  .guide-photo { order: -1; aspect-ratio: 2.6; height: auto; max-height: 235px; object-position: center 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-choice { transition: none; }
}
