/* =========================================================
   Iconic Motors — shared design system
   Source: design tool exports (Strona główna, Toyota Land Cruiser)
   ========================================================= */

:root{
  --ink:#0e0e0f;
  --ink-soft:#2a2a2c;
  --red:#c8102e;
  --red-hover:#a50d26;
  --gray:#55555a;
  --gray-mid:#6a6a6e;
  --gray-light:#8a8a8e;
  --border:#dad9d4;
  --border-strong:#cfcec8;
  --cream:#F2F1EC;
  --white:#ffffff;
  --blue-1:#2c5aa6;
  --blue-2:#26457a;
  --blue-3:#1f2238;
  --wrap-max:1360px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);font-family:'Inter',Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--red)}
img{max-width:100%;display:block}
[hidden]{display:none}
button{font-family:inherit}

.wrap{max-width:var(--wrap-max);margin:0 auto;padding:0 40px}

/* Typography families */
.d{font-family:'Archivo',Arial,sans-serif;font-stretch:112%;letter-spacing:-0.025em;text-transform:uppercase}
.m{font-family:'IBM Plex Mono',monospace;font-size:14px;letter-spacing:.08em;text-transform:uppercase}

/* Grids */
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.g5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.vg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
.split{display:grid;grid-template-columns:5fr 7fr;gap:64px}
/* desktop source: Proces section-head uses a ~48/52 split, not the generic 5fr/7fr */
.proces-split{grid-template-columns:588fr 628fr}
/* desktop source: Oferta section-head heading column needs >=611px for "wyjątkowe
   auta" to hold one line before the approved <br>; not the generic 5fr/7fr, and not
   a plain 50/50 split either (608px each was 3px short and still wrapped). */
/* Oferta: preserve the approved desktop 677px heading column.
   The former 630px column caused "WYJĄTKOWE AUTA" to wrap into 2 lines
   before the intended <br>, making the heading 3 lines overall. */
.oferta-split{grid-template-columns:minmax(0,677px) minmax(0,1fr)}
/* grid items default to a min-width of their content's forced size, so the
   frozen widths below (e.g. .lede's 676px) act as a floor that can force
   both .split columns wider than the 5fr/7fr ratio and bleed past .wrap's
   own box — invisible at very wide viewports (enough margin to absorb it)
   but a visible page overflow wherever that margin shrinks. min-width:0
   lets the columns size strictly by the fr ratio; max-width:100% then caps
   the frozen-width children to whatever their column actually resolves to. */
.section-head>div{min-width:0}
.section-head h2,.lede,.body-copy{max-width:100%}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;font-family:'Archivo',Arial,sans-serif;font-stretch:112%;font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;border:1px solid transparent;text-align:center;cursor:pointer}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-hover);color:var(--white)}
.btn-ink{background:var(--ink);color:var(--white)}
.btn-ink:hover{background:var(--red);color:var(--white)}
.btn-line{border-color:rgba(255,255,255,.8);color:var(--white)}
.btn-line:hover{background:var(--white);color:var(--ink)}
.btn-white{background:var(--white);color:var(--ink)}
.btn-white:hover{background:var(--red);color:var(--white)}

/* Top info bar */
.topbar{background:var(--ink);color:#b9b8b3;border-bottom:1px solid var(--ink-soft)}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:36px;flex-wrap:wrap}
.topbar span{font-size:13px}

/* Header / nav */
.site-header{background:var(--ink);color:var(--white);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--ink-soft)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px;flex-wrap:wrap}
.site-header .logo img{height:40px;width:auto}
.navlinks{display:flex;gap:28px;align-items:center}
.navlinks a{color:var(--white);font-size:15px;font-weight:600;letter-spacing:.04em}
.header-actions{display:flex;gap:12px;align-items:center}
.header-actions .btn{min-height:44px}

