
/* =========================================
   VELOCE RENT
   GŁÓWNY ARKUSZ STYLÓW
   ========================================= */

/* ZMIENNE I USTAWIENIA GLOBALNE */

:root {
  --background: #101517;
  --background-deep: #0d1214;
  --panel: #151b1e;
  --text: #f6f6f5;
  --muted: #a5aaad;
  --orange: #ff860b;
  --orange-light: #ff9b30;
  --line: rgba(255, 255, 255, 0.085);
  --font: "Coda", sans-serif;
  --container: 1340px;
  --page-gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 105px; }

body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong, b { font-weight: 800; }
h2 { font-size: clamp(28px, 3.1vw, 43px); line-height: 1.22; letter-spacing: -1px; }

::selection { background: var(--orange); color: #101517; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 5px; }

.container {
  width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.icon-library { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--orange); color: #101517; padding: 10px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }


/* =========================================
   NAGŁÓWEK I LOGO
   ========================================= */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 18, 20, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }

.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  --brand-title: 24px;
  --brand-tagline: 8px;
  --brand-gap: 6px;
  --brand-height: calc(var(--brand-title) + var(--brand-tagline) + var(--brand-gap));
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 14px;
}

.site-header .brand img,
.site-footer .brand img {
  width: calc((var(--brand-height) + 4px) * 2);
  height: calc(var(--brand-height) + 4px);
  margin-top: -2px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.brand .brand-copy { display: flex; flex-direction: column; width: var(--brand-copy-width, auto); }
.brand .brand-copy > span { display: block; width: max-content; white-space: nowrap; font-size: var(--brand-title); font-weight: 800; line-height: 1; letter-spacing: var(--brand-title-spacing, 0px); }
.brand .brand-copy b { color: var(--orange); }
.brand .brand-copy small { display: block; width: max-content; white-space: nowrap; font-size: var(--brand-tagline); letter-spacing: 1px; line-height: 1; margin-top: var(--brand-gap); color: #b5b8ba; font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { position: relative; padding-block: 16px; white-space: nowrap; font-size: 14px; font-weight: 800; color: #c4c8ca; transition: color 0.35s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform 0.35s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }


/* PRZYCISK TELEFONU */

.header-phone { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 14px 20px 10px; border: 1px solid var(--orange); border-radius: 5px; background: transparent; color: var(--text); font-size: 15px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
.header-phone .icon { display: block; width: 21px; height: 21px; color: inherit; transition: color 0.3s ease; }
.menu-toggle { display: none; }


/* =========================================
   HERO I SLIDER
   ========================================= */

.hero { position: relative; height: clamp(550px, 43vw, 740px); overflow: hidden; background: var(--background-deep); isolation: isolate; scroll-margin-top: 0; }

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  object-fit: contain;
  object-position: right center;
  opacity: 0;
  transition: opacity 0.85s ease;
  z-index: 0;
}

.hero-slide.is-active { opacity: 1; }

/* Stałe wymiary kontenera picture */

.hero-slides > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Nakładka przyciemniająca zdjęcie */

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11,16,18,.83) 0%, rgba(11,16,18,.59) 28%, rgba(11,16,18,.03) 60%),
    linear-gradient(0deg, rgba(11,16,18,.38), transparent 30%);
  z-index: 1;
  pointer-events: none;
}

/* Tekst i przyciski HERO */

.hero-inner { position: relative; height: 100%; display: flex; align-items: center; z-index: 2; pointer-events: none; padding-inline: 0; }
.hero-copy { width: 550px; max-width: 50%; padding-bottom: 22px; pointer-events: auto; }
.eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: 1.6px; font-weight: 800; color: var(--orange); margin-bottom: 15px; }
.hero .eyebrow { font-size: 18px; line-height: 1.6; letter-spacing: 1px; margin-bottom: 32px; }
h1 { font-size: clamp(40px, 4.5vw, 67px); line-height: 1.08; letter-spacing: -1.8px; margin-bottom: 25px; text-wrap: balance; }
.hero-description { font-size: 18px; color: #c0c5c7; max-width: 415px; line-height: 1.65; }
.hero-actions { display: flex; gap: 15px; margin-top: 32px; }

/* Paginacja slidera */

.slider-pagination { display: flex; gap: 10px; align-items: center; margin-top: 31px; min-height: 24px; }
.slider-dot { position: relative; width: 25px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--muted); }
.slider-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: #6b7275; border-radius: 2px; transition: background 0.35s ease; }
.slider-dot[aria-pressed="true"]::after,
.slider-dot:hover::after { background: var(--orange); }

