/* Polski Home Services — lean, dependency-free stylesheet (system fonts, no external requests) */

:root {
  --navy-950: #0a1530;
  --navy-900: #0d1b3d;
  --navy-800: #142a5c;
  --blue-700: #1f4e8c;
  --blue-600: #2f6fdb;
  --blue-500: #3b82c4;
  --blue-300: #8fc4f0;
  --blue-100: #e7f1fc;
  --ink: #16213f;
  --ink-soft: #4a5675;
  --paper: #ffffff;
  --paper-alt: #f4f8fc;
  --border: #e1e8f3;
  --gold: #f2b93d;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(13, 27, 61, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 27, 61, 0.14);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-600);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px rgba(47,111,219,0.35); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.brand img { height: 52px; width: 52px; border-radius: 50%; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-text small { font-weight: 600; color: var(--blue-700); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--blue-600); border-bottom-color: var(--blue-600); }

/* Services dropdown */
.has-dropdown { position: relative; }
.dropdown {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  z-index: 50;
  flex-direction: column;
  gap: 2px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }
.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  border-bottom: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.dropdown li a:hover,
.dropdown li a[aria-current="page"] {
  background: var(--paper-alt);
  color: var(--blue-600);
  border-bottom: none;
}

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}
.header-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 15% -10%, rgba(59,130,196,0.35), transparent),
              linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--blue-700));
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--blue-300);
}
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px; }
.eyebrow-row .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); color: #fff; }
.hero h1 span { color: var(--blue-300); }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 55ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { min-width: 120px; }
.hero-stats strong { display: block; font-size: 1.6rem; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-wrap img {
  width: min(340px, 90%);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.12);
}

/* Trust bar */
.trust-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: center;
  padding: 18px 24px;
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-bar svg { color: var(--gold); flex-shrink: 0; }

/* Sections */
section { padding: 76px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-900); }
.section-head p { font-size: 1.05rem; }

/* Service cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; color: var(--navy-900); }
.card p { margin-bottom: 14px; }
.card .card-link { font-weight: 700; color: var(--blue-600); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Why choose us list */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 8px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--blue-300);
  display: flex; align-items: center; justify-content: center;
}
.feature-item h4 { color: var(--navy-900); margin-bottom: 4px; font-size: 1.02rem; }
.feature-item p { margin: 0; font-size: 0.95rem; }

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-media {
  background: linear-gradient(135deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media img { box-shadow: none; border-radius: 50%; width: min(280px, 100%); border: 6px solid rgba(255,255,255,0.15); }

.timeline { margin-top: 28px; border-left: 3px solid var(--blue-100); padding-left: 24px; display: flex; flex-direction: column; gap: 22px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 12px; height: 12px;
  background: var(--blue-600);
  border-radius: 50%;
  border: 3px solid var(--blue-100);
}
.timeline-item h4 { color: var(--navy-900); margin-bottom: 4px; font-size: 1rem; }
.timeline-item p { margin: 0; font-size: 0.95rem; }

/* Service areas */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.area-chip {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-chip svg { color: var(--blue-600); }

.area-group { margin-top: 28px; }
.area-group:first-of-type { margin-top: 0; }
.area-group-label {
  text-align: center;
  font-weight: 800;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.faq-item h3 { color: var(--navy-900); font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* Related services */
.related-services { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.related-chip {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.92rem;
  transition: border-color .15s ease, color .15s ease;
}
.related-chip:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* Footer service-area line */
.footer-areas {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-700), var(--navy-900));
  border-radius: 20px;
  padding: 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 6px; font-size: 1.6rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-900); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper-alt);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item h4 { color: var(--navy-900); margin-bottom: 2px; font-size: 1rem; }
.contact-info-item p, .contact-info-item a { margin: 0; font-size: 0.97rem; }
.contact-info-item a { color: var(--blue-600); font-weight: 700; }

/* Service detail sections (services.html) */
.service-detail { padding: 60px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.service-detail .icon-lg {
  width: 74px; height: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-detail h2 { color: var(--navy-900); font-size: 1.7rem; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: var(--ink); }
.check-list svg { color: var(--blue-600); flex-shrink: 0; margin-top: 3px; }

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 60%, var(--blue-700));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--blue-300); margin-bottom: 14px; }
.breadcrumb a { color: var(--blue-300); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 46px; width: 46px; border-radius: 50%; }
.footer-brand span { font-weight: 800; color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-logo-wrap { order: -1; }
  .hero-logo-wrap img { width: 220px; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 68px 0 0 0; background: #fff; padding: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .main-nav a { display: block; width: 100%; padding: 14px 6px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .dropdown {
    display: flex !important;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--blue-100);
    border-radius: 0;
    margin: 4px 0 4px 10px;
    min-width: 0;
    padding: 4px 0 4px 12px;
  }
  .dropdown li a { padding: 10px 6px; font-size: 0.95rem; color: var(--ink-soft); }
  .header-phone span.phone-label { display: none; }
  .grid-3, .grid-2, .feature-list { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar ul { gap: 12px 20px; }
  section { padding: 56px 0; }
}
