/* ============================================================
   inverox — premium serwis opon i mechanika, Wrocław
   Styl: editorialny luksus, biel + zielonkawy panel, elegancki
   serif z kursywą, cienkie linie, ghostowe kwadratowe przyciski.
   Kroje: Cormorant Garamond (display) + Jost (tekst)
   ============================================================ */

:root {
  --ink: #101010;
  --ink-2: #010101;
  --paper: #ffffff;
  --panel: #f4f7f1;
  --dark: #0d0d0d;
  --dark-2: #111311;
  --muted: #7c7873;
  --muted-2: #a6a29c;
  --line: #d9dbd7;
  --line-2: #b2b2b2;
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #8a9e78;
  --accent-deep: #6f8560;
  --wrap: 1300px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.iv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.iv-narrow { max-width: 820px; margin: 0 auto; }

.iv-eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.32em; font-size: 11.5px; font-weight: 500; color: var(--muted); display: inline-block; }
.iv-eyebrow.is-light { color: rgba(255,255,255,.72); }
.iv-eyebrow.is-accent { color: var(--accent-deep); }

.iv-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 38px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 0; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.iv-btn:hover { background: var(--ink); color: #fff; }
.iv-btn.is-light { border-color: rgba(255,255,255,.6); color: #fff; }
.iv-btn.is-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================ HEADER */
.iv-header { position: absolute; top: 0; left: 0; right: 0; z-index: 60; padding: 26px 0; }
.iv-header.is-stuck { position: fixed; background: rgba(255,255,255,.98); padding: 16px 0; border-bottom: 1px solid var(--line); animation: ivDrop .4s ease; }
@keyframes ivDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.iv-header .iv-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.iv-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.iv-logo b { font-family: var(--display); font-weight: 500; font-size: 27px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.iv-logo span { font-family: var(--body); font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 5px; }
.iv-header.is-stuck .iv-logo b { color: var(--ink); }
.iv-header.is-stuck .iv-logo span { color: var(--muted); }
.iv-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; }
.iv-nav a { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12.5px; font-weight: 400; color: #fff; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.iv-header.is-stuck .iv-nav a { color: var(--ink); }
.iv-nav a:hover, .iv-nav a.is-active { border-color: currentColor; }
.iv-header.is-stuck .iv-nav a:hover, .iv-header.is-stuck .iv-nav a.is-active { color: var(--accent-deep); }
.iv-head-cta { display: flex; align-items: center; gap: 18px; }
.iv-head-phone { font-family: var(--body); font-size: 13px; letter-spacing: 0.1em; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.iv-header.is-stuck .iv-head-phone { color: var(--ink); }
.iv-head-phone:hover { color: var(--accent); }
.iv-head-phone svg { width: 16px; height: 16px; }
.iv-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 11px; }
.iv-burger span { display: block; height: 1px; width: 100%; background: #fff; transition: transform .3s, opacity .3s; }
.iv-header.is-stuck .iv-burger span { background: var(--ink); }
.iv-burger span + span { margin-top: 7px; }
.iv-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.iv-burger.is-open span:nth-child(2) { opacity: 0; }
.iv-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================ HERO */
.iv-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; }
.iv-hero::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.5); }
.iv-hero .iv-wrap { position: relative; z-index: 2; }
.iv-hero .iv-eyebrow { color: rgba(255,255,255,.82); margin-bottom: 22px; }
.iv-hero h1 { font-size: clamp(40px, 7vw, 74px); font-weight: 300; letter-spacing: 0.01em; margin-bottom: 20px; }
.iv-hero-sub { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.28em; font-size: 13px; color: rgba(255,255,255,.86); margin-bottom: 38px; }
.iv-hero .iv-btn { border-color: rgba(255,255,255,.65); color: #fff; }
.iv-hero .iv-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================ SECTIONS */
.iv-section { padding: 104px 0; }
.iv-section.is-panel { background: var(--panel); }
.iv-section.is-dark { background: var(--dark); color: #fff; }

.iv-statement { text-align: center; max-width: 940px; margin: 0 auto; }
.iv-statement .iv-eyebrow { margin-bottom: 26px; }
.iv-statement p { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 4vw, 40px); line-height: 1.32; letter-spacing: 0.01em; color: var(--ink); margin-bottom: 34px; }
.iv-statement p em { font-style: italic; color: var(--accent-deep); }

.iv-center-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.iv-center-head .iv-eyebrow { margin-bottom: 18px; }
.iv-center-head h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 300; }
.iv-center-head p { color: var(--muted); margin-top: 18px; font-size: 16.5px; }

/* ============================================================ SERVICE TILE GRID */
.iv-tiles { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.iv-tile { position: relative; display: block; background: var(--paper); overflow: hidden; }
.iv-tile-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.iv-tile-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(18%); transition: transform .7s ease, filter .5s ease; }
.iv-tile:hover .iv-tile-img img { transform: scale(1.05); filter: grayscale(0%); }
.iv-tile-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 22px 22px; color: #fff; background: linear-gradient(180deg, transparent, rgba(13,13,13,.78)); }
.iv-tile-cap .iv-k { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10.5px; color: rgba(255,255,255,.75); display: block; margin-bottom: 6px; }
.iv-tile-cap h3 { font-size: 25px; font-weight: 400; }
.iv-tile-cap h3 em { font-style: italic; }
.iv-tile-foot { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; }
.iv-tile-foot p { color: var(--muted); font-size: 14px; max-width: 78%; }
.iv-tile-foot .iv-arrow { color: var(--accent-deep); }
.iv-tile-foot .iv-arrow svg { width: 20px; height: 20px; }

/* ============================================================ FEATURE FULL-BLEED */
.iv-feature { position: relative; color: #fff; text-align: center; background-size: cover; background-position: center; padding: 140px 0; }
.iv-feature::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.52); }
.iv-feature .iv-wrap { position: relative; z-index: 2; }
.iv-feature .iv-eyebrow { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.iv-feature h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 300; margin-bottom: 16px; max-width: 16ch; margin-left: auto; margin-right: auto; }
.iv-feature-sub { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.26em; font-size: 12.5px; color: rgba(255,255,255,.82); margin-bottom: 34px; }

