:root {
  --ink: #17211b;
  --muted: #66736b;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #ded8cc;
  --accent: #c8792c;
  --accent-dark: #8e4817;
  --forest: #1f3b31;
  --steel: #d9e0e2;
  --shadow: 0 18px 55px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 3;
}

.site-header.is-scrolled,
.site-header.is-open,
.subpage-header {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 27, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand-wordmark {
  color: currentColor;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-weight: 700;
  font-size: 15px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .language-switch,
.site-header.is-open .language-switch,
.subpage-header .language-switch {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.language-button {
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 3px;
  color: currentColor;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: #fff;
  background: var(--accent);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 27, 22, 0.95) 0%, rgba(16, 27, 22, 0.78) 38%, rgba(16, 27, 22, 0.24) 72%),
    linear-gradient(0deg, rgba(16, 27, 22, 0.52), rgba(16, 27, 22, 0.05));
}

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

.hero-logo {
  display: block;
  width: min(560px, 86vw);
  height: auto;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero-intro {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.55;
}

.hero-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
}

.hero-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.hero-menu a:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(200, 121, 44, 0.74);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

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

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

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

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

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 30px clamp(18px, 4vw, 46px);
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--forest);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.projects .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  padding: 154px clamp(18px, 6vw, 86px) 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 27, 22, 0.96), rgba(31, 59, 49, 0.86)),
    var(--forest);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero .hero-lead {
  color: rgba(255, 255, 255, 0.78);
}

.reviews-hero {
  background:
    linear-gradient(90deg, rgba(16, 27, 22, 0.96), rgba(75, 71, 59, 0.84)),
    #2f352d;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 27, 0.04);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  min-height: 320px;
}

.detail-card p {
  font-size: 17px;
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  color: #fff;
  background: var(--forest);
  font-size: 24px;
}

.service-card p,
.project-grid p,
.steps span,
.contact p {
  color: var(--muted);
  line-height: 1.68;
}

.projects {
  color: #fff;
  background: var(--forest);
}

.projects .eyebrow {
  color: #e9a868;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.project-grid article {
  overflow: hidden;
  background: #203f34;
}

.project-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card-content {
  padding: 26px 28px 30px;
}

.project-grid span {
  display: block;
  margin-bottom: 22px;
  color: #e9a868;
  font-weight: 800;
}

.project-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.project-button {
  margin-top: 28px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.project-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.gallery-section {
  background: var(--forest);
}

.gallery-grid {
  box-shadow: var(--shadow);
}

.before-section {
  background: var(--paper);
}

.progress-section {
  background: var(--surface);
}

.project-story-section {
  background: var(--paper);
}

.project-story-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.project-story-heading h2 {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
}

.project-stage + .project-stage {
  margin-top: 42px;
}

.stage-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.stage-heading span {
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.before-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.before-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 33, 27, 0.08);
}

.before-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #d8d4ca;
}

.before-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reviews-preview {
  background: var(--paper);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
}

.google-review-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 27, 0.04);
}

.google-review-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.google-review-panel p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.google-review-panel .button {
  flex: 0 0 auto;
}

.review-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 27, 0.04);
}

.review-card.large {
  min-height: 300px;
}

.review-card p {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.review-card p::before {
  color: var(--accent);
  content: "“";
  font-size: 34px;
  font-weight: 800;
  line-height: 0;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card strong {
  color: var(--forest);
}

.review-card span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.outline-dark {
  margin-top: 24px;
  color: var(--forest);
  border-color: var(--forest);
  background: transparent;
}

.outline-dark:hover {
  color: #fff;
  background: var(--forest);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  min-height: 220px;
  padding: 26px;
  border-top: 4px solid var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: steps;
}

.process-page-steps li {
  min-height: 260px;
}

.steps li::before {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  content: var(--step-label, "KROK") " " counter(steps, decimal-leading-zero);
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 12px;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 224, 226, 0.72), rgba(255, 255, 255, 0.92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-links a,
.contact-links span {
  color: var(--forest);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9c2b7;
  border-radius: 4px;
  padding: 14px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(200, 121, 44, 0.22);
  border-color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.76);
  background: #111c17;
}

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

@media (max-width: 980px) {
  .service-grid,
  .steps,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .before-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-grid,
  .review-grid.compact {
    grid-template-columns: 1fr;
  }

  .google-review-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-heading p {
    text-align: left;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand-wordmark {
    max-width: 132px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    min-height: 34px;
  }

  .language-button {
    min-width: 34px;
    min-height: 26px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 18px 54px;
  }

  .hero-logo {
    width: min(330px, 84vw);
    margin-bottom: 18px;
  }

  .hero-intro {
    margin-bottom: 20px;
  }

  .hero-menu {
    gap: 8px;
  }

  .hero-menu a {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .page-hero {
    padding: 118px 18px 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 27, 22, 0.94), rgba(16, 27, 22, 0.62)),
      linear-gradient(0deg, rgba(16, 27, 22, 0.58), rgba(16, 27, 22, 0.14));
  }

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

  .service-grid,
  .steps,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .before-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .before-card figcaption {
    padding: 10px 12px;
    font-size: 12px;
  }

  .service-card,
  .steps li,
  .project-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
