/* =========================================================
   SITEBERG THEME — siteberg.css
   Prefix: sb-
   START
========================================================= */

/* =========================
   START: CSS Variables + Reset
========================= */
:root {
  --sb-primary: #ff6a00;
  --sb-bg: #f8f7f5;
  --sb-text: #1E1E1E;
  --sb-border: rgba(30, 30, 30, .10);
  --sb-shadow: 0 14px 40px rgba(0, 0, 0, .08);
  --sb-container: 1180px;
  --sb-header-h: 80px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--sb-bg);
  color: var(--sb-text);
}

.sb-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sb-container {
  width: min(var(--sb-container), calc(100% - 48px));
  margin-inline: auto;
}
/* =========================
   END: CSS Variables + Reset
========================= */


/* =========================
   START: Layout helpers
========================= */
.sb-content { padding-top: var(--sb-header-h); }
/* =========================
   END: Layout helpers
========================= */


/* =========================
   START: Header (Fixed)
========================= */
.sb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--sb-header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.sb-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sb-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Contact button spacing */
.sb-header__contact {
  white-space: nowrap;
  transition: .3s;
}
.sb-header__contact:hover { transform: scale(.95) !important; }

@media (max-width: 900px) {
  .sb-header__contact { display: none !important; }
}

.sb-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.sb-brand__logo {
  display: block;
  height: 44px;
  width: auto;
}

@media (min-width: 900px) {
  .sb-brand__logo { height: 52px; }
}
/* =========================
   END: Header (Fixed)
========================= */


/* =========================
   START: Desktop Navigation (Inter look)
========================= */
.sb-nav { display: none; }

.sb-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.sb-nav__item { position: relative; }

.sb-nav__link,
.sb-nav__trigger {
  font: inherit;
  color: rgba(30, 30, 30, .80);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
}

.sb-nav__link:hover,
.sb-nav__trigger:hover { color: var(--sb-primary); }

.sb-nav__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: rgba(30, 30, 30, .55);
  transition: transform .2s ease, color .2s ease;
}
.sb-nav__chev svg { display: block; }
/* =========================
   END: Desktop Navigation (Inter look)
========================= */


/* =========================
   START: Buttons
========================= */
.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.sb-btn:hover { transform: translateY(-1px); }

.sb-btn--primary {
  background: var(--sb-primary);
  color: #fff !important;
}
.sb-btn--primary:hover { background: #ff7a1a; }
/* =========================
   END: Buttons
========================= */


/* =========================
   START: Arrow System (SVG)
========================= */
.sb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--sb-primary);
  transition: transform .25s ease, color .25s ease;
}
.sb-arrow svg { display: block; }

.sb-arrow--sm svg { width: 24px; height: 24px; stroke-width: 2; }
.sb-arrow--md svg { width: 18px; height: 18px; stroke-width: 2; }
.sb-arrow--lg svg { width: 22px; height: 22px; }

.sb-mega__card:hover .sb-arrow,
.sb-mega__all:hover .sb-arrow { transform: translateX(4px); }
/* =========================
   END: Arrow System
========================= */


/* =========================
   START: STITCH Mega Menu (hover opens; no click)
========================= */
.sb-mega { position: relative; }

.sb-mega::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 56px;
}

.sb-mega__content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(800px, 86vw);
  margin-top: 35px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  will-change: opacity, transform;
  z-index: 1000;
}

.sb-mega__panel {
  background: white;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 106, 0, .18);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.sb-mega:hover .sb-mega__content,
.sb-mega:focus-within .sb-mega__content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sb-mega:hover .sb-nav__chev,
.sb-mega:focus-within .sb-nav__chev {
  color: var(--sb-primary);
  transform: rotate(180deg);
}

.sb-mega__head {
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.sb-mega__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--sb-primary);
}

.sb-mega__title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(35, 23, 15, .95);
}

