/* =========================================================================
   Vinaweb – Trang Liên hệ (site/contact.php). Nạp sau about.css và news.css (banner .phero--news).
   Ô nhập dùng lại .field của khối "Đặt lịch tư vấn" (site.css); form ở đây là .kform vì gửi thẳng
   về site/contact, KHÔNG dùng .cform (main.js sẽ gửi .cform qua site/subscribe).
   ========================================================================= */
.kt { padding: 96px 0; background: #fff; }
.kt__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.kt__h2 { margin-top: 22px; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; font-weight: 600; }
.kt__quick { list-style: none; display: flex; gap: 14px; }
.kt__quick li { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 100px; background: var(--beige); font-size: 15px; line-height: 1.45; }
.kt__quick a { font-size: 16px; font-weight: 700; color: var(--black); transition: color .2s; }
.kt__quick a:hover, .kt-office__reach a:hover { color: var(--red); }
.kt__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; color: var(--red); box-shadow: inset 0 0 0 1px rgba(186,19,26,.18); }
.kt__ic svg { width: 21px; height: 21px; stroke-width: 1.8; }
.kt__label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }
.kt__offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.kt-office { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; background: var(--beige); overflow: hidden; transition: opacity .8s var(--ease), translate .8s var(--ease), background .35s, box-shadow .35s, transform .35s var(--ease); }
@media (hover: hover) { .kt-office:hover { background: #fff; box-shadow: 0 0 0 1px rgba(186,19,26,.35), 0 24px 40px -24px rgba(33,34,82,.4); transform: translateY(-4px); } }
.kt-office__no { position: absolute; right: 20px; top: 14px; font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(186,19,26,.28); }
.kt-office h3 { margin-top: 18px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--black); }
.kt-office__addr { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--gray); }
.kt-office__reach { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14.5px; }
.kt-office__addr + .kt-office__reach { border-top: 0; }
.kt-office__reach li { display: flex; align-items: center; gap: 10px; }
.kt-office__reach svg { width: 17px; height: 17px; flex: none; color: var(--red); stroke-width: 1.8; }
.kt-office__reach a { font-weight: 600; color: var(--black); transition: color .2s; }

/* Form nằm trong khối .contact (nền đỏ + lưới lục giác của site.css) */
.kt-form .contact__grid { align-items: center; }
.kt-form .kform { background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); color: var(--black); }

.kform { display: grid; gap: 14px; padding: 32px; border-radius: 20px; background: var(--beige); }
.kform__head { margin-bottom: 6px; }
.kform__head h3 { font-size: 21px; font-weight: 700; }
.kform__head p { margin-top: 4px; font-size: 13.5px; color: var(--gray); }
.kform i { font-style: normal; color: var(--red); }
.kform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kform .field textarea {
  display: block; width: 100%; min-height: 130px; padding: 26px 16px 12px; border: 1px solid #e3ded3; border-radius: 10px;
  background: #fff; color: var(--black); font: inherit; font-size: 15px; line-height: 1.6; outline: 0; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.kform .field textarea:hover { border-color: #cfc8b9; }
.kform .field textarea:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(54,54,54,.08); }
.kform .field:has(textarea:focus, textarea:not(:placeholder-shown)) .field__label { top: 8px; font-size: 11.5px; }
.kform .field--area .field__err:empty { display: none; }
.kform .field.is-err textarea { border-color: var(--red); }
.kform__submit { margin-top: 6px; }
.kform__submit .btn { width: 100%; height: 54px; justify-content: space-between; padding-left: 24px; font-size: 16px; filter: none; }
.kform__submit .btn__ic { width: 46px; height: 46px; }
.kform__fail { margin: 0; font-size: 14px; color: var(--red); }
.kform--done { justify-items: center; align-content: center; min-height: 360px; gap: 18px; text-align: center; font-size: 16.5px; line-height: 1.65; }
.kform--done svg { stroke: #1f8a4c; stroke-width: 2.5; }
.kform--done .alert { margin: 0; max-width: 380px; font-weight: 600; color: var(--black); }

.kt-map { padding: 96px 0; background: #fff; }
.kt-map__addr { max-width: 640px; margin: 14px auto 0; font-size: 16px; line-height: 1.7; color: var(--gray); }
.kt-map__frame { margin-top: 40px; overflow: hidden; border-radius: 22px; background: var(--beige); box-shadow: inset 0 0 0 1px var(--line); }
.kt-map__frame iframe { display: block; width: 100%; height: 440px; border: 0; }

@media (max-width: 1024px) {
  .kt, .kt-map { padding: 72px 0; }
  .kt__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .kt__offices { grid-template-columns: 1fr 1fr; margin-top: 34px; }
}
@media (max-width: 640px) {
  .kt, .kt-map { padding: 56px 0; }
  .kt__quick { flex-direction: column; align-self: stretch; }
  .kt__offices, .kform__row { grid-template-columns: 1fr; }
  .kform { padding: 22px 18px; border-radius: 16px; }
  .kt-map__frame { margin-top: 28px; border-radius: 16px; }
  .kt-map__frame iframe { height: 340px; }
}
