/* Oferty długoterminowe ComfortRent – strona publiczna */
:root {
  --yellow: #F0C540;
  --yellow-dark: #d9ad22;
  --ink: #202020;
  --ink-2: #4a4a4a;
  --muted: #777;
  --line: #e7e7e7;
  --bg: #fff;
  --bg-soft: #f6f6f4;
  --ok: #1d7a46;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--yellow); color: var(--ink); border: 0; border-radius: 10px; padding: 12px 20px; font: 600 15px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--yellow-dark); }
.btn.ghost { background: transparent; border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.block { display: flex; width: 100%; }

/* nagłówek */
/* nagłówek jak pasek z logo na comfortrent.pl (granatowe tło, białe „RENT” w logo) */
.site-head { background: #293E4F; color: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.site-head .logo img { height: 56px; width: auto; }
.site-head nav { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 500; }
.site-head nav a { text-decoration: none; color: #fff; }
.site-head nav a:hover { color: var(--yellow); }
.site-head .phone { background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.site-head .phone:hover { background: #fff; color: var(--ink); }
.site-head .langs { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; overflow: hidden; }
.site-head .langs a { padding: 6px 10px; font-size: 13px; font-weight: 600; color: #fff; }
.site-head .langs a.on { background: var(--yellow); color: var(--ink); }
@media (max-width: 760px) { .site-head nav .langs { display: inline-flex; } }
@media (max-width: 760px) { .site-head nav > a:not(.phone) { display: none; } }

/* hero */
.hero { background: var(--ink); color: #fff; padding: 56px 0 48px; margin-bottom: 32px; background-image: radial-gradient(circle at 85% 20%, rgba(240,197,64,.25), transparent 45%); }
.hero h1 { font-size: clamp(28px, 4vw, 44px); max-width: 760px; }
.hero h1::after { content: ''; display: block; width: 64px; height: 4px; background: var(--yellow); margin-top: 16px; border-radius: 2px; }
.hero p { font-size: 18px; max-width: 640px; color: #ddd; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23202020' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero .ticks { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; font-size: 15px; }

/* pasek filtrów */
.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 14px Poppins, sans-serif; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.tools select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 14px Poppins, sans-serif; background: #fff; }
.vat-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.vat-toggle button { border: 0; background: #fff; padding: 8px 14px; font: 500 14px Poppins, sans-serif; cursor: pointer; color: var(--ink-2); }
.vat-toggle button.on { background: var(--yellow); color: var(--ink); }

/* kafelki */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cards.small { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card-car:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-car[hidden] { display: none; }
.card-car .pic { position: relative; aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.card-car .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-car:hover .pic img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.card-car .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.seg { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.card-car h2 { font-size: 20px; margin: 2px 0 2px; }
.card-car h2 a { text-decoration: none; }
.ver { color: var(--ink-2); font-size: 14px; margin: 0 0 10px; }
.specs { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { background: var(--bg-soft); border-radius: 6px; padding: 3px 9px; font-size: 13px; }
.desc { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.card-car .foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price small { display: block; color: var(--muted); font-size: 12px; }
.price strong { font-size: 24px; font-weight: 700; display: block; line-height: 1.1; }
.price .iq { font-size: 16px; }
.avail { font-size: 13px; color: var(--ok); margin: 10px 0 0; font-weight: 500; }
.empty { padding: 48px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); }

/* sekcje listy */
.steps, .faq, .cta { margin: 72px 0; }
.steps ol, .steps-inline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.steps li, .steps-inline li { counter-increment: s; background: var(--bg-soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before, .steps-inline li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; }
.steps li span, .steps-inline li span { font-size: 14px; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--yellow-dark); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }
.cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; }
.cta p { color: #ccc; }

/* karta auta */
.crumbs { font-size: 13px; color: var(--muted); margin: 20px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.preview-note { background: #fff4d0; border: 1px solid var(--yellow); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.offer-top { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.gallery .stage { position: relative; aspect-ratio: 16/10; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.gallery .stage img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery .nav, .lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.gallery .prev, .lightbox .prev { left: 12px; }
.gallery .next, .lightbox .next { right: 12px; }
.counter { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.nophoto { display: grid; place-items: center; height: 100%; color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 96px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumbs button.on { border-color: var(--yellow); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.calc { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); background: #fff; }
.calc h1 { font-size: 26px; margin: 2px 0 4px; }
.calc .vat-toggle { width: 100%; margin: 12px 0 4px; }
.calc .vat-toggle button { flex: 1; }
.opt { margin-top: 16px; }
.lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.seg-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-btns button { flex: 1 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; font: 500 14px Poppins, sans-serif; cursor: pointer; }
.seg-btns button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg-btns button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.down-amount { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.addon { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; cursor: pointer; }
.addon input { margin-top: 4px; accent-color: var(--ink); }
.addon span { flex: 1; }
.addon small { display: block; color: var(--muted); font-size: 12px; }
.addon em { font-style: normal; font-weight: 600; white-space: nowrap; }
.result { background: var(--bg-soft); border-radius: 12px; padding: 16px; margin: 18px 0 12px; }
.amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.amount strong { font-size: 34px; font-weight: 700; }
.amount span { color: var(--muted); }
.summary { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.iq-note { font-size: 14px; margin: 6px 0 0; }
.calc .btn + .btn { margin-top: 8px; }
.included { margin-top: 20px; font-size: 14px; }
.included strong { display: block; margin-bottom: 8px; }

.keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 32px 0; }
.keyspecs div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.keyspecs small { display: block; color: var(--muted); font-size: 12px; }
.keyspecs strong { font-size: 17px; }

.offer-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.main-col section { margin-bottom: 40px; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.highlights li { background: var(--bg-soft); border-left: 4px solid var(--yellow); padding: 12px 14px; border-radius: 0 10px 10px 0; font-weight: 500; }
.prose p { color: var(--ink-2); }
#pano { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #111; }
.pano-wrap .muted { font-size: 14px; margin: -4px 0 12px; }
.equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; }
.equip h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.equip .ticks { font-size: 14px; gap: 6px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table th { font-weight: 500; color: var(--muted); width: 45%; }

.form-col { position: sticky; top: 88px; }
.form-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.form-card h2 { font-size: 20px; }
.form-card label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.form-card input, .form-card textarea { border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 15px Poppins, sans-serif; background: #fff; width: 100%; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--ink); }
.form-card label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 12px; color: var(--ink-2); }
.form-card label.check input { width: auto; margin-top: 3px; }
.form-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card.sent { background: #e9f6ee; border: 1px solid #b8e0c6; }
.chosen { background: #fff; border-left: 4px solid var(--yellow); padding: 10px 12px; font-size: 13px; margin: 0; border-radius: 0 8px 8px 0; }
.hp { position: absolute; left: -9999px; }
.alert.err { background: #fde8e8; border: 1px solid #f3b4b4; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.similar { margin: 56px 0; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }

.mobile-bar { display: none; }

/* stopka jak na comfortrent.pl */
.price-note { font-size: 12px; color: var(--muted); margin-top: 48px; margin-bottom: 16px; }
.cr-footer { background: #293E4F; color: #fff; padding: 40px 0; font-size: 12px; }
.cr-footer-cols { max-width: 1140px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cr-footer h6 { font-size: 18px; font-weight: 700; text-transform: uppercase; margin: 0 0 20px; }
.cr-footer ul { list-style: none; padding: 0; margin: 0 0 20px; }
.cr-footer li { margin: 0 0 5px; }
.cr-footer li.gap { margin-top: 17px; }
.cr-footer a { color: #fff; text-decoration: none; }
.cr-footer a:hover, .cr-footer li.on a { color: var(--yellow); }
.cr-footer-logo img { max-width: 250px; width: 100%; }
.cr-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.14); margin-right: 8px; transition: background .2s; }
.cr-footer .social a.fb:hover { background: #1877F2; }
.cr-footer .social a.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.cr-footer-bottom { background: #fff; color: var(--ink); text-align: center; padding: 20px 16px; font-size: 12px; }
.cr-footer-bottom p { margin: 0; }
.cr-footer-bottom a { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .cr-footer-cols { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
  .offer-top, .offer-body { grid-template-columns: minmax(0, 1fr); }
  .calc, .form-col { position: static; }
  .cr-footer-bottom { padding-bottom: 84px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; justify-content: space-between; align-items: center; box-shadow: 0 -4px 16px rgba(0,0,0,.08); transform: translateY(100%); transition: transform .2s; }
  .mobile-bar.show { transform: none; }
  .mobile-bar small { display: block; color: var(--muted); font-size: 12px; }
  .mobile-bar strong { font-size: 20px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .form-card .two { grid-template-columns: 1fr; }
  .calc { padding: 18px; }
  .amount strong { font-size: 28px; }
  .cta { padding: 28px 18px; }
  .toolbar { flex-direction: column; align-items: stretch; }
}
