.form-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 72px;
  background:
    radial-gradient(circle at 14% 22%, rgba(220, 196, 100, .18), transparent 30%),
    linear-gradient(125deg, #fbfaf5 0%, #f2ecdb 56%, #faf7ee 100%);
  border-bottom: 1px solid rgba(158, 126, 34, .16);
}

.form-hero::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(174, 139, 42, .11);
  transform: rotate(45deg);
}

.form-hero__inner { position: relative; z-index: 1; text-align: center; }
.breadcrumb {
  margin-bottom: 28px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  color: #81786c;
  font-size: .76rem;
  letter-spacing: .05em;
}
.breadcrumb a:hover { text-decoration: underline; }
.form-hero__en {
  display: block;
  color: #9b7c25;
  font-family: var(--font-en);
  font-size: .9rem;
  letter-spacing: .2em;
}
.form-hero h1 {
  position: relative;
  margin: 4px 0 22px;
  padding-bottom: 20px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: .08em;
}
.form-hero h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 120px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #d8c565, #9f7e22, #e4d784);
  transform: translateX(-50%);
}
.form-hero p { margin: 0; color: var(--color-subtle); font-size: .95rem; line-height: 2; }

.form-section { padding: 88px 0 108px; background: #fff; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .7fr);
  align-items: start;
  gap: clamp(42px, 6vw, 76px);
}

.form-card {
  border: 1px solid #ded6c4;
  background: #fff;
  box-shadow: 0 18px 50px rgba(63, 48, 14, .07);
}
.form-card__heading { padding: 36px 42px 30px; background: linear-gradient(120deg, #fbf9f2, #f3eedf); border-bottom: 1px solid #ded6c4; }
.form-card__heading > span { color: #9b7c25; font-family: var(--font-en); font-size: .76rem; letter-spacing: .2em; }
.form-card__heading h2 { margin: 4px 0 8px; font-size: 1.45rem; font-weight: 500; letter-spacing: .06em; }
.form-card__heading p { margin: 0; color: var(--color-subtle); font-size: .78rem; }
.required-note { margin-right: 5px; color: #9b6b20; font-weight: 600; }

.contact-form { padding: 42px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.form-field { min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > label { margin-bottom: 9px; display: flex; align-items: center; gap: 9px; font-size: .91rem; font-weight: 500; }
.field-tag {
  min-width: 36px;
  padding: 1px 6px;
  border: 1px solid #c8bea4;
  color: #786f60;
  font-size: .65rem;
  line-height: 1.6;
  text-align: center;
}
.field-tag--required { border-color: #ad8b31; background: #ad8b31; color: #fff; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  border: 1px solid #cfc7b5;
  border-radius: 0;
  padding: 14px 15px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: .94rem;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field textarea { min-height: 190px; resize: vertical; line-height: 1.8; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a39c90; }
.form-field input:focus,
.form-field textarea:focus { border-color: #a98528; background: #fffefa; box-shadow: 0 0 0 3px rgba(184, 151, 56, .14); }

.file-control {
  min-height: 58px;
  border: 1px dashed #b9aa82;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  background: #fbfaf6;
}
.file-control input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-control__button { padding: 8px 15px; display: inline-block; background: #a98528; color: #fff; font-size: .78rem; letter-spacing: .04em; cursor: pointer; }
.file-control:focus-within { outline: 3px solid rgba(184, 151, 56, .18); outline-offset: 2px; }
.file-control__status { min-width: 0; overflow: hidden; color: var(--color-subtle); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.field-help { margin: 7px 0 0; color: #82796d; font-size: .72rem; }

.consent-field { padding: 21px 24px; background: #f8f5eb; border: 1px solid #e1dac8; }
.consent-check { margin: 0 !important; display: flex !important; align-items: center; gap: 11px !important; cursor: pointer; }
.consent-check input { width: 19px; height: 19px; accent-color: #a98528; }
.consent-check a { color: #80651d; text-decoration: underline; text-underline-offset: 3px; }
.consent-field p { margin: 8px 0 0 30px; color: var(--color-subtle); font-size: .74rem; }

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions { text-align: center; }
.submit-button {
  width: min(100%, 390px);
  min-height: 64px;
  border: 1px solid #9f7d25;
  padding: 12px 22px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  background: linear-gradient(110deg, #aa8528 0%, #b99a40 52%, #ac882b 100%);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: 0 1px 2px rgba(55, 39, 5, .3);
  box-shadow: 0 9px 24px rgba(81, 59, 8, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.submit-button::before { content: ""; }
.submit-button__arrow { justify-self: end; font-family: sans-serif; font-size: 1.5rem; font-weight: 300; }
.submit-button:hover,
.submit-button:focus-visible { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(81, 59, 8, .22); }

.contact-guide {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 36px 30px;
  background: linear-gradient(145deg, #f8f4e7, #eee5c9);
  border-top: 4px solid #aa8528;
  box-shadow: 0 15px 36px rgba(63, 48, 14, .06);
}
.contact-guide__en { color: #9b7c25; font-family: var(--font-en); font-size: .76rem; letter-spacing: .2em; }
.contact-guide h2 { margin: 4px 0 14px; font-size: 1.2rem; font-weight: 500; line-height: 1.55; }
.contact-guide > p { margin: 0 0 28px; color: var(--color-subtle); font-size: .82rem; line-height: 1.85; }
.contact-guide__item { padding: 18px 0; border-top: 1px solid rgba(130, 102, 31, .2); }
.contact-guide__item > span { display: block; color: #9b7c25; font-family: var(--font-en); font-size: .73rem; letter-spacing: .18em; }
.contact-guide__item a { display: block; margin-top: 3px; color: #403718; font-size: .9rem; overflow-wrap: anywhere; }
.contact-guide__item a:hover { text-decoration: underline; }
.contact-guide__item small { display: block; margin-top: 5px; color: #81786b; font-size: .67rem; }
.contact-guide__notice { margin-top: 22px; padding: 20px; background: rgba(255,255,255,.65); border: 1px solid rgba(130, 102, 31, .16); }
.contact-guide__notice h3 { margin: 0 0 10px; font-size: .84rem; font-weight: 500; }
.contact-guide__notice ul { margin: 0; padding-left: 1.3em; color: var(--color-subtle); font-size: .72rem; line-height: 1.8; }

@media (max-width: 900px) {
  .form-hero { padding: 48px 0 58px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-guide { position: static; }
}

@media (max-width: 640px) {
  .form-hero { padding: 34px 0 48px; }
  .breadcrumb { margin-bottom: 20px; }
  .form-hero p br { display: none; }
  .form-section { padding: 58px 0 72px; }
  .form-card__heading { padding: 28px 22px 24px; }
  .contact-form { padding: 28px 20px 32px; grid-template-columns: 1fr; gap: 24px; }
  .form-field--wide { grid-column: auto; }
  .file-control { grid-template-columns: 1fr; }
  .file-control__button { text-align: center; }
  .file-control__status { white-space: normal; }
  .consent-field { padding: 18px; }
  .consent-field p { margin-left: 30px; }
  .contact-guide { padding: 30px 24px; }
}
