* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background-image: linear-gradient(
      rgba(244, 244, 244, 0.82),
      rgba(244, 244, 244, 0.82)
    ),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #222;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 20px;
  text-align: center;
}

.maintenance-box,
.partners-box {
  background: #fff;
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.maintenance-box {
  padding: 50px 30px;
}

.partners-box {
  padding: 30px;
}

.main-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 35px;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #1f1f1f;
}

.subtitle {
  font-size: 1.25rem;
  color: #555;
}

.partners-box h2 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: #1f1f1f;
}

.collaborators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.collaborators img {
  max-height: 70px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

footer {
  background: #1f1f1f;
  color: #fff;
  padding: 35px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-section {
  text-align: left;
}

footer h2 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #fff;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

footer a:hover {
  border-bottom-color: #fff;
}

.rbq {
  font-weight: bold;
}

@media (max-width: 700px) {
  main {
    padding: 30px 15px;
  }

  .maintenance-box {
    padding: 35px 20px;
  }

  .partners-box {
    padding: 25px 20px;
  }

  h1 {
    font-size: 1.9rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .collaborators {
    gap: 20px;
  }

  .collaborators img {
    max-height: 55px;
    max-width: 140px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .footer-section {
    text-align: center;
  }
}