:root {
  --l360-brand: #0C25EC;
  --l360-brand-hover: #091CC0;
  --l360-ink: #0A121F;
  --l360-muted: #545E6F;
  --l360-border: #DCE6F2;
  --l360-soft: #EAF6FF;
  --l360-accent: #DFF0FF;
  --l360-white: #FFFFFF;
  --l360-radius: 14px;
  --l360-shadow-card: 0 4px 20px -8px rgba(12,37,236,.12);
  --l360-shadow-soft: 0 8px 30px -12px rgba(12,37,236,.18);
}

html { scroll-behavior: smooth; }
body {
  color: var(--l360-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,.l360-display {
  color: var(--l360-ink);
  font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(36px, 4.17vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(30px, 2.5vw, 36px); line-height: 1.12; }
h3 { font-size: clamp(20px, 1.67vw, 24px); line-height: 1.25; }
p { color: var(--l360-muted); }
a { color: var(--l360-brand); }

/* Blocksy/Elementor canvas */
.site-content .ct-container-full,
.site-content .ct-container,
.elementor-page .site-main { max-width: none; padding: 0; }
.elementor-page .entry-content { width: 100%; }
.elementor-page .entry-header { display: none; }
.l360-wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.l360-section { position: relative; padding: 80px 0; }
.l360-section--soft { background: color-mix(in srgb, var(--l360-soft) 40%, white); }
.l360-section--line { border-block: 1px solid var(--l360-border); }
.l360-grid { display: grid; gap: 24px; }
.l360-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.l360-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.l360-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.l360-stack { display: flex; flex-direction: column; gap: 20px; }
.l360-kicker {
  display: inline-flex; align-items: center; gap: 7px; width: fit-content;
  padding: 5px 11px; border: 1px solid rgba(12,37,236,.24); border-radius: 999px;
  background: rgba(234,246,255,.75); color: var(--l360-brand); font-size: 12px; font-weight: 600;
}
.l360-kicker::before { content: "✣"; }
.l360-lead { max-width: 720px; font-size: 18px; line-height: 1.55; }
.l360-brand { color: var(--l360-brand); }
.l360-card {
  background: #fff; border: 1px solid var(--l360-border); border-radius: var(--l360-radius);
  box-shadow: var(--l360-shadow-card); padding: 24px;
}
.l360-card--hover { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.l360-card--hover:hover { transform: translateY(-4px); border-color: rgba(12,37,236,.45); box-shadow: var(--l360-shadow-soft); }
.l360-button, .elementor-button, button.l360-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 22px; border: 1px solid var(--l360-brand); border-radius: 12px;
  background: var(--l360-brand); color: #fff; font-weight: 600; text-decoration: none;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.l360-button:hover, .elementor-button:hover, button.l360-submit:hover { background: var(--l360-brand-hover); color: #fff; transform: translateY(-1px); }
.l360-button--ghost { background: #fff; color: var(--l360-ink); border-color: rgba(12,37,236,.25); }
.l360-button--ghost:hover { color: var(--l360-brand); background: var(--l360-soft); }

/* Header/footer built in Blocksy or imported Elementor templates */
#header [data-row] { border-bottom: 1px solid var(--l360-border); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
#header .ct-container { min-height: 80px; max-width: 1280px; }
#header [data-id="logo"] img { width: 267px; max-height: 40px; object-fit: contain; }
#header .menu > li > a { font-size: 14px; font-weight: 500; }
#header .menu > li.current-menu-item > a { color: var(--l360-brand); }
.l360-footer { background: var(--l360-ink); color: #fff; padding: 64px 0 24px; }
.l360-footer p,.l360-footer a { color: rgba(255,255,255,.72); }

/* Hero */
.l360-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--l360-border); padding: 48px 0 56px; }
.l360-hero::after {
  content: ""; position: absolute; z-index: -1; width: 760px; aspect-ratio: 1; right: -160px; top: -220px;
  background: var(--l360-sygnet, none) center/contain no-repeat; opacity: .08;
}
.l360-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: start; gap: 64px; }
.l360-hero h1 { margin: 16px 0 20px; max-width: 680px; }
.l360-hero .l360-lead { max-width: 590px; }

/* Lead form */
.l360-form { position: relative; padding: 28px; overflow: hidden; }
.l360-hp { display:none!important; }
.l360-form::before { content:""; position:absolute; inset:-80px -130px auto auto; width:420px; aspect-ratio:1; background:var(--l360-sygnet,none) center/contain no-repeat; opacity:.06; pointer-events:none; }
.l360-form > * { position: relative; }
.l360-form h3 { margin: 0 0 4px; }
.l360-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.l360-form-grid .l360-full { grid-column: 1/-1; }
.l360-field label { display: block; margin: 0 0 6px; color: var(--l360-ink); font-size: 12px; font-weight: 600; }
.l360-field input,.l360-field select,.l360-field textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--l360-border); border-radius: 10px;
  background: rgba(255,255,255,.84); color: var(--l360-ink); font: inherit; font-size: 14px; box-shadow: 0 1px 3px rgba(10,18,31,.05);
}
.l360-field textarea { min-height: 110px; resize: vertical; }
.l360-consent { display:flex; align-items:flex-start; gap:8px; font-size:11px; color:var(--l360-muted); }
.l360-submit { width: 100%; cursor: pointer; }
.l360-form-note { margin: 6px 0 0; text-align: center; font-size: 11px; }
.l360-notice { margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: var(--l360-soft); color: var(--l360-brand); }

/* Reusable content */
.l360-step { display:grid; grid-template-columns:44px 1fr; gap:14px; }
.l360-step__num { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--l360-brand); color:#fff; font-weight:700; }
.l360-media { width:100%; height:100%; min-height:360px; object-fit:cover; border-radius:var(--l360-radius); }
.l360-service-card { min-height:165px; display:flex; flex-direction:column; }
.l360-service-card a { margin-top:auto; font-weight:600; text-decoration:none; }
.l360-pills { display:flex; flex-wrap:wrap; gap:10px; }
.l360-pill { padding:8px 15px; border:1px solid rgba(12,37,236,.24); border-radius:999px; background:#fff; color:var(--l360-ink); font-size:14px; font-weight:500; cursor:pointer; }
.l360-pill.is-active,.l360-pill:hover { background:var(--l360-brand); color:#fff; }

/* Marquee */
.l360-marquee { overflow:hidden; padding:22px 0; }
.l360-marquee__track { display:flex; width:max-content; animation:l360-marquee 40s linear infinite; }
.l360-marquee:hover .l360-marquee__track { animation-play-state:paused; }
.l360-partner { display:grid; place-items:center; flex:none; width:190px; height:78px; margin:0 12px; padding:12px; border:1px solid rgba(12,37,236,.15); border-radius:14px; background:#fff; box-shadow:var(--l360-shadow-card); font-size:14px; font-weight:600; text-align:center; transition:.3s; }
.l360-partner:hover { transform:scale(1.04); border-color:rgba(12,37,236,.45); }
@keyframes l360-marquee { to { transform:translateX(-50%); } }

/* Tables, accordions, testimonials */
.l360-compare { overflow:auto; border:1px solid var(--l360-border); border-radius:var(--l360-radius); background:#fff; }
.l360-compare table { width:100%; border-collapse:collapse; min-width:700px; }
.l360-compare th,.l360-compare td { padding:16px 20px; border-bottom:1px solid var(--l360-border); text-align:left; }
.l360-compare th:last-child,.l360-compare td:last-child { color:var(--l360-brand); font-weight:600; background:rgba(234,246,255,.35); }
.l360-faq details { border-bottom:1px solid var(--l360-border); padding:18px 0; }
.l360-faq summary { cursor:pointer; list-style:none; font-family:Sora,Inter,sans-serif; font-weight:600; }
.l360-faq summary::after { content:"+"; float:right; color:var(--l360-brand); }
.l360-faq details[open] summary::after { content:"−"; }
.l360-faq details p { padding-right:42px; }

/* Vehicles/promotions */
.l360-vehicle-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.l360-vehicle-card { display:flex; flex-direction:column; min-width:0; padding:20px; }
.l360-vehicle-card__visual { display:grid; place-items:center; aspect-ratio:4/3; margin:14px 0; border-radius:14px; background:linear-gradient(135deg,var(--l360-soft),#fff); overflow:hidden; }
.l360-vehicle-card__visual img { width:100%; height:100%; object-fit:contain; }
.l360-vehicle-card__placeholder { font-size:44px; color:rgba(12,37,236,.45); }
.l360-vehicle-card__price { color:var(--l360-brand); font-family:Sora,Inter,sans-serif; font-size:26px; font-weight:700; }
.l360-vehicle-card__price small { color:var(--l360-muted); font-family:Inter,sans-serif; font-size:11px; font-weight:400; }
.l360-vehicle-card__meta { display:flex; justify-content:space-between; gap:10px; margin:10px 0 16px; color:var(--l360-muted); font-size:12px; }
.l360-vehicle-card .l360-button { margin-top:auto; }
.l360-promo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.l360-promo-card img { width:100%; aspect-ratio:4/3; object-fit:contain; background:linear-gradient(135deg,var(--l360-soft),#fff); border-radius:12px; }
.l360-promo-badge { display:inline-flex; align-items:center; width:max-content; min-height:26px; padding:4px 10px; border-radius:999px; background:var(--l360-brand); color:#fff; font-size:11px; font-weight:700; letter-spacing:.08em; }
.l360-card-label { color:var(--l360-brand); font-size:12px; font-weight:700; }
.l360-offer-detail { padding:40px 0 80px; }
.l360-back { display:inline-flex; align-items:center; gap:6px; color:var(--l360-ink); font-weight:600; text-decoration:none; }
.l360-offer-detail__grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr); gap:64px; align-items:start; margin-top:28px; }
.l360-offer-gallery__main { display:grid; place-items:center; min-height:460px; padding:28px; border-radius:18px; background:linear-gradient(135deg,var(--l360-soft),#fff); overflow:hidden; }
.l360-offer-gallery__main img { width:100%; height:100%; max-height:520px; object-fit:contain; }
.l360-offer-gallery__thumbs { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin-top:12px; }
.l360-offer-gallery__thumb { padding:5px; border:1px solid var(--l360-border); border-radius:10px; background:#fff; cursor:pointer; }
.l360-offer-gallery__thumb.is-active { border-color:var(--l360-brand); box-shadow:0 0 0 2px rgba(12,37,236,.12); }
.l360-offer-gallery__thumb img { width:100%; aspect-ratio:4/3; object-fit:contain; }
.l360-offer-summary h1 { margin:14px 0 4px; font-size:48px; }
.l360-offer-model { margin:0 0 24px; color:var(--l360-muted); font-size:21px; }
.l360-offer-meta { display:flex; gap:28px; margin:16px 0 24px; color:var(--l360-muted); }
.l360-offer-actions { display:flex; align-items:center; gap:22px; margin-bottom:28px; }
.l360-phone-link { color:var(--l360-ink); font-size:18px; font-weight:700; text-decoration:none; }
.l360-offer-params { display:grid; grid-template-columns:1fr 1fr; gap:0; margin:0; }
.l360-offer-params dt,.l360-offer-params dd { margin:0; padding:10px 0; border-bottom:1px solid var(--l360-border); }
.l360-offer-params dt { color:var(--l360-muted); }
.l360-offer-params dd { font-weight:600; text-align:right; }
.l360-offer-included { display:grid; gap:8px; margin:0 0 18px; padding:0; list-style:none; }
.l360-offer-included li::before { content:'✓'; margin-right:9px; color:var(--l360-brand); font-weight:700; }
.l360-offer-disclaimer { color:var(--l360-muted); font-size:12px; line-height:1.6; }
.l360-offer-cta { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:56px; padding:32px; border-radius:16px; background:var(--l360-soft); }
.l360-offer-cta h2 { margin:0; }
.l360-offer-cta > div { display:flex; align-items:center; gap:20px; }

/* Reveal and sticky mobile CTA */
.l360-reveal { opacity:0; transform:translateY(22px); transition:opacity .6s ease,transform .6s ease; }
.l360-reveal.is-visible { opacity:1; transform:none; }
.l360-mobile-cta { display:none; }

/* Elementor Free: pierwszy kontener strony Start pełni rolę płótna całej strony.
   Dwa pierwsze widgety tworzą hero, kolejne wracają do pełnej szerokości. */
.home .elementor > .e-con:first-child > .e-con-inner {
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr); column-gap:64px;
  max-width:1280px;
}
.home .elementor > .e-con:first-child > .e-con-inner > :nth-child(1),
.home .elementor > .e-con:first-child > .e-con-inner > :nth-child(2) { padding-top:48px; padding-bottom:48px; }
.home .elementor > .e-con:first-child > .e-con-inner > :nth-child(n+3) { grid-column:1/-1; }
.home .elementor > .e-con:first-child > .e-con-inner > :nth-child(3) { border-top:1px solid var(--l360-border); }
#header .menu > li:nth-last-child(2) > a { font-weight:700; }
#header .menu > li:last-child > a { min-height:44px; padding-inline:18px; border-radius:12px; background:var(--l360-brand); color:#fff; }

@media (max-width:1023px) {
  .l360-wrap { width:min(100% - 40px, 960px); }
  .l360-hero__grid { grid-template-columns:1fr; gap:40px; }
  .l360-grid--4,.l360-promo-grid,.l360-vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .l360-grid--3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .l360-offer-detail__grid { grid-template-columns:1fr 1fr; gap:32px; }
  .l360-offer-gallery__main { min-height:360px; }
  .home .elementor > .e-con:first-child > .e-con-inner { grid-template-columns:1fr; }
  .home .elementor > .e-con:first-child > .e-con-inner > * { grid-column:1!important; }
}
@media (max-width:767px) {
  body { padding-bottom:64px; }
  .l360-wrap { width:calc(100% - 32px); }
  .l360-section { padding:64px 0; }
  .l360-hero { padding:24px 0 36px; }
  .l360-hero__grid { gap:36px; }
  .l360-hero h1 { margin-top:16px; }
  .l360-lead { font-size:16px; line-height:1.55; }
  .l360-grid--2,.l360-grid--3,.l360-grid--4,.l360-promo-grid,.l360-vehicle-grid { grid-template-columns:1fr; }
  .l360-offer-detail { padding:24px 0 88px; }
  .l360-offer-detail__grid { grid-template-columns:1fr; gap:28px; margin-top:18px; }
  .l360-offer-gallery__main { min-height:280px; padding:16px; }
  .l360-offer-gallery__thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .l360-offer-summary h1 { font-size:36px; }
  .l360-offer-model { font-size:18px; }
  .l360-offer-actions,.l360-offer-cta,.l360-offer-cta > div { align-items:stretch; flex-direction:column; }
  .l360-offer-actions .l360-button,.l360-offer-cta .l360-button { width:100%; }
  .l360-offer-cta { padding:24px; }
  .l360-form { padding:24px; }
  .l360-form-grid { grid-template-columns:1fr; }
  .l360-form-grid .l360-full { grid-column:auto; }
  .l360-card { padding:20px; }
  .l360-media { min-height:260px; }
  .l360-mobile-cta { display:grid; grid-template-columns:1fr 1fr; position:fixed; z-index:9999; left:0; right:0; bottom:0; height:64px; border-top:1px solid var(--l360-border); background:rgba(255,255,255,.96); backdrop-filter:blur(12px); }
  .l360-mobile-cta a { display:grid; place-items:center; color:var(--l360-ink); text-decoration:none; font-size:13px; font-weight:600; }
  .l360-mobile-cta a:first-child { color:var(--l360-brand); border-right:1px solid var(--l360-border); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .l360-reveal { opacity:1; transform:none; }
}
