/*--------------------------------------------------------------
# Tunas Muda Pro — Design System
# Apple / Stripe inspired · mobile-first · accessible
--------------------------------------------------------------*/
.tm-pro {
  --tm-navy: #1D365C;
  --tm-navy-deep: #0c1829;
  --tm-navy-soft: #2a4a78;
  --tm-gold: #FFC736;
  --tm-gold-deep: #d4a012;
  --tm-gold-soft: #fff8e6;
  --tm-surface: #eef1f5;
  --tm-surface-2: #eef1f5;
  --tm-white: #ffffff;
  --tm-ambient-bg: #eef1f6;
  --tm-panel-dark: #152a47;
  --tm-text: #152033;
  --tm-text-muted: #5f6d7e;
  --tm-border: rgba(29, 54, 92, 0.1);
  --tm-radius: 16px;
  --tm-radius-lg: 24px;
  --tm-radius-pill: 999px;
  --tm-shadow-sm: 0 2px 8px rgba(15, 30, 53, 0.06);
  --tm-shadow: 0 8px 32px rgba(15, 30, 53, 0.08);
  --tm-shadow-lg: 0 20px 60px rgba(15, 30, 53, 0.12);
  --tm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --tm-header-h: 72px;
  --tm-container: min(1140px, 100% - 2rem);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--tm-text);
  background: var(--tm-white);
  -webkit-font-smoothing: antialiased;
}

.tm-pro ::selection {
  background: rgba(255, 199, 54, 0.35);
  color: var(--tm-navy-deep);
}

/* —— Reveal animation (only after motion system is active) —— */
@keyframes tmRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tmSectionUp {
  from {
    opacity: 0;
    transform: translate3d(0, 72px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tmHeroIn {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Content is visible by default — never hidden until motion starts */
[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.tm-pro.tm-motion-on .tm-section-play {
  animation: tmSectionUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tm-pro.tm-motion-on .tm-item-play {
  animation: tmRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tm-pro.tm-motion-on .tm-hero-play {
  animation: tmHeroIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero is always visible */
.tm-pro #hero [data-reveal],
.tm-pro #hero .tm-hero__glass,
.tm-pro #hero .tm-hero__glass * {
  opacity: 1;
  transform: none;
}

.tm-pro #rakan-strategik .container:not([data-reveal]) {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* —— Buttons —— */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--tm-radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--tm-ease),
    box-shadow 0.25s var(--tm-ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}

.tm-btn:active {
  transform: scale(0.96);
}

.tm-btn:focus-visible {
  outline: 2px solid var(--tm-gold);
  outline-offset: 3px;
}

.tm-btn--primary {
  background: var(--tm-gold);
  color: var(--tm-navy-deep);
  box-shadow: 0 4px 20px rgba(255, 199, 54, 0.35);
}

.tm-btn--primary:hover {
  background: #ffd04d;
  box-shadow: 0 8px 28px rgba(255, 199, 54, 0.45);
  transform: translateY(-2px);
  color: var(--tm-navy-deep);
}

.tm-btn--primary:active {
  transform: translateY(0) scale(0.96);
}

.tm-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.tm-btn--outline {
  background: transparent;
  color: var(--tm-navy);
  border: 1.5px solid var(--tm-border);
  box-shadow: var(--tm-shadow-sm);
}

.tm-btn--outline:hover {
  border-color: var(--tm-gold);
  color: var(--tm-navy);
  box-shadow: var(--tm-shadow);
  transform: translateY(-2px);
}

/* —— Header —— */
.tm-pro #header .container-fluid.container-xl {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

@media (min-width: 1200px) {
  .tm-pro #header .container-fluid.container-xl {
    display: grid !important;
    grid-template-columns: auto 1fr auto auto;
    justify-content: unset;
  }
}

.tm-pro #header.header {
  height: var(--tm-header-h);
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.35s var(--tm-ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.tm-pro.scrolled #header.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--tm-border);
  box-shadow: var(--tm-shadow-sm);
}

.tm-pro #header .logo {
  flex: 0 0 auto !important;
  overflow: visible !important;
  min-width: auto;
}

.tm-pro #header .logo h1 {
  overflow: visible !important;
  text-overflow: unset;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tm-pro #header .logo img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  margin-right: 0;
}

.tm-pro #header .navmenu {
  justify-self: center;
  min-width: 0;
}

@media (min-width: 1200px) {
  .tm-pro .navmenu > ul {
    gap: 0.15rem;
  }

  .tm-pro .navmenu > ul > li > a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--tm-radius-pill);
    color: var(--tm-navy);
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s var(--tm-ease);
  }

  .tm-pro .navmenu > ul > li > a:hover,
  .tm-pro .navmenu > ul > li > a:focus-visible {
    color: var(--tm-navy);
    background: var(--tm-surface-2);
  }

  .tm-pro .navmenu > ul > li > a.active {
    background: var(--tm-gold-soft);
    color: var(--tm-navy);
    font-weight: 600;
  }

  .tm-pro .navmenu .dropdown > ul {
    background: var(--tm-white);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    box-shadow: var(--tm-shadow-lg);
    min-width: 220px;
    padding: 0.4rem 0;
  }

  .tm-pro .navmenu .dropdown > ul a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding: 0.55rem 1rem;
    color: var(--tm-navy) !important;
    background: transparent !important;
    border-radius: 0;
    border-left: 0;
  }

  .tm-pro .navmenu .dropdown > ul a:hover,
  .tm-pro .navmenu .dropdown > ul a:focus-visible {
    color: var(--tm-navy) !important;
    background: var(--tm-surface-2) !important;
  }

  .tm-pro .navmenu .dropdown > ul a.active {
    color: var(--tm-navy) !important;
    background: var(--tm-gold-soft) !important;
    font-weight: 600;
  }

  .tm-pro .navmenu .dropdown > a .toggle-dropdown {
    font-size: 0.65rem;
    margin-left: 0.2rem;
    transition: transform 0.2s ease;
  }

  .tm-pro .navmenu .dropdown:hover > a .toggle-dropdown {
    transform: rotate(180deg);
  }
}

