/* =========================
   CONTACT HERO
========================= */

.contact-hero {
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e8e9e5;
}

.contact-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(25, 30, 25, 0.28), rgba(25, 30, 25, 0.28)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=85")
    center / cover no-repeat;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  text-align: center;
}

.contact-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

/* COMMON */

.contact-container {
  width: min(900px, 84%);
  margin: 0 auto;
}

.contact-label {
  margin-bottom: 18px;
  color: #777d70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* INTRO */

.contact-intro {
  padding: 50px 8%;
  background: #f7f8f6;
  text-align: center;
}

.contact-intro h2 {
  margin-bottom: 22px;
  font-size: 34px;
}

.contact-intro > .contact-container > p:last-child {
  color: #666;
  font-size: 14px;
  line-height: 2.3;
}

/* FORM */

.contact-form-section {
  padding: 110px 8%;
}

.contact-form-heading {
  margin-bottom: 45px;
  text-align: center;
}

.contact-form-heading h2 {
  margin-bottom: 15px;
  font-size: 30px;
}

.contact-form-heading > p:last-child {
  color: #777;
  font-size: 13px;
}

.contact-form {
  max-width: 780px;
  margin: 0 auto;
}

.contact-field {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
  align-items: start;
  padding: 25px 10px;
  border-bottom: 1px solid #e2e3de;
}

.contact-field > label {
  padding-top: 13px;
  font-size: 13px;
  font-weight: 600;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  background: #eee9e4;
  color: #8a5f4c;
  font-size: 10px;
  font-weight: 500;
  vertical-align: 2px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d9dbd4;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input,
.contact-field select {
  min-height: 48px;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.9;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #7b8472;
  box-shadow: 0 0 0 3px rgba(123, 132, 114, 0.1);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #aaa;
}

.contact-privacy {
  margin-top: 30px;
  text-align: center;
}

.contact-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
}

.contact-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #687260;
}

.contact-checkbox a {
  border-bottom: 1px solid #999;
  padding-bottom: 2px;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  width: min(320px, 100%);
  min-height: 58px;
  margin: 35px auto 0;
  padding: 15px 25px;
  border: 1px solid #292d26;
  background: #292d26;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.contact-submit:hover {
  background: #fff;
  color: #292d26;
}

.contact-submit span {
  font-size: 19px;
  font-weight: 400;
}

.contact-form-note {
  margin-top: 18px;
  color: #999;
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

/* OTHER CONTACT */

.contact-other {
  padding: 85px 8%;
  background: #f7f8f6;
}

.contact-other-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px 35px;
}

.contact-other-inner > div {
  grid-column: 1 / -1;
  margin-bottom: 15px;
}

.contact-other-inner h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.contact-other-inner > div > p:last-child {
  color: #777;
  font-size: 13px;
}

.contact-other-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border: 1px solid #dedfd9;
  background: #fff;
  font-size: 13px;
  transition: 0.3s;
}

.contact-other-link:hover {
  border-color: #333;
  background: #333;
  color: #fff;
}

.contact-other-link span {
  font-size: 19px;
}

/* BOTTOM */

.contact-bottom {
  padding: 100px 25px;
  background: #eef0eb;
  text-align: center;
}

.contact-bottom > p {
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.contact-bottom h2 {
  margin-bottom: 32px;
  font-size: clamp(23px, 3vw, 35px);
}

.contact-bottom > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 210px;
  padding: 16px 25px;
  border: 1px solid #222;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: 0.3s;
}

.contact-bottom > a:hover {
  background: #222;
  color: #fff;
}

/* MOBILE */

@media (max-width: 768px) {
  .contact-hero {
    height: 440px;
  }

  .contact-hero-content h1 {
    font-size: clamp(34px, 9vw, 48px);
    letter-spacing: 0.1em;
  }

  .contact-container {
    width: 100%;
  }

  .contact-intro {
    padding: 80px 25px;
  }

  .contact-intro h2,
  .contact-form-heading h2,
  .contact-other-inner h2 {
    font-size: 27px;
  }

  .contact-intro > .contact-container > p:last-child {
    font-size: 13px;
    text-align: left;
  }

  .pc-only {
    display: none;
  }

  .contact-form-section {
    padding: 80px 25px;
  }

  .contact-form-heading {
    margin-bottom: 30px;
  }

  .contact-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .contact-field > label {
    padding-top: 0;
  }

  .contact-field textarea {
    min-height: 160px;
  }

  .contact-checkbox {
    align-items: flex-start;
    text-align: left;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-other {
    padding: 75px 25px;
  }

  .contact-other-inner {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .contact-other-inner > div {
    grid-column: auto;
  }

  .contact-other-link {
    padding: 22px 18px;
  }

  .contact-bottom {
    padding: 80px 25px;
  }

  .contact-bottom h2 {
    font-size: 24px;
    line-height: 1.7;
  }
}