/* Sterowanie sliderem */

.hero .slider-controls,
.hero .slider-caption {
  left: 50%;
  right: auto;
  margin-inline: 0;
  transform: translateX(-50%);
}

.slider-controls { position: absolute; z-index: 3; top: auto; bottom: 22px; display: flex; gap: 12px; }

.slider-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 5px;
  background: transparent;
  color: var(--orange);
  transition: background-color .35s ease, color .35s ease;
}

.slider-controls button:hover,
.slider-controls button:active { background: var(--orange); color: var(--background-deep); }

.slider-controls .icon { width: 22px; height: 22px; stroke-width: 2; }
.flipped { transform: rotate(180deg); }

/* Pauza i odtwarzanie */

#pause-slider {
  display: grid;
  place-items: center;
}

#pause-slider #pause-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 0;
  line-height: 0;
  color: inherit;
}

#pause-slider[aria-pressed="false"] #pause-icon::before {
  content: "";
  display: block;
  width: 14px;
  height: 18px;
  background: linear-gradient(
    to right,
    currentColor 0 4px,
    transparent 4px 10px,
    currentColor 10px 14px
  );
}

#pause-slider[aria-pressed="true"] #pause-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background: none;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid currentColor;
  transform: translateX(2px);
}

/* Podpis zdjęcia */

