@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap");

body.contact-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #1f2923;
  background-color: #fffaea;
  background-image:
    url("images/floral1.png"),
    url("images/floral2.png"),
    url("images/floral3.png"),
    url("images/floral4.png");
  background-position: top left, top right, bottom left, bottom right;
  background-repeat: no-repeat;
  background-size: 300px;
  background-attachment: fixed;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  text-align: left;
}

body.contact-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 12px clamp(22px, 5vw, 72px);
  background: rgba(255, 250, 234, .91);
  border-bottom: 1px solid rgba(31, 41, 35, .14);
  box-sizing: border-box;
  backdrop-filter: blur(18px);
}

body.contact-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: #1f2923;
  text-decoration: none;
}

body.contact-page .brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

body.contact-page .brand span,
body.contact-page h1 {
  font-family: "Italiana", Georgia, serif;
  font-style: normal;
  font-weight: 400;
}

body.contact-page .brand span {
  font-size: 1.25rem;
}

body.contact-page .shop-nav {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 6px;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(41, 70, 56, .10);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body.contact-page .nav-btn {
  padding: 10px 17px;
  color: #1f2923;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: .78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

body.contact-page .nav-btn:hover,
body.contact-page .nav-btn.active {
  color: #fff;
  background: #294638;
  transform: none;
}

body.contact-page .contact-main {
  width: min(920px, calc(100% - 40px));
  margin: clamp(48px, 7vw, 86px) auto clamp(54px, 7vw, 88px);
}

body.contact-page .contact-intro {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}

body.contact-page .eyebrow {
  margin: 0 0 14px;
  color: #294638;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body.contact-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.03em;
}

body.contact-page .contact-intro p:last-child {
  max-width: 570px;
  margin: 0 auto;
  color: #68736b;
  font-size: 1rem;
  line-height: 1.7;
}

body.contact-page .contact-card {
  padding: clamp(24px, 5vw, 48px);
  background: rgba(255, 253, 248, .58);
  border: 1px solid rgba(31, 41, 35, .12);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(31, 41, 35, .08);
  backdrop-filter: blur(2px);
}

body.contact-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.contact-page label {
  display: block;
  margin: 0 0 8px;
  color: #47564e;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}

body.contact-page input,
body.contact-page textarea {
  width: 100%;
  padding: 13px 14px;
  color: #1f2923;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(31, 41, 35, .18);
  border-radius: 3px;
  box-sizing: border-box;
  font: inherit;
  font-style: normal;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.contact-page input:focus,
body.contact-page textarea:focus {
  border-color: #294638;
  box-shadow: 0 0 0 3px rgba(41, 70, 56, .12);
}

body.contact-page textarea {
  min-height: 150px;
  resize: vertical;
}

body.contact-page .field {
  margin-top: 18px;
}

body.contact-page .form-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

body.contact-page .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  color: #fff;
  background: #294638;
  border: 1px solid #294638;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: .82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
}

body.contact-page .hero-btn:hover {
  background: #1f392e;
  border-color: #1f392e;
}

body.contact-page .hero-btn:disabled {
  opacity: .65;
  cursor: wait;
}

body.contact-page .success-message {
  padding: 24px;
  background: rgba(223, 232, 223, .7);
  border: 1px solid rgba(41, 70, 56, .14);
  border-radius: 4px;
  text-align: center;
}

body.contact-page .success-message h3 {
  margin: 0 0 8px;
  font-family: "Italiana", Georgia, serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 900px) {
  body.contact-page {
    background-size: 210px;
  }

  body.contact-page .site-header {
    grid-template-columns: 1fr auto;
  }

  body.contact-page .shop-nav {
    grid-column: 1 / -1;
    justify-self: center;
    order: 3;
    margin-top: 8px;
  }

  body.contact-page .header-spacer {
    display: none;
  }
}

@media (max-width: 680px) {
  body.contact-page {
    background-size: 145px;
  }

  body.contact-page .site-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
  }

  body.contact-page .shop-nav {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    padding: 4px;
  }

  body.contact-page .nav-btn {
    padding: 8px 10px;
    font-size: .7rem;
  }

  body.contact-page .contact-main {
    width: min(100% - 28px, 920px);
    margin-top: 40px;
    margin-bottom: 48px;
  }

  body.contact-page .contact-intro {
    margin-bottom: 24px;
  }

  body.contact-page .grid {
    grid-template-columns: 1fr;
  }

  body.contact-page .contact-card {
    padding: 22px 18px;
  }
}
