* {
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  background: #fdfdfd;
  color: #333;
  font-family: system-ui, sans-serif;
}

main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 3rem 1.25rem;
}

.company {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.logo {
  display: block;
  width: 11rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 332 / 307;
  object-fit: fill;
  margin-inline: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

h1 {
  margin: 1.5rem 0 0;
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25em 0.68em;
  margin: 0.875rem 0 0;
  padding: 0;
  color: #444;
  font-size: 1rem;
  font-weight: 350;
  list-style: none;
}

.services li {
  display: flex;
  align-items: center;
  gap: 0.68em;
}

.services li + li::before {
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.contact {
  display: grid;
  width: 100%;
  max-width: 20rem;
  gap: 0.75em;
  margin: 1.75rem auto 0;
  border-top: 2px solid #c7c7c7;
  padding-top: 1.75rem;
  font-size: 1rem;
  font-style: normal;
  text-align: left;
}

.contact > div {
  display: grid;
  grid-template-columns: 1.3em minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  overflow-wrap: anywhere;
}

.contact a {
  color: inherit;
  text-decoration: none;
  transition: all 200ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: #ff7d33;
}

.icon {
  position: relative;
  display: block;
  justify-self: center;
}

.pin {
  width: 0.83em;
  height: 0.83em;
  margin-bottom: 0.2em;
  border: 0.09em solid;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin::after {
  position: absolute;
  inset: 24%;
  border: 0.08em solid;
  border-radius: 50%;
  content: "";
}

.handset {
  font-family: Arial, sans-serif;
  font-size: 1.05em;
  line-height: 1;
}

.envelope {
  width: 1.25em;
  height: 0.95em;
  overflow: hidden;
  border: 0.1em solid;
  border-radius: 0.12em;
}

.envelope::after {
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 63%);
  content: "";
}

footer {
  padding: 1.3rem 0;
  background: #f5f5f5;
  color: #444;
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 30rem) {
  .services {
    flex-direction: column;
  }

  .services li + li::before {
    content: none;
  }
}

@media (min-width: 48rem) {
  main {
    padding-block: 4rem;
  }

  .logo {
    width: 16rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  .services {
    font-size: 1.375rem;
  }

  .contact {
    max-width: 24rem;
    margin-top: 2.25rem;
    padding: 2rem 1rem 0;
    font-size: 1.1875rem;
  }

  .contact > div {
    gap: 1.25rem;
  }
}

@media (min-width: 64rem) {
  main {
    padding-block: 6.125rem;
  }

  .logo {
    width: 18rem;
  }

  h1 {
    margin-top: 2.125rem;
    font-size: 3.875rem;
  }

  .services {
    margin-top: 1.125rem;
    font-size: 1.625rem;
  }

  .contact {
    max-width: 28rem;
    margin-top: 2.625rem;
    padding: 2.5rem 1.75rem 0;
    font-size: 1.375rem;
  }

  .contact > div {
    gap: 1.75rem;
  }
}
