:root{--ink:#193f33;--green:#174d3c;--muted:#59675e;--paper:#fafbf6;--line:#d8dfd4;--lime:#e6f3b5}*{box-sizing:border-box}html{scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:5px}button,input,select{font:inherit}a,button,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a35b16;outline-offset:4px}.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.header{position:sticky;top:0;z-index:5;background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{min-height:84px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;line-height:1.2}.brand-mark{font-size:38px;font-weight:400}nav{display:flex;align-items:center;gap:24px}.phone{display:inline-flex;min-height:44px;align-items:center;font-weight:600}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:50px;padding:13px 21px;border-radius:7px;background:var(--green);color:white;text-decoration:none;font-size:14px;font-weight:650;line-height:1.5}.button:hover{background:#23694f}.button span{margin-left:auto}.compact{min-height:44px;padding:10px 15px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;padding-block:64px 70px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;margin:0 0 22px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,4.8vw,62px);line-height:1.08;letter-spacing:-2.7px;font-weight:550;margin-bottom:25px}em{font-family:Georgia,serif;font-weight:400}h1 em{display:block}h2{font-size:clamp(28px,3vw,39px);line-height:1.2;letter-spacing:-1.2px;font-weight:550;margin-bottom:25px}h3{font-size:20px;line-height:1.4;font-weight:600}.lead{font-size:22px;margin-bottom:12px}.intro{font-size:17px;color:var(--muted);max-width:480px}.actions{display:flex;flex-wrap:wrap;gap:19px;align-items:center;margin-top:26px}.text-link{font-size:14px;font-weight:600;display:inline-flex;align-items:center;min-height:44px}.calculator{padding:30px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 38px #173b2d08;scroll-margin-top:16px}.calculator h2{font-size:26px;letter-spacing:-.6px}.calculator .eyebrow{margin-bottom:12px}label,legend{display:block;font-weight:600;font-size:13px;margin-bottom:7px}input[type=number],select{width:100%;min-width:0;padding:12px;border:1px solid #a5b3a9;border-radius:5px;background:white;color:var(--ink);margin-bottom:17px;min-height:48px}select{font-size:14px}fieldset{border:1px solid var(--line);margin:0 0 16px;padding:12px}.extra{display:flex;align-items:center;gap:8px;min-height:44px}.calculate{background:var(--lime);color:var(--ink);border:0;border-radius:5px;min-height:46px;width:100%;padding:10px 15px;display:flex;justify-content:space-between;font-weight:650;cursor:pointer}.calculate:hover{background:#d9eca0}.estimate{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.estimate>span{font-size:12px;color:var(--muted)}.estimate strong{display:block;font-size:29px;letter-spacing:-.7px}.estimate p,.fine{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:12px}.full{width:100%;font-size:13px;padding-inline:13px}.strip{border-block:1px solid var(--line)}.strip .container{display:flex;justify-content:space-between;gap:15px;padding-block:20px;font-size:13px;color:var(--muted)}.section{padding-block:75px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:40px}.services article{border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column}.number{font-size:12px;color:var(--muted);margin-bottom:24px}.services p{color:var(--muted);font-size:14px}.services .text-link{margin-top:auto}.scope{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:60px}.muted{color:var(--muted);font-size:13px}.process{background:#edf1e6}.steps{list-style:none;counter-reset:steps;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin:40px 0 0;padding:0}.steps li{counter-increment:steps}.steps li:before{content:"0" counter(steps);display:block;font-size:12px;margin-bottom:22px;border-bottom:1px solid #bcc9b7;padding-bottom:15px}.steps h3{font-size:17px;margin-bottom:10px}.steps p{font-size:14px;color:var(--muted)}.area{display:flex;justify-content:space-between;align-items:center;gap:30px}.area h2{font-size:46px;margin:0}.contact{background:var(--green);color:white}.contact .eyebrow{color:var(--lime)}.contact h2{font-size:clamp(32px,4vw,46px)}.contact .button{background:var(--lime);color:var(--ink)}.contact-status{font-size:12px;max-width:550px;margin:25px 0 0;color:#e2e9df}.footer{display:flex;justify-content:space-between;gap:25px;padding-block:28px;font-size:12px;color:var(--muted)}.skip{position:fixed;top:-100px;left:20px;z-index:10;padding:10px;background:white}.skip:focus{top:10px}[hidden]{display:none!important}

/* Compact landing layout and fully readable service choices. */
.hero { padding-block: 40px; gap: 48px; }
.hero-copy .intro { margin-bottom: 0; }
.hero-copy, .calculator { min-width: 0; }
.calculator h2 { margin-bottom: 20px; }
.service-options { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.service-options legend { padding: 0; margin-bottom: 8px; }
.service-option { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font-weight: 500; cursor: pointer; }
.service-option:last-child { margin-bottom: 0; }
.service-option:has(input:checked) { background: #edf3e7; border-color: var(--green); }
.service-option input { margin: 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--green); }
.service-option span { line-height: 1.4; }
.estimate { background: #f3f6ed; border: 0; border-radius: 6px; padding: 12px 14px; margin-block: 16px 10px; }
.estimate strong { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; overflow-wrap: anywhere; }
.estimate p { margin: 7px 0 0; }
.section { padding-block: 48px; }
.services { margin-top: 24px; gap: 28px; }
.services h3 { margin-bottom: 8px; }
.services p { margin-bottom: 8px; }
.number { margin-bottom: 14px; }
.scope { gap: 30px; }
.scope h2, .scope .intro { margin-bottom: 0; }
.steps { margin-top: 25px; }
.steps h3 { margin: 0; }
.contact h2 { max-width: 670px; }
.contact .actions { margin-top: 18px; }
@media (max-width: 900px) {
  .hero { gap: 26px; }
  h1 { font-size: 43px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand { min-width: 0; max-width: 142px; font-size: 12px; gap: 6px; }
  .brand span:last-child { overflow-wrap: anywhere; }
  .brand-mark { font-size: 27px; }
  nav { flex-shrink: 0; gap: 10px; }
  .phone { font-size: 12px; }
  .compact { font-size: 12px; padding: 9px 10px; gap: 6px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 24px 28px; gap: 22px; }
  h1 { font-size: clamp(31px, 8.8vw, 36px); line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 14px; }
  h2 { font-size: 26px; letter-spacing: -.7px; margin-bottom: 18px; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: 1.5px; }
  .intro { font-size: 15px; }
  .actions { gap: 6px; margin-top: 16px; }
  .hero-copy .actions { align-items: stretch; flex-direction: column; }
  .hero-copy .text-link { justify-content: center; }
  .hero .button { width: 100%; }
  .calculator { padding: 20px 16px; scroll-margin-top: 0; border-color: #b8c7b5; }
  .calculator .eyebrow { margin-bottom: 8px; }
  .calculator h2 { font-size: 24px; margin-bottom: 18px; }
  input[type=number] { font-size: 16px; margin-bottom: 14px; }
  .full { text-align: left; }
  .full span { flex-shrink: 0; }
  .section { padding-block: 30px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; }
  .services article { position: relative; padding: 16px 0 14px 32px; }
  .services article:last-child { padding-bottom: 0; }
  .number { position: absolute; left: 0; top: 19px; }
  .services h3 { font-size: 18px; margin-bottom: 5px; }
  .services p { font-size: 14px; margin-bottom: 0; }
  .services .text-link { align-self: flex-start; }
  .scope { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; }
  .steps li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid #cbd5c5; }
  .steps li:before { content: counter(steps); display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid #bac8b2; border-radius: 50%; padding: 0; margin: 0; font-size: 13px; }
  .steps h3 { font-size: 16px; line-height: 1.45; }
  .area { align-items: flex-start; flex-direction: column; gap: 12px; }
  .area h2 { font-size: 30px; }
  .area .intro { margin-bottom: 0; }
  .contact h2 { font-size: 29px; margin-bottom: 14px; }
  .contact p { font-size: 15px; }
  .contact .actions { align-items: stretch; flex-direction: column; }
  .contact .phone { align-self: flex-start; }
  .contact .contact-status { font-size: 12px; margin-top: 16px; }
  .footer { flex-direction: column; gap: 5px; padding-block: 20px; }
}

/* Calculator result: price, confirmation and contact stay together. */
.quote-result { margin-top: 12px; padding: 16px; background: #f3f6ed; border: 1px solid #cbd8c2; border-radius: 8px; }
.quote-result .estimate { margin: 0 0 10px; padding: 0; background: transparent; }
.quote-result .estimate strong { font-size: clamp(26px, 7.5vw, 34px); margin-top: 3px; }
.quote-result .fine { margin: 0 0 12px; }

/* Readable mobile type; rem sizes respect the browser's text preferences. */
@media (max-width: 680px) {
  body { font-size: 1.125rem; line-height: 1.6; overflow-wrap: anywhere; }
  .header-inner { flex-wrap: wrap; padding-block: 8px; gap: 8px 12px; }
  .brand { font-size: 1rem; max-width: none; flex: 1 1 120px; min-height: 48px; }
  nav { flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; min-width: 0; }
  .phone, .button, .compact, .full, .calculate, .text-link { font-size: 1.125rem; line-height: 1.45; min-height: 48px; }
  .button, .calculate { white-space: normal; overflow-wrap: anywhere; }
  .compact { padding: 10px 12px; }
  .intro, .services p, .contact p, .steps h3 { font-size: 1.125rem; line-height: 1.6; }
  label, legend, .service-option { font-size: 1.0625rem; line-height: 1.5; }
  input[type=number], select { font-size: 1.125rem; min-height: 52px; }
  input::placeholder { color: var(--muted); opacity: 1; }
  .service-option { min-height: 52px; }
  .service-option input { width: 20px; height: 20px; }
  .service-option span { min-width: 0; line-height: 1.5; }
  .eyebrow, .number, .muted, .footer, .estimate > span, .estimate p, .fine, .contact .contact-status { font-size: 1rem; line-height: 1.5; }
  .eyebrow { letter-spacing: .06em; }
  .quote-result .estimate strong { font-size: 2.125rem; line-height: 1.2; letter-spacing: -.02em; }
  h1 { font-size: 2.125rem; line-height: 1.15; }
  h2, .calculator h2 { font-size: 1.625rem; line-height: 1.25; }
  .services h3 { font-size: 1.25rem; }
  .area h2, .contact h2 { font-size: 1.875rem; }
  .steps li:before { font-size: 1rem; flex-basis: 2em; height: 2em; }
  .steps h3 { min-width: 0; }
  .services article { padding-left: 0; }
  .services .number { position: static; margin-bottom: 6px; }
}
/* On narrow/zoomed viewports a tall sticky header must not cover the content. */
@media (max-width: 340px) {
  .header { position: static; }
  .header-inner { align-items: flex-start; }
  nav { justify-content: flex-start; }
  .container { width: calc(100% - 24px); }
}

/* Clear, compact calculation steps; scoped to the calculator only. */
.calculator { border: 1px solid #a9bda5; border-top: 4px solid var(--green); box-shadow: none; }
.calculator #calculator-title { margin-bottom: 8px; }
.calculator-intro { font-size: 1.0625rem; line-height: 1.5; color: var(--muted); margin: 0 0 20px; }
.calculator-step { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 650; line-height: 1.4; margin: 0 0 10px; }
.calculator-step > span, .calculate-step { display: inline-grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; font-size: 1rem; }
.calculator-step > span { background: #e6eedf; }
.calculator .calculate { min-height: 56px; padding: 14px; align-items: center; justify-content: flex-start; gap: 12px; background: var(--green); color: #fff; font-size: 1.125rem; }
.calculator .calculate:hover { background: #23694f; }
.calculate-step { border: 1px solid #adc3b8; }
.calculator .calculate > span:last-child { margin-left: auto; }
.calculator .quote-result .estimate strong { font-size: 2.5rem; line-height: 1.15; }
@media (max-width: 680px) { .calculator { scroll-margin-top: 64px; } }

/* Compact result state and visible telephone. */
.quote-result .estimate .quote-summary { margin: 0 0 12px; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.change-quote { display: block; background: none; border: 0; padding: 10px 0; min-height: 48px; font: inherit; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.quote-result:focus { outline: none; }
@media (max-width: 680px) {
  .header-inner { gap: 0; }
  .header .brand { flex-basis: 100%; min-height: 36px; }
  .header nav { flex-basis: 100%; justify-content: space-between; }
  .header .phone { white-space: nowrap; font-variant-numeric: tabular-nums; }
  .calculator .quote-result { padding: 12px; }
  .calculator .quote-result .estimate strong { font-size: 2.25rem; }
}

/* Stable form and result geometry: no scroll/keyboard-driven layout changes. */
.area-input { display: flex; align-items: stretch; gap: 8px; margin-bottom: 14px; }
.area-input #area { flex: 1; width: 0; min-width: 0; margin: 0; }
#clear-area { flex: 0 0 48px; min-height: 52px; border: 1px solid #a5b3a9; border-radius: 5px; background: white; color: var(--ink); font-size: 1.25rem; cursor: pointer; }
.calculator .quote-result .estimate strong { min-height: 2.3em; }
.calculator .quote-result .estimate { position: relative; }
.calculator #estimate-note { position: absolute; bottom: 0; margin: 0; font-size: 1rem; line-height: 1.5; }
#quote-link[aria-disabled="true"] { opacity: .65; cursor: default; }

/* Native modal: focus containment and Escape are provided by dialog. */
.quote-dialog { position: fixed; inset: 0; box-sizing: border-box; width: min(440px, calc(100% - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid #a9bda5; border-radius: 12px; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.quote-dialog::backdrop { background: rgb(10 31 24 / 65%); }
.quote-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.calculator .quote-dialog h2 { flex: 1 1 150px; margin: 0; font-size: 1.375rem; line-height: 1.25; }
#close-quote { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 8px; border: 1px solid #a5b3a9; border-radius: 6px; font-size: 1rem; font-weight: 600; color: var(--green); background: white; cursor: pointer; }
.quote-dialog-content { padding: 16px; }
#quote-service { margin: 0 0 6px; font-size: 1.125rem; line-height: 1.4; font-weight: 650; }
#quote-area { margin: 0 0 16px; font-size: 1.0625rem; }
.quote-dialog .estimate { margin: 0 0 12px; padding: 14px; }
.quote-dialog .estimate > span { font-size: 1rem; }
.quote-dialog .estimate strong { font-size: 2.625rem; line-height: 1.12; margin-top: 6px; overflow-wrap: anywhere; }
.quote-dialog .fine { font-size: 1rem; line-height: 1.5; }
.quote-dialog .button { font-size: 1.125rem; min-height: 52px; }
#edit-quote { display: block; margin: 10px auto 0; min-height: 48px; padding: 8px 14px; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 4px; font: inherit; cursor: pointer; }

/* Explicit call and WhatsApp actions with a visible telephone number. */
.header .call-button { color: var(--green); background: transparent; border: 1px solid var(--green); }
.header .call-button:hover { background: #e6eedf; }
@media (max-width: 680px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .header .brand { font-size: 1rem; min-height: 44px; }
  .header .header-number { font-size: 1.0625rem; min-height: 44px; }
  .header nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .header nav .button { min-height: 48px; }
}
@media (max-width: 300px) {
  .header-inner { grid-template-columns: minmax(0, 1fr); }
  .header nav { grid-template-columns: minmax(0, 1fr); }
}

/* Service first, then a compact input/action pair; no viewport scroll handlers. */
.calculator .service-options { margin-bottom: 18px; }
.calculator .service-option { min-height: 52px; border-radius: 7px; }
.calculator .service-option:has(input:checked) { background: #e6eedf; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.area-and-submit { min-width: 0; }
.area-and-submit .area-input { margin-bottom: 8px; }
.area-and-submit #area { scroll-margin-block: 12px 80px; }
.area-and-submit .calculate { min-height: 56px; }

.extra-picker { border-block: 1px solid var(--line); margin: 0 0 18px; padding: 8px 0; }
.extra-picker summary { padding: 12px 0; font-size: 1.0625rem; font-weight: 650; cursor: pointer; min-height: 48px; }
.extra-row { border-top: 1px solid var(--line); padding: 10px 0; }
.extra-picker .extra { gap: 12px; min-height: 48px; margin: 0; font-size: 1rem; line-height: 1.4; }
.extra input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); }
.extra strong { display: block; color: var(--muted); font-size: 1rem; font-weight: 500; }
.extra-quantity { margin: 10px 0 0 32px; font-size: 1rem; }
.extra-quantity input { margin: 6px 0 0; }
.extra-picker .fine { font-size: 1rem; margin-top: 12px; }
.extra-price-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; }
.extra-price-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extra-price-list strong { white-space: nowrap; }
.quote-extras { padding-left: 20px; font-size: 1rem; line-height: 1.5; }
.quote-extras:empty { display: none; }
#quote-base, #quote-extras-total { font-size: 1rem; line-height: 1.5; margin-bottom: 12px; }
@media (max-width:680px) { .extra-price-list { grid-template-columns: minmax(0,1fr); } }

/* Scope lists belong exclusively to section 01 / USŁUGI. */
#uslugi .services article { padding-block: 18px; }
#uslugi .scope-label { margin: 6px 0 10px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
#uslugi .service-scope { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 1.125rem; line-height: 1.5; }
#uslugi .service-scope li { display: flex; align-items: baseline; gap: 10px; }
#uslugi .scope-check { flex: 0 0 16px; color: var(--green); font-size: 1rem; font-weight: 700; }
#uslugi .services-note { margin: 10px 0 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
#uslugi .services h3 { margin-bottom: 8px; }

/* Native disclosures limited to section 01 / USŁUGI. */
#uslugi .service-intro { font-size: 1.125rem; line-height: 1.5; margin: 0 0 6px; }
#uslugi .service-details summary { display: flex; align-items: center; min-height: 48px; padding: 10px 0; color: var(--green); font-size: 1.0625rem; font-weight: 600; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
#uslugi .service-details summary::-webkit-details-marker { display: none; }
#uslugi .service-details summary:focus-visible { outline: 3px solid #a35b16; outline-offset: 3px; border-radius: 3px; }
#uslugi .scope-close-label { display: none; }
#uslugi .service-details[open] .scope-open-label { display: none; }
#uslugi .service-details[open] .scope-close-label { display: inline; }
#uslugi .service-details .service-scope { padding-top: 8px; }

/* Optional local photos reserve their space before loading; no remote requests. */
.site-photo { margin: 0; min-width: 0; border-radius: 12px; background: #edf1e6; border: 1px solid var(--line); }
.site-photo img { display: block; width: 100%; height: auto; border-radius: 11px; }
.hero-photo { margin-top: 16px; width: min(100%, 400px); }
.photo-gallery .site-photo { width: 100%; max-width: 380px; }
.photo-placeholder { height: 100%; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: var(--green); }
.photo-placeholder span { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.photo-placeholder small { color: var(--muted); font-size: 1rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); align-items: start; gap: 16px; }
@media (max-width: 680px) {
  .hero-photo { margin-top: 12px; width: min(100%, 320px); }
  .photo-gallery { grid-template-columns: minmax(0, 320px); gap: 12px; }
  .photo-gallery .site-photo { max-width: 320px; }
}
/* Textual estimate must fit without breaking a word into isolated letters. */
.calculator .quote-dialog #estimate.individual-estimate { font-size: 1.75rem; line-height: 1.25; overflow-wrap: normal; }

/* Larger calculator type; preserve existing line boxes and control spacing. */
.calculator .calculator-intro { font-size: 1.115625rem; line-height: 1.59375rem; }
.calculator .service-options legend, .calculator .area-and-submit > label { font-size: .934375rem; line-height: 1.3rem; }
.calculator .service-option { font-size: .934375rem; line-height: 1.3rem; }
.calculator .service-option span { line-height: 1.1375rem; }
.calculator .extra-picker summary { font-size: 1.221875rem; line-height: 1.7rem; }
.calculator .extra-picker .extra, .calculator .extra strong { font-size: 1.05rem; line-height: 1.4rem; }
.calculator .extra-quantity { font-size: 1.05rem; line-height: 1.6rem; }
.calculator .extra-picker .fine, .calculator .quote-dialog .fine, .calculator .quote-extras,
.calculator #quote-base, .calculator #quote-extras-total { font-size: 1.05rem; line-height: 1.5rem; }
.calculator input[type=number] { font-size: 1.15rem; line-height: 1.6rem; }
.calculator #clear-area { font-size: 1.4375rem; line-height: 2rem; }
.calculator .calculate { font-size: 1.29375rem; line-height: 1.8rem; }
.calculator #quote-service { font-size: 1.18125rem; line-height: 1.575rem; }
.calculator #quote-area { font-size: 1.221875rem; line-height: 1.7rem; }
.calculator .quote-dialog .estimate > span { font-size: 1.15rem; line-height: 1.6rem; }
.calculator .quote-dialog #estimate { font-size: 2.75625rem; line-height: 2.94rem; }
.calculator #quote-link { font-size: 1.29375rem; line-height: 1.6875rem; }
.calculator #close-quote { font-size: 1.05rem; line-height: 1.6rem; }
.calculator #edit-quote { font-size: 1.15rem; line-height: 1.6rem; }
@media (max-width: 680px) {
  .calculator .service-options legend, .calculator .area-and-submit > label { font-size: 1.221875rem; line-height: 1.59375rem; }
  .calculator .service-option { font-size: 1.115625rem; line-height: 1.59375rem; }
  .calculator .service-option span { line-height: 1.59375rem; }
  .calculator .extra-quantity { line-height: 1.5rem; }
  .calculator input[type=number] { font-size: 1.29375rem; line-height: 1.8rem; }
  .calculator .calculate, .calculator #quote-link { line-height: 1.63125rem; }
  .calculator .quote-dialog .estimate > span { line-height: 1.5rem; }
  .calculator #edit-quote { font-size: 1.29375rem; line-height: 1.8rem; }
}
/* Compact mobile calculator: vertical spacing only, with 48px touch targets. */
@media (max-width: 680px) {
  .calculator { padding-block: 8px; }
  .calculator #calculator-title { margin-bottom: 3.2px; }
  .calculator .calculator-intro { margin-bottom: 8px; }
  .calculator .service-options { margin-bottom: 7.2px; }
  .calculator .service-options legend { margin-bottom: 3.2px; }
  .calculator .service-option { padding-block: 4px; min-height: 48px; margin-bottom: 2.8px; }
  .calculator .service-option:last-child { margin-bottom: 0; }
  .calculator .extra-picker { margin-bottom: 7.2px; padding-block: 3.2px; }
  .calculator .extra-picker summary { padding-block: 4.8px; min-height: 48px; }
  .calculator .extra-row { padding-block: 4px; }
  .calculator .extra-quantity { margin-top: 4px; }
  .calculator .extra-quantity input { margin-top: 2.4px; }
  .calculator .extra-picker .fine { margin-top: 4.8px; margin-bottom: 4.8px; }
  .calculator .area-and-submit > label { margin-bottom: 2.8px; }
  .calculator input[type=number] { padding-block: 4.8px; min-height: 48px; }
  .calculator #clear-area { min-height: 48px; }
  .calculator .area-and-submit .area-input { margin-bottom: 3.2px; }
  .calculator .calculate { padding-block: 5.6px; min-height: 48px; }
  .calculator .quote-dialog-header { padding-block: 5.6px; row-gap: 3.2px; }
  .calculator .quote-dialog-content { padding-block: 6.4px; }
  .calculator #quote-service { margin-bottom: 2.4px; }
  .calculator #quote-area { margin-bottom: 6.4px; }
  .calculator #quote-base, .calculator #quote-extras-total, .calculator .quote-dialog .fine { margin-bottom: 4.8px; }
  .calculator .quote-extras { margin-block: 6.4px; }
  .calculator .quote-dialog .estimate { padding-block: 5.6px; margin-bottom: 4.8px; }
  .calculator .quote-dialog #estimate { margin-top: 2.4px; }
  .calculator #quote-link { padding-block: 5.2px; min-height: 48px; }
  .calculator #edit-quote { margin-top: 4px; padding-block: 3.2px; }
}
/* Compact lower sections only; typography, widths and calculator are unchanged. */
#uslugi, #dodatki, .process > .section, main > .area, #kontakt > .section { padding-block: 24px; }
#uslugi .eyebrow, .process .eyebrow, main > .area .eyebrow { margin-bottom: 11px; }
#uslugi h2, #dodatki h2, .process h2, #kontakt h2 { margin-bottom: 12.5px; }
#uslugi .services { margin-top: 12px; row-gap: 14px; }
#uslugi .services article { padding-block: 9px; }
#uslugi .number { margin-bottom: 7px; }
#uslugi .services h3 { margin-bottom: 4px; }
#uslugi .service-intro { margin-bottom: 3px; }
#uslugi .service-details summary { padding-block: 5px; }
#uslugi .service-details .service-scope { padding-top: 4px; row-gap: 4.5px; }
#uslugi .services-note { margin: 10px 0 0; padding: 0; }
main > .photo-gallery { row-gap: 10px; }
#dodatki > p { margin-bottom: .5em; }
#dodatki .extra-price-list { margin-block: .5em; }
#dodatki .extra-price-list li { padding-block: 7px; row-gap: 3px; }
.process .steps { margin-top: 12.5px; row-gap: 14px; }
.process .steps li::before { margin-bottom: 11px; padding-bottom: 7.5px; }
main > .area { row-gap: 15px; }
main > .area .intro { margin-bottom: 0; }
#kontakt p { margin-bottom: .5em; }
#kontakt .actions { margin-top: 9px; row-gap: 9.5px; }
body > .footer { padding-block: 14px; row-gap: 12.5px; }
@media (max-width: 680px) {
  #uslugi, #dodatki, .process > .section, main > .area, #kontakt > .section { padding-block: 15px; }
  #uslugi .eyebrow, .process .eyebrow, main > .area .eyebrow { margin-bottom: 6px; }
  #uslugi h2, #dodatki h2, .process h2 { margin-bottom: 9px; }
  #uslugi .services { margin-top: 10px; row-gap: 0; }
  #uslugi .number { margin-bottom: 3px; }
  main > .photo-gallery { row-gap: 7px; }
  .process .steps { margin-top: 10px; row-gap: 0; }
  .process .steps li { padding-block: 6.5px; }
  .process .steps li::before { margin-bottom: 0; padding-bottom: 0; }
  main > .area { row-gap: 6px; }
  #kontakt h2 { margin-bottom: 7px; }
  #kontakt .actions { row-gap: 3px; }
  body > .footer { padding-block: 10px; row-gap: 2.5px; }
}
/* Even outer spacing; keep calculator sizing and internal spacing intact. */
.hero { align-items: start; padding-block: 24px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .actions { margin-top: 16px; row-gap: 8px; }
@media (max-width: 680px) {
  .hero { padding-block: 16px; row-gap: 16px; }
  .hero-copy h1 { margin-bottom: 12px; }
  main > .photo-gallery { row-gap: 12px; }
}

/* Independent office enquiry; residential calculator stays unchanged. */
.office-service { display: flex; align-items: center; gap: 16px; margin-block: 10px 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #edf3e7; }
.office-service > div { flex: 1; min-width: 0; }
.office-service h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.4px; margin-bottom: 8px; }
.office-service p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.5; }
.office-service .button { flex-shrink: 0; min-height: 48px; font-size: 1.125rem; padding: 10px 16px; text-align: center; }
@media (max-width: 680px) {
  .office-service { flex-direction: column; align-items: stretch; padding: 12px; gap: 12px; }
  .office-service h2 { font-size: 1.375rem; }
}
/* Unified compact layout: outer section gaps total 20px, readable type stays large. */
.header-inner { min-height: 64px; gap: 12px; }
.header nav { gap: 12px; }
.header .button { min-height: 48px; padding-block: 8px; }
.hero { column-gap: 24px; padding-block: 16px 0; }
.hero-copy .eyebrow { margin-bottom: 8px; }
.hero-copy h1 { font-size: clamp(36px, 3.25vw, 46px); line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 12px; }
.hero-copy .actions { margin-top: 12px; gap: 8px 12px; }
.hero-photo { margin-top: 12px; }
#uslugi, #dodatki, .process > .section, main > .area, #kontakt > .section { padding-block: 10px; }
#uslugi { padding-top: 20px; padding-bottom: 0; }
#uslugi .eyebrow, .process .eyebrow, main > .area .eyebrow { margin-bottom: 6px; }
#uslugi h2, #dodatki h2, .process h2, #kontakt h2 { margin-bottom: 8px; }
#uslugi .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; align-items: start; align-content: start; min-height: 0; }
#uslugi .services article { min-width: 0; min-height: 0; height: auto; padding: 8px 0 0; }
#uslugi .number { margin-bottom: 4px; }
#uslugi .service-details summary { padding-block: 4px; }
#uslugi .service-enquiry { display: flex; align-items: center; min-height: 48px; padding-block: 4px; color: var(--green); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
#uslugi .services-note { margin: 10px 0 0; padding: 0; }
main > .photo-gallery { margin-block: 10px; gap: 12px; }
#dodatki .extra-price-list { column-gap: 20px; margin-block: 8px; }
#dodatki .extra-price-list li { padding-block: 6px; }
.process .steps { gap: 12px; margin-top: 8px; }
.process .steps li::before { margin-bottom: 6px; padding-bottom: 6px; }
main > .area { gap: 12px; }
#kontakt .actions { margin-top: 8px; gap: 8px 12px; }
body > .footer { padding-block: 10px; }
@media (min-width: 681px) {
  .calculator { padding: 16px 18px; }
  .calculator .calculator-intro { margin-bottom: 10px; }
  .calculator .service-options { margin-bottom: 8px; }
  .calculator .service-options legend { margin-bottom: 4px; }
  .calculator .service-option { min-height: 48px; padding: 6px 10px; margin-bottom: 4px; }
  .calculator .service-option:last-child { margin-bottom: 0; }
  .calculator .extra-picker { padding-block: 0; margin-bottom: 8px; }
  .calculator .extra-picker summary { padding-block: 8px; }
  .calculator .extra-row { padding-block: 6px; }
  .calculator .extra-picker .fine { margin-block: 8px; }
  .calculator .area-and-submit > label { margin-bottom: 4px; }
  .calculator .area-input { margin-bottom: 6px; }
  .calculator #area { padding-block: 8px; min-height: 48px; }
  .calculator #clear-area { min-height: 48px; }
  .calculator .calculate { min-height: 48px; padding: 8px 12px; }
}
@media (min-width: 681px) and (max-width: 1000px) {
  #uslugi .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Independent content flow: disclosures follow their own text, never a shared row. */
#uslugi .services article { display: block; height: auto; min-height: 0; }
#uslugi .service-intro { margin-bottom: 0; }
#uslugi .service-details { margin-top: 6px; }
#uslugi .service-details summary { display: block; min-height: 0; padding: 0 0 8px; line-height: 1.5; }
#uslugi .services .text-link, #uslugi .service-enquiry { margin-top: 0; }
#uslugi .renovation-estimate { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.5; }
@media (max-width: 680px) {
  .header-inner { padding-block: 4px; gap: 4px 8px; }
  .header .brand, .header .header-number { min-height: 40px; }
  .header nav { gap: 8px; }
  .hero { padding-top: 12px; row-gap: 16px; }
  .hero-copy h1 { font-size: 2.125rem; line-height: 1.15; }
  #uslugi .services { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #uslugi .services article { padding-block: 8px 0; }
  .process .steps { gap: 0; }
  .process .steps li::before { margin-bottom: 0; padding-bottom: 0; }
  main > .area { gap: 8px; }
}

/* Privacy policy: isolated styles, without changing the landing page layout. */
.policy-header-inner { min-height: 64px; }
.policy-header-inner nav { margin-left: auto; }
.policy-page { max-width: 900px; padding-block: 38px; }
.policy-title { margin-bottom: 24px; }
.policy-title h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 14px; }
.policy-draft { margin-bottom: 24px; padding: 18px 20px; border: 1px solid #c08a42; border-radius: 10px; background: #fff8e7; }
.policy-draft h2 { margin-bottom: 6px; font-size: 1.25rem; letter-spacing: 0; }
.policy-draft p { margin: 0; }
.policy-content { display: grid; gap: 12px; }
.policy-content section { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.policy-content h2 { margin-bottom: 10px; font-size: 1.5rem; letter-spacing: -.3px; }
.policy-content p { margin-bottom: 10px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { margin: 0 0 10px; padding-left: 1.4em; }
.policy-content li + li { margin-top: 7px; }
.policy-todo { padding: 12px 14px; border-left: 4px solid #b27524; background: #fff8e7; color: #49381f; }
.policy-footer { flex-wrap: wrap; }
@media (max-width: 680px) {
  .policy-header-inner { display: flex; flex-wrap: wrap; padding-block: 6px; }
  .policy-header-inner .brand { min-width: 0; }
  .policy-header-inner nav { width: 100%; margin-left: 0; }
  .policy-header-inner .text-link { width: 100%; }
  .policy-page { width: calc(100% - 32px); padding-block: 22px; }
  .policy-title { margin-bottom: 16px; }
  .policy-title h1 { font-size: 2.25rem; overflow-wrap: anywhere; }
  .policy-draft, .policy-content section { padding: 15px; }
  .policy-content h2 { font-size: 1.375rem; }
  .policy-content p, .policy-content li, .policy-draft p { font-size: 1.0625rem; line-height: 1.55; }
  .policy-footer { align-items: flex-start; }
}