.tm-header-cta {
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--tm-radius-pill);
  background: var(--tm-navy);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--tm-ease), background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(29, 54, 92, 0.2);
}

.tm-header-cta:hover {
  background: var(--tm-navy-soft);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 54, 92, 0.28);
}

.tm-header-cta:active {
  transform: scale(0.97);
}

.tm-header-cta:focus-visible {
  outline: 2px solid var(--tm-gold);
  outline-offset: 3px;
}

/* Hero: light nav on dark hero */
.tm-pro:not(.scrolled) #header .logo h1 {
  color: #fff;
}

.tm-pro:not(.scrolled) #header .logo h1 span {
  color: var(--tm-gold);
}

@media (min-width: 1200px) {
  .tm-pro:not(.scrolled) .navmenu > ul > li > a {
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
  }

  .tm-pro:not(.scrolled) .navmenu > ul > li > a:hover,
  .tm-pro:not(.scrolled) .navmenu > ul > li > a:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
  }

  .tm-pro:not(.scrolled) .navmenu > ul > li > a.active {
    color: var(--tm-gold) !important;
    background: rgba(255, 199, 54, 0.18) !important;
  }
}

.tm-pro:not(.scrolled) .tm-header-cta {
  background: var(--tm-gold);
  color: var(--tm-navy-deep) !important;
  box-shadow: 0 4px 20px rgba(255, 199, 54, 0.35);
}

.tm-pro:not(.scrolled) .tm-header-cta:hover {
  background: #ffd04d;
  color: var(--tm-navy-deep) !important;
}

.tm-pro:not(.scrolled) #header .mobile-nav-toggle {
  color: #fff;
}

/* Scrolled: dark nav on light header */
.tm-pro.scrolled #header .logo h1 {
  color: var(--tm-navy);
}

.tm-pro.scrolled #header .logo h1 span {
  color: var(--tm-gold-deep);
}

