/* ==========================================================================
   CAR PLUS SERWIS - arkusz stylow
   Motyw: jasny, nowoczesny, motoryzacyjny
   Marka: czerwien #C2202C, grafit #23262C, biel
   ========================================================================== */

/* 1. ZMIENNE -------------------------------------------------------------- */
:root {
  --red: #C2202C;
  --red-600: #A81824;
  --red-700: #8E141E;
  --red-tint: #FBEAEB;
  --ink: #16181C;
  --charcoal: #23262C;
  --charcoal-2: #2C3038;
  --white: #ffffff;
  --gray-50: #F7F8FA;
  --gray-100: #EEF1F4;
  --gray-200: #E3E7EC;
  --gray-300: #CFD5DD;
  --gray-400: #A7AEBB;
  --gray-500: #717885;
  --gray-600: #515863;
  --text: #23262C;
  --text-muted: #5C6470;
  --border: #E6E9EE;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.07);
  --shadow: 0 6px 20px rgba(16,24,40,.08);
  --shadow-md: 0 12px 32px rgba(16,24,40,.12);
  --shadow-lg: 0 26px 60px rgba(16,24,40,.18);
  --shadow-red: 0 10px 26px rgba(194,32,44,.30);

  --container: 1200px;
  --header-h: 74px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --grad-red: linear-gradient(135deg, #D8232F 0%, #A81824 100%);
  --grad-dark: linear-gradient(160deg, #2B2F37 0%, #16181C 100%);

  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* 2. RESET & BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 94px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-700); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: fixed; left: 8px; top: -80px; z-index: 2000;
  background: var(--red); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. TYPOGRAFIA ----------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); line-height: 1.7; }
.text-red { color: var(--red); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.eyebrow.center::before { display: none; }

/* 4. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.alt { background: var(--gray-50); }
.section.dark { background: var(--charcoal); color: #d7dbe2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #aeb4bf; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 14px; }
.grid { display: grid; gap: 26px; }

/* 5. PRZYCISKI ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--radius-pill); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(194,32,44,.4); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--gray-300); }
.btn-outline:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: #fff; color: var(--charcoal); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* 6. TOPBAR + HEADER ------------------------------------------------------ */
.topbar { background: var(--ink); color: #b9bfc9; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #b9bfc9; }
a.topbar-item:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; fill: var(--red); flex-shrink: 0; }
.topbar-phone { font-weight: 600; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 42px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--charcoal);
  padding: 10px 14px; border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--red); }
.nav-link.is-active { color: var(--red); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 20px; }