.dd{position:relative;display:inline-flex;align-items:center}
.dd>a{display:inline-flex;align-items:center;gap:6px}
.dd-ar{display:inline-block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.dd:hover .dd-ar,.dd:focus-within .dd-ar{transform:translateY(1px) rotate(-135deg)}
.dd-menu{position:absolute;top:100%;left:-20px;min-width:260px;padding:10px 0;background:var(--ink);border:1px solid var(--ink-soft);border-top:2px solid var(--red);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s;z-index:30}
.dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dd-menu a{display:block;padding:12px 20px;color:var(--white);font-size:13px;font-weight:700;letter-spacing:.04em;white-space:nowrap}
.dd-menu a:hover,.dd-menu a[aria-current]{background:#1a1a1c;color:var(--red)}

/* Mobile menu trigger (hidden on desktop) */
.menu-toggle{display:none;background:none;border:0;color:var(--white);padding:8px;cursor:pointer}
.menu-toggle svg{display:block}

/* Hero (general) */
.hero{position:relative;color:var(--white);overflow:hidden;background:var(--ink);display:flex;align-items:flex-end}
.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%}
/* Original iconimotors.pl homepage background video with a responsive poster.
   Both layers share the exact same bounding box and crop as the old hero image.
   Keep this scoped to the homepage so model pages remain unchanged. */
.homepage .hero-poster img{width:100%;height:100%;object-fit:cover;object-position:70% 50%}
.homepage .hero-video{display:block;z-index:0;background:transparent;pointer-events:none}
.homepage .hero-video[hidden]{display:none}

.hero-transition{display:none;position:absolute;left:0;right:0;top:280px;height:182px;background:linear-gradient(180deg,rgba(14,14,15,0) 0%,rgba(14,14,15,.6) 50%,#0e0e0f 100%)}
.hero-veil{position:absolute;inset:0}
.hero-inner{position:relative}
.hero-eyebrow{color:rgba(255,255,255,.7);margin:0 0 22px}
.hero-h1-mobile{display:none}
.hero-cta-mobile{display:none;gap:12px;margin-top:36px;max-width:358px;grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-cta-mobile .btn{font-size:12px;padding:0 10px}
.hero-stats{margin-top:88px;border-top:1px solid rgba(255,255,255,.22)}
/* Center the complete value + caption as a unit inside each statistic cell. */
.hero-stats .stat{padding:22px 0 28px;border-right:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.hero-stats .stat .num,.hero-stats .stat .lbl{width:100%;text-align:center}
.hero-stats .stat:last-child{border-right:0}
.hero-stats .stat .num{font-size:40px;font-weight:800;line-height:1}
.hero-stats .stat .lbl{margin-top:8px;color:rgba(255,255,255,.72);line-height:1.35}

/* Section heading pattern */
.section-head{align-items:end;padding-bottom:56px}
.section-head h2{margin:0;font-size:clamp(34px,4vw,60px);line-height:1.2;font-weight:800}
.lede{margin:0 0 16px;font-size:20px;line-height:1.4;font-weight:500}
.body-copy{margin:0;font-size:16px;line-height:1.65;color:var(--gray)}

/* Offer grid (homepage) */
.offer{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr);gap:36px}
.card{border:1px solid var(--ink);background:var(--white);display:flex;flex-direction:column;overflow:hidden;color:var(--ink);text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
.card:hover{color:var(--ink);box-shadow:0 14px 30px -18px rgba(14,14,15,.45);transform:translateY(-3px)}
.card .stage{position:relative;height:230px;background:var(--cream);border-bottom:1px solid #d6d5cf;overflow:hidden}
.card .stage img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;padding:22px 26px 30px;mix-blend-mode:multiply}
.card .tag{position:absolute;top:0;left:0;z-index:2;padding:7px 10px;font-size:12px;background:var(--ink);color:var(--white)}
.card .tag.red{background:var(--red)}
.card-body{padding:24px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.card-body h3{margin:0;font-size:24px;font-weight:850;line-height:1.35}
.card-body .desc{margin:0;font-size:15px;line-height:1.45;color:var(--gray);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-price-row{display:flex;justify-content:space-between;align-items:end;border-top:1px solid var(--ink);padding-top:12px;margin-top:auto;gap:8px}
.card-price-row .lbl{color:var(--gray-mid);font-size:12px}
.card-price-row .price{font-size:19px;font-weight:850;margin-top:3px;white-space:nowrap}
.card-price-row .lease{font-size:14px;font-weight:800;margin-top:3px;color:var(--red);white-space:nowrap}

.card.big{grid-column:span 2;grid-row:span 2;background:var(--cream)}
.card.big .big-tag-row{display:flex;justify-content:flex-start;align-items:flex-start;min-height:55px;padding:0}
.card.big .big-tag{display:inline-block;background:var(--red);color:var(--white);padding:7px 10px;font-size:12px;line-height:normal;white-space:nowrap}
.card.big img.product{width:100%;height:400px;object-fit:contain;padding:24px 48px;flex-grow:1;mix-blend-mode:multiply}
.card.big .big-body{padding:0 26px 28px;display:flex;flex-direction:column;gap:12px}
.card.big .kicker{margin:0;color:var(--red);font-size:13px}
.card.big h3{margin:0;font-size:56px;font-weight:850;line-height:.95}
.card.big .lead{margin:0;font-size:17px;line-height:1.5;color:var(--gray);max-width:56ch}
.card.big .lead strong{color:var(--ink)}
.big-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ink);margin-top:6px}
.big-prices>div{padding:16px 16px 0 0;border-right:1px solid var(--border-strong)}
.big-prices>div:last-child{border-right:0;padding-left:20px}
.big-prices .lbl{color:var(--gray-mid);font-size:13px}
.big-prices .price{font-size:34px;font-weight:850;margin-top:4px}
.big-prices .lease{color:var(--red);margin-top:6px;font-size:17px}

.cta2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:4px}
.cta2 a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;font-family:'Archivo',Arial,sans-serif;font-stretch:112%;font-weight:700;font-size:11px;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;text-align:center;border:1px solid var(--ink)}
.cta2 a.k{background:var(--ink);color:var(--white)}
.cta2 a.k:hover{background:var(--gray);border-color:var(--gray);color:var(--white)}
.cta2 a.o{background:transparent;color:var(--ink);border-left:0}
.cta2 a.o:hover{background:var(--red);border-color:var(--red);color:var(--white)}
.offer-note{margin:14px 0 0;color:var(--gray);font-size:13px}

/* Reviews */
.reviews-panel{border:1px solid var(--ink);background:var(--white)}
.reviews-score{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--border);flex-wrap:wrap;gap:12px}
.reviews-score .num{font-size:56px;font-weight:800;line-height:1}
.reviews-score .stars{color:var(--red);font-size:22px;letter-spacing:4px}
.reviews-h2-mobile{display:none}
.review{margin:0;padding:22px 24px;border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:10px}
.review .stars{color:var(--red);font-size:15px;letter-spacing:3px}
.review blockquote{margin:0;font-size:16px;line-height:1.55}
.review figcaption{color:var(--gray);font-size:13px;font-family:'IBM Plex Mono',monospace;letter-spacing:.08em;text-transform:uppercase}
.reviews-cta{padding:20px 24px}

/* Process steps */
.steps{border-top:1px solid var(--ink)}
.step{padding:28px 32px 8px 0;border-right:1px solid var(--border-strong)}
.step:not(:first-child){padding-left:32px}
.step:last-child{border-right:0;padding-right:0}
.step .idx{font-size:72px;font-weight:800;line-height:1;color:var(--red)}
.step h3{margin:22px 0 12px;font-size:20px;font-weight:800;line-height:1.35}
.step p{margin:0;font-size:15px;line-height:1.6;color:var(--gray);text-align:justify}
.callout{margin-top:40px;padding:22px 28px;background:var(--cream);border-left:4px solid var(--red)}
.callout .tag{margin:0 0 8px;color:var(--red);font-size:13px}
.callout p{margin:0;font-size:16px;line-height:1.6;font-weight:500}

/* Financing */
.financing{position:relative;background:linear-gradient(180deg,var(--blue-1) 0%,var(--blue-2) 45%,var(--blue-3) 100%);color:var(--white);overflow-x:clip;overflow-y:visible}
.financing-blob{position:absolute;top:-120px;right:2%;width:min(460px,60vw);height:min(460px,60vw);border-radius:50%;background:#e2474a}
.financing-grid{position:relative;padding-top:120px;padding-bottom:120px;align-items:center}
.financing h2{margin:0 0 20px;font-size:clamp(34px,4.4vw,68px);line-height:1.2;font-weight:800}
.show-mobile-br{display:none}
.show-mobile-only{display:none}
.financing .lede{margin:0 0 12px}
.financing .body-copy{margin:0 0 32px;color:rgba(255,255,255,.78);max-width:52ch}
.financing-fine{margin:20px 0 0;color:rgba(255,255,255,.6);font-size:13px;line-height:1.35}

.calc{background:var(--white);color:var(--ink);padding:32px}
.calc-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:18px;gap:12px;flex-wrap:wrap}
.calc-head .title{margin:0;font-size:22px;font-weight:800}
.calc label{display:flex;flex-direction:column;margin-bottom:16px}
.calc label>span.lbl{display:flex;justify-content:space-between;gap:12px;font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--gray);letter-spacing:.08em;text-transform:uppercase}
.calc select{min-height:48px;padding:0 14px;border:1px solid var(--ink);background:var(--white);color:var(--ink);font:600 15px 'Inter',Arial,sans-serif;border-radius:0;width:100%}
.term-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:20px;border:1px solid var(--ink)}
.term-grid button{min-height:44px;border:0;border-right:1px solid var(--ink);cursor:pointer;font-size:15px;font-weight:700;letter-spacing:.04em;background:var(--white);color:var(--ink)}
.term-grid button:last-child{border-right:0}
.term-grid button.on{background:linear-gradient(135deg,var(--blue-1) 0%,var(--blue-2) 100%);color:var(--white)}
.calc input[type=range]{width:100%;accent-color:var(--red);margin-top:8px}
.calc-note{margin:-6px 0 14px;color:var(--red-hover);font-size:13px;font-family:'IBM Plex Mono',monospace}
.calc-result{background:linear-gradient(135deg,var(--blue-1) 0%,var(--blue-2) 55%,var(--blue-3) 100%);color:var(--white);padding:22px 22px 18px}
.calc-result .rate{font-size:56px;font-weight:850;line-height:1}
.calc-result .rate-unit{color:rgba(255,255,255,.7);font-family:'IBM Plex Mono',monospace;font-size:14px}
.calc-result .gross{margin:8px 0 18px;color:rgba(255,255,255,.7);font-family:'IBM Plex Mono',monospace;font-size:14px}
.calc-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.22)}
.calc-breakdown>div{padding:14px 10px 0 0}
.calc-breakdown>div:last-child{padding-right:0}
.calc-breakdown .lbl{color:rgba(255,255,255,.6);font-family:'IBM Plex Mono',monospace;font-size:12px}
.calc-breakdown .val{font-size:16px;font-weight:800;margin-top:4px}
.calc-breakdown .calc-brutto{display:block;margin-top:3px;color:rgba(255,255,255,.68);font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.calc-disclaimer{margin:12px 0 0;font-size:15px;color:var(--gray)}

.financing-cards{border-top:1px solid rgba(255,255,255,.22)}
.financing-cards>div{padding:24px 32px 0 0;border-right:1px solid rgba(255,255,255,.22)}
.financing-cards>div:last-child{border-right:0;padding-left:32px;padding-right:0}
.financing-cards h3{margin:0 0 8px;font-size:18px;font-weight:800}
.financing-cards p{margin:0;color:rgba(255,255,255,.78);font-size:15px;line-height:1.6}

/* O nas / history section (dark, full-bleed photo) */
.about{position:relative;background:var(--ink);color:var(--white);overflow:hidden}
.about-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:80% 100%}
.about-veil-top{position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,14,15,.94) 0%,rgba(14,14,15,.86) 18%,rgba(14,14,15,.35) 77%,rgba(14,14,15,0) 100%)}
.about-veil-bottom{position:absolute;left:0;right:0;bottom:0;height:260px;background:linear-gradient(0deg,rgba(14,14,15,.82) 0%,rgba(14,14,15,.45) 50%,rgba(14,14,15,0) 100%)}
.about .wrap{position:relative}
/* desktop source: lets the dealership photo breathe between the text block and the feature row */
.about-hero-wrap{padding-bottom:220px}
@media (min-width:621px){
  .about-hero-wrap{padding-bottom:491px}
}
.about h2{margin:0 0 24px;font-size:clamp(32px,3.6vw,54px);line-height:1.2;font-weight:800;max-width:24ch}
.about-lede{margin:0 0 12px;font-size:20px;line-height:1.4;font-weight:500;padding-top:22px;border-top:1px solid rgba(255,255,255,.3)}
.about-copy{margin:0 0 28px;font-size:16px;line-height:1.65;color:rgba(255,255,255,.82);max-width:960px}
.about-features{border-top:1px solid rgba(255,255,255,.35)}
.about-features>div{padding:22px 24px 0 0;border-right:1px solid rgba(255,255,255,.18)}
.about-features>div:not(:first-child){padding-left:24px}
.about-features>div:last-child{border-right:0;padding-right:0}
.about-features h3{margin:0 0 8px;font-size:17px;font-weight:800;color:var(--white)}
.about-features p{margin:0;font-size:14px;color:rgba(255,255,255,.8);line-height:1.35}

