/* P02: tylko strona kontaktu. Spójne z zaakceptowaną główną. */
.contact-page { --contact-field-width: calc((100% - 18px)/2); padding-bottom: 88px; }
.contact-page [hidden] { display: none !important; }
.contact-breadcrumb { padding-top: 30px; padding-bottom: 30px; }
.contact-breadcrumb .breadcrumb { margin: 0; font-size: 14px; }
.contact-shell { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,6vw,100px); align-items: start; }
.contact-intro { padding-top: 12px; }
.contact-intro h1 { font-size: clamp(40px,4vw,58px); line-height: 1.14; letter-spacing: -.018em; font-weight: 500; }
.contact-lead { margin-top: 22px; max-width: 450px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.contact-direct { padding-block: 30px; }
.contact-direct>p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.contact-phone { display: flex; align-items: center; gap: 14px; width: fit-content; min-height: 48px; font-size: clamp(27px,2.7vw,36px); font-weight: 550; letter-spacing: -.015em; }
.contact-phone>.icon:first-child { width: 23px; height: 23px; }
.contact-phone>.icon:last-child { margin-left: 6px; color: #a64b0d; }
.contact-mail { display: flex; align-items: center; gap: 20px; width: fit-content; min-height: 44px; margin-top: 3px; font-size: 16px; }
.contact-mail .icon { width: 17px; height: 17px; }
.contact-photo { position: relative; }
.contact-photo img { width: 100%; aspect-ratio: 1.48; object-fit: cover; border-radius: 3px; }
.contact-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 15px 20px; font-size: 16px; line-height: 1.6; border-radius: 3px; }
.contact-photo figcaption strong { font-weight: 600; }
.contact-showroom { margin-top: 20px; padding-block: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.contact-showroom small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.contact-showroom strong { font-size: 17px; font-weight: 600; }
.contact-showroom>.icon { color: #a64b0d; }
.contact-page .contact-form { padding: 36px; display: block; border-color: #dedbd6; background: #fff; box-shadow: 0 8px 30px #252c3204; }
.contact-form-intro { padding-bottom: 28px; }
.contact-form-intro .eyebrow { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.contact-form-intro h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.018em; }
.contact-form-intro>p:last-child { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 410px; }
.contact-page .field { font-size: 14px; font-weight: 600; gap: 8px; }
.contact-page .field small { font-size: 14px; color: #65717a; font-weight: 400; margin-left: 5px; white-space: nowrap; }
.contact-page .field input,.contact-page .field textarea,.contact-select select { min-height: 50px; padding: 12px 14px; border: 1px solid #d5d0c9; background: #fcfbfa; border-radius: 3px; font-size: 16px; line-height: 1.5; font-weight: 400; width: 100%; color: var(--ink); transition: border-color .15s,box-shadow .15s; }
.contact-page input::placeholder,.contact-page textarea::placeholder { color: #65717a; opacity: 1; }
.contact-select { position: relative; display: block; margin-top: 8px; }
.field .contact-select { margin-top: 0; }
.contact-select select { appearance: none; padding-right: 40px; cursor: pointer; }
.contact-select>.icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.contact-page .topic-hint { margin-top: 10px; padding: 0; border: 0; background: none; font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-topic-fields { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.contact-page .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; }
.contact-topic-fields .field:only-child { grid-column: 1/-1; }
.contact-upgrades { grid-column: 1/-1; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-upgrades legend { padding: 0; font-size: 14px; font-weight: 600; }
.contact-upgrades legend>span { font-weight: 400; color: #65717a; margin-left: 5px; }
.contact-upgrades>p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 14px; }
.contact-upgrade-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.contact-upgrade-options label { display: flex; gap: 10px; align-items: center; min-height: 50px; padding: 10px 12px; border: 1px solid #d5d0c9; background: #fcfbfa; border-radius: 3px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.contact-upgrade-options input { width: 17px; height: 17px; flex: none; margin: 0; accent-color: #a64b0d; }
.contact-upgrade-options label:hover { border-color: #a64b0d; }
.contact-upgrade-options label:has(input:checked) { background: #f3f0ec; border-color: #a64b0d; }
.contact-topic-fields[data-topic-fields="rozbudowa"] .field:last-child { grid-column: 1/-1; }
@media(max-width:600px) { .contact-upgrade-options { grid-template-columns: 1fr; } }
.contact-product-picker { grid-column: 1/-1; min-width: 0; }
.contact-product-search { position: relative; }
.contact-product-search>.icon { position: absolute; left: 14px; top: 17px; width: 18px; height: 18px; pointer-events: none; color: #65717a; }
.contact-page .contact-product-search input { padding-left: 42px; padding-right: 46px; }
.contact-product-search>button { position: absolute; right: 2px; top: 2px; width: 44px; height: 46px; display: grid; place-items: center; border-radius: 2px; color: var(--muted); }
.contact-product-search>button .icon { width: 16px; height: 16px; }
.contact-product-search>button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.contact-product-hint { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--muted); }
.contact-product-results { border: 1px solid #d5d0c9; border-radius: 3px; background: #fff; box-shadow: 0 6px 18px #252c3208; overflow: hidden; }
.contact-product-results ul { list-style: none; padding: 4px; margin: 0; max-height: 300px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.contact-product-results li { display: flex; align-items: center; gap: 12px; padding: 10px; min-height: 78px; cursor: pointer; border-radius: 2px; font-weight: 400; }
.contact-product-results li+li { border-top: 1px solid #eeeae4; }
.contact-product-results li.is-active,.contact-product-results li[aria-selected="true"] { background: #f3f0ec; box-shadow: inset 3px 0 #9b470c; }
.contact-product-results img,.contact-product-change img { display: block; width: 58px; height: 58px; flex: none; object-fit: contain; padding: 4px; border-radius: 2px; background: #f6f4f0; }
.contact-product-results li>span,.contact-product-change>span { display: block; min-width: 0; flex: 1; }
.contact-product-results strong,.contact-product-change strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; text-wrap: balance; }
.contact-product-results li>span>span,.contact-product-change>span>span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-product-results li>.icon { width: 16px; height: 16px; flex: none; color: #65717a; }
.contact-product-empty { padding: 16px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; font-weight: 400; }
.contact-product-selected { display: flex; align-items: center; gap: 4px; border: 1px solid #d5d0c9; background: #f9f8f6; border-radius: 3px; padding: 4px; }
.contact-product-change { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 10px; text-align: left; border-radius: 2px; }
.contact-product-change img { width: 64px; height: 64px; }
.contact-page .contact-product-change small { display: block; font-size: 14px; color: #9b470c; font-weight: 600; margin: 5px 0 0; }
.contact-product-clear { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 2px; }
.contact-product-clear .icon { width: 18px; height: 18px; }
@media(hover:hover) and (pointer:fine) {
 .contact-product-results li:hover,.contact-product-change:hover,.contact-product-clear:hover,.contact-product-search>button:hover { background: #f1eee9; }
 .contact-product-change:hover small { text-decoration: underline; text-underline-offset: 3px; }
}
@media(max-width:760px) {
 .contact-product-results ul { max-height: 250px; }
 .contact-product-results li { padding: 9px 7px; gap: 10px; }
 .contact-product-results img { width: 48px; height: 48px; }
 .contact-product-results li>.icon { display: none; }
 .contact-product-change { padding: 8px; gap: 10px; }
 .contact-product-change img { width: 48px; height: 48px; }
 .contact-product-change>span>span { display: none; }
}
.contact-project-details>summary { display: none; }
.contact-message { margin-top: 22px; }
.contact-page .field textarea { min-height: 125px; resize: vertical; }
.contact-attachments { margin-top: 20px; }
.upload-zone { border: 1px dashed #b5bcc2; border-radius: 3px; background: #f8f6f3; transition: border-color .15s,background .15s; }
.upload-pick { display: flex; width: 100%; padding: 18px; gap: 14px; align-items: center; text-align: left; }
.upload-pick strong { display: block; font-size: 15px; font-weight: 600; }
.upload-pick small { display: block; font-size: 14px; line-height: 1.5; margin-top: 4px; color: var(--muted); }
.upload-symbol { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #d5d0ca; border-radius: 3px; background: white; }
.upload-symbol .icon { width: 18px; height: 18px; }
.upload-zone.is-dragover { background: #fff3e7; border-color: #a64b0d; }
.upload-limits { margin-top: 8px; font-size: 14px; color: var(--muted); }
.upload-list { list-style: none; padding: 0; margin: 0; }
.upload-list li { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.upload-preview { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: #f3f0eb; border-radius: 2px; font-size: 10px; font-weight: 650; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-file-copy { flex: 1; min-width: 0; }
.upload-file-copy strong { font-size: 14px; font-weight: 500; display: block; overflow-wrap: anywhere; }
.upload-file-copy small { font-size: 12px; color: var(--muted); }
.upload-remove { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 3px; }
.upload-remove .icon { width: 18px; height: 18px; }
.upload-status { font-size: 14px; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.upload-status:empty,.contact-page .form-status:empty { display: none; }
.upload-status.has-error { color: #a13b23; }
.contact-reply { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-step-title>span { font-size: 17px; font-weight: 600; }
.contact-step-title>p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.contact-channels { border: 0; margin: 16px 0 22px; padding: 0; display: flex; gap: 8px; }
.contact-channels label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; gap: 9px; cursor: pointer; border: 1px solid #d5d0c9; border-radius: 3px; font-size: 14px; font-weight: 550; white-space: nowrap; }
.contact-channels input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contact-channels label:has(:checked) { background: #f1eee9; border-color: #717b84; }
.contact-channels label:has(:focus-visible) { outline: 2px solid #a64b0d; outline-offset: 3px; }
.contact-channels .icon { width: 17px; height: 17px; }
.contact-page .privacy { margin-top: 20px; font-size: 14px; }
.contact-submit { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.contact-submit>span { font-size: 14px; color: var(--muted); }
.contact-submit .button { flex: none; font-size: 15px; gap: 16px; }
.contact-page .form-status { font-size: 14px; padding: 14px; background: #f3f0eb; margin-top: 18px; border-radius: 3px; }
.contact-extra { border: 0; margin-top: 10px; }
.contact-extra>summary { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 8px; font-size: 14px; color: var(--muted); cursor: pointer; list-style: none; }
.contact-extra>summary::-webkit-details-marker { display: none; }
.contact-extra>summary>.icon { width: 16px; height: 16px; }
.contact-extra[open]>summary>.icon { transform: rotate(45deg); }
#secondary-reply-slot { width: var(--contact-field-width); max-width: 100%; margin-top: 10px; }
#required-phone-slot { width: var(--contact-field-width); max-width: 100%; margin-top: 20px; }
.contact-extra>p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.contact-faq { margin-top: 72px; padding-top: 56px; display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 64px; position: relative; }
.contact-faq:before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.contact-faq h2 { font-size: clamp(30px,3vw,40px); line-height: 1.2; letter-spacing: -.018em; }
.contact-faq>div>p:last-child { margin-top: 18px; max-width: 310px; font-size: 16px; color: var(--muted); }
.contact-faq-list details { padding: 0; border-bottom: 1px solid var(--line); }
.contact-faq-list details:first-child { border-top: 1px solid var(--line); }
.contact-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 550; line-height: 1.5; }
.contact-faq-list summary::-webkit-details-marker { display: none; }
.contact-faq-list summary .icon { width: 19px; height: 19px; flex: none; color: #a64b0d; }
.contact-faq-list details[open] summary .icon { transform: rotate(45deg); }
.contact-faq-list details>div { padding: 0 36px 22px 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.contact-faq-list .textlink { color: var(--ink); font-size: 15px; margin-top: 8px; }
.contact-faq-list summary:hover,.contact-extra>summary:hover { color: #9b470c; }
@media(max-width:960px) {
 .contact-faq { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; padding-top: 36px; }
 .contact-faq h2 { font-size: 30px; }
 .contact-faq .eyebrow { margin-bottom: 12px; }
 .contact-faq>div>p:last-child { margin-top: 12px; }
 .contact-faq-list summary { font-size: 16px; padding-block: 20px; gap: 16px; }
 .contact-faq-list details>div { font-size: 15px; padding-right: 0; }
}
.contact-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.contact-page .field input:focus-visible,.contact-page .field textarea:focus-visible,.contact-select select:focus-visible { outline: 2px solid #a64b0d; outline-offset: 2px; border-color: #a64b0d; }
@media(hover:hover) and (pointer:fine) {
 .contact-phone:hover,.contact-mail:hover { color: #9b470c; }
 .contact-phone:hover span,.contact-mail:hover,.contact-showroom:hover strong { text-decoration: underline; text-underline-offset: 5px; }
 .upload-zone:hover { border-color: #85909a; background: #f3f0ec; }
 .upload-remove:hover { background: #f3f0eb; }
 .contact-channels label:hover { border-color: #717b84; }
 .contact-project-details>summary:hover { color: #9b470c; }
}
@media(max-width:1100px) {
 .contact-page { --contact-field-width: 100%; }
 .contact-shell { gap: 32px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
 .contact-intro h1 { font-size: 42px; }
 .contact-page .contact-form { padding: 26px; }
 .contact-page .field-grid { grid-template-columns: 1fr; }
 .contact-submit { align-items: start; flex-direction: column; gap: 12px; }
 .contact-photo figcaption { font-size: 14px; padding: 12px; left: 12px; bottom: 12px; }
}
@media(max-width:960px) {
 .contact-page { --contact-field-width: calc((100% - 18px)/2); }
 .contact-shell { grid-template-columns: 1fr; }
 .contact-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 32px; }
 .contact-intro>.eyebrow,.contact-intro h1,.contact-lead { grid-column: 1; }
 .contact-direct { grid-column: 2; grid-row: 1/4; align-self: center; padding-block: 0; }
 .contact-photo,.contact-showroom { display: none; }
 .contact-page .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .contact-submit { align-items: center; flex-direction: row; gap: 18px; }
}
@media(max-width:760px) {
 .contact-page { --contact-field-width: 100%; padding-bottom: 48px; }
 .contact-breadcrumb { padding-top: 16px; padding-bottom: 16px; }
 .contact-shell { gap: 24px; }
 .contact-intro { display: block; padding: 0; }
 .contact-intro h1 { font-size: clamp(34px,7vw,44px); line-height: 1.14; }
 .contact-intro .eyebrow { margin-bottom: 10px; }
 .contact-lead { font-size: 17px; margin-top: 12px; }
 .contact-direct { padding-block: 16px 0; }
 .contact-direct>p { display: none; }
 .contact-phone { font-size: 29px; }
 .contact-page .contact-form { padding: 24px 20px; }
 .contact-page .field-grid { grid-template-columns: 1fr; }
 .contact-form-intro { padding-bottom: 16px; }
 .contact-form-intro h2 { font-size: 25px; }
 .contact-form-intro .eyebrow,.contact-form-intro>p:last-child { display: none; }
 .contact-topic-fields:has(.contact-project-details) { margin-top: 12px; }
 .contact-project-details>summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-block: 8px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; }
 .contact-project-details>summary::-webkit-details-marker { display: none; }
 .contact-project-details>summary small { margin-left: 5px; font-size: 14px; font-weight: 400; color: var(--muted); }
 .contact-project-details>summary>.icon { width: 16px; height: 16px; }
 .contact-project-details[open]>summary>.icon { transform: rotate(45deg); }
 .contact-project-details>.field-grid { margin-top: 12px; }
 .upload-pick { padding: 15px 12px; gap: 10px; }
 .upload-desktop { display: none; }
 .contact-submit { align-items: stretch; flex-direction: column; gap: 12px; }
 .contact-submit>span { text-align: center; }
 .contact-submit .button { width: 100%; }
 .contact-channels label { flex: 1; padding-inline: 6px; gap: 7px; }
}
@media(max-width:380px) { .contact-channels .icon { display: none; } }
@media(prefers-reduced-motion:reduce) { .contact-page * { transition: none !important; } }
