* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #f5b400;
  --yellow-dark: #d59600;
  --black: #111111;
  --red: #c91522;
  --light: #f6f2ea;
  --white: #ffffff;
  --muted: #6b6258;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.top {
  min-height: 100vh;
  color: white;
  background:
    radial-gradient(circle at 80% 10%, rgba(245, 180, 0, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(0,0,0,0.96), rgba(0,0,0,0.82) 50%, rgba(0,0,0,0.68));
  overflow: hidden;
}

.nav {
  width: min(1220px, 92%);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo { display: grid; gap: 2px; }

.logo-main {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -1.5px;
  line-height: 1;
}

.logo-main span { color: var(--yellow); }

.logo small {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 800;
  color: rgba(255,255,255,0.86);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a:hover { color: var(--yellow); }

.menu-btn {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.menu-btn span {
  display: block;
  width: 21px;
  height: 2px;
  background: white;
  margin: 5px auto;
}

.hero {
  width: min(1220px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: 52px 0 92px;
}

.label {
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 2.5px;
  font-size: 13px;
  margin-bottom: 13px;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.6px;
  margin-bottom: 22px;
  max-width: 680px;
}

.hero-description {
  font-size: clamp(18px, 1.95vw, 22px);
  color: rgba(255,255,255,0.82);
  max-width: 670px;
  margin-bottom: 24px;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 14px;
}

.hero-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex: 0 0 auto;
}

.buttons, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 950;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 14px 35px rgba(245,180,0,0.22);
}

.btn.ghost {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn.white {
  background: white;
  color: var(--black);
}

.quick-contact {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
  max-width: 560px;
}

.quick-contact div {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 18px;
}

.quick-contact span,
.quick-contact strong {
  display: block;
}

.quick-contact span {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
}

.quick-contact strong {
  font-size: 23px;
  color: var(--yellow);
}

.hero-card { position: relative; }

.hero-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: linear-gradient(135deg, var(--yellow), transparent 45%, var(--red));
  border-radius: 36px;
  opacity: 0.9;
  transform: rotate(-2deg);
}

.hero-card img {
  position: relative;
  border-radius: 30px;
  box-shadow: 0 35px 90px rgba(0,0,0,0.32);
  border: 6px solid rgba(255,255,255,0.08);
  max-height: 640px;
  object-fit: cover;
  background: transparent;
}

.mascot-card {
  padding: 26px;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.mascot-card img {
  object-fit: contain;
  padding: 8px;
  background: transparent;
  border: none;
}

.section { padding: 92px 0; }

.section-title {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-title h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin-bottom: 12px;
}

.section-title p:not(.label) {
  color: var(--muted);
  font-size: 18px;
}

.section-title.light p:not(.label),
.section-title.light h2 {
  color: white;
}

.section-title.light p:not(.label) {
  color: rgba(255,255,255,0.72);
}

.construction-section,
.earthwork-section,
.service-light,
.about {
  background: #fffaf1;
}

.service-dark {
  background: linear-gradient(135deg, #171717, #25221e);
  color: white;
}

.construction-hero,
.earthwork-layout,
.service-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.service-layout.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.construction-copy,
.construction-main-photo,
.construction-card,
.earthwork-copy,
.earthwork-main-photo,
.earthwork-card,
.service-copy,
.service-photo {
  background: white;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dark-card,
.dark-copy {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.construction-copy,
.earthwork-copy,
.service-copy {
  padding: 32px;
}

.construction-copy h3,
.earthwork-copy h3,
.service-copy h3 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.construction-copy p,
.earthwork-copy p,
.service-copy p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 17px;
}

.dark-copy h3,
.dark-copy p,
.dark-points span,
.dark-points strong {
  color: white;
}

.dark-copy p {
  color: rgba(255,255,255,0.80);
}

.offer-list,
.earthwork-points,
.service-points {
  display: grid;
  gap: 14px;
}

.offer-list div,
.earthwork-points div,
.service-points div {
  padding: 18px 20px;
  background: linear-gradient(180deg, #fffdf8, #f7f1e7);
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,0.08);
}

.dark-points div {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.offer-list strong,
.earthwork-points strong,
.service-points strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.offer-list span,
.earthwork-points span,
.service-points span {
  display: block;
  color: var(--muted);
}

.construction-main-photo img,
.earthwork-main-photo img,
.service-photo img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.construction-cards,
.earthwork-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.earthwork-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

.construction-card img,
.earthwork-card img {
  height: 250px;
  object-fit: cover;
}

.construction-card div,
.earthwork-card div {
  padding: 22px;
}

.construction-card span,
.earthwork-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--yellow-dark);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 12px;
}

.construction-card h3,
.earthwork-card h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.construction-card p,
.earthwork-card p {
  color: var(--muted);
}

.construction-banner {
  background: var(--black);
  color: white;
  border-radius: 26px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 5px solid var(--yellow);
}

.construction-banner strong,
.construction-banner span {
  display: block;
}

.construction-banner strong {
  font-size: 28px;
  margin-bottom: 4px;
}

.construction-banner span {
  color: rgba(255,255,255,0.72);
  max-width: 760px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about h2,
.contact h2,
.cta h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.6px;
}

.about-box,
.form {
  background: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-box p {
  color: var(--muted);
  font-size: 17px;
}

.about-box p + p { margin-top: 18px; }

.features {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.features span {
  background: rgba(245,180,0,0.16);
  color: #6f4600;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 14px;
}

.cta {
  padding: 78px 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.76)),
    url("assets/budownictwo-5.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}

.cta p:not(.label) {
  color: rgba(255,255,255,0.72);
  max-width: 690px;
}

.contact {
  background: var(--light);
}

.contact-info p:not(.label) {
  color: var(--muted);
  font-size: 18px;
  margin-top: 14px;
}

.phone-boxes {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.phone-boxes a {
  background: var(--black);
  color: white;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-left: 7px solid var(--yellow);
}

.phone-boxes span,
.phone-boxes strong {
  display: block;
}

.phone-boxes span {
  color: rgba(255,255,255,0.66);
}

.phone-boxes strong {
  color: var(--yellow);
  font-size: 25px;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.14);
  background: #fffdfa;
  border-radius: 17px;
  padding: 14px 15px;
  font: inherit;
  color: var(--black);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(245,180,0,0.18);
}

textarea {
  min-height: 145px;
  resize: vertical;
}

.form small { color: var(--muted); }

footer {
  background: var(--black);
  color: white;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-inner span,
.footer-inner p {
  color: rgba(255,255,255,0.62);
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

@media (max-width: 1100px) {
  .hero,
  .construction-hero,
  .earthwork-layout,
  .service-layout,
  .service-layout.reverse,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .construction-cards,
  .earthwork-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner,
  .construction-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    z-index: 20;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 36px;
    grid-template-columns: 1fr;
  }

  .hero-card::before {
    inset: -10px;
  }

  .quick-contact,
  .construction-cards,
  .earthwork-cards {
    grid-template-columns: 1fr;
  }

  .construction-main-photo img,
  .earthwork-main-photo img,
  .service-photo img,
  .construction-card img,
  .earthwork-card img,
  .hero-card img {
    min-height: 260px;
    height: 260px;
  }

  .mascot-card img {
    height: auto;
    min-height: 0;
    max-height: 420px;
  }

  .phone-boxes a,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }
}


.slogan {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(245,180,0,0.16);
  color: #6f4600;
  font-weight: 900;
  border: 1px solid rgba(245,180,0,0.28);
}

.slogan-light {
  color: var(--yellow);
  background: rgba(245,180,0,0.12);
  border-color: rgba(245,180,0,0.24);
}

.moving-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.moving-intro {
  max-width: 850px;
  margin-bottom: 24px;
}

.moving-intro h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}

.moving-intro p {
  color: rgba(255,255,255,0.80);
  font-size: 18px;
}

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

.moving-grid div {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 22px;
}

.moving-grid strong,
.moving-grid span {
  display: block;
}

.moving-grid strong {
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}

.moving-grid span {
  color: rgba(255,255,255,0.74);
}

.form input[type="hidden"] {
  display: none;
}

@media (max-width: 1100px) {
  .moving-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .moving-grid {
    grid-template-columns: 1fr;
  }

  .slogan {
    border-radius: 18px;
  }
}


.cleaning-panel {
  background: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.cleaning-intro {
  max-width: 850px;
  margin-bottom: 24px;
}

.cleaning-intro h3 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}

.cleaning-intro p {
  color: var(--muted);
  font-size: 18px;
}

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

.cleaning-grid div {
  background: linear-gradient(180deg, #fffdf8, #f7f1e7);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 22px;
  padding: 22px;
}

.cleaning-grid strong,
.cleaning-grid span {
  display: block;
}

.cleaning-grid strong {
  font-size: 20px;
  margin-bottom: 8px;
}

.cleaning-grid span {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .cleaning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cleaning-grid {
    grid-template-columns: 1fr;
  }
}


.success-message {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.58);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.25s ease;
  padding: 20px;
}

.success-message.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-card {
  width: min(440px, 100%);
  background: white;
  color: var(--black);
  border-radius: 30px;
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  animation: successPop 0.45s ease forwards;
}

.success-message.show .success-card {
  animation: successPop 0.45s ease forwards;
}

.success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  font-size: 42px;
  font-weight: 950;
  box-shadow: 0 16px 40px rgba(245, 180, 0, 0.35);
  animation: successPulse 1.1s ease infinite;
}

.success-card h2 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.success-card p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

@keyframes successPop {
  0% {
    transform: translateY(18px) scale(0.94);
    opacity: 0;
  }
  70% {
    transform: translateY(-4px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 40px rgba(245, 180, 0, 0.35);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 20px 55px rgba(245, 180, 0, 0.50);
  }
}