/* FAQ accordion (native <details>/<summary>, no JS) */
.faq{border-top:1px solid var(--ink)}
.faq details{border-bottom:1px solid var(--border-strong)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:24px 0;font-size:19px;font-weight:700;line-height:1.35;font-family:'Archivo',Arial,sans-serif;font-stretch:112%;letter-spacing:-0.025em;text-transform:uppercase}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+'}
.faq details[open] summary::after{content:'–';color:var(--red)}
.faq p{margin:0 0 24px;font-size:15px;line-height:1.65;color:var(--gray);max-width:70ch;text-align:justify}

/* Contact section (dark, info grid + form) — shared by homepage and model pages */
.contact{background:var(--ink);color:var(--white);padding:120px 0 96px}
.contact-grid{align-items:start}
.contact h2{margin:0 0 20px;font-size:clamp(34px,4.4vw,68px);line-height:1.2;font-weight:800}
.contact-lede{margin:0 0 40px;font-size:18px;line-height:1.5;color:rgba(255,255,255,.82);max-width:46ch}
.contact-info{border-top:1px solid rgba(255,255,255,.22)}
.contact-info>div{padding:22px 16px 22px 0;border-right:1px solid rgba(255,255,255,.22);border-bottom:1px solid rgba(255,255,255,.22)}
.contact-info>div:nth-child(2n){padding-left:20px;padding-right:0;border-right:0}
.contact-info>div:nth-last-child(-n+2){border-bottom:0}
.contact-info .lbl{margin:0 0 10px;color:rgba(255,255,255,.6)}
.contact-info p{margin:0;font-size:16px;line-height:1.7}
.contact-info a{color:var(--white)}
.contact-form{background:#1a1a1c;padding:36px;display:flex;flex-direction:column;gap:18px}
/* desktop source: form is a narrower fixed-width card offset right and down
   within its grid column, not a full-bleed flow item. Fixed 488px+168px
   margin only fits once the 7fr column is wide enough (>=1152px viewport);
   below that it falls back to filling the column, same as before this fix. */
@media (min-width:1152px){
  .contact-form{width:488px;margin-left:168px;margin-top:148px}
}
.contact-form .title{margin:0 0 6px;font-size:24px;font-weight:800;line-height:1.35}
.field{display:flex;flex-direction:column;gap:6px}
.field span{color:rgba(255,255,255,.6);font-size:13px}
.field input,.field textarea,.field select{background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.35);color:var(--white);font:15px 'Inter',Arial,sans-serif;padding:12px 0;outline:none;border-radius:0;-webkit-appearance:none;appearance:none}
.field input:focus,.field textarea:focus,.field select:focus{border-bottom-color:var(--white)}
.field select option{color:var(--ink)}
.rodo{margin:0;font-size:11px;line-height:1.5;color:rgba(255,255,255,.6);text-align:left}
.form-status{margin:0;padding:10px 12px;background:rgba(200,16,46,.12);border-left:3px solid var(--red);font-size:12px;line-height:1.5;color:rgba(255,255,255,.85)}
.rodo a{color:inherit;text-decoration:underline}
.contact-directions{margin-top:24px;background:var(--white);color:var(--ink);padding:24px 36px;display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
/* desktop source: this card floats over the top of the map below, bridging the two sections */
@media (min-width:621px){
  .contact-directions{position:relative;z-index:3;margin-bottom:-144px}
}
.contact-directions .lbl{margin:0 0 6px;color:var(--gray);font-size:13px}
.contact-directions .addr{margin:0;font-size:16px;font-weight:600;line-height:1.35}
.map{position:relative;height:480px;background:var(--ink);overflow:hidden}
.map img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.map-veil{position:absolute;inset:0;background:linear-gradient(180deg,var(--ink) 0%,rgba(14,14,15,.85) 14%,rgba(14,14,15,0) 60%)}

/* Land Cruiser: interior gallery + addon/protection grid + dark bullet list */
.interior-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px}
.interior-gallery img{width:100%;height:600px;object-fit:cover;display:block}
.addon-grid{border-top:1px solid var(--ink)}
.addon-grid>div{padding:24px 32px 0 0;border-right:1px solid var(--border)}
.addon-grid>div:last-child{border-right:0;padding-left:32px;padding-right:0}
.addon-grid .m{margin:0 0 10px;font-size:13px}
.addon-grid h3{margin:0 0 12px;font-size:20px;font-weight:800;line-height:1.35}
.li-dark{border-bottom-color:rgba(255,255,255,.22);font-size:16px;font-weight:600}

