/* Jarobud – Remonty Szczecin. Static rebuild of the Wix site. */
:root {
  --blue: #103e8a;
  --blue-dark: #0c2f69;
  --sky: #009cde;
  --cream: #fffeed;
  --ink: #171200;
  --text: #2b2b2b;
  --muted: #5f6360;
  --line: #e2e2e2;
  --radius: 10px;
  --wrap: 1440px;
  --pad: clamp(20px, 3.5vw, 50px);
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.5; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 13px 24px;
  border-radius: 8px; border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 14px; line-height: 1.2; transition: background .2s, color .2s, transform .2s;
}
.btn .arr { width: 12px; height: 12px; flex: none; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--sky { background: var(--sky); color: #fff; font-weight: 400; font-size: 16px; border-radius: 14px; padding: 18px 20px; text-align: center; justify-content: center; }
.btn--sky:hover { background: #0089c4; }
.btn--caps { text-transform: uppercase; letter-spacing: .02em; font-size: 13px; }
.btn--shadow { box-shadow: 0 4px 14px rgba(0,0,0,.35); }

/* ---------- Header ---------- */
.header { position: relative; z-index: 20; background: #000; color: #fff; }
.header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.header__in { display: flex; align-items: center; gap: 24px; height: 104px; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad) 0 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 64px; }
.nav { margin-left: auto; margin-right: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 14px; text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.header .btn { padding: 15px 50px; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

.mnav { position: fixed; inset: 0; z-index: 50; background: var(--blue); color: #fff; display: flex; flex-direction: column; padding: 24px var(--pad); transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
.mnav.open { transform: none; visibility: visible; }
.mnav__close { align-self: flex-end; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.mnav__close svg { width: 28px; height: 28px; }
.mnav ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.mnav a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 600; text-transform: uppercase; }
.mnav a[aria-current="page"] { text-decoration: underline; }
.mnav .btn { margin-top: 40px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: max(100svh, min(79vw, 1140px)); display: flex; align-items: center; color: #fff; overflow: hidden; background: #3d3a30; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(23, 18, 0, .42); }
.hero__in { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 130px 90px 80px; }
.hero h1 { font-size: clamp(38px, 5.3vw, 76px); font-weight: 700; line-height: 1.2; max-width: 820px; color: var(--cream); letter-spacing: -.005em; }
.hero p { margin-top: 26px; font-size: clamp(18px, 2vw, 29px); font-weight: 300; line-height: 1.4; max-width: 800px; color: var(--cream); }
.hero .btn { margin-top: 34px; }

/* ---------- Section basics ---------- */
.section { padding: 110px 0; }
.blue { background: var(--blue); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.eyebrow--plain { text-transform: none; letter-spacing: 0; font-size: 14px; }
.title-light { font-size: clamp(32px, 3.7vw, 54px); font-weight: 300; line-height: 1.22; color: var(--ink); letter-spacing: -.005em; }

/* ---------- Why us ---------- */
.why { text-align: center; padding-top: 70px; }
.why h2 { font-size: clamp(34px, 4.6vw, 66px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.why__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 46px; max-width: 1060px; margin: 66px auto 0; padding: 0; list-style: none; }
.why__item { width: 284px; }
.why__item img { width: 284px; height: 370px; object-fit: cover; border-radius: 10px; }
.why__item h3 { margin-top: 84px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.why__lead { margin-top: 80px; font-size: 21px; font-weight: 300; line-height: 1.55; }

.steps { margin-top: 80px; text-align: left; }
.why .steps__head { font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: 0; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.8); }
.steps__grid { list-style: none; margin: 0; padding: 70px 40px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 60px 50px; }
.steps__grid li { grid-column: span 2; }
.steps__grid li:nth-child(4) { grid-column: 2 / span 2; }
.steps__grid h3 { font-size: 36px; font-weight: 500; line-height: 1.22; min-height: 2.44em; max-width: 290px; letter-spacing: -.01em; }
.steps__grid p { margin-top: 30px; font-size: 14px; line-height: 1.75; max-width: 330px; }

/* ---------- Projects slider (home) ---------- */
.projects .title-light { margin-top: 18px; }
.projects .btn { margin-top: 38px; }
.slider { position: relative; margin-top: 60px; }
.slider__track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-left: var(--pad); scroll-padding-left: var(--pad); }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track a { flex: 0 0 min(1196px, 84vw); scroll-snap-align: start; border-radius: 10px; overflow: hidden; }
.slider__track img { width: 100%; height: clamp(300px, 52vw, 1060px); max-height: 1060px; object-fit: cover; aspect-ratio: auto; }
.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.0); color: #e08a6b; cursor: pointer; display: grid; place-items: center; }
.slider__btn:hover { background: rgba(255,255,255,.85); }
.slider__btn svg { width: 40px; height: 40px; }
.slider__btn--prev { left: 18px; }
.slider__btn--next { right: 18px; }
.slider__btn[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Services ---------- */
.services-title { font-size: 20px; font-weight: 700; color: var(--blue); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--blue); color: #fff; border-radius: 8px; padding: 58px 40px 52px; min-height: 420px; }
.card img { width: 95px; height: 95px; object-fit: contain; object-position: left center; }
.card h3 { margin-top: 30px; font-size: 13px; font-weight: 700; }
.card p, .card ul { margin-top: 30px; font-size: 16px; font-weight: 300; line-height: 1.55; }
.card ul { list-style: none; padding: 0; margin-top: 22px; }
.home-services { padding-top: 130px; }
.home-services .cards { margin-top: 90px; }
.home-services .btn { margin-top: 50px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; margin-top: 46px; }
.review h3 { font-size: 22px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 22px; }
.review blockquote { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink); letter-spacing: .01em; }
.reviews__more { display: flex; align-items: flex-end; justify-content: center; }
.reviews__more .btn { width: 230px; }

/* ---------- Quality band ---------- */
.quality { background: var(--sky); color: #fff; text-align: center; padding: 26px 0 110px; margin-top: 50px; }
.quality small { display: block; font-size: 22px; font-weight: 400; }
.quality h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; margin-top: 4px; }
.logos { list-style: none; margin: 60px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 40px; max-width: 1400px; }
.logos img { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); color: #fff; padding: 64px 0 40px; }
.footer__in { display: grid; grid-template-columns: 330px 1fr 200px; gap: 30px; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.footer__brand { font-weight: 700; font-size: 26px; }
.footer nav ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.footer nav a { text-decoration: none; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.footer nav a:hover, .footer nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { padding-top: 70px; }
.footer__contact a { display: inline-block; font-size: clamp(24px, 2.3vw, 33px); font-weight: 300; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer__contact a + a { margin-top: 44px; display: block; width: max-content; }
.area { margin: 44px auto 0; max-width: 330px; text-align: center; font-size: 23px; font-weight: 300; line-height: 1.6; }
.footer__cta { align-self: end; justify-self: end; }
.footer__cta .btn { padding: 15px 24px; }

/* ---------- Usługi page ---------- */
.page-head { padding: 70px 0 46px; }
.page-head .title-light { margin-top: 24px; }
.services-page .cards { gap: 22px 30px; }
.services-page .card { min-height: 420px; padding: 62px 40px 40px; }
.services-page { padding-bottom: 90px; }

/* ---------- Realizacje ---------- */
.gallery { list-style: none; margin: 0; padding: 0 0 130px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 52px 30px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--ink); letter-spacing: .01em; }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10, 10, 10, .94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #fff; margin-top: 16px; text-align: center; max-width: 800px; font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox button svg { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt ---------- */
.contact { padding: 62px 0 62px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact h1 { margin-top: 10px; }
.contact__lead { margin-top: 24px; font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 520px; color: var(--ink); }
.contact__photo { border-radius: 10px; width: 100%; height: 770px; object-fit: cover; object-position: 30% center; }

.form { margin-top: 64px; max-width: 580px; padding-left: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; }
.field { display: flex; flex-direction: column; justify-content: flex-end; }
.field label { font-size: 13px; color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.field input, .field select { border: 0; border-bottom: 1px solid #8f8f8f; border-radius: 0; background: transparent; padding: 8px 0; font-size: 16px; min-height: 40px; color: var(--ink); }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171200' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px; padding-right: 24px; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; border-bottom: 2px solid var(--blue); }
.field.invalid input, .field.invalid select { border-bottom: 2px solid #c0262d; }
.field .err { color: #c0262d; font-size: 12px; margin-top: 6px; min-height: 0; }
.phone-wrap { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #8f8f8f; }
.phone-wrap span { font-size: 16px; color: var(--ink); white-space: nowrap; }
.phone-wrap input { border: 0; flex: 1; min-width: 0; }
.field.invalid .phone-wrap { border-bottom: 2px solid #c0262d; }
.phone-wrap:focus-within { border-bottom: 2px solid var(--blue); }
.form__actions { grid-column: 1 / -1; }
.form .btn { min-width: 270px; justify-content: center; padding: 12px 24px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--blue); }
.form__msg { margin-top: 14px; font-size: 15px; color: #c0262d; }
.form__msg a { color: inherit; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Dziękujemy ---------- */
.thanks { padding: 10px 0 40px; text-align: center; }
.thanks h1 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; color: var(--ink); }
.timeline { position: relative; list-style: none; margin: 18px auto 0; padding: 0 0 50px; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; text-align: left; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--blue); }
.timeline li { display: flex; align-items: center; gap: 14px; border: 2px solid #ddd; border-radius: 22px; padding: 14px 16px; background: #fff; box-shadow: 0 3px 6px rgba(0,0,0,.18); min-height: 140px; }
.timeline li:nth-child(even) { flex-direction: row-reverse; }
.timeline .num { flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 800; }
.timeline h2 { font-size: 20px; font-weight: 500; color: var(--ink); }
.timeline p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Polityka ---------- */
.policy { padding: 70px 0 90px; }
.policy h1 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; color: var(--ink); }
.policy__body { margin-top: 56px; max-width: 940px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--ink); }
.policy__body strong { font-weight: 700; font-size: 14px; display: block; margin-bottom: 14px; }
.policy__body ul { margin: 0; padding-left: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header .btn--desk { display: none; }
  .burger { display: block; }
  .header__in { height: 80px; gap: 12px; padding-right: 12px; }
  .header .btn { margin-left: auto; padding: 10px 14px; font-size: 14px; }
  .steps__grid { padding: 50px 0 0; grid-template-columns: 1fr 1fr; }
  .steps__grid li, .steps__grid li:nth-child(4) { grid-column: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 20px; height: 38px; }
  .header__in { height: 80px; padding-left: 12px; }
  .header .btn { font-size: 14px; padding: 9px 14px; border-radius: 10px; }
  .hero { min-height: 640px; }
  .hero__in { padding: 120px 20px 60px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 18px; }
  .section { padding: 70px 0; }
  .why__grid { gap: 30px 16px; }
  .why__item { width: calc(50% - 8px); }
  .why__item img { width: 100%; height: auto; aspect-ratio: 284 / 370; }
  .why__item h3 { margin-top: 18px; font-size: 18px; }
  .why__lead { margin-top: 50px; font-size: 17px; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps__grid h3 { font-size: 28px; min-height: 0; }
  .steps__grid p { margin-top: 18px; }
  .slider__track a { flex-basis: 88vw; }
  .slider__track img { height: 370px; }
  .slider__btn--prev { left: 6px; } .slider__btn--next { right: 6px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; padding: 40px 28px 36px; }
  .home-services { padding-top: 80px; }
  .home-services .cards { margin-top: 44px; }
  .reviews { grid-template-columns: 1fr; gap: 36px; }
  .review blockquote { font-size: 16px; }
  .quality { padding-bottom: 60px; }
  .logos { grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-top: 30px; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__contact { padding-top: 30px; }
  .area { font-size: 18px; }
  .gallery { grid-template-columns: 1fr; gap: 36px; padding-bottom: 80px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__photo { height: 420px; }
  .form { grid-template-columns: 1fr; padding-left: 0; gap: 28px; margin-top: 40px; }
  .form .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { display: none; }
  .timeline li:nth-child(even) { flex-direction: row; }
  .timeline .num { width: 72px; height: 72px; font-size: 28px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.reviews__more { margin-top: 36px; }
.card h2 { margin-top: 30px; font-size: 13px; font-weight: 700; }
.review { margin: 0; }
.contact h1 { max-width: 430px; }
.gallery figure { margin: 0; }
