/* ==========================================================
   Angielski Trawnik Opole
   Paleta wzięta z logo: butelkowa zieleń + mosiądz.
   ========================================================== */
:root {
  --bottle: #142016;
  --bottle-2: #1b2b1e;
  --bottle-3: #24392a;
  --brass: #c9b57a;
  --brass-hi: #e3d29d;
  --brass-dim: #8c7e52;
  --chalk: #ece6d3;
  --chalk-dim: #b9b49f;
  --sage: #e4e8dc;
  --sage-2: #d4dacb;
  --ink: #142016;
  --brass-ink: #6c5d2f;

  --soil-roots: #2b2318;
  --soil-top: #35281c;
  --soil-sand: #9d8659;
  --soil-gravel: #4d4a43;
  --soil-clay: #5a3b26;

  --f-display: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-text: "Newsreader", "Georgia", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 10px;
  --bar-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--bottle);
  color: var(--chalk);
  font: 400 1.125rem/1.6 var(--f-text);
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 300; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--brass); color: var(--bottle); padding: 10px 14px; border-radius: var(--radius);
  font-family: var(--f-display); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em;
  font: 600 1rem/1 var(--f-display); letter-spacing: .02em; padding-top: .15em;
  background: var(--brass); color: var(--bottle);
  border: 1.5px solid var(--brass); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn--ghost { background: transparent; color: var(--brass); }
.btn--ghost:hover { background: rgba(201,181,122,.12); color: var(--brass-hi); }
.btn--small { min-height: 40px; padding: .15em 1.1em 0; font-size: .95rem; }

/* ---------- pasek górny ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(12px, 2.5vw, 36px);
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(20,32,22,.92), rgba(20,32,22,.0));
  transition: background .3s;
}
.bar.is-solid { background: rgba(20,32,22,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(201,181,122,.18); }
.bar__logo { color: var(--brass); width: 128px; flex: none; }
.bar__logo svg { width: 100%; height: auto; }
.bar__nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.bar__nav a, .bar__phone {
  font: 400 .98rem/1 var(--f-display); text-decoration: none; color: var(--chalk-dim); padding: .5em 0 .35em;
  border-bottom: 1px solid transparent;
}
.bar__nav a:hover, .bar__phone:hover { color: var(--chalk); border-color: var(--brass); }
.bar__phone { color: var(--brass); }

/* ==========================================================
   PRZEKRÓJ
   ========================================================== */
.descent { position: relative; height: 380svh; }
.descent__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.descent__frames { position: absolute; inset: 0; width: 100%; height: 100%; display: none; z-index: 1; }
.has-frames .descent__frames { display: block; }
.has-frames .scene > :not(.scene__lines) { visibility: hidden; }

.scene {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 340svh;
  will-change: transform;
}
.sky {
  position: absolute; inset: 0 0 auto 0; height: 82svh;
  background:
    radial-gradient(120% 70% at 78% 100%, rgba(227,210,157,.38), rgba(201,181,122,.08) 40%, transparent 70%),
    linear-gradient(to bottom, #0e1810 0%, #16261a 55%, #2a3d26 100%);
}
.sky__glow {
  position: absolute; right: 14%; bottom: -6svh; width: 34vmin; height: 34vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,226,180,.65), rgba(227,210,157,.18) 45%, transparent 70%);
  filter: blur(6px);
}
/* --- przejazd ze zdjęć --- */
.shots { position: absolute; inset: 0; z-index: 1; display: none; background: var(--bottle); overflow: hidden; }
.photo-mode .shots { display: block; }
.photo-mode .scene { display: none; }
.photo-mode .descent__sticky::after { display: none; }  /* zdjęcia mają własne ziarno; nakładka zmieniała odcień tła */
.shot {
  position: absolute; left: 50%; top: 0;
  background: center / 100% 100% no-repeat;
  opacity: 0; will-change: transform, opacity; backface-visibility: hidden;
  --fy: 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--fy), #000 100%);
          mask-image: linear-gradient(to bottom, transparent, #000 var(--fy), #000 100%);
}
.shot:first-child { -webkit-mask-image: none; mask-image: none; }

.grass { position: absolute; left: 0; width: 100%; top: 66svh; height: 18svh; overflow: visible; z-index: 2; }
.grass .sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite alternate; }
.grass .sway:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.grass .sway:nth-child(3n) { animation-duration: 5.2s; animation-delay: -4s; }
@keyframes sway { from { transform: skewX(-2.5deg); } to { transform: skewX(2.5deg); } }

