/* ===== Page: Liên hệ ===== */

.page-contact {
  background: #fff;
}

.ct-crumb {
  background: #eef3fb;
}
.ct-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 14px;
  color: #6b7280;
}
.ct-breadcrumb a {
  color: #6b7280;
  transition: color 0.2s;
}
.ct-breadcrumb a:hover {
  color: var(--blue);
}
.ct-breadcrumb span:last-child {
  color: #374151;
  font-weight: 700;
}

.ct-map-section {
  padding: 28px 0 56px;
}
.ct-map-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(420px, 58vw, 640px);
  background: #e8eef5;
  box-shadow: 0 12px 36px rgba(29, 64, 182, 0.08);
}

.ct-map {
  position: absolute;
  inset: 0;
}
.ct-map iframe,
.ct-map-img,
.ct-map-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ct-map-img {
  object-fit: cover;
}
.ct-map-placeholder {
  background:
    linear-gradient(180deg, rgba(232, 238, 245, 0.2), rgba(232, 238, 245, 0.55)),
    #d7e0ec;
}

.ct-card {
  position: absolute;
  top: 50%;
  right: clamp(18px, 3vw, 40px);
  transform: translateY(-50%);
  z-index: 2;
  width: min(420px, calc(100% - 48px));
  padding: clamp(28px, 3vw, 40px);
  border-radius: 24px;
  background: #ffffffde;
  box-shadow: 0 18px 48px rgba(20, 40, 90, 0.14);
}
.ct-card-title {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.ct-card-desc {
  margin: 0 0 28px;
  color: #6b7280;
  line-height: 1.55;
}
.ct-card-info {
  margin: 0 0 20px;
}
.ct-company {
  margin: 0 0 5px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.4;
}
.ct-row {
  margin: 0 0 2px;
  color: #374151;
  line-height: 1.55;
}
.ct-row:last-child {
  margin-bottom: 0;
}
.ct-label {
  font-weight: 700;
  color: #111827;
}
.ct-row a {
  color: inherit;
  text-decoration: none;
}
.ct-row a:hover {
  color: var(--blue);
}

.ct-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ct-social-link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.ct-social-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.ct-social-link:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.05);
}

.page-contact .site-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .ct-map-section {
    padding: 20px 0 40px;
  }
  .ct-map-frame {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .ct-map {
    position: relative;
    min-height: 280px;
    flex: 0 0 auto;
  }
  .ct-card {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: 16px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .ct-map {
    min-height: 220px;
  }
  .ct-card {
    margin: 12px;
    padding: 22px 20px;
  }
  .ct-card-title {
    font-size: 26px;
  }
  .ct-card-desc {
    margin-bottom: 20px;
  }
}

/* ===== FAQ accordion ===== */
.faq {
  padding: 0 0 clamp(48px, 6vw, 88px);
  background: #fff;
}
.faq-inner {
  max-width: 1020px;
}
.faq-head {
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 20px);
}
.faq-title {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}
.faq-subtitle {
  margin: 0 auto;
  max-width: 640px;
  color: #6b7280;
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: #fff;
  border-radius: 40px;
  box-shadow: 6px 1px 28px rgba(29, 64, 182, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  margin-top: -45px;
  padding-bottom: 45px;
}
.faq-item:first-child {
  margin-top: 0;
}
.faq-item.is-open {
  box-shadow: 0 14px 36px rgba(29, 64, 182, 0.12);
}

.faq-item__head {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.faq-item__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
  background: var(--cyan);
  font-family: Fraunces, Georgia, serif;
}
.faq-item:nth-child(1) .faq-item__num { background: #1d40b6; }
.faq-item:nth-child(2) .faq-item__num { background: #2a8fb8; }
.faq-item:nth-child(3) .faq-item__num { background: #33a9c4; }
.faq-item:nth-child(4) .faq-item__num { background: #3dbcd1; }
.faq-item:nth-child(5) .faq-item__num { background: #5ec8d8; }
.faq-item:nth-child(n + 6) .faq-item__num { background: #7ad2df; }

.faq-item__question {
  color: #374151;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.faq-item.is-open .faq-item__question {
  color: var(--cyan);
}

.faq-item__toggle {
  width: 22px;
  height: 14px;
  flex-shrink: 0;
  background-color: #9aa3af;
  -webkit-mask-image: var(--faq-icon-down);
  mask-image: var(--faq-icon-down);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.2s ease;
}
.faq-item.is-open .faq-item__toggle {
  -webkit-mask-image: var(--faq-icon-up);
  mask-image: var(--faq-icon-up);
  background-color: var(--cyan);
}

.faq-item__body {
  padding: 0 22px 20px 86px;
}
.faq-item__body[hidden] {
  display: none !important;
}
.faq-item__answer {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.65;
}
.faq-item__answer p {
  margin: 0 0 0.25em;
}
.faq-item__answer p:last-child {
  margin-bottom: 0;
}
.faq-item__answer ul {
  margin: 0 0 0.25em;
  padding-left: 20px;
}
.faq-item__answer ul li {
  margin: 0 0 0.25em;
}
.faq-cta-wrap {
  margin-top: -25px;
  text-align: center;
}
.faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 600px);
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(29, 64, 182, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.faq-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 32px rgba(29, 64, 182, 0.28);
  color: #fff !important;
}
.faq-cta__arrow {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.faq-cta__arrow svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  .faq-item__head {
    gap: 12px;
    padding: 16px 16px;
  }
  .faq-item__num {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
  .faq-item__body {
    padding: 0 16px 16px 16px;
  }
  .faq-cta {
    width: 100%;
    min-width: 0;
  }
  .faq-item__question{
    font-size: 16px;
  }
  .faq-item__toggle
  {
    width: 22px;
    height: 14px;
  }
}
