/* Styl strony publicznej – jasny motyw „czysta woda”. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/space-grotesk-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: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/space-grotesk-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 {
  --bg: #FFFFFF;
  --tint: #F1F8FB;
  --surface: #FFFFFF;
  --border: #DCE9EF;
  --border-strong: #B8CFDA;
  --text: #0F2A36;
  --text-2: #2C4753;
  --muted: #4F6772;
  --faint: #6B808A;
  --accent: #0B79A8;
  --accent-hover: #075E84;
  --accent-soft: #E1F2F9;
  --deep: #0B4F6C;
  --success: #1F8A5B;
  --display: 'Space Grotesk', sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 42, 54, .04), 0 8px 24px rgba(15, 42, 54, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.5; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* Typografia */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 58px); line-height: 1.07; letter-spacing: -1px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.6px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); line-height: 1.6; }
.meta { font-size: 14px; color: var(--faint); font-weight: 600; }
.link-arrow { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--deep); text-decoration: none; }
.logo svg { color: var(--accent); flex: none; }
.logo:hover { color: var(--deep); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--tint); color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--deep); }
.nav a.nav-phone { font-weight: 700; color: var(--deep); }
.nav a.nav-cta { background: var(--accent); color: #fff; font-weight: 600; padding: 0 20px; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--accent-hover); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background .2s; }
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header__inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 12px; }
  .nav a { border-radius: 12px; }
  .nav a.nav-cta { justify-content: center; margin: 8px 0 0; }
}

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--accent-soft); color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sekcje */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.section-head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; max-width: none; }
.page-intro { padding: 72px 0 48px; display: flex; flex-direction: column; gap: 18px; max-width: 820px; }

.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__text .lead { max-width: 580px; }
.hero__media { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero__media img { border-radius: 28px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 16 / 13; width: 100%; }
.hero__art { width: 100%; max-width: 380px; height: auto; }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text-2); }
.checks .icon { color: var(--success); flex: none; margin-top: 2px; }
.checks--sm li { font-weight: 400; font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.card h3, .feature h3 { font-family: var(--display); font-size: 21px; line-height: 1.25; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feature { display: flex; flex-direction: column; gap: 12px; }

.placeholder { aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(135deg, var(--accent-soft), #CBE8F4); }
.media { aspect-ratio: 16 / 10; border-radius: 16px; background: var(--tint); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a:hover .media img { transform: scale(1.03); }

/* Oferta */
.package { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.package--highlight { border: 2px solid var(--accent); }
.package h3 { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.package__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.badge { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.price { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--deep); margin-top: auto; }
.package .btn { min-height: 48px; }
.price-note { margin-top: 24px; color: var(--faint); font-size: 15px; max-width: 760px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 19px; }

/* Obszar */
.area { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.area__text { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.area__map { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.area__map iframe { width: 100%; height: 100%; border: 0; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--border); font-size: 15px; font-weight: 500; }
.towns .icon { color: var(--accent); }

/* FAQ (bez JS – details/summary) */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq__answer { padding: 0 0 20px; color: var(--muted); line-height: 1.7; }

/* Blog */
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card h3 { font-family: var(--display); font-size: 21px; line-height: 1.3; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card > a { text-decoration: none; }

.featured { background: var(--tint); border-radius: 28px; padding: 28px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 56px; }
.featured__media { flex: 1 1 380px; min-width: 0; }
.featured__media .placeholder, .featured__media .media { aspect-ratio: 16 / 9; border-radius: 18px; }
.featured__body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.featured__body h2 { font-family: var(--display); font-size: 32px; line-height: 1.15; }
.featured__body h2 a { color: var(--text); text-decoration: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 40px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text-2); border: 1px solid var(--border-strong); background: #fff; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-current="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.empty { padding: 48px; border: 1px dashed var(--border-strong); border-radius: 20px; color: var(--muted); text-align: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-bottom: 72px; }

.article { max-width: 760px; margin: 0 auto; padding: 48px 0 88px; }
.article header { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.article > .media { aspect-ratio: 16 / 9; border-radius: 24px; margin-bottom: 44px; }
.breadcrumbs { font-size: 14px; color: var(--faint); }
.breadcrumbs a { color: var(--faint); }
.prose { font-size: 18px; line-height: 1.78; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--text); line-height: 1.25; margin-top: 1.8em; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose img { border-radius: 16px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose hr { border: 0; border-top: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose th { background: var(--tint); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }

.author { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author > div { display: flex; flex-direction: column; gap: 6px; }
.author__name { font-weight: 700; font-size: 17px; }
.post-cta { margin-top: 32px; background: var(--deep); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.post-cta > div { flex: 999 1 320px; display: flex; flex-direction: column; gap: 8px; }
.post-cta h2 { font-family: var(--display); font-size: 26px; }
.post-cta p { color: #CFE6F0; }

/* Kontakt */
.contact { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; gap: 44px; box-shadow: var(--shadow); }
.contact__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--deep); text-decoration: none; min-height: 48px; }
.hours { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 300px; }
.form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.form > .field { flex: none; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.input { min-height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; color: var(--text); padding: 0 14px; font-size: 16px; font-family: inherit; width: 100%; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { padding: 12px 14px; resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234F6772' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field-error { color: #B42318; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.alert--success { background: #E7F6EE; border: 1px solid #A7DCC0; color: #145C3C; }
.alert--error { background: #FDECEA; border: 1px solid #F4B4AC; color: #8A1C12; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--faint); }
.form-note a { color: inherit; text-decoration: underline; }

/* Stopka */
.site-footer { background: var(--deep); color: #CFE6F0; font-size: 15px; padding-top: 56px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 40px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.site-footer__brand { font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff; }
.site-footer__title { font-weight: 700; color: #fff; margin-bottom: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; padding-bottom: 28px; font-size: 14px; }

/* Pasek „Zadzwoń / Wycena” na telefonach */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--deep); }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero__art { max-width: 180px; }
  .contact { padding: 24px; border-radius: 22px; }
  .card, .package { padding: 24px; }
  .featured { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
