.tm-body {
  background: #fbf8f4;
  color: #4c574f;
  font-family: var(--default-font);
}

.tm-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e7ded4;
  backdrop-filter: blur(14px);
}

.tm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #263328;
  font-weight: 800;
  text-decoration: none;
}

.tm-brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  border: 2px solid #4a2d20;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.tm-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Memastikan gambar menutupi area dengan proporsi terjaga */
  object-position: center; /* Posisi gambar di tengah */
  border-radius: inherit;   /* Me-warisi border-radius dari parent */
  display: block;           /* Menghilangkan jarak bawah default inline image */
}

.tm-brand span span {
  display: block;
  line-height: 1.12;
}

.tm-brand-small {
  color: #1f7a4d;
  font-size: 0.78rem;
  font-weight: 700;
}

.tm-nav .nav-link {
  color: #263328;
  font-weight: 700;
}

.tm-nav .nav-link:hover,
.tm-nav .nav-link.active {
  color: #a3283d;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.tm-btn-primary {
  border: 1px solid #a3283d;
  background: #a3283d;
  color: #ffffff;
}

.tm-btn-primary:hover {
  border-color: #781d2e;
  background: #781d2e;
  color: #ffffff;
}

.tm-btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.tm-btn-outline:hover {
  background: #ffffff;
  color: #781d2e;
}

.tm-btn-soft {
  border: 1px solid #a3283d;
  color: #a3283d;
}

.tm-btn-soft:hover {
  background: #a3283d;
  color: #ffffff;
}

.tm-hero,
.tm-page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #263328;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tm-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.tm-page-hero {
  padding: 118px 0 104px;
}

.tm-hero::after,
.tm-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, #a3283d, #d8a33d, #1f7a4d);
}

.tm-hero h1,
.tm-page-hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.tm-page-hero h1 {
  font-size: 3.2rem;
}

.tm-hero p,
.tm-page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.tm-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f0be5b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tm-section {
  padding: 84px 0;
}

.tm-section-soft {
  background: #edf6ef;
}

.tm-section-title {
  max-width: 760px;
  margin-bottom: 38px;
}

.tm-section-title.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.tm-section-title h2,
.tm-card-dark h2,
.tm-form-panel h2 {
  color: #263328;
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.tm-card,
.tm-product-card,
.tm-training-card,
.tm-team-card,
.tm-testimonial,
.tm-form-panel,
.tm-contact-card,
.tm-map-card {
  height: 100%;
  border: 1px solid #e7ded4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(38, 51, 40, 0.07);
}

.tm-card,
.tm-training-card,
.tm-team-card,
.tm-testimonial,
.tm-form-panel,
.tm-contact-card {
  padding: 28px;
}

.tm-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 8px;
  background: #edf6ef;
  color: #1f7a4d;
  font-size: 1.25rem;
}

.tm-card h3,
.tm-product-card h3,
.tm-training-card h3,
.tm-team-card h3,
.tm-contact-card h3 {
  color: #263328;
  font-weight: 800;
}

.tm-product-card {
  overflow: hidden;
}

.tm-product-card img,
.tm-card-visual {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.tm-card-visual {
  display: grid;
  place-items: end start;
  padding: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(163, 40, 61, 0.96), rgba(216, 163, 61, 0.76)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px);
}

.tm-card-visual.green {
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.96), rgba(21, 89, 58, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px);
}

.tm-card-visual span {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(38, 51, 40, 0.78);
  font-weight: 800;
}

.tm-product-body {
  padding: 24px;
}

.tm-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #a3283d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tm-specs {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.tm-specs div,
.tm-training-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f8fbf7;
}

.tm-specs strong,
.tm-training-meta strong {
  color: #263328;
  text-align: right;
}

.tm-card-dark {
  height: 100%;
  padding: 34px;
  border-radius: 8px;
  background: #3b2a25;
  color: rgba(255, 255, 255, 0.78);
}

.tm-card-dark h2,
.tm-card-dark h3 {
  color: #ffffff;
}

.tm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tm-step {
  padding: 26px;
  border: 1px solid #e7ded4;
  border-radius: 8px;
  background: #ffffff;
}

.tm-step span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: #a3283d;
  color: #ffffff;
  font-weight: 800;
}

.tm-testimonial p {
  color: #263328;
  font-size: 1.02rem;
  font-weight: 600;
}

.tm-testimonial cite {
  display: block;
  margin-top: 18px;
  color: #a3283d;
  font-style: normal;
  font-weight: 800;
}

.tm-training-meta {
  margin-top: 24px;
  background: #fff7e6;
}

.tm-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #a3283d;
  color: #ffffff;
  font-weight: 800;
}

.tm-avatar.green {
  background: #1f7a4d;
}

.tm-avatar.gold {
  background: #d8a33d;
  color: #3b2a25;
}

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

.tm-partners span {
  display: block;
  padding: 18px;
  border: 1px solid #e7ded4;
  border-radius: 8px;
  background: #ffffff;
  color: #263328;
  font-weight: 800;
}

.tm-form-panel .form-control,
.tm-form-panel .form-select {
  min-height: 48px;
  border-color: #e7ded4;
  border-radius: 8px;
}

.tm-form-panel textarea.form-control {
  min-height: 126px;
}

.tm-form-panel .form-control:focus,
.tm-form-panel .form-select:focus {
  border-color: #a3283d;
  box-shadow: 0 0 0 0.2rem rgba(163, 40, 61, 0.12);
}

.tm-contact-priority {
  background: #3b2a25;
  color: rgba(255, 255, 255, 0.78);
}

.tm-contact-priority h2,
.tm-contact-priority h3 {
  color: #ffffff;
}

.tm-map-card {
  overflow: hidden;
  min-height: 420px;
}

.tm-map-card iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.tm-footer {
  padding: 28px 0;
  background: #263328;
  color: rgba(255, 255, 255, 0.72);
}

.tm-footer a {
  display: inline-block;
  margin-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.tm-footer a:hover {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .tm-hero {
    min-height: 560px;
  }

  .tm-hero h1,
  .tm-page-hero h1,
  .tm-section-title h2,
  .tm-card-dark h2,
  .tm-form-panel h2 {
    font-size: 2.55rem;
  }

  .tm-steps,
  .tm-partners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .tm-hero {
    min-height: auto;
    padding: 82px 0;
  }

  .tm-page-hero {
    padding: 76px 0;
  }

  .tm-hero h1,
  .tm-page-hero h1,
  .tm-section-title h2,
  .tm-card-dark h2,
  .tm-form-panel h2 {
    font-size: 2.15rem;
  }

  .tm-section {
    padding: 64px 0;
  }

  .tm-product-card img,
  .tm-card-visual {
    height: 210px;
  }

  .tm-footer a {
    margin: 0 14px 0 0;
  }
}

@media (max-width: 480px) {
  .tm-brand-mark {
    width: 42px;
    height: 42px;
  }

  .tm-brand span span:first-child {
    font-size: 0.95rem;
  }

  .tm-specs div,
  .tm-training-meta {
    display: grid;
  }
}
