/* Service pages (02.12.2026) — on top of home.css, list.css, place.css and weather.css: rows of facts, prose, the contact form,
   link tiles and the questions page in the language of the approved templates. */
.pg-head .lead { max-width: 70ch; }
.pg-know, .pg-prose, .pg-form, .pg-links { padding: 44px 0; }
.pg-know:nth-of-type(even), .pg-prose:nth-of-type(even) { background: var(--paper2); }
.pg-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.pg-grid .sec-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.kn { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.kn li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kn li b { font-weight: 700; }
.kn li span { line-height: 1.55; }
.pr { border-top: 2px solid var(--ink); padding-top: 14px; }
.pr p { font-size: 17.5px; line-height: 1.62; max-width: 66ch; margin: 0 0 14px; }

/* the contact form (worker: form[action="/api/contact"], .form-error, .sent, .sent .copy, honeypot "website") */
.cf-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.pg-form { background: var(--paper2); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 15px; }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.form-error { margin: 0 0 14px; padding: 10px 12px; border-radius: 4px; background: color-mix(in srgb, var(--earth) 12%, #fff); color: var(--earth); font-weight: 650; }
.sent p { margin: 0 0 10px; }
.sent .copy { white-space: pre-wrap; padding: 12px 14px; background: var(--paper2); border-radius: 4px; }

/* link tiles */
.pg-links .sec-head { margin-bottom: 18px; }
.lk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.lk { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 44px 18px 18px; background: var(--paper2); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .15s; }
.lk:hover { transform: translateY(-2px); border-color: var(--ink); }
.lk b { font: var(--head-wt) 20px/1.15 var(--f-head); font-stretch: calc(var(--head-w) * 1%); }
.lk .go { position: absolute; right: 16px; bottom: 18px; color: var(--accent); }

/* the questions page: groups of questions */
.pg-q { padding: 40px 0 10px; }
.qg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 26px 0; border-top: 1px solid var(--line); }
.qg:first-child { border-top: 0; }
.qg h2 { font-size: clamp(22px, 2.2vw, 28px); }

@media (max-width: 900px) {
  .pg-grid, .qg { grid-template-columns: 1fr; gap: 16px; }
  .kn li { grid-template-columns: 1fr; gap: 4px; }
}

/* the map: an outline drawing with HTML labels, so heights and times stay tokens */
.map-sec { padding: 44px 0; background: var(--paper2); }
.map-box { position: relative; width: 100%; max-width: 980px; margin: 8px auto 0; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg .case { fill: none; stroke: var(--paper); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.map-svg .road { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.map-svg .scale path { stroke: var(--ink); stroke-width: 2; fill: none; }
.map-scale { position: absolute; right: 3.2%; bottom: 40px; font-size: 13px; font-weight: 650; }
.mk.s-rb .ml { left: 14px; top: 2px; }
.mk { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: 0; height: 0; }
.mk i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.mk.city i { left: -9px; top: -9px; width: 18px; height: 18px; background: var(--ink); border-color: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.mk.peak i { left: -9px; top: -11px; width: 18px; height: 16px; border: 0; border-radius: 0; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ml { position: absolute; white-space: nowrap; background: color-mix(in srgb, var(--paper) 92%, transparent); padding: 3px 7px; border-radius: 4px; line-height: 1.2; }
.ml b { display: block; font-size: 15px; }
.ml b a { text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.ml span { font-size: 12.5px; color: var(--muted); }
.mk.s-r .ml { left: 14px; top: -18px; } .mk.s-l .ml { right: 14px; top: -18px; text-align: right; }
.mk.s-b .ml { left: -40px; top: 14px; } .mk.s-t .ml { left: -40px; bottom: 14px; }
.map-t .via { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .ml b { font-size: 12.5px; } .ml span { display: none; } .mk.s-b .ml { left: -30px; } }

/* photos and credits */
.gallery { padding: 30px 0 44px; }
.gal { padding: 24px 0; border-top: 1px solid var(--line); }
.gal:first-child { border-top: 0; }
.gal-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.gal-h h2 { font-size: clamp(22px, 2.2vw, 28px); }
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
.gal-grid figure { margin: 0; border-radius: 6px; overflow: hidden; background: var(--paper3); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; }
.gal-grid .g1 { grid-column: span 2; grid-row: span 2; }
.credits { padding: 34px 0 44px; }
.cr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cr figure { margin: 0 0 8px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--paper3); }
.cr img { width: 100%; height: 100%; object-fit: cover; }
.cr p { margin: 0 0 3px; font-size: 14px; }
.cr-a { font-weight: 650; }
.cr-m { color: var(--muted); }
@media (max-width: 900px) { .gal-grid, .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal-grid { grid-auto-rows: 140px; } }
.cr p { overflow-wrap: anywhere; }
