/* ============================================================
   kelvion — auto experts, Poznań (repair · clean · detail)
   Styl: luksusowy monochromatyczny editorial, serif w całości,
   brak koloru akcentującego, pełnoformatowe zdjęcia, cienkie
   podkreślane linki tekstowe zamiast wypełnionych przycisków.
   Krój: EB Garamond (display i tekst)
   ============================================================ */

:root {
  --paper: #f5f4f1;
  --paper-2: #faf9f6;
  --ink: #2b2a27;
  --ink-strong: #191917;
  --muted: #8a877f;
  --muted-2: #a8a49b;
  --line: #dddbd4;
  --line-strong: #c7c4bb;
  --dark: #191917;
  --dark-2: #121210;
  --line-dark: rgba(255, 255, 255, 0.15);
  --wrap: 1160px;
  --wide: 1360px;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--serif); color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 18px; font-weight: 400; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; letter-spacing: 0.005em; }
em { font-style: italic; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.kv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.kv-wide { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 30px; }

.kv-eyebrow { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.3em; font-size: 12px; font-weight: 500; color: var(--muted); display: inline-block; }
.kv-eyebrow.is-light { color: rgba(255,255,255,.72); }

.kv-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.2em; font-size: 12.5px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 5px; transition: color .25s, border-color .25s, gap .25s; }
.kv-link:hover { gap: 13px; color: var(--muted); border-color: var(--muted); }
.kv-link.is-light { color: #fff; border-color: rgba(255,255,255,.85); }
.kv-link.is-light:hover { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.5); }

/* ============================================================ HEADER */
.kv-header { position: absolute; top: 0; left: 0; right: 0; z-index: 60; padding: 24px 0; }
.kv-header.is-stuck { position: fixed; background: rgba(245,244,241,.97); backdrop-filter: blur(6px); padding: 14px 0; border-bottom: 1px solid var(--line); animation: kvDrop .4s ease; }
@keyframes kvDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.kv-header .kv-wide { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kv-brand { display: flex; align-items: center; gap: 12px; }
.kv-emblem { width: 40px; height: 40px; flex: none; }
.kv-emblem circle { fill: none; stroke: #fff; stroke-width: 1.4; }
.kv-emblem text { fill: #fff; font-family: var(--serif); font-weight: 600; }
.kv-header.is-stuck .kv-emblem circle { stroke: var(--ink); }
.kv-header.is-stuck .kv-emblem text { fill: var(--ink); }
.kv-brand-word { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: 0.34em; text-transform: uppercase; color: #fff; }
.kv-header.is-stuck .kv-brand-word { color: var(--ink); }
.kv-nav ul { list-style: none; display: flex; align-items: center; gap: 36px; }
.kv-nav a { font-family: var(--serif); letter-spacing: 0.12em; font-size: 16px; color: #fff; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.kv-header.is-stuck .kv-nav a { color: var(--ink); }
.kv-nav a:hover, .kv-nav a.is-active { border-color: currentColor; }
.kv-head-cta { display: flex; align-items: center; gap: 18px; }
.kv-head-phone { font-family: var(--serif); letter-spacing: 0.08em; font-size: 16px; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.kv-header.is-stuck .kv-head-phone { color: var(--ink); }
.kv-head-phone svg { width: 17px; height: 17px; }
.kv-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 11px; }
.kv-burger span { display: block; height: 1px; width: 100%; background: #fff; transition: transform .3s, opacity .3s; }
.kv-header.is-stuck .kv-burger span { background: var(--ink); }
.kv-burger span + span { margin-top: 8px; }
.kv-burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.kv-burger.is-open span:nth-child(2) { opacity: 0; }
.kv-burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================ HERO */
.kv-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; }
.kv-hero::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,18,.42); }
.kv-hero-inner { position: relative; z-index: 2; }
.kv-hero-emblem { width: 76px; height: 76px; margin: 0 auto 22px; }
.kv-hero-emblem circle { fill: none; stroke: #fff; stroke-width: 1.2; }
.kv-hero-emblem text { fill: #fff; font-family: var(--serif); font-weight: 600; }
.kv-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 9vw, 92px); letter-spacing: 0.32em; text-transform: uppercase; text-indent: 0.32em; margin-bottom: 16px; }
.kv-hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 2.4vw, 20px); letter-spacing: 0.14em; color: rgba(255,255,255,.9); }

/* ============================================================ INTRO STATEMENT */
.kv-section { padding: 108px 0; }
.kv-section.is-white { background: var(--paper-2); }
.kv-section.is-dark { background: var(--dark); color: #fff; }
.kv-intro { text-align: center; max-width: 820px; margin: 0 auto; }
.kv-intro h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; margin-bottom: 16px; }
.kv-intro h2 em { font-style: italic; }
.kv-intro p { color: var(--muted); font-size: 16px; letter-spacing: 0.02em; margin-bottom: 30px; }
.kv-center-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.kv-center-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; }
.kv-center-head h2 em { font-style: italic; }
.kv-center-head p { color: var(--muted); font-size: 16px; margin-top: 14px; }

