:root {
  --ink: #0d1e25;
  --paper: #f8f7f4;
  --accent: #ff6908;
  --soft: #dce2e1;
  --line: rgba(36, 51, 46, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header, .site-footer, .section, .hero { padding-inline: max(6vw, 24px); }
.site-header {
  height: 88px; display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
}
.logo { display: block; width: 118px; height: 68px; overflow: hidden; line-height: 0; }
.logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.42); }
.menu { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 500; }
.menu > a:not(.button):hover, .site-footer a:hover { color: var(--accent); }
.button {
  display: inline-flex; align-items: center; gap: 20px; padding: 14px 20px;
  background: var(--ink); color: white; font-weight: 600; border: 1px solid var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); }
.button-small { padding: 9px 15px; font-size: .85rem; }
.hero {
  min-height: calc(100vh - 88px); max-width: 1440px; margin: 0 auto; position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; isolation: isolate;
}
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Sora", sans-serif; font-weight: 700; letter-spacing: -.065em; }
h1 { max-width: 850px; margin-bottom: 25px; font-size: clamp(3.15rem, 7.3vw, 6.5rem); line-height: .98; }
h1 em, h2 em { color: var(--accent); font-weight: inherit; }
.hero-copy { max-width: 520px; margin-bottom: 34px; font-size: 1.05rem; color: #435056; }
.hero-caption { margin: 56px 0 0; color: #69706f; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero > :not(.hero-photo):not(.hero-shape) { position: relative; z-index: 1; }
.hero-photo { position: absolute; z-index: 0; right: 2vw; top: 12%; width: min(38vw, 520px); height: 68%; margin: 0; overflow: hidden; border-radius: 18px 18px 110px 18px; box-shadow: 0 24px 55px rgba(13,30,37,.12); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(248,247,244,.82) 16%, rgba(248,247,244,.04) 56%, rgba(13,30,37,.14) 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shape { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.shape-one { width: min(42vw, 610px); height: min(42vw, 610px); right: -10vw; top: 4%; background: var(--soft); border-radius: 48% 52% 64% 36% / 35% 40% 60% 65%; transform: rotate(-18deg); }
.shape-two { width: min(17vw, 230px); height: min(17vw, 230px); right: 18%; bottom: -4%; background: var(--accent); opacity: .95; border-radius: 18% 82% 30% 70% / 59% 37% 63% 41%; }
.section { padding-block: 130px; }
.intro { background: var(--ink); color: var(--paper); }
.intro .eyebrow { color: #b9c9a7; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 10vw, 170px); max-width: 1100px; }
h2 { font-size: clamp(2.55rem, 5vw, 4.55rem); line-height: 1.05; margin-bottom: 40px; }
.intro h2 { margin: 0; }
.intro-grid p { max-width: 470px; color: #d8ded5; font-size: 1.05rem; }
.services { max-width: 1440px; margin: 0 auto; }
.services > h2 { margin-bottom: 55px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card { min-height: 265px; padding: 27px 30px 20px 0; border-bottom: 1px solid var(--line); }
.card + .card { padding-left: 30px; border-left: 1px solid var(--line); }
.card-number { color: var(--accent); display: block; font-weight: 700; font-size: .75rem; margin-bottom: 42px; }
.card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.card p { max-width: 285px; color: #52615b; }
.dealer-note { margin: 42px 0 0; padding: 18px 20px; max-width: 680px; border-left: 3px solid var(--accent); background: #eceae4; color: #52615b; }
.dealer-note strong { color: var(--ink); }
.text-link { display: inline-flex; gap: 14px; margin-top: 42px; padding-bottom: 5px; font-weight: 700; border-bottom: 2px solid var(--accent); }
.text-link:hover { color: var(--accent); }
.contact { padding-block: 120px; text-align: center; background: var(--accent); color: #fff; }
.contact .eyebrow, .contact h2 em { color: var(--ink); }
.contact .email-link { border-color: #fff; }
.contact .email-link:hover { color: var(--ink); }
.social-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.social-links a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.65); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; transition: background .2s ease, color .2s ease; }
.social-links a:hover { color: var(--ink); background: #fff; }
.contact h2 { margin-bottom: 12px; }
.contact p { margin-bottom: 28px; }
.email-link { display: inline-block; font-size: clamp(1.25rem, 3vw, 2.25rem); font-weight: 600; border-bottom: 2px solid var(--ink); }
.email-link:hover { color: var(--accent); }
.site-footer { max-width: 1440px; margin: 0 auto; padding-block: 26px; display: flex; justify-content: space-between; font-size: .8rem; color: #52615b; }
.menu-toggle { display: none; }
.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; }

/* Podstrona usług */
.page-hero { max-width: 1440px; margin: 0 auto; padding-block: clamp(90px, 13vw, 180px); }
.page-hero h1 { margin-bottom: 26px; }
.page-hero > p:last-child { max-width: 580px; color: #435056; font-size: 1.08rem; }
.primary-services { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; max-width: 1440px; margin: 0 auto; }
.primary-service { min-height: 425px; padding: 38px max(3vw, 26px); display: flex; flex-direction: column; transition: transform .25s ease; }
.primary-service:hover { transform: translateY(-8px); }
.primary-service span, .additional-grid span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.primary-service h2 { margin: auto 0 16px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: .98; }
.primary-service h2 b { font-family: inherit; font-weight: inherit; }
.primary-service p { margin: 0; font-size: .95rem; }
.primary-service { background-size: cover; background-position: center; background-blend-mode: multiply; }
.primary-service.sale { background-color: #132a33; background-image: linear-gradient(rgba(13,30,37,.28), rgba(13,30,37,.62)), url("assets/photos/sell-mercedes.png"); background-blend-mode: normal; color: white; }
.primary-service.sale span { color: var(--accent); }
.primary-service.buy { background-color: #da5708; background-image: linear-gradient(rgba(218,87,8,.35), rgba(218,87,8,.68)), url("assets/photos/buy-inspection.jpg"); background-blend-mode: normal; color: #fff; }
.primary-service.driver { background-color: #23434b; background-image: linear-gradient(rgba(13,30,37,.2), rgba(13,30,37,.58)), url("assets/photos/driver-road.jpg"); background-blend-mode: normal; background-position: center; color: #fff; }
.service-detail { max-width: 1440px; margin: 0 auto; }
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(45px, 10vw, 160px); }
.service-detail-grid h2 { margin-bottom: 25px; }
.service-detail-grid p { max-width: 540px; }
.service-detail-grid h3 { margin: 32px 0 14px; font-size: 1rem; letter-spacing: -.025em; }
.service-detail-grid ul { margin: 0; padding: 0; list-style: none; }
.service-detail-grid li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; }
.service-detail-grid li::before { content: "↗"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.service-closing { margin-top: 27px; font-weight: 700; color: var(--ink); }
.service-detail-dark { max-width: none; color: var(--paper); background: var(--ink); }
.service-detail-dark > * { max-width: 1440px; margin-left: auto; margin-right: auto; }
.service-detail-dark .eyebrow { color: var(--accent); }
.service-detail-dark p { color: #d4dcda; }
.service-detail-dark li { border-color: rgba(255,255,255,.17); }
.service-detail-dark .service-closing { color: white; }
.driver-grid, .additional-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; }
.driver-grid article, .additional-grid article { padding: 28px 28px 25px 0; border-top: 1px solid var(--line); }
.driver-grid article + article, .additional-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.driver-grid h3, .additional-grid h3 { font-size: 1.15rem; letter-spacing: -.035em; }
.driver-grid p, .additional-grid p { color: #52615b; font-size: .92rem; }
.additional-services { max-width: 1440px; margin: 0 auto; background: #eceae4; }
.additional-services > h2 { max-width: 670px; }
.additional-grid { margin-top: 55px; }
.additional-grid span { color: var(--accent); }
.additional-grid img { display: block; width: 100%; height: 190px; margin-bottom: 26px; object-fit: cover; filter: saturate(.85) contrast(1.04); }
.journey-gallery { max-width: 1440px; margin: 0 auto; }
.journey-gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 16px; }
.gallery-tile { min-height: 365px; margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.slider-frames { position: absolute; inset: 0; }
.gallery-tile img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .75s ease, transform 5s ease; }
.gallery-tile img.is-active { opacity: 1; transform: scale(1); }
.gallery-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(13,30,37,.82)); }
.gallery-tile figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; font-size: .85rem; font-weight: 700; }
.slider-dots { position: absolute; z-index: 2; right: 18px; top: 18px; display: flex; gap: 6px; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.slider-dot.is-active { background: #fff; transform: scale(1.3); }
.concierge-tile > span { position: absolute; z-index: 1; top: 20px; left: 22px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.concierge-tile figcaption { font-family: "Sora", sans-serif; font-size: 1.24rem; line-height: 1.1; letter-spacing: -.055em; }
.concierge-tile figcaption small { display: block; margin-top: 8px; font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: 0; }

@media (max-width: 700px) {
  .site-header { height: 74px; }
  .menu-toggle { display: grid; gap: 5px; padding: 8px 0 8px 8px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); }
  .menu { position: absolute; top: 74px; right: 24px; left: 24px; display: none; padding: 20px; background: var(--ink); color: var(--paper); flex-direction: column; align-items: stretch; gap: 18px; z-index: 3; }
  .menu.is-open { display: flex; }
  .menu .button { text-align: center; justify-content: center; }
  .hero { min-height: calc(100vh - 74px); padding-bottom: 70px; }
  .hero-photo { width: 70vw; height: 55%; right: -20vw; top: 9%; opacity: .34; }
  .shape-one { width: 62vw; height: 62vw; right: -27vw; top: 5%; }
  .shape-two { width: 28vw; height: 28vw; right: 8%; }
  .section { padding-block: 80px; }
  .intro-grid, .cards, .primary-services, .driver-grid, .additional-grid, .service-detail-grid, .journey-gallery-grid { grid-template-columns: 1fr; }
  .intro h2 { margin-bottom: 32px; }
  .card { min-height: auto; padding: 26px 0; }
  .card + .card { padding-left: 0; border-left: 0; }
  .card-number { margin-bottom: 18px; }
  .page-hero { padding-block: 75px; }
  .primary-service { min-height: 260px; }
  .primary-service:hover { transform: none; }
  .service-detail-grid { gap: 18px; }
  .driver-grid, .additional-grid { margin-top: 40px; }
  .driver-grid article, .additional-grid article { padding: 24px 0; }
  .driver-grid article + article, .additional-grid article + article { padding-left: 0; border-left: 0; }
  .additional-grid img { height: 210px; }
  .gallery-tile { min-height: 290px; }
}