.sb-mega__grid {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sb-mega__card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, .40);
  transition: background .22s ease, border-color .22s ease, transform .15s ease;
  border-color: rgba(255, 106, 0, .18);
  border: 1px solid transparent;
}

.sb-mega__card:hover {
  background: rgba(255, 255, 255, .65);
  border-color: rgba(255, 106, 0, .18);
  transform: translateY(-1px);
  border: 1px solid rgba(255, 106, 0, 0.5);
}

.sb-mega__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 106, 0, .10);
  flex: 0 0 48px;
}
.sb-mega__card:hover .sb-mega__icon { background: rgba(255, 106, 0, .18); }

.sb-mega__card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-mega__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sb-mega__card-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(35, 23, 15, .95);
  letter-spacing: -0.01em;
}

.sb-mega__card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #6b7280;
}

.sb-mega__foot {
  padding: 18px 26px 22px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  justify-content: flex-end;
}

.sb-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sb-primary);
  text-decoration: none;
}
.sb-mega__all:hover { text-decoration: underline; }
/* =========================
   END: STITCH Mega Menu
========================= */


/* =========================
   START: Mobile Menu — Stitch (RIGHT DRAWER)
========================= */

/* wrapper */
.sb-mobile {
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.sb-mobile[hidden] { display: none !important; }

/* backdrop */
.sb-mobile__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .36);
  opacity: 0;
  transition: opacity .22s ease;
}
.sb-mobile.is-open .sb-mobile__backdrop { opacity: 1; }

/* panel — RIGHT side, full height */
.sb-mobile__panel--stitch {
  position: absolute;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100dvh;
  background: #f8f7f5;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  transform: translateX(18px);
  opacity: 0;
  transition: transform .26s ease, opacity .22s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sb-mobile.is-open .sb-mobile__panel--stitch {
  transform: translateX(0);
  opacity: 1;
}

/* ===== TOP (header inside drawer) ===== */
.sb-mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  border-bottom: 1px solid rgba(255, 106, 0, .10);
}

/* logo inside drawer */
.sb-mh .sb-brand__logo {
  height: 56px;
  width: auto;
  display: block;
}

/* close button */
.sb-mh__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(30, 30, 30, .06);
  color: rgba(30, 30, 30, .55);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.sb-mh__close:hover {
  background: rgba(30, 30, 30, .10);
  color: var(--sb-primary);
  transform: scale(.98);
}

/* ===== CONTENT (scroll) ===== */
.sb-mc {
  padding: 18px 14px;
  overflow: auto;
  flex: 1 1 auto;
}

