:root {
  color-scheme: dark;
  --bg: #070a0e;
  --panel: #0b121b;
  --white: #f6f9fc;
  --muted: #b6c6d2;
  --blue: #269ddd;
  --red: #e9263e;
  --accent: var(--red);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--white); }
body[data-service="pomoc-drogowa"] { --accent: #ffae48; }
body[data-service="wulkanizacja"] { --accent: #54bff1; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
img { display: block; max-width: 100%; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2.6vw, 36px) clamp(21px, 4.8vw, 82px); background: linear-gradient(180deg, #020509b8, transparent); }
.brand { display: inline-flex; flex: none; align-items: baseline; white-space: nowrap; color: var(--red); font-size: clamp(19px, 1.6vw, 26px); font-weight: 900; letter-spacing: -.08em; }
.brand span { margin-right: 3px; color: var(--blue); }
.brand i { width: 5px; height: 5px; margin: 0 0 4px 5px; align-self: flex-end; border-radius: 50%; background: #fff; }
.header-actions { display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); }
.header-back { font-size: 12px; font-weight: 700; }
.header-back span { margin-left: 8px; color: var(--blue); }
.header-call { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 0 17px; border: 1px solid #d3e5ef86; background: #0b141dc9; font-size: 12px; font-weight: 800; transition: background .2s, border-color .2s; }
.header-call:hover { border-color: #fff; background: #173448; }
.header-call span { color: var(--accent); font-size: 17px; }

.service-hero { position: relative; display: flex; align-items: end; min-height: min(850px, 100svh); min-height: clamp(650px, 94svh, 850px); overflow: hidden; isolation: isolate; background: #0c1722; }
.hero-frame, .hero-frame picture, .hero-frame img { display: block; width: 100%; height: 100%; }
.hero-frame { position: absolute; z-index: -2; inset: 0; margin: 0; }
.hero-frame img { object-fit: cover; object-position: center; }
.hero-frame figcaption { position: absolute; right: clamp(20px, 4vw, 70px); bottom: 20px; padding: 5px 7px; background: #03070b85; color: #e4ebf2; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.hero-veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #030912df 0%, #030912ad 29%, #0309122b 57%, transparent 78%), linear-gradient(180deg, #03060bb3 0%, transparent 26%, transparent 58%, #03070dd9 100%); }
.hero-copy { width: min(760px, 62vw); margin: 0 0 clamp(92px, 11vh, 130px) clamp(22px, 5.3vw, 94px); text-shadow: 0 2px 25px #000b; animation: hero-enter .8s .15s ease-out both; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #e2edf5; font-size: 11px; font-weight: 850; letter-spacing: .21em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.hero-kicker span { color: var(--accent); }
.hero-copy h1 { max-width: 820px; margin: 0; font-size: clamp(61px, 7.1vw, 126px); font-weight: 850; letter-spacing: -.085em; line-height: .9; text-transform: uppercase; }
.hero-copy h1 em { color: #f9fbfe; font-style: normal; }
.hero-summary { max-width: 520px; margin: 26px 0 26px; color: #e1eaf1; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.48; }
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 0 20px; background: #f1f6f9; color: #08111a; font-size: 14px; font-weight: 850; text-shadow: none; box-shadow: 0 14px 34px #0007; transition: transform .2s, background .2s; }
.hero-cta:hover { transform: translateY(-3px); background: #fff; }
.hero-cta span { color: var(--red); font-size: 21px; }
.hero-corner { position: absolute; right: clamp(22px, 5vw, 82px); bottom: 38px; color: #e4ecf3; font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.hero-corner b { margin-left: 10px; color: var(--accent); font-size: 18px; font-weight: 400; }

.service-manifesto { padding: clamp(76px, 8vw, 128px) clamp(22px, 5.3vw, 94px) clamp(70px, 8vw, 115px); background: radial-gradient(ellipse 70% 65% at 93% 6%, #14334c48, transparent 75%), #080d14; }
.manifesto-meta { display: flex; justify-content: space-between; gap: 20px; max-width: 1240px; margin: 0 auto clamp(60px, 8vw, 120px); padding-top: 17px; border-top: 1px solid #d8e8f252; color: #a7bcca; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.service-manifesto > .section-kicker, .service-manifesto > h2, .manifesto-copy, .manifesto-tags { max-width: 1240px; margin-left: auto; margin-right: auto; }
.service-manifesto h2 { margin-top: 0; margin-bottom: 28px; font-size: clamp(54px, 7.4vw, 116px); line-height: .94; letter-spacing: -.075em; text-transform: uppercase; }
.service-manifesto h2 em, .section-heading h2 em, .feature-content h2 em { color: var(--accent); font-style: normal; }
.manifesto-copy { max-width: 760px; margin-bottom: clamp(55px, 7vw, 100px); color: #c4d0da; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.6; }
.manifesto-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d8e8f252; border-bottom: 1px solid #d8e8f252; }
.manifesto-tags span { display: flex; align-items: center; min-height: 84px; padding: 18px 24px; border-right: 1px solid #d8e8f229; color: #e6eef5; font-size: clamp(14px, 1.25vw, 18px); font-weight: 800; letter-spacing: -.02em; }
.manifesto-tags span:first-child { padding-left: 0; }
.manifesto-tags span:last-child { border-right: 0; }
.manifesto-tags span::before { content: ""; width: 7px; height: 7px; flex: none; margin-right: 14px; background: var(--accent); transform: rotate(45deg); }

.identity-banner { display: grid; justify-items: center; gap: 10px; width: 100%; padding: clamp(38px, 6vw, 70px) 22px; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; background: radial-gradient(ellipse 60% 90% at 50% 0, #1740613b, transparent 75%), #080d14; text-align: center; }
.identity-banner img { width: min(700px, 86vw); height: auto; }
.identity-banner p { margin: 0; color: #9bb0be; font-size: 10px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }

.service-details { width: 100%; padding: clamp(74px, 9vw, 130px) clamp(22px, 5.3vw, 94px); background: linear-gradient(155deg, #0b1420, #070a0e 80%); }
.details-inner { width: min(100%, 1240px); margin: auto; }
.section-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 17px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.service-details h2 { max-width: 1000px; margin: 0 0 25px; font-size: clamp(45px, 6vw, 94px); line-height: .95; letter-spacing: -.075em; }
.details-intro { max-width: 760px; margin: 0 0 clamp(40px, 5vw, 70px); color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
.service-lines { border-top: 1px solid #ffffff43; }
.service-line { display: grid; grid-template-columns: 75px minmax(0, 1fr) minmax(220px, .75fr); align-items: baseline; gap: 24px; padding: 29px 0; border-bottom: 1px solid #ffffff2c; }
.line-number { color: var(--accent); font-size: 12px; font-weight: 850; }
.service-line h3 { margin: 0; font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -.04em; }
.service-line p { margin: 0; color: #afbec9; font-size: 14px; line-height: 1.55; }

.feature-banner { position: relative; display: flex; align-items: end; min-height: clamp(620px, 78svh, 800px); overflow: hidden; isolation: isolate; background: #08121b; }
.feature-frame, .feature-frame picture, .feature-frame img { display: block; width: 100%; height: 100%; }
.feature-frame { position: absolute; z-index: -2; inset: 0; margin: 0; }
.feature-frame img { object-fit: cover; object-position: center; }
.feature-frame figcaption { position: absolute; right: clamp(20px, 4vw, 70px); bottom: 18px; padding: 5px 7px; background: #03070b99; color: #edf2f5; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.feature-veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #030912e8 0%, #030912bd 25%, #0309125e 48%, transparent 72%), linear-gradient(180deg, #02060b48, transparent 45%, #02060ba6); }
.feature-content { width: min(680px, 60vw); margin: 0 0 clamp(78px, 9vh, 118px) clamp(22px, 5.3vw, 94px); text-shadow: 0 3px 22px #000c; }
.feature-brand { display: block; width: min(345px, 29vw); height: auto; margin-bottom: clamp(36px, 5vw, 65px); filter: drop-shadow(0 3px 20px #000c); }
.feature-content .section-kicker { color: #f1f7fc; }
.feature-content h2 { margin: 0; font-size: clamp(50px, 5.5vw, 86px); line-height: .94; letter-spacing: -.075em; text-transform: uppercase; }
.feature-content > p:not(.section-kicker) { max-width: 550px; margin: 24px 0 28px; color: #d7e2eb; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.54; }
.feature-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 48px; border-bottom: 2px solid var(--accent); color: #fff; font-size: 14px; font-weight: 850; text-shadow: none; transition: gap .2s, color .2s; }
.feature-link:hover { gap: 34px; color: var(--accent); }
.feature-link span { color: var(--accent); font-size: 20px; }

.service-steps { padding: clamp(85px, 9vw, 140px) clamp(22px, 5.3vw, 94px); border-top: 1px solid #ffffff20; background: #0a111b; }
.section-heading, .steps-list { width: min(100%, 1240px); margin-left: auto; margin-right: auto; }
.section-heading h2 { margin: 0 0 clamp(50px, 6vw, 85px); font-size: clamp(54px, 7vw, 108px); line-height: .94; letter-spacing: -.075em; text-transform: uppercase; }
.steps-list { list-style: none; padding: 0; border-top: 1px solid #dce8ee5c; }
.steps-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 42px) 0; border-bottom: 1px solid #dce8ee32; }
.steps-list li > span { padding-top: 7px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .16em; }
.steps-list h3 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.05em; }
.steps-list p { max-width: 660px; margin: 0; color: #b9c8d3; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; }

.service-questions { padding: clamp(85px, 9vw, 140px) clamp(22px, 5.3vw, 94px); border-top: 1px solid #ffffff20; background: linear-gradient(140deg, #0b1824, #070a0e 72%); }
.questions-inner { width: min(100%, 1240px); margin: auto; }
.service-questions h2 { margin: 0 0 clamp(42px, 5vw, 70px); font-size: clamp(52px, 6vw, 92px); line-height: .95; letter-spacing: -.075em; text-transform: uppercase; }
.service-questions h2 span { color: var(--accent); }
.service-questions details { border-top: 1px solid #dce8ee4b; }
.service-questions details:last-child { border-bottom: 1px solid #dce8ee4b; }
.service-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; padding: 22px 0; color: #f1f6fa; font-size: clamp(18px, 2vw, 27px); font-weight: 750; letter-spacing: -.03em; list-style: none; cursor: pointer; }
.service-questions summary::-webkit-details-marker { display: none; }
.service-questions summary::after { content: "+"; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #dce8ee54; color: var(--accent); font-size: 25px; font-weight: 400; line-height: 1; transition: transform .2s, background .2s; }
.service-questions details[open] summary::after { transform: rotate(45deg); background: #ffffff14; }
.service-questions details p { max-width: 800px; margin: -4px 55px 28px 0; color: #bdccd7; font-size: 16px; line-height: 1.6; }

.contact-banner { position: relative; display: grid; justify-items: center; align-content: center; min-height: 60svh; padding: 90px 22px; overflow: hidden; border-top: 1px solid #ffffff26; background: radial-gradient(ellipse 52% 85% at 50% 0, #12466a6b, transparent 78%), #071019; text-align: center; }
.contact-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--red), var(--accent)); }
.contact-banner > * { position: relative; z-index: 1; }
.contact-banner h2 { max-width: 900px; margin: 0 0 18px; font-size: clamp(51px, 7vw, 112px); line-height: .95; letter-spacing: -.08em; }
.contact-banner > p:not(.section-kicker) { max-width: 700px; margin: 0 0 30px; color: #c7d5df; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; }
.contact-phone { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 68px; padding: 0 22px; background: var(--red); color: #fff; font-size: clamp(20px, 2vw, 30px); font-weight: 850; transition: transform .2s, background .2s; }
.contact-phone:hover { transform: translateY(-3px); background: #fa4159; }
.contact-phone span { font-size: 24px; }
.contact-route { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: 18px; border-bottom: 1px solid #dce8ee80; color: #e4edf4; font-size: 13px; font-weight: 800; }
.contact-route:hover { color: #fff; border-color: #fff; }
.contact-route span { color: var(--accent); font-size: 17px; }
.contact-address { margin-top: 24px; color: #9fb0bc; font-size: 12px; letter-spacing: .04em; }

.service-next { padding: clamp(72px, 8vw, 125px) clamp(22px, 5.3vw, 94px) clamp(80px, 9vw, 145px); border-top: 1px solid #ffffff24; background: #080d14; }
.next-heading, .service-next > a { display: grid; width: min(100%, 1240px); margin-left: auto; margin-right: auto; }
.next-heading h2 { margin: 0 0 clamp(48px, 6vw, 90px); font-size: clamp(48px, 6vw, 94px); line-height: .95; letter-spacing: -.075em; text-transform: uppercase; }
.service-next > a { grid-template-columns: 145px minmax(0, 1fr) 48px; align-items: center; gap: 22px; min-height: 98px; border-top: 1px solid #dce8ee42; transition: color .2s, padding .2s; }
.service-next > a:last-child { border-bottom: 1px solid #dce8ee42; }
.service-next > a:hover { padding-left: 14px; color: var(--accent); }
.service-next > a span { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.service-next > a strong { font-size: clamp(25px, 3.5vw, 49px); font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; }
.service-next > a b { color: var(--accent); font-size: 29px; font-weight: 400; text-align: right; }

.site-footer { padding: 28px clamp(22px, 5.3vw, 94px) 34px; border-top: 1px solid #ffffff20; background: #05080c; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; max-width: 1240px; margin: auto; }
.footer-inner p { margin: 0; color: #8798a5; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: #cbd9e2; font-size: 12px; font-weight: 700; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }

body[data-service="mechanik"] .hero-copy h1,
body[data-service="wulkanizacja"] .hero-copy h1 { font-size: clamp(55px, 6vw, 104px); }
@media (max-width: 900px) {
  .site-header { padding: 15px 18px; }
  .brand { font-size: 19px; }
  .header-actions { gap: 8px; }
  .header-back { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid #ffffff65; background: #071019d9; font-size: 0; }
  .header-back span { margin: 0; font-size: 21px; transform: rotate(180deg); }
  .header-call { gap: 8px; padding: 0 12px; font-size: 11px; }
  .service-hero { display: block; min-height: 0; overflow: visible; }
  .hero-frame, .hero-frame picture, .hero-frame img { height: auto; }
  .hero-frame { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; }
  .hero-frame picture, .hero-frame img { width: 100%; height: 100%; }
  .hero-frame img { object-fit: cover; }
  .hero-frame figcaption { right: 9px; bottom: 7px; font-size: 8px; }
  .hero-veil { z-index: 0; bottom: auto; height: clamp(180px, 56vw, 395px); background: linear-gradient(180deg, #02060b9e 0%, transparent 38%, transparent 100%); }
  .hero-copy { width: auto; max-width: none; margin: 0; padding: 30px 21px 50px; background: linear-gradient(180deg, #0c1520, #071019); text-shadow: none; animation: none; }
  .hero-kicker { margin-bottom: 16px; font-size: 9px; letter-spacing: .15em; }
  .hero-copy h1 { font-size: clamp(48px, 12.3vw, 80px); line-height: .92; }
  body[data-service="mechanik"] .hero-copy h1,
  body[data-service="wulkanizacja"] .hero-copy h1 { font-size: clamp(35px, 9.4vw, 65px); }
  .hero-summary { margin: 18px 0 20px; font-size: 15px; line-height: 1.5; }
  .hero-cta { width: min(100%, 380px); min-height: 52px; font-size: 13px; }
  .hero-corner { display: none; }
  .service-manifesto { padding: 60px 21px 68px; }
  .manifesto-meta { margin-bottom: 58px; font-size: 9px; letter-spacing: .11em; }
  .service-manifesto h2 { font-size: clamp(43px, 10vw, 78px); }
  .manifesto-copy { margin-bottom: 44px; font-size: 16px; }
  .manifesto-tags { display: block; }
  .manifesto-tags span { min-height: 58px; padding: 12px 0; border-right: 0; border-bottom: 1px solid #d8e8f229; font-size: 14px; }
  .manifesto-tags span:last-child { border-bottom: 0; }
  .identity-banner { padding: 36px 16px; }
  .identity-banner img { width: min(100%, 510px); }
  .identity-banner p { font-size: 9px; letter-spacing: .14em; }
  .service-details { padding: 75px 21px 82px; }
  .service-details h2 { font-size: clamp(47px, 11vw, 72px); }
  .details-intro { margin-bottom: 36px; font-size: 16px; }
  .service-line { grid-template-columns: 42px 1fr; gap: 8px 14px; padding: 22px 0; }
  .service-line p { grid-column: 2; font-size: 13px; }
  .service-line h3 { font-size: 27px; }
  .feature-banner { display: block; min-height: 0; overflow: visible; }
  .feature-frame, .feature-frame picture, .feature-frame img { height: auto; }
  .feature-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
  .feature-frame picture, .feature-frame img { width: 100%; height: 100%; }
  .feature-frame figcaption { right: 9px; bottom: 7px; font-size: 8px; }
  .feature-veil { z-index: 0; bottom: auto; height: min(56.25vw, 506px); background: linear-gradient(90deg, #02060b9e, transparent 67%); }
  .feature-content { width: auto; max-width: none; margin: 0; padding: 42px 21px 67px; background: linear-gradient(180deg, #0b1620, #08111b); text-shadow: none; }
  .feature-brand { position: absolute; z-index: 1; top: 18px; left: 18px; width: clamp(145px, 39vw, 240px); margin: 0; }
  .feature-content h2 { font-size: clamp(45px, 10vw, 72px); }
  .feature-content > p:not(.section-kicker) { margin: 20px 0 26px; font-size: 15px; }
  .feature-link { font-size: 13px; }
  .service-steps, .service-questions { padding: 75px 21px 84px; }
  .section-heading h2, .service-questions h2 { font-size: clamp(45px, 10.5vw, 73px); }
  .section-heading h2 { margin-bottom: 44px; }
  .steps-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 25px 0; }
  .steps-list li > span { padding-top: 5px; font-size: 11px; }
  .steps-list h3 { font-size: 25px; }
  .steps-list p { font-size: 14px; }
  .service-questions h2 { margin-bottom: 38px; }
  .service-questions summary { min-height: 75px; padding: 19px 0; font-size: 18px; }
  .service-questions details p { margin-right: 32px; font-size: 14px; }
  .contact-banner { min-height: 0; padding: 83px 21px 95px; }
  .contact-banner h2 { font-size: clamp(50px, 11vw, 73px); }
  .contact-phone { width: min(100%, 390px); min-height: 60px; font-size: clamp(18px, 5vw, 24px); }
  .service-next { padding: 73px 21px 90px; }
  .next-heading h2 { margin-bottom: 42px; font-size: clamp(47px, 10vw, 73px); }
  .service-next > a { grid-template-columns: 62px minmax(0, 1fr) 24px; gap: 8px; min-height: 75px; }
  .service-next > a span { font-size: 9px; letter-spacing: .04em; }
  .service-next > a strong { font-size: clamp(19px, 5.7vw, 29px); }
  .service-next > a b { font-size: 21px; }
  .site-footer { padding: 29px 21px 36px; }
}
@media (max-width: 370px) {
  .site-header { padding: 11px 13px; }
  .brand { font-size: 18px; }
  .hero-copy { padding: 25px 16px 42px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-kicker { font-size: 8px; }
  .service-manifesto { padding-left: 16px; padding-right: 16px; }
  .service-manifesto h2 { font-size: 42px; }
  .service-details { padding-left: 16px; padding-right: 16px; }
  .service-line h3 { font-size: 24px; }
  .feature-content, .service-steps, .service-questions, .service-next { padding-left: 16px; padding-right: 16px; }
  .feature-content h2, .section-heading h2, .service-questions h2, .next-heading h2 { font-size: 43px; }
  .service-next > a strong { font-size: 19px; }
}
@media (max-height: 570px) and (min-width: 901px) {
  .service-hero { min-height: 570px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .header-call, .hero-cta, .feature-link, .contact-phone, .service-next > a, .service-questions summary::after { transition: none; }
}
