/* ═══════════════════════════════════════════════════════════
   TRANG LIÊN HỆ — contact.css
   Màu: #003399 (navy) | #ffff00 (yellow)
═══════════════════════════════════════════════════════════ */

.ct-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ══ HERO ══ */
.ct-hero {
  position: relative;
  background: linear-gradient(135deg, #001a66 0%, #003399 55%, #1a4db3 100%);
  padding: 110px 0 56px; overflow: hidden;
}
.ct-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ct-hero__overlay { position: absolute; inset: 0; background: rgba(0,10,40,.2); }
.ct-hero .ct-wrap { position: relative; z-index: 1; }

.ct-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.ct-breadcrumb a { color: #ffff00; text-decoration: none; }
.ct-breadcrumb a:hover { opacity: .8; }
.ct-breadcrumb i { font-size: .6rem; opacity: .5; }

.ct-hero__tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,0,.15); border: 1px solid rgba(255,255,0,.35);
  color: #ffff00; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.ct-hero__content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.ct-hero__content h1 span { color: #ffff00; }
.ct-hero__content p { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.7; }

/* ══ QUICK BAR ══ */
.ct-quickbar {
  background: #003399;
  box-shadow: 0 4px 20px rgba(0,51,153,.3);
  position: relative; z-index: 10;
}
.ct-quickbar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.ct-quickbar__item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: background .25s ease;
  cursor: default;
}
.ct-quickbar__item[href] { cursor: pointer; }
.ct-quickbar__item[href]:hover { background: rgba(255,255,255,.08); }
.ct-quickbar__item:last-child { border-right: none; }
.ct-quickbar__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,0,.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #ffff00;
  transition: background .25s;
}
.ct-quickbar__item[href]:hover .ct-quickbar__icon { background: rgba(255,255,0,.25); }
.ct-quickbar__item span { display: block; font-size: .72rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.ct-quickbar__item strong { display: block; font-size: .88rem; font-weight: 700; color: #fff; }
.ct-quickbar__item--phone strong { color: #ffff00; }
.ct-quickbar__item--zalo strong { color: #ffff00; }

@media (max-width: 900px) { .ct-quickbar__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ct-quickbar__inner { grid-template-columns: 1fr; } }

/* ══ MAIN LAYOUT ══ */
.ct-main { background: #f0f4ff; padding: 56px 0 80px; }
.ct-layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 36px; align-items: start;
}

/* ══ FORM CARD ══ */
.ct-form-card {
  background: #fff; border-radius: 20px;
  border: 1.5px solid #ccd6f6;
  box-shadow: 0 8px 40px rgba(0,51,153,.12);
  overflow: hidden;
}
.ct-form-card__header {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #003399, #1a4db3);
}
.ct-form-card__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,0,.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #ffff00;
}
.ct-form-card__header h2 { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 4px; }
.ct-form-card__header p { font-size: .82rem; color: rgba(255,255,255,.75); margin: 0; }
.ct-form-card__header p strong { color: #ffff00; }

.ct-form { padding: 28px 32px; }
.ct-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form__field { margin-bottom: 16px; }
.ct-form__field label {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: #003399;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px;
}
.ct-form__field label span { color: #cc0000; }
.ct-form__field label i { font-size: .72rem; opacity: .7; }
.ct-form__field input,
.ct-form__field select,
.ct-form__field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #ccd6f6; border-radius: 9px;
  font-size: .9rem; color: #001a66; background: #f8faff;
  outline: none; transition: all .25s ease;
  font-family: inherit;
}
.ct-form__field input:focus,
.ct-form__field select:focus,
.ct-form__field textarea:focus {
  border-color: #003399; background: #fff;
  box-shadow: 0 0 0 3px rgba(0,51,153,.1);
}
.ct-form__field input::placeholder,
.ct-form__field textarea::placeholder { color: #a0aec0; }
.ct-form__field textarea { resize: vertical; min-height: 100px; }
.ct-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23003399' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}

/* Submit button */
.ct-submit-btn {
  width: 100%; padding: 15px 24px;
  background: #003399; color: #ffff00;
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 800;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .3s ease; letter-spacing: .04em;
  position: relative; overflow: hidden;
}
.ct-submit-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.08) 100%);
}
.ct-submit-btn:hover {
  background: #002277;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,51,153,.35);
}
.ct-submit-btn:active { transform: translateY(0); }
.ct-submit-btn__loader { display: flex; align-items: center; gap: 8px; }

/* Form message */
.ct-form__msg {
  margin-top: 14px; padding: 12px 16px;
  border-radius: 9px; font-size: .88rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.ct-form__msg.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.ct-form__msg.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.ct-form__note {
  text-align: center; font-size: .75rem; color: #4a5a8e;
  margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ct-form__note i { color: #003399; }

/* ══ INFO CARDS ══ */
.ct-info { display: flex; flex-direction: column; gap: 24px; }

.ct-info-card,
.ct-branches-card {
  background: #fff; border-radius: 18px; padding: 26px;
  border: 1.5px solid #ccd6f6;
  box-shadow: 0 4px 20px rgba(0,51,153,.08);
}
.ct-info-card h3,
.ct-branches-card h3 {
  font-size: .95rem; font-weight: 800; color: #003399;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #ffff00;
  display: flex; align-items: center; gap: 8px;
}
.ct-info-card h3 i,
.ct-branches-card h3 i { font-size: .9rem; }

/* Info list */
.ct-info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ct-info-list li { display: flex; align-items: flex-start; gap: 12px; }
.ct-info-list__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: #003399; color: #ffff00;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
}
.ct-info-list strong {
  display: block; font-size: .72rem; font-weight: 700; color: #4a5a8e;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.ct-info-list span, .ct-info-list a {
  font-size: .88rem; color: #001a66; font-weight: 600;
  text-decoration: none; line-height: 1.5;
}
.ct-info-list a:hover { color: #003399; text-decoration: underline; }

/* Social */
.ct-social {
  display: flex; gap: 10px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid #ccd6f6;
}
.ct-social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; text-decoration: none; color: #fff;
  background: var(--ct-social-color, #003399);
  transition: transform .25s, box-shadow .25s;
}
.ct-social a:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }

/* Branches */
.ct-branches { display: flex; flex-direction: column; gap: 14px; }
.ct-branch {
  padding: 14px; border-radius: 10px;
  background: #f0f4ff; border: 1px solid #ccd6f6;
  transition: border-color .25s;
}
.ct-branch:hover { border-color: #003399; }
.ct-branch__header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.ct-branch__header > i { color: #003399; font-size: .85rem; }
.ct-branch__header strong { font-size: .88rem; font-weight: 800; color: #003399; flex: 1; }
.ct-branch__phone {
  display: inline-flex; align-items: center; gap: 5px;
  background: #003399; color: #ffff00;
  padding: 4px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.ct-branch__phone:hover { background: #002277; }
.ct-branch ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.ct-branch ul li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .78rem; color: #4a5a8e; line-height: 1.5;
}
.ct-branch ul li i { color: #003399; font-size: .55rem; margin-top: 5px; flex-shrink: 0; }

/* ══ MAP ══ */
.ct-map {
  position: relative; overflow: hidden;
  border-top: 4px solid #003399;
}
.ct-map iframe { display: block; filter: saturate(.9) contrast(1.05); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .ct-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ct-hero { padding: 90px 0 40px; }
  .ct-form-card__header { padding: 20px 22px; }
  .ct-form { padding: 20px 22px; }
  .ct-form__row { grid-template-columns: 1fr; }
  .ct-info-card, .ct-branches-card { padding: 20px; }
}
@media (max-width: 480px) {
  .ct-hero__content h1 { font-size: 1.7rem; }
}