@media (min-width: 1200px) {
  .tm-pro.scrolled .navmenu > ul > li > a {
    color: var(--tm-navy) !important;
  }

  .tm-pro.scrolled .navmenu > ul > li > a:hover,
  .tm-pro.scrolled .navmenu > ul > li > a:focus-visible {
    color: var(--tm-navy) !important;
    background: var(--tm-surface-2) !important;
  }

  .tm-pro.scrolled .navmenu > ul > li > a.active {
    color: var(--tm-navy) !important;
    background: var(--tm-gold-soft) !important;
  }
}

/* Mobile drawer — backdrop-filter on header traps position:fixed menu */
@media (max-width: 1199px) {
  .tm-pro.scrolled #header.header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .tm-pro.scrolled #header .mobile-nav-toggle {
    color: var(--tm-navy);
    border-color: rgba(29, 54, 92, 0.15);
    background: rgba(29, 54, 92, 0.05);
  }

  .mobile-nav-active.tm-pro #header.header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-nav-active.tm-pro .tm-scroll-progress {
    z-index: 9999;
  }

  /* Utama: header must not steal taps from the fixed drawer overlay */
  .mobile-nav-active.tm-ambient-page #header.header {
    pointer-events: none;
  }

  .mobile-nav-active.tm-ambient-page #header .mobile-nav-toggle,
  .mobile-nav-active.tm-ambient-page #navmenu {
    pointer-events: auto;
  }

  .mobile-nav-active .navmenu > ul,
  .mobile-nav-active .mobile-nav-header {
    pointer-events: auto;
  }
}

.tm-pro .navmenu .tm-mobile-nav-cta a {
  margin-top: 0.75rem;
  background: var(--tm-gold);
  color: var(--tm-navy-deep) !important;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  border-radius: var(--tm-radius-pill);
}

.tm-pro .navmenu .tm-mobile-nav-cta a:hover {
  background: #ffd04d;
  color: var(--tm-navy-deep) !important;
}

/* —— Inner pages —— */
.tm-pro .page-title {
  padding-top: calc(var(--tm-header-h) + 2rem);
}

.tm-pro .page-title .heading h1 {
  color: var(--tm-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tm-pro .page-title .heading p {
  color: var(--tm-text-muted);
  margin-top: 0.75rem;
}

.tm-pro .page-title nav {
  background: var(--tm-surface);
  border-top: 1px solid var(--tm-border);
}

.tm-pro .page-title nav ol li a {
  color: var(--tm-navy);
}

.tm-pro .page-title nav ol li.current {
  color: var(--tm-text-muted);
}

/* —— Hero —— */
.tm-pro .tm-hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(var(--tm-vh, 1vh) * 100);
  height: calc(var(--tm-vh, 1vh) * 100);
  max-height: calc(var(--tm-vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: calc(var(--tm-header-h) + 1.25rem) 0 max(1.25rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.tm-pro .tm-hero__wrap {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: min(1240px, 100%);
  margin: 0;
  padding: 0 clamp(1rem, 3.5vw, 2.5rem);
}

.tm-pro .tm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tm-pro .tm-hero__bg img,
.tm-pro .tm-hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.tm-pro .tm-hero__poster {
  z-index: 0;
  transition: opacity 0.7s ease;
}

.tm-pro .tm-hero__poster.is-hidden {
  opacity: 0;
}

/* NOTE: Video mode — fully remove poster once play succeeds (not just fade) */
.tm-pro .tm-hero--bg-video .tm-hero__poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tm-pro .tm-hero__video {
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  overflow: hidden;
}

.tm-pro .tm-hero__video.is-active {
  opacity: 1;
}

.tm-pro .tm-hero--bg-video .tm-hero__video.is-active {
  opacity: 1;
}

/* NOTE: Image mode — static full-bleed <img>, same cover rules as video */
.tm-pro .tm-hero--bg-image .tm-hero__bg-image,
.tm-pro .tm-hero--bg-image .tm-hero__poster {
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.tm-pro .tm-hero--bg-image .tm-hero__poster.is-hidden {
  opacity: 1;
  visibility: visible;
}

.tm-pro .tm-hero--bg-image .tm-hero__video {
  display: none !important;
}

/* NOTE: Stronger wash on the left for text; right stays clear for video logo */
.tm-pro .tm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(12, 24, 41, 0.68) 0%, rgba(29, 54, 92, 0.28) 32%, rgba(12, 24, 41, 0.04) 52%, transparent 68%),
    radial-gradient(ellipse 70% 50% at 18% 40%, rgba(12, 24, 41, 0.2), transparent 60%);
}

/* NOTE: Background type text (variable16) — hidden on public pages; Visual Edit CSS shows it */
.tm-pro .tm-hero__bg-type-field {
  display: none;
}

.tm-pro .tm-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--tm-container);
  margin: 0 auto;
  padding: 0 1rem;
}

.tm-pro .tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--tm-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tm-gold);
  background: rgba(255, 199, 54, 0.1);
  border: 1px solid rgba(255, 199, 54, 0.22);
}

