/* King.Prostor · product pages (King.Prostor for CAD, Sewer+) and the country pages
   The home's language without its split viewer: one CAD window carries the stage, every
   section below is one tone, and the only dark band is the download at the end.
   Kept apart from home.css on purpose: the accepted home does not change with these pages. */

.product {
  --cad: #212830;            /* AutoCAD model space */
  --cad-panel: #1A2027;
  --cad-line: #536173;
  --cad-parcel: #E6C14A;
  --cad-contour: #8C7A5B;
  --cad-pipe: #45D4E4;
  --cad-text: #DDE5EC;
  --cad-body: #C9D1DA;       /* body text on the dark window, 10:1 */
  --cad-muted: #A3B1C0;      /* small text on the dark panel, 7:1 */
  --grip: #3E7BFA;           /* AutoCAD's grip blue */
  --web-pipe: #1E8A4C;       /* the published project on the web map */
}

.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pt { color: var(--orange); }

/* ---------- stage ---------- */
.p-stage { padding-block: clamp(28px, 3.4vw, 52px) clamp(44px, 5vw, 80px); }
.display { font-size: clamp(2.1rem, .6rem + 4.3vw, 4.5rem); font-weight: 760; font-stretch: 108%; line-height: .98; letter-spacing: -.04em; }
.display .under, .display .over { display: block; }
.display .under { color: #7F8B86; }
.stage-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-block: clamp(16px, 1.8vw, 26px) clamp(20px, 2.2vw, 32px); }
.stage-intro .lead { max-inline-size: 38em; }
.stage-intro .cta { padding: 0; }
.hint { margin-block-start: 12px; font-size: .8125rem; color: var(--muted); }

