:root {
  --ink: #4b4b4b;
  --sky: #53aae0;
  --pale-sky: #e4f4fc;
  --night: #082630;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--ink);
  font-family: Poppins, system-ui, sans-serif;
}

body {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
}

.hero {
  min-height: 180px;
  background: linear-gradient(105deg, #9bc7ee 0%, #bba3e8 100%);
  color: #fff;
}

.hero-inner,
.content,
.farewell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
}

.logo {
  position: absolute;
  top: 18px;
  left: 0;
  width: 175px;
  height: auto;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.farewell {
  padding: 40px 0 42px;
}

.farewell p {
  margin: 0 0 20px;
}

.farewell p:last-child {
  margin-bottom: 0;
}

.appointments {
  padding: 38px 0 72px;
  background: var(--pale-sky);
}

.appointments h2 {
  margin: 0 0 36px;
  color: var(--sky);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.professionals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 11vw, 170px);
}

.professional {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.professional img {
  width: 134px;
  height: 134px;
  border-radius: 50%;
  object-fit: cover;
}

.professional h3 {
  margin: 16px 0 25px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.professional p {
  align-self: stretch;
  margin: 0 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: auto;
  padding: 13px 30px;
  border-radius: 999px;
  background: var(--sky);
  box-shadow: 0 12px 24px rgb(59 116 147 / 20%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.button:hover,
.button:focus-visible {
  background: #3698d5;
  transform: translateY(-2px);
}

footer {
  padding: 23px 24px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .hero,
  .hero-inner {
    min-height: 200px;
  }

  .hero-inner,
  .content,
  .farewell {
    width: min(100% - 36px, 560px);
  }

  .logo {
    width: 150px;
  }

  h1 {
    margin-top: 40px;
    font-size: 31px;
  }

  .farewell {
    padding: 32px 0 36px;
  }

  .appointments {
    padding: 32px 0 54px;
  }

  .professionals {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .professional h3 {
    margin-bottom: 18px;
  }
}