.tm-pro .tm-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.tm-pro .tm-hero__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.tm-pro .tm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.tm-pro .tm-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 560px;
}

.tm-pro .tm-stat-pill {
  padding: 1rem 1.1rem;
  border-radius: var(--tm-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s var(--tm-ease), border-color 0.3s ease, background 0.3s ease;
}

.tm-pro .tm-stat-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 199, 54, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.tm-pro .tm-stat-pill strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tm-gold);
  line-height: 1.2;
}

.tm-pro .tm-stat-pill span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

/* —— Sections —— */
.tm-pro section.section,
.tm-pro .section {
  overflow: visible;
}

.tm-pro .section:not(.tm-hero) {
  padding-top: clamp(3.5rem, 6.5vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6.5vw, 5.5rem);
  scroll-margin-top: calc(var(--tm-header-h) + 0.75rem);
}

.tm-pro .tm-hero + .section {
  padding-top: clamp(4rem, 7vw, 5.75rem);
}

.tm-pro .section.light-background {
  background: var(--tm-surface);
}

.tm-pro .section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding-bottom: 0;
}

.tm-pro .section-title .tm-section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tm-gold-deep);
}

.tm-pro .section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tm-navy);
  margin-bottom: 0.75rem;
}

.tm-pro .section-title p {
  font-size: 1.05rem;
  color: var(--tm-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* —— Cards (shared) —— */
.tm-pro .partner-card,
.tm-pro .pencapaian-card,
.tm-pro .berita-item,
.tm-pro .berita-featured,
.tm-pro .media-embed-card,
.tm-pro .service-slide__inner {
  border-radius: var(--tm-radius-lg);
  background: var(--tm-white);
  border: 1px solid var(--tm-border);
  box-shadow: var(--tm-shadow-sm);
  transition:
    transform 0.35s var(--tm-ease),
    box-shadow 0.35s var(--tm-ease),
    border-color 0.35s ease;
}

.tm-pro .partner-card:hover,
.tm-pro .pencapaian-card:hover,
.tm-pro .berita-item:hover,
.tm-pro .berita-featured:hover,
.tm-pro .media-embed-card:hover,
.tm-pro .service-slide__inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--tm-shadow-lg);
  border-color: rgba(255, 199, 54, 0.35);
}

/* —— Pencapaian (premium) —— */
.tm-pro .pencapaian {
  background: transparent;
}

.tm-pro .pencapaian-stat {
  background: linear-gradient(145deg, var(--tm-navy) 0%, var(--tm-navy-soft) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tm-radius-lg);
  box-shadow: 0 12px 40px rgba(29, 54, 92, 0.18);
  padding: 1.75rem 1.25rem;
}

.tm-pro .pencapaian-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(29, 54, 92, 0.24);
  border-color: rgba(255, 199, 54, 0.35);
}

.tm-pro .pencapaian-stat-value {
  color: var(--tm-gold);
}