/* ============================================================ TEXT-IMAGE OVERLAP / SPLIT */
.iv-split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.iv-split-body .iv-eyebrow { margin-bottom: 20px; }
.iv-split-body h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; margin-bottom: 22px; }
.iv-split-body h2 em { color: var(--accent-deep); }
.iv-split-body p { color: var(--muted); margin-bottom: 16px; }
.iv-split-body .iv-btn { margin-top: 16px; }
.iv-split-media { position: relative; }
.iv-split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.iv-stack { display: grid; gap: 24px; }
.iv-stack img { width: 100%; object-fit: cover; }

/* contact split with hairline */
.iv-contact-media { position: relative; }
.iv-contact-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; filter: grayscale(10%); }
.iv-contact-list { list-style: none; margin: 22px 0 30px; }
.iv-contact-list li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.iv-contact-list .iv-ci { width: 22px; flex: none; color: var(--accent-deep); margin-top: 3px; }
.iv-contact-list .iv-ci svg { width: 20px; height: 20px; }
.iv-contact-list b { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--muted); display: block; margin-bottom: 2px; font-weight: 500; }
.iv-contact-list a, .iv-contact-list span { color: var(--ink); font-size: 16px; }
.iv-contact-list a:hover { color: var(--accent-deep); }
.iv-map { min-height: 320px; border: 1px solid var(--line); margin-top: 6px; }
.iv-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(30%); }

/* ============================================================ WHY-US GRID */
.iv-why { display: grid; grid-template-columns: 1fr; }
.iv-why-item { padding: 34px 30px; border-top: 1px solid var(--line); }
.iv-why-item .iv-n { font-family: var(--display); font-size: 34px; font-weight: 300; color: var(--accent-deep); font-style: italic; }
.iv-why-item h3 { font-size: 23px; font-weight: 400; margin: 12px 0 10px; }
.iv-why-item p { color: var(--muted); font-size: 15px; }

/* ============================================================ TESTIMONIAL */
.iv-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.iv-quote .iv-mark { font-family: var(--display); font-size: 76px; line-height: .5; color: var(--accent); font-style: italic; display: block; margin-bottom: 26px; }
.iv-quote blockquote { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.4; font-style: italic; margin-bottom: 30px; }
.iv-quote cite { font-style: normal; font-family: var(--body); }
.iv-quote cite b { display: block; letter-spacing: 0.04em; font-weight: 500; font-size: 15px; }
.iv-quote cite span { display: block; text-transform: uppercase; letter-spacing: 0.2em; font-size: 11px; color: var(--muted-2); margin-top: 6px; }

/* ============================================================ CTA BAND */
.iv-cta { position: relative; color: #fff; text-align: center; background-size: cover; background-position: center; padding: 130px 0; }
.iv-cta::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.6); }
.iv-cta .iv-wrap { position: relative; z-index: 2; }
.iv-cta h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 300; margin-bottom: 34px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.iv-cta h2 em { color: #cbd8bd; }

/* ============================================================ FAQ / PROSE / CARDS / PRICING */
.iv-qa { border-top: 1px solid var(--line-2); max-width: 900px; margin: 0 auto; }
.iv-qa-item { padding: 30px 4px; border-bottom: 1px solid var(--line-2); }
.iv-qa-item h3 { font-size: 24px; font-weight: 400; margin-bottom: 10px; }
.iv-qa-item p { color: var(--muted); margin: 0; }

.iv-cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.iv-card { background: var(--paper); padding: 36px 32px; }
.iv-card .iv-k { font-family: var(--display); font-size: 30px; font-style: italic; font-weight: 300; color: var(--accent-deep); }
.iv-card h3 { font-size: 23px; font-weight: 400; margin: 12px 0 10px; }
.iv-card p { color: var(--muted); font-size: 15px; }

.iv-prose { max-width: 800px; margin: 0 auto; }
.iv-prose .iv-lead { font-family: var(--display); font-size: 24px; font-weight: 300; line-height: 1.5; color: var(--ink); margin-bottom: 12px; }
.iv-prose h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 400; margin: 42px 0 14px; }
.iv-prose h3 { font-size: 21px; font-weight: 500; font-family: var(--body); margin: 26px 0 10px; }
.iv-prose p { color: var(--muted); margin-bottom: 16px; }
.iv-prose ul, .iv-prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.iv-prose li { margin-bottom: 9px; }
.iv-prose a { color: var(--accent-deep); text-decoration: underline; }
.iv-prose strong { color: var(--ink); }

