:root {
  --navy: #071426;
  --navy-2: #0d223b;
  --blue: #2367d1;
  --orange: #ff7614;
  --orange-2: #ff9a3d;
  --text: #101a2c;
  --muted: #667085;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #dce3ee;
  --shadow: 0 18px 50px rgba(7, 20, 38, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  padding-bottom: 74px;
}
main { padding-bottom: 18px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(255, 118, 20, 0.55); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: white;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(7, 20, 38, 0.94);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; line-height: 1.05; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--orange);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .pin { fill: none; stroke: var(--orange); stroke-width: 2.4; }
.brand-mark .pin-dot { fill: rgba(255, 118, 20, 0.16); stroke: white; stroke-width: 1.8; }
.brand-mark .wrench { fill: none; stroke: white; stroke-width: 1.9; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(16px, 2vw, 28px); font-weight: 750; font-size: 14px; }
.desktop-nav a:hover { color: var(--orange-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-weight: 850;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: white; box-shadow: 0 12px 24px rgba(255, 118, 20, 0.24); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.28); }
.btn:disabled { cursor: wait; opacity: 0.72; transform: none; }
.mobile-call, .menu-toggle { display: none; }

.mobile-menu {
  position: fixed;
  inset: 76px 14px auto 14px;
  z-index: 49;
  display: none;
  padding: 12px;
  background: var(--navy);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mobile-menu.is-open { display: grid; }
.mobile-menu a { padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 800; }
.mobile-menu a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,20,38,0.98) 0%, rgba(7,20,38,0.86) 35%, rgba(7,20,38,0.45) 62%, rgba(7,20,38,0.25) 100%);
}
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 90px 0 76px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
}
.eyebrow.dark { color: var(--orange); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.quick-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 30px;
}
.quick-benefits span {
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p:not(.eyebrow), .split p, .pricing p, .contact p { color: var(--muted); font-size: 18px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: center; }
.feature-grid, .services-grid, .steps, .review-grid {
  display: grid;
  gap: 14px;
}
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature-grid article, .service-card, .steps article, .review-card, .contact-card, .price-points, .map-card, .area-lists, .contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(7,20,38,0.07);
}
.feature-grid article { padding: 24px; min-height: 150px; }
.feature-grid span { color: var(--orange); font-weight: 950; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 22px; display: grid; gap: 12px; }
.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 118, 20, 0.13), rgba(35, 103, 209, 0.08));
  color: var(--orange);
  border: 1px solid rgba(255, 118, 20, 0.22);
}
.service-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card p { margin: 0; color: var(--muted); }
.service-card a { color: var(--orange); font-weight: 900; }

.field-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding-top: 12px;
}
.field-card,
.service-visual {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.field-card {
  display: grid;
  align-content: start;
}
.field-card-large {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.field-card picture,
.service-visual picture {
  min-height: 100%;
}
.field-card img,
.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}
.field-card > div,
.service-visual > div {
  padding: clamp(22px, 4vw, 38px);
}
.field-card p,
.service-visual p {
  color: var(--muted);
  font-size: 17px;
}
.field-card .eyebrow,
.service-visual .eyebrow {
  color: var(--orange);
}
.field-card:not(.field-card-large) img {
  min-height: 260px;
}
.service-visual {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  padding: 0;
}

.door {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 60px);
  border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(35,103,209,0.35), transparent 32%), var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.door p { color: rgba(255,255,255,0.82); font-size: 18px; }
.door-note { padding: 16px; border-left: 4px solid var(--orange); background: rgba(255,255,255,0.08); border-radius: 10px; }
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.process article { padding: 22px; border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; background: rgba(255,255,255,0.08); }
.process span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  font-weight: 950;
}

