/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
  position: relative;
  background: #F6F4ED;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
}
.contact-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.contact-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,80,168,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
}
.contact-inner { position: relative; z-index: 1; }

/* Header */
.contact-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.contact-head .ch-eyebrow {
  display: inline-flex;
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #E07A5F;
  margin-bottom: 14px;
}
.contact-title {
  font-size: clamp(40px, 5.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.contact-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 700px;
  line-height: 1.65;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: start;
}

/* ============================================================
   LEFT — contact info
   ============================================================ */
.contact-left {
  display: flex; flex-direction: column;
  gap: 14px;
}
.cl-section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.info-card:hover {
  border-color: rgba(224,122,95,.4);
  box-shadow: 0 10px 24px rgba(15,30,60,.06);
  transform: translateY(-2px);
}
.info-icn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(224,122,95,.12);
  color: #E07A5F;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.info-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.info-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}
.info-value.en {
  font-family: var(--font-en);
  letter-spacing: .02em;
}
.cl-foot {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(30,160,151,.06);
  border: 1px dashed rgba(30,160,151,.25);
  border-radius: 12px;
}
.cl-foot-text {
  font-size: 13px;
  color: var(--green-600);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   RIGHT — form card
   ============================================================ */
.contact-right { min-width: 0; }
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 12px 32px rgba(15,30,60,.05);
}
.form-head { margin-bottom: 28px; }
.form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.form-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

/* Fields */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.field-label {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.field-label em {
  color: #E07A5F;
  font-style: normal;
  margin-left: 2px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FBFAF6;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #A8AEB8;
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(224,122,95,.4);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #E07A5F;
  background: white;
  box-shadow: 0 0 0 3px rgba(224,122,95,.12);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Select */
.select-wrap { position: relative; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}
.select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Chips */
.chip-group {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  position: relative;
  display: inline-flex; align-items: center;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: #FBFAF6;
  transition: all .15s;
}
.chip:hover span { border-color: rgba(224,122,95,.4); color: #E07A5F; }
.chip input:checked + span {
  background: #E07A5F;
  border-color: #E07A5F;
  color: white;
}

/* Actions */
.form-actions {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: #E07A5F;
  color: white;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(224,122,95,.32);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-submit:hover {
  background: #D26749;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(224,122,95,.40);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit svg { transform: rotate(0deg); transition: transform .25s; }
.btn-submit:hover svg { transform: translate(2px, -2px); }

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
.form-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(30,160,151,.08);
  border: 1px solid rgba(30,160,151,.32);
  border-radius: 12px;
  color: var(--green-600);
}
.form-success strong {
  font-size: 14.5px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.form-success p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.form-error {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(220,38,38,.07);
  border: 1px solid rgba(220,38,38,.30);
  border-radius: 12px;
  color: #DC2626;
}
.form-error strong {
  font-size: 14.5px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.form-error p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.btn-submit:disabled {
  opacity: .6;
  cursor: wait;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-note { text-align: center; }
}
