/* =========================================================================
   Single Technology + Single Service — /cong-nghe/* /dich-vu/*.
   Styles replicated 1:1 from toyota.com.vn (font/size/color/spacing).
   ========================================================================= */

.tdt-tech__container,
.tdt-service__container {
  max-width: 1446px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Original pattern: .title-highlight (red left-bar) ============ */
/* Used for section titles — 24px / fw 400 / no uppercase / red left border 5px */
.tdt-tech__section-title,
.tdt-service__section-title,
.tdt-tech .title-highlight,
.tdt-service .title-highlight {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  line-height: 34px;
  letter-spacing: normal;
  text-transform: none;
  margin: 0 0 16px;
  padding: 0 0 0 12px;
  border-left: 5px solid #EB0A1E;
  text-align: left;
}
.tdt-tech__section-title--left,
.tdt-service__section-title--left { text-align: left; }

/* Replicated from toyota.com.vn (.section-information content pattern) */
.tdt-tech .normal-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  color: #000;
  text-transform: uppercase;
  margin: 60px 0 32px;
}
.tdt-tech .normal-text {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: #000;
  margin: 0 0 32px;
}
.tdt-tech .image-technology {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 60px auto;
}
.tdt-tech .image-technology.mobile { display: none; }
.tdt-tech .box-container-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.tdt-tech .contain-item-flex {
  width: 100%;
  margin: 24px 0 0;
}
.tdt-tech .contain-item-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000;
  margin: 0 0 32px;
}
.tdt-tech .contain-item-description {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
  margin: 0;
}
.tdt-tech .contain-item-flex img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 32px;
}

@media (max-width: 767px) {
  .tdt-tech .image-technology.desktop { display: none; }
  .tdt-tech .image-technology.mobile { display: block; }
  .tdt-tech .normal-title { font-size: 18px; line-height: 26px; margin: 40px 0 20px; }
  .tdt-tech .image-technology { margin: 40px auto; }
}

/* =========================================================================
   TECHNOLOGY  — matches .section-information structure
   ========================================================================= */

/* Hero — full-width image (no overlay text) */
.tdt-tech__hero {
  position: relative;
  width: 100%;
  max-height: 560px;
  overflow: hidden;
  background-color: #0A0A0A;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  aspect-ratio: 1425 / 464;
}
.tdt-tech__hero-overlay { display: none; }  /* hidden on pages where hero is just image */

/* Page title row (below hero, outside container style) */
.tdt-tech__page-title-row {
  padding: 40px 0 8px;
  background: #fff;
}
.tdt-tech__page-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: #212529;
  margin: 0 0 8px;
  text-transform: none;
  letter-spacing: normal;
}

/* Intro (first text block after hero) */
.tdt-tech__intro { padding: 40px 0; background: #fff; }
.tdt-tech__intro-body {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: #000;
}
.tdt-tech__intro-body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 23px;
}

/* Feature sections (alternating image + text) */
.tdt-tech__feature {
  padding: 40px 0;
  margin-bottom: 24px;
}
.tdt-tech__feature--white { background: #fff; }
.tdt-tech__feature--gray  { background: #F7F7F7; }

.tdt-tech__feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tdt-tech__feature-grid.is-reversed { direction: rtl; }
.tdt-tech__feature-grid.is-reversed > * { direction: ltr; }

.tdt-tech__feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.tdt-tech__feature-img-full {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px;
  display: block;
}
.tdt-tech__feature-body {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: #000;
}
.tdt-tech__feature-body p { margin: 0 0 16px; }
.tdt-tech__feature-body ul,
.tdt-tech__feature-body ol { padding-left: 20px; margin: 0 0 16px; }
.tdt-tech__feature-body li { margin-bottom: 8px; line-height: 24px; }
.tdt-tech__feature-body strong { font-weight: 500; color: #212529; }

/* Videos — "TÌM HIỂU THÊM" section */
.tdt-tech__videos {
  padding: 40px 0 60px;
  background: #fff;
}
.tdt-tech__videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 24px auto 0;
}
.tdt-tech__video {
  display: block;
  text-decoration: none;
  color: inherit;
}
.tdt-tech__video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #1A1A1A;
  overflow: hidden;
}
.tdt-tech__video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.tdt-tech__video:hover .tdt-tech__video-thumb img { transform: scale(1.04); }
.tdt-tech__video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(235, 10, 30, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  transition: transform .2s, background .2s;
}
.tdt-tech__video:hover .tdt-tech__video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #EB0A1E;
}
.tdt-tech__video-title {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: #000;
}

