/* Minh Tâm Bảo — Trang chủ premium 2026 */
:root {
  --mtb-home-ink: #142d27;
  --mtb-home-ink-soft: #23483d;
  --mtb-home-muted: #6d7873;
  --mtb-home-gold: #b99552;
  --mtb-home-gold-soft: #dbc28c;
  --mtb-home-cream: #f6f2e9;
  --mtb-home-paper: #fffdf9;
  --mtb-home-line: rgba(20, 45, 39, .11);
}

body.mtb-modern {
  background: #f5f1e9;
}

body.mtb-modern .hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #101713;
}

body.mtb-modern .hero-section > .mtb-home-hero-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #101713;
}

body.mtb-modern .hero-section.mtb-video-active > .mtb-home-hero-placeholder {
  opacity: 0;
  pointer-events: none;
}

.mtb-home-main {
  overflow: clip;
  color: var(--mtb-home-ink);
}

.mtb-home-section {
  width: min(calc(100% - 32px), 1760px);
  margin: 28px auto 0;
  border-radius: 34px;
}

.mtb-home-inner {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 92px) clamp(22px, 5vw, 78px);
}

.mtb-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--mtb-home-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.mtb-home-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mtb-home-gold);
  box-shadow: 0 0 0 6px rgba(185, 149, 82, .10);
}

.mtb-home-display {
  margin: 0;
  color: var(--mtb-home-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.55rem, 5.2vw, 5.9rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.mtb-home-display em {
  color: var(--mtb-home-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.mtb-home-lead {
  margin: 0;
  color: var(--mtb-home-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.85;
}

.mtb-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mtb-home-ink);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.mtb-home-link span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mtb-home-ink);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}

.mtb-home-link:hover {
  color: var(--mtb-home-gold);
}

.mtb-home-link:hover span {
  background: var(--mtb-home-gold);
  transform: translateX(3px);
}

/* About */
.mtb-home-about {
  overflow: hidden;
  border: 1px solid var(--mtb-home-line);
  background:
    radial-gradient(circle at 0 0, rgba(185,149,82,.11), transparent 31%),
    linear-gradient(135deg, #fffdf9 0%, #fbfaf6 100%);
  box-shadow: 0 30px 80px rgba(20, 45, 39, .07);
}

.mtb-home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(46px, 7vw, 112px);
}

.mtb-home-about__legal {
  margin: 26px 0 16px;
  color: #8b928f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mtb-home-about__copy .mtb-home-lead + .mtb-home-lead {
  margin-top: 14px;
}

.mtb-home-about__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.mtb-home-about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.mtb-home-about__stat {
  padding: 19px 18px;
  border-top: 1px solid var(--mtb-home-line);
}

.mtb-home-about__stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mtb-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.3vw, 2.5rem);
  font-weight: 500;
}