/* ---------- the CAD window (.kpwin, not .cadwin: site.css has that one for the old Sewer+ hero) ---------- */
.kpwin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); block-size: clamp(400px, 52vh, 580px); border-radius: 10px; overflow: clip; background: var(--cad); color: var(--cad-text); box-shadow: 0 1px 0 rgba(33, 40, 48, .08), 0 30px 60px -30px rgba(33, 40, 48, .45); }
.cad-draw { position: relative; overflow: clip; min-block-size: 0; }
.cad-draw > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; font-family: var(--mono); }
.cad-draw g[class^="l-"] { --sw: .95px; stroke-width: var(--sw); transition: opacity .45s ease, visibility 0s; }
.cad-draw .l-ortho { filter: grayscale(1) brightness(.42) contrast(1.15); opacity: .5; }
.l-base { color: var(--cad-line); }
.l-terrain { color: var(--cad-contour); opacity: .62; }
.l-cadastre { color: var(--cad-parcel); }
.l-buildings { color: #A9B4BF; }
.l-flood { color: #4A9BE8; }
.l-network { color: var(--cad-pipe); --mh: var(--cad); }
.l-network > use:first-child { stroke-width: 2.2px; }
.l-network .tiny { color: var(--cad-text); }
.l-labels { color: var(--cad-parcel); }

/* one parcel picked: dashed outline, grips on its corners, the quick properties beside it */
.pick-edge { fill: rgba(230, 193, 74, .12); stroke: #FFFFFF; stroke-width: 1.5px; stroke-dasharray: 6 4; }
.pick-grip { fill: var(--grip); stroke: #FFFFFF; stroke-width: 1px; }
.qp rect { fill: rgba(16, 21, 27, .92); stroke: rgba(255, 255, 255, .16); stroke-width: 1px; }
.qp text { fill: var(--cad-text); font-size: 11px; }
.qp .qk { fill: var(--cad-muted); }
.qp .qh { fill: #FFFFFF; font-weight: 500; }

.cad-draw .console { position: absolute; z-index: 2; inset-block-end: clamp(12px, 1.6vw, 20px); inset-inline-start: clamp(12px, 1.6vw, 20px); }
.console { margin: 0; padding: 9px 12px; border-radius: 5px; background: rgba(16, 21, 27, .86); border: 1px solid rgba(255, 255, 255, .12); color: var(--cad-text); font-family: var(--mono); font-size: .75rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
.console p { margin: 0; white-space: pre; }
.console .k { color: var(--cad-muted); }
.console .crs { color: var(--cad-parcel); }
.console-out { color: #7BE0A2; }

/* the tree: plain checkboxes; the :has() rules below show the layers, no script */
.cad-tree { background: var(--cad-panel); border-inline-start: 1px solid rgba(255, 255, 255, .08); padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 14px; overflow: auto; font-size: .875rem; }
.tree-head { display: flex; flex-direction: column; gap: 2px; padding-block-end: 12px; border-block-end: 1px solid rgba(255, 255, 255, .1); }
.tree-head b { font-weight: 650; color: #FFFFFF; }
.tree-head span { font-family: var(--mono); font-size: .6875rem; color: var(--cad-muted); }
.tree-group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; min-inline-size: 0; }
.tree-group legend { padding: 0 0 4px; font-size: .75rem; font-weight: 600; color: var(--cad-muted); }
.tree-group label { display: grid; grid-template-columns: 16px 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; color: var(--cad-text); }
.tree-group input { inline-size: 15px; block-size: 15px; margin: 0; accent-color: var(--cad-parcel); }
.tree-group .src { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; color: var(--cad-muted); }
.tree-more { list-style: none; margin: 0; padding: 10px 0 0; border-block-start: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; font-size: .8125rem; color: var(--cad-muted); }
.tree-more li { display: flex; gap: 10px; }
.tree-more li::before { content: "+"; font-family: var(--mono); color: var(--cad-muted); }
.tree-more span { margin-inline-start: auto; font-family: var(--mono); font-size: .6875rem; }
.sym { inline-size: 18px; block-size: 10px; border-radius: 2px; }
.sym-ortho { background: linear-gradient(135deg, #5A6560 0 40%, #6E7A70 40% 70%, #55636E 70%); }
.sym-terrain { border: 1.5px solid var(--cad-contour); border-radius: 50%; }
.sym-cadastre { border: 1.5px solid var(--cad-parcel); }
.sym-labels { block-size: auto; font: 500 .625rem/1 var(--mono); color: var(--cad-parcel); text-align: center; }
.sym-buildings { border: 1.5px solid #A9B4BF; inline-size: 13px; justify-self: center; }
.sym-network { block-size: 0; border-block-start: 3px solid var(--cad-pipe); border-radius: 0; }
.sym-flood { background: rgba(74, 155, 232, .45); }

.kpwin:has(#ly-ortho:not(:checked)) .l-ortho,
.kpwin:has(#ly-terrain:not(:checked)) .l-terrain,
.kpwin:has(#ly-cadastre:not(:checked)) .l-cadastre,
.kpwin:has(#ly-labels:not(:checked)) .l-labels,
.kpwin:has(#ly-buildings:not(:checked)) .l-buildings,
.kpwin:has(#ly-network:not(:checked)) .l-network,
.kpwin:has(#ly-flood:not(:checked)) .l-flood { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.kpwin:has(#ly-cadastre:not(:checked)) .l-pick { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .cad-draw g[class^="l-"] { transition: none !important; } }

@media (max-width: 760px) {
  .kpwin { grid-template-columns: 1fr; grid-template-rows: clamp(260px, 72vw, 340px) auto; block-size: auto; }
  .cad-tree { border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .08); }
  .tree-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr)); column-gap: 12px; }
  .tree-group legend { grid-column: 1 / -1; }
  .tree-group .src { display: none; }
  .tree-group label { grid-template-columns: 16px 18px minmax(0, 1fr); }
  .qp, .console .xy { display: none; }
  .console { font-size: .6875rem; padding: 6px 9px; }
}

/* ---------- the Sewer+ window: the plan in model space, the profile sheet, the project palette ---------- */
.swin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); grid-template-rows: clamp(220px, 24vw, 330px) auto; border-radius: 10px; overflow: clip; background: var(--cad); color: var(--cad-text); box-shadow: 0 1px 0 rgba(33, 40, 48, .08), 0 30px 60px -30px rgba(33, 40, 48, .45); }
.sw-plan { position: relative; overflow: clip; min-block-size: 0; }
.sw-plan > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; font-family: var(--mono); --sw: 1px; stroke-width: var(--sw); }
.sw-plan .faint { opacity: .35; }
.sw-plan .l-network > use { stroke-width: 2.4px; }
.sw-plan .sel { fill: none; stroke: #FFFFFF; stroke-width: 1.6px; stroke-dasharray: 7 5; }
.sw-plan .console { position: absolute; z-index: 2; inset-block-end: 12px; inset-inline-start: 12px; }
.sw-sheet { grid-column: 1; background: #F5F7F6; border-block-start: 1px solid rgba(255, 255, 255, .12); padding: clamp(8px, 1.4vw, 18px); color: var(--ink); }
.sw-sheet img { inline-size: 100%; }
.sw-pal { grid-column: 2; grid-row: 1 / span 2; background: var(--cad-panel); border-inline-start: 1px solid rgba(255, 255, 255, .08); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: .875rem; }
.sw-tree { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sw-tree li { padding: 4px 8px; border-radius: 3px; color: var(--cad-body); }
.sw-tree .open::before, .sw-tree .shut::before { display: inline-block; inline-size: 1.1em; font-family: var(--mono); color: var(--cad-muted); }
.sw-tree .open::before { content: "▾"; }
.sw-tree .shut::before { content: "▸"; }
.sw-tree .in { padding-inline-start: 26px; }
.sw-tree .on { background: rgba(62, 123, 250, .3); color: #FFFFFF; }
.sw-menu { list-style: none; margin: -4px 0 0 26px; padding: 6px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 5px; background: #2A323D; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 2px; }
.sw-menu li { padding: 6px 10px; border-radius: 3px; color: var(--cad-text); }
.sw-menu .hit { background: #2C5FD0; color: #FFFFFF; } /* 5.7:1 with white; the grip blue is only 3.9:1 */
@media (prefers-reduced-motion: no-preference) {
  /* one moment on load: the profile is drawn onto the sheet */
  .sw-sheet img { animation: sw-draw 1.6s cubic-bezier(.3, .7, .2, 1) .5s both; }
  @keyframes sw-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (max-width: 760px) {
  .swin { grid-template-columns: 1fr; grid-template-rows: 200px auto auto; }
  .sw-pal { grid-column: 1; grid-row: 3; border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .08); }
  .sw-plan .console .xy { display: none; }
}

/* ---------- the publish act, as on the home: console, one network line, the link ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, .5fr) minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 22px; align-items: center; }
.flow .console { grid-area: 1 / 1; justify-self: start; position: relative; z-index: 1; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55); }
.link { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px; border-radius: 5px; background: #FFFFFF; color: var(--soft); border: 1px solid rgba(33, 40, 48, .14); font-family: var(--mono); font-size: .8125rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 10px 30px -14px rgba(33, 40, 48, .4); }
.link .live { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--green); flex: none; }
.flow .link { grid-area: 1 / 3; justify-self: end; position: relative; z-index: 1; }
.flow-line { grid-area: 1 / 1 / 2 / 4; position: relative; block-size: 3px; margin-inline: 24px; background: linear-gradient(90deg, var(--cad-pipe) 0 50%, var(--web-pipe) 50%); }
.flow-seam { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; inline-size: 16px; block-size: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 2px rgba(33, 40, 48, .18), 0 4px 12px rgba(33, 40, 48, .2); }
.flow-cap { grid-row: 2; display: flex; flex-direction: column; gap: 8px; }
.flow-cap-cad { grid-column: 1; }
.flow-cap-web { grid-column: 3; }
.flow-cap h3 { font-size: 1.375rem; letter-spacing: -.015em; }
@media (max-width: 760px) {
  .flow { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .flow .link { font-size: .75rem; }
  .flow-line { inline-size: 3px; block-size: 56px; margin: 0 0 0 28px; background: linear-gradient(180deg, var(--cad-pipe) 0 50%, var(--web-pipe) 50%); order: 2; }
  .flow-cap-cad { order: 1; }
  .flow .link { order: 3; }
  .flow-cap-web { order: 4; }
}

/* ---------- the rain curves of one Czech place, from the file Sewer+ ships ---------- */
.idf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.idf figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.idf svg { inline-size: 100%; block-size: auto; font-family: var(--mono); font-size: 12px; }
.idf .grid { fill: none; stroke: var(--line-3); stroke-width: 1px; }
.idf .axis { fill: none; stroke: var(--ink); stroke-width: 1.2px; }
.idf .tick { fill: var(--muted); }
.idf .curve { fill: none; stroke: var(--blue); stroke-width: 2px; stroke-linejoin: round; }
.idf .curve.hi { stroke: var(--orange); stroke-width: 2.6px; }
.idf .lab { fill: var(--ink); text-anchor: end; }
.idf figcaption { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .idf { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .idf svg { font-size: 17px; } }

.wall.wall-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.wall .src.cmd { text-transform: none; letter-spacing: .02em; }

/* ---------- shared section head ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; margin-block-end: clamp(28px, 3.4vw, 48px); }
.split-head h2 { font-stretch: 106%; font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem); line-height: 1.04; }
.split-head .text { max-inline-size: 34em; font-size: 1.0625rem; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; } }
.go { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--orange); color: var(--ink); }
.go:hover { color: var(--orange-text); }
.white { background: #FFFFFF; }

/* ---------- three small CAD crops with a sentence each ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px clamp(28px, 4vw, 56px); }
.facts li { display: flex; flex-direction: column; gap: 8px; }
.facts h3 { font-size: 1.25rem; letter-spacing: -.015em; margin-block-start: 6px; }
.facts .text { font-size: .9375rem; }
.crop { position: relative; display: block; inline-size: 100%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--cad); color: var(--cad-text); font-family: var(--mono); }
.crop > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; --sw: 1.1px; stroke-width: var(--sw); }
.crop .snap { fill: none; stroke: #7BE0A2; stroke-width: 2px; }
.crop .snap-tip { fill: #7BE0A2; font-size: 13px; }
.crop .xhair { stroke: rgba(255, 255, 255, .75); stroke-width: 1px; }
.crop .xy { position: absolute; inset-inline: 10px auto; inset-block-end: 10px; margin: 0; }
.crop .xy p + p { color: var(--cad-muted); }

/* the data table, as a CAD palette */
.table-crop { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.table-crop .bar { display: flex; justify-content: space-between; gap: 8px; font-size: .6875rem; color: var(--cad-muted); }
.table-crop table { inline-size: 100%; border-collapse: collapse; font-size: .75rem; font-variant-numeric: tabular-nums; }
.table-crop th { text-align: start; font-weight: 500; color: var(--cad-muted); padding: 6px 8px; border-block-end: 1px solid rgba(255, 255, 255, .14); }
.table-crop td { padding: 6px 8px; border-block-end: 1px solid rgba(255, 255, 255, .06); color: var(--cad-text); white-space: nowrap; }
.table-crop td.n, .table-crop th.n { text-align: end; }
.table-crop td.w { white-space: normal; }
.table-crop tr.on td { background: rgba(62, 123, 250, .28); }
.table-crop .exp { margin-block-start: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.table-crop .exp span { padding: 3px 7px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 3px; font-size: .625rem; letter-spacing: .06em; color: var(--cad-body); }
@media (max-width: 600px) { .table-crop { aspect-ratio: auto; } }

/* ---------- the catalogues ---------- */
.catalogues { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 5vw, 80px); }
.cat { display: flex; flex-direction: column; gap: 18px; padding-block-start: 22px; border-block-start: 2px solid var(--ink); }
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.cat-head h3 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.cat-head .sub { margin-block-start: 6px; color: var(--body); }
.outline { inline-size: clamp(96px, 12vw, 140px); aspect-ratio: 3 / 2; color: var(--ink); }
.outline svg { inline-size: 100%; block-size: 100%; }
.outline use { fill: rgba(230, 193, 74, .28); stroke-width: 2px; }
.stats { display: flex; gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-size: .8125rem; color: var(--muted); }
.stats dd { margin: 0; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); font-weight: 720; font-stretch: 106%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ticks { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--line-3); }
.ticks li { padding-block: 11px; border-block-end: 1px solid var(--line-3); color: var(--body); line-height: 1.5; }
.ticks b { color: var(--ink); font-weight: 600; }
.cat .links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.credit { font-size: .8125rem; color: var(--muted); }

/* the wall: one country's catalogue by folder, with the real layer names */
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 216px), 1fr)); gap: 0 clamp(20px, 2.6vw, 36px); border-block-start: 1px solid var(--line-3); }
.wall li { padding-block: 18px 20px; border-block-end: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 4px; }
.wall h3 { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.wall .src { margin: 0; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.wall .names { margin: 4px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.wall-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-block-start: 18px; align-items: baseline; }

/* ---------- closing: the download, the only dark band ---------- */
.p-close { background: var(--cad); color: #FFFFFF; padding-block: clamp(64px, 8vw, 112px); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.p-close h2 { font-size: clamp(2rem, 1rem + 3.4vw, 3.6rem); font-weight: 720; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; max-inline-size: 12em; }
.p-close .text { color: var(--cad-body); max-inline-size: 34em; }
.close-main { display: flex; flex-direction: column; gap: 22px; }
.p-close a:not(.btn) { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--cad-parcel); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.p-close a:not(.btn):hover { color: var(--cad-parcel); }

/* the download box: a static link without script; js/download.js fills in the current release */
.dl { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.dl .btn { font-size: 1.0625rem; }
.dl-ver { margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--cad-muted); }
.dl-alt { margin: 0; font-size: .875rem; color: var(--cad-body); line-height: 1.7; }
.dl-alt span { color: var(--cad-muted); }

.close-side { display: flex; flex-direction: column; gap: 28px; }
.close-side h3 { font-size: 1rem; font-weight: 600; color: var(--cad-body); margin-block-end: 10px; }
.cads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cads li { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; font-weight: 600; }
.where { list-style: none; margin: 0; padding: 0; }
.where li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding-block: 14px; border-block-start: 1px solid rgba(255, 255, 255, .12); }
.where li:last-child { border-block-end: 1px solid rgba(255, 255, 255, .12); }
.where .flag { margin-block-start: 4px; }
.flag-x { border: 1px solid rgba(255, 255, 255, .45); }
.small-dark { margin-block-start: 10px; font-size: .8125rem; color: var(--cad-muted); }
.where p { margin: 0; color: var(--cad-body); line-height: 1.55; }
.where b { color: #FFFFFF; font-weight: 650; }
@media (max-width: 900px) { .close-grid { grid-template-columns: 1fr; } }

.product .site-footer { border-block-start: 0; }
.foot-h { font-weight: 600; color: var(--ink); }
.partner-cta { margin: 16px 0 0; }

/* ---------- the country pages: the whole country, down to the parcel ---------- */
.cz-map, .si-map { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cz-map > svg, .si-map > svg { inline-size: 100%; block-size: auto; border-radius: 10px; background: var(--map); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -36px rgba(33, 40, 48, .4); }
.cz-map .r-land { color: rgba(33, 40, 48, .24); stroke-width: .9px; }
.cz-map .r-cz { color: #8A6A10; fill: rgba(230, 193, 74, .32); stroke-width: 1.4px; }
/* Slovenia is drawn at about twice Czechia's zoom, so its strokes are half as wide in sprite units */
.si-map .r-land { color: rgba(33, 40, 48, .24); stroke-width: .35px; }
.si-map .r-si { color: #8A6A10; fill: rgba(230, 193, 74, .32); stroke-width: .5px; }
.cz-map .zoom, .si-map .zoom { fill: none; stroke: rgba(33, 40, 48, .4); stroke-width: 1px; stroke-dasharray: 5 5; }
.cz-map .mark, .si-map .mark { fill: none; stroke: var(--orange); stroke-width: 2.5px; }
.cz-map .inset-bg, .si-map .inset-bg { fill: var(--cad); }
.cz-map .i-base, .si-map .i-base { color: var(--cad-line); stroke-width: .8px; }
.cz-map .i-bld, .si-map .i-bld { color: #A9B4BF; stroke-width: .8px; }
.cz-map .i-cad, .si-map .i-cad { color: var(--cad-parcel); stroke-width: .9px; font-family: var(--mono); }
.cz-map figcaption, .si-map figcaption { font-size: .8125rem; color: var(--muted); }
.cz-stats, .si-stats { margin-block-start: clamp(22px, 2.6vw, 34px); }
.ways3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
.ways3 li { display: flex; flex-direction: column; gap: 10px; padding-block-start: 20px; border-block-start: 2px solid var(--ink); }
.ways3 h3 { font-size: 1.375rem; letter-spacing: -.015em; }
.ways3 .text { flex: 1; }
.p-close .cta { padding-block-start: 28px; }
.p-close .btn-ghost { color: #FFFFFF; border-color: rgba(255, 255, 255, .4); }
.p-close .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #FFFFFF; color: #FFFFFF; }

/* ---------- the Slovenian pages: packages with their prices, contacts, the first steps ---------- */
.tiers { display: flex; flex-direction: column; gap: clamp(36px, 4.4vw, 56px); }
.tier { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 18px clamp(28px, 4vw, 64px); align-items: start; scroll-margin-block-start: 96px; }
.tier .wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tier .wall h4 { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.pkg { display: flex; flex-direction: column; gap: 4px; padding-block-start: 18px; border-block-start: 2px solid var(--ink); }
.pkg h3 { font-size: 1.375rem; letter-spacing: -.015em; }
.price { margin: 10px 0 0; font-size: clamp(2rem, 1.3rem + 1.4vw, 2.75rem); font-weight: 720; font-stretch: 106%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { margin: 0; font-size: .8125rem; color: var(--muted); }
.pkg .adds { margin-block-start: 8px; font-size: .9375rem; }
.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px clamp(28px, 4vw, 56px); }
.price-note { margin-block-start: clamp(24px, 3vw, 36px); max-inline-size: 46em; font-size: .9375rem; }
@media (max-width: 760px) { .tier { grid-template-columns: 1fr; } }
.contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; color: var(--body); }
.ways3 .contact li { display: block; padding: 0; border: 0; }
.contact b { color: var(--ink); font-weight: 600; }
.first-steps { margin: 0; padding-inline-start: 1.3em; display: flex; flex-direction: column; gap: 6px; color: var(--cad-body); line-height: 1.55; }
.close-note { margin: 0; font-size: .875rem; color: var(--cad-muted); line-height: 1.6; max-inline-size: 40em; }
[lang="sl"] a[href^="mailto:"], [lang="sl"] a[href^="tel:"] { white-space: nowrap; }
[lang="sl"] .text a:not(.go):not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
