:root {
  --site-bg: #faf9f5;
  --site-surface: #fffdfb;
  --site-soft: #f4efe7;
  --site-text: #141413;
  --site-muted: #5f5a53;
  --site-line: #e2d7ca;
  --site-accent: #cc785c;
  --site-accent-dark: #b9654a;
  --site-dark: #252320;
  --site-footer: #181715;
  --site-content: 1440px;
  --contact-radius: 12px;
}

html {
  scroll-behavior: smooth;
}

.contact-body {
  line-height: 1.65;
}

.contact-page {
  background: var(--site-bg);
}

.contact-page h1,
.contact-page h2,
.contact-page p,
.contact-page figure,
.contact-page address {
  margin: 0;
}

.contact-page button,
.contact-page input,
.contact-page textarea {
  font: inherit;
}

.contact-page button,
.contact-page .upload-field {
  cursor: pointer;
}

.contact-page :focus-visible {
  outline: 3px solid rgba(204, 120, 92, 0.46);
  outline-offset: 4px;
}

.eyebrow {
  margin-bottom: 20px !important;
  color: var(--site-accent);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 7vw, 118px);
  background:
    linear-gradient(90deg, transparent 0 68%, rgba(244, 239, 231, 0.54) 68% 100%),
    var(--site-bg);
}

.contact-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
  align-items: center;
  gap: clamp(64px, 8vw, 128px);
}

.contact-hero__copy {
  max-width: 660px;
}

.contact-hero h1 {
  color: var(--site-text);
  font-size: var(--type-page-title);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.contact-channels {
  display: grid;
  margin-top: 62px !important;
  border-bottom: 1px solid var(--site-line);
  font-style: normal;
}

.contact-channel {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  padding-block: 22px;
  border-top: 1px solid var(--site-line);
  color: var(--site-text);
  gap: 18px;
}

a.contact-channel {
  transition: color 180ms ease, padding-left 180ms ease;
}

a.contact-channel:hover,
a.contact-channel:focus-visible {
  padding-left: 6px;
  color: var(--site-accent-dark);
}

.contact-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--site-accent);
}

.contact-channel__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-channel > span:last-child {
  display: grid;
  gap: 7px;
}

.contact-channel strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-channel > span:last-child > span {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.contact-hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e6dfd8;
  border-radius: var(--contact-radius);
  background: #e8e2d9;
  box-shadow: 0 28px 70px rgba(37, 35, 32, 0.13);
}

.contact-hero__visual::before {
  position: absolute;
  z-index: 1;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 3px;
  content: "";
  background: var(--site-accent);
}

.contact-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.contact-hero__visual:hover img {
  transform: scale(1.02);
}

.inquiry-section {
  padding-block: clamp(90px, 8vw, 132px);
  border-block: 1px solid #e6dfd8;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--site-soft);
}

.inquiry-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.inquiry-heading h2 {
  color: var(--site-text);
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.inquiry-heading > p:last-child {
  margin-top: 18px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.7;
}

.inquiry-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 1080px);
  margin: 58px auto 0;
  padding: clamp(42px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--contact-radius);
  background: var(--site-surface);
  box-shadow: 0 24px 70px rgba(76, 58, 45, 0.08);
  gap: 28px 48px;
}

.inquiry-form::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  content: "";
  background: var(--site-accent);
}

.form-field {
  display: grid;
  align-content: start;
  gap: 10px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label:not(.upload-field) {
  color: var(--site-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.form-field label span[aria-hidden="true"] {
  color: var(--site-accent);
}

.form-field input:not([type="file"]),
.form-field textarea {
  width: 100%;
  border: 1px solid #e4d9cd;
  border-radius: 8px;
  background: #fffdfb;
  color: var(--site-text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-field input:not([type="file"]) {
  height: 54px;
  padding: 0 16px;
}

.form-field textarea {
  min-height: 128px;
  padding: 15px 16px;
  line-height: 1.7;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8b857d;
  opacity: 1;
}

.form-field input:not([type="file"]):hover,
.form-field textarea:hover {
  border-color: #cdbfb1;
}

.form-field input:not([type="file"]):focus,
.form-field textarea:focus {
  border-color: var(--site-accent);
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(204, 120, 92, 0.12);
}

.input-with-chevron {
  position: relative;
  display: block;
}

.input-with-chevron input {
  padding-right: 48px !important;
}

.input-with-chevron svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #8b857d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
  transform: translateY(-50%);
}

.upload-field {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 18px 28px;
  border: 1px solid #e0d2c5;
  border-radius: 8px;
  background: #fbf5ee;
  color: var(--site-dark);
  gap: 18px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.upload-field:hover,
.form-field:focus-within .upload-field {
  border-color: var(--site-accent);
  background: #fff8f2;
}

.upload-field:active {
  transform: translateY(1px);
}

.upload-field__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--site-accent);
}

.upload-field__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.upload-field > span:last-child {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.upload-field strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.upload-field small {
  color: #7b756e;
  font-size: 12px;
  line-height: 1.4;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 7px;
  background: #bf6d53;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(191, 109, 83, 0.2);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  gap: 8px;
}

.submit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #aa5e46;
  box-shadow: 0 14px 32px rgba(191, 109, 83, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .contact-hero__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 64px;
  }

  .contact-hero h1 {
    font-size: var(--type-page-title);
  }
}

@media (max-width: 1024px) {
  .contact-hero__layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
    gap: 48px;
  }

  .contact-channels {
    margin-top: 48px !important;
  }

  .inquiry-form {
    gap: 26px 32px;
  }
}

@media (max-width: 900px) {
  .contact-page .site-nav {
    background: #fffdfb;
  }

  .contact-hero {
    background:
      linear-gradient(180deg, transparent 0 56%, rgba(244, 239, 231, 0.58) 56% 100%),
      var(--site-bg);
  }

  .contact-hero__layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact-hero__copy {
    max-width: 720px;
  }

  .contact-hero__visual {
    width: min(100%, 760px);
  }
}

@media (max-width: 720px) {
  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    gap: 24px;
  }

  .form-field--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .contact-hero,
  .inquiry-section {
    padding-block: 74px;
  }

  .contact-hero h1 {
    font-size: var(--type-page-title-mobile);
  }

  .contact-channels {
    margin-top: 42px !important;
  }

  .contact-channel {
    grid-template-columns: 28px minmax(0, 1fr);
    padding-block: 20px;
    gap: 14px;
  }

  .contact-channel > span:last-child > span {
    font-size: 15px;
  }

  .contact-hero__visual {
    aspect-ratio: 4 / 3;
  }

  .inquiry-heading {
    text-align: left;
  }

  .inquiry-heading h2 {
    font-size: var(--type-section-title-mobile);
  }

  .inquiry-form {
    margin-top: 42px;
    padding: 34px 20px;
  }

  .upload-field {
    align-items: flex-start;
    padding: 18px;
  }

  .submit-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero__visual img,
  .contact-channel,
  .upload-field,
  .submit-button {
    transition: none;
  }

  .contact-hero__visual:hover img,
  a.contact-channel:hover,
  .upload-field:active,
  .submit-button:hover {
    transform: none;
  }
}

