:root {
  --ink: #171714;
  --ink-soft: #5d5a52;
  --paper: #f4f1e9;
  --card: #fbfaf7;
  --line: #d9d4c9;
  --line-dark: #3b3934;
  --champagne: #c7a768;
  --champagne-light: #e8dcc1;
  --night: #10100f;
  --white: #fff;
  --positive: #286b4d;
  --negative: #9d3a32;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(26, 24, 20, 0.08);
}

* { box-sizing: border-box; }
img, video, picture, canvas {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
body.privacy-pending { overflow: hidden; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 76px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 241, 233, .94);
  border-bottom: 1px solid rgba(23, 23, 20, .1);
  box-shadow: 0 8px 28px rgba(23, 23, 20, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 500; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand strong { font: 600 16px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .24em; }
.brand small { font-size: 8px; letter-spacing: .28em; color: var(--ink-soft); }
.privacy-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; color: var(--ink-soft); font-size: 12px; background: rgba(255,255,255,.35); }
.privacy-badge svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.hero {
  min-height: 560px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 5vw 72px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 6vw;
  align-items: center;
}
.eyebrow { margin: 0 0 18px; font: 700 11px/1.3 "Segoe UI", Arial, sans-serif; letter-spacing: .19em; color: #8b7040; }
.hero-slogan { margin: 0 0 16px; color: #806332; font: italic 500 clamp(1.1rem, 1.7vw, 1.45rem)/1.3 Georgia, "Times New Roman", serif; letter-spacing: .01em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font: 500 clamp(3rem, 5.3vw, 5.6rem)/.98 "Segoe UI", Arial, sans-serif; letter-spacing: -.055em; max-width: 720px; }
.hero-lead { max-width: 580px; margin-bottom: 32px; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); }
.button { border: 0; border-radius: 999px; min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--night); }
.button-primary:hover { background: #2b2925; }
.button-light { background: var(--champagne-light); color: var(--night); }
.button-full { width: 100%; }
.button span { font-size: 19px; line-height: 1; }

.hero-visual { position: relative; min-height: 380px; padding: 40px 36px 28px; border-radius: 28px; background: #181816; color: white; overflow: hidden; box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -130px; border: 1px solid rgba(199,167,104,.35); border-radius: 50%; box-shadow: 0 0 80px rgba(199,167,104,.12); }
.visual-label { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; color: #c5c1b8; }
.visual-label span { width: 7px; height: 7px; background: var(--champagne); border-radius: 50%; box-shadow: 0 0 0 5px rgba(199,167,104,.13); }
.car-line { width: 116%; margin: 30px -8% 8px; overflow: visible; }
.car-line path, .car-line circle { fill: none; stroke: #e3d3af; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.car-line path:nth-child(2), .car-line circle:nth-of-type(n+3) { stroke: rgba(227,211,175,.42); }
.visual-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.visual-stats div { display: flex; align-items: baseline; gap: 9px; }
.visual-stats strong { font: 500 24px/1 "Segoe UI", Arial, sans-serif; color: #f1e6cd; }
.visual-stats span { font-size: 11px; color: #a8a49b; }

.calculator-section { background: #eae6dd; padding: 88px max(5vw, calc((100vw - 1296px)/2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .contact-copy h2 { margin-bottom: 0; font: 500 clamp(2.1rem, 4vw, 4rem)/1.05 "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; }
.text-button, .copy-button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); cursor: pointer; font-size: 13px; padding: 8px 0; }
.text-button svg, .copy-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-button:hover, .copy-button:hover { color: var(--ink); }
.calculator-shell { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr); gap: 22px; align-items: start; }
.input-panel, .results-panel { background: var(--card); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); box-shadow: var(--shadow); }
.input-panel { overflow: hidden; }
.form-section { padding: 30px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.form-section-title > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #8b7040; font-size: 10px; font-weight: 700; }
.form-section-title h3 { margin: 0; font: 600 16px/1 "Segoe UI", Arial, sans-serif; }
.field-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.three-columns { grid-template-columns: repeat(3, 1fr); }
.price-row { grid-template-columns: 1.4fr .7fr .9fr; }
.trim-options-grid { margin-bottom: 18px; }
.vehicle-grid { grid-template-columns: .75fr 1fr 1.15fr; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.field small { min-height: 13px; color: #8d887e; font-size: 10px; line-height: 1.3; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; outline: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input, select { height: 48px; padding: 0 13px; }
select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#78736a 50%),linear-gradient(135deg,#78736a 50%,transparent 50%); background-position: calc(100% - 17px) 20px,calc(100% - 12px) 20px; background-size:5px 5px,5px 5px; background-repeat:no-repeat; padding-right: 32px; }
textarea { resize: vertical; min-height: 88px; padding: 13px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: #aa884c; box-shadow: 0 0 0 3px rgba(199,167,104,.14); }
input.invalid { border-color: var(--negative); }
.input-with-suffix { position: relative; }
.input-with-suffix input { padding-right: 52px; }
.input-with-suffix span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #918b80; font-size: 10px; font-weight: 700; pointer-events: none; }
.field-hint { margin: 11px 0 0; color: #8b7040; font-size: 11px; }
.price-hints { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.catalog-links { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px 16px; flex-wrap: wrap; }
.catalog-hint { margin: 11px 0 0; color: #79746b; font-size: 10px; }
.catalog-hint span { margin-right: 5px; padding: 3px 6px; border-radius: 99px; background: #e8dcc1; color: #6e552b; font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.catalog-hint a { color: #6e552b; font-weight: 700; text-underline-offset: 2px; }
.field select:disabled { background-color: #f0ede6; color: #5d584f; border-color: #ded8cc; cursor: not-allowed; opacity: 1; }
.field select:disabled + small { color: #8b7040; }
.advanced { padding: 0; }
.advanced summary { padding: 30px 30px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary .form-section-title { margin-bottom: 24px; }
.chevron { transition: transform .2s; }
.advanced[open] .chevron { transform: rotate(180deg); }
.rates-meta { display: flex; align-items: center; gap: 15px; }
.rate-status { display: inline-flex; align-items: center; gap: 6px; color: #7f796f; font-size: 10px; font-weight: 600; }
.rate-status svg { width: 14px; fill: none; stroke: #8b7040; stroke-width: 1.7; }
.advanced-grid { padding: 0 30px 24px; }
.comparison-price { grid-column: span 2; }
.comparison-price.official-price input,
.comparison-price.hypothetical-price input { background: #f0ede6; color: #5d584f; border-color: #ded8cc; cursor: not-allowed; font-weight: 700; }
.comparison-price.hypothetical-price small { color: #8b641d; font-weight: 700; }
.comparison-price small a { color: #765b2c; font-weight: 800; text-underline-offset: 2px; white-space: nowrap; }
#polandBrandSource { display: inline-block; margin-left: 8px; }
#polandBrandSource[hidden] { display: none; }
.locked-field input { background: #f0ede6; color: #5d584f; border-color: #ded8cc; cursor: not-allowed; font-weight: 700; }
.locked-field .input-with-suffix::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 7px; transform: translateY(-35%); border: 1.5px solid #9b8050; border-radius: 2px; z-index: 1; pointer-events: none; }
.locked-field .input-with-suffix::after { content: ""; position: absolute; left: 14px; top: calc(50% - 8px); width: 4px; height: 5px; border: 1.5px solid #9b8050; border-bottom: 0; border-radius: 4px 4px 0 0; z-index: 1; pointer-events: none; }
.locked-field .input-with-suffix input { padding-left: 31px; }
.export-handling-field { margin-top: 18px; max-width: 520px; }
.export-handling-field[hidden] { display: none; }
.legal-note { margin: 0 30px 30px; padding: 13px 15px; background: #f1ede4; border-radius: 10px; display: flex; align-items: flex-start; gap: 10px; color: #6d675e; font-size: 11px; line-height: 1.5; }
.legal-note svg { width: 17px; flex: 0 0 17px; fill: none; stroke: #8b7040; stroke-width: 1.6; stroke-linecap: round; }
.options-note { margin: 18px 0 0; }
.catalog-coverage-note { margin-top: 14px; padding: 18px; border: 1px solid #d9c8a5; border-radius: 12px; background: #fbf7ee; color: #5f594f; }
.catalog-coverage-note strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.catalog-coverage-note p { margin: 0 0 10px; font-size: 12px; line-height: 1.55; }
.catalog-coverage-note a { color: #765b2c; font-size: 12px; font-weight: 800; text-underline-offset: 3px; }

.results-panel { position: sticky; top: 18px; padding: 30px; background: var(--night); color: white; border-color: var(--night); }
.results-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-size: 10px; letter-spacing: .13em; color: #98948b; }
.results-topline strong { color: #e9ddc4; font-weight: 600; text-align: right; }
.scenario-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #24231f; border-radius: 10px; gap: 4px; }
.scenario-tab { min-height: 45px; border: 0; border-radius: 8px; padding: 8px 10px; background: transparent; color: #a9a59d; font-size: 11px; line-height: 1.25; cursor: pointer; }
.scenario-tab.active { background: #f1ede4; color: var(--ink); font-weight: 700; }
.scenario-tab:disabled { cursor: not-allowed; opacity: .42; }
.total-card { padding: 28px 0 24px; border-bottom: 1px solid #36342f; }
.total-card p { margin-bottom: 7px; color: #a5a198; font-size: 12px; }
.total-card strong { display: block; font: 500 clamp(2.5rem,4vw,4rem)/1 "Segoe UI",Arial,sans-serif; letter-spacing: -.055em; color: #f4ead3; }
.total-card span { display: block; margin-top: 10px; color: #8d8981; font-size: 10px; }
.breakdown { padding: 18px 0 13px; }
.breakdown-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; color: #aaa69e; font-size: 12px; }
.breakdown-row strong { color: #eeebe4; font-weight: 500; white-space: nowrap; }
.breakdown-row.highlight strong { color: #e0c991; }
.comparison-card { border: 1px solid #393832; border-radius: 12px; padding: 16px; margin: 8px 0 15px; background: #191917; }
.comparison-card > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 11px; color: #9b978f; }
.comparison-card strong { color: white; font-size: 12px; }
.savings-row { margin-top: 13px; padding-top: 13px; border-top: 1px solid #33312d; }
.savings-row strong.positive { color: #73c89d; }
.savings-row strong.negative { color: #ee8b80; }
.savings-track { height: 4px; margin-top: 13px; background: #35332f; border-radius: 99px; overflow: hidden; }
.savings-track span { display: block; height: 100%; width: 0; background: #c7a768; border-radius: inherit; transition: width .4s ease; }
.scenario-difference { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 20px; color: #aaa69e; font-size: 11px; }
.scenario-difference strong { color: #e0c991; font-size: 13px; }
.results-panel .button-primary { background: var(--champagne-light); color: var(--night); }
.results-panel .button-primary:hover { background: #f0e6d0; }
.copy-button { width: 100%; justify-content: center; margin-top: 8px; color: #aaa69e; }

.contact-section { max-width: 1296px; margin: 0 auto; padding: 100px 5vw; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p:last-child { max-width: 520px; color: var(--ink-soft); line-height: 1.7; }
.contact-copy .contact-catalog-note { max-width: 520px; margin-top: 20px; padding: 15px 17px; border-left: 3px solid var(--champagne); background: #f2eee5; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.contact-catalog-note a { display: inline-block; margin-top: 8px; color: #765b2c; font-weight: 800; text-underline-offset: 3px; }
.contact-form { background: var(--night); border-radius: var(--radius); padding: 30px; color: white; box-shadow: var(--shadow); }
.selected-vehicle-notice { margin-bottom: 24px; padding: 18px; border: 1px solid rgba(199,167,104,.55); border-radius: 12px; background: #191917; }
.selected-vehicle-notice > span { display: block; margin-bottom: 7px; color: #c7a768; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.selected-vehicle-notice strong { display: block; color: #f4ead3; font-size: 18px; line-height: 1.3; }
.selected-vehicle-notice p { margin: 10px 0; color: #c2bdb4; font-size: 14px; line-height: 1.55; }
.selected-vehicle-notice a { color: #e0c991; font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.contact-form .field > span { color: #b7b2aa; }
.contact-form input, .contact-form textarea { color: white; background: #1e1e1b; border-color: #3b3934; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #716e68; }
.contact-form > .field { margin-top: 18px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: #a7a39b; font-size: 11px; line-height: 1.5; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--champagne); }
.form-feedback { min-height: 16px; margin: 10px 0 0; text-align: center; color: #e0c991; font-size: 11px; }
.unlisted-contact-section { padding-top: 20px; border-top: 1px solid var(--line); }
.unlisted-form-note { max-width: 520px; margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--champagne); background: #f2eee5; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.unlisted-details-grid { margin: 18px 0; }
.unlisted-vehicle-notice strong { color: var(--champagne-light); }

footer { min-height: 120px; margin: 0 5vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; color: #777269; font-size: 10px; }
footer p { max-width: 760px; margin: 0; line-height: 1.55; }
footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
footer > a { text-decoration: none; }
.footer-version { display: inline-block; margin: 6px 0 2px; color: var(--ink); letter-spacing: .02em; }
.copyright { display: inline-block; margin-top: 6px; color: #565149; font-weight: 700; }
.footer-link { border: 0; padding: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font: inherit; font-weight: 700; cursor: pointer; }
.footer-brand { transform: scale(.85); transform-origin: left center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.16); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 20; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.privacy-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(16,16,15,.72); backdrop-filter: blur(8px); }
.privacy-overlay[hidden] { display: none; }
.privacy-dialog { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: var(--card); box-shadow: 0 28px 90px rgba(0,0,0,.34); }
.privacy-dialog h2 { margin-bottom: 16px; font: 500 clamp(2rem, 6vw, 3.4rem)/1.02 "Segoe UI",Arial,sans-serif; letter-spacing: -.045em; }
.privacy-dialog > p:not(.eyebrow), .privacy-dialog details p { color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.privacy-dialog details { margin: 20px 0 24px; padding: 14px 16px; border-radius: 12px; background: #eee9df; }
.privacy-dialog summary { color: #6e552b; font-size: 12px; font-weight: 700; cursor: pointer; }
.privacy-dialog details p { margin: 12px 0 0; }
.privacy-actions { display: flex; justify-content: flex-end; gap: 10px; }
.privacy-leave { color: var(--ink-soft); background: #e8e3d9; }
.button[disabled] { opacity: .58; cursor: wait; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 330px; }
  .calculator-shell { grid-template-columns: 1fr; }
  .results-panel { position: static; }
  .contact-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; padding: 32px 0; gap: 16px; }
}
@media (max-width: 660px) {
  .topbar { height: 68px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .brand strong { font-size: 12px; letter-spacing: .12em; }
  .brand small { font-size: 7px; letter-spacing: .2em; }
  .privacy-badge { font-size: 0; padding: 8px; }
  .hero { padding: 42px 5vw 54px; gap: 42px; min-height: auto; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .hero-visual { min-height: 270px; padding: 28px 22px 22px; border-radius: 20px; }
  .car-line { margin-top: 24px; }
  .visual-stats strong { font-size: 19px; }
  .visual-stats span { font-size: 9px; }
  .calculator-section { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .form-section { padding: 24px 20px; }
  .advanced summary { padding: 24px 20px 0; }
  .advanced-grid { padding: 0 20px 20px; }
  .rate-status { font-size: 0; }
  .legal-note { margin: 0 20px 24px; }
  .two-columns, .three-columns, .price-row { grid-template-columns: 1fr; }
  .catalog-links { width: 100%; margin-left: 0; justify-content: flex-start; }
  .comparison-price { grid-column: auto; }
  .results-panel, .contact-form { padding: 24px 20px; }
  .scenario-tab { font-size: 10px; }
  .contact-section { padding-top: 72px; padding-bottom: 72px; }
  .privacy-dialog { padding: 26px 20px; }
  .privacy-actions { flex-direction: column-reverse; }
  .privacy-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Zwarty układ kalkulatora V79 */
.hero{padding-top:30px;padding-bottom:34px;gap:32px}h1{font-size:clamp(2.4rem,4vw,4rem);margin-bottom:16px}.hero-lead{font-size:15px;line-height:1.55;margin-bottom:20px}.hero-visual{min-height:270px;padding:24px}.car-line{margin-top:18px}.calculator-section{padding-top:40px;padding-bottom:40px}.section-heading{margin-bottom:20px}.section-heading h2,.contact-copy h2{font-size:clamp(1.8rem,3vw,2.8rem)}.form-section{padding:22px}.form-section-title{margin-bottom:16px}.field-grid{gap:13px}.catalog-coverage-note{padding:12px}.options-note{margin-top:12px}.advanced{padding:0}.advanced summary{padding:20px 22px 0}.advanced summary .form-section-title{margin-bottom:18px}.advanced-grid{padding:0 22px 20px}.legal-note{margin:0 22px 22px}.results-panel,.contact-form{padding:22px}.total-card{padding-top:20px;padding-bottom:18px}.contact-section{padding-top:42px;padding-bottom:42px;gap:40px}.contact-copy h2{margin-bottom:16px}.contact-copy .contact-catalog-note,.unlisted-form-note{margin-top:12px;padding:12px}.selected-vehicle-notice{margin-bottom:16px;padding:12px}.selected-vehicle-notice p{font-size:12px}.contact-form>.field{margin-top:12px}.unlisted-contact-section{padding-top:30px}footer{min-height:100px;padding-block:20px;gap:22px}
@media(max-width:640px){.hero{padding-top:24px;padding-bottom:28px;gap:24px}.hero-visual{min-height:210px;padding:20px}.calculator-section{padding-block:28px}.contact-section{padding-block:28px;gap:20px}.form-section{padding:18px 16px}.advanced{padding:0}.advanced summary{padding:18px 16px 0}.advanced-grid{padding:0 16px 16px}.legal-note{margin:0 16px 18px}.results-panel,.contact-form{padding:18px 16px}footer{padding-block:22px}}

/* Calculator V80 — same electric palette as DENZA. */
:root{--ink:#123e50;--ink-soft:#486b78;--paper:#f4fcff;--card:#fff;--line:#c5e8ee;--line-dark:#98cad5;--champagne:#b7ef46;--champagne-light:#d9fa93;--night:#087c91;--positive:#087f67;--negative:#bd3b54;--shadow:0 18px 50px #087c9112}
body{background:#f4fcff;color:#123e50}.topbar{background:#ffffffee;border-color:#c5e8ee;box-shadow:0 8px 28px #087c9110}.brand-mark{background:#b7ef46;color:#123e50;border-color:#b7ef46}.hero{background:linear-gradient(130deg,#e1fafb,#e5efff)}.hero-slogan{color:#087c91}.hero-visual{background:linear-gradient(135deg,#0b94a6,#298be0);border-color:#5dcfd7}.hero-visual .visual-label,.hero-visual .visual-stats{color:#fff}.car-line{stroke:#d9fa93}.button-primary{background:#087c91;color:#fff;border-color:#087c91}.button-primary:hover{background:#07627a}.button-secondary{background:#e2f8f8;color:#123e50;border-color:#a5dce6}.eyebrow{color:#087c91}.calculator-card,.result-card,.catalog-card{background:#fff;border-color:#c5e8ee}.result-panel{background:linear-gradient(130deg,#087e95,#177ecc);color:#fff}.result-panel .eyebrow,.result-panel .result-total,.result-panel .result-label{color:#fff}.result-panel p{color:#eafaff}.result-panel .button-primary{background:#b7ef46;color:#123e50}.contact-section{background:linear-gradient(120deg,#e1fafb,#e4f0ff);color:#123e50}.contact-section p,.contact-section .eyebrow,.contact-form .field>span,.consent{color:#486b78}.contact-form input,.contact-form textarea{color:#123e50;background:#fff;border-color:#a3d6e0}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#627e88}.form-feedback{color:#087c91}.privacy-dialog details{background:#e3f7fb}.privacy-dialog summary{color:#087c91}.privacy-leave{background:#e3f7fb;color:#123e50}.privacy-overlay{background:#123e5077}.unlisted-form-note{background:#e5f7fc;border-color:#0ca5ae}.privacy-badge{color:#087c91;background:#e4f8fa;border-color:#b7e4eb}input,select,textarea{accent-color:#078c9b}input:focus,select:focus,textarea:focus{outline-color:#09a3ae;border-color:#09a3ae}.result-total,.total-amount{color:#123e50}footer{color:#486b78;border-color:#c5e8ee}.copyright{color:#486b78}
.calculator-section{background:linear-gradient(135deg,#e1f7fa,#e8f1ff)}.results-panel{background:linear-gradient(130deg,#087e95,#167ecc);color:#fff;border-color:#67bccb}.scenario-tabs{background:#ffffff25}.scenario-tab{color:#eefaff}.scenario-tab.active{background:#b7ef46;color:#123e50}.total-card p,.total-card span,.breakdown-row,.scenario-difference,.results-panel .copy-button{color:#eefaff}.total-card strong,.breakdown-row strong{color:#fff}.breakdown-row.highlight strong,.scenario-difference strong{color:#d9fa93}.comparison-card{background:#ffffff14;border-color:#ffffff55}.comparison-card>div{color:#eefaff}.savings-track{background:#ffffff30}.savings-track span{background:#b7ef46}.savings-row strong.positive{color:#d9fa93}.savings-row strong.negative{color:#ffe3e7}.results-panel .button-primary{background:#b7ef46;color:#123e50}.results-panel .button-primary:hover{background:#d9fa93}.contact-form{background:#fff;color:#123e50;border:1px solid #c5e8ee}.selected-vehicle-notice{background:#e4f8fb;border-color:#a3d9e3}.selected-vehicle-notice>span,.selected-vehicle-notice a,.selected-vehicle-notice strong{color:#087c91}.selected-vehicle-notice p{color:#486b78}.contact-catalog-note,.unlisted-form-note,.legal-note,.catalog-coverage-note{background:#e3f7fc;border-color:#a3d9e3;color:#486b78}.contact-catalog-note a,.catalog-hint a,.catalog-hint span,.field-hint,.form-section-title>span{color:#087c91}.catalog-hint span{background:#d9fa93}.visual-stats strong{color:#d9fa93}.visual-stats span{color:#eefaff}.hero-slogan{font-family:Inter,"Segoe UI",sans-serif;font-style:normal;font-weight:650}.field select:disabled,.locked-field input,.comparison-price.hypothetical-price input{background:#eaf6fa;color:#486b78;border-color:#c5e8ee}

.denza-config{margin:18px 0;padding:16px;border:1px solid #a9dae5;border-radius:16px;background:#f0fbff}.denza-config>summary{font-size:1.05rem;font-weight:750;color:#076c82;cursor:pointer}.denza-note{font-size:.8rem;line-height:1.5;color:#486b78;margin:12px 0}.denza-group{border-top:1px solid #c9e5ec;padding:12px 0}.denza-group>summary{font-weight:700;cursor:pointer;display:flex;justify-content:space-between;color:#123e50}.denza-group>summary span{font-size:.8rem;color:#087c91}.denza-choices{display:grid;gap:9px;margin-top:12px}.denza-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.denza-choice{position:relative;display:flex;gap:9px;align-items:flex-start;background:white;border:1px solid #cae4ec;border-radius:10px;padding:10px;cursor:pointer;font-size:.8rem;line-height:1.4;color:#123e50}.denza-colors .denza-choice{display:grid;gap:6px}.denza-choice:has(input:checked){border-color:#078c9b;box-shadow:0 0 0 1px #078c9b;background:#ebfcff}.denza-choice input{margin:3px 0;width:16px;height:16px;accent-color:#087c91;flex-shrink:0}.denza-choice small{display:block;color:#486b78;font-size:.72rem;line-height:1.4;margin-top:5px}.denza-sample{height:60px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f8fa;border-radius:6px}.denza-sample img{width:100%;height:100%;object-fit:contain}.denza-sample>span{font-size:.68rem;padding:6px}.denza-preview{width:100%;height:210px;object-fit:contain;background:#edf7fa;margin-top:12px;border-radius:10px}.denza-preview[hidden]{display:none}.denza-caption{font-size:.85rem;font-weight:600;margin:6px 0}.denza-unavailable{opacity:.48;cursor:default}.denza-cost{background:#daf8ee;border-radius:10px;padding:12px;font-weight:650;font-size:.85rem;margin:10px 0}.denza-warning{padding:10px;border-left:3px solid #eea83f;background:#fff5de;font-size:.8rem;line-height:1.5}.denza-config>a{font-size:.8rem;color:#087c91}@media(max-width:520px){.denza-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.denza-preview{height:170px}.denza-config{padding:12px}}

.denza-preview{background:transparent}

.calculator-navigation{display:flex;flex-wrap:wrap;gap:10px;max-width:1440px;margin:0 auto;padding:16px 24px}.calculator-navigation a{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #087c91;border-radius:999px;color:#07596a;background:#fff;font-weight:650;text-decoration:none;font-size:14px}.calculator-navigation a:hover,.calculator-navigation a:focus-visible{color:#fff;background:#087c91}@media(max-width:600px){.calculator-navigation{padding:12px 16px;gap:8px}.calculator-navigation a{padding:9px 12px;font-size:13px;flex:1 1 auto}}

/* V84 body photos keep one model frame */
.denza-preview[data-denza-preview="body"]{background:transparent;height:240px;object-fit:contain;object-position:center bottom}

/* V85 optional policy stays outside import total */
.defend-policy-result{margin:20px 0;padding:16px 0;border-top:1px solid rgba(255,255,255,.25);border-bottom:1px solid rgba(255,255,255,.25)}
.defend-policy-result>span{display:block;font-size:12px;opacity:.85;margin-bottom:9px}.defend-policy-result>div{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:14px}.defend-policy-result #defendPolicyAmount{color:#c7f542}

/* Keep all page sections on the same centered content edges at every screen width. */
:root{--page-content:1296px;--page-gutter:clamp(16px,3vw,48px);--page-inset:max(var(--page-gutter),calc((100% - var(--page-content))/2))}
.topbar,.calculator-navigation,main>.hero,main>.calculator-section,main>.contact-section{width:100%;max-width:none;margin-inline:0;padding-inline:var(--page-inset)}
body>footer{width:calc(100% - 2 * var(--page-gutter));max-width:var(--page-content);margin-inline:auto}
.hero>*,.contact-section>*,.calculator-shell>*{min-width:0}
.topbar{gap:16px}.topbar>.brand{min-width:0;flex:0 1 220px}

/* V110: obrys Yangwang U9 w karcie hero */
.car-outline-frame{position:relative;width:82%;margin:-16px auto -30px}
.car-outline{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(1px 0 #ece6c7) drop-shadow(-1px 0 #ece6c7)}
.car-wheel{position:absolute;top:67.4%;width:14.8%;aspect-ratio:1;transform:translate(-50%,-50%);border:3px solid #fb4354;border-radius:50%;pointer-events:none}
.car-wheel-front{left:21.5%}.car-wheel-rear{left:80.3%}
@media(max-width:640px){.car-outline-frame{width:90%;margin:-8px auto -24px}.car-wheel{border-width:2px}}

/* Vehicle form: aligned rows and separate supporting information. */
#calculatorForm > .form-section:first-child .vehicle-grid { margin-bottom: 22px; }
#calculatorForm > .form-section:first-child .trim-options-grid { margin-bottom: 22px; }
#calculatorForm > .form-section:first-child .field-grid { align-items: start; column-gap: 18px; row-gap: 18px; }
#calculatorForm > .form-section:first-child .field > span { line-height: 1.5; }
#calculatorForm > .form-section:first-child .field small { line-height: 1.5; }
#calculatorForm > .form-section:first-child .price-row { grid-template-columns: minmax(0, 1.4fr) minmax(96px, .65fr) minmax(0, .95fr); }
#calculatorForm > .form-section:first-child .exchange-rate-note { margin: 10px 0 0; color: #627e88; font-size: 11px; line-height: 1.6; }
#calculatorForm > .form-section:first-child .exchange-rate-note a { color: #087c91; white-space: nowrap; text-underline-offset: 3px; }
#calculatorForm > .form-section:first-child .price-hints { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; padding: 14px 16px; border: 1px solid #c5e8ee; border-radius: 10px; background: #f4fcff; }
#calculatorForm > .form-section:first-child .price-hints .field-hint { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.5; }
#calculatorForm > .form-section:first-child .catalog-links { display: block; margin: 0; width: auto; }
#calculatorForm > .form-section:first-child .catalog-hint { margin: 0; font-size: 11px; line-height: 1.7; }
#calculatorForm > .form-section:first-child .catalog-hint span { display: inline-block; line-height: 1.3; vertical-align: middle; }
#calculatorForm > .form-section:first-child .options-note { margin: 16px 0 0; }
#calculatorForm > .form-section:first-child .catalog-coverage-note { margin-top: 16px; }
@media (max-width: 600px) {
  #calculatorForm > .form-section:first-child .vehicle-grid,
  #calculatorForm > .form-section:first-child .trim-options-grid,
  #calculatorForm > .form-section:first-child .price-row { grid-template-columns: minmax(0, 1fr); }
  #calculatorForm > .form-section:first-child .field-grid { row-gap: 18px; }
  #calculatorForm > .form-section:first-child input,
  #calculatorForm > .form-section:first-child select { font-size: 16px; }
  #calculatorForm > .form-section:first-child .price-hints { padding: 12px; }
}
