@font-face {
  font-family: "Futurism";
  src: url("../fonts/FUTURISM.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  background: #000000;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.subhero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/hero.webp") center / cover no-repeat;
  padding: 60px 20px;
}

.subhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 41, 55, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.subhero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.subhero-content h1 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(24px, 3.4vw, 46px);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
  margin-bottom: 16px;
}

.subhero-content p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 28px;
}

.subhero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.subhero-button:hover {
  background-color: #ffffff;
  color: #000000;
}

.team-section {
  padding: 90px 0 120px;
  background: #000000;
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.team-container h2 {
  font-family: "Futurism", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  display: contents;
}

.team-card-link:hover {
  transform: translateY(-8px);
  opacity: 0.9;
}

.team-card {
  background-color: transparent;
  padding: 0;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border-radius: 8px;
}

.team-info {
  padding: 0;
}

.team-card h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 600;
}

.team-card a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 6px;
}

.team-card a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.team-phone {
  margin-top: 8px;
}

.team-show-offers {
  display: block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.team-show-offers:hover {
  color: #ffffff;
  text-decoration: none;
}

.team-card-link:hover .team-show-offers {
  color: #ffffff;
}

.stats-section {
  padding: 80px 0 120px;
  background: #000000;
}

.stats-box {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 500px;
  background: url("../images/box.jpg") center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 1, 1, 0.82) 0%,
    rgba(1, 1, 1, 0.9) 100%
  );
  z-index: 1;
}

.stats-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.stats-number {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stats-label {
  margin-top: 10px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(14px, 2.4vw, 22px);
  font-weight: 400;
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 80px 0 50px;
}

.footer-desktop {
  display: block;
}

.footer-mobile {
  display: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: "Futurism", sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-block {
  margin-bottom: 18px;
}

.footer-block p,
.footer-block a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-block a:hover {
  color: #fdf0d5;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: #fdf0d5;
}

.footer-realizacja {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-realizacja-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-realizacja-text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-realizacja-label {
  font-family: "Futurism", sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-realizacja img {
  width: 28px;
  height: auto;
}

.footer-bottom {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 22px;
  font-size: 18px;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
}

.footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .site-footer {
    padding: 60px 0 40px;
  }

  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: block;
  }

  .footer-mobile .footer-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .footer-mobile-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .footer-mobile-links a {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }

  .footer-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-mobile-contact a {
    color: inherit;
    text-decoration: none;
  }

  .footer-mobile .footer-bottom {
    align-items: center;
    text-align: center;
  }

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

  .footer-realizacja {
    align-items: center;
    text-align: center;
  }

  .footer-realizacja-row {
    justify-content: center;
  }

  .footer-realizacja-label {
    margin-top: 20px;
    font-size: 16px;
    letter-spacing: 0.16em;
  }

  .footer-realizacja-text {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .footer-realizacja img {
    width: 22px;
  }
}

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

@media (max-width: 768px) {
  .subhero {
    min-height: 50vh;
    padding: 70px 16px;
  }

  .subhero-content p {
    font-size: 16px;
  }

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

  .stats-box {
    min-height: 300px;
    margin: 0 20px;
  }
}