.slider-caption { position: absolute; z-index: 3; bottom: 82px; display: flex; justify-content: center; align-items: center; gap: 13px; width: max-content; max-width: calc(100% - 40px); font-size: 13px; line-height: 1.5; text-align: center; text-shadow: 0 1px 8px #000; }
.caption-line { width: 28px; height: 2px; background: var(--orange); }
.slider-caption #slide-name { overflow: visible; white-space: normal; text-overflow: clip; }
.slide-number { display: inline; margin-left: 4px; font-size: 12px; color: #c1c8cc; white-space: nowrap; flex-shrink: 0; }


/* =========================================
   PRZYCISKI I ANIMACJE
   ========================================= */

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 25px 10px; border: 1px solid var(--orange); border-radius: 5px; background: var(--orange); color: var(--background-deep); font-family: var(--font); font-size: 14px; line-height: 1.2; font-weight: 800; text-align: center; }

.button-outline { background: transparent; color: var(--orange); }

.button,
.header-phone {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .25s ease, box-shadow .25s ease;
}

.button:hover,
.header-phone:hover {
  transform: translateY(-2px);
  border-color: var(--orange-light);
  box-shadow: 0 4px 0 rgba(0,0,0,.3), 0 8px 18px rgba(255,134,11,.15);
}

.button:active,
.header-phone:active { transform: translateY(1px); }

/* Zębatka wewnątrz przycisków */

.button::before,
.header-phone::before {
  content: "";
  display: block;
  position: absolute;
  width: 52px;
  height: 52px;
  top: 50%;
  right: -14px;
  pointer-events: none;
  background: currentColor;
  -webkit-mask: url("assets/icons/button-gear.svg") center / contain no-repeat;
  mask: url("assets/icons/button-gear.svg") center / contain no-repeat;
  opacity: 0;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: 50% 50%;
  animation: none;
}

.button:hover::before,
.header-phone:hover::before { animation: veloce-gear 1.1s ease-out both; }

@keyframes veloce-gear {
  0% { opacity: 0; transform: translateY(-50%) rotate(-45deg); }
  20%, 70% { opacity: .15; }
  100% { opacity: 0; transform: translateY(-50%) rotate(90deg); }
}

/* Bez animacji zębatki na strzałkach slidera */

.slider-controls button::before,
.slider-controls button:hover::before { content: none; display: none; animation: none; }

.hero-actions .button,
.section-heading > .button,
.about-copy > .button,
.contact-form .button {
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .1px;
  text-align: center;
  min-height: 48px;
  padding: 14px 20px 10px;
}

.product-content .button { width: 100%; min-height: 42px; padding: 12px 10px 8px; font-size: 14px; }
.offer .section-heading > .button { flex-shrink: 0; }


/* =========================================
   ZALETY
   ========================================= */

.benefits { background: #0e1416; border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-block: 36px; }
.benefit { display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 0; }
.benefit:first-child { justify-content: flex-start; }
.benefit:last-child { justify-content: flex-end; }
.benefit > .icon { width: 43px; height: 43px; color: var(--orange); stroke-width: 1.5; }
.benefit > span { font-size: 16px; line-height: 1.4; color: #c8ccce; }


/* =========================================
   SEKCJE OGÓLNE
   ========================================= */

.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 36px; }
.section-intro { margin-top: 15px; color: var(--muted); font-size: 16px; line-height: 1.55; }


/* =========================================
   OFERTA I PRODUKTY
   ========================================= */

.offer { background: radial-gradient(ellipse at 10% 0, #1a2225 0, transparent 55%), var(--background); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: linear-gradient(160deg, #171d20, #101719); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.product-card:hover { border-color: #ff860b60; transform: translateY(-4px); }
.product-image { aspect-ratio: 1.52; overflow: hidden; background: #222; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-content { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-content h3 { font-size: 16px; line-height: 1.45; margin-bottom: 14px; min-height: 24px; }
.product-info { font-size: 13px; color: #b9bfc2; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; line-height: 1.5; }
.product-info .icon { width: 16px; height: 16px; color: var(--orange); stroke-width: 1.6; }
.product-price { margin-top: auto; padding-top: 13px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 5px; color: var(--orange); line-height: 1.4; min-height: 43px; }
.product-price strong { font-size: 24px; white-space: nowrap; }
.product-price small { font-size: 11px; color: #ebeeee; }
.product-price .price-individual { font-size: 17px; }


/* =========================================
   O NAS
   ========================================= */

.about { background: linear-gradient(110deg, #192124, var(--background-deep)); border-block: 1px solid var(--line); padding-block: 65px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 65px; align-items: center; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 19px; max-width: 520px; }
.about-copy > .about-lead { color: #d4d9db !important; font-size: 18px !important; margin-top: 14px !important; }
.about-highlights { display: grid; grid-template-columns: .8fr .8fr 1.2fr; gap: 15px; margin-block: 30px; }
.about-highlights > div { padding-right: 15px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.about-highlights > div:last-child { border: 0; padding: 0; }
.about-highlights strong { color: var(--orange); font-size: 24px; line-height: 1.4; }
.about-highlights span { color: var(--muted); font-size: 12px; }
.about-image img { width: 100%; height: auto; filter: drop-shadow(0 20px 28px #0003); }


/* =========================================
   FAQ
   ========================================= */

.faq { padding-bottom: 48px; background: var(--background-deep); }
.faq-list { display: grid; gap: 10px; margin-top: 30px; }
.faq-list details { border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(100deg, #192023, #12191c); overflow: hidden; }
.faq-list summary { padding: 17px 23px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 15px; font-weight: 800; line-height: 1.5; transition: background-color .35s ease, color .35s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-light); background: rgba(255,134,11,.08); }
.faq-plus { position: relative; width: 18px; height: 18px; border: 1.5px solid var(--orange); border-radius: 50%; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 7px; left: 4px; width: 7px; height: 1.5px; background: var(--orange); }
.faq-plus::after { transform: rotate(90deg); transition: transform .2s; }
.faq-list details[open] .faq-plus::after { transform: rotate(0); }
.faq-list details[open] { border-color: #ff860b45; }
.faq-list details > p { padding: 0 23px 20px; color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 1050px; }


/* =========================================
   KONTAKT
   ========================================= */

.contact { background: var(--background-deep); padding-top: 40px; }
.contact-heading { align-items: flex-end; margin-bottom: 28px; }
.contact-heading h2 span { color: var(--orange); }
.contact-heading > .section-intro { font-size: 15px; margin-bottom: 4px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.panel { border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(130deg, #1a2124, #12191c); }
.contact-details { padding: 15px 25px; }
.contact-row { display: flex; align-items: center; gap: 19px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border: 0; }
.contact-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #ffffff05; color: var(--orange); flex-shrink: 0; }
.contact-icon .icon { width: 29px; height: 29px; }
.contact-row strong { display: block; font-size: 17px; overflow-wrap: anywhere; line-height: 1.5; }
.contact-row small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.contact-row:hover strong { color: var(--orange-light); }
.contact-form { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: block; min-width: 0; }
.contact-form input, .contact-form textarea { display: block; border: 1px solid #ffffff15; border-radius: 4px; width: 100%; background: #ffffff02; padding: 12px 14px; color: var(--text); font-size: 14px; outline-offset: 2px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #959da2; opacity: 1; }
.contact-form textarea { resize: vertical; min-height: 94px; max-height: 350px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form .button { width: 100%; min-height: 43px; padding-block: 9px; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-status { font-size: 13px; color: var(--orange-light); line-height: 1.6; }
.form-status:empty { display: none; }
.offer-note { margin-top: 26px; color: var(--muted); font-size: 14px; }
.offer-note a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 4px; }


/* =========================================
   STOPKA
   ========================================= */

/* Panel wspólny dla strony głównej, polityki prywatności i strony 404. */
.veloce-cookie-banner {
  position: fixed; z-index: 9999; right: 24px; bottom: 24px;
  width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  overflow-y: auto; padding: 25px; color: #f6f6f5;
  background: linear-gradient(145deg, #1b2327, #111719);
  border: 1px solid rgba(255,134,11,.38); border-radius: 12px;
  box-shadow: 0 18px 65px rgba(0,0,0,.55); font-family: 'Coda', sans-serif;
}
.veloce-cookie-banner[hidden], #veloce-cookie-preferences[hidden] { display: none !important; }
.veloce-cookie-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.veloce-cookie-symbol {
  flex-shrink: 0; width: 43px; height: 43px; display: grid; place-items: center;
  background: rgba(255,134,11,.10); border: 1px solid rgba(255,134,11,.28);
  border-radius: 11px; font-size: 23px;
}
.veloce-cookie-heading h2 { margin: 0; font-size: 19px; line-height: 1.4; letter-spacing: 0; color: #fff; }
.veloce-cookie-description { margin: 0; color: #b2bdc2; font-size: 12px; line-height: 1.9; }
.veloce-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.veloce-cookie-actions > :last-child { grid-column: 1 / -1; }
.veloce-cookie-button {
  min-height: 45px; padding: 12px 10px; border: 1px solid #ff860b;
  border-radius: 6px; font: 800 11px/1.5 'Coda', sans-serif;
  text-align: center; cursor: pointer; background: transparent; color: #ffb163;
}
.veloce-cookie-button:hover { background: rgba(255,134,11,.12); }
#veloce-cookie-preferences { margin-top: 18px; }
.veloce-cookie-option { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; cursor: pointer; }
.veloce-cookie-option input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: #ff860b; }
.veloce-cookie-option strong { display: block; font-size: 12px; line-height: 1.7; }
.veloce-cookie-option small { display: block; color: #b2bdc2; font-size: 11px; line-height: 1.7; }
#veloce-cookie-save { width: 100%; }
.veloce-cookie-note { margin: 15px 0 0; color: #a6b2b8; font-size: 10px; line-height: 1.8; }
.veloce-cookie-note a { color: #ffb163; text-decoration: underline; text-underline-offset: 3px; }
.veloce-cookie-button:focus-visible, .veloce-cookie-option input:focus-visible,
.veloce-cookie-footer button:focus-visible, .veloce-map-load:focus-visible { outline: 2px solid #ff9b30; outline-offset: 4px; }
@media (max-width: 767px) {
  .veloce-cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 19px; max-height: calc(100dvh - 24px); }
  .veloce-cookie-heading h2 { font-size: 17px; }
  .veloce-cookie-description { font-size: 11px; }
}
@media (max-width: 360px) { .veloce-cookie-actions { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--line); background: #0b1012; padding: 40px 0 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 38px; }
.site-footer .brand { --brand-title: 19px; --brand-tagline: 6px; display: inline-flex; align-items: center; gap: 12px; }
.site-footer .footer-inner > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer .copyright { margin: 0; font-size: 11px; line-height: 1.8; color: #8f999f; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.footer-nav a { color: #f3f5f6; font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .25s ease; }
.footer-nav a:hover { color: var(--orange); }
.back-to-top { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid rgba(242,126,10,.45); border-radius: 8px; color: var(--orange); font-size: 12px; font-weight: 800; }
.back-to-top:hover { background: rgba(242,126,10,.08); border-color: var(--orange); }

.site-footer .veloce-credits { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: min(1200px, calc(100% - 80px)); max-width: none; margin: 0 auto; padding: 27px 12px 32px; border-top: 1px solid rgba(255,255,255,.09); text-align: center; }
.site-footer .veloce-credits a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; line-height: 1.7; color: #929da4; text-decoration: none; }
.site-footer .veloce-credits strong, .site-footer .veloce-credits .veloce-credit-brand { color: #f3f5f6; font-weight: 800; }
.site-footer .veloce-credits a:hover, .site-footer .veloce-credits a:hover strong, .site-footer .veloce-credits a:hover .veloce-credit-brand { color: var(--orange); }
.site-footer .veloce-cookie-footer { margin: 0; padding: 0; }
.site-footer .veloce-cookie-footer button { border: 0; padding: 7px 10px; background: transparent; color: #9ea8ae; font-family: inherit; font-size: 11px; cursor: pointer; }
.site-footer .veloce-cookie-footer button:hover { color: var(--orange); }


/* =========================================
   RESPONSYWNOŚĆ: DESKTOP
   OD 961 PX
   ========================================= */

@media (min-width: 961px) {

  /* Wyrównanie nagłówka i stopki */

  .site-header .header-inner,
  .site-footer .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }

  .site-header .brand,
  .site-footer .footer-inner > div:first-child { grid-column: 1; justify-self: start; }

  .site-header .main-nav,
  .site-footer .footer-nav { grid-column: 2; justify-self: center; }

  .site-header .header-phone,
  .site-footer .back-to-top { grid-column: 3; justify-self: end; }

  .site-header .header-phone { width: var(--header-brand-width, auto); height: 48px; min-height: 48px; }
  .offer .section-heading > .button { width: var(--matched-button-width, auto); height: 48px; min-height: 48px; }

  /* HERO: zdjęcia wyrównane do prawej bez przycinania */

  .hero-slides .hero-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: right center;

    /* Płynne zanikanie lewej części zdjęcia */

    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.10) 8%,
      rgba(0, 0, 0, 0.35) 17%,
      rgba(0, 0, 0, 0.70) 28%,
      black 43%,
      black 100%
    );

    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.10) 8%,
      rgba(0, 0, 0, 0.35) 17%,
      rgba(0, 0, 0, 0.70) 28%,
      black 43%,
      black 100%
    );
  }
}


/* =========================================
   DUŻE EKRANY: OD 1650 PX
   ========================================= */

@media (min-width: 1650px) {
  .hero-copy { width: 580px; }
  .hero { height: 710px; }
  .hero-slide { object-position: center 48%; }
}


/* =========================================
   ŚREDNIE EKRANY: DO 1180 PX
   ========================================= */

@media (max-width: 1180px) {
  :root { --page-gutter: 32px; }
  .main-nav { gap: 19px; }
  .site-header .brand { --brand-title: 21px; }
  .header-inner { gap: 18px; }
  .header-phone { font-size: 12px; }
  .main-nav a { font-size: 12px; }
  .hero-copy { max-width: 52%; }
  .product-grid { gap: 18px; }
  .product-content { padding: 15px; }
  .about-grid { gap: 38px; }
}


/* =========================================
   TABLET: DO 960 PX
   ========================================= */

@media (max-width: 960px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; }
  .header-inner { height: 76px; }
  .hero { height: 540px; }
  .hero-copy { width: 470px; max-width: 57%; }
  h1 { font-size: 46px; }
  .hero-description { font-size: 16px; max-width: 335px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding: 12px 16px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .product-content h3 { font-size: 18px; }
  .product-info { font-size: 14px; }
  .product-content { padding: 20px; }
  .section { padding-block: 56px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .about-highlights strong { font-size: 19px; }
  .about-highlights span { font-size: 11px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 18px; }
  .contact-details { padding: 12px 17px; }
  .contact-row { gap: 12px; }
  .contact-row strong { font-size: 15px; }
  .contact-icon { width: 37px; height: 37px; }
  .contact-form { padding: 17px; }

  /* Zalety */

  .benefits-grid { gap: 14px; padding-block: 28px; }
  .benefit { gap: 13px; }
  .benefit > span { font-size: 14px; }
  .benefit > .icon { width: 33px; height: 33px; }
}


/* =========================================
   TABLET: OD 721 DO 960 PX
   ========================================= */

@media (min-width: 721px) and (max-width: 960px) {

  .site-header .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 88px; padding-block: 12px; gap: 8px 20px; }
  .site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .header-phone { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-header .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }

  .hero-slide { object-fit: cover; object-position: right center; }

  /* Gradient HERO na tabletach */

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(11, 16, 18, 0.90) 0%,
        rgba(11, 16, 18, 0.84) 15%,
        rgba(11, 16, 18, 0.68) 30%,
        rgba(11, 16, 18, 0.44) 45%,
        rgba(11, 16, 18, 0.16) 62%,
        rgba(11, 16, 18, 0) 80%
      ),
      linear-gradient(
        0deg,
        rgba(11, 16, 18, 0.38),
        transparent 30%
      );
    z-index: 1;
    pointer-events: none;
  }

  /* Delikatne ziarno ograniczające banding */

  .hero-shade::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .hero-inner { padding-bottom: 104px; }
  .hero-copy { padding-bottom: 0; }
  .hero .eyebrow { font-size: 16px; }
  html { scroll-padding-top: 150px; }
}


/* =========================================
   STOPKA: TABLETY DO 980 PX
   ========================================= */

@media (max-width: 980px) {
  .site-footer .footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; }
  .site-footer .footer-inner > div:first-child { align-items: center; }
  .site-footer .footer-nav { max-width: 520px; }
  .site-footer .back-to-top { display: none; }
}


/* =========================================
   TELEFONY: DO 720 PX
   ========================================= */

@media (max-width: 720px) {

  :root { --page-gutter: 20px; }
  html { scroll-padding-top: 83px; }
  .header-inner { height: 72px; gap: 14px; }
  .site-header .brand { --brand-title: 20px; --brand-tagline: 6px; --brand-gap: 4px; gap: 10px; }

  /* Menu mobilne */

  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 0; padding: 8px; width: 37px; height: 40px; }
  .menu-toggle span { height: 2px; width: 22px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 15px 20px 24px; background: #111719; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 3px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 15px; }
  .main-nav a::after { right: auto; width: 35px; left: 8px; bottom: 4px; }

  /* Przycisk telefonu bez ramki */

  .site-header .header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    color: var(--orange);
    overflow: visible;
    transform: none;
  }

  .site-header .header-phone .icon,
  .site-header .header-phone [data-phone] { display: none; }

  .site-header .header-phone::before { content: none; display: none; animation: none; }

  .site-header .header-phone::after {
    content: "";
    display: block;
    position: static;
    width: 25px;
    height: 25px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.35 1.9.68 2.79a2 2 0 0 1-.45 2.11L8.07 9.91a16 16 0 0 0 6 6l1.29-1.29a2 2 0 0 1 2.11-.45c.89.33 1.83.56 2.79.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.96.35 1.9.68 2.79a2 2 0 0 1-.45 2.11L8.07 9.91a16 16 0 0 0 6 6l1.29-1.29a2 2 0 0 1 2.11-.45c.89.33 1.83.56 2.79.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
  }

  .site-header .header-phone:hover,
  .site-header .header-phone:focus-visible {
    color: var(--orange-light);
    background: rgba(255,134,11,.10);
    border: 0;
    box-shadow: none;
    transform: none;
  }

  /* HERO TELEFON: STABILIZACJA CLS */

  .hero {
    height: auto;
    min-height: calc(550px + 100vw * 821 / 1916);
    padding-bottom: calc(100vw * 821 / 1916 + 126px);
  }

  .hero-inner {
    height: auto;
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 20px;
  }

  .hero-copy {
    max-width: 100%;
    width: 100%;
    padding-bottom: 0;
  }

  .hero-slides {
    inset: auto 0 104px;
    height: auto;
    aspect-ratio: 1916 / 821;
  }

  .hero-slide {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      #0f1517 0%,
      #0f1517 35%,
      rgba(15,21,23,.9) 42%,
      rgba(15,21,23,.1) 62%,
      rgba(15,21,23,.02) 78%,
      rgba(15,21,23,.4) 100%
    );
  }

  .hero .eyebrow {
    font-size: 15px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(34px, 8.8vw, 48px);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
    max-width: 390px;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-top: 23px;
    gap: 12px;
  }

  .hero-actions .button,
  .section-heading > .button,
  .about-copy > .button,
  .contact-form .button {
    font-size: 14px;
    min-height: 44px;
    padding: 12px 16px 8px;
  }

  .slider-pagination {
    margin-top: 18px;
    gap: 8px;
  }

  .slider-dot { width: 23px; }

  .hero .slider-controls {
    bottom: 14px;
    top: auto;
    gap: 12px;
  }

  .slider-controls button {
    width: 38px;
    height: 38px;
  }

  .hero .slider-caption {
    bottom: 68px;
    font-size: 12px;
  }

  /* ZALETY NA TELEFONIE */

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    align-items: stretch;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin-inline: auto;
    padding: 34px 0;
    column-gap: 24px;
    row-gap: 28px;
  }

  .benefits-grid .benefit,
  .benefits-grid .benefit:first-child,
  .benefits-grid .benefit:last-child {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    justify-content: start;
    justify-self: stretch;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    gap: 10px;
    margin: 0;
    padding: 0;
    transform: none;
  }

  .benefits-grid .benefit > .icon { display: block; width: 32px; height: 32px; margin: 0; color: var(--orange); }
  .benefits-grid .benefit > span { display: block; width: auto; min-width: 0; max-width: 100px; margin: 0; padding: 0; color: #c8ccce; font-size: 12px; line-height: 1.5; text-align: left; white-space: normal; overflow-wrap: anywhere; }

  /* POZOSTAŁE SEKCJE NA TELEFONIE */

  .section { padding-block: 43px; }
  h2 { font-size: 29px; letter-spacing: -.8px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 21px; margin-bottom: 26px; }
  .section-intro { font-size: 15px; margin-top: 13px; }
  .product-grid { gap: 15px; }
  .product-content { padding: 13px; }
  .product-content h3 { font-size: 14px; line-height: 1.5; min-height: 42px; margin-bottom: 11px; }
  .product-info { font-size: 11px; align-items: flex-start; gap: 6px; line-height: 1.45; margin-bottom: 7px; }
  .product-info .icon { width: 13px; height: 13px; margin-top: 1px; }
  .product-image { aspect-ratio: 1.28; }
  .product-price { min-height: 39px; padding-top: 11px; flex-wrap: wrap; gap: 2px 5px; }
  .product-price strong { font-size: 20px; }
  .product-price .price-individual { font-size: 13px; white-space: normal; line-height: 1.5; }
  .product-price small { font-size: 10px; }
  .product-content .button { min-height: 40px; font-size: 13px; padding: 8px 5px; }
  .offer-note { font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-copy > p:not(.eyebrow) { font-size: 15px; max-width: none; }
  .about-copy > .about-lead { font-size: 16px !important; }
  .about-highlights { margin-block: 24px; gap: 16px; }
  .about-highlights strong { font-size: 21px; }
  .about-highlights span { font-size: 11px; }
  .about-image { max-width: 500px; margin-inline: auto; }
  .faq-list { gap: 8px; margin-top: 25px; }
  .faq-list summary { padding: 14px 15px; font-size: 13px; gap: 12px; }
  .faq-list details > p { font-size: 14px; padding: 0 15px 17px; }
  .faq-plus { width: 17px; height: 17px; }
  .faq-plus::before, .faq-plus::after { top: 6.5px; left: 3.5px; }
  .contact { padding-top: 20px; }
  .contact-heading { gap: 13px; }
  .contact-heading > .section-intro { font-size: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-details { padding: 9px 21px; }
  .contact-row { padding-block: 16px; gap: 17px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-row strong { font-size: 16px; }
  .contact-row small { font-size: 12px; }
  .contact-form { padding: 18px; gap: 11px; }
  .contact-form input, .contact-form textarea { font-size: 14px; padding: 11px 12px; }
  .form-two-columns { gap: 10px; }
  .form-note { font-size: 11px; }
  .site-footer { padding: 40px 0 0; }
  .site-footer .footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding-bottom: 38px; text-align: center; }
  .site-footer .footer-inner > div:first-child { display: flex; flex-direction: column; align-items: center; gap: 19px; width: 100%; }
  .site-footer .brand { gap: 11px; }
  .site-footer .copyright { max-width: 320px; font-size: 11px; line-height: 1.8; text-align: center; }
  .site-footer .footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; width: 100%; max-width: 380px; }
  .site-footer .footer-nav a { font-size: 12px; line-height: 1.6; white-space: nowrap; }
  .site-footer .back-to-top { display: none; }
  .site-footer .veloce-credits { gap: 15px; width: calc(100% - 48px); max-width: 440px; padding: 29px 10px 35px; }
  .site-footer .veloce-credits a { font-size: 12px; }
  .site-footer .veloce-cookie-footer button { font-size: 11px; padding: 6px 10px; }
}


/* =========================================
   BARDZO MAŁE TELEFONY: DO 360 PX
   ========================================= */

@media (max-width: 360px) {
  :root { --page-gutter: 14px; }
  .site-header .brand { --brand-title: 17px; --brand-tagline: 5px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: 11px; padding-inline: 11px; }
  .hero { min-height: 650px; }
  .product-grid { gap: 10px; }
  .product-content { padding: 10px; }
  .product-content h3 { font-size: 13px; }
  .product-info { font-size: 10px; }
  .form-two-columns { grid-template-columns: 1fr; }
  .site-footer .veloce-credits { width: calc(100% - 28px); }
  .site-footer .footer-nav { gap: 12px 14px; }
  .site-footer .footer-nav a { font-size: 11px; }
}


/* =========================================
   DOSTĘPNOŚĆ
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product-card:hover, .button:hover, .header-phone:hover { transform: none; }
}

/* FAQ - ESTETYCZNE ODSTEPY ODPOWIEDZI */

.faq-list details[open] > p {
  padding-top: 18px;
  padding-bottom: 24px;
  line-height: 1.8;
}

/* TELEFON */
@media (max-width: 720px) {
  .faq-list details[open] > p {
    padding-top: 15px;
    padding-bottom: 20px;
    line-height: 1.75;
  }
}
