@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --navy: #0f2542;
  --blue: #1a5cad;
  --accent: #e8601c;
  --light: #f4f7fb;
  --white: #ffffff;
  --gray: #6b7a8d;
  --border: #dde4ed;
  --text: #1c2b3a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.3;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-hamburger { display: none; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600 !important;
}

/* ── HERO ── */
/*
  ABY DODAĆ ZDJĘCIE:
  1. Utwórz folder /img/ obok folderu /css/
  2. Wrzuć plik zdjęcia (np. hero.jpg) do folderu /img/
  3. Zmień poniżej wartość --hero-img na: url('../img/hero.jpg')
  4. Gotowe – nakładka i tekst są już skonfigurowane automatycznie
  ZALECANE ZDJĘCIE: poziome, min. 1600x900px, temat: remont/wykończenie wnętrz
*/
:root {
  --hero-img: url('../img/tlo.png');
}

.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(
      to right,
      rgba(10, 22, 40, 0.88) 0%,
      rgba(10, 22, 40, 0.60) 55%,
      rgba(10, 22, 40, 0.38) 100%
    ),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 90px 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,96,28,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,96,28,.2);
  border: 1px solid rgba(232,96,28,.4);
  color: #f0845a;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  max-width: 680px;
}
.hero h1 span { color: #f0845a; }
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 580px;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: .75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,96,28,.4); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: .75rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--light);
  padding: .7rem 5%;
  font-size: .82rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

/* ── SECTIONS ── */
section { padding: 70px 5%; }
section.alt { background: var(--light); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.lead {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,37,66,.1);
  border-color: var(--blue);
}
.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.service-card p { font-size: .88rem; color: var(--gray); line-height: 1.55; }
.service-card .link-arrow {
  display: inline-block;
  margin-top: .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── DISTRICTS GRID ── */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.district-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.district-card:hover {
  border-color: var(--accent);
  background: #fff8f5;
  transform: translateX(3px);
}
.district-card .pin { font-size: 1.3rem; }
.district-card strong { display: block; font-size: .95rem; color: var(--navy); }
.district-card span { font-size: .78rem; color: var(--gray); }

/* ── TEXT CONTENT ── */
.content-wrap { max-width: 780px; }
.content-wrap p { margin-bottom: 1.2rem; color: #374151; }
.content-wrap h2 { margin-bottom: .8rem; margin-top: 2rem; }
.content-wrap h3 { margin-top: 1.5rem; margin-bottom: .4rem; color: var(--blue); }
.content-wrap ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.content-wrap ul li { margin-bottom: .4rem; color: #374151; }

/* ── FAQ ── */
.faq-list { max-width: 740px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-top: .8rem; color: #374151; font-size: .95rem; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white);
  padding: 70px 5%;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── KEYWORDS ── */
.kw-strip {
  background: var(--light);
  padding: 1rem 5%;
  font-size: .75rem;
  color: #aab4c0;
  border-top: 1px solid var(--border);
  display: none; /* ukryte wizualnie, ale w kodzie dla SEO */
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 40px 5%;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
footer a { color: rgba(255,255,255,.6); text-decoration: none; }
footer a:hover { color: var(--white); }

/* ══════════════════════════════════════
   RESPONSIVE – TABLET (max 900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .districts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  }
}

/* ══════════════════════════════════════
   RESPONSIVE – MOBILE (max 640px)
══════════════════════════════════════ */
@media (max-width: 640px) {

  /* NAV – hamburger */
  nav {
    padding: 0 4%;
    height: 60px;
    position: sticky;
    top: 0;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: .5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 200;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .nav-links a {
    display: block;
    padding: .85rem 4%;
    font-size: 1rem;
  }
  .nav-cta {
    margin: .5rem 4% 0;
    display: block;
    text-align: center;
    border-radius: 6px;
  }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* HERO */
  .hero {
    padding: 50px 4% 45px;
    background-image:
      linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.80) 100%
      ),
      var(--hero-img);
  }
  .hero h1 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    max-width: 100%;
  }
  .hero p {
    font-size: .97rem;
    max-width: 100%;
  }
  .hero-btns {
    flex-direction: column;
    gap: .75rem;
  }
  .btn-primary,
  .btn-outline {
    text-align: center;
    width: 100%;
    padding: .85rem 1rem;
  }

  /* SEKCJE */
  section { padding: 45px 4%; }
  .cta-banner { padding: 50px 4%; }

  /* GRIDY */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .districts-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }

  /* KARTY */
  .service-card { padding: 1.4rem; }
  .district-card { padding: 1rem 1.1rem; }
  .district-card strong { font-size: .88rem; }
  .district-card span { font-size: .73rem; }

  /* TYPOGRAFIA */
  h2 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .lead { font-size: .97rem; margin-bottom: 1.8rem; }

  /* FAQ */
  .faq-item summary { font-size: .95rem; }

  /* FOOTER */
  footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 4%;
    gap: .6rem;
  }

  /* BREADCRUMB */
  .breadcrumb {
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE – BARDZO MAŁE (max 380px)
══════════════════════════════════════ */
@media (max-width: 380px) {
  .districts-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