/* ============================================================ SHOWCASE SLIDER */
.kv-showcase { max-width: var(--wide); margin: 0 auto; padding: 0 30px; }
.kv-slider { position: relative; overflow: hidden; }
.kv-slides { display: flex; transition: transform .6s cubic-bezier(.6,0,.2,1); }
.kv-slide { position: relative; min-width: 100%; }
.kv-slide img { width: 100%; height: clamp(320px, 56vw, 640px); object-fit: cover; filter: grayscale(12%); }
.kv-slide figcaption { position: absolute; left: 22px; bottom: 20px; color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(14px, 2vw, 19px); letter-spacing: 0.04em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.kv-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border: 0; background: rgba(20,20,18,.35); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s; }
.kv-slider-arrow:hover { background: rgba(20,20,18,.6); }
.kv-slider-arrow svg { width: 20px; height: 20px; }
.kv-slider-prev { left: 0; }
.kv-slider-next { right: 0; }
.kv-dots { display: flex; justify-content: center; gap: 12px; margin: 26px 0 30px; }
.kv-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); background: transparent; cursor: pointer; padding: 0; transition: background .25s, border-color .25s; }
.kv-dot.is-active { background: var(--ink); border-color: var(--ink); }
.kv-showcase-foot { text-align: center; }

/* ============================================================ CTA BAND */
.kv-band { position: relative; color: #fff; text-align: center; background-size: cover; background-position: center; padding: 150px 0; }
.kv-band::after { content: ""; position: absolute; inset: 0; background: rgba(18,18,16,.56); }
.kv-band .kv-wrap { position: relative; z-index: 2; }
.kv-band h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 500; margin-bottom: 14px; }
.kv-band h2 em { font-style: italic; }
.kv-band p { color: rgba(255,255,255,.82); font-size: 16px; letter-spacing: 0.02em; margin-bottom: 32px; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ============================================================ FEATURE PAIR */
.kv-pair { display: grid; grid-template-columns: 1fr; gap: 22px; }
.kv-tile { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 360px; color: #fff; overflow: hidden; }
.kv-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform .7s ease; z-index: 0; }
.kv-tile::after { content: ""; position: absolute; inset: 0; background: rgba(18,18,16,.5); z-index: 1; transition: background .4s; }
.kv-tile:hover img { transform: scale(1.05); }
.kv-tile:hover::after { background: rgba(18,18,16,.62); }
.kv-tile-body { position: relative; z-index: 2; padding: 30px; }
.kv-tile-body h3 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; margin-bottom: 10px; }
.kv-tile-body h3 em { font-style: italic; }
.kv-tile-body p { color: rgba(255,255,255,.82); font-size: 15px; margin-bottom: 20px; }

/* ============================================================ SERVICES GRID */
.kv-grid { display: grid; grid-template-columns: 1fr; gap: 40px 30px; }
.kv-card { display: block; }
.kv-card-thumb { overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.kv-card-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(14%); transition: transform .6s ease, filter .5s ease; }
.kv-card:hover .kv-card-thumb img { transform: scale(1.05); filter: grayscale(0%); }
.kv-card h3 { font-size: 24px; font-weight: 500; margin: 18px 0 6px; }
.kv-card p { color: var(--muted); font-size: 15px; }
.kv-card .kv-card-more { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.kv-card:hover .kv-card-more { border-color: var(--ink); }

/* ============================================================ ABOUT 2-COL */
.kv-split { display: grid; grid-template-columns: 1fr; gap: 46px; align-items: center; }
.kv-split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; filter: grayscale(16%); }
.kv-split-body .kv-eyebrow { margin-bottom: 18px; }
.kv-split-body h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 500; margin-bottom: 20px; }
.kv-split-body h2 em { font-style: italic; }
.kv-split-body p { color: var(--muted); margin-bottom: 16px; }
.kv-split-body .kv-lead { color: var(--ink); font-size: 20px; font-style: italic; }

/* ============================================================ GALLERY STRIP */
.kv-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.kv-strip img { width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: grayscale(18%); transition: filter .5s ease; }
.kv-strip img:hover { filter: grayscale(0%); }

/* ============================================================ CONTACT */
.kv-contact { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.kv-contact-list { list-style: none; }
.kv-contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv-contact-list .kv-k { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.2em; font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 5px; }
.kv-contact-list a, .kv-contact-list span { font-size: 19px; color: var(--ink); }
.kv-contact-list a:hover { color: var(--muted); }
.kv-map { min-height: 340px; border: 1px solid var(--line); }
.kv-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(40%); }

