/* /krom/ — план Крома, маршрут на два часа, стены */
.hero--krom { min-height: min(700px, 100svh); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; max-width: 420px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--cream); }
.facts svg { flex: none; width: 28px; height: 28px; color: var(--stone); }

.plan { padding: 52px 0 30px; border-top: 1px solid var(--line); }
.plan h2, .krug h2 { font-size: clamp(42px, 4.6vw, 66px); }
.plan-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; margin-top: 30px; align-items: start; }
.plan .map { position: relative; top: 0; }
.k-bld path { fill: #172235; stroke: none; }
.k-area { fill: rgba(205, 187, 152, .06); }
.k-area--dovm { fill: rgba(242, 196, 109, .07); }
.k-ruins path { fill: rgba(205, 187, 152, .45); }
.k-wall path { fill: none; stroke: var(--stone); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; opacity: .9; }
.k-note { font: 800 26px/1 var(--cond); text-transform: uppercase; letter-spacing: .2em; color: rgba(241, 230, 207, .22); }
.k-note--sm { font-size: 15px; letter-spacing: .14em; color: rgba(241, 230, 207, .35); }
.pin[aria-pressed="true"] b { background: var(--cream); box-shadow: 0 0 0 7px rgba(242, 196, 109, .35); }

.pcard { position: sticky; top: 24px; display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--night-2); }
.pcard-pic { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #0B1322; }
.pcard-pic img, .pcard-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-pic b { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lamp); color: #1B1408; font: 700 15px/1 var(--sans); z-index: 1; }
.pcard-pic .pin { display: none; }
.pcard-t { margin: 18px 4px 4px; font-size: 34px; }
.pcard-d { margin: 0 4px 12px; font-size: 13px; color: var(--stone); }
.pcard-x { margin: 0 4px; font-size: 14.5px; color: var(--text); min-height: 112px; }
.pcard-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.pcard-nav button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r); background: none; color: var(--cream); cursor: pointer; }
.pcard-nav button:hover { border-color: var(--lamp); }
.pcard-prev svg { transform: scaleX(-1); }
.pcard-nav svg { width: 20px; height: 20px; }
.pcard-n { font-size: 14px; color: var(--muted); }

.krug { padding: 54px 0 60px; border-top: 1px solid var(--line); background: var(--night-2); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.steps li { position: relative; padding: 0 16px; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li + li::before { content: ""; position: absolute; left: -7px; top: 74px; width: 12px; height: 12px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); background: var(--night-2); }
.step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-h b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lamp); color: #1B1408; font: 700 14px/1 var(--sans); }
.step-h time { font-size: 13px; color: var(--stone); }
.steps img, .steps .tile { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.steps .tile { padding: 18px; background: var(--night-3); color: var(--stone); border: 1px solid var(--line); }
.steps h3 { margin: 14px 0 6px; font-size: 22px; line-height: 1; }
.steps p { font-size: 13.5px; color: var(--muted); }

.steny { padding: 56px 0 60px; border-top: 1px solid var(--line); }
.steny h2 { margin-bottom: 26px; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.looks img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.looks h3 { margin: 16px 0 8px; font-size: 26px; text-transform: none; font-weight: 700; }
.looks p { font-size: 14px; color: var(--muted); }
.steny-note { margin-top: 30px; padding: 14px 18px; border-left: 2px solid #B5636B; background: rgba(181, 99, 107, .07); font-size: 14.5px; color: var(--text); }
.steny-note b { color: var(--cream); }

@media (max-width: 1180px) {
  .plan-body { grid-template-columns: 1fr; }
  .pcard { position: relative; top: 0; max-width: 720px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps li:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(4)::before { display: none; }
  .looks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero--krom { min-height: 600px; }
  .facts li { font-size: 15px; }
  .k-note { font-size: 18px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .steps li, .steps li:nth-child(4) { padding: 0; border: 0; }
  .steps li::before { display: none; }
  .steps h3 { font-size: 20px; }
  .looks { grid-template-columns: 1fr; }
  .pcard-t { font-size: 28px; }
  .pcard-x { min-height: 0; }
}