.nav-toggle { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--charcoal); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 7. HERO ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--white); padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(194,32,44,.14), transparent 62%); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; bottom: -200px; left: -160px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(35,38,44,.06), transparent 60%); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--red-tint); color: var(--red-700);
  font-weight: 700; font-size: .85rem; padding: 7px 15px; border-radius: var(--radius-pill); font-family: var(--font-head);
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(194,32,44,.18); }
.hero h1 { margin: 20px 0 18px; }
.hero h1 .hl { color: var(--red); }
.hero-lead { max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px 34px; align-items: center; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1; }
.hero-trust-item .lbl { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.hero-stars { color: #F5A623; letter-spacing: 2px; font-size: 1.1rem; }

.hero-media { position: relative; }
.hero-media-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-float {
  position: absolute; bottom: 22px; left: -10px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 16px 20px; display: flex; align-items: center; gap: 13px; max-width: 270px;
}
.hero-float .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-red); display: grid; place-items: center; flex-shrink: 0; }
.hero-float .icon svg { width: 24px; height: 24px; fill: #fff; }
.hero-float .t { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.hero-float .s { font-size: .8rem; color: var(--text-muted); }

/* 8. PAGE HEADER + BREADCRUMBS ------------------------------------------- */
.page-header { position: relative; background: var(--grad-dark); color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.page-header::before {
  content: ""; position: absolute; top: -120px; right: -100px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(194,32,44,.28), transparent 60%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header-title { color: #fff; margin-top: 16px; max-width: 900px; }
.page-header-lead { color: #b6bcc6; max-width: 680px; margin-top: 16px; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .9rem; color: #9aa1ac; }
.breadcrumbs a { color: #c9ced6; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { color: var(--red); }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* 9. KARTY USLUG ---------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad-red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 58px; height: 58px; border-radius: 15px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s var(--ease); }
.service-icon svg { width: 30px; height: 30px; fill: var(--red); transition: fill .3s; }
.service-card:hover .service-icon { background: var(--grad-red); }
.service-card:hover .service-icon svg { fill: #fff; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .96rem; margin-bottom: 16px; }
.service-card .more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
.service-card .more svg { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
.info-card a svg { width: 15px; height: 15px; fill: var(--red); vertical-align: -2px; }
.service-card:hover .more svg { transform: translateX(4px); }

/* 10. DLACZEGO MY / FEATURES ---------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.feature { display: flex; gap: 16px; }
.feature .f-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--charcoal); display: grid; place-items: center; flex-shrink: 0; }
.feature .f-icon svg { width: 26px; height: 26px; fill: var(--red); }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; }
.section.dark .feature .f-icon { background: rgba(255,255,255,.07); }

/* 11. STATY --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.1rem); color: var(--red); line-height: 1; }
.stat .lbl { color: var(--text-muted); margin-top: 8px; font-weight: 500; }
.section.dark .stat .lbl { color: #aeb4bf; }

/* 12. PROCES / KROKI ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .step-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--gray-200); line-height: 1; margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* 13. SPLIT (tekst + obraz) ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-list { margin-top: 22px; display: grid; gap: 14px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.split-list li svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }

/* 14. CENNIK -------------------------------------------------------------- */
.price-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 17px 24px; border-bottom: 1px solid var(--border); align-items: center; }
.price-row:last-child { border-bottom: none; }
.price-row:nth-child(even) { background: var(--gray-50); }
.price-row .pr-name { font-weight: 600; color: var(--text); }
.price-row .pr-name span { display: block; font-weight: 400; font-size: .88rem; color: var(--text-muted); }
.price-row .pr-price { font-family: var(--font-head); font-weight: 700; color: var(--red); white-space: nowrap; }

/* 15. GALERIA + LIGHTBOX -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(to top, rgba(22,24,28,.5), transparent 55%); opacity: 0; transition: opacity .3s; }
.gallery-item .zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.gallery-item .zoom svg { width: 20px; height: 20px; fill: var(--charcoal); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:hover .zoom { opacity: 1; transform: scale(1); }

.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(16,18,22,.94); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; transition: background .2s; }
.lightbox-btn:hover { background: var(--red); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* 16. FORMULARZ ----------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--charcoal); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(194,32,44,.12); }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); }
.form-consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-note { font-size: .82rem; color: var(--gray-500); }
.form-status { padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.ok { display: block; background: #E8F6ED; color: #1A7F43; }
.form-status.err { display: block; background: var(--red-tint); color: var(--red-700); }

/* 17. KONTAKT INFO -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.info-card { display: flex; gap: 15px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .i-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--red-tint); display: grid; place-items: center; flex-shrink: 0; }
.info-card .i-icon svg { width: 24px; height: 24px; fill: var(--red); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card a, .info-card p { color: var(--text-muted); font-size: .96rem; }
.info-card a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); line-height: 0; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.info-cards-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-form-wrap h2 { margin: 10px 0 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.map-facade { position: relative; min-height: 340px; background: var(--grad-dark); display: grid; place-items: center; cursor: pointer; height: 100%; }
.map-facade.loaded { cursor: default; background: none; min-height: 0; height: auto; }
.map-facade-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; text-align: center; padding: 36px 24px; width: 100%; }
.map-facade-btn .mf-pin { width: 58px; height: 58px; border-radius: 50%; background: var(--grad-red); display: grid; place-items: center; margin-bottom: 10px; box-shadow: var(--shadow-red); transition: transform .25s var(--ease); }
.map-facade-btn .mf-pin svg { width: 28px; height: 28px; fill: #fff; }
.map-facade-btn:hover .mf-pin { transform: translateY(-3px) scale(1.05); }
.map-facade-btn .mf-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.map-facade-btn .mf-sub { color: #c9ced6; font-size: .95rem; }
.map-facade-btn .mf-note { color: #8990a0; font-size: .8rem; margin-top: 4px; }

/* 18. FAQ ----------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--gray-200); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 22px; height: 22px; flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-item summary .chev svg { width: 22px; height: 22px; fill: var(--red); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-muted); }

/* 19. CTA BANNER ---------------------------------------------------------- */
.cta-banner { background: var(--grad-dark); position: relative; overflow: hidden; padding: clamp(44px, 6vw, 72px) 0; }
.cta-banner::before { content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(194,32,44,.32), transparent 62%); }
.cta-banner-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #b6bcc6; max-width: 520px; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 20. BLOG ---------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .pc-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray-100); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.06); }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: .82rem; color: var(--gray-500); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.post-card h3 { margin-bottom: 10px; line-height: 1.25; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--red); }
.post-card p { font-size: .95rem; flex: 1; }
.post-card .more { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }

/* 21. ARTYKUL (prose) ----------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--gray-600); font-size: 1.06rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; margin-top: .5em; }
.prose ol li { list-style: decimal; margin-top: .5em; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--red); padding: 6px 0 6px 22px; color: var(--text); font-style: italic; }
.post-meta-line { display: inline-flex; align-items: center; gap: 8px; color: var(--gray-500); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.post-meta-line svg { width: 17px; height: 17px; fill: var(--red); }
.post-back { max-width: 760px; margin: 40px auto 0; }

/* tagi / chipy */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--gray-100); color: var(--charcoal); font-weight: 600; font-size: .88rem; padding: 8px 15px; border-radius: var(--radius-pill); font-family: var(--font-head); transition: background .2s, color .2s; }
a.chip:hover { background: var(--red); color: #fff; }

/* 21b. PODSTRONA USLUGI --------------------------------------------------- */
.service-detail { display: grid; grid-template-columns: 1fr; gap: 40px; }
.service-intro-p { font-size: 1.08rem; line-height: 1.8; color: var(--gray-600); margin-bottom: 1.1em; }
.service-intro-p:first-child { font-size: 1.15rem; color: var(--text); }
.service-h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 1.7em 0 .8em; }
.service-main .service-h2:first-child { margin-top: 0; }
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1.02rem; }
.check-list li svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.service-aside { position: relative; }
.service-cta-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); }
.sc-icon { width: 60px; height: 60px; border-radius: 15px; background: var(--grad-red); display: grid; place-items: center; margin-bottom: 18px; }
.sc-icon svg { width: 32px; height: 32px; fill: #fff; }
.service-cta-card h3 { margin-bottom: 8px; }
.service-cta-card p { font-size: .95rem; margin-bottom: 18px; }
.service-cta-card .btn { margin-bottom: 10px; }
.sc-meta { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 11px; }
.sc-meta li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--text-muted); }
.sc-meta svg { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; }
.chips-center { justify-content: center; }
@media (min-width: 900px) {
  .service-detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 54px; align-items: start; }
  .service-cta-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* 22. STOPKA -------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #aab0bb; padding-top: clamp(38px, 4vw, 58px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px 38px; padding-bottom: 32px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .footer-grid { grid-template-columns: 1.9fr 1fr 1.2fr 1.3fr; gap: 22px 40px; } }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-about p { color: #9aa1ad; max-width: 340px; font-size: .9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-title { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-links li, .footer-hours li { margin-bottom: 8px; }
.footer-links a { color: #9aa1ad; font-size: .9rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; border-bottom: 1px dashed rgba(255,255,255,.08); padding-bottom: 7px; }
.footer-hours span:last-child { color: #cfd4db; font-weight: 600; }
.footer-contact li { margin-bottom: 9px; font-size: .9rem; color: #9aa1ad; line-height: 1.45; }
.footer-contact .lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--red); font-weight: 700; margin-bottom: 1px; font-family: var(--font-head); }
.footer-contact a { color: #d3d8df; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: .86rem; color: #80868f; }

/* 23. COOKIE -------------------------------------------------------------- */
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2500; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; max-width: 760px; margin: 0 auto; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { font-size: .9rem; margin: 0; flex: 1; min-width: 240px; }

/* 24. ANIMACJE ------------------------------------------------------------ */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.d1 { transition-delay: .08s; }
.animate-on-scroll.d2 { transition-delay: .16s; }
.animate-on-scroll.d3 { transition-delay: .24s; }
.animate-on-scroll.d4 { transition-delay: .32s; }

/* 25. POMOCNICZE ---------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.center-btn { display: flex; justify-content: center; margin-top: 44px; }
.tag-strip { display: flex; flex-wrap: wrap; gap: 10px 10px; margin-top: 26px; }

/* 25b. PASEK ZAUFANIA + OPINIE -------------------------------------------- */
.trust-strip { background: var(--ink); color: #cdd2da; }
.trust-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 16px 0; }
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.trust-strip svg { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; }

.reviews-band { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.reviews-score { text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); padding: 36px 28px; }
.reviews-score .rs-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 4.4rem; line-height: 1; color: #fff; }
.reviews-score .hero-stars { display: block; margin: 10px 0 6px; font-size: 1.4rem; }
.reviews-score .rs-lbl { color: #aeb4bf; font-weight: 500; }
.reviews-text h2 { margin: 12px 0 14px; }
@media (min-width: 768px) {
  .reviews-band { grid-template-columns: 280px 1fr; gap: 48px; }
}

/* 26. MEDIA QUERIES ------------------------------------------------------- */
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .split.reverse .split-media { order: 2; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
}
@media (min-width: 992px) {
  .nav-toggle { display: none; }
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 1.05fr; gap: 46px; }
  .info-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Nawigacja mobilna (do 991px) --- */
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: 310px; max-width: 86%;
    height: 100vh; height: 100dvh;
    background: #fff; box-sizing: border-box;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 90px 20px 28px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s var(--ease);
    z-index: 1100; overflow-y: auto; overflow-x: hidden;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-link { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: var(--red-tint); }
  .nav-cta { display: block; width: 100%; box-sizing: border-box; text-align: center; margin-top: 18px; padding: 15px 12px; }
  .nav-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(16,18,22,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 1050; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .topbar-hours { display: none; }
  .topbar-left .topbar-item span { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-left { display: none; }
  .topbar-right { gap: 16px; }
  .hero-float { left: 50%; transform: translateX(-50%); right: auto; bottom: -26px; }
  .hero-media { margin-bottom: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-actions { width: 100%; }
  .cta-banner-actions .btn { flex: 1; }
}
@media (max-width: 420px) {
  .btn-lg { padding: 14px 20px; font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* 27. PRINT --------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .cookie-notice, .cta-banner, .nav-toggle, .hero-actions { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 16px 0; }
}

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
}