/* ============================================================ PAGEHEAD / PROSE / CARDS / QA */
.kv-pagehead { position: relative; color: #fff; background-size: cover; background-position: center; text-align: center; padding: 210px 0 96px; }
.kv-pagehead::after { content: ""; position: absolute; inset: 0; background: rgba(18,18,16,.58); }
.kv-pagehead .kv-wrap { position: relative; z-index: 2; }
.kv-pagehead .kv-eyebrow { color: rgba(255,255,255,.75); margin-bottom: 16px; }
.kv-pagehead h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 500; }
.kv-pagehead h1 em { font-style: italic; }
.kv-pagehead p { color: rgba(255,255,255,.82); max-width: 620px; margin: 16px auto 0; font-size: 17px; }
.kv-crumbs { margin-top: 22px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.kv-crumbs a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }

.kv-prose { max-width: 780px; margin: 0 auto; }
.kv-prose .kv-lead { font-size: 22px; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 10px; }
.kv-prose h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 500; margin: 42px 0 14px; }
.kv-prose h3 { font-size: 21px; font-weight: 600; margin: 26px 0 10px; }
.kv-prose p { color: var(--muted); margin-bottom: 16px; }
.kv-prose ul, .kv-prose ol { margin: 0 0 18px 24px; color: var(--muted); }
.kv-prose li { margin-bottom: 9px; }
.kv-prose a { color: var(--ink); text-decoration: underline; }
.kv-prose strong { color: var(--ink); }

.kv-cards { display: grid; grid-template-columns: 1fr; gap: 28px; }
.kv-mini { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.kv-mini .kv-n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--muted); }
.kv-mini h3 { font-size: 23px; font-weight: 500; margin: 8px 0 10px; }
.kv-mini p { color: var(--muted); font-size: 15.5px; }

.kv-qa { border-top: 1px solid var(--line-strong); max-width: 860px; margin: 0 auto; }
.kv-qa-item { padding: 28px 4px; border-bottom: 1px solid var(--line-strong); }
.kv-qa-item h3 { font-size: 23px; font-weight: 500; margin-bottom: 8px; }
.kv-qa-item p { color: var(--muted); margin: 0; }

/* ============================================================ FOOTER */
.kv-footer { background: var(--dark-2); color: #cfcdc6; padding: 66px 0 0; }
.kv-footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
.kv-footer-brand .kv-brand-word { color: #fff; }
.kv-footer-brand .kv-emblem circle { stroke: #fff; }
.kv-footer-brand .kv-emblem text { fill: #fff; }
.kv-footer p { color: #97948c; font-size: 14.5px; margin-top: 16px; max-width: 40ch; }
.kv-footer h4 { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px; color: #fff; margin-bottom: 18px; font-weight: 500; }
.kv-footer ul { list-style: none; }
.kv-footer li { margin-bottom: 12px; }
.kv-footer a { color: #cfcdc6; font-size: 15px; }
.kv-footer a:hover { color: #fff; }
.kv-footer-contact li { line-height: 1.5; }
.kv-footer-bottom { border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #86837c; letter-spacing: 0.03em; }
.kv-footer-bottom a { color: #86837c; }
.kv-footer-bottom a:hover { color: #fff; }
.kv-footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================ COOKIE */
.kv-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1040px; margin: 0 auto; background: var(--paper-2); color: var(--ink); border: 1px solid var(--ink); padding: 24px 26px; display: none; grid-template-columns: 1fr; gap: 16px; align-items: center; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.kv-cookie.is-visible { display: grid; }
.kv-cookie p { font-size: 14.5px; color: var(--muted); margin: 0; }
.kv-cookie a { color: var(--ink); text-decoration: underline; }
.kv-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.kv-cookie-actions button { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 500; padding: 12px 22px; cursor: pointer; border: 1px solid var(--ink); }
.kv-cookie-actions .kv-ck-all { background: var(--ink); color: var(--paper); }
.kv-cookie-actions .kv-ck-all:hover { background: var(--ink-strong); }
.kv-cookie-actions .kv-ck-min { background: transparent; color: var(--ink); }
.kv-cookie-actions .kv-ck-min:hover { background: var(--paper); }

/* ============================================================ RESPONSIVE */
@media (min-width: 720px) {
  .kv-pair { grid-template-columns: 1fr 1fr; }
  .kv-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-strip { grid-template-columns: repeat(4, 1fr); }
  .kv-contact { grid-template-columns: 1fr 1fr; }
  .kv-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 940px) {
  .kv-grid { grid-template-columns: repeat(3, 1fr); }
  .kv-split { grid-template-columns: 1fr 1fr; gap: 70px; }
  .kv-split.is-reverse .kv-split-media { order: 2; }
  .kv-split-media img { min-height: 480px; }
}
@media (max-width: 899px) {
  .kv-burger { display: block; }
  .kv-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--paper-2); padding: 100px 34px 34px; transform: translateX(100%); transition: transform .34s ease; z-index: 55; box-shadow: -20px 0 50px rgba(0,0,0,.16); }
  .kv-nav.is-open { transform: translateX(0); }
  .kv-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kv-nav a { color: var(--ink); display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .kv-head-phone { display: none; }
  .kv-section { padding: 70px 0; }
  .kv-band { padding: 104px 0; }
}
