/* grunty.css: style tylko podstrony „Zakup gruntów”. Tylko tokeny marki. */

/* Zdanie obok rysunku działki na planie warstwicowym */
.g-plan { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: center; }
.g-plan .u-statement { max-width: none; }
.g-rys { margin: 0; padding: 20px; border: 1px solid var(--color-line); border-radius: var(--r-card); }
.g-rys svg { display: block; width: 100%; height: auto; overflow: hidden; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.g-siatka path { stroke: var(--color-line); stroke-width: 1; stroke-dasharray: 2 5; }
.g-warstwa { stroke: var(--color-surface); stroke-width: 9; }
.g-droga { stroke: var(--color-line); stroke-width: 3; }
.g-dzialka { stroke: var(--color-accent); stroke-width: 2; }
.g-kreska { stroke: var(--color-text); stroke-width: 1; }
.g-punkt { fill: var(--color-background); stroke: var(--color-accent); stroke-width: 2; }
.g-rys text { fill: var(--color-muted); stroke: none; font-family: var(--font-detail-family), monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .has-js .g-rys [pathLength] { stroke-dasharray: 1; transition: stroke-dashoffset 2.4s var(--motion-ease); }
  .has-js .g-rys:not(.is-visible) [pathLength] { stroke-dashoffset: 1; }
  .has-js .g-rys .g-dzialka { transition-delay: 0.6s; }
  .has-js .g-rys .g-punkt { transition: opacity 0.5s var(--motion-ease) 1.6s; }
  .has-js .g-rys:not(.is-visible) .g-punkt { opacity: 0; }
}
@media (max-width: 760px) {
  .g-plan { grid-template-columns: minmax(0, 1fr); }
  .g-rys { padding: 10px; }
}