/* Bottom CTA form */
.tdt-tech__cta-bottom {
  background: #EB0A1E;
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.tdt-tech__cta-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #fff;
  line-height: 34px;
  text-transform: none;
}
.tdt-tech__cta-btn {
  display: inline-block;
  background: #fff;
  color: #EB0A1E;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform .2s;
}
.tdt-tech__cta-btn:hover { transform: translateY(-2px); }

/* =========================================================================
   SERVICE
   ========================================================================= */

.tdt-service__hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 1425 / 464;
  max-height: 464px;
  background-color: #1A1A1A;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.tdt-service__hero-overlay { display: none; }

/* Page title row */
.tdt-service__page-title-row {
  padding: 40px 0 8px;
  background: #fff;
}
.tdt-service__page-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: #212529;
  margin: 0 0 8px;
}
.tdt-service__page-sub {
  font-size: 16px;
  color: #3A3A3A;
  margin: 0;
  font-weight: 400;
}

.tdt-service__intro { padding: 32px 0 40px; background: #fff; }
.tdt-service__intro-body {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 23px;
  color: #000;
}
.tdt-service__intro-body p { margin: 0 0 16px; }

/* Benefits — horizontal row with icon + text */
.tdt-service__benefits { background: #F7F7F7; padding: 48px 0; }
.tdt-service__benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.tdt-service__benefit {
  background: #fff;
  padding: 32px 20px;
  text-align: center;
}
.tdt-service__benefit-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}
.tdt-service__benefit-icon--placeholder {
  color: #EB0A1E;
  font-size: 44px;
  line-height: 56px;
}
.tdt-service__benefit-title {
  font-size: 16px;
  font-weight: 500;
  color: #212529;
  margin: 0 0 8px;
  line-height: 22px;
}
.tdt-service__benefit-desc {
  font-size: 14px;
  color: #3A3A3A;
  line-height: 21px;
  margin: 0;
}

/* Service tiers (pricing cards) */
.tdt-service__tiers { background: #fff; padding: 48px 0; }
.tdt-service__tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.tdt-service__tier {
  background: #F7F7F7;
  padding: 32px 24px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.tdt-service__tier.is-highlight {
  border-color: #EB0A1E;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.tdt-service__tier-name {
  font-size: 18px;
  font-weight: 500;
  color: #212529;
  margin: 0 0 8px;
  text-transform: none;
}
.tdt-service__tier-price {
  font-size: 28px;
  font-weight: 500;
  color: #EB0A1E;
  margin: 0 0 20px;
  line-height: 34px;
}
.tdt-service__tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.tdt-service__tier-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: #212529;
  border-bottom: 1px solid #E5E5E5;
  line-height: 20px;
}
.tdt-service__tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  color: #EB0A1E;
  font-weight: 400;
}
.tdt-service__tier-cta {
  display: block;
  text-align: center;
  padding: 11px;
  background: #EB0A1E;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.tdt-service__tier-cta:hover { background: #c5091a; }

/* Process */
.tdt-service__process { background: #F7F7F7; padding: 48px 0; }
.tdt-service__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.tdt-service__step {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}
.tdt-service__step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #EB0A1E;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
}
.tdt-service__step-title {
  font-size: 16px;
  font-weight: 500;
  color: #212529;
  margin: 0 0 8px;
  line-height: 22px;
}
.tdt-service__step-desc {
  font-size: 13px;
  color: #3A3A3A;
  line-height: 19px;
  margin: 0;
}

/* Bottom CTA */
.tdt-service__cta-bottom {
  background: #EB0A1E;
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.tdt-service__cta-title {
  font-family: 'Toyota Type', Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #fff;
  line-height: 32px;
  text-transform: none;
}
.tdt-service__cta-btn {
  display: inline-block;
  background: #fff;
  color: #EB0A1E;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform .2s;
}
.tdt-service__cta-btn:hover { transform: translateY(-2px); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .tdt-tech__feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .tdt-tech__feature-grid.is-reversed { direction: ltr; }
  .tdt-tech__videos-grid { grid-template-columns: 1fr; }
  .tdt-service__benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tdt-service__tiers-grid { grid-template-columns: 1fr; }
  .tdt-service__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .tdt-tech__page-title, .tdt-service__page-title { font-size: 28px; line-height: 36px; }
  .tdt-tech__section-title, .tdt-service__section-title { font-size: 20px; line-height: 28px; }
  .tdt-tech__feature, .tdt-service__benefits, .tdt-service__tiers,
  .tdt-service__process, .tdt-tech__videos, .tdt-tech__intro { padding: 32px 0; }
  .tdt-service__benefits-grid, .tdt-service__steps { grid-template-columns: 1fr; }
  .tdt-tech__cta-title, .tdt-service__cta-title { font-size: 20px; line-height: 28px; }
}

/* =========================================================================
   Top sticky black tab bar (toyota.com.vn/cong-nghe style).
   ========================================================================= */
.tdt-tech__topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tdt-tech__topnav-inner {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.tdt-tech__topnav-link {
  color: #CCCCCC;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 2px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tdt-tech__topnav-link:hover { color: #fff; }
.tdt-tech__topnav-link.is-active {
  color: #fff;
  border-bottom-color: #EB0A1E;
}

.tdt-tech__breadcrumb {
  font-size: 13px;
  color: #808080;
  margin: 0 0 12px;
}
.tdt-tech__breadcrumb a { color: #3A3A3A; text-decoration: none; }
.tdt-tech__breadcrumb a:hover { color: #EB0A1E; }

.tdt-tech__content-wp { padding: 40px 0 60px; }
.tdt-tech__content-wp .tdt-tech__container > * {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
/* Match toyota.com.vn computed styles 1:1:
   title-highlight (24/500 red-border) · normal-title (24/700 uppercase black margin 60/0/32)
   · normal-text / p (16/400 lh 23 black margin 0/0/32).  */
.tdt-tech__content-wp h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  margin: 60px auto 32px;
  line-height: 36px;
  border-left: 0;
  padding-left: 0;
  letter-spacing: normal;
}
.tdt-tech__content-wp h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin: 32px auto 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tdt-tech__content-wp p {
  font-size: 16px;
  line-height: 23px;
  color: #000;
  font-weight: 400;
  margin: 0 auto 32px;
}
.tdt-tech__content-wp img {
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  display: block;
}
.tdt-tech__content-wp ul,
.tdt-tech__content-wp ol {
  padding-left: 20px;
  margin: 0 auto 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #1A1A1A;
}

.tdt-tech__related { padding: 56px 0; background: #F5F5F5; }
.tdt-tech__related-title {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 16px;
  margin: 0 0 28px;
  border-bottom: 1px solid #D9D9D9;
}
.tdt-tech__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Learn more cards — image (or video) + caption. */
.tdt-tech__lm-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  transition: transform .2s;
}
.tdt-tech__lm-card.is-video { cursor: pointer; }
.tdt-tech__lm-card:hover { transform: translateY(-2px); }
.tdt-tech__lm-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F5F5F5;
}
.tdt-tech__lm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tdt-tech__lm-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(235, 10, 30, 0.92);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform .2s, background .15s;
}
.tdt-tech__lm-card.is-video:hover .tdt-tech__lm-play {
  background: #c5091a;
  transform: scale(1.08);
}
.tdt-tech__lm-caption {
  font-size: 14px;
  color: #1A1A1A;
  padding: 14px 2px 0;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .tdt-tech__topnav-inner { gap: 20px; padding: 0 12px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .tdt-tech__related-grid { grid-template-columns: 1fr; }
}
