/*
Theme Name: Skup Aut Kielce
Description: Motyw strony skupu aut — Kielce i województwo świętokrzyskie.
Version: 1.1.0
Text Domain: skupaut-kielce
*/

:root {
  --gold: #e0a43a;
  --gold-2: #f2bf5e;
  --ink: #111214;
  --ink-2: #1a1c20;
  --ink-3: #24272c;
  --line: rgba(255,255,255,.1);
  --text: #2b2d31;
  --muted: #6b6f76;
  --bg: #f6f5f2;
  --white: #fff;
  --r: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.65 Montserrat, system-ui, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .h1 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; color: #15171a; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h2 span, h1 span, .h1 span { color: var(--gold); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .8em; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--dark { background: var(--ink); color: #c9ccd1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.lead { color: var(--muted); font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.7em; border-radius: 6px; font: 700 .9rem/1 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn--gold { background: var(--gold); color: #111; }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,164,58,.35); }
.btn--ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: #111; }
.btn--block { width: 100%; }

/* Topbar & header */
.topbar { background: #0b0c0e; color: #bfc2c7; font-size: .85rem; }
.topbar__in { display: flex; gap: 28px; padding: 9px 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__item svg { color: var(--gold); }
.topbar__hours { margin-left: auto; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(17,18,20,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: .25s; }
.header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__mark { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: .02em; }
.logo__mark b { color: var(--gold); }
.logo__city { font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; color: #9aa0a6; margin-top: 4px; }
.logo__img { max-height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav__list a { color: #e6e7e9; text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: .2s; }
.nav__list a:hover::after { width: 100%; }
.nav__cta { padding: .8em 1.2em; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, rgba(10,11,13,.94) 0%, rgba(10,11,13,.75) 45%, rgba(10,11,13,.35) 100%), var(--hero, radial-gradient(1200px 600px at 80% 30%, #3a3020 0%, #16171a 55%, #0d0e10 100%)) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero__slides { display: grid; }
.slide { grid-area: 1/1; display: flex; align-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .8s, transform .8s, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero h1, .hero .h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 820px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.3); color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2; }
.hero__arrow:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.hero__arrow--prev { left: 18px; } .hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero__dots button { width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero__dots button.is-active { background: var(--gold); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border-radius: var(--r); padding: 34px 26px; box-shadow: var(--shadow); position: relative; border-top: 4px solid var(--gold); }
.step__n { font-size: 3rem; font-weight: 800; color: rgba(224,164,58,.25); line-height: 1; display: block; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

/* Alert + cards */
.alert { max-width: 900px; margin: 0 auto 46px; border: 2px dashed var(--gold); border-radius: var(--r); padding: 22px 26px; text-align: center; color: #e9e9ea; background: rgba(224,164,58,.06); }
.alert b { color: var(--gold); text-transform: uppercase; }
.alert__years { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.alert__years span { background: var(--ink-3); padding: 8px 16px; border-radius: 30px; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 38px 30px; text-align: center; transition: .25s; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card__ico { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(224,164,58,.12); color: var(--gold); }
.card__ico svg { width: 44px; height: 44px; }
.card p { min-height: 3.3em; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about__img { aspect-ratio: 4/3.2; border-radius: var(--r); background: linear-gradient(135deg, #1b1d21, #2c2a24) center/cover; display: grid; place-items: center; color: var(--gold); box-shadow: 20px 20px 0 rgba(224,164,58,.25); }
.about__car { width: 60%; opacity: .9; }

/* CTA */
.cta { background: linear-gradient(90deg, #c98d26, var(--gold) 50%, #c98d26); padding: 56px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #111; margin: 0; max-width: 520px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta__boxes { display: flex; gap: 16px; flex-wrap: wrap; }
.cta__box { background: #111; color: #fff; border-radius: var(--r); padding: 18px 26px; text-decoration: none; min-width: 230px; }
.cta__box small { display: block; color: #a9adb3; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.cta__box b { font-size: 1.55rem; color: var(--gold); }

/* Text */
.text { max-width: 900px; }
.text h3 { margin-top: 1.6em; }
.text p { color: #4a4d53; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid #e6e2d8; border-radius: 30px; padding: 6px 14px; font-size: .85rem; font-weight: 500; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 18px; font-style: italic; flex: 1; }
.review figcaption b { color: #fff; display: block; }
.review figcaption span { font-size: .85rem; color: #8d9197; }
.admin-note { border: 1px dashed var(--gold); padding: 20px; border-radius: var(--r); text-align: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 10px 0 10px 36px; position: relative; font-weight: 600; border-bottom: 1px solid #e6e2d8; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-size: .8rem; }
.acc details { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 12px; }
.acc summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); }
.acc details[open] summary::after { content: "–"; }
.acc details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; }
.form label { display: block; font-size: .85rem; font-weight: 600; color: #d6d8db; margin-bottom: 16px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 6px; border: 1px solid #34383e; background: var(--ink-2); color: #fff; font: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .78rem !important; color: #9a9ea4 !important; }
.form__consent input { width: 18px !important; height: 18px; margin-top: 2px !important; flex: none; accent-color: var(--gold); }
.hp { position: absolute !important; left: -9999px; }
.files { margin-bottom: 16px; }
.files__drop { display: flex !important; align-items: center; gap: 14px; border: 2px dashed #3a3e45; border-radius: 8px; padding: 16px 18px; cursor: pointer; margin: 0 !important; transition: .2s; }
.files__drop:hover { border-color: var(--gold); }
.files__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files__drop:focus-within { outline: 2px solid var(--gold); }
.files__drop small { color: #8d9197; font-weight: 400; }
.files__ico { font-size: 1.6rem; }
.files__list { list-style: none; margin: 10px 0 0; padding: 0; }
.files__list li { display: flex; align-items: center; gap: 10px; background: var(--ink-2); border: 1px solid #34383e; border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; font-size: .85rem; color: #d6d8db; }
.files__list span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files__list small { color: #8d9197; }
.files__list button { background: none; border: 0; color: #f2a0a0; font-size: 1.2rem; cursor: pointer; line-height: 1; }
.files__err { color: #f2a0a0; font-size: .85rem; margin: 8px 0 0; }
.msg { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; font-weight: 600; }
.msg--ok { background: rgba(70,180,100,.15); color: #8be0a4; border: 1px solid rgba(70,180,100,.4); }
.msg--err { background: rgba(220,70,70,.15); color: #f2a0a0; border: 1px solid rgba(220,70,70,.4); }
.contact__info { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; align-self: start; }
.contact__info a { color: var(--gold); text-decoration: none; }
.contact__info .big { font-size: 1.6rem; font-weight: 800; }
.map { border-radius: var(--r); overflow: hidden; margin-top: 10px; }
.map iframe { width: 100%; height: 230px; border: 0; display: block; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }

/* Footer */
.footer { background: #0b0c0e; color: #9aa0a6; padding: 60px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 14px; }
.footer a { color: #d0d3d7; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.logo--footer { margin-bottom: 16px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 40px; padding: 20px 0; font-size: .82rem; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa__icon { width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.wa__label { background: #fff; color: #111; font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 6px; box-shadow: var(--shadow); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 16px; }
.modal[hidden], .cookies[hidden] { display: none; }
.modal__box { background: #fff; border-radius: 12px; border-top: 5px solid var(--gold); padding: 34px 30px 24px; max-width: 430px; width: 100%; text-align: center; position: relative; animation: pop .3s; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal__x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: #888; }
.badge { display: inline-block; background: #111; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 12px; }
.modal__only { font-weight: 800; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.modal__years { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.modal__years div { background: var(--bg); border-radius: 8px; padding: 12px; }
.modal__years span { display: block; font-weight: 700; }
.modal__years b { display: block; font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.modal__years small { color: var(--muted); }
.modal__ok { background: none; border: 0; margin-top: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

/* Cookies */
.cookies { position: fixed; left: 18px; bottom: 18px; z-index: 90; max-width: 440px; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 20px; font-size: .85rem; }
.cookies a { color: #b07a1c; }
.cookies__btns { display: flex; gap: 10px; justify-content: flex-end; }
.cookies .btn { padding: .7em 1.2em; font-size: .78rem; }
.cookies .btn--ghost { color: #555; border-color: #ccc; }

/* Pages */
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.entry a { color: #b07a1c; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: 18px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #111214; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
  .cards, .about, .faq, .contact, .footer__grid { grid-template-columns: 1fr; }
  .about { gap: 40px; }
  .topbar__hours { display: none; }
  .hero__arrow { display: none; }
}
@media (max-width: 600px) {
  .steps, .form__row { grid-template-columns: 1fr; }
  .topbar__in { gap: 14px; font-size: .8rem; }
  .wa__label { display: none; }
  .cookies { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .cta__box { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
