/* Halo Elektryk – style strony */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0B1F3A; --navy-2: #13294B; --amber: #FFB703; --amber-2: #E9A400;
  --white: #fff; --fog: #F3F5F8; --line: #DDE3EB; --slate: #5B6676; --mist: #B8C4D6; --green: #1FAF54;
  --radius: 16px; --shadow: 0 10px 30px rgba(11, 31, 58, .10); --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--navy); background: var(--white); }
img, svg { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo svg { stroke: none; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--amber); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1.06rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-call { background: var(--amber); color: var(--navy); box-shadow: 0 8px 22px rgba(255, 183, 3, .35); }
.btn-call:hover { background: #FFC42E; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #1A9A49; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-big { min-height: 62px; font-size: 1.2rem; padding: 14px 28px; }
.btn b { font-weight: 800; white-space: nowrap; }

/* Pasek górny i nagłówek */
.topbar { background: var(--navy); color: var(--mist); font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #35D07F; margin-right: 8px; box-shadow: 0 0 0 4px rgba(53, 208, 127, .2); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.logo svg { width: 40px; height: 41px; flex: none; }
.logo b { font-weight: 800; }
.logo span { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav a:hover { color: var(--amber-2); }
.header .btn { min-height: 46px; padding: 8px 18px; font-size: 1rem; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }

/* Sekcja główna */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('../img/hero.jpg') center / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 58, .96) 0%, rgba(11, 31, 58, .86) 45%, rgba(11, 31, 58, .55) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(48px, 9vw, 110px); padding-bottom: clamp(48px, 9vw, 110px); }
.hero-in { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); color: #E4EAF3; margin-top: 18px; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: #E4EAF3; font-size: 1rem; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

/* Sekcje */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.fog { background: var(--fog); }
.section.dark { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--slate); margin-top: 12px; font-size: 1.08rem; }
.dark .section-head p { color: var(--mist); }
.kicker { font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 10px; }
.dark .kicker { color: var(--amber); }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: #FFF4D6; color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--slate); margin-top: 8px; font-size: 1rem; }
.card.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.card.hot .ico { background: var(--amber); }
.card.hot p { color: var(--mist); }
.card.hot a { color: var(--amber); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 12px; }

/* Karty ze zdjęciem */
.card:has(.thumb) { padding: 0; overflow: hidden; }
.card .thumb { aspect-ratio: 16 / 10; background: var(--navy-2); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 0 24px 24px; }
.card .thumb + .body .ico { margin-top: -26px; position: relative; border: 3px solid #fff; box-sizing: content-box; }
.card.hot .thumb + .body .ico { border-color: var(--navy); }

/* Sekcje ze zdjęciem w tle i paralaksą */
.photo-bg { position: relative; background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; }
.photo-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 31, 58, .82), rgba(11, 31, 58, .7)); }
.photo-bg > .wrap { position: relative; z-index: 1; }
.parallax { color: #fff; text-align: center; padding: clamp(80px, 13vw, 170px) 0; }
.parallax .big { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.parallax .sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #E4EAF3; margin: 14px auto 28px; max-width: 620px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo { border-radius: 22px; overflow: hidden; background: var(--navy-2); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.ticks svg { width: 30px; height: 30px; color: var(--amber); }
.ticks b { display: block; font-weight: 600; font-size: 1.1rem; }
.ticks span { color: var(--slate); }
.dark .ticks span { color: var(--mist); }
.bullets { padding: 0; list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.bullets li { padding-left: 26px; position: relative; }
.bullets li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); }

/* Obszar */
.cities { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin-top: 22px; }
.cities a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-weight: 500; transition: background-color .15s ease, color .15s ease; }
.cities a:hover, .cities a[aria-current] { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.cities.light a { background: #fff; border-color: var(--line); color: var(--navy); }
.cities.light a:hover { background: var(--amber); border-color: var(--amber); }

/* Kroki */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.steps b { display: block; font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.steps span { color: var(--slate); }

/* Pytania */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--slate); }

/* Pas wezwania */
.band { background: var(--amber); color: var(--navy); padding: 34px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.band p { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; line-height: 1.2; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact .tel { display: block; font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 800; color: var(--amber); text-decoration: none; line-height: 1.1; margin: 14px 0 8px; white-space: nowrap; }
.contact .mail { color: #fff; }
.form { background: #fff; color: var(--navy); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .98rem; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--fog); color: var(--navy); width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--amber); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form small { color: var(--slate); font-size: .86rem; line-height: 1.45; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.form-msg.ok { display: block; background: #E3F7EA; color: #135C30; }
.form-msg.err { display: block; background: #FDE8E8; color: #8A1C1C; }

/* Stopka */
.footer { background: #071528; color: var(--mist); padding: 44px 0 28px; font-size: .98rem; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo b { color: var(--amber); }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; font-size: .88rem; }

/* Stały pasek na telefonie */
.mobilebar { display: none; }

/* Animacja pojawiania */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Podstrony miast */
.crumbs { font-size: .92rem; color: var(--mist); margin-bottom: 14px; }
.crumbs a { color: var(--mist); }
.prose p { color: var(--slate); margin-top: 14px; font-size: 1.08rem; }
.prose h2 { margin-bottom: 4px; }

@media (min-width: 1024px) and (hover: hover) { .hero::before, .photo-bg { background-attachment: fixed; } }

@media (max-width: 980px) {
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--fog); font-size: 1.1rem; }
  .menu-btn { display: inline-flex; }
  .header .btn span { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  .g3, .g2, .split, .contact, .steps, .footer .cols, .form .row { grid-template-columns: 1fr; }
  .split .photo { order: -1; }
  .topbar .hide-s { display: none; }
  .topbar .wrap { justify-content: center; }
  .header .btn { display: none; }
  .cta .btn { width: 100%; }
  .band .btn, .parallax .btn { width: 100%; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 31, 58, .9) 0%, rgba(11, 31, 58, .82) 100%); }
  .mobilebar { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 31, 58, .12); }
  .mobilebar .btn { min-height: 54px; padding: 8px 12px; box-shadow: none; }
  .mobilebar .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
