/* Leszek Saniak – Naprawy i Wykończenia */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/barlow-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/barlow-latin-400-normal.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: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/barlow-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/barlow-latin-500-normal.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: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/barlow-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/barlow-latin-600-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/barlow-condensed-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/barlow-condensed-latin-600-normal.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: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/barlow-condensed-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/barlow-condensed-latin-700-normal.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 {
  --cream: #F5F1E6;
  --sage: #E4E0CF;
  --green: #1E3A2F;
  --green-deep: #142A21;
  --muted: #4A5E54;
  --copper: #B5652B;      /* grafika, ramki, duże elementy */
  --copper-text: #9A5222; /* tekst i linki na kremowym tle */
  --plate-label: #C3CDBD;

  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --wrap: 72rem;
  --gap: clamp(1.25rem, 3vw, 2rem);
  --sec: clamp(3.5rem, 8vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: var(--f-body);
  font-size: 1.1875rem;   /* 19px: wygodnie dla starszych czytelników */
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--f-head); line-height: 1; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(3.25rem, 8.5vw, 6.5rem); font-weight: 700; line-height: 0.92; }
h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.625rem; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 38rem; }

a { color: var(--copper-text); text-underline-offset: 0.18em; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--copper); outline-offset: 3px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--cream); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Przyciski */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--cream);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 1rem 1.5rem;
  border: 2px solid var(--green);
  border-radius: 3px;
  text-decoration: none;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--cream); }
.btn--small { font-size: 1.25rem; padding: .6rem 1rem; }

/* Nagłówek strony */
.top { border-bottom: 1px solid rgba(30, 58, 47, .18); }
.top__in { display: flex; align-items: center; gap: 2rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--green); text-decoration: none; }
.brand__mark { width: 2.75rem; height: 2.75rem; flex: none; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; line-height: 1; display: flex; flex-direction: column; }
.brand__sub { font-weight: 600; font-size: 1.0625rem; color: var(--muted); margin-top: .15rem; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { color: var(--green); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.nav a:hover { color: var(--copper-text); text-decoration: underline; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--sec); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 11ch; margin-bottom: 1.75rem; }
.lead { font-size: 1.3125rem; max-width: 34rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.note { font-size: 1.0625rem; color: var(--muted); }

/* Tabliczka znamionowa */
.plate {
  position: relative;
  margin: 0;
  background: var(--green);
  color: var(--cream);
  border-radius: 6px;
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 7.5px var(--copper);
  transform: rotate(-1.2deg);
}
.rivet {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #E2A06C, var(--copper) 55%, #7A4019);
}
.rivet--tl { top: 14px; left: 14px; } .rivet--tr { top: 14px; right: 14px; }
.rivet--bl { bottom: 14px; left: 14px; } .rivet--br { bottom: 14px; right: 14px; }
.plate__head {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1.75rem; line-height: 1;
  padding-bottom: 1.1rem; margin-bottom: .5rem;
  border-bottom: 1.5px solid var(--copper);
}
.plate__mark { width: 2.5rem; height: 2.5rem; flex: none; }
.plate__rows { margin: 0; }
.plate__rows div {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px dashed rgba(245, 241, 230, .22);
}
.plate__rows div:last-child { border-bottom: 0; }
.plate dt { color: var(--plate-label); font-size: 1rem; padding-top: .15rem; }
.plate dd { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }

/* Sekcje */
.section { padding: var(--sec) 0; }
.section--band { background: var(--sage); }
.section h2 { margin-bottom: 1rem; }
.section__lead { font-size: 1.25rem; margin-bottom: 2.5rem; }

/* Usługi */
.services {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem var(--gap);
}
@media (max-width: 860px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service { border-top: 3px solid var(--copper); padding-top: 1rem; }
.service h3 { margin-bottom: .6rem; }
.service ul { margin: 0; padding-left: 1.1rem; }
.service li { margin-bottom: .25rem; }
.service li::marker { color: var(--copper); }
.service__tag { margin: .75rem 0 0; font-weight: 600; color: var(--copper-text); }
.notdo {
  margin-top: 3rem; padding: 1.1rem 1.35rem; max-width: 46rem;
  border-left: 4px solid var(--green); background: rgba(30, 58, 47, .06);
}

/* Kroki */
.steps { list-style: none; margin: 2.25rem 0 0; padding: 0; counter-reset: krok;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.steps li { counter-increment: krok; position: relative; padding-top: 4.25rem; }
.steps li::before {
  content: counter(krok);
  position: absolute; top: 0; left: 0;
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: 1.875rem;
  color: var(--cream); background: var(--green); border-radius: 50%;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.6rem; left: 3.75rem; right: -0.5rem;
  border-top: 2px dashed var(--copper);
}
.steps h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.steps p { font-size: 1.0625rem; margin: 0; }

/* O mnie */
.about__text { max-width: 44rem; }
.about__text h2 { margin-bottom: 1.25rem; }
.de { font-style: italic; color: var(--muted); border-top: 1px solid rgba(30, 58, 47, .2); padding-top: 1rem; margin-top: 1.5rem; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--gap); margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.gallery figcaption { font-size: 1rem; color: var(--muted); margin-top: .5rem; }

/* Pytania */
.faq > * { max-width: 52rem; }
.faq h2 { margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid rgba(30, 58, 47, .25); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--f-head); font-weight: 600; font-size: 1.5rem; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 2rem; color: var(--copper-text); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1rem; }

/* Kontakt */
.contact { background: var(--green); color: var(--cream); padding: var(--sec) 0; }
.contact__in { text-align: left; }
.contact h2 { color: var(--cream); max-width: 16ch; margin-bottom: 1.5rem; }
.contact__phone {
  display: inline-block; color: var(--cream); text-decoration: none;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(3.5rem, 11vw, 7.5rem); line-height: 1;
  border-bottom: 4px solid var(--copper); padding-bottom: .25rem;
}
.contact__phone:hover { color: #FFFFFF; }
.contact__alt { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.contact__alt a { color: var(--cream); font-size: 1.25rem; font-weight: 500; }

/* Stopka */
.foot { background: var(--green-deep); color: var(--plate-label); font-size: 1rem; padding: 1.5rem 0 1.5rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.foot p { margin: 0; }

/* Pasek „Zadzwoń” na telefonie */
.callbar { display: none; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { padding: 0 0 0 4.5rem; min-height: 3.25rem; }
  .steps li:not(:last-child)::after { top: 3.75rem; bottom: -1.25rem; left: 1.6rem; right: auto; border-top: 0; border-left: 2px dashed var(--copper); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .top .btn--small { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .plate { transform: none; max-width: 32rem; }
}

@media (max-width: 560px) {
  body { padding-bottom: 4.5rem; }
  .top .btn--small { display: none; }
  .brand__sub { font-size: .95rem; }
  .plate { padding: 2rem 1.5rem 1.75rem; }
  .plate__rows div { grid-template-columns: 1fr; gap: 0; }
  .actions .btn { width: 100%; text-align: center; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--copper-text); color: var(--cream); text-align: center; text-decoration: none;
    font-family: var(--f-head); font-weight: 700; font-size: 1.5rem;
    padding: 1rem; padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}