/* Trust / security section */
.trust-grid{border-top:1px solid var(--ink)}
.trust-col{padding:28px 32px 28px 0;border-right:1px solid var(--border)}
.trust-col:not(:first-child){padding-left:32px}
.trust-col:last-child{border-right:0;padding-right:0}
.trust-col h3{margin:0 0 12px;font-size:20px;font-weight:800}
.trust-col p{margin:0;font-size:15px;line-height:1.6;color:var(--gray);text-align:justify}
.trust-foot{margin-top:40px;padding-top:28px;border-top:1px solid var(--border)}
.trust-foot h3{margin:0 0 10px;font-size:18px;font-weight:800}
.trust-foot p{margin:0;font-size:16px;line-height:1.6;color:var(--gray);text-align:justify}

/* Model hero */
.model-hero{height:873px}
.model-hero .wrap{position:relative;padding-top:72px}
.model-hero h1{margin:0;font-size:clamp(48px,7.4vw,118px);line-height:.85;font-weight:850}
.model-hero .tagline{margin:20px 0 0;font-size:clamp(20px,2.2vw,32px);font-weight:600}
.model-price-row{display:flex;gap:40px;margin-top:36px;flex-wrap:wrap;align-items:end}
.model-price-row .lbl{color:rgba(255,255,255,.7);font-size:13px}
.model-price-row .price{font-size:40px;font-weight:800;margin-top:6px}
.model-price-row .price .unit{font-size:16px}
.model-cta-row{display:flex;gap:12px;margin-top:36px;flex-wrap:wrap}

/* Version cards (1958 / Premium) */
.version-card{border:1px solid var(--ink);background:var(--white);padding:28px;display:flex;flex-direction:column}
.version-card img{width:80%;height:auto;margin:24px auto}
.version-card h3{margin:0 0 8px;font-size:30px;font-weight:800;line-height:1.1}
.version-card .desc{margin:0 0 20px;font-size:16px;font-weight:500;line-height:1.45}
.version-prices{display:flex;gap:28px;padding:18px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--border);flex-wrap:wrap}
.version-prices .lbl{color:var(--gray-mid);font-size:13px}
.version-prices .price{font-size:26px;font-weight:800;margin-top:4px}
.version-card .note{margin:18px 0 8px;font-size:15px;line-height:1.6;color:var(--gray)}
.li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--border);font-size:15px;line-height:1.45}
.li::before{content:'';flex:0 0 8px;height:8px;margin-top:6px;background:var(--red)}
.link-arrow{color:var(--red);font-size:14px;font-weight:700;letter-spacing:.04em;display:inline-flex;align-items:center;gap:10px}

