/* Gabinet: szablon Martnet. Kolory i rozmiary jako zmienne, zmiana w jednym miejscu. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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 {
  --bg: #f1f4f3;
  --surface: #ffffff;
  --ink: #1e2624;
  --muted: #55615e;
  --line: #cbd4d1;
  --green: #1f4d3f;
  --on-green: #eef4f1;
  --amber: #e0a030;
  --radius: 6px;
  --gutter: clamp(20px, 6vw, 120px);
  --section: clamp(64px, 8vw, 112px);
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
}
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
h1, h2, h3, p, ul, dl, dd, figure, blockquote, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .nav-toggle:focus-visible + .nav-button {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

h1, h2, .display {
  font-family: var(--display);
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display { font-weight: 800; font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.016em; color: var(--green); }
h1 { font-weight: 800; font-size: clamp(2.5rem, 4.7vw, 4.25rem); line-height: 1.03; letter-spacing: -0.015em; color: var(--green); max-width: 16ch; }
h2 { font-weight: 700; font-size: clamp(1.875rem, 3.05vw, 2.75rem); line-height: 1.1; letter-spacing: -0.018em; }
h3 { font-weight: 600; font-size: clamp(1.3125rem, 1.7vw, 1.5rem); line-height: 1.25; letter-spacing: -0.012em; }
.lead { font-size: 1.25rem; line-height: 1.6; max-width: 36em; }
.muted { color: var(--muted); }
.meta { font-size: 0.875rem; font-weight: 500; line-height: 1.55; color: var(--muted); }
.pre-line { white-space: pre-line; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 12px 16px; border-radius: var(--radius); }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.5 var(--text); text-decoration: none; cursor: pointer;
  transition: opacity 0.15s ease-out;
}
.btn:hover { opacity: 0.85; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--outline { border-color: var(--green); color: var(--green); }
.more { font-weight: 600; color: var(--green); }

/* Nagłówek strony */
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 700 1.5rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--green); text-decoration: none; }
.logo--light { color: var(--on-green); }
.logo__img { height: 40px; width: auto; border-radius: 0; }
.nav ul { display: flex; align-items: center; gap: 32px; }
.nav__link { text-decoration: none; }
.nav__link:hover { text-decoration: underline; }
.nav-toggle { position: absolute; opacity: 0; width: 44px; height: 44px; }
.nav-button { display: none; }
@media (max-width: 1023px) {
  .site-header__in { min-height: 64px; }
  .nav-button { display: grid; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; cursor: pointer; }
  .nav-button span { height: 2px; background: var(--ink); border-radius: 1px; }
  .nav { display: none; flex-basis: 100%; padding-bottom: 24px; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.125rem; }
  .nav .btn { margin-top: 16px; width: 100%; }
}

/* Sekcje */
.section { padding-block: var(--section); }
.section--white { background: var(--surface); }
.section--light { background: var(--bg); }
.section--green { background: var(--green); color: var(--on-green); }
.page-header + .section--light, .section--light + .section--light, .section--white + .section--white { padding-top: 0; }
.section h2 { margin-bottom: clamp(24px, 3.4vw, 48px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.4vw, 48px); }
.section__head h2 { margin-bottom: 0; }

.hero { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 6.7vw, 96px); }
.hero__grid { display: grid; gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.hero__text { display: grid; gap: clamp(24px, 2.2vw, 32px); justify-items: start; }
.hero__img { width: 100%; aspect-ratio: 456 / 580; object-fit: cover; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 456px); } }
@media (max-width: 899px) { .hero__img { aspect-ratio: 350 / 420; } .hero .btn { width: 100%; } .hero__text p { width: 100%; } }

.page-header { padding-block: clamp(40px, 6.7vw, 96px) clamp(40px, 4.4vw, 64px); }
.page-header .wrap { display: grid; gap: clamp(16px, 1.7vw, 24px); }
.page-header h1 { max-width: 20ch; }