.tm-pro .pencapaian-stat-label {
  color: rgba(255, 255, 255, 0.78);
}

.tm-pro .pencapaian-card {
  padding: 1.75rem 1.5rem;
  background: var(--tm-white);
}

.tm-pro .pencapaian-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--tm-gold), transparent);
}

.tm-pro .pencapaian-card--featured {
  border-color: rgba(255, 199, 54, 0.4);
  box-shadow: 0 16px 48px rgba(29, 54, 92, 0.12);
}

.tm-pro .pencapaian-card-icon {
  background: var(--tm-gold-soft);
  color: var(--tm-navy);
}

.tm-pro .pencapaian-full-list {
  margin-top: 1.75rem;
}

.tm-pro .pencapaian .container + .container {
  margin-top: 1.25rem;
}

.tm-pro .pencapaian-highlights {
  margin-top: 0;
}

.tm-pro .partner-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
}

.tm-pro .partner-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tm-navy);
  margin: 1rem 0 0.25rem;
}

.tm-pro .partner-card p {
  font-size: 0.82rem;
  color: var(--tm-text-muted);
  margin: 0;
}

/* —— Services slider —— */
.tm-pro .services-slider {
  background: var(--tm-navy-deep);
  color: #fff;
}

.tm-pro .services-slider .section-title h2,
.tm-pro .services-slider .section-title p {
  color: #fff;
}

.tm-pro .services-slider .section-title p {
  opacity: 0.72;
}

.tm-pro .service-slide__inner {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.tm-pro .services-swiper .swiper-button-prev,
.tm-pro .services-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--tm-gold);
  transition: transform 0.25s var(--tm-ease), background 0.25s ease;
}

.tm-pro .services-swiper .swiper-button-prev:hover,
.tm-pro .services-swiper .swiper-button-next:hover {
  background: var(--tm-gold);
  color: var(--tm-navy-deep);
  transform: scale(1.08);
}

/* —— Berita —— */
.tm-pro .berita-btn--outline,
.tm-pro .btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--tm-radius-pill);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--tm-ease), box-shadow 0.25s ease;
}

.tm-pro .berita-btn--outline {
  border: 1.5px solid var(--tm-border);
  color: var(--tm-navy);
  background: var(--tm-white);
}

.tm-pro .berita-btn--outline:hover {
  border-color: var(--tm-gold);
  transform: translateY(-2px);
  box-shadow: var(--tm-shadow);
  color: var(--tm-navy);
}

.tm-pro .berita-item__more {
  transition: gap 0.2s ease, color 0.2s ease;
}

.tm-pro .berita-item:hover .berita-item__more {
  color: var(--tm-gold-deep);
}

/* —— Footer —— */
.tm-pro #footer.footer {
  background: var(--tm-navy-deep);
  color: rgba(255, 255, 255, 0.75);
}

.tm-pro #footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tm-pro #footer .social-links a {
  transition: transform 0.25s var(--tm-ease), background 0.25s ease;
}

.tm-pro #footer .social-links a:hover {
  transform: translateY(-3px) scale(1.05);
}

/* —— Scroll progress —— */
.tm-pro .tm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10001;
  background: transparent;
  pointer-events: none;
}

.tm-pro .tm-scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--tm-navy), var(--tm-gold));
  transition: width 0.08s linear;
}

/* —— Preloader —— */
#preloader.tm-loader {
  /* NOTE: CMS can override accent + bg via --tm-loader-* inline styles */
  --tm-loader-accent: var(--tm-gold);
  --tm-loader-bg: var(--tm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 199, 54, 0.2), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(64, 108, 190, 0.25), transparent 45%),
    linear-gradient(160deg, #060f1f, var(--tm-loader-bg) 50%, #0a1628);
}

