/* Przyciemnione przekroje drewna zachowują czytelność jasnych napisów. */
main {
  background-color: #17130f;
  background-image: linear-gradient(rgba(17, 15, 13, .82), rgba(17, 15, 13, .82)), url('/images/tlo-drewno.webp');
  background-size: auto, cover;
  background-position: center top;
  background-attachment: scroll, fixed;
}
main a.bg-background { background-color: rgba(22, 19, 16, .82); }
main a.bg-background:hover { background-color: rgba(72, 54, 38, .88); }
@media (max-width: 767px) {
  main { background-size: auto, auto 100vh; background-attachment: scroll, scroll; }
}
main .text-muted-foreground { color: #e1dbd2; }
/* Panels behind copy keep the wood visible and text readable. */
main section:not(.isolate) > div.mx-auto {
  background-color: rgba(19, 17, 15, .82);
  box-shadow: 0 0 0 1px rgba(210, 182, 143, .10);
}
main section:not(.isolate) > div.mx-auto > div,
main section:not(.isolate) > div.mx-auto > p,
main section:not(.isolate) > div.mx-auto > h2 {
  position: relative;
}
main a.bg-background { background-color: rgba(19, 17, 15, .9); }
main section:not(.isolate) > div.mx-auto { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 640px) {
  footer .odbior-kolumna { padding-top: 39px; }
}
@media (min-width: 1024px) {
  footer .grid:has(.odbior-kolumna) { grid-template-columns: 1.25fr 1fr .65fr 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  footer .grid:has(.odbior-kolumna) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
footer .odbior-kolumna > p {
  font-size: 10px;
  letter-spacing: .2em;
  line-height: inherit;
}
main { background-image: none; background-color: #121312; }
.pickup-bar{display:flex;align-items:center;justify-content:center;gap:1.25rem;padding:.7rem 1rem;background:#b58c4b;color:#1b1812;text-align:center;line-height:1.4}
.pickup-bar span{font:700 .64rem/1.4 ui-monospace,monospace;letter-spacing:.1em}
.pickup-bar strong{font-size:.82rem;font-weight:700}
.pickup-bar a{font:700 .62rem/1.4 ui-monospace,monospace;letter-spacing:.08em;color:#1b1812;text-decoration:underline;text-underline-offset:3px}
.additional-services{padding:5rem 1rem;background:#181817;border-top:1px solid #4a4437}
.services-wrap{max-width:80rem;margin:auto}
.services-eyebrow{color:#d0ac75;font:500 .65rem/1.4 ui-monospace,monospace;letter-spacing:.22em}
.services-wrap h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;color:#fff;margin-top:1rem}
.services-intro{max-width:45rem;color:#e1dbd2;font-size:1rem;line-height:1.7;margin-top:1.2rem}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#564c3c;margin-top:2.5rem}
.services-grid article{background:#24221e;padding:2rem;min-height:220px}
.services-grid article span{color:#d0ac75;font:500 .62rem/1.4 ui-monospace,monospace;letter-spacing:.15em}
.services-grid h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.65rem;color:#fff;line-height:1.15;margin:1rem 0}
.services-grid article p{color:#e1dbd2;line-height:1.7;font-size:.9rem}
.services-link{display:inline-block;color:#dbb97e;font:600 .68rem/1.4 ui-monospace,monospace;letter-spacing:.12em;margin-top:2rem;text-decoration:underline;text-underline-offset:.3rem}
@media(max-width:800px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pickup-bar{gap:.25rem .7rem;flex-wrap:wrap}.pickup-bar span{width:100%}}
@media(max-width:540px){.services-grid{grid-template-columns:1fr}.services-grid article{min-height:0;padding:1.5rem}.pickup-bar strong{font-size:.74rem}.additional-services{padding:3.5rem 1rem}}
.services-grid .service-card {position:relative;display:block;background:#24221e;padding:2rem;min-height:220px;transition:background-color .22s,box-shadow .22s;color:inherit;text-decoration:none}
.services-grid .service-card:hover,.services-grid .service-card:focus-visible {background:#57452e;box-shadow:inset 0 0 0 1px #d5ac6b;outline:none}
.services-grid .service-card span {color:#d0ac75;font:500 .62rem/1.4 ui-monospace,monospace;letter-spacing:.15em}
.services-grid .service-card h3 {font-family:'Cormorant Garamond',Georgia,serif;font-size:1.65rem;color:#fff;line-height:1.15;margin:1rem 1.2rem 1rem 0}
.services-grid .service-card p {color:#e1dbd2;line-height:1.7;font-size:.9rem}
.services-grid .service-card b {position:absolute;right:1.5rem;top:1.6rem;color:#d0ac75;font-size:1.15rem}
.priority-pallet {border-top:3px solid #caa365!important}
.offer-detail {scroll-margin-top:155px;padding:4.5rem 1rem;border-top:1px solid #534b3d;background:#171716}
.offer-detail-inner {max-width:80rem;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3rem}
.offer-detail h2 {font:400 clamp(2rem,4vw,3rem)/1.08 'Cormorant Garamond',Georgia,serif;color:#fff;margin:1rem 0}
.offer-detail-inner div>p:not(.services-eyebrow) {max-width:38rem;color:#e1dbd2;font-size:1rem;line-height:1.75}
.offer-detail img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.compact-detail .offer-detail-inner {grid-template-columns:1fr}
@media(max-width:800px){.offer-detail-inner{grid-template-columns:1fr;gap:1.5rem}.offer-detail{scroll-margin-top:170px;padding:3rem 1rem}}
@media(max-width:540px){.services-grid .service-card{min-height:0;padding:1.5rem}}
/* Do not paint unused grid cells beside the final service tile. */
main .grid:has(> .priority-pallet) { background-color: transparent; }
.offer-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 80rem; margin: auto; }
.offer-pair .offer-detail { padding: 4.5rem 2rem; }
.offer-pair .offer-detail + .offer-detail { border-left: 1px solid #534b3d; }
#formularz { scroll-margin-top: 150px; }
@media (max-width: 800px) { .offer-pair { grid-template-columns: 1fr; } .offer-pair .offer-detail { padding: 3rem 1rem; } .offer-pair .offer-detail + .offer-detail { border-left: 0; } #formularz { scroll-margin-top: 170px; } }
/* Obramowania kafelków oferty bez pustego pola w ostatnim wierszu. */
main .grid:has(> .priority-pallet) > a { border: 1px solid rgba(181, 166, 142, .38); }
main .grid:has(> .priority-pallet) > a.priority-pallet { border-top: 3px solid #caa365; }
/* Górne kafelki mają ten sam wygląd co sekcja kompleksowej oferty. */
main .grid:has(> .priority-pallet) { background: #564c3c; gap: 1px; }
main .grid:has(> .priority-pallet) > a,
main .grid:has(> .priority-pallet) > a.priority-pallet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 220px;
  padding: 2rem;
  border: 0 !important;
  background: #24221e;
  color: inherit;
  box-shadow: none;
  transition: background-color .22s, box-shadow .22s;
}
main .grid:has(> .priority-pallet) > a:hover,
main .grid:has(> .priority-pallet) > a:focus-visible { background: #57452e; box-shadow: inset 0 0 0 1px #d5ac6b; outline: none; }
main .grid:has(> .priority-pallet) > a h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.65rem; line-height: 1.15; color: #fff; margin: 0 1.2rem 1rem 0; }
main .grid:has(> .priority-pallet) > a p { color: #e1dbd2; line-height: 1.7; font-size: .9rem; }
main .grid:has(> .priority-pallet) > a svg,
main .grid:has(> .priority-pallet) > a > div > span { color: #d0ac75; }
@media (max-width: 540px) { main .grid:has(> .priority-pallet) > a { min-height: 0; padding: 1.5rem; } }
main .grid:has(> .priority-pallet) { background: transparent; }
main .grid:has(> .priority-pallet) > a,
main .grid:has(> .priority-pallet) > a.priority-pallet { border: 1px solid #564c3c !important; }
/* Pojedyncza wspólna linia między kafelkami, bez pustego pola w siatce. */
main .grid:has(> .priority-pallet) { gap: 0; }
main .grid:has(> .priority-pallet) > a,
main .grid:has(> .priority-pallet) > a.priority-pallet {
  border: 0 !important;
  box-shadow: inset 0 0 0 .5px #564c3c;
}
main .grid:has(> .priority-pallet) > a:hover,
main .grid:has(> .priority-pallet) > a:focus-visible {
  box-shadow: inset 0 0 0 1px #d5ac6b;
}
.footer-contact { margin-top: 1.5rem; }
.footer-contact ul { margin-top: .5rem; }
.footer-contact ul a, .footer-contact ul li { min-height: 32px; }
.footer-services ul { margin-top: 1rem; display: grid; gap: .55rem; }
.footer-services a { color: hsl(var(--foreground) / .8); font-size: .84rem; line-height: 1.4; transition: color .2s; }
.footer-services a:hover, .footer-services a:focus-visible { color: hsl(var(--primary)); text-decoration: underline; }
main section[id] { scroll-margin-top: 160px; }
footer .odbior-kolumna { padding-top: 0; margin-top: 1.5rem; }
footer .footer-services a { font-size: .75rem; line-height: 1.5; }
.footer-services-spacer { font: 10px/1.5 ui-monospace,monospace; }
@media (max-width: 639px) { .footer-services-more .footer-services-spacer { display:none; } .footer-services-more ul { margin-top:0; } }
footer .odbior-kolumna { margin-top: .65rem; }
footer .footer-second .footer-contact { margin-top: 1.5rem; }
