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

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

/* Volkswagen appointment page */
.vw-appointment-page {
  background: #fff;
  color: #061744;
  font-size: 16px;
  line-height: 1.5;
}

.vw-appointment-hero {
  min-height: 335px;
  background: #808080;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.vw-appointment-wrap {
  max-width: 900px;
}

.vw-appointment-form-section {
  padding: 42px 0 78px;
  background: #f5f7fb;
}

.vw-appointment-form-section h1 {
  margin: 0 0 18px;
  color: #00095b;
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.vw-appointment-lead {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #34405f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  text-transform: uppercase;
}

.vw-appointment-form {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 34px 34px;
  border: 1px solid #dce3f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 30, 80, .08);
}

.vw-appointment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.vw-appointment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #001e50;
  font-size: 1rem;
  font-weight: 700;
}

.vw-appointment-form input,
.vw-appointment-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #c5cedf;
  border-radius: 6px;
  background: #fff;
  color: #061744;
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vw-appointment-form input:focus,
.vw-appointment-form select:focus {
  outline: none;
  border-color: #001e50;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 30, 80, .12);
}

.vw-appointment-form__full {
  margin-top: 20px;
}

.vw-appointment-form__agree {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 22px 0 22px;
  color: #34405f;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.55;
}

.vw-appointment-form__agree input {
  width: 16px;
  min-height: 16px;
  margin-top: 4px;
  flex: 0 0 16px;
}

.vw-appointment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #001e50;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 30, 80, .24);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vw-appointment-form button:hover {
  background: #003399;
  box-shadow: 0 14px 28px rgba(0, 30, 80, .28);
  transform: translateY(-1px);
}

.vw-appointment-form button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.vw-appointment-form__msg {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.vw-appointment-form__msg.success {
  display: block;
  background: #e8f7ee;
  color: #137a3a;
}

.vw-appointment-form__msg.error {
  display: block;
  background: #fdecec;
  color: #b42318;
}

.vw-appointment-posts {
  padding: 34px 0 62px;
  background: #fff;
}

.vw-appointment-posts--news {
  background: #f2f2f2;
}

.vw-appointment-posts h2 {
  margin: 0 0 42px;
  color: #00095b;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 500;
  text-align: center;
}

.vw-appointment-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
}

.vw-appointment-card {
  background: #fff;
  border: 1px solid #d7d7d7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.vw-appointment-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  overflow: hidden;
}

.vw-appointment-card__image img,
.vw-appointment-card__image span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vw-appointment-card__body {
  padding: 12px 12px 14px;
}

.vw-appointment-card h3 {
  min-height: 54px;
  margin: 0 0 6px;
  color: #061744;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.vw-appointment-card h3 a {
  color: inherit;
  text-decoration: none;
}

.vw-appointment-card time {
  display: block;
  margin-bottom: 10px;
  color: #333;
  font-size: 1rem;
}

.vw-appointment-card p {
  min-height: 38px;
  margin: 0 0 12px;
  color: #333;
  font-size: 1rem;
  line-height: 1.35;
}

.vw-appointment-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #061744;
  border-radius: 4px;
  color: #061744;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.vw-appointment-more {
  display: table;
  margin: 52px auto 0;
  padding: 9px 20px;
  border: 1px solid #9ba6c8;
  border-radius: 999px;
  color: #6b7280;
  font-size: 1rem;
  text-decoration: none;
}

@media (max-width: 980px) {
  .vw-appointment-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vw-appointment-form {
    padding: 24px 18px 28px;
    border-radius: 8px;
  }

  .vw-appointment-form__grid,
  .vw-appointment-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Volkswagen contact page */
.vw-contact-page {
  background: #fff;
  color: #111;
}

.vw-contact-hero {
  position: relative;
  min-height: 350px;
  background-color: #d9dee8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.vw-contact-hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
}

.vw-contact-title {
  padding: 28px 0 34px;
  background: #fff;
  text-align: center;
}

.vw-contact-title h1 {
  margin: 0;
  color: #00095b;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.2;
}

.vw-contact-info {
  padding: 34px 0 44px;
  background: #eef8ff;
}

.vw-contact-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.vw-contact-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #111;
  text-decoration: none;
}

.vw-contact-info__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #1700f4;
  color: #fff;
  font-size: 1.6rem;
}

.vw-contact-info__item strong {
  display: block;
  margin-bottom: 10px;
  color: #5b6574;
  font-size: 1.05rem;
  font-weight: 500;
}

.vw-contact-info__item p {
  max-width: 620px;
  margin: 0;
  color: #111;
  font-size: .95rem;
  line-height: 1.6;
}

.vw-contact-map iframe {
  display: block;
  width: 100%;
  min-height: 430px;
}

@media (max-width: 768px) {
  .vw-contact-hero {
    min-height: 240px;
  }

  .vw-contact-info__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ══ 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; }
}