/* Wiersze: usługi, cennik, wpisy */
.row { display: grid; gap: 8px; padding-block: clamp(24px, 2.8vw, 40px); border-top: 1px solid var(--line); }
.row__text { color: var(--muted); }
.row__aside { font-weight: 600; }
.section .row__title { margin: 0; font: 600 clamp(1.3125rem, 1.7vw, 1.5rem)/1.25 var(--text); letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.row__title a { text-decoration: none; }
.row__title a:hover { text-decoration: underline; }
.row--post .row__text { display: grid; gap: 8px; }
.row--post .row__title { color: var(--ink); }
@media (min-width: 900px) {
  .row { grid-template-columns: 360px minmax(0, 1fr) auto; gap: 48px; align-items: baseline; }
  .row__aside { min-width: 100px; text-align: right; }
  .row--post { grid-template-columns: 200px minmax(0, 1fr) auto; }
}
.price { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-block: clamp(20px, 2vw, 28px); }
.price__value { font: 600 clamp(1.3125rem, 1.7vw, 1.5rem)/1.25 var(--text); color: var(--green); white-space: nowrap; }

.packages { display: grid; gap: clamp(32px, 3.4vw, 48px); }
.package { display: grid; gap: 8px; align-content: start; padding-top: 24px; border-top: 3px solid var(--green); }
.package__price { font: 700 clamp(1.875rem, 3.05vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.018em; color: var(--green); }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Tekst ze zdjęciem, dojazd, godziny */
.split { display: grid; gap: clamp(24px, 4.4vw, 64px); align-items: start; }
.split__text { display: grid; gap: 24px; justify-items: start; }
.split__text h2 { margin-bottom: 0; }
.split__img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.split__img--wide { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .split--narrow { grid-template-columns: 480px minmax(0, 1fr); }
  .split:has(.split__img--wide) { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
}
.prose { display: grid; gap: 1.1em; max-width: 44em; }
.prose > p:first-child { font-size: 1.25rem; line-height: 1.6; }
.prose h3 { margin-top: 0.6em; }
.prose ul { display: grid; gap: 0.4em; padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--green); font-weight: 600; }
.hours__row { display: flex; justify-content: space-between; gap: 24px; padding-block: 16px; border-top: 1px solid var(--line); }
.hours dd { font-weight: 600; text-align: right; }

/* Opinie */
.quotes { display: grid; gap: clamp(40px, 5.6vw, 80px); }
.quote { display: grid; gap: 20px; align-content: start; }
.quote blockquote { font: 600 clamp(1.3125rem, 1.7vw, 1.5rem)/1.3 var(--text); letter-spacing: -0.012em; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Zespół i galeria */
.team, .gallery { display: grid; gap: clamp(32px, 2.2vw, 40px) 32px; }
.member { display: grid; gap: 6px; align-content: start; }
.member__photo { width: 100%; aspect-ratio: 379 / 440; object-fit: cover; margin-bottom: 14px; }
.member__role { font-weight: 600; color: var(--green); }
.gallery img { width: 100%; aspect-ratio: 379 / 360; object-fit: cover; }
.gallery figcaption { margin-top: 8px; }
@media (min-width: 700px) { .team, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pasek z wezwaniem */
.cta { background: var(--green); color: var(--on-green); padding-block: clamp(56px, 5vw, 72px); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__in > div { display: grid; gap: 12px; max-width: 760px; }
@media (max-width: 699px) { .cta .btn { width: 100%; } }

/* Kontakt */
.contact { display: grid; gap: clamp(48px, 6.7vw, 96px); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); } }
.form { display: grid; gap: 24px; }
.form h2 { margin-bottom: 0; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--green); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__data { display: grid; gap: 40px; }
.contact__data a { text-decoration: none; }
.contact__data a:hover { text-decoration: underline; }
.contact__phone { font: 700 clamp(1.875rem, 3.05vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.018em; color: var(--green); }
@media (max-width: 699px) { .form .btn { width: 100%; } }

/* Wpis */
.post .wrap { display: grid; gap: 24px; justify-items: start; }
.post__title { max-width: 22ch; }
.post__cover { width: 100%; aspect-ratio: 1200 / 520; object-fit: cover; margin-block: 8px; }

/* Stopka */
.site-footer { background: var(--green); color: var(--on-green); padding-block: clamp(56px, 5.6vw, 80px) 40px; }
main:has(> .cta:last-child) + .site-footer { border-top: 1px solid rgb(238 244 241 / 0.25); }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px 64px; flex-wrap: wrap; }
.site-footer__brand { display: grid; gap: 16px; max-width: 420px; }
.site-footer__menu { display: grid; gap: 12px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--amber); }
