:root {
  --ink: #1a1d1f;
  --muted: #62686d;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ded8cd;
  --copper: #b86835;
  --copper-dark: #82441f;
  --steel: #3c5968;
  --shadow: 0 22px 60px rgba(21, 24, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(15, 17, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-weight: 800;
  background: var(--copper);
  border-radius: 6px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover {
  color: #fff;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 160px clamp(18px, 6vw, 80px) 72px;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 12, 13, 0.86), rgba(10, 12, 13, 0.38) 48%, rgba(10, 12, 13, 0.16)),
    linear-gradient(0deg, rgba(10, 12, 13, 0.72), rgba(10, 12, 13, 0.05) 46%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 124px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.section-heading,
.quick-info,
.timeline {
  display: flex;
  gap: 16px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--copper);
}

.button.primary:hover {
  background: var(--copper-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.quick-info {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: -36px auto 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-info div {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.quick-info div:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-info strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 6vw, 80px);
}

.intro-grid,
.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.services {
  background: #fff;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 420px;
}

.service-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 460px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card span {
  color: var(--copper);
  font-weight: 900;
}

.service-card h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.service-card p,
.timeline p,
.footer {
  color: var(--muted);
}

.process {
  background:
    linear-gradient(rgba(247, 244, 238, 0.9), rgba(247, 244, 238, 0.94)),
    url("assets/web/realizacja-bad-hero.jpg") center/cover;
}

.timeline {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.timeline div {
  flex: 1;
  padding: 26px;
  min-height: 190px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline strong {
  display: block;
  font-size: 20px;
}

.contact-section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 6vw, 80px);
  background: var(--ink);
  color: #fff;
}

.contact-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

address {
  margin: 30px 0 22px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
}

address a {
  color: #fff;
  font-weight: 800;
}

.hours {
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cfc8bd;
  border-radius: 6px;
  background: #fbfaf7;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(184, 104, 53, 0.25);
  border-color: var(--copper);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}

.request-preview {
  display: none;
  white-space: pre-wrap;
  padding: 14px;
  color: var(--ink);
  background: #f2eee7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
}

.request-preview.is-visible {
  display: block;
}

.map-band {
  height: 360px;
  background: #d8d5cf;
}

.map-band iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: #111315;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.not-found h1,
.not-found p {
  margin: 0;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 77px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    background: rgba(15, 17, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .nav.is-open {
    display: grid;
  }

  .quick-info,
  .timeline,
  .section-heading {
    display: grid;
  }

  .quick-info div {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .intro-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .hero {
    min-height: 86vh;
    padding: 130px 18px 56px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer {
    display: grid;
  }
}
