/* =========================================================================
   /dien-hoa/ + /cong-nghe-hybrid-toyota/ pages — Điện hóa layout.
   ========================================================================= */

.tdt-electric__container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

.tdt-electric__section-title {
  font-family: 'Toyota Type', 'Toyota Type Book', Inter, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.tdt-electric__section-title--white { color: #fff; }

.tdt-electric__intro {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #3A3A3A;
}

/* -------- Banner -------- */
.tdt-electric__banner {
  background: linear-gradient(180deg, #1A1A1A 0%, #2A2A2A 100%);
  color: #fff;
  padding: 80px 15px;
  text-align: center;
}
.tdt-electric__banner-inner {
  max-width: 900px;
  margin: 0 auto;
}
.tdt-electric__banner-title {
  font-size: 48px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 12px;
}
.tdt-electric__banner-tagline {
  font-size: 22px;
  font-weight: 600;
  color: #EB0A1E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 32px;
}
.tdt-electric__banner-body p {
  font-size: 16px;
  line-height: 1.75;
  color: #E5E5E5;
  margin: 0 0 16px;
  text-align: left;
}

/* -------- Journey timeline -------- */
.tdt-electric__journey {
  background: #fff;
  padding: 80px 0;
}
.tdt-electric__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.tdt-electric__timeline::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28px;
  height: 2px;
  background: #EB0A1E;
  z-index: 0;
}
.tdt-electric__milestone {
  position: relative;
  text-align: center;
  padding-top: 48px;
  z-index: 1;
}
.tdt-electric__year {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #EB0A1E;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: 4px;
  margin: 0;
}
.tdt-electric__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #3A3A3A;
  margin: 0;
  padding: 0 8px;
}

/* -------- Possible (fullscreen bg) -------- */
.tdt-electric__possible {
  position: relative;
  background-color: #000;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 20px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tdt-electric__possible::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.tdt-electric__possible-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}
.tdt-electric__possible-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #E5E5E5;
  margin: 0;
}

/* -------- Mobility HEV / PHEV / BEV cards -------- */
.tdt-electric__mobility {
  background: #F5F5F5;
  padding: 80px 0;
}
.tdt-electric__mob-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  margin-bottom: 32px;
  overflow: hidden;
}
.tdt-electric__mob-card:nth-child(odd) { grid-template-columns: 1fr 1fr; }
.tdt-electric__mob-card:nth-child(even) { direction: rtl; }
.tdt-electric__mob-card:nth-child(even) > * { direction: ltr; }
.tdt-electric__mob-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tdt-electric__mob-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tdt-electric__mob-body {
  padding: 40px;
}
.tdt-electric__mob-label {
  font-size: 28px;
  font-weight: 400;
  color: #EB0A1E;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}
.tdt-electric__mob-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #3A3A3A;
  margin: 0 0 20px;
}
.tdt-electric__mob-points {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tdt-electric__mob-points li {
  font-size: 14px;
  color: #1A1A1A;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #E5E5E5;
}
.tdt-electric__mob-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #EB0A1E;
  font-weight: 400;
}
.tdt-electric__mob-points li:last-child { border-bottom: 0; }

/* -------- Explore vehicles -------- */
.tdt-electric__explore {
  background: #fff;
  padding: 80px 0;
}
.tdt-electric__explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.tdt-electric__explore-card {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform .2s;
}
.tdt-electric__explore-card:hover { transform: translateY(-4px); }
.tdt-electric__explore-img {
  aspect-ratio: 16/10;
  background: #F5F5F5;
  overflow: hidden;
  margin-bottom: 12px;
}
.tdt-electric__explore-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.tdt-electric__explore-name {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
}

/* -------- Impact (2-col image + text) -------- */
.tdt-electric__impact { background: #fff; padding: 80px 0; }
.tdt-electric__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tdt-electric__two-col-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.tdt-electric__two-col-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #3A3A3A;
  margin: 0 0 16px;
}

/* -------- Works / steps -------- */
.tdt-electric__works { background: #F5F5F5; padding: 80px 0; }
.tdt-electric__works-image { margin: 40px 0; }
.tdt-electric__works-image img { width: 100%; height: auto; display: block; }
.tdt-electric__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.tdt-electric__step {
  background: #fff;
  padding: 28px 24px;
  text-align: center;
  border-top: 4px solid #EB0A1E;
}
.tdt-electric__step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EB0A1E;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
}
.tdt-electric__step-title {
  font-size: 17px;
  font-weight: 400;
  color: #1A1A1A;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.tdt-electric__step-desc {
  font-size: 13px;
  color: #3A3A3A;
  line-height: 1.55;
  margin: 0;
}

/* -------- Choose / 4 reasons grid -------- */
.tdt-electric__choose { background: #fff; padding: 80px 0; }
.tdt-electric__choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.tdt-electric__reason {
  background: #F5F5F5;
  overflow: hidden;
}
.tdt-electric__reason-img { aspect-ratio: 16/9; overflow: hidden; }
.tdt-electric__reason-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.tdt-electric__reason:hover .tdt-electric__reason-img img { transform: scale(1.02); }
.tdt-electric__reason-title {
  font-size: 18px;
  font-weight: 400;
  color: #1A1A1A;
  margin: 20px 24px 8px;
  text-transform: uppercase;
}
.tdt-electric__reason-desc {
  font-size: 14px;
  color: #3A3A3A;
  line-height: 1.6;
  margin: 0 24px 24px;
}

@media (max-width: 1024px) {
  .tdt-electric__timeline { grid-template-columns: repeat(2, 1fr); }
  .tdt-electric__timeline::before { display: none; }
  .tdt-electric__explore-grid { grid-template-columns: repeat(2, 1fr); }
  .tdt-electric__steps { grid-template-columns: repeat(2, 1fr); }
  .tdt-electric__two-col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .tdt-electric__banner { padding: 48px 15px; }
  .tdt-electric__banner-title { font-size: 28px; }
  .tdt-electric__banner-tagline { font-size: 16px; }
  .tdt-electric__section-title { font-size: 22px; }
  .tdt-electric__mob-card { grid-template-columns: 1fr; }
  .tdt-electric__mob-card:nth-child(even) { direction: ltr; }
  .tdt-electric__mob-body { padding: 24px; }
  .tdt-electric__mob-label { font-size: 20px; }
  .tdt-electric__timeline { grid-template-columns: 1fr; }
  .tdt-electric__explore-grid { grid-template-columns: 1fr; }
  .tdt-electric__possible { padding: 80px 20px; }
  .tdt-electric__steps { grid-template-columns: 1fr; }
  .tdt-electric__choose-grid { grid-template-columns: 1fr; }
}