/* Diesel vs hybrid compare */
.compare{border-bottom:1px solid var(--border)}
.compare>div{padding:0 24px 24px 0;border-right:1px solid var(--border)}
.compare>div:last-child{border-right:0;padding-left:24px;padding-right:0}
.compare .label{margin:0 0 10px;font-size:13px}
.compare .kw{margin:0;font-size:40px;font-weight:800;line-height:1}
.compare .nm{margin:8px 0 0}

/* Owner gallery */
.gallery{gap:10px;padding:0 10px}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* Equipment tabs */
.wyp-tabs button{border-left:0;border-top:0;border-right:0;cursor:pointer;background:transparent;color:var(--ink)}
.wyp-tabs{border:1px solid var(--ink)}
.wyp-tabs button{min-height:72px;padding:12px 16px;font-size:14px;font-weight:700;letter-spacing:.06em;line-height:1.3;text-align:center}
.wyp-tabs button+button{border-left:1px solid var(--ink)}
.wyp-tabs button.on{background:var(--ink);color:var(--white)}
@media (max-width:980px){
  .wyp-tabs{grid-template-columns:1fr}
  .wyp-tabs button{border-left:0 !important;border-top:1px solid var(--ink)}
  .wyp-tabs button:first-child{border-top:0}
}
.equip-rows{border-top:1px solid var(--ink)}
.equip-group{margin:0;padding:22px 0 6px;font-size:18px;font-weight:800}

/* Color configurator */
.colorizer{display:grid;grid-template-columns:5fr 7fr;gap:64px;align-items:center;border-top:1px solid var(--ink);padding-top:40px}
.body-toggle{display:inline-flex;border:1px solid var(--ink)}
.body-toggle button{min-height:48px;padding:0 18px;border:0;cursor:pointer;font-size:15px;font-weight:700;letter-spacing:.06em;background:var(--white);color:var(--ink)}
.body-toggle button.on{background:var(--ink);color:var(--white)}
.color-label{margin:40px 0 8px;color:var(--gray)}
.color-name{margin:0 0 24px;font-size:22px;font-weight:800;line-height:1.2;min-height:54px}
.swatches{display:flex;flex-wrap:wrap;gap:12px}
.swatches button{width:52px;height:52px;cursor:pointer;padding:0;border:1px solid rgba(14,14,15,.25);outline:2px solid transparent;outline-offset:4px}
.swatches button.on{outline-color:var(--red)}
.color-count{margin:28px 0 0;font-size:14px;color:var(--gray)}
.color-preview{background:var(--cream);display:flex;align-items:center;justify-content:center;min-height:520px;padding:24px}
.color-preview img{width:100%;max-width:860px;height:auto}