/* ============================================================ PAGEHEAD */
.iv-pagehead { position: relative; color: #fff; background-size: cover; background-position: center; text-align: center; padding: 200px 0 90px; }
.iv-pagehead::after { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.58); }
.iv-pagehead .iv-wrap { position: relative; z-index: 2; }
.iv-pagehead .iv-eyebrow { color: rgba(255,255,255,.78); margin-bottom: 18px; }
.iv-pagehead h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 300; }
.iv-pagehead p { color: rgba(255,255,255,.82); max-width: 620px; margin: 18px auto 0; font-size: 16.5px; }
.iv-crumbs { margin-top: 22px; font-family: var(--body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.iv-crumbs a { color: #cbd8bd; }

/* ============================================================ FOOTER */
.iv-footer { background: var(--dark); color: #cbc9c9; padding: 76px 0 0; }
.iv-footer-cols { display: grid; grid-template-columns: 1fr; gap: 44px; padding-bottom: 50px; }
.iv-footer .iv-logo b { color: #fff; }
.iv-footer .iv-logo span { color: var(--muted-2); }
.iv-footer p { font-size: 14px; color: #a6a29c; margin: 18px 0; max-width: 40ch; }
.iv-footer h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; color: #fff; margin-bottom: 20px; font-weight: 500; }
.iv-footer ul { list-style: none; }
.iv-footer li { margin-bottom: 13px; }
.iv-footer a { color: #cbc9c9; font-size: 14.5px; }
.iv-footer a:hover { color: #fff; }
.iv-footer-contact li { display: flex; gap: 10px; font-size: 14.5px; }
.iv-footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.iv-footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #86837e; letter-spacing: 0.04em; }
.iv-footer-bottom a { color: #86837e; }
.iv-footer-bottom a:hover { color: #fff; }
.iv-footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================ COOKIE */
.iv-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1040px; margin: 0 auto; background: #fff; 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,.2); }
.iv-cookie.is-visible { display: grid; }
.iv-cookie p { font-size: 13.5px; color: var(--muted); margin: 0; }
.iv-cookie a { color: var(--accent-deep); text-decoration: underline; }
.iv-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.iv-cookie-actions button { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 11.5px; font-weight: 500; padding: 13px 22px; cursor: pointer; border: 1px solid var(--ink); border-radius: 0; }
.iv-cookie-actions .iv-ck-all { background: var(--ink); color: #fff; }
.iv-cookie-actions .iv-ck-all:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.iv-cookie-actions .iv-ck-min { background: #fff; color: var(--ink); }
.iv-cookie-actions .iv-ck-min:hover { background: var(--panel); }

/* ============================================================ RESPONSIVE */
@media (min-width: 720px) {
  .iv-tiles { grid-template-columns: repeat(3, 1fr); }
  .iv-why { grid-template-columns: repeat(2, 1fr); }
  .iv-why-item { border-left: 1px solid var(--line); }
  .iv-why-item:nth-child(-n+2) { border-top: none; }
  .iv-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 940px) {
  .iv-split { grid-template-columns: 1fr 1fr; gap: 70px; }
  .iv-split.is-reverse .iv-split-media { order: 2; }
  .iv-why { grid-template-columns: repeat(4, 1fr); }
  .iv-why-item { border-top: none; }
  .iv-contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}
@media (max-width: 899px) {
  .iv-burger { display: block; }
  .iv-nav { position: fixed; inset: 0 0 0 auto; width: min(330px, 85vw); background: #fff; padding: 100px 34px 34px; transform: translateX(100%); transition: transform .34s ease; z-index: 55; box-shadow: -20px 0 50px rgba(0,0,0,.18); }
  .iv-nav.is-open { transform: translateX(0); }
  .iv-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .iv-nav a { color: var(--ink); display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .iv-head-phone { display: none; }
  .iv-section { padding: 68px 0; }
  .iv-feature, .iv-cta { padding: 96px 0; }
}