.mtb-home-about__stat span {
  color: var(--mtb-home-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.mtb-home-about__visual {
  position: relative;
  min-height: 610px;
}

.mtb-home-about__visual-frame {
  position: absolute;
  inset: 0 0 0 10%;
  overflow: hidden;
  border-radius: 28px;
  background: #e8e9e3;
  box-shadow: 0 24px 70px rgba(18, 42, 34, .17);
}

.mtb-home-about__visual-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.mtb-home-about__visual:hover img {
  transform: scale(1.025);
}

.mtb-home-about__seal {
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 2;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mtb-home-ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(20,45,39,.25);
}

.mtb-home-about__seal small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.mtb-home-about__seal strong {
  margin-top: 3px;
  color: var(--mtb-home-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.mtb-home-about__quote {
  position: absolute;
  right: -12px;
  bottom: 30px;
  z-index: 3;
  max-width: 300px;
  padding: 21px 24px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 18px;
  background: rgba(255,253,249,.91);
  color: var(--mtb-home-ink);
  box-shadow: 0 18px 44px rgba(12,35,28,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Four pillars */
.mtb-home-pillars {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0, rgba(219,194,140,.12), transparent 26%),
    linear-gradient(135deg, #102f27 0%, #173e33 58%, #0b271f 100%);
  color: #fff;
}

.mtb-home-pillars .mtb-home-eyebrow,
.mtb-home-pillars .mtb-home-display {
  color: #fff;
}

.mtb-home-pillars .mtb-home-display em {
  color: var(--mtb-home-gold-soft);
}

.mtb-home-pillars__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: end;
  margin-bottom: 48px;
}

.mtb-home-pillars__header .mtb-home-lead {
  color: rgba(255,255,255,.67);
}

.mtb-home-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}

.mtb-home-pillar {
  min-height: 300px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .28s ease, transform .28s ease;
}

.mtb-home-pillar:hover {
  background: rgba(255,255,255,.055);
}

.mtb-home-pillar__num {
  display: block;
  margin-bottom: 76px;
  color: var(--mtb-home-gold-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.mtb-home-pillar h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  font-weight: 500;
}

.mtb-home-pillar p {
  margin: 0;
  color: rgba(255,255,255,.67);
  line-height: 1.75;
}

/* Sen Tram culture */
.mtb-home-culture {
  border: 1px solid var(--mtb-home-line);
  background: #fffdf9;
}

.mtb-home-culture__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: stretch;
}

.mtb-home-culture__statement {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: clamp(0px, 2vw, 24px);
}

.mtb-home-culture__statement blockquote {
  margin: 40px 0 0;
  color: var(--mtb-home-ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.5rem);
  line-height: 1.35;
}

.mtb-home-culture__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mtb-home-culture-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 26px;
  background: #eff1eb;
}

.mtb-home-culture-card:nth-child(2) {
  background: #e9e2d5;
}

.mtb-home-culture-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(20,45,39,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(20,45,39,.025), 0 0 0 68px rgba(20,45,39,.018);
}

.mtb-home-culture-card__mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mtb-home-ink);
  color: var(--mtb-home-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.mtb-home-culture-card h3 {
  margin: 118px 0 14px;
  color: var(--mtb-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
}

.mtb-home-culture-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--mtb-home-muted);
  line-height: 1.78;
}

/* Journey */
.mtb-home-journey {
  background: transparent;
}

.mtb-home-journey .mtb-home-inner {
  padding-left: 0;
  padding-right: 0;
}

.mtb-home-journey__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: 40px;
  align-items: end;
  padding: 0 clamp(22px, 5vw, 78px);
  margin-bottom: 34px;
}

.mtb-home-timeline {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 clamp(22px, 5vw, 78px) 18px;
  cursor: grab;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.mtb-home-timeline::-webkit-scrollbar { display: none; }
.mtb-home-timeline.is-dragging { cursor: grabbing; user-select: none; }

.mtb-home-timeline__rail {
  display: flex;
  width: max-content;
  border-top: 1px solid var(--mtb-home-line);
}

.mtb-home-year {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 360px);
  min-height: 250px;
  padding: 36px 34px 28px 0;
  scroll-snap-align: start;
}

.mtb-home-year::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--mtb-home-paper);
  border-radius: 50%;
  background: var(--mtb-home-gold);
  box-shadow: 0 0 0 1px var(--mtb-home-gold);
}