.sb-ml {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sb-ml__item {
  margin: 0;
  padding: 0;
}

/* ===== Mobile link styles — SAME FEEL as “Usługi” ===== */
.sb-ml__link,
.sb-ml__link--plain {
  display: flex;
  align-items: center;
  min-height: 44px;            /* better tap target */
  padding: 12px 12px;          /* bigger Y hit area */
  border-radius: 14px;

  color: rgba(30, 30, 30, .86);
  text-decoration: none;
  font-weight: 600;

  background: transparent;
  border: 1px solid transparent;

  transition: .3s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sb-ml__link:hover,
.sb-ml__link:focus-visible,
.sb-ml__link--plain:hover,
.sb-ml__link--plain:focus-visible {
  background: rgba(255, 106, 0, .08);
  border-color: rgba(255, 106, 0, .20);
  color: var(--sb-primary);
  outline: none;
}

.sb-ml__link:active,
.sb-ml__link--plain:active {
  background: rgba(255, 106, 0, .12);
  border-color: rgba(255, 106, 0, .28);
}

.sb-mc__spacer { height: 16px; }

/* ===== Accordion “Usługi” — parity + bigger hit area ===== */
.sb-acc { margin-top: 18px; }

.sb-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 44px;            /* better tap target */
  padding: 12px 12px;          /* bigger Y hit area */
  border-radius: 14px;

  background: transparent;
  border: 1px solid transparent;
  color: rgba(30, 30, 30, .92);

  cursor: pointer;
  font: inherit;
  font-weight: 500;

  transition: .3s;
  -webkit-tap-highlight-color: transparent;
}

.sb-acc__label { font-weight: 500; }

.sb-acc__chev {
  display: inline-flex;
  color: rgba(30, 30, 30, .55);
  transition: transform .2s ease, color .2s ease;
}

.sb-acc__btn:hover,
.sb-acc__btn:focus-visible {
  background: rgba(255, 106, 0, .08);
  border-color: rgba(255, 106, 0, .20);
  color: var(--sb-primary);
  outline: none;
}

.sb-acc__btn:active {
  background: rgba(255, 106, 0, .12);
  border-color: rgba(255, 106, 0, .28);
}

/* OPEN state (works with data-open or aria-expanded) */
.sb-acc[data-open="true"] .sb-acc__btn,
.sb-acc__btn[aria-expanded="true"] {
  background: rgba(255, 106, 0, .08);
  border-color: rgba(255, 106, 0, .20);
  color: var(--sb-primary);
}

.sb-acc[data-open="true"] .sb-acc__chev,
.sb-acc__btn[aria-expanded="true"] .sb-acc__chev {
  color: var(--sb-primary);
  transform: rotate(180deg);
}

.sb-acc__panel { margin-top: 12px; }

/* services list */
.sb-sv {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sb-sv__row {
  display: flex;
  align-items: flex-start;

  min-height: 44px;            /* better tap target */
  padding: 10px 10px;          /* bigger Y hit area */
  gap: 12px;

  text-decoration: none;
  border-radius: 14px;
  background: transparent;

  transition: background .2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sb-sv__row:hover,
.sb-sv__row:focus-visible {
  background: rgba(30, 30, 30, .04);
  outline: none;
}

.sb-sv__row:active {
  background: rgba(30, 30, 30, .06);
}

/* icon square outline */
.sb-sv__ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 106, 0, .75);
  display: grid;
  place-items: center;
  color: var(--sb-primary);
  flex: 0 0 32px;
  margin-top: 2px;
  background: rgba(255, 255, 255, .45);
}
.sb-sv__ico svg { width: 18px; height: 18px; }

/* title + desc */
.sb-sv__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.sb-sv__title {
  font-weight: 500;
  color: rgba(30, 30, 30, .92);
  font-size: 14px;
  line-height: 1.25;
}

.sb-sv__desc {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(30, 30, 30, .55);
}

/* ===== BOTTOM (sticky footer) ===== */
.sb-mb {
  padding: 18px 18px 16px;
  border-top: 1px solid rgba(30, 30, 30, .08);
  background: #f8f7f5;
}

.sb-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 14px;
  border-radius: 14px;
  background: var(--sb-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(255, 106, 0, .25);
  transition: filter .2s ease, transform .15s ease;
}
.sb-call:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}
.sb-call__ico { display: inline-flex; }

.sb-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.sb-social__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(30, 30, 30, .06);
  color: rgba(30, 30, 30, .55);
  text-decoration: none;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.sb-social__btn:hover {
  background: rgba(30, 30, 30, .10);
  color: var(--sb-primary);
  transform: translateY(-1px);
}

.sb-mb__copy {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(30, 30, 30, .35);
  font-weight: 800;
}

/* lock scroll */
html.sb-scroll-lock,
body.sb-scroll-lock {
  overflow: hidden;
  height: 100%;
}
/* =========================
   END: Mobile Menu — Stitch (RIGHT DRAWER)
========================= */


