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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: url("img/background.jpg") center/cover no-repeat;
  color: #d7d9dd;
  -webkit-user-select: text;
  user-select: text;
}

.page {
  max-width: 1400px;
  margin: auto;
  padding: 60px 20px 80px;
  text-align: center;
}

.logo {
  width: clamp(350px, 35vw, 600px);
  display: block;
  margin: auto;
  filter: drop-shadow(0 10px 20px black);
}

/* Old CSS code below for the logo */
/*.logo {
  width: 300px;
  max-width: 100%;
  margin: auto;
  display: block;
  filter: drop-shadow(0 10px 20px black);
}*/

.brand {
  margin-top: 15px;
  font-size: 64px;
  letter-spacing: 6px;
  color: #cfd2d6;
  text-shadow: 0 2px 2px #000, 0 6px 12px #000, 0 0 2px rgba(255, 255, 255, 0.3);
  word-break: break-word;
}

.subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.line {
  width: 160px;
  max-width: 20vw;
  height: 1px;
  background: linear-gradient(to right, transparent, #aaa, transparent);
}

.subtitle {
  font-size: 18px;
  letter-spacing: 4px;
  color: #b9bcc0;
}

.steel-divider {
  height: 10px;
  margin: 60px 0 40px;
  background: linear-gradient(#6b6b6b, #111, #6b6b6b);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.panel {
  background: linear-gradient(#1b1e25, #0c0e13);
  border: 1px solid #3a3d44;
  clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 6% 100%, 0 94%);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.8), inset 0 0 50px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: inherit;
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  padding: 35px 28px 40px;
}

.panel h2 {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  word-break: break-word;
}

.panel-rule {
  height: 1px;
  width: 80%;
  margin: 12px auto 18px;
  background: linear-gradient(to right, transparent, #aaa, transparent);
}

.icon {
  height: 70px;
  margin-bottom: 14px;
}

.icon img {
  max-height: 70px;
  max-width: 100%;
  filter: drop-shadow(0 3px 6px black);
}

.panel p {
  font-size: 14px;
  line-height: 1.65;
  color: #b8bcc2;
}

.contact {
  margin-top: 60px;
}

.contact-title {
  font-size: 28px;
  letter-spacing: 5px;
  padding: 10px 44px;
  border: 1px solid #555;
  background: linear-gradient(#222, #111);
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.contact p {
  line-height: 1.7;
}

.email {
  display: inline-block;
  margin-top: 16px;
  font-size: 20px;
  color: #dcdcdc;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail {
  width: 22px;
  height: 14px;
  border: 1px solid #ccc;
  margin-right: 10px;
  display: inline-block;
  position: relative;
}

.mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #ccc;
  top: 50%;
  transform: rotate(30deg);
}

@media (max-width: 950px) {
  .services-wrapper {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .subtitle-row .line {
    display: none;
  }

  .page {
    padding: 40px 16px 60px;
  }

  .panel-inner {
    padding: 28px 22px 32px;
  }
}

@media (max-width: 600px) {
  .logo {
    width: 120px;
  }

  .brand {
    font-size: 28px;
    letter-spacing: 2px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .steel-divider {
    margin: 35px 0 25px;
  }

  .panel h2 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .panel p {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-title {
    font-size: 20px;
    letter-spacing: 2px;
    padding: 10px 20px;
  }

  .email {
    font-size: 16px;
  }

  .contact p {
    font-size: 14px;
    line-height: 1.6;
  }
}