.tm-loader__panel {
  text-align: center;
  padding: 2.75rem 2.25rem;
  border-radius: var(--tm-radius-lg);
  background: rgba(8, 18, 36, 0.65);
  border: 1px solid rgba(255, 199, 54, 0.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  min-width: min(92vw, 360px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 199, 54, 0.08);
}

.tm-loader__logo {
  width: 64px;
  margin-bottom: 1rem;
}

.tm-loader__brand {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.tm-loader__brand-accent,
.tm-loader__brand span.tm-loader__brand-accent {
  color: var(--tm-loader-accent);
}

.tm-loader__track {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  margin: 1.5rem 0 0.75rem;
  overflow: hidden;
}

.tm-loader__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--tm-gold-deep), var(--tm-loader-accent));
  border-radius: inherit;
  transition: width 0.2s ease-out;
}

.tm-loader__percent {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tm-loader-accent);
  letter-spacing: 0.1em;
}

/* NOTE: Edit-only helpers — hidden for public visitors */
.tm-loader__edit-label,
.tm-loader__color-fields {
  display: none;
}

#preloader.tm-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* —— Short viewports (windowed browser, not fullscreen) —— */
@media (max-height: 900px) {
  .tm-pro .tm-hero {
    padding-top: calc(var(--tm-header-h) + 0.75rem);
    padding-bottom: 1rem;
  }

  .tm-pro .tm-eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
  }

  .tm-pro .tm-hero__title {
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    margin-bottom: 0.85rem;
  }

  .tm-pro .tm-hero__lead {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    margin-bottom: 1.25rem;
    line-height: 1.55;
  }

  .tm-pro .tm-hero__actions {
    margin-bottom: 1.5rem;
  }

  .tm-hero__glass {
    padding: clamp(1.25rem, 3vw, 2rem);
  }

  .tm-pro .tm-stat-pill {
    padding: 0.75rem 0.85rem;
  }

  .tm-pro .tm-stat-pill strong {
    font-size: 1.15rem;
  }
}

@media (max-height: 720px) {
  .tm-pro .tm-hero__stats {
    gap: 0.65rem;
  }

  .tm-pro .tm-stat-pill span {
    font-size: 0.65rem;
  }
}

/* —— Responsive —— */
@media (max-width: 767.98px) {
  .tm-pro .tm-hero {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .tm-pro .tm-hero__title {
    max-width: none;
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
    letter-spacing: -0.02em;
  }

  .tm-pro .tm-hero__lead {
    max-width: none;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    line-height: 1.6;
  }

  .tm-pro .tm-hero__stats {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 0.55rem;
  }

  .tm-pro .tm-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .tm-pro .tm-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .tm-pro .tm-stat-pill {
    min-height: 44px;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .tm-pro .tm-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .tm-pro .tm-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tm-pro .tm-hero__actions .tm-btn {
    width: auto;
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-pro [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tm-pro .tm-btn,
  .tm-pro .partner-card,
  .tm-pro .pencapaian-card {
    transition: none;
  }
}

/* ============================================================
   Elite interactions — section + card scroll animations
   (CSS @keyframes — no stuck opacity states)
   ============================================================ */

/* Premium hover lift — Perkhidmatan & Berita cards */
.tm-pro .service-slide-card,
.tm-pro .berita-item,
.tm-pro .berita-featured {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.tm-pro .service-slide-card:hover,
.tm-pro .berita-item:hover,
.tm-pro .berita-featured:hover {
  transform: translate3d(0, -5px, 0) scale(1.02);
  box-shadow: 0 28px 64px rgba(29, 54, 92, 0.24);
}

/* Premium hover — Rakan Strategik */
.tm-pro .rakan-strategik .partner-card {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.tm-pro .rakan-strategik .partner-card:hover {
  transform: translate3d(0, -5px, 0) scale(1.02);
  box-shadow: 0 24px 56px rgba(29, 54, 92, 0.2);
}

.tm-pro .rakan-strategik .partner-card-logo img {
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-pro .rakan-strategik .partner-card:hover .partner-card-logo img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .tm-pro .tm-section-play,
  .tm-pro .tm-item-play,
  .tm-pro .tm-hero-play {
    animation: none !important;
  }
}
