/* ============================================================
   Bestclean24 – Sprzątanie po zgonie Lublin (LP4)
   Mobile-first, responsywny, minimalne CLS, dark navy + amber CTA
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a2238;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b46a00; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; border-radius: 3px; }

/* utility */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: #0b2545; color: #fff;
  padding: 8px 14px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #b46a00; font-weight: 700; margin: 0 0 8px;
}
.eyebrow--light { color: #f5a623; }

/* ============ HEADER ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid #e5e9f2;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: #0b2545; text-decoration: none; }
.brand__mark {
  background: #0b2545; color: #fff; font-weight: 800;
  width: 40px; height: 40px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; letter-spacing: .02em;
}
.brand__text strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand__text small { display: block; color: #5b6478; font-size: .78rem; }
.nav { display: none; gap: 18px; }
.nav a { color: #1a2238; font-weight: 500; font-size: .95rem; }
.topbar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0b2545; color: #fff !important; font-weight: 700;
  padding: 10px 14px; border-radius: 8px; font-size: .95rem;
  text-decoration: none;
}
.topbar__cta:hover { background: #143a73; }

@media (min-width: 900px) {
  .nav { display: inline-flex; }
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -20%, rgba(20,58,115,.18), transparent 60%),
    linear-gradient(180deg, #f6f8fc 0%, #fff 100%);
  padding: 36px 0 28px;
}
.hero__inner {
  display: grid; gap: 28px; grid-template-columns: 1fr;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.55rem); line-height: 1.18;
  color: #0b2545; margin: 6px 0 14px; letter-spacing: -.01em;
}
.hero .lead { font-size: 1.06rem; color: #2c3650; margin: 0 0 16px; }
.hero__bullets {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; gap: 8px;
}
.hero__bullets li {
  padding-left: 28px; position: relative; font-size: .98rem;
}
.hero__bullets li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #f5a623; box-shadow: inset 0 0 0 4px #fff;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 10px; font-weight: 700;
  text-decoration: none; transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: #f5a623; color: #1a2238 !important;
  box-shadow: 0 8px 20px rgba(245,166,35,.35);
}
.btn--primary:hover { background: #e69500; text-decoration: none; transform: translateY(-1px); }
.btn--lg { padding: 18px 28px; font-size: 1.1rem; }
.btn--ghost {
  background: transparent; color: #0b2545 !important;
  border: 2px solid #0b2545;
}
.btn--ghost:hover { background: #0b2545; color: #fff !important; text-decoration: none; }
.hero__call-note {
  margin: 4px 0 14px; font-size: .92rem; color: #2c3650;
}
.hero__meta { color: #5b6478; font-size: .9rem; margin: 0; }
.hero__media img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: 0 20px 50px -25px rgba(11,37,69,.45);
}
.hero__media figcaption { font-size: .82rem; color: #5b6478; margin-top: 6px; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
  .hero__bullets { grid-template-columns: 1fr 1fr; }
}

/* ============ TRUST ============ */
.trust { padding: 22px 0; background: #0b2545; color: #fff; }
.trust__grid {
  display: grid; gap: 14px; grid-template-columns: 1fr 1fr;
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__num {
  font-weight: 800; font-size: 1.1rem;
  background: #f5a623; color: #1a2238;
  padding: 6px 10px; border-radius: 8px; min-width: 58px; text-align: center;
}
.trust__label { font-size: .92rem; color: #d6deea; }

@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .trust__label { font-size: .98rem; }
}

/* ============ SECTIONS ============ */
.section { padding: 48px 0; }
.section--alt { background: #f6f8fc; }
.section--dark { background: #0b2545; color: #e8ecf5; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #f5a623; }
.section--cta { background: linear-gradient(135deg, #0b2545 0%, #143a73 100%); color: #fff; }
.section--cta h2, .section--cta h3 { color: #fff; }
.section--cta a { color: #f5a623; }

.section h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.22; margin: 0 0 14px; color: #0b2545; letter-spacing: -.01em;
}
.section__intro { max-width: 880px; margin: 0 0 28px; font-size: 1.02rem; color: #2c3650; }
.section--dark .section__intro, .section--cta .section__intro { color: #d6deea; }

/* CARDS */
.cards {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
.card {
  background: #fff; border: 1px solid #e5e9f2; border-radius: 14px;
  padding: 22px 20px; transition: transform .15s ease, box-shadow .2s ease;
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; color: #0b2545; }
.card p { margin: 0; color: #3b465e; font-size: .98rem; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(11,37,69,.3); }
.section--alt .card { background: #fff; }

@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

/* CHECK-LIST */
.check-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.check-list li {
  position: relative; padding-left: 30px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #0b2545 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a623' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}
.check-list--light li::before {
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}

/* STEPS */
.steps {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 16px;
}
.steps li {
  background: #fff; border: 1px solid #e5e9f2; border-radius: 14px;
  padding: 22px 20px 20px 70px; position: relative;
}
.steps__num {
  position: absolute; left: 18px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: #f5a623; color: #1a2238;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}
.steps h3 { margin: 0 0 6px; font-size: 1.08rem; color: #0b2545; }
.steps p { margin: 0; color: #3b465e; font-size: .98rem; }

@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* TWO COL */
.two-col {
  display: grid; gap: 28px; grid-template-columns: 1fr;
  align-items: start;
}
.two-col img { border-radius: 14px; box-shadow: 0 20px 50px -25px rgba(0,0,0,.5); }
.bez-media figcaption { color: #b3becf; font-size: .85rem; margin-top: 6px; }

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .two-col--center { align-items: center; }
}

/* GALLERY */
.gallery {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  margin-top: 22px;
}
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; box-shadow: 0 10px 25px -15px rgba(11,37,69,.4); }
.gallery figcaption { font-size: .88rem; color: #5b6478; margin-top: 6px; }

@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

/* DZIELNICE */
.dz-grid {
  list-style: none; padding: 0; margin: 12px 0 24px;
  display: grid; gap: 6px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.dz-grid li {
  background: #fff; border: 1px solid #e5e9f2; border-radius: 8px;
  padding: 10px 12px; font-size: .92rem; text-align: center; color: #2c3650;
}
.dz-note { font-size: .98rem; color: #2c3650; }

@media (min-width: 600px) { .dz-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .dz-grid { grid-template-columns: repeat(5, 1fr); } }

/* WHY */
.why {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  margin-top: 18px;
}
.why > div {
  background: #f6f8fc; border-radius: 14px; padding: 22px;
  border-left: 4px solid #f5a623;
}
.why h3 { margin: 0 0 6px; font-size: 1.05rem; color: #0b2545; }
.why p { margin: 0; color: #3b465e; font-size: .98rem; }

@media (min-width: 700px) { .why { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details {
  background: #fff; border: 1px solid #e5e9f2; border-radius: 12px;
  padding: 14px 18px;
}
.faq details[open] { box-shadow: 0 10px 25px -18px rgba(11,37,69,.3); }
.faq summary {
  cursor: pointer; font-weight: 700; color: #0b2545; font-size: 1rem;
  list-style: none; padding-right: 28px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; line-height: 1; color: #b46a00; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: #3b465e; }

/* KONTAKT */
.kontakt-cards { display: grid; gap: 12px; margin: 20px 0 0; }
.kontakt-card {
  display: block; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  padding: 14px 16px; color: #fff !important; text-decoration: none;
  transition: background .15s ease;
}
.kontakt-card:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.kontakt-card__label { display: block; font-size: .78rem; color: #c0cce0; text-transform: uppercase; letter-spacing: .08em; }
.kontakt-card__value { display: block; font-weight: 700; font-size: 1.05rem; margin-top: 4px; }
.kontakt-card__sub { display: block; font-size: .85rem; color: #c0cce0; margin-top: 6px; }
.kontakt-card--phone {
  background: rgba(245,166,35,.18);
  border-color: rgba(245,166,35,.5);
}
.kontakt-card--phone:hover { background: rgba(245,166,35,.28); }
.kontakt-card--phone .kontakt-card__value { font-size: 1.5rem; color: #f5a623; }
.kontakt-card--static { cursor: default; }
.kontakt-media figcaption { color: #c0cce0; font-size: .85rem; margin-top: 6px; }

@media (min-width: 700px) {
  .kontakt-cards { grid-template-columns: 1fr 1fr; }
  .kontakt-card--static { grid-column: 1 / -1; }
}

/* FOOTER */
.footer {
  background: #07182f; color: #c0cce0;
  padding: 36px 0 22px;
}
.footer__grid {
  display: grid; gap: 22px; grid-template-columns: 1fr;
}
.footer strong { color: #fff; display: block; margin-bottom: 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 5px; }
.footer a { color: #d6deea; }
.footer address { font-style: normal; font-size: .94rem; line-height: 1.7; }
.footer__bottom {
  padding-top: 22px; margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem; color: #8da0bf;
}

@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
}

/* STICKY CALL */
.sticky-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  background: #f5a623; color: #1a2238 !important; font-weight: 800;
  padding: 14px 18px; border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(245,166,35,.6);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.sticky-call:hover { background: #e69500; text-decoration: none; }
.sticky-call span { font-size: .98rem; }

@media (min-width: 900px) {
  .sticky-call { display: none; }
}

/* MOTION */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