/* =========================
   START: Mobile Nav Toggle (Hamburger)
========================= */
.sb-nav-toggle {
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.sb-nav-toggle__icon {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.sb-nav-toggle__icon::before,
.sb-nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.sb-nav-toggle__icon::before { top: -8px; }
.sb-nav-toggle__icon::after { top: 8px; }

.sb-nav-toggle[aria-expanded="true"] .sb-nav-toggle__icon { background: transparent; }
.sb-nav-toggle[aria-expanded="true"] .sb-nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}
.sb-nav-toggle[aria-expanded="true"] .sb-nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}
/* =========================
   END: Mobile Nav Toggle (Hamburger)
========================= */


/* =========================
   START: Responsive — Desktop shows nav
========================= */
@media (min-width: 900px) {
  .sb-nav { display: block; }
  .sb-nav-toggle { display: none; }
  .sb-mobile { display: none !important; }
}

@media (max-width: 900px) {
  .sb-mega__content { display: none; }
}
/* =========================
   END: Responsive — Desktop shows nav
========================= */


/* =========================
   START: Footer
========================= */
.sb-footer {
  background: #171717;
  color: #fff;
  border-top: 1px solid #1d1d1d;
}

.sb-footer__inner { padding: 72px 0 28px; }

.sb-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.sb-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.sb-footer__logo-img {
  width: 156px;
  height: auto;
  display: block;
}

.sb-footer__desc {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .62);
  line-height: 1.7;
  font-size: 14px;
  max-width: 320px;
}

.sb-footer__title {
  margin: 2px 0 18px;
  color: var(--sb-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 25px;
}

.sb-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sb-footer__link {
  color: rgba(255, 255, 255, .70);
  text-decoration: none;
  transition: color .2s ease;
}
.sb-footer__link:hover { color: #fff; }

.sb-footer__address {
  font-style: normal;
  color: rgba(255, 255, 255, .70);
  line-height: 1.8;
  font-size: 14px;
}

.sb-footer__spacer { height: 10px; }

.sb-footer__note {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}

.sb-footer__newsletter {
  display: flex;
  width: 100%;
  max-width: 320px;
}

.sb-footer__input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 6px 0 0 6px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  outline: none;
}

.sb-footer__input::placeholder { color: rgba(255, 255, 255, .45); }
.sb-footer__input:focus { border-color: rgba(255, 106, 0, .45); }

.sb-footer__send {
  width: 48px;
  border: none;
  border-radius: 0 6px 6px 0;
  background: var(--sb-primary);
  color: #fff;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease;
}
.sb-footer__send:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sb-footer__divider {
  margin: 56px 0 18px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}

.sb-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0 0;
  text-align: center;
}

.sb-footer__copy {
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  line-height: 1.6;
}

.sb-footer__bottom-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.sb-footer__link--bottom {
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
}
.sb-footer__link--bottom:hover { color: #fff; }

@media (max-width: 1100px) {
  .sb-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .sb-footer__desc,
  .sb-footer__note,
  .sb-footer__newsletter { max-width: 100%; }
}

@media (max-width: 560px) {
  .sb-footer__inner { padding: 56px 0 22px; }
  .sb-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .sb-footer__divider { margin: 34px 0 14px; }
}
/* =========================
   END: Footer
========================= */


/* =========================
   START: Front Page — Vision CTA section
========================= */
.sb-vision {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .16), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, #2d2d2d 0%, #171717 100%);
  color: #fff;
  padding: 140px 0 110px;
  text-align: center;
}

.sb-vision__inner { max-width: 1180px; }

.sb-vision__title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 0 50px;
}

.sb-vision__accent { color: var(--sb-primary); }

.sb-vision__lead {
  margin: 22px auto 0;
  max-width: 980px;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1.7;
}

.sb-vision__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.sb-vision__cta {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .sb-vision__title { padding: 0 10px; }
  .sb-vision__lead { font-size: 16px; }
  .sb-vision { padding: 100px 0 90px; }
}
/* =========================
   END: Front Page — Vision CTA section
========================= */


/* =========================================================
   SITEBERG THEME — siteberg.css
   END
========================================================= */