.strata { position: absolute; left: 0; right: 0; top: 82svh; bottom: 0; display: flex; flex-direction: column; }
.layer { position: relative; flex: none; }
.layer::after { /* miękkie przejście między warstwami */
  content: ""; position: absolute; left: 0; right: 0; top: -3svh; height: 3svh; pointer-events: none;
}
.layer--roots {
  height: 16svh;
  background:
    repeating-linear-gradient(97deg, rgba(160,140,90,.07) 0 1px, transparent 1px 9px),
    linear-gradient(to bottom, #1f2a17, var(--soil-roots) 30%);
}
.layer--topsoil {
  height: 48svh;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .8 0 0 0 22 -15.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='1' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 -11.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, var(--soil-roots), var(--soil-top) 14%, #3b2c1f);
}
.layer--sand {
  height: 40svh;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .97 0 0 0 0 .88 0 0 0 20 -14.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .17 0 0 0 0 .08 0 0 0 18 -12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, #5c4a2e, #7a6642 18%, #85714b 60%, #7a6644);
}
.layer--gravel {
  height: 58svh;
  background: linear-gradient(to bottom, #6a6250, var(--soil-gravel) 8%, #3f3c36);
}
.layer--subsoil {
  flex: 1;
  background:
    repeating-linear-gradient(178.5deg, rgba(0,0,0,.07) 0 1px, transparent 1px 29px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .85 0 0 0 0 .7 0 0 0 20 -14.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, #4a3a2c, var(--soil-clay) 10%, #432a1a 70%, var(--bottle) 100%);
}
.scene__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; overflow: visible; }
.scene__lines .root { fill: none; stroke: #d9c9a0; stroke-linecap: round; opacity: .55; }
.scene__lines .pipe { fill: none; stroke: var(--brass); stroke-width: 2; }
.scene__lines .pipe-fill { fill: none; stroke: rgba(201,181,122,.18); }
.scene__lines .flow { fill: none; stroke: #bfe0ee; stroke-width: 2.5; stroke-dasharray: 6 22; stroke-linecap: round; animation: flow 1.4s linear infinite; opacity: .85; }
.scene__lines .drop { fill: #bfe0ee; opacity: .8; }
.scene__lines .pebble { stroke: rgba(0,0,0,.35); stroke-width: 1; }
.scene__lines .label { font: 400 13px var(--f-display); fill: var(--brass); letter-spacing: .04em; }
.scene__lines .tick { stroke: var(--brass); stroke-width: 1; opacity: .6; }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* nakładka ziarna na całą scenę */
.descent__sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- hero --- */
.hero {
  position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter);
  top: calc(var(--bar-h) + 6svh);
  max-width: 52rem;
  will-change: opacity, transform;
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 300; line-height: .98; letter-spacing: -0.025em;
  color: var(--chalk);
  text-wrap: balance;
}
.hero__lead { margin-top: 1.4rem; max-width: 34rem; color: var(--chalk-dim); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint {
  margin-top: 2.2rem; display: flex; align-items: center; gap: 14px;
  font: 400 .9rem var(--f-display); color: var(--brass); letter-spacing: .03em;
}
.hero__hint span { width: 1px; height: 46px; background: linear-gradient(var(--brass), transparent); position: relative; overflow: hidden; }
.hero__hint span::after { content: ""; position: absolute; left: -2px; top: -10px; width: 5px; height: 10px; border-radius: 3px; background: var(--brass-hi); animation: hint 2s ease-in infinite; }
@keyframes hint { to { transform: translateY(60px); } }

/* --- głębokościomierz --- */
.gauge__sign { margin-right: -.12em; font-size: .6em; vertical-align: .25em; }
.gauge {
  position: absolute; z-index: 6; left: var(--gutter); top: 0; bottom: 0; width: 120px;
  pointer-events: none; opacity: 0; transition: opacity .4s;
}
.gauge.is-on { opacity: 1; }
.gauge__ruler {
  position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
  border-right: 1px solid rgba(201,181,122,.5);
  background:
    repeating-linear-gradient(to bottom, var(--brass) 0 1px, transparent 1px 60px) right 0 top var(--tick, 0px) / 22px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgba(201,181,122,.6) 0 1px, transparent 1px 12px) right 0 top var(--tick, 0px) / 10px 100% no-repeat;
}
.gauge__value {
  position: absolute; left: 32px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--f-display); font-weight: 300; color: var(--brass-hi);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.gauge__value::before { content: ""; position: absolute; left: -32px; top: 50%; width: 28px; height: 1px; background: var(--brass-hi); }
.gauge__num { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; }
.gauge__value small { font-size: 1.2rem; color: var(--brass); }

/* --- opisy warstw --- */
.callouts { list-style: none; margin: 0; padding: 0; }
.callout {
  position: absolute; z-index: 6;
  right: var(--gutter); top: 50%; width: min(400px, 36vw);
  padding: 22px 24px 24px;
  background: rgba(20,32,22,.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(201,181,122,.35); border-radius: var(--radius);
  opacity: 0; transform: translateY(-40%); visibility: hidden;
  transition: opacity .2s, transform .4s, visibility 0s .2s;
}
.callout.is-on { opacity: 1; transform: translateY(-50%); visibility: visible; transition: opacity .45s .15s, transform .6s .15s cubic-bezier(.2,.7,.2,1); }
.callout::before { /* linia odniesienia jak na rysunku */
  content: ""; position: absolute; right: 100%; top: 50%; width: min(14vw, 180px); height: 1px;
  background: linear-gradient(to left, var(--brass), transparent);
}
.callout::after {
  content: ""; position: absolute; right: calc(100% + min(14vw, 180px) - 4px); top: calc(50% - 4px);
  width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--brass); background: var(--bottle);
}
.callout__depth { font: 400 .95rem var(--f-display); color: var(--brass); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.callout h2 { font-size: 1.75rem; font-weight: 400; color: var(--chalk); margin-bottom: .6rem; }
.callout p:last-child { color: var(--chalk-dim); font-size: 1.04rem; line-height: 1.5; }

/* ==========================================================
   MOST
   ========================================================== */
.bridge { padding: 18svh var(--gutter) 14svh; text-align: center; }
.bridge p { font: 300 clamp(1.6rem, 3.4vw, 2.8rem)/1.2 var(--f-display); color: var(--chalk); max-width: 30em; margin: 0 auto; text-wrap: balance; }

/* ==========================================================
   PROJEKT
   ========================================================== */
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.8rem); text-wrap: balance; }
.plan { padding: 6svh var(--gutter) 14svh; }
.plan__intro { max-width: 46rem; }
.plan__intro p { margin-top: 1.2rem; color: var(--chalk-dim); max-width: 38rem; }
.plan__body {
  display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(24px, 5vw, 80px);
  margin-top: 8svh; align-items: start;
}
.steps { list-style: none; margin: 0; padding: 18svh 0 30svh; counter-reset: s; }
.step {
  counter-increment: s; position: relative; padding: 0 0 0 64px; min-height: 34svh;
  opacity: .38; transition: opacity .4s;
}
.step.is-on { opacity: 1; }
.step::before {
  content: counter(s); position: absolute; left: 0; top: -.15em;
  font: 300 2.6rem/1 var(--f-display); color: var(--brass);
}
.step h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: .5rem; }
.step p { color: var(--chalk-dim); max-width: 26rem; }

.drawing { position: sticky; top: calc(var(--bar-h) + 4svh); margin: 0; }
.drawing__svg {
  width: 100%; height: auto; color: var(--brass);
  border: 1px solid rgba(201,181,122,.3); border-radius: var(--radius);
  background: radial-gradient(120% 90% at 30% 20%, #1e3122, var(--bottle-2) 70%);
}
.drawing figcaption { margin-top: .8rem; font: 400 .95rem var(--f-display); color: var(--chalk-dim); }
.drawing .ln { stroke: currentColor; stroke-width: 1.3; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.6,.1,.2,1); }
.drawing circle.ln[r="3"], .drawing circle.ln[r="4"] { fill: currentColor; }
.drawing .ln--thin { stroke-width: .7; opacity: .7; }
.drawing .ln--dash { stroke-width: 1; stroke-dasharray: 4 5; stroke-dashoffset: 0; opacity: 0; transition: opacity 1.2s .4s; }
.drawing .dwg--water .ln { color: #9fd0e2; }
.drawing .tx { font: 400 11px var(--f-display); fill: currentColor; letter-spacing: .06em; opacity: 0; transition: opacity .8s .8s; }
.drawing .tx--lg { font-size: 15px; letter-spacing: .12em; }
.drawing .dwg--water .tx { fill: #9fd0e2; }
.drawing .fill-in { opacity: 0; transition: opacity 1s 1s; }
.drawing .dwg.is-drawn .ln { stroke-dashoffset: 0; }
.drawing .dwg.is-drawn .ln--dash { opacity: 1; }
.drawing .dwg.is-drawn .tx, .drawing .dwg.is-drawn .fill-in { opacity: 1; }
.drawing .dwg.is-current .ln { stroke-width: 1.8; }

/* ==========================================================
   REALIZACJE
   ========================================================== */
.work { padding: 10svh var(--gutter) 12svh; background: var(--bottle-2); }
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.work__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.link { font: 400 1.02rem var(--f-display); color: var(--brass); text-decoration: none; border-bottom: 1px solid rgba(201,181,122,.4); padding-bottom: 2px; }
.link:hover { color: var(--brass-hi); border-color: var(--brass-hi); }
.work__grid {
  list-style: none; margin: 6svh 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px); gap: 12px;
}
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile a {
  position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 34px, transparent 34px 68px),
    linear-gradient(160deg, #3c5a32, #24392a);
  text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile a:hover img { transform: scale(1.04); }
.tile__ph { position: absolute; inset: 0; display: grid; place-items: center; font: 400 .9rem var(--f-display); color: rgba(236,230,211,.35); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  font: 400 .95rem var(--f-display); color: var(--chalk);
  background: linear-gradient(transparent, rgba(20,32,22,.85));
}

/* ==========================================================
   PYTANIA + KONTAKT (jasna część)
   ========================================================== */
.faq, .contact { background: var(--sage); color: var(--ink); color-scheme: light; }
.faq { padding: 12svh var(--gutter) 6svh; }
.faq .section-title { max-width: 18em; }
.faq__list { margin-top: 5svh; max-width: 54rem; border-top: 1px solid rgba(20,32,22,.2); }
.faq details { border-bottom: 1px solid rgba(20,32,22,.2); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 3rem 1.15rem 0;
  font: 400 clamp(1.15rem, 2vw, 1.45rem)/1.25 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 1.5px solid var(--brass-ink); border-bottom: 1.5px solid var(--brass-ink);
  transform: rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 0 1.4rem; max-width: 42rem; color: #33443a; }

.contact {
  padding: 10svh var(--gutter) 8svh;
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px);
}
.contact__lead { margin-top: 1rem; color: #33443a; }
.form { margin-top: 2.4rem; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font: 400 .98rem var(--f-display); color: #2c3b30; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1.05rem var(--f-text); color: var(--ink);
  background: #f4f6f0; border: 1px solid rgba(20,32,22,.28); border-radius: var(--radius);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--bottle); outline-offset: 1px; }
.form [aria-invalid="true"] { border-color: #9b2d1f; }
.form__choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__choice legend { font: 400 .98rem var(--f-display); color: #2c3b30; margin-bottom: 8px; padding: 0; }
.form__choice label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 16px 8px; border: 1px solid rgba(20,32,22,.28); border-radius: 999px; background: #f4f6f0;
}
.form__choice label:has(input:checked) { background: var(--bottle); color: var(--chalk); border-color: var(--bottle); }
.form__choice input { accent-color: var(--brass); margin: 0 0 2px; }
.form__consent { grid-template-columns: auto 1fr !important; align-items: start; font-family: var(--f-text) !important; font-size: .95rem !important; color: #33443a !important; }
.form__consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--bottle); }
.form .btn { justify-self: start; background: var(--bottle); color: var(--chalk); border-color: var(--bottle); }
.form .btn:hover { background: var(--bottle-3); }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { min-height: 1.6em; font: 400 1rem var(--f-display); }
.form__status.is-ok { color: #255c2b; }
.form__status.is-err { color: #9b2d1f; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__side { display: grid; gap: 40px; align-content: start; }
.contact__side h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 1rem; }
.reach {
  background: radial-gradient(120% 100% at 50% 40%, var(--bottle-3), var(--bottle) 75%);
  color: var(--chalk); border-radius: var(--radius); padding: 24px 22px 18px;
  border: 1px solid rgba(201,181,122,.3);
}
.contact__side .reach h3 { color: var(--chalk); margin-bottom: .2rem; }
.reach__lead { color: var(--chalk-dim); font-size: 1rem; }
.reach__map { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.reach__ring { fill: none; stroke: rgba(201,181,122,.35); stroke-width: 1; }
.reach__ring--out { stroke: var(--brass); stroke-width: 1.4; stroke-dasharray: 4 5; }
.reach__ticks { fill: none; stroke: rgba(201,181,122,.55); stroke-width: 6; stroke-dasharray: 1 13.66; }
.reach__axis { stroke: rgba(201,181,122,.2); stroke-width: 1; }
.reach__km text { font: 400 9px var(--f-display); fill: rgba(201,181,122,.7); letter-spacing: .04em; }
.reach__n { font: 600 12px var(--f-display); fill: var(--brass); }
.reach__towns circle { fill: var(--chalk); }
.reach__towns text { font: 400 12px var(--f-display); fill: var(--chalk); paint-order: stroke; stroke: var(--bottle); stroke-width: 3px; }
.reach__home { fill: var(--brass-hi); }
.reach__big { font: 600 17px var(--f-display); fill: var(--brass-hi); paint-order: stroke; stroke: var(--bottle); stroke-width: 3px; }
.reach__pulse { fill: none; stroke: var(--brass-hi); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
.reach__sweep { transform-origin: 0 0; animation: sweep 9s linear infinite; }
.reach__sweep path { fill: var(--brass-hi); }
.reach__sweep .reach__beam { fill: none; stroke: var(--brass-hi); stroke-width: 1.2; opacity: .7; }
@keyframes pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
@keyframes sweep { to { transform: rotate(360deg); } }

.map { line-height: 0; border-top: 1px solid rgba(201,181,122,.3); background: var(--bottle-2); }
.map iframe { width: 100%; height: clamp(320px, 52vh, 520px); border: 0; filter: saturate(.75) contrast(1.05); }

.direct ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.direct a { font: 400 1.3rem var(--f-display); text-decoration: none; border-bottom: 1px solid rgba(20,32,22,.25); }
.direct a:hover { border-color: var(--ink); }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social .dot { fill: currentColor; stroke: none; }

/* ==========================================================
   STOPKA + DOK MOBILNY
   ========================================================== */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 48px var(--gutter) 56px;
  font: 400 .95rem/1.5 var(--f-display); color: var(--chalk-dim);
}
.foot__logo { width: 160px; color: var(--brass); }
.foot__social { margin-left: auto; }
.foot a { color: var(--brass); }

.dock { display: none; }
.foot__credit { flex-basis: 100%; margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(201,181,122,.15); font-size: .85rem; color: rgba(185,180,159,.7); letter-spacing: .04em; }

/* ---------- znak wodny wersji podglądowej (usuń po akceptacji) ---------- */
.watermark {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='140'%3E%3Cg transform='rotate(-28 110 70)' font-family='Josefin Sans,Futura,sans-serif' font-weight='600' text-anchor='middle'%3E%3Ctext x='110' y='70' font-size='22' letter-spacing='4' fill='%23ffffff' fill-opacity='.10' stroke='%23000000' stroke-opacity='.08' stroke-width='1'%3ELOCOSP%3C/text%3E%3Ctext x='110' y='88' font-size='9' letter-spacing='2' fill='%23ffffff' fill-opacity='.10' stroke='%23000000' stroke-opacity='.06' stroke-width='.6'%3Eprojekt podglądowy%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 140px;
}
@media print { .watermark { position: absolute; height: 100%; } }

/* ==========================================================
   RESPONSYWNOŚĆ
   ========================================================== */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .bar__phone { margin-left: auto; }
}
@media (max-width: 860px) {
  :root { --bar-h: 58px; }
  .bar__logo { width: 104px; }
  .bar__phone { display: none; }
  .bar .btn--small { margin-left: auto; }

  .descent { height: 340svh; }
  .hero { top: calc(var(--bar-h) + 5svh); }
  .hero__hint { margin-top: 2rem; }
  .gauge { width: 90px; }
  .gauge__value { top: 30%; }
  .callout {
    left: var(--gutter); right: var(--gutter); width: auto;
    top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateY(20px);
    padding: 18px 18px 20px;
  }
  .callout.is-on { transform: none; }
  .callout::before, .callout::after { display: none; }
  .callout h2 { font-size: 1.45rem; }

  .plan__body { grid-template-columns: 1fr; margin-top: 4svh; }
  .drawing { order: -1; top: var(--bar-h); z-index: 2; background: var(--bottle); padding: 8px 0; }
  .drawing figcaption { display: none; }
  .steps { padding: 4svh 0 10svh; }
  .step { min-height: 26svh; }

  .work__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot__social { margin-left: 0; }

  .dock {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20,32,22,.95); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201,181,122,.25);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding-top: .15em;
    font: 600 1rem var(--f-display); text-decoration: none; border-radius: var(--radius);
    color: var(--brass); border: 1.5px solid var(--brass);
  }
  .dock .dock__main { background: var(--brass); color: var(--bottle); }
}
@media (max-width: 420px) {
  .hero__lead { font-size: 1rem; }
  .hero__cta .btn { flex: 1; padding-inline: 1em; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .grass .sway, .scene__lines .flow, .hero__hint span::after, .reach__sweep, .reach__pulse { animation: none; }
  .callout, .callout.is-on, .drawing .ln, .drawing .tx, .drawing .fill-in { transition: none; }
  html { scroll-behavior: auto; }
}
