:root {
  --ink: #111;
  --muted: #6f6f6b;
  --line: #deded9;
  --surface: #f3f3f0;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.contact-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.contact-logo { display: inline-flex; align-items: center; gap: 9px; }
.contact-logo .brand-mark { width: 28px; height: 35px; object-fit: contain; }
.contact-logo .brand-wordmark { width: 108px; object-fit: contain; }
.contact-header nav { display: flex; justify-content: center; gap: 28px; color: #555; font-size: 12px; }
.header-phone { padding: 11px 17px; border-radius: 999px; color: #fff; background: #111; font-size: 12px; font-weight: 600; }

.contact-title {
  position: relative;
  min-height: 510px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 64px 5vw 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.12) 100%),
    url("assets/hero-detail.webp") center 48% / cover no-repeat;
}
.contact-title::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(0,0,0,.32));
  pointer-events: none;
}
.contact-title > * { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 58px; color: rgba(255,255,255,.68); font-size: 11px; }
.breadcrumb strong { color: #fff; font-weight: 500; }
.contact-title .eyebrow { color: rgba(255,255,255,.72); }
.eyebrow, .section-label { color: #8a8a85; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-title h1 { margin: 14px 0 0; font-size: clamp(62px, 9vw, 132px); font-weight: 500; line-height: .8; letter-spacing: -.055em; }
.contact-title h1 em { font-family: "Instrument Serif", serif; font-weight: 400; }
.contact-title > p { max-width: 620px; margin: 38px 0 0 auto; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; }

.contact-main {
  width: min(1380px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(270px, .7fr) minmax(520px, 1.3fr);
  gap: clamp(70px, 10vw, 170px);
  margin: 0 auto;
  padding: 110px 0 120px;
}
.contact-details { padding-top: 8px; }
.detail-item { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.detail-item:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.detail-item > svg { width: 20px; margin-top: 4px; stroke-width: 1.5; }
.detail-item small { display: block; margin-bottom: 8px; color: #999; font-size: 10px; text-transform: uppercase; }
.detail-item strong, .detail-item a { display: block; font-size: 18px; font-weight: 500; }
.detail-item p { margin: 7px 0 0; color: #777; font-size: 12px; line-height: 1.6; }
.hotline-links { display: grid; gap: 7px; }
.online-support-links { display: flex; flex-wrap: wrap; gap: 9px; }
.online-support-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #d3d3ce;
  font-size: 11px;
  font-weight: 600;
}
.online-support-links a:hover { border-color: #111; background: #111; color: #fff; }
.online-support-links svg { width: 14px; height: 14px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid #111; font-size: 12px; font-weight: 600; }
.map-link svg { width: 15px; }

.contact-form-wrap h2 { margin: 14px 0 52px; font-size: clamp(40px, 5vw, 70px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.contact-form { display: grid; gap: 30px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.contact-form label { display: grid; gap: 10px; color: #444; font-size: 11px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfcfca;
  border-radius: 0;
  outline: 0;
  padding: 13px 0;
  color: #111;
  background: transparent;
  font-size: 13px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #111; }
.form-submit { display: flex; align-items: center; gap: 24px; margin-top: 6px; }
.form-submit button {
  min-width: 180px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #111;
  padding: 15px 22px;
  color: #fff;
  background: #111;
  cursor: pointer;
}
.form-submit button:hover { color: #111; background: #fff; }
.form-submit button svg { width: 16px; }
.form-submit p { max-width: 280px; margin: 0; color: #999; font-size: 10px; line-height: 1.5; }
.form-success { align-items: center; gap: 12px; padding: 16px 18px; background: #edf4ea; color: #36522f; font-size: 12px; line-height: 1.5; }
.form-success:not([hidden]) { display: flex; }
.form-success svg { width: 18px; flex: 0 0 auto; }
.form-success.is-error { color: #9f2c26; background: #fff0ee; }

.contact-map { height: 520px; padding: 0 5vw; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-services { display: grid; grid-template-columns: repeat(3, 1fr); padding: 60px 5vw 72px; }
.contact-services article { display: flex; gap: 18px; padding: 10px 30px; border-right: 1px solid var(--line); }
.contact-services article:first-child { padding-left: 0; }
.contact-services article:last-child { border-right: 0; }
.contact-services svg { width: 27px; height: 27px; stroke-width: 1.4; }
.contact-services h3 { margin: 0 0 7px; font-size: 13px; }
.contact-services p { margin: 0; color: #888; font-size: 11px; }

@media (max-width: 850px) {
  .contact-main { grid-template-columns: 1fr; gap: 80px; }
  .contact-services { grid-template-columns: 1fr; gap: 24px; }
  .contact-services article, .contact-services article:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .contact-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 16px; }
  .contact-header nav { display: none; }
  .header-phone { padding: 10px 13px; }
  .contact-title { min-height: 450px; padding: 48px 20px; }
  .breadcrumb { margin-bottom: 44px; }
  .contact-title h1 { font-size: 58px; }
  .contact-title > p { margin-top: 32px; }
  .contact-main { width: calc(100% - 40px); padding: 78px 0 90px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .contact-map { height: 390px; padding: 0 20px; }
  .contact-services { padding: 44px 20px 54px; }
}