/* CTA banner */
.cta-banner{background:var(--ink);color:var(--white);padding:72px 0}
.cta-banner .wrap{display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.cta-banner h2{margin:0 0 14px;font-size:clamp(28px,3vw,44px);line-height:1.2;font-weight:800}
.cta-banner p{margin:0;font-size:17px;line-height:1.55;color:rgba(255,255,255,.82);max-width:760px}

/* Footer */
.site-footer{background:var(--ink);color:rgba(255,255,255,.6);border-top:1px solid var(--ink-soft)}
.footer-row{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:32px 0}
.footer-row img{height:34px;width:auto}
.footer-row .m{font-size:13px}
.footer-row a{color:inherit}
.footer-row a:hover{color:var(--white)}
.footer-disclaimer{margin:0;flex-basis:100%;font-size:12px;line-height:1.5;color:rgba(255,255,255,.45)}

/* Utilities */
/* .hide-m only needs to act at the mobile breakpoint (below); it must not
   force display:block on desktop, or it clobbers flex/inline-flex elements
   that happen to also need hiding on mobile (e.g. .navlinks, .btn). */

/* =========== Responsive =========== */
@media (max-width:980px){
  .navlinks,.header-actions .btn-line{display:none}
  .menu-toggle{display:block}
  .offer{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .offer .card.big{grid-column:1/-1 !important;grid-row:auto !important}
  .g3,.g4,.g5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split{grid-template-columns:1fr;gap:32px}
  .oferta-split{grid-template-columns:1fr}
  .vg{grid-template-columns:1fr}
  .colorizer{grid-template-columns:1fr}
  .hide-m{display:none !important}
  .wyp-tabs{display:grid}
}
/* design-tool exports freeze section-head children at their desktop canvas
   width (e.g. 676-677px). .wrap is capped at var(--wrap-max):1360px, so its
   content box only reaches that same desktop width once the viewport itself
   is >=1360px; below that, the frozen widths force the 5fr/7fr .split
   columns wider than the available space and overflow the viewport
   (e.g. ~77px overflow around 1400px). Let them size naturally up to the
   point .wrap guarantees enough room,
   then the approved fixed geometry applies unchanged at 1360px+. */
@media (min-width:981px) and (max-width:1359px){
  .oferta-split{grid-template-columns:minmax(0,53%) minmax(0,1fr)}
}
@media (max-width:1359px){
  .section-head h2,.lede,.body-copy{width:auto !important;height:auto !important}
}
@media (max-width:620px){
  .wrap{padding:0 16px}
  .g2,.g3,.g4,.g5{grid-template-columns:1fr}
  .offer{grid-template-columns:1fr !important}
  .btn{width:100%}
  /* mobile 390 source: Oferta/Reviews sections use 64px padding (vs 120px desktop) */
  #oferta{padding-top:64px !important;padding-bottom:102px !important}
  .reviews-section{padding:64px 0 !important}
  .proces-section{padding-top:64px !important}
  /* mobile 390 source shrinks the big red step-index numerals from 72px to 39px */
  .step .idx{font-size:39px}
  .steps .step,.trust-col,.financing-cards>div,.addon-grid>div{border-right:0;padding-left:0 !important}
  .model-hero h1{font-size:clamp(40px,14vw,80px)}
  .footer-row{justify-content:center;text-align:center;padding:28px 0}
  .about-features>div{border-right:0;padding-left:0 !important}
  .contact-info>div{border-right:0 !important;padding-left:0 !important;border-bottom:1px solid rgba(255,255,255,.22) !important}
  .contact-info>div:last-child{border-bottom:0 !important}
  .interior-gallery{grid-template-columns:1fr}
  .interior-gallery img{height:320px}

  /* Topbar: design's mobile 390 artboard ships this strip empty */
  .topbar .m{display:none}

  /* Hero: mobile 390 source uses a shorter, differently-layered composition
     (capped image height + extra transition gradient) and its own H1/CTA copy */
  /* mobile 390 source bottom-aligns hero content via flex (align-items:flex-end)
     instead of a fixed top padding, so content sits flush with the hero's
     bottom edge rather than floating near the top with empty space below */
  .hero{height:720px !important;display:flex !important;flex-direction:column;justify-content:flex-end}
  .hero-inner{padding-top:0 !important;padding-bottom:46px}
  .hero-media{height:460px !important}
  .hero-transition{display:block}
  .hero-veil{background:linear-gradient(0deg,rgba(14,14,15,.88) 11%,rgba(14,14,15,.55) 35%,rgba(14,14,15,0) 59%,rgba(14,14,15,0) 64%,rgba(14,14,15,.88) 100%) !important}
  .hero-h1-desktop{display:none}
  .hero-h1-mobile{display:block}
  .hero-cta-desktop{display:none !important}
  .hero-cta-mobile{display:grid !important}
  .hero-stats{display:none}

  /* Reviews: mobile heading breaks across 3 lines, score number shrinks */
  .reviews-h2-desktop{display:none}
  .reviews-h2-mobile{display:block}
  .reviews-score .num{font-size:36px}

  /* Headings whose desktop line-break only suits the wide column:
     mobile source either forces its own break (financing) or flows
     the heading naturally (purchase conditions) */
  .hide-mobile-br{display:none}
  .show-mobile-br{display:block}
  .financing h2{font-size:32px}
  /* mobile 390 source: financing split uses 56px top/bottom (vs 120px desktop) */
  .financing-grid{padding-top:56px !important;padding-bottom:56px !important}
  .calc-breakdown{grid-template-columns:1fr}
  .calc-breakdown>div{padding:14px 0 0 0 !important}
  /* mobile 390 source shortens the two financing CTA buttons' copy, and
     trims the trailing sentence of the warranty trust-col paragraph */
  .show-mobile-only{display:inline}
  .hide-mobile-only{display:none}
  /* mobile 390 source: step 02's body copy is a single shortened sentence, not the full paragraph */
  p.show-mobile-only{display:block}

  /* mobile 390 source: Warunki zakupu section uses 64px padding (vs 120px desktop) */
  .warunki-section{padding:64px 0 !important}
  .warunki-section h2{font-size:32px !important}

  /* Oferta big card (Jimny): desktop uses a fixed 400px image height, 56px
     h3, and a 2-column price grid; mobile 390 source instead sizes the image
     by aspect-ratio, shrinks the heading, and stacks the two price blocks */
  .card.big img.product{height:auto;aspect-ratio:4/3}
  .card.big h3{font-size:36px}
  .big-prices{grid-template-columns:1fr}
}

/* Mobile nav drawer */
.mobile-nav{position:fixed;inset:0;background:var(--ink);z-index:100;display:flex;flex-direction:column;padding:24px;transform:translateX(100%);transition:transform .25s ease;overflow-y:auto}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.mobile-nav-head img{height:32px}
.mobile-nav-close{background:none;border:0;color:var(--white);cursor:pointer;padding:8px}
.mobile-nav a{color:var(--white);font-size:20px;font-weight:600;padding:14px 0;border-bottom:1px solid var(--ink-soft)}
.mobile-nav .mobile-nav-head .mobile-nav-logo{display:inline-flex;align-items:center;padding:0;border:0;line-height:0}
.mobile-nav .btn{margin-top:24px}
body.nav-open{overflow:hidden}

/* ========================================================================
   Iconic Motors HOMEPAGE — approved separate 390px mobile design, November 2026.
   Reference: Main-m.dc.html / Main-mb.dc.html / Main2-m.dc.html.
   Scope to .homepage to preserve the approved desktop and Land Cruiser pages.
   ======================================================================== */
.header-mobile-offer,.about-copy-mobile,.contact-mobile-br{display:none}
@media (max-width:620px){
  /* Mobile artboard has NO 36px information strip; retain its 1px hairline. */
  .homepage .topbar .wrap{height:0;min-height:0;padding:0}
  .homepage .site-header .logo img{height:34px}
  .homepage .header-actions{gap:14px}
  .homepage .header-actions .header-desktop-phone{display:none}
  .homepage .header-actions .header-mobile-offer{
    display:inline-flex;width:148px;min-width:148px;min-height:44px;
    padding:0 10px;font-size:12px;white-space:nowrap
  }
  .homepage .site-header .wrap{gap:10px;flex-wrap:nowrap}

  /* In the original mobile hero, the buttons remain bottom-aligned while the
     headline, eyebrow and subtitle sit ~50px higher than in V5. */
  .homepage .hero-cta-mobile{margin-top:84px}
  .homepage #oferta h2{font-size:32px}
  .homepage .proces-section h2{font-size:32px}

  /* Mobile-history art direction: 972px panoramic photography BELOW the copy,
     not the desktop four-feature text strip superimposed on the photograph. */
  .homepage .about{height:972px !important}
  .homepage .about-media{
    top:auto;bottom:0;height:520px;object-position:70% 100%;
  }
  .homepage .about-veil-top{
    background:linear-gradient(180deg,#0e0e0f 0%,#0e0e0f calc(100% - 520px),
      rgba(14,14,15,.85) calc(100% - 470px),rgba(14,14,15,.55) calc(100% - 400px),
      rgba(14,14,15,.25) calc(100% - 320px),rgba(14,14,15,0) calc(100% - 230px));
  }
  .homepage .about-hero-wrap{padding-top:82px !important;padding-bottom:0}
  .homepage .about h2{font-size:32px}
  .homepage .about-copy-desktop{display:none}
  .homepage .about-copy-mobile{display:block}
  .homepage .about-phone-cta,.homepage .about-features-wrap{display:none}
  .homepage .about-veil-bottom{display:none}

  /* Mobile-only FAQ formatting from the approved continuation artboard. */
  .homepage #faq{padding:64px 0 !important}
  .homepage #faq h2{font-size:32px !important}
  .homepage #faq summary{display:block}
  .homepage #faq summary::after{display:block;margin-top:16px}

  /* Mobile contact is its own stacked composition, not desktop columns. */
  .homepage .contact{padding:64px 0 56px}
  .homepage .contact-grid{gap:32px}
  .homepage .contact h2{font-size:32px}
  .homepage .contact-mobile-br{display:block}
  .homepage .contact-lede{margin-bottom:40px}
  .homepage .contact-info a{text-decoration:underline}
  .homepage .contact-form{margin:0 8px;padding:36px;gap:18px}
  .homepage .contact-directions{margin:24px 8px 0;}
  /* Mobile map: a visible map directly below the directions card.
     The source artboard contained a fixed 611px canvas with its photograph only
     in the bottom 312px; preserving that empty canvas on a real iPhone created
     a very large black void. Keep the designed short dark-to-map transition,
     but let the photo occupy the entire 312px map area. Desktop untouched. */
  .homepage .contact{padding-bottom:0}
  .homepage .contact-grid{position:relative;z-index:2}
  .homepage .map{height:312px;margin-top:0;z-index:1}
  .homepage .map img{inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 57%}
  .homepage .map-veil{
    inset:0;
    height:auto;
    background:linear-gradient(180deg,#0e0e0f 0%,
      rgba(14,14,15,.80) 10%,rgba(14,14,15,.35) 22%,
      rgba(14,14,15,0) 38%);
  }
}

@media (max-width:620px){
  /* Original mobile buttons are two equal side-by-side CTAs. */
  .homepage .financing-cta-mobile{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .homepage .financing-cta-mobile .btn{min-width:0;padding:0 8px;font-size:11px}
  .homepage .financing-fine{font-size:9px}
  /* Keep the fully functional calculator; reproduce its approved mobile type scale. */
  .homepage .calc-result .rate{font-size:36px}
  .homepage .calc-disclaimer{font-size:9px;line-height:1.35}
  .homepage #faq h2{margin:0 0 20px !important}
  /* Original mobile form uses a 24px internal gutter (source override). */
  .homepage .contact-form{padding:24px}
}
@media (max-width:620px){
  /* Mobile H1's parent is 36px in the original, while both spans stay 32px;
     the larger inherited line-height is deliberate and controls the wrap. */
  .homepage .hero-h1-mobile{font-size:36px !important;line-height:1.05}
  .homepage .hero-h1-mobile span{font-size:32px}
}

@media (max-width:620px){
  /* Fine alignment with the final 390px homepage design export. */
  .homepage .menu-toggle{border:1px solid rgba(255,255,255,.55);padding:7px}
  .homepage #faq h2{line-height:1.2}
  .homepage #faq .body-copy{margin-bottom:8px}
  .homepage #faq p{text-align:left}
  .homepage #faq details:last-child summary{display:flex;align-items:center;justify-content:space-between}
  .homepage #faq details:last-child summary::after{display:inline;margin-top:0}
}


/* ================================================================
   V8 — Mobile readability and vertical rhythm polish.
   Scoped to homepage <=620px: DO NOT alter the approved desktop.
   Keep approved mobile copy as-is; only text alignment/spacing.
   ================================================================ */
@media (max-width:620px){
  /* A fixed header should not cover content after a menu/CTA anchor click.
     Ordinary scrolling still behaves like a normal sticky header. */
  .homepage section[id]{scroll-margin-top:96px}

  /* Justification creates huge irregular word gaps on a narrow screen.
     Preserve font sizes, paragraphs and manual mobile-specific copy. */
  .homepage .step p,
  .homepage .trust-col p,
  .homepage .trust-foot p,
  .homepage .faq p,
  .homepage .callout p,
  .homepage .body-copy{
    text-align:left;
    text-justify:auto;
    word-spacing:normal;
  }

  /* The source desktop section has 220px of bottom padding. That is a
     large blank gap on a phone. Match the existing mobile 64px rhythm. */
  .homepage .proces-section{
    padding-bottom:64px !important;
  }
  .homepage .proces-section .section-head{
    padding-bottom:28px;
  }
  .homepage .steps .step{
    padding:18px 0 12px !important;
  }
  .homepage .steps .step:not(:first-child){
    padding-top:12px !important;
  }
  .homepage .steps .step:last-child{
    padding-bottom:0 !important;
  }
  .homepage .step h3{
    margin:14px 0 10px;
  }
  .homepage .callout{
    margin-top:28px;
    padding:18px 20px;
  }

  /* The desktop 28px padding above AND below each trust column becomes
     56px of visual dead space between stacked mobile blocks. */
  .homepage .trust-grid .trust-col{
    padding:16px 0 18px !important;
  }
  .homepage .trust-grid .trust-col:not(:first-child){
    padding-top:16px !important;
  }
  .homepage .trust-col h3{
    margin-bottom:10px;
  }
  .homepage .trust-foot{
    margin-top:22px;
    padding-top:20px;
  }

  /* Jimny card: the 2-column desktop divider/padding must not survive
     after its pricing rows are stacked to one column on mobile. */
  .homepage .card.big .big-body{
    gap:10px;
  }
  .homepage .card.big .lead{
    line-height:1.45;
  }
  .homepage .big-prices > div{
    border-right:0;
    border-bottom:1px solid var(--border-strong);
    padding:12px 0;
  }
  .homepage .big-prices > div:last-child{
    border-bottom:0;
    padding:12px 0 0;
  }

  /* Legal footer: keep exact copy, let it break gracefully on 390px. */
  .homepage .footer-row{
    row-gap:18px;
  }
  .homepage .footer-row .m{
    display:block;
    width:100%;
    font-size:11px;
    line-height:1.65;
    letter-spacing:.04em;
    overflow-wrap:normal;
    -webkit-hyphens:none;
    hyphens:none;
  }
  .homepage .footer-disclaimer{
    overflow-wrap:normal;
  }
}


/* ================================================================
   V9 — Mobile breathing room polish requested after device review.
   More whitespace around process / purchase-conditions / financing / map.
   Homepage only, <=620px.
   ================================================================ */
@media (max-width:620px){
  /* Process section: airier spacing between lead, divider and steps. */
  .homepage .proces-section{
    padding-top:72px !important;
    padding-bottom:80px !important;
  }
  .homepage .proces-section .section-head{
    padding-bottom:38px;
  }
  .homepage .steps .step{
    padding:28px 0 20px !important;
  }
  .homepage .steps .step:not(:first-child){
    padding-top:24px !important;
  }
  .homepage .step .idx{
    display:block;
    margin-bottom:16px;
  }
  .homepage .step h3{
    margin:0 0 16px;
    line-height:1.28;
  }
  .homepage .step p{
    line-height:1.68;
  }
  .homepage .callout{
    margin-top:40px;
    padding:24px 22px;
  }

  /* Purchase conditions / trust section: more vertical rhythm. */
  .homepage .warunki-section{
    padding:80px 0 88px !important;
  }
  .homepage .warunki-section .section-head{
    padding-bottom:34px;
  }
  .homepage .trust-grid .trust-col{
    padding:24px 0 26px !important;
  }
  .homepage .trust-col h3{
    margin-bottom:14px;
    line-height:1.2;
  }
  .homepage .trust-col p,
  .homepage .trust-foot p{
    line-height:1.7;
  }
  .homepage .trust-foot{
    margin-top:32px;
    padding-top:24px;
  }
  .homepage .trust-foot h3{
    margin-bottom:14px;
  }

  /* Financing: reduce the blob and open the text block. */
  .homepage .financing-blob{
    width:220px;
    height:220px;
    top:-22px;
    right:-72px;
  }
  .homepage .financing-grid{
    padding-top:72px !important;
    padding-bottom:72px !important;
  }
  .homepage .financing h2{
    margin-bottom:24px;
    line-height:1.08;
  }
  .homepage .financing .lede{
    margin-bottom:14px;
  }
  .homepage .financing .body-copy{
    margin-bottom:34px;
    line-height:1.62;
  }
  .homepage .financing-cta-mobile{
    margin-top:6px;
    gap:14px;
  }
  .homepage .financing-cards{margin-top:8px}
  .homepage .financing-cards > div{
    padding:20px 0 0 !important;
  }

  /* Contact + map: slightly more breathing room around the directions card. */
  .homepage .contact-grid{
    gap:36px;
  }
  .homepage .contact-directions{
    margin:36px 8px 0;
    padding:28px 24px 30px;
  }
  .homepage .map{
    height:340px;
  }
}


/* v10.2: approved mobile header has no top information strip.
   Home and financing only; full desktop topbar stays untouched. */
@media (max-width:620px){
  body.homepage > .topbar,
  body.finance-page > .topbar{display:none !important}
}

/* v10.4 — Sitewide typography: never split a word in the middle.
   Applies to home, financing, and Land Cruiser, desktop and mobile.
   Line wrapping BETWEEN complete words remains natural. */
html body, html body * {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Jeden stały telefon w czerwonym przycisku nagłówka na wszystkich widokach mobile. */
@media (max-width:620px){
  .site-header .header-actions .header-desktop-phone{display:none!important}
  .site-header .header-actions .header-mobile-offer{
    display:inline-flex!important;align-items:center;justify-content:center;
    box-sizing:border-box;width:148px!important;min-width:148px;min-height:44px;
    padding:0 8px;font-size:12px;line-height:1;white-space:nowrap
  }
}


/* Homepage mobile return-to-top control, shown once the hero has scrolled away. */
@media (max-width:620px) {
  .homepage .im-home-back-to-top {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 81;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid #c8102e;
    border-radius: 0;
    background: #c8102e;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .homepage .im-home-back-to-top svg { display: block; width: 24px; height: 24px; }
  .homepage .im-home-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .homepage .im-home-back-to-top:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage .im-home-back-to-top { transition: none; }
}


/* 2026-11-16 — mobile spacing for model cards, versions and owner galleries */
@media (max-width: 620px) {
  .homepage #oferta .offer { row-gap: 48px !important; }

  /* Slightly enlarge the vehicle cutout inside Jimny and Wrangler color previews. */
  section[data-jm-section="m2-1"] img[data-jm-color-image],
  section[data-wr-section="m-2-1"] img[data-wr-image] {
    transform: scale(1.08);
    transform-origin: center;
  }

  /* Normalize the title/description-to-gallery spacing and remove fixed empty space. */
  section[data-jm-section="m1-3"] > .wrap,
  section[data-wr-section="m-3-3"] > .wrap,
  section[data-4r-section="m-mmain-3"] > .wrap,
  section[data-lc-section="m-main-4"] > .wrap,
  section[data-sw-section="m-3"] > .wrap {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 24px !important;
  }
  section[data-jm-section="m1-3"] > .wrap > div {
    height: auto !important;
    padding-bottom: 0 !important;
  }
  section[data-wr-section="m-3-3"] > .wrap > .split,
  section[data-4r-section="m-mmain-3"] > .wrap > .split,
  section[data-lc-section="m-main-4"] > .wrap > .split,
  section[data-sw-section="m-3"] > .wrap > .split {
    height: auto !important;
    width: auto !important;
    padding-bottom: 24px !important;
  }
  section[data-wr-section="m-3-3"] > .wrap > .split > div > .split,
  section[data-4r-section="m-mmain-3"] > .wrap > .split > div > .split,
  section[data-lc-section="m-main-4"] > .wrap > .split > div > .split {
    height: auto !important;
    padding-bottom: 0 !important;
  }

  /* Consistent separation between stacked model/trim option cards. */
  section[data-jm-section="m1-2"] .g2,
  section[data-jm-section="m2-0"] .g2,
  section[data-wr-section="m-3-2"] .g2,
  section[data-wr-section="m-2-0"] .g2,
  section[data-4r-section="m-mmain-2"] .g2,
  section[data-lc-section="m-main-2"] .g2,
  section[data-sw-section="m-2"] .g2 {
    row-gap: 24px !important;
  }
}