.mtb-home-year strong {
  display: block;
  margin-bottom: 42px;
  color: var(--mtb-home-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.mtb-home-year h3 {
  margin: 0 0 10px;
  color: var(--mtb-home-ink);
  font-size: 1.06rem;
  font-weight: 800;
}

.mtb-home-year p {
  margin: 0;
  color: var(--mtb-home-muted);
  font-size: .94rem;
  line-height: 1.65;
}

/* Network */
.mtb-home-network {
  overflow: hidden;
  background: linear-gradient(140deg, #e9e2d4 0%, #f7f2e7 56%, #edf1eb 100%);
}

.mtb-home-network__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.mtb-home-network__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mtb-home-metric {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(20,45,39,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.52);
}

.mtb-home-metric strong {
  color: var(--mtb-home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.mtb-home-metric span {
  margin-top: 10px;
  color: var(--mtb-home-muted);
  line-height: 1.5;
}

.mtb-home-network__copy .mtb-home-lead {
  margin: 24px 0 28px;
}

/* Explore cards */
.mtb-home-explore {
  background: #fffdf9;
  border: 1px solid var(--mtb-home-line);
}

.mtb-home-explore__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.mtb-home-explore__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mtb-home-explore-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border-radius: 24px;
  background: #f1f0ea;
  color: var(--mtb-home-ink);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.mtb-home-explore-card:nth-child(2) { background: #e8eee9; }
.mtb-home-explore-card:nth-child(3) { background: #ebe2d5; }

.mtb-home-explore-card:hover {
  transform: translateY(-6px);
  color: var(--mtb-home-ink);
  box-shadow: 0 22px 48px rgba(20,45,39,.10);
}

.mtb-home-explore-card__num {
  color: var(--mtb-home-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.mtb-home-explore-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  font-weight: 500;
}

.mtb-home-explore-card p {
  max-width: 330px;
  margin: 0;
  color: var(--mtb-home-muted);
  line-height: 1.65;
}

.mtb-home-explore-card__arrow {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  font-size: 1.1rem;
}

/* Final CTA */
.mtb-home-final {
  margin-bottom: 30px;
  overflow: hidden;
  background: var(--mtb-home-ink);
  color: #fff;
}

.mtb-home-final__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.mtb-home-final .mtb-home-eyebrow,
.mtb-home-final .mtb-home-display {
  color: #fff;
}

.mtb-home-final .mtb-home-display {
  max-width: 1000px;
  font-size: clamp(2.35rem, 4.5vw, 5rem);
}

.mtb-home-final__button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 36px;
  border-radius: 999px;
  background: var(--mtb-home-gold-soft);
  color: var(--mtb-home-ink);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.mtb-home-final__button:hover {
  color: var(--mtb-home-ink);
  background: #ecd7a9;
  transform: translateY(-3px);
}

.mtb-home-final__button span {
  font-size: 1.2rem;
}

/* Reveal */
.mtb-home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.mtb-home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .mtb-home-about__grid,
  .mtb-home-culture__grid,
  .mtb-home-network__grid {
    grid-template-columns: 1fr;
  }

  .mtb-home-about__visual {
    min-height: 560px;
  }

  .mtb-home-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtb-home-pillars__header,
  .mtb-home-journey__header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mtb-home-section {
    width: calc(100% - 16px);
    margin-top: 12px;
    border-radius: 18px;
  }

  .mtb-home-inner {
    padding: 26px 16px;
  }

  .mtb-home-eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .mtb-home-display {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  .mtb-home-lead {
    font-size: .93rem;
    line-height: 1.7;
  }

  /* About — ẩn đoạn lead thứ 2 và visual ảnh cho gọn */
  .mtb-home-about__copy .mtb-home-lead + .mtb-home-lead {
    display: none;
  }

  .mtb-home-about__visual {
    display: none;
  }

  .mtb-home-about__legal {
    margin: 14px 0 10px;
    font-size: .72rem;
  }

  .mtb-home-about__actions {
    margin-top: 20px;
  }

  .mtb-home-about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 22px;
  }

  .mtb-home-about__stat {
    padding: 14px 10px;
    border-top: 1px solid var(--mtb-home-line);
    border-right: 1px solid var(--mtb-home-line);
  }

  .mtb-home-about__stat:last-child {
    border-right: 0;
  }

  .mtb-home-about__stat strong {
    margin: 0;
    font-size: 1.5rem;
  }

  .mtb-home-about__stat span {
    font-size: .74rem;
  }

  /* Pillars — 2 cột thay vì 1 */
  .mtb-home-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtb-home-pillar {
    min-height: 0;
    padding: 18px 16px;
  }

  .mtb-home-pillar__num {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .mtb-home-pillar h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .mtb-home-pillar p {
    font-size: .88rem;
    line-height: 1.6;
  }

  /* Culture — ẩn bớt text dài trong card */
  .mtb-home-culture__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mtb-home-culture-card {
    min-height: 0;
    padding: 20px 18px;
  }

  .mtb-home-culture-card h3 {
    margin-top: 48px;
    font-size: 1.8rem;
  }

  .mtb-home-culture__statement blockquote {
    font-size: 1.2rem;
    margin-top: 20px;
  }

  /* Journey — layout dọc trên mobile */
  .mtb-home-journey .mtb-home-inner {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .mtb-home-journey__header {
    padding: 0 16px;
  }

  .mtb-home-journey__header .mtb-home-lead {
    display: none;
  }

  .mtb-home-timeline {
    overflow: visible;
    padding: 0 16px;
    cursor: default;
    scroll-snap-type: none;
  }

  .mtb-home-timeline__rail {
    display: block;
    width: 100%;
    border-top: none;
    border-left: 2px solid var(--mtb-home-gold);
    padding-left: 20px;
  }

  .mtb-home-year {
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 0 0 28px 0;
    scroll-snap-align: none;
  }

  .mtb-home-year::before {
    top: 4px;
    left: -27px;
    width: 10px;
    height: 10px;
  }

  .mtb-home-year strong {
    font-size: 1.55rem;
    margin-bottom: 8px;
  }

  .mtb-home-year h3 {
    font-size: .97rem;
    margin-bottom: 4px;
  }

  .mtb-home-year p {
    font-size: .88rem;
  }

  /* Network — 2 cột */
  .mtb-home-network__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mtb-home-metric {
    min-height: 130px;
    padding: 16px;
    border-radius: 16px;
  }

  .mtb-home-metric strong {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .mtb-home-metric span {
    font-size: .82rem;
    margin-top: 6px;
  }

  /* Explore — 1 cột */
  .mtb-home-explore__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mtb-home-explore-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .mtb-home-explore-card h3 {
    font-size: 1.4rem;
  }

  .mtb-home-explore__header {
    display: block;
  }

  .mtb-home-explore__header .mtb-home-link {
    margin-top: 16px;
  }

  /* Final CTA */
  .mtb-home-final__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mtb-home-final .mtb-home-display {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .mtb-home-final__button {
    width: 100%;
    min-width: 0;
    height: auto;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: .9rem;
    justify-self: stretch;
  }

  .mtb-home-final__button span {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtb-home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mtb-home-about__visual-frame img,
  .mtb-home-link span,
  .mtb-home-explore-card,
  .mtb-home-final__button {
    transition: none !important;
  }
}
