.contact-hero {
  position: relative;
  padding: 90px 0 84px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 25, 38, 0.96), rgba(16, 44, 59, 0.74)),
    url("img/real-estate-product-hero.webp") center 48% / cover no-repeat;
}

.contact-hero .eyebrow {
  display: inline-block;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(233, 162, 118, 0.72);
  color: #f4d0b8;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.18;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.contact-hero p {
  max-width: 680px;
  margin: 0;
  color: #d2e1e5;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf9;
  box-shadow: 0 18px 44px rgba(20, 43, 59, 0.06);
}

.panel-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 3px;
  color: #a54d2f;
  background: #fbefe7;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 18px 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.panel-intro {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
}

.consultation-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.consultation-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid #e4ddd3;
  border-radius: 4px;
  background: #faf7f2;
}

.consultation-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  color: #a54d2f;
  background: #f7e7dc;
  font-size: 0.78rem;
}

.consultation-list strong {
  display: block;
  margin-bottom: 5px;
}

.consultation-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.direct-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.direct-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #294654;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.direct-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 44, 59, 0.1);
}

.direct-links a:focus-visible {
  outline: 3px solid rgba(197, 91, 53, 0.24);
  outline-offset: 2px;
}

.direct-links a strong {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.direct-links a.channel-kakao {
  border-color: #e4bfa8;
  color: #8f4328;
  background: #fbefe7;
}

.direct-links a.channel-whatsapp {
  border-color: #a6cbc5;
  color: #0c625e;
  background: #edf6f4;
}

.direct-links a.channel-phone {
  border-color: #b8c8cf;
  color: #294654;
  background: #eef3f5;
}

.direct-links a.channel-email {
  border-color: #d4cbc0;
  color: #5c554f;
  background: #f4f1ed;
}

.direct-links a.channel-kakao:hover { background: #f9e6da; }
.direct-links a.channel-whatsapp:hover { background: #e3f1ee; }
.direct-links a.channel-phone:hover { background: #e5edf0; }
.direct-links a.channel-email:hover { background: #ece7e1; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #294654;
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd8dc;
  border-radius: 4px;
  color: var(--text);
  background: #fff;
}

.field input,
.field select {
  height: 48px;
  padding: 0 13px;
}

.field textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-strong);
  outline: 3px solid rgba(197, 91, 53, 0.11);
}

.agree {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.privacy-details {
  grid-column: 1 / -1;
  margin-top: -8px;
  border: 1px solid #dce5e7;
  border-radius: 4px;
  color: var(--muted);
  background: #faf7f2;
  font-size: 0.78rem;
}

.privacy-details summary {
  padding: 11px 13px;
  color: #36515f;
  font-weight: 800;
  cursor: pointer;
}

.privacy-details dl {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0 13px 13px;
}

.privacy-details dl div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.privacy-details dt {
  color: #294654;
  font-weight: 800;
}

.privacy-details dd {
  margin: 0;
  line-height: 1.55;
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: #72858e;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    padding: 58px 0 64px;
  }

  .contact-hero h1 {
    font-size: 2.15rem;
  }

  .contact-panel {
    padding: 24px 20px;
  }

  .direct-links,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-full,
  .agree,
  .privacy-details,
  .contact-form .btn {
    grid-column: auto;
  }

  .privacy-details dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
