* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sky: #dceafa;
  --blue: #a9d0fb;
  --ink: #303032;
  --muted: #4f5d6b;
}

body {
  background: var(--sky);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 270px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #b9cce2 url("../images/hero.jpg") center / cover;
}

.brand {
  position: absolute;
  top: 25px;
  left: clamp(22px, 8vw, 130px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

.brand img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: contain;
}

.brand span {
  font-size: 20px;
  line-height: 0.95;
}

.brand b {
  display: block;
}

.hero-title {
  color: var(--ink);
  font-family: "Bungee Shade", fantasy;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.15;
  letter-spacing: 3px;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 8vw, 115px);
  padding: 25px 20px;
  background: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  display: none;
  min-width: 220px;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 4px 12px rgba(48, 48, 50, 0.2);
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

nav a:hover,
nav a.active,
footer a:hover {
  color: #59636d;
}

.contact-page {
  background: var(--sky);
}

.contact-intro {
  padding: 50px 20px 34px;
  text-align: center;
}

.contact-intro h1 {
  margin-bottom: 18px;
  font-family: "helvetica-w01-bold", Helvetica, Arial, sans-serif;
  font-size: clamp(38px, 5vw, 56px);
}

.contact-intro p {
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.45;
}

.contact-form {
  max-width: 868px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0 24px;
  margin: 0 auto;
  padding: 20px 0 60px;
  font-family: "Times New Roman", Times, serif;
  color: var(--ink);
}

.form-fields {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: white;
  font: inherit;
}

.contact-form input {
  height: 52px;
  padding: 8px;
}

.message-field textarea {
  height: 344px;
  resize: vertical;
  padding: 8px;
}

.contact-form button {
  grid-column: 1 / -1;
  height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 0;
  background: #303032;
  color: white;
  cursor: pointer;
  font:
    18px "Times New Roman",
    Times,
    serif;
}

.contact-form button:hover {
  background: #59636d;
}

footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 30px;
  padding: 45px 8vw 30px;
  background: #9fc8f6;
}

footer h4 {
  margin-bottom: 12px;
}

footer p {
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-self: end;
  gap: 10px;
  font-weight: 700;
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
}

.social img {
  width: 22px;
  height: 22px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 48, 50, 0.18);
  font-size: 13px;
}

@media (max-width: 700px) {
  .hero {
    min-height: 330px;
    display: block;
    padding: 25px 22px;
  }

  .brand {
    top: 22px;
    left: 22px;
  }

  .hero-title {
    margin-top: 120px;
    font-size: 37px;
  }

  nav {
    justify-content: space-between;
    gap: 14px;
    padding: 22px 14px;
    font-size: 11px;
  }

  .contact-intro {
    padding: 35px 22px 25px;
  }

  .contact-intro p {
    font-size: 21px;
  }

  .desktop-break {
    display: none;
  }

  .contact-form {
    display: block;
    padding: 15px 22px 45px;
  }

  .form-fields {
    gap: 14px;
  }

  .message-field {
    margin-top: 14px;
  }

  .message-field textarea {
    height: 230px;
  }

  .contact-form button {
    margin-top: 20px;
  }

  footer {
    display: block;
    padding: 45px 25px 25px;
  }

  footer > * {
    margin-bottom: 30px;
  }

  .footer-links {
    align-items: flex-start;
  }
}
