/* Końcowa warstwa mobile. Nie zmienia widoku desktopowego. */
@media (max-width:767px) {
  /* Odstęp sekcji Promocja jest ustawiany w Zaawansowane > Padding widgetu Elementora. */
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(8) .l360-section{
    height:auto!important;
    min-height:0!important;
    padding:0!important;
  }
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{font-size:15px}
  #main-container,.site-main,.elementor,.elementor-section-wrap{max-width:100%;overflow:visible}
  .elementor-page:not(.home) .elementor{margin:0!important;transform:none!important}
  .elementor-page:not(.home) .elementor>.e-con:first-child>.e-con-inner>:nth-child(2){transform:none!important}
  .l360-wrap,.l360-page-content{box-sizing:border-box;width:calc(100% - 32px)!important;max-width:100%;margin-inline:auto!important}
  .l360-page-mark{display:none!important}
  h1,.l360-hero h1,.l360-offer-page h1,.l360-business-page h1,.l360-consumer-page h1,.l360-faq-page h1,.l360-compare-page h1,.l360-content-archive h1,.l360-content-single h1{font-size:34px!important;line-height:39px!important;letter-spacing:-.7px!important}
  h2,.l360-section h2{font-size:28px!important;line-height:34px!important;letter-spacing:-.4px!important}
  p,.l360-lead,.l360-audience-lead{max-width:100%;font-size:15px;line-height:23px}
  .l360-button,.elementor-button,button.l360-submit{max-width:100%;min-height:44px;padding:10px 18px;white-space:normal;text-align:center}

  /* Nagłówek i stopka */
  #header [data-row="middle"]{--height:64px!important}
  #header .site-logo-container img{max-width:172px!important;max-height:48px!important}
  #header .site-title,#header [class*="site-title"]{display:none!important}
  .l360-footer,.home .l360-footer,body.elementor-page:not(.home) .l360-footer,body:is(.page-id-84,.page-id-88,.page-id-119,.page-id-74,.page-id-121,.page-id-58).elementor-page:not(.home) .l360-footer{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;margin-top:64px!important;padding:48px 16px 24px!important;transform:none!important;overflow:visible!important}
  .l360-footer__grid,.home .l360-footer__grid{width:100%!important;grid-template-columns:1fr!important;gap:30px!important}
  .l360-footer__bottom,.home .l360-footer__bottom{height:auto!important;margin-top:32px;padding:20px 0}
  .l360-footer__bottom>.l360-wrap,.home .l360-footer__bottom>.l360-wrap{width:100%!important;height:auto!important;align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  .l360-footer__logo{max-width:140px}

  /* Strona główna — kasowanie historycznych sztywnych wymiarów. */
  .home .elementor>.e-con:first-child>.e-con-inner>:nth-child(n){box-sizing:border-box;width:100%!important;margin-left:0!important;transform:none!important}
  .home .l360-section,.home .l360-partner-section,.home .l360-finance-section,.home .l360-audience-section,.home .l360-opinions-section,.home .l360-cases-section,.home .l360-calculator-section,.home .l360-home-faq{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:56px 16px!important;overflow:visible!important}
  .home .l360-hero{padding:40px 0 52px}
  .home .l360-hero__grid,.home .l360-grid--2,.home .l360-finance-grid,.home .l360-audience-copy,.home .l360-why-grid{grid-template-columns:1fr!important;gap:28px!important;height:auto!important;overflow:visible!important}
  .home .l360-media{order:2}
  .home .l360-partner-inner,.home .l360-audience-section>.l360-wrap,.home .l360-cases-section>.l360-wrap,.home .l360-home-faq__inner{box-sizing:border-box;width:100%!important;max-width:100%!important}
  .home .l360-partner-lead,.home .l360-partner-note,.home .l360-institution-marquee,.home .l360-partner-actions{width:100%!important}
  .home .l360-institution-marquee{height:78px;overflow:hidden}
  .home .l360-partner-actions,.home .l360-finance-actions,.home .l360-audience-actions,.home .l360-founder-actions,.home .l360-home-faq__actions{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .home .l360-partner-actions .l360-button,.home .l360-finance-actions .l360-button,.home .l360-audience-actions .l360-button,.home .l360-home-faq__actions .l360-button{width:100%!important}
  .home .l360-finance-cards,.home .l360-audience-grid,.home .l360-opinions-grid,.home .l360-cases-grid{height:auto!important;grid-template-columns:1fr!important;grid-template-rows:none!important;gap:16px!important}
  .home .l360-finance-cards article,.home .l360-cases-grid article{height:auto!important;min-height:190px}
  .home .l360-audience-copy{align-content:initial}
  .home .l360-audience-image{width:100%;height:auto!important;max-height:360px;object-fit:cover;border-radius:18px}
  .home .l360-compare-proto{height:auto!important;overflow-x:auto!important;border-radius:16px}
  .home .l360-compare-head,.home .l360-compare-row{min-width:620px}
  .home .l360-founder-section{box-sizing:border-box;width:100%!important;height:auto!important;min-height:690px;margin:0!important;border-radius:0;overflow:hidden}
  .home .l360-founder-copy{position:relative!important;left:auto!important;top:auto!important;box-sizing:border-box;width:100%!important;padding:48px 24px 320px!important}
  .home .l360-founder-copy h2{width:auto!important;font-size:30px!important;line-height:37px!important}
  .home .l360-founder-section>img{right:50%!important;bottom:0!important;width:auto!important;max-width:340px!important;height:320px!important;transform:translateX(50%);object-fit:contain}
  .home .l360-offer-cta{box-sizing:border-box;width:100%!important;height:auto!important;padding:40px 16px!important}
  .home .l360-offer-cta__box{width:100%;height:auto!important;min-height:0;align-items:stretch;flex-direction:column;padding:28px 22px}
  .home .l360-offer-cta .l360-button{width:100%;min-width:0}
  .home .l360-home-faq .l360-faq details,.home .l360-home-faq .l360-faq summary{height:auto!important;min-height:54px;overflow:visible!important}
  .home .l360-home-faq .l360-faq summary{padding:15px 0}
  .home .l360-form{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:24px 20px 30px!important;overflow:hidden}

  /* Formularze na wszystkich stronach */
  .l360-form-grid,.page-id-66 .l360-form-grid,.page-id-70 .l360-form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .l360-form-grid .l360-full,.page-id-66 .l360-form-grid .l360-full,.page-id-70 .l360-form-grid .l360-full{grid-column:auto!important}
  .l360-form .l360-consent{grid-template-columns:18px minmax(0,1fr)!important}
  .l360-form .l360-consent>span{font-size:12px;line-height:17px}
  .l360-form .l360-consent a{white-space:normal}

  /* Oferta, dla firm i konsumentów */
  .l360-offer-page,.l360-business-page,.l360-consumer-page,.l360-reference-form,.l360-reference-form--consumer{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:48px 0!important;overflow:visible!important}
  .l360-offer-page>.l360-wrap{width:calc(100% - 32px)!important}
  .l360-offer-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  .l360-offer-tabs a,.l360-offer-tabs button{position:static!important;width:100%;height:auto!important;min-height:42px;padding:8px 10px!important;text-align:center}
  .l360-offer-tabs a:last-child{grid-column:1/-1}
  .l360-offer-layout,.l360-offer-first,.l360-offer-rest,.l360-business-cards,.l360-consumer-cards{width:100%!important;height:auto!important;grid-template-columns:1fr!important;grid-template-rows:none!important;gap:14px!important}
  .l360-offer-layout>img{width:100%!important;height:auto!important;max-height:320px;object-fit:contain}
  .l360-offer-service,.l360-business-cards article,.l360-consumer-cards article{height:auto!important;min-height:155px!important;padding:22px!important}
  .l360-business-note,.l360-consumer-cta{height:auto!important;align-items:flex-start;flex-direction:column}
  .l360-reference-form>div,.l360-reference-form .l360-form,.l360-reference-form--consumer .l360-form{box-sizing:border-box;width:calc(100% - 32px)!important;height:auto!important;min-height:0!important}

  /* Flota360 i promocje */
  .l360-pills{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
  .l360-pill{flex:none;white-space:nowrap}
  .l360-vehicle-grid,.l360-promo-grid{grid-template-columns:1fr!important;gap:18px!important}
  .l360-vehicle-card{padding:18px!important}
  .l360-vehicle-card__visual{aspect-ratio:16/10;margin:12px 0}
  .l360-promo-more{grid-column:auto!important;padding:28px 20px!important}

  /* Szczegóły samochodu */
  .single-l360_vehicle .l360-offer-detail{height:auto!important;min-height:0!important;padding:28px 0 64px!important;overflow:visible!important}
  .single-l360_vehicle .l360-offer-detail>.l360-wrap{width:calc(100% - 32px)!important;transform:none!important}
  .single-l360_vehicle .l360-offer-detail__grid{grid-template-columns:1fr!important;gap:28px!important;margin-top:18px}
  .single-l360_vehicle .l360-offer-gallery__main{box-sizing:border-box;width:100%!important;height:auto!important;min-height:260px!important;padding:16px}
  .single-l360_vehicle .l360-offer-gallery__main img{width:100%;height:auto!important;max-height:300px!important;transform:none!important}
  .single-l360_vehicle .l360-offer-summary{width:100%!important;transform:none!important}
  .single-l360_vehicle .l360-offer-title{align-items:flex-start;flex-direction:column;gap:8px}
  .single-l360_vehicle .l360-offer-summary h1{font-size:34px!important;line-height:40px!important}
  .single-l360_vehicle .l360-offer-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:24px}
  .single-l360_vehicle .l360-offer-actions .l360-button,.single-l360_vehicle .l360-phone-link{box-sizing:border-box;width:100%;min-width:0}
  .single-l360_vehicle .l360-offer-params{grid-template-columns:minmax(0,1fr) auto;font-size:13px}
  .single-l360_vehicle .l360-offer-params dt,.single-l360_vehicle .l360-offer-params dd{padding:10px 0}
  .single-l360_vehicle .l360-offer-cta,.single-l360_vehicle .l360-offer-cta>div{align-items:stretch!important;flex-direction:column!important}
  .single-l360_vehicle .l360-offer-cta{margin-top:40px;padding:24px 20px}
  .single-l360_vehicle .l360-offer-cta .l360-button{width:100%}
  .single-l360_vehicle .l360-footer{margin-top:0!important}

  /* Wiedza, blog i FAQ */
  .l360-knowledge-page,.l360-faq-page,.l360-content-archive,.l360-content-single{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:48px 0 64px!important;overflow:visible!important}
  .l360-knowledge-cards,.l360-content-grid{grid-template-columns:1fr!important;gap:16px!important}
  .l360-knowledge-cards>a{height:auto!important;min-height:135px}
  .l360-content-thumb{height:210px}
  .l360-content-archive h1,.l360-content-single h1{margin-top:12px}
  .l360-single-hero{max-height:360px;margin:22px 0;border-radius:14px}
  .l360-entry-content{margin-top:28px;font-size:16px;line-height:1.7}
  .l360-faq-page nav{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;flex-wrap:nowrap}
  .l360-faq-page nav a{flex:none}
  .l360-faq-group{scroll-margin-top:82px}
  .l360-faq-group h2{font-size:23px!important;line-height:30px!important}
  .l360-faq-group summary{box-sizing:border-box;height:auto!important;min-height:64px!important;padding:16px 0;font-size:15px!important;line-height:22px!important}

  /* O nas i Kontakt */
  .l360-about-page,.l360-about-form,.l360-contact-page,.l360-contact-grid,.l360-contact-left{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important}
  .l360-about-page,.l360-contact-page{padding:40px 0 56px!important}
  .l360-about-founder{height:auto!important;align-items:center;flex-direction:column;padding:24px!important;text-align:left}
  .l360-about-founder>img{width:160px;height:auto!important}
  .l360-about-form{padding:40px 0!important}
  .l360-about-form>div,.l360-about-form .l360-form{box-sizing:border-box;width:calc(100% - 32px)!important;height:auto!important;min-height:0!important}
  .l360-contact-grid{grid-template-columns:1fr!important;gap:24px!important;margin-top:32px!important}
  .l360-contact-data{height:auto!important;min-height:160px;padding:22px 150px 22px 20px!important}
  .l360-contact-data::after{right:18px;top:30px;width:110px;height:84px}
  .l360-contact-founder{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;height:auto!important;min-height:390px;overflow:hidden!important}
  .l360-contact-founder>img{position:static!important;width:120px!important;height:100%!important;min-height:390px;object-fit:cover}
  .l360-contact-person{position:static!important;padding:20px!important}
  .l360-contact-person>div{position:static!important;width:auto!important}
  .l360-contact-grid>.l360-form{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:24px 20px 32px!important}

  /* Porównywarka */
  .l360-compare-page{box-sizing:border-box;width:100%!important;height:auto!important;min-height:0!important;padding:48px 0 72px!important;overflow:visible!important;background:#fff!important}
  .l360-compare-hero{grid-template-columns:1fr!important;gap:28px!important;min-height:0!important}
  .l360-compare-quick{padding:22px 18px}
  .l360-compare-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .l360-compare-actions .l360-button{width:100%}
  .l360-compare-benefits,.l360-compare-cards,.l360-compare-steps,.l360-compare-checklist,.l360-compare-offer-types,.l360-compare-opinions{grid-template-columns:1fr!important;gap:14px!important}
  .l360-compare-benefits{margin:36px 0 56px}
  .l360-compare-page h2{margin-top:56px!important;font-size:28px!important;line-height:34px!important}
  .l360-compare-form{box-sizing:border-box;width:100%!important;margin-top:56px!important;padding:20px 0!important;background:none!important}
  .l360-detailed-form{box-sizing:border-box;width:100%!important;padding:22px 16px!important}
  .l360-detailed-form fieldset{grid-template-columns:1fr!important;padding:16px!important}
  .l360-detailed-form .l360-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px}
  .l360-detailed-form>button{width:100%!important}
  .l360-compare-broker,.l360-compare-final{margin-top:56px!important;padding:24px 20px!important}

  /* Kalkulatory */
  .l360-calc-intro{display:block!important;box-sizing:border-box;width:calc(100% - 32px);padding:40px 0 56px!important}
  .l360-calc-intro h1{font-size:34px!important;line-height:40px!important}
  .l360-calc-cards{grid-template-columns:1fr!important;gap:14px}
  .l360-calc-cards button{min-height:155px}
  .l360-calc-panels{padding:8px!important;align-items:flex-start!important}
  .l360-calc-panel{box-sizing:border-box;width:100%!important;max-height:none!important;margin:8px 0;padding:24px 16px!important;border-radius:18px!important}
  .l360-calc-fields,.l360-result-grid,.l360-calc-lead-fields{grid-template-columns:1fr!important}
  .l360-calc-lead.is-visible{grid-template-columns:1fr!important;gap:20px;padding:18px}
  .l360-tax-table{min-width:640px}

  /* Dokumenty prawne */
  .l360-legal-page{box-sizing:border-box;width:100%!important;padding:44px 0 64px!important}
  .l360-legal-page .l360-page-content{width:calc(100% - 32px)!important}
  .l360-legal-page h1{font-size:34px!important;line-height:40px!important}
  .l360-legal-page h2{margin-top:32px!important;font-size:21px!important;line-height:28px!important}
  .l360-legal-page p,.l360-legal-page li{font-size:15px!important;line-height:1.65!important}

  /* Usługi */
  .single-l360_service .l360-service-reference{box-sizing:border-box;width:calc(100% - 32px)!important;height:auto!important;min-height:0!important;padding:40px 0 64px!important;overflow:visible!important}
  .l360-service-reference h1{font-size:34px!important;line-height:40px!important}
  .l360-service-reference nav,.l360-service-actions{display:flex;gap:10px;flex-wrap:wrap}
  .l360-service-reference img{max-width:100%;height:auto!important}
}

/* Finalne nadpisanie aktywnego breakpointu mobile. */
@media (max-width:767px) {
  html body,html body.admin-bar{padding-top:0!important}
  html body #header{position:fixed!important;z-index:9998!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:#fff!important}
  html body.admin-bar #header{top:46px!important}
  html body #main{padding-top:65px!important}
  html body.page-id-78 .l360-vehicle-card[hidden]{display:none!important}
  html body.page-id-78 .l360-vehicle-card__visual{box-sizing:border-box!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;margin:0 0 10px!important;padding:0!important;overflow:visible!important}
  html body.page-id-78 .l360-vehicle-card__visual img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0!important;object-fit:contain!important;object-position:center!important;transform:none!important}
}

@media (max-width:767px) {
  /* Korekta 1.1.3 */
  #header{position:fixed!important;z-index:9998!important;top:0!important;left:0!important;right:0!important;width:100%!important;background:#fff!important}
  body{padding-top:65px!important}
  body.admin-bar #header{top:32px!important}
  body.admin-bar{padding-top:97px!important}
  .l360-mobile-cta a:last-child{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:0!important}
  .l360-mobile-cta a:last-child::before{content:'';width:15px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='none' stroke='%230a121f' stroke-width='2'%3E%3Crect x='1' y='1' width='22' height='18' rx='2'/%3E%3Cpath d='m2 3 10 8 10-8'/%3E%3C/svg%3E") center/contain no-repeat}
  .l360-mobile-cta a:last-child::after{content:'Zapytaj';font-size:13px!important;line-height:1;color:#0a121f}

  .l360-offer-form-head{box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:42px 16px 24px!important;overflow:hidden!important;text-align:center!important}
  .l360-offer-form-head h2{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;font-size:27px!important;line-height:34px!important;transform:none!important}

  /* JS filtrów ustawia display:none inline — karta nie może mieć display!important. */
  body.page-id-78 .l360-vehicle-card{display:grid;}
  body.page-id-78 .l360-vehicle-card[hidden]{display:none!important}
  body.page-id-78 .l360-vehicle-card__visual{box-sizing:border-box!important;height:auto!important;aspect-ratio:16/10!important;margin:0 0 10px!important;padding:10px!important;background:#f1f9ff!important;overflow:visible!important}
  body.page-id-78 .l360-vehicle-card__visual img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;transform:none!important}

  .l360-footer,.home .l360-footer,body.elementor-page:not(.home) .l360-footer{position:relative!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;margin:40px 0 0!important;padding:44px 16px 88px!important;transform:none!important;overflow:visible!important}
  .l360-footer__grid,.home .l360-footer__grid{display:grid!important;width:100%!important;height:auto!important;min-height:0!important;grid-template-columns:1fr!important;gap:28px!important;margin:0!important}
  .l360-footer__grid>*{position:static!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important}
  .l360-footer__bottom,.home .l360-footer__bottom{position:static!important;width:100%!important;height:auto!important;min-height:0!important;margin:28px 0 0!important;padding:18px 0 0!important}
  .l360-footer__bottom>.l360-wrap,.home .l360-footer__bottom>.l360-wrap{display:flex!important;width:100%!important;height:auto!important;min-height:0!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;margin:0!important}
}

/* Korekta 1.1.1: naturalny przeplyw Elementora na telefonach.
 * Historyczny arkusz ustawial wysokosc kazdego widgetu strony glownej przez
 * :nth-child(). Po zmianach tresci powodowalo to nachodzenie kolejnych sekcji. */
@media (max-width:767px) {
  body.home .elementor>.e-con:first-child,
  body.home .elementor>.e-con:first-child>.e-con-inner,
  body.home .elementor>.e-con:first-child>.e-con-inner>.elementor-element{
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    inset:auto!important;
    transform:none!important;
    overflow:visible!important;
  }
  body.home .elementor>.e-con:first-child>.e-con-inner{
    display:block!important;
    width:100%!important;
    padding-inline:0!important;
  }
  body.home .elementor-widget>.elementor-widget-container,
  body.home .elementor-widget-shortcode .elementor-shortcode,
  body.home .elementor-widget-l360-home-promotions .elementor-shortcode,
  body.home .elementor-widget-l360-home-comparison .elementor-shortcode{
    box-sizing:border-box!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  /* Hero i wspolna os treści 16 px / 16 px. */
  body.home .elementor>.e-con:first-child>.e-con-inner>:first-child .l360-stack{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:500px!important;
    margin-inline:auto!important;
  }
  body.home h1{
    width:auto!important;
    max-width:100%!important;
    margin:18px 0 0!important;
    font-size:30px!important;
    line-height:1.12!important;
    letter-spacing:-.55px!important;
    overflow-wrap:normal;
    word-break:normal;
  }
  body.home .l360-stack>.l360-lead{
    width:auto!important;
    margin:18px 0 0!important;
    font-size:15px!important;
    line-height:23px!important;
  }

  /* Formularz i partnerzy musza uczestniczyc w normalnym przeplywie. */
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(2) .l360-form{
    width:100%!important;
    max-width:500px!important;
    height:auto!important;
    min-height:0!important;
    margin-inline:auto!important;
  }
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(3) .l360-marquee{
    width:100%!important;
    max-width:500px!important;
    height:78px!important;
    margin-inline:auto!important;
    overflow:hidden!important;
  }

  /* Jednolity, zwarty rytm sekcji. */
  body.home .l360-section,
  body.home .l360-finance-section,
  body.home .l360-audience-section,
  body.home .l360-opinions-section,
  body.home .l360-cases-section,
  body.home .l360-calculator-section,
  body.home .l360-home-faq{
    height:auto!important;
    min-height:0!important;
    padding:44px 16px!important;
  }
  body.home .l360-section>.l360-wrap,
  body.home .l360-finance-section>.l360-wrap,
  body.home .l360-audience-section>.l360-wrap,
  body.home .l360-opinions-section>.l360-wrap,
  body.home .l360-cases-section>.l360-wrap,
  body.home .l360-calculator-section>.l360-wrap,
  body.home .l360-home-faq__inner{
    width:100%!important;
    max-width:500px!important;
    margin-inline:auto!important;
  }
  body.home h2,body.home .l360-section h2{
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    font-size:27px!important;
    line-height:33px!important;
  }
  body.home .l360-finance-grid,
  body.home .l360-audience-grid,
  body.home .l360-audience-copy,
  body.home .l360-opinions-grid,
  body.home .l360-cases-grid{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin-inline:0!important;
  }

  /* Karty promocji jako pozioma, przewijalna lista zamiast kolumny 2300 px. */
  body.home .l360-promo-grid{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    gap:14px!important;
    padding:0 16px 12px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  body.home .l360-promo-grid>.l360-vehicle-card{
    flex:0 0 calc(100vw - 48px)!important;
    width:calc(100vw - 48px)!important;
    max-width:360px!important;
    height:auto!important;
    min-height:470px!important;
    scroll-snap-align:center;
  }
  body.home .l360-promo-grid>.l360-promo-more{
    flex:0 0 calc(100vw - 48px)!important;
    width:calc(100vw - 48px)!important;
    max-width:360px!important;
    min-height:200px!important;
    scroll-snap-align:center;
  }

  /* Porownanie nie moze poszerzac ukladu; kolumny sa czytelne jedna pod druga. */
  body.home .l360-why-grid{width:100%!important;max-width:500px!important;margin-inline:auto!important;padding:0 16px!important}
  body.home .l360-why-grid>img{width:100%!important;height:auto!important;max-height:420px!important;object-fit:cover}
  body.home .l360-compare-proto{box-sizing:border-box;width:100%!important;max-width:100%!important;height:auto!important;overflow:hidden!important}
  body.home .l360-compare-head,body.home .l360-compare-row{min-width:0!important;width:100%!important}
  body.home .l360-founder-section{width:100%!important;max-width:500px!important;min-height:660px!important;margin-inline:auto!important}

  /* Dolny pasek nie zaslania ostatniej sekcji. */
  body{padding-bottom:64px!important}
  body.home .l360-footer{margin-top:40px!important}
}

@media (max-width:500px) {
  body.home h1{font-size:29px!important;line-height:1.13!important}
  body.home h2,body.home .l360-section h2{font-size:26px!important;line-height:32px!important}
}

@media (max-width:360px) {
  body.home h1{font-size:27px!important;line-height:1.14!important}
  body.home .l360-form{padding:20px 16px 26px!important}
  body.home .l360-section,
  body.home .l360-finance-section,
  body.home .l360-audience-section,
  body.home .l360-opinions-section,
  body.home .l360-cases-section,
  body.home .l360-calculator-section,
  body.home .l360-home-faq{padding-inline:14px!important}
}

/* Korekta 1.1.4: rytm sekcji doradcy i czytelność strony głównej na mobile. */
@media (min-width:768px) {
  body.home .elementor-widget-l360-home-founder{
    margin-bottom:64px!important;
  }
  body.home .l360-founder-section{
    height:500px!important;
  }
  body.home .l360-founder-copy{
    top:72px!important;
  }
  body.home .l360-founder-section>img{
    top:89px!important;
  }
}

@media (max-width:767px) {
  /* Hero nie może przylegać do krawędzi ekranu. */
  body.home .elementor>.e-con:first-child>.e-con-inner>:first-child .elementor-widget-container{
    padding:22px 18px 16px!important;
  }
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(2) .l360-form{
    width:calc(100% - 32px)!important;
    margin:0 auto 24px!important;
  }
  body.home .l360-stack>.l360-lead,
  body.home .l360-section>.l360-wrap>p,
  body.home .l360-finance-section>.l360-wrap>p,
  body.home .l360-vehicle-card__model{
    color:#46556a!important;
  }

  /* Nagłówek promocji jest osobnym widgetem, więc otrzymuje własną oś treści. */
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(8) .elementor-widget-container{
    padding:36px 16px 18px!important;
  }
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(8) h2{
    margin:0 0 14px!important;
    color:#071225!important;
  }
  body.home .elementor>.e-con:first-child>.e-con-inner>:nth-child(8) p{
    margin:0!important;
    color:#46556a!important;
  }

  body.home .elementor-widget-l360-home-founder{
    margin-bottom:48px!important;
  }
  body.home .l360-founder-section{
    min-height:0!important;
  }
  body.home .l360-founder-copy{
    padding:34px 22px 286px!important;
  }
  body.home .l360-founder-section>img{
    height:276px!important;
  }
}

/* Korekta 1.1.2 — komponenty wskazane w audycie mobilnym. */
@media (max-width:767px) {
  /* Jasny panel menu zgodny z prototypem. */
  #offcanvas.ct-panel{width:100%!important;max-width:430px!important;background:rgba(10,18,31,.68)!important}
  #offcanvas .ct-panel-inner{width:100%!important;max-width:390px!important;margin-left:auto!important;background:#fff!important;color:#0a121f!important;box-shadow:-16px 0 48px rgba(10,18,31,.18)!important}
  #offcanvas .ct-panel-inner::before{content:"";display:block;width:196px;height:58px;margin:10px 20px 0;background:var(--l360-logo,none) left center/contain no-repeat}
  #offcanvas .ct-panel-actions{position:absolute!important;z-index:3;right:14px!important;top:12px!important;color:#0a121f!important}
  #offcanvas .ct-toggle-close{color:#0a121f!important}
  #offcanvas .ct-panel-content[data-device=mobile]{padding:12px 20px 24px!important;background:#fff!important}
  #offcanvas .mobile-menu a{min-height:38px!important;padding:8px 4px!important;color:#0a121f!important;font:600 15px/22px Inter,sans-serif!important}
  #offcanvas .mobile-menu li:nth-last-child(2) a{margin-top:10px!important;padding:10px 14px!important;border-radius:12px!important;background:#eaf6ff!important;color:#0c25ec!important}
  #offcanvas .mobile-menu li:last-child a{margin-top:8px!important;padding:11px 14px!important;border-radius:12px!important;background:#0c25ec!important;color:#fff!important;text-align:center!important}

  /* Porównanie firmy leasingowej z Leasing360 — dwie kolumny jak w prototypie. */
  body.home .l360-why-grid{gap:18px!important}
  body.home .l360-why-grid>img{height:auto!important;max-height:none!important;object-fit:contain!important}
  body.home .l360-compare-proto{border-radius:16px!important;overflow:hidden!important}
  body.home .l360-compare-head{display:grid!important;grid-template-columns:42% 58%!important;width:100%!important;min-width:0!important}
  body.home .l360-compare-head strong{padding:11px 8px!important;font-size:10px!important;line-height:14px!important;text-align:center!important}
  body.home .l360-compare-row{display:grid!important;grid-template-columns:42% 58%!important;width:100%!important;min-width:0!important;height:auto!important;min-height:54px!important}
  body.home .l360-compare-row span{box-sizing:border-box!important;min-width:0!important;min-height:54px!important;padding:9px 8px!important;border-right:1px solid var(--l360-border)!important;font-size:10px!important;line-height:15px!important;overflow-wrap:anywhere!important}
  body.home .l360-compare-row span:last-child{border-right:0!important}
  body.home .l360-compare-tagline{box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:120px!important;padding:20px 14px!important;gap:12px!important}
  body.home .l360-compare-tagline b{flex:0 0 40px!important;width:40px!important;height:40px!important;font-size:29px!important}
  body.home .l360-compare-tagline strong{font-size:18px!important;line-height:25px!important;text-align:left!important}

  /* Sekcja założyciela. */
  body.home .l360-founder-copy h2{font-size:27px!important;line-height:34px!important}
  body.home .l360-founder-actions{position:static!important;display:grid!important;width:100%!important;margin-top:20px!important;gap:10px!important}
  body.home .l360-founder-actions>a{box-sizing:border-box!important;width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;text-decoration:none!important}

  /* Porównywarka — checkbox i tekst stanowią dwa stabilne pola. */
  .l360-detailed-form fieldset{box-sizing:border-box!important;width:100%!important;min-width:0!important;margin-top:24px!important;padding:16px 14px!important}
  .l360-detailed-form .l360-check{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:start!important;gap:9px!important;width:100%!important;min-width:0!important;font-size:12px!important;line-height:18px!important}
  .l360-detailed-form .l360-check input{grid-column:1!important;width:16px!important;height:16px!important;min-height:0!important;margin:2px 0 0!important;padding:0!important}
  .l360-detailed-form .l360-check>span{grid-column:2!important;display:block!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
  .l360-detailed-form .l360-check a{display:inline!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
  .l360-compare-quick label{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
  .l360-compare-quick label input[type=checkbox]{width:16px!important;height:16px!important;margin-top:2px!important}

  /* Oferta i formularze referencyjne. */
  .l360-reference-form,.l360-reference-form--consumer{overflow:hidden!important}
  .l360-reference-form>div,.l360-reference-form--consumer>div{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 16px!important}
  .l360-reference-form .l360-form,.l360-reference-form--consumer .l360-form{box-sizing:border-box!important;width:100%!important;max-width:500px!important;margin-inline:auto!important;padding:22px 18px 28px!important}

  /* Flota360: kasowanie szerokości desktopowej 1216 px. */
  body.page-id-78 .l360-pills,body.page-id-78 .l360-vehicle-grid{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-inline:0!important;transform:none!important}
  body.page-id-78 .l360-vehicle-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;visibility:visible!important;opacity:1!important}
  body.page-id-78 .l360-vehicle-card{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:450px!important}

  /* Kontakt: logo+dane, następnie zdjęcie+opis, na końcu formularz. */
  .l360-contact-page{height:auto!important;min-height:0!important;overflow:visible!important;padding:36px 0 48px!important}
  .l360-contact-page>.l360-wrap{width:calc(100% - 32px)!important}
  .l360-contact-grid{display:flex!important;height:auto!important;min-height:0!important;flex-direction:column!important;gap:20px!important;margin-top:28px!important}
  .l360-contact-left{display:flex!important;height:auto!important;min-height:0!important;flex-direction:column!important;gap:20px!important}
  .l360-contact-data{display:flex!important;height:auto!important;min-height:0!important;flex-direction:column!important;align-items:center!important;gap:18px!important;padding:24px 20px!important;text-align:center!important}
  .l360-contact-data::after{display:none!important}
  .l360-contact-data .l360-contact-logo{position:static!important;display:block!important;width:112px!important;height:auto!important;margin:0 auto!important;object-fit:contain!important}
  .l360-contact-data>div{display:flex!important;width:100%!important;flex-direction:column!important;align-items:center!important;gap:10px!important}
  .l360-contact-data a,.l360-contact-data>div>span{justify-content:center!important;text-align:left!important}
  .l360-contact-founder{display:flex!important;width:100%!important;height:auto!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important}
  .l360-contact-founder>img{position:static!important;width:100%!important;height:300px!important;min-height:0!important;object-fit:contain!important;object-position:center bottom!important;background:#eaf6ff!important}
  .l360-contact-person{position:static!important;display:block!important;width:100%!important;padding:24px 20px 28px!important}
  .l360-contact-person h2,.l360-contact-person p,.l360-contact-person blockquote{width:auto!important;max-width:100%!important}
  .l360-contact-person .l360-button{width:100%!important;justify-content:center!important}
  .l360-contact-grid>.l360-form{order:3!important;width:100%!important;height:auto!important;min-height:0!important;padding:22px 18px 30px!important}
}

@media (max-width:767px) {
  #offcanvas .mobile-menu li.menu-item-213,
  #offcanvas .mobile-menu li.menu-item-213>a,
  #offcanvas .mobile-menu li:nth-last-child(2),
  #offcanvas .mobile-menu li:nth-last-child(2)>a{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #offcanvas .mobile-menu li.menu-item-213>a,
  #offcanvas .mobile-menu li:nth-last-child(2)>a{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    padding:8px 4px!important;
    color:#0a121f!important;
  }
  #offcanvas .mobile-menu li.menu-item-213>a::before,
  #offcanvas .mobile-menu li:nth-last-child(2)>a::before{
    content:'☎';
    color:#0c25ec;
    font-size:17px;
  }
  #offcanvas .ct-toggle-close{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #offcanvas .ct-toggle-close svg{fill:#0a121f!important}
}


/* Przyklejony naglowek na wszystkich urzadzeniach. */
@media (min-width:768px) {
  html body #header {
    position:sticky!important;
    top:0!important;
    z-index:9998!important;
    width:100%!important;
    background:#fff!important;
  }
  html body.admin-bar #header { top:32px!important; }
}

/* Pasek administratora ma na telefonach 46 px wysokosci. */
@media (max-width:767px) {
  html body.admin-bar #header { top:46px!important; }
}


/* Kompaktowy naglowek po przewinieciu strony. */
#header,
#header [data-row="middle"],
#header [data-row="middle"] > .ct-container,
#header .site-logo-container img,
#header .menu { transition:height .2s ease,min-height .2s ease,width .2s ease,max-height .2s ease,gap .2s ease; }

@media (min-width:768px) {
  #header.l360-header--compact [data-row="middle"],
  #header.l360-header--compact [data-row="middle"] > .ct-container { height:62px!important;min-height:62px!important;--height:62px!important; }
  #header.l360-header--compact .site-logo-container img { width:210px!important;max-height:32px!important; }
  #header.l360-header--compact [data-id="logo"],#header.l360-header--compact .site-logo-container { height:32px!important; }
  #header.l360-header--compact .menu { gap:20px!important; }
  #header.l360-header--compact .menu > li:nth-last-child(2) { margin-left:48px!important; }
  #header.l360-header--compact .menu > li:last-child { margin-left:-10px!important; }
}

@media (max-width:767px) {
  #header.l360-header--compact,#header.l360-header--compact [data-row="middle"],#header.l360-header--compact [data-row="middle"] > .ct-container { height:56px!important;min-height:56px!important;--height:56px!important; }
  #header.l360-header--compact .site-logo-container img { width:auto!important;max-width:150px!important;max-height:34px!important; }
}