.steps { grid-template-columns: repeat(4, 1fr); }
.steps article { padding: 22px; min-height: 150px; }
.steps span { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: #eef5ff; color: var(--blue); font-size: 22px; }
.form-section { padding-top: 72px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
}
.contact-form button,
#formularz,
#kontakt {
  scroll-margin-bottom: 130px;
  scroll-margin-top: 96px;
}
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 800; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 13px 14px;
  color: var(--text);
}
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 700; }
.check input { width: 18px; min-width: 18px; margin-top: 4px; }
.check a,
.cookie-banner a { color: var(--orange); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.form-errors { color: #b42318; font-weight: 800; }
.form-success { margin: 0; padding: 16px; border-radius: 12px; background: #e8f8ef; color: #087443; font-weight: 850; }

.area-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; }
.map-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #eaf2ff, white);
}
.map-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(35,103,209,0.12);
  border: 1px solid rgba(35,103,209,0.25);
}
.map-ring::before, .map-ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px dashed rgba(35,103,209,0.45);
}
.map-ring::after { inset: 86px; background: var(--blue); border: 0; box-shadow: 0 0 0 12px rgba(35,103,209,0.12); }
.map-card strong, .map-card span { position: relative; z-index: 1; }
.map-card strong { font-size: 34px; color: var(--navy); }
.map-card span { color: var(--muted); font-weight: 800; }
.area-lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 24px; }
.area-lists h3 { margin-bottom: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 8px 10px; border-radius: 999px; background: #eef2f7; color: #334155; font-weight: 800; font-size: 14px; }
.review-grid { grid-template-columns: repeat(3, 1fr); }
.review-card { padding: 22px; }
.review-card .demo { color: var(--orange); font-weight: 950; font-size: 13px; text-transform: uppercase; }
.stars { color: #f7a600; font-size: 18px; }
.review-card p { color: var(--muted); }
.pricing { display: grid; grid-template-columns: 1fr 0.85fr; gap: 24px; align-items: center; }
.pricing .btn { margin-top: 20px; }
.price-points { display: grid; gap: 12px; padding: 24px; }
.price-points span { padding: 16px; border-radius: 14px; background: #f6f9fd; font-weight: 850; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.faq-item button {
  width: 100%;
  padding: 18px;
  border: 0;
  background: white;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-weight: 900;
}
.faq-item p { display: none; margin: 0; padding: 0 18px 18px; color: var(--muted); }
.faq-item.is-open p { display: block; }
.contact { display: grid; grid-template-columns: 1fr 0.8fr; gap: 24px; align-items: center; }
.contact-card { display: grid; gap: 12px; padding: 24px; }
.contact-card a, .contact-card p { margin: 0; display: flex; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 14px; background: #f7f9fc; }
.contact-card span { color: var(--orange); font-weight: 900; }
.contact-card .company-details { display: grid; gap: 8px; }
.contact-card .company-details span { color: var(--text); line-height: 1.55; }
.contact-card .legal-links { display: grid; gap: 8px; }
.contact-card .legal-links span { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.contact-card .legal-links a { color: var(--orange); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

.footer {
  margin-top: 40px;
  padding: 52px clamp(16px, 4vw, 48px) 28px;
  background: var(--navy);
  color: white;
}
.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}
.footer h2 { font-size: 18px; margin-bottom: 14px; }
.footer a { display: block; color: rgba(255,255,255,0.86); margin: 8px 0; }
.footer p { color: rgba(255,255,255,0.72); }
.copyright { width: min(var(--max), 100%); margin: 34px auto 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }

.mobile-contact-bar {
  position: fixed;
  z-index: 60;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(7,20,38,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.mobile-contact-bar a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 900;
}
.mobile-contact-bar a:first-child { background: var(--orange); }

.cookie-banner {
  position: fixed;
  z-index: 70;
  left: 18px;
  right: 18px;
  bottom: 92px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0; font-size: 18px; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); }
.cookie-options { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.cookie-options label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cookie-options input { width: 16px; min-width: 16px; padding: 0; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-banner .btn { min-height: 44px; padding: 10px 16px; }
.cookie-banner .btn-ghost { color: var(--navy); border-color: var(--line); background: white; }

.policy-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}
.policy-page article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 42px);
}
.policy-page li { margin: 8px 0; }

@media (max-width: 1040px) {
  .desktop-nav, .header-actions { display: none; }
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .mobile-call {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
  }
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
  }
  .menu-toggle span { height: 2px; background: white; border-radius: 2px; }
  .services-grid, .steps, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .door, .pricing, .contact, .area-layout, .field-gallery, .field-card-large, .service-visual { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { padding-bottom: 84px; }
  main { padding-bottom: 92px; }
  .site-header { min-height: 68px; padding: 10px 14px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .mobile-menu { inset-top: 68px; }
  .hero { min-height: auto; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(7,20,38,0.18) 0%, rgba(7,20,38,0.48) 45%, rgba(7,20,38,0.76) 100%),
      linear-gradient(90deg, rgba(7,20,38,0.62) 0%, rgba(7,20,38,0.24) 70%, rgba(7,20,38,0.08) 100%);
  }
  .hero img { object-position: 68% center; opacity: 1; }
  .hero-content {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  }
  .hero-content { padding: 54px 0 38px; width: min(100% - 28px, var(--max)); }
  h1 { font-size: clamp(30px, 10vw, 40px); }
  .hero-content > p:not(.eyebrow) { font-size: 17px; }
  .hero-actions, .quick-benefits { grid-template-columns: 1fr; display: grid; }
  .quick-benefits { gap: 8px; }
  .section { width: min(100% - 28px, var(--max)); padding: 52px 0; }
  .feature-grid, .services-grid, .steps, .review-grid, .process, .area-lists, .contact-form { grid-template-columns: 1fr; }
  .field-gallery { width: min(100% - 28px, var(--max)); padding-top: 0; }
  .field-card,
  .service-visual { border-radius: 18px; }
  .field-card img,
  .service-visual img { min-height: 230px; }
  .door { width: min(100% - 28px, var(--max)); padding: 26px 18px; border-radius: 18px; }
  .contact-card a, .contact-card p { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { bottom: 94px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
}

@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .mobile-contact-bar { display: none; }
  .cookie-banner { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
