/* Contact page: settings come from the Thành Công admin screen. */
.tc-contact-hero {
  background: #edf5fb;
  padding: 30px 0 72px;
}
.tc-contact-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #536b7c;
  font-size: 14px;
  margin-bottom: 40px;
}
.tc-contact-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tc-contact-page .tc-contact-kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0874ad;
  margin-bottom: 16px;
}
.tc-contact-page h1 {
  font-size: clamp(34px, 4vw, 45px);
  color: #073b60;
  line-height: 1.18;
  margin-bottom: 24px;
}
.tc-contact-page h1 span {
  color: #0076b8;
}
.tc-contact-hero-grid > div > p:not(.tc-contact-kicker) {
  font-size: 18px;
  color: #4d6475;
  margin-bottom: 30px;
}
.tc-contact-hero-photo {
  position: relative;
  padding-bottom: 28px;
}
.tc-contact-hero-photo > img {
  height: 360px;
  border-radius: 22px;
  object-fit: cover;
}
.tc-contact-hero-photo > span {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  background: #ffca29;
  color: #073b60;
  padding: 20px 26px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
}
.tc-contact-hero-photo .tc-icon {
  width: 38px;
  height: 38px;
}
.tc-contact-channels,
.tc-contact-guide,
.tc-contact-location,
.tc-contact-extra {
  padding: 80px 0;
}
.tc-contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.tc-contact-channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid #dce7ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px #173f6008;
}
.tc-contact-channel-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #edf6fc;
  border-radius: 16px;
  margin-bottom: 24px;
}
.tc-contact-channel-icon .tc-icon {
  width: 32px;
  height: 32px;
}
.tc-contact-channel-zalo .tc-contact-channel-icon {
  background: #0675d5;
}
.tc-contact-channel h3 {
  font-size: 23px;
  color: #073b60;
  margin-bottom: 14px;
}
.tc-contact-channel p {
  color: #526777;
  font-size: 16px;
  margin-bottom: 24px;
}
.tc-contact-page .tc-contact-channel a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #006ba9;
  margin-top: auto;
  min-height: 44px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.tc-contact-channel a .tc-icon {
  width: 20px;
  height: 20px;
}
.tc-contact-page .tc-contact-channel .tc-contact-email {
  font-size: 16px;
}
.tc-contact-channel small {
  display: block;
  color: #60717e;
  font-size: 14px;
  margin-top: 8px;
}
.tc-contact-guide {
  background: #f0f6fb;
}
.tc-contact-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.tc-contact-guide h2,
.tc-contact-location h2 {
  margin-bottom: 24px;
}
.tc-contact-guide-grid > div > p:last-of-type,
.tc-contact-location p {
  font-size: 17px;
  color: #526777;
}
.tc-contact-assurance {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border-left: 3px solid #ffc527;
  border-radius: 0 12px 12px 0;
  margin-top: 28px;
  font-size: 16px;
}
.tc-contact-assurance .tc-icon {
  width: 24px;
  height: 24px;
  margin-top: 3px;
}
.tc-contact-preparation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.tc-contact-preparation li {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dce7ef;
  background: #fff;
  border-radius: 14px;
  margin: 0;
}
.tc-contact-preparation li > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eaf5fc;
  color: #006ba9;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
}
.tc-contact-preparation h3 {
  font-size: 20px;
  color: #073b60;
  margin-bottom: 8px;
}
.tc-contact-preparation p {
  font-size: 16px;
  color: #526777;
}
.tc-contact-location {
  background: #fffaf0;
}
.tc-contact-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tc-contact-location-visual {
  position: relative;
  min-height: 320px;
  background: #e5eef1;
  border: 1px solid #d4e2e6;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.tc-contact-map-lines {
  position: absolute;
  inset: -50%;
  transform: rotate(-24deg);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 64px,
      #fff 64px 78px,
      transparent 78px 145px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 85px,
      #fff 85px 101px,
      transparent 101px 180px
    );
  opacity: 0.65;
}
.tc-contact-location-visual .tc-icon {
  position: relative;
  width: 68px;
  height: 68px;
  background: #fff;
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 8px 24px #073b6020;
}
.tc-contact-location-visual > span:last-child {
  position: relative;
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #073b60;
}
.tc-contact-location .tc-contact-address {
  font-weight: 700;
  font-size: 20px;
  color: #073b60;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.tc-contact-location .tc-button {
  margin-top: 28px;
  white-space: normal;
  text-align: center;
}
.tc-contact-extra .tc-wrap {
  max-width: 900px;
  overflow-wrap: anywhere;
}
.tc-contact-page a:focus-visible {
  outline: 3px solid #e6a800;
  outline-offset: 4px;
}
@media (max-width: 1024px) {
  .tc-contact-hero-grid,
  .tc-contact-guide-grid,
  .tc-contact-location-grid {
    gap: 32px;
  }
  .tc-contact-channel {
    padding: 26px;
  }
}
@media (max-width: 767px) {
  .tc-contact-hero {
    padding: 24px 0 52px;
  }
  .tc-contact-breadcrumb {
    margin-bottom: 30px;
  }
  .tc-contact-hero-grid,
  .tc-contact-guide-grid,
  .tc-contact-location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tc-contact-hero-grid > div > p:not(.tc-contact-kicker) {
    font-size: 17px;
  }
  .tc-contact-hero-photo > img {
    height: 280px;
  }
  .tc-contact-hero-photo > span {
    left: 14px;
    right: 14px;
    padding: 16px 20px;
    font-size: 17px;
  }
  .tc-contact-channels,
  .tc-contact-guide,
  .tc-contact-location,
  .tc-contact-extra {
    padding: 52px 0;
  }
  .tc-contact-channel-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tc-contact-preparation li {
    padding: 20px;
    gap: 14px;
  }
  .tc-contact-assurance {
    padding: 18px;
  }
  .tc-contact-location-visual {
    min-height: 250px;
  }
}
